]> sourceware.org Git - glibc.git/blame - ChangeLog
Sync with Linux 3.9
[glibc.git] / ChangeLog
CommitLineData
164fd39d
AJ
12013-05-03 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4 Linux 3.9.
5 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6 (PF_MAX): Adjust for VSOCK change.
7
8237f48c
AZ
82013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9
10 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11
9df02941
CD
122013-05-02 Carlos O'Donell <carlos@redhat.com>
13
14 [BZ #15264]
15 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18
d422395e
DM
192013-05-02 David S. Miller <davem@davemloft.net>
20
21 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22
a07c5731
OB
232013-05-01 Ondřej Bílka <neleai@seznam.cz>
24
25 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26
1324e37f
RM
272013-05-01 Roland McGrath <roland@hack.frob.com>
28
29 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30
0695940b
RS
312013-05-01 Richard Smith <richard@metafoo.co.uk>
32
bb5f27ad 33 [BZ #14952]
0695940b
RS
34 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36 Use __attribute__ ((__gnu_inline__)).
37 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38 Don't use __attribute__ ((__gnu_inline__)).
39
10de07f5
JM
402013-05-01 Joseph Myers <joseph@codesourcery.com>
41
42 [BZ #15423]
43 * math/s_catan.c (__catan): Handle small real or imaginary part of
44 input specially to avoid spurious underflow.
45 * math/s_catanf.c (__catanf): Likewise.
46 * math/s_catanh.c (__catanh): Likewise.
47 * math/s_catanhf.c (__catanhf): Likewise.
48 * math/s_catanhl.c (__catanhl): Likewise.
49 * math/s_catanl.c (__catanl): Likewise.
50 * math/libm-test.inc (catan_test): Add more tests.
51 (catanh_test): Likewise.
52 * sysdeps/i386/fpu/libm-test-ulps: Update.
53 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54
cb4d5414
AZ
552013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56
57 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58
caf84319
JM
592013-04-30 Joseph Myers <joseph@codesourcery.com>
60
61 [BZ #15416]
62 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
63 accurately for denominator in atan2.
64 * math/s_catanf.c (__catanf): Likewise.
65 * math/s_catanh.c (__catanh): Likewise.
66 * math/s_catanhf.c (__catanhf): Likewise.
67 * math/s_catanhl.c (__catanhl): Likewise.
68 * math/s_catanl.c (__catanl): Likewise.
69 * math/libm-test.inc (catan_test): Add more tests.
70 (catanh_test): Likewise.
71 * sysdeps/i386/fpu/libm-test-ulps: Update.
72 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73
d569c6ee
SP
742013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
75
6dbe713d
SP
76 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
77
f0ee064b
SP
78 * benchtests/Makefile (bench): Remove slow benchmarks.
79 * benchtests/atan-inputs: Add slow benchmark inputs.
80 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
81 (BENCH_FUNC): Accept variant offset.
82 (VARIANT): Define.
83 * benchtests/bench-skeleton.c (main): Run benchmark for each
84 variant.
85 * benchtests/cos-inputs: Add slow benchmark inputs.
86 * benchtests/exp-inputs: Likewise.
87 * benchtests/pow-inputs: Likewise.
88 * benchtests/sin-inputs: Likewise.
89 * benchtests/slowatan-inputs: Remove.
90 * benchtests/slowatan.c: Remove.
91 * benchtests/slowcos-inputs: Remove.
92 * benchtests/slowcos.c: Remove.
93 * benchtests/slowexp-inputs: Remove.
94 * benchtests/slowexp.c: Remove.
95 * benchtests/slowpow-inputs: Remove.
96 * benchtests/slowpow.c: Remove.
97 * benchtests/slowsin-inputs: Remove.
98 * benchtests/slowsin.c: Remove.
99 * benchtests/slowtan-inputs: Remove.
100 * benchtests/slowtan.c: Remove.
101 * benchtests/tan-inputs: Add slow benchmark inputs.
102 * scripts/bench.pl: Parse comments and directives.
103
d569c6ee
SP
104 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
105 in CPPFLAGS.
106 ($(objpfx)bench-%.c): Remove *-ITER.
107 * benchtests/bench-modf.c: Remove definition of ITER.
108 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
109 (main): Loop for DURATION seconds instead of fixed number of
110 iterations.
111 * scripts/bench.pl: Don't expect iterations in parameters.
112
a6a242fe
RM
1132013-04-29 Roland McGrath <roland@hack.frob.com>
114
115 * io/fchdir.c (__fchdir): Renamed from fchdir.
116 (fchdir): Define as weak alias.
117
f2da7793
JM
1182013-04-29 Joseph Myers <joseph@codesourcery.com>
119
120 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
121 (ERRNO_EDOM): Likewise.
122 (ERRNO_ERANGE): Likewise.
123 (noErrnoTests): New variable.
124 (init_max_error): Set errno to 0.
125 (test_single_errno): New function.
126 (test_errno): Likewise.
127 (check_float_internal): Call test_errno. Set errno to 0.
128 (check_complex): Refer to errno tests in comment.
129 (check_int): Call test_errno. Set errno to 0.
130 (check_long): Likewise.
131 (check_bool): Likewise.
132 (check_longlong): Likewise.
133 (cos_test): Use ERRNO_* flags for errno tests instead of
134 check_int.
135 (expm1_test): Likewise.
136 (fmod_test): Likewise.
137 (ilogb_test): Likewise.
138 (lgamma_test): Likewise.
139 (pow_test): Likewise.
140 (remainder_test): Likewise.
141 (sin_test): Likewise.
142 (tan_test): Likewise.
143 (yn_test): Likewise.
144 (initialize): Set errno to 0.
145 (main): Print number of errno tests.
146 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
147
b1a36ceb
AJ
1482013-04-29 Andreas Jaeger <aj@suse.de>
149
c3ed8088
AJ
150 [BZ #15084]
151 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
152 and RES_USEVC.
153
f1a24198
AJ
154 [BZ #15085]
155 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
156 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
157 unimplemented.
158
9ce3b2cb
AJ
159 [BZ #15380]
160 * stdlib/random.c (__initstate): Return NULL if
161 __initstate fails.
162
f1a24198 163 [BZ #15086]
b1a36ceb
AJ
164 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
165 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
166 RES_SNGLKUPREOP.
167
7e7b6f36
AZ
1682013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
169
170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
171
4d14f449
JM
1722013-04-29 Joseph Myers <joseph@codesourcery.com>
173
174 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
175 of individual tests.
176 (casin_test): Likewise.
177 (casinh_test): Likewise.
178
5b4217d7
JM
1792013-04-27 Joseph Myers <joseph@codesourcery.com>
180
181 [BZ #15409]
182 * math/s_catan.c (__catan): Handle arguments with large real or
183 imaginary part separately without squaring.
184 * math/s_catanf.c (__catanf): Likewise.
185 * math/s_catanh.c (__catanh): Likewise.
186 * math/s_catanhf.c (__catanhf): Likewise.
187 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
188 and redefine.
189 (__catanhl): Handle arguments with large real or imaginary part
190 separately without squaring.
191 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
192 and redefine.
193 (__catanl): Handle arguments with large real or imaginary part
194 separately without squaring.
195 * math/libm-test.inc (catan_test): Add more tests.
196 (catanh_test): Likewise.
197 * sysdeps/i386/fpu/libm-test-ulps: Update.
198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
199
4220c3ef
AJ
2002013-04-27 Andreas Jaeger <aj@suse.de>
201
202 [BZ #15007]
203 * stdlib/stdlib.h: Update guards for qecvt.
204 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
205 <stdlib.h>.
206
4721b2d1
AM
2072013-04-27 Allan McRae <allan@archlinux.org>
208
209 * sysdeps/i386/fpu/libm-test-ulps: Update.
210
f0302940
JM
2112013-04-26 Joseph Myers <joseph@codesourcery.com>
212
9457fd95
JM
213 [BZ #15406]
214 * math/s_catan.c: Include <float.h>.
215 (__catan): Ensure underflow exception occurs for underflowed
216 result.
217 * math/s_catanf.c: Include <float.h>.
218 (__catanf): Ensure underflow exception occurs for underflowed
219 result.
220 * math/s_catanh.c: Include <float.h>.
221 (__catanh): Ensure underflow exception occurs for underflowed
222 result.
223 * math/s_catanhf.c: Include <float.h>.
224 (__catanhf): Ensure underflow exception occurs for underflowed
225 result.
226 * math/s_catanhl.c: Include <float.h>.
227 (__catanhl): Ensure underflow exception occurs for underflowed
228 result.
229 * math/s_catanl.c: Include <float.h>.
230 (__catanl): Ensure underflow exception occurs for underflowed
231 result.
232 * math/libm-test.inc (catan_test): Add more tests.
233 (catanh_test): Likewise.
234
f0302940
JM
235 [BZ #15405]
236 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
237 underflowed result.
238 * math/s_ccoshf.c (__ccoshf): Likewise.
239 * math/s_ccoshl.c (__ccoshl): Likewise.
240 * math/s_csin.c (__csin): Likewise.
241 * math/s_csinf.c (__csinf): Likewise.
242 * math/s_csinh.c (__csinh): Likewise.
243 * math/s_csinhf.c (__csinhf): Likewise.
244 * math/s_csinhl.c (__csinhl): Likewise.
245 * math/s_csinl.c (__csinl): Likewise.
246 * math/libm-test.inc (ccos_test): Add more tests.
247 (ccosh_test): Likewise.
248 (csin_test): Likewise.
249 (csinh_test): Likewise.
250
aa630f59
AZ
2512013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
252
253 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
254 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
255 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
256 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
257 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
258 powerpc/power5+/fpu folders.
259 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
260
261
1b835983
MT
2622013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
263
264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
265
73709b26
JM
2662013-04-25 Joseph Myers <joseph@codesourcery.com>
267
268 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
269 additions to variable.
270 [$(config-machine) = x86_64] (modules-names): Likewise.
271 ($(objpfx)tst-audit3): Remove dependency.
272 ($(objpfx)tst-audit3.out): Likewise.
273 ($(objpfx)tst-audit4): Likewise.
274 ($(objpfx)tst-audit4.out): Likewise.
275 ($(objpfx)tst-audit5): Likewise.
276 ($(objpfx)tst-audit5.out): Likewise.
277 ($(objpfx)tst-audit6): Likewise.
278 ($(objpfx)tst-audit6.out): Likewise.
279 ($(objpfx)tst-audit7): Likewise.
280 ($(objpfx)tst-audit7.out): Likewise.
281 (tst-audit3-ENV): Remove variable.
282 (tst-audit4-ENV): Likewise.
283 (tst-audit5-ENV): Likewise.
284 (tst-audit6-ENV): Likewise.
285 (tst-audit7-ENV): Likewise.
286 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
287 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
288 addition to variable.
289 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
290 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
291 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
292 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
293 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
294 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
295 tst-audit3, tst-audit4 and tst-audit5.
296 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
297 tst-audit6 and tst-audit7.
298 [$(subdir) = elf] (modules-names): Add audit modules for those
299 tests.
300 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
301 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
302 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
303 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
304 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
305 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
306 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
307 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
308 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
309 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
310 [$(subdir) = elf] (tst-audit3-ENV): New variable.
311 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
312 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
313 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
314 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
315 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
316 Likewise.
317 [$(subdir) = elf && $(config-cflags-avx) = yes]
318 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
319 [$(subdir) = elf && $(config-cflags-avx) = yes]
320 (CFLAGS-tst-auditmod4a.c): Likewise.
321 [$(subdir) = elf && $(config-cflags-avx) = yes]
322 (CFLAGS-tst-auditmod4b.c): Likewise.
323 [$(subdir) = elf && $(config-cflags-avx) = yes]
324 (CFLAGS-tst-auditmod6b.c): Likewise.
325 [$(subdir) = elf && $(config-cflags-avx) = yes]
326 (CFLAGS-tst-auditmod6c.c): Likewise.
327 [$(subdir) = elf && $(config-cflags-avx) = yes]
328 (CFLAGS-tst-auditmod7b.c): Likewise.
329 * elf/tst-audit3.c: Move to ...
330 * sysdeps/x86_64/tst-audit3.c: ... here.
331 * elf/tst-audit4.c: Move to ...
332 * sysdeps/x86_64/tst-audit4.c: ... here.
333 * elf/tst-audit5.c: Move to ...
334 * sysdeps/x86_64/tst-audit5.c: ... here.
335 * elf/tst-audit6.c: Move to ...
336 * sysdeps/x86_64/tst-audit6.c: ... here.
337 * elf/tst-audit7.c: Move to ...
338 * sysdeps/x86_64/tst-audit7.c: ... here.
339 * elf/tst-auditmod3a.c: Move to ...
340 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
341 * elf/tst-auditmod3b.c: Move to ...
342 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
343 * elf/tst-auditmod4a.c: Move to ...
344 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
345 * elf/tst-auditmod4b.c: Move to ...
346 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
347 * elf/tst-auditmod5a.c: Move to ...
348 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
349 * elf/tst-auditmod5b.c: Move to ...
350 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
351 * elf/tst-auditmod6a.c: Move to ...
352 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
353 * elf/tst-auditmod6b.c: Move to ...
354 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
355 * elf/tst-auditmod6c.c: Move to ...
356 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
357 * elf/tst-auditmod7a.c: Move to ...
358 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
359 * elf/tst-auditmod7b.c: Move to ...
360 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
361
1ef74943
PP
3622013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
363
364 [BZ #15366]
365 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
366 define unconditionally.
367 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
368 define unconditionally.
369 (INT8_C, INT16_C, etc.): Likewise.
370
93fd48c5
MR
3712013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
372
ae9552cf
MR
373 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
374 __ehdr_start with hidden visibility.
375
93fd48c5
MR
376 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
377
418601aa
CD
3782013-04-24 Carlos O'Donell <carlos@redhat.com>
379
380 * math/libm-test.inc (cos_test): Use accurate hex constants.
381 (sincost_test): Likewise.
382
2f38fbfe
JM
3832013-04-24 Joseph Myers <joseph@codesourcery.com>
384
5e221800
JM
385 * math/libm-test.inc (catan_test): Add more tests.
386 (catanh_test): Likewise.
387
77f143fd
JM
388 * math/s_catanf.c (__catanf): Use suffixed floating-point
389 constants.
390 * math/s_catanhf.c (__catanhf): Likewise.
391 * math/s_catanhl.c (__catanhl): Likewise.
392 * math/s_catanl.c (__catanl): Likewise.
393
2f38fbfe
JM
394 [BZ #15394]
395 * math/s_catan.c (__catan): Calculate imaginary part of result
396 with log1p not log unless computing log of number close to 0.
397 * math/s_catanf.c (__catanf): Likewise.
398 * math/s_catanl.c (__catanl): Likewise.
399 * math/s_catanh.c (__catanh): Calculate real part of result with
400 log1p not log unless computing log of number close to 0.
401 * math/s_catanhf.c (__catanhf): Likewise.
402 * math/s_catanhl.c (__catanhl): Likewise.
403 * math/libm-test.inc (catan_test): Add more tests.
404 (catanh_test): Likewise.
405 * sysdeps/i386/fpu/libm-test-ulps: Update.
406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
407
45d69176
SP
4082013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
409
410 * benchtests/Makefile: Mention files in which fast and slow
411 paths of math functions are implemented.
412
87f51853
RM
4132013-04-23 Roland McGrath <roland@hack.frob.com>
414
415 * sysdeps/posix/timespec_get.c: New file.
416
3c026539
AZ
4172013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
418
419 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
420 POWER.
421 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
422 for POWER.
423 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
424 powerpc/power5/fpu folders.
425 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
426 * benchtests/Makefile: Add modf testcase.
427 * benchtests/bench-modf.c: New file: Benchmark test for mo
428
ff491d14
SP
4292013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
430
431 [BZ #14888]
432 * time/Makefile (tests): Add tst-strptime-whitespace.
433 * time/strptime_l.c (get_number): Use ISSPACE.
434 (__strptime_internal): Likewise.
435 * time/tst-strptime-whitespace.c: New test case.
436
7ed3f4e8
AS
4372013-04-23 Andreas Schwab <schwab@linux-m68k.org>
438
439 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
440 member.
441 (_nss_files_init): Set it here.
442
5c95f7b6
HC
4432013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
444
445 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
446 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
447 unsigned.
448
d34c9158
JBG
4492013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
450
451 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
452
2169712d
SP
4532013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
454
455 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
456 size just once.
457
29c5de99
DM
4582013-04-21 David S. Miller <davem@davemloft.net>
459
460 * po/ru.po: Update Russion translation from translation project.
461
ccdad15d
AC
4622013-04-17 Adam Conrad <adconrad@0c3.net>
463
464 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
465 and setfsgid.
466
0f122b8d
CD
4672013-04-17 Carlos O'Donell <carlos@redhat.com>
468
5c5b07da 469 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 470 * configure: Regenerate.
5c5b07da 471 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
472 Add example to error message.
473 * sysdeps/i386/configure: Regenerate.
474
037714dd
SP
4752013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
476
477 * benchtests/Makefile (bench): Add cos, tan, slowcos and
478 slowtan.
479 * benchtests/cos-inputs: New file.
480 * benchtests/slowcos-inputs: New file.
481 * benchtests/slowcos.c: New file.
482 * benchtests/slowtan-inputs: New file.
483 * benchtests/slowtan.c: New file.
484 * benchtests/tan-inputs: New file.
485
e913141d
RM
4862013-04-16 Roland McGrath <roland@hack.frob.com>
487
488 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
489 considered kosher.
490
a2964074
SP
4912013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
492
4856bcd2
SP
493 * benchtests/Makefile: Include cppflags-iterator.mk to add
494 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
495
a2964074
SP
496 * Makefile.in (bench-clean): New target.
497 * benchtests/Makefile (bench-clean): Likewise.
498
9fbf9aca
DH
4992013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
500
501 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
502
207d1e2a
TS
5032013-04-15 Thomas Schwinge <thomas@codesourcery.com>
504
505 * stdio-common/tstdiomisc.c: Fix coding-style violation.
506
306dfba9
AS
5072013-04-15 Andreas Schwab <schwab@suse.de>
508
509 * nscd/grpcache.c (cache_addgr): Properly check for short write.
510 * nscd/initgrcache.c (addinitgroupsX): Likewise.
511 * nscd/pwdcache.c (cache_addpw): Likewise.
512 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
513 more than recsize.
514
206a6699
SP
5152013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
516
517 * benchtests/Makefile (bench): Write all output to
518 bench-out.tmp together.
519
0582f6b3
AS
5202013-04-15 Andreas Schwab <schwab@suse.de>
521
522 * nscd/nscd.c (main): Don't fork again after closing files.
523
acb4325f
SP
5242013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
525
5cb26d0a
SP
526 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
527
acb4325f
SP
528 * benchtests/Rules (bench-deps): Collect dependencies into a
529 single variable. Add Makefile to dependencies.
530 ($(objpfx)bench-%.c): Depend on bench-deps.
531
47792506
RM
5322013-04-12 Roland McGrath <roland@hack.frob.com>
533 Xavier Roche <roche+kml2@exalead.com>
534
535 [BZ #15361]
536 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
537 just that it's a file descriptor.
538 * manual/llio.texi (Synchronizing AIO Operations): Update description
539 for EBADF error from aio_fsync.
540
8fc1bee5
SP
5412013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
542
543 * Rules (bench): Move target definition...
544 * benchtests/Makefile: ... here.
545
aba5e333
CD
5462013-04-11 Carlos O'Donell <carlos@redhat.com>
547
548 * math/libm-test.inc (cos_test): Fix PI/2 test.
549 (sincos_test): Likewise.
550 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
551 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
552
273cdee8
AS
5532013-04-11 Andreas Schwab <schwab@suse.de>
554
6ecec3b6
AS
555 [BZ #13988]
556 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
557 accept exponent character only when digits were seen.
558 * stdio-common/Makefile (tests): Add bug26.
559 * stdio-common/bug26.c: New file.
560
273cdee8
AS
561 [BZ #14293]
562 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
563 non-freeable.
564
8da491f5
SP
5652013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
566
01dc6df9
SP
567 * Makeconfig (rtld-prefix): Define built linker prefix.
568 * Rules (run-bench): Use it.
569 * math/Makefile (run-regen-ulps): Likewise.
570
8da491f5
SP
571 * Rules (bench): Remove eval.
572
abe7f530
SP
5732013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
574 Roland McGrath <roland@hack.frob.com>
575 Ondrej Bilka <neleai@seznam.cz>
576
577 [BZ #15346]
578 * time/getdate.c: Include ctype.h and alloca.h.
579 (__getdate_r): Trim leading and trailing spaces of input.
580 * time/tst-getdate.c (tests): Add tests with leading and
581 trailing spaces.
582
61c23e62
RM
5832013-04-08 Roland McGrath <roland@hack.frob.com>
584
585 [BZ #14280]
586 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
587 when computing value.
588
7208a313
CD
5892013-04-06 Carlos O'Donell <carlos@redhat.com>
590
085b2d41
CD
591 * math/README.libm-test (How can I generate "libm-test-ulps"?):
592 Use testrun.sh to run libm tests.
593
7208a313
CD
594 [BZ #15309]
595 * elf/dl-open.c (dl_open_worker): memset all of seen array.
596
872c0acd
MM
5972013-04-06 Marko Myllynen <myllynen@redhat.com>
598
599 [BZ #15264]
600 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
601
26510bdd
CD
6022013-04-06 Carlos O'Donell <carlos@redhat.com>
603
604 * Makefile.in (regen-ulps): New target.
605 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
606 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
607 [ifneq (no,$(PERL)] (regen-ulps): New target.
608 [ifeq (no,$(PERL)] (regen-ulps): New target.
609 * math/libm-test.inc (ulps_file_name): Define.
610 (output_dir): New variable.
611 (options): Add "output-dir" option.
612 (parse_opt): Handle 'o' case.
613 (main): If output_dir is non-NULL use it as a prefix
614 otherwise use "".
615 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
616
a01f19c8
CD
6172013-04-06 Carlos O'Donell <carlos@redhat.com>
618
619 [BZ #10060, #10062]
620 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
621 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
622 fail configure if __sync_val_compare_and_swap is not inlined.
623 * sysdeps/i386/configure: Regenerate.
624 * configure.in: Build for i686 when configured for i386.
625 * configure: Regenerate.
626 * README: Remove i386 reference.
627
b7a329a5
CD
6282013-04-06 Carlos O'Donell <carlos@redhat.com>
629
630 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
631 * sysdeps/s390/s390-64/sysdep.h: Likewise.
632
bf0f50df
TS
6332013-04-05 Thomas Schwinge <thomas@codesourcery.com>
634
ee091edf
TS
635 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
636 (lmsnanval): New variables.
637 (F): Add conversion tests.
638 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
639 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
640
a8b792d6
TS
641 * stdio-common/tstdiomisc.c (F): Properly collect individual
642 tests' results.
643
a1cbf437
TS
644 [BZ #14686, #15336]
645 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
646 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
647 Instead, use input NaN values or generate a qNaN by arithmetic
648 operation. Also fix bugs to comply with the standard.
649 * math/libm-test.inc (remainder_test): Add more tests.
650
8b43a0c9
TS
651 [BZ #15335, #15342]
652 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
654 input NaN values or generate a qNaN by arithmetic operation.
655
d91da4ce
TS
656 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
657 unreachable code.
658
bf0f50df
TS
659 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
660 definitions.
661
05e166c8
JM
6622013-04-03 Joseph Myers <joseph@codesourcery.com>
663
664 [BZ #14478]
665 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
666 underflowed result.
667 * math/s_cexpf.c (__cexpf): Likewise.
668 * math/s_cexpl.c (__cexpl): Likewise.
669 * math/libm-test.inc (cexp_test): Add more tests.
670
1cef1b19
AS
6712013-04-03 Andreas Schwab <schwab@suse.de>
672
673 [BZ #15330]
674 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
675 order arrays from heap if bigger than alloca cutoff.
676
74d87055
TS
6772013-04-03 Thomas Schwinge <thomas@codesourcery.com>
678
679 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
680 (SNAN_TESTS_double): Refer to GCC PR56831.
681 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
682 GCC PR56828.
683
d755bba4
SP
6842013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
685
90d5d5bb
SP
686 * Rules (bench): Move bench.out after the run is complete.
687
73e0cd5d
SP
688 * Rules (bench): Echo currently running benchmark.
689
64aabd4b
SP
690 * benchtests/Makefile (bench): Add atan and slowatan.
691 * benchtests/atan-inputs: New file.
692 * benchtests/slowatan-inputs: New file.
693 * benchtests/slowatan.c: New file.
694
c871eccd
SP
695 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
696 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
697 its value.
698
d755bba4
SP
699 [BZ #15305]
700 * sysdeps/unix/sysv/linux/kernel-features.h
701 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
702 __ASSUME_XFS_RESTRICTED_CHOWN.
703 * sysdeps/unix/sysv/linux/pathconf.c
704 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
705 Save and restore errno.
706
52ce4860
JM
7072013-04-02 Joseph Myers <joseph@codesourcery.com>
708
709 [BZ #15327]
710 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
711 arguments using __kernel_casinh.
712 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
713 arguments using __kernel_casinhf.
714 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
715 arguments using __kernel_casinhl.
716 * math/libm-test.inc (cacosh_test): Add more tests.
717 * sysdeps/i386/fpu/libm-test-ulps: Update.
718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
719
81f311c2
SP
7202013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
721
e7906a47
SP
722 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
723 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
724
92e3664b
SP
725 * bench/Makefile (bench): Add sin and slowsin.
726 * benchtests/sin-inputs: New file.
727 * benchtests/slowsin-inputs: New file.
728 * benchtests/slowsin.c: New file.
729
81f311c2
SP
730 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
731 (bench): Add slowexp and slowpow.
732 (exp-ITER): Increase iterations.
733 (pow-ITER): Likewise.
734 * benchtests/exp-inputs: Change input.
735 * benchtests/pow-inputs: Likewise.
736 * benchtests/slowexp-inputs: New file.
737 * benchtests/slowexp.c: New file.
738 * benchtests/slowpow-inputs: New file.
739 * benchtests/slowpow.c: New file.
740
ab0f1aa9
AZ
7412013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
742
743 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
744 instructions.
745 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
746 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
747 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
748 * benchtests/Makefile: Add rint benchtest.
749 * benchtests/rint-inputs: Input for rint benchtest.
750
57267616
TS
7512013-04-02 Thomas Schwinge <thomas@codesourcery.com>
752
753 * Versions.def (libm): Add GLIBC_2.18.
754 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
755 hidden libm prototypes.
756 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
757 * math/Makefile (libm-calls): Add s_issignaling.
758 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
759 __issignalingf, __issignalingl. Adjust all libm.abilist files.
760 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
761 declaration.
762 * math/math.h [__USE_GNU] (issignaling): New macro.
763 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
764 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
765 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
766 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
767 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
768 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
769 * manual/arith.texi (issignaling): New section.
770 * manual/libm-err-tab.pl (@all_functions): Update comment.
771 * math/gen-libm-test.pl (parse_args): Apply special handling for
772 issignaling.
773 * math/libm-test.inc (print_float, issignaling_test): New
774 functions.
775 (check_float_internal): Add issignaling checks.
776 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
777 default definition.
778 * sysdeps/powerpc/math-tests.h: New file.
779 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
780 tests.
781 * math/test-snan.c (TEST_FUNC): Likewise.
782
6142896d
DM
7832013-03-30 David S. Miller <davem@davemloft.net>
784
785 * po/de.po: Update from translation team.
786
ccc8cadf
JM
7872013-03-30 Joseph Myers <joseph@codesourcery.com>
788
789 [BZ #10357]
790 * math/k_casinh.c (__kernel_casinh): Handle arguments with
791 imaginary part less than 1.0 and real part less than 0.5
792 specially.
793 * math/k_casinhf.c (__kernel_casinhf): Likewise.
794 * math/k_casinhl.c (__kernel_casinhl): Likewise.
795 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
796 (cacos_test): Add more tests.
797 (casin_test): Likewise.
798 (casinh_test): Likewise.
799 * sysdeps/i386/fpu/libm-test-ulps: Update.
800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
801
0f6a8d4b
SP
8022013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
803
0d1029de
SP
804 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
805 ONE with its value.
806
c2d94018
SP
807 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
808 (__pow_mp): Replace ONE and MONE with their values.
809 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
810 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
811 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
812 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
813 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
814 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
815
27ec37f1
SP
816 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
817
a64d7e0e
SP
818 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
819 (__pow_mp): Replace ZERO and MZERO with their values.
820 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
821 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
822 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
824 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
825 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
826 (__sqr): Likewise.
827
d26dd3eb
SP
828 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
829
0f6a8d4b
SP
830 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
831
e57b0c61
RM
8322013-03-28 Roland McGrath <roland@hack.frob.com>
833
834 * include/stdlib.h [!SHARED] (__call_tls_dtors):
835 Declare with __attribute__ ((weak)).
836 * stdlib/exit.c (__libc_atexit) [!SHARED]:
837 Call __call_tls_dtors only if it's not NULL.
838
356b3480
RM
8392013-03-28 Roland McGrath <roland@hack.frob.com>
840
288f7d79
RM
841 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
842 didn't do it already, then set _dl_phdr and _dl_phnum based on the
843 magic __ehdr_start linker symbol if it's defined.
844 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
845 them up here if it was already done.
846
dc0a0263
RM
847 * elf/dl-support.c (_dl_phdr): Make pointer to const.
848 (_dl_aux_init): Use const in cast when setting it.
849 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
850 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
851 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
852
3d3436ae
RM
853 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
854 Declare them here.
855 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
856 * csu/libc-tls.c: Nor here.
857 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
858
356b3480
RM
859 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
860 (__libc_message): Never call vsyslog.
861
b0f1246a
AM
8622013-03-28 Alan Modra <amodra@gmail.com>
863
864 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
865 Define as empty.
866 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
867 Likewise.
868
fbbe2b9a
AZ
8692013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
870
871 [BZ #15214]
872 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
873 underflow.
874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
875
1728ab37
SP
8762013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
877
7a86be6e
SP
878 [BZ #15304]
879 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
880 Don't add gid passed as argument.
881
1728ab37
SP
882 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
883
3a7182a1
JM
8842013-03-27 Joseph Myers <joseph@codesourcery.com>
885
886 [BZ #15307]
887 * math/k_casinh.c (__kernel_casinh): Handle arguments with
888 imaginary part between 1.0 and 1.5 and real part less than 0.5
889 specially.
890 * math/k_casinhf.c (__kernel_casinhf): Likewise.
891 * math/k_casinhl.c (__kernel_casinhl): Likewise.
892 * math/libm-test.inc (cacos_test): Add more tests.
893 (casin_test): Likewise.
894 (casinh_test): Likewise.
895 * sysdeps/i386/fpu/libm-test-ulps: Update.
896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
897
6f2e90e7
SP
8982013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
899
5739f705
SP
900 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
901 constants.
902 (norm): Likewise.
903 (denorm): Likewise.
904 (__dbl_mp): Likewise.
905 (add_magnitudes): Likewise.
906 (sub_magnitudes): Likewise.
907 (__add): Likewise.
908 (__sub): Likewise.
909 (__mul): Likewise.
910 (__sqr): Likewise.
911 (__inv): Likewise.
912 (__dvd): Likewise.
913
e375e83d
SP
914 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
915 commented code.
916 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
917 (__dubcos): Likewise.
918 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
919 (__ieee754_acos): Likewise.
920 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
921 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
922 (__exp1): Likewise.
923 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
924 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
925 (log1): Likewise.
926 (my_log2): Likewise.
927 (checkint): Likewise.
928 * sysdeps/ieee754/dbl-64/e_remainder.c
929 (__ieee754_remainder): Likewise.
930 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
931 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
932 (bsloww): Likewise.
933 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
934
6f2e90e7
SP
935 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
936 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
937 MANTISSA_STORE_T to store computations on mantissa. Use
938 macros for rounding and division.
939 (denorm): Likewise.
940 (__dbl_mp): Likewise.
941 (add_magnitudes): Likewise.
942 (sub_magnitudes): Likewise.
943 (__mul): Likewise.
944 (__sqr): Likewise.
945 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
946 powers of two in terms of TWOPOW macro.
947 (mp_no): Make type of mantissa as MANTISSA_T.
948 [!RADIXI]: Define RADIXI.
949 [!TWO52]: Define TWO52.
950 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
951
fce14d4e
AZ
9522013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
953
954 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
955 llroundl symbol when building for PPC32.
956
9ad027fb
MW
9572013-03-24 Mark H Weaver <mhw@netris.org>
958
959 * manual/arith.texi (Normalization Functions): Fix prototypes for
960 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
961
e42a38dd
AZ
9622013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
963
964 [BZ #13889]
965 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
966 high value to check if expl overflow.
967 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
968 to check for underflow and overflow.
969 * math/libm-test.inc: Add exp test.
970
2e0fb521
DL
9712013-03-21 Dmitry V. Levin <ldv@altlinux.org>
972
973 [BZ #11120]
974 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
975 with NOT_IN_libc.
976
b5784d95
AZ
9772013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
978
979 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
980 symbol.
981
5aa4a1a1
TS
9822013-03-21 Thomas Schwinge <thomas@codesourcery.com>
983
bdef0be7
TS
984 * math/gen-libm-test.pl (parse_args, special_functions): Properly
985 wrap blocks consisting of several statements.
986
5aa4a1a1
TS
987 * sysdeps/generic/math-tests.h: New file.
988 * sysdeps/i386/fpu/math-tests.h: Likewise.
989 * math/test-snan.c: Include it.
990 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
991
98c48fe5
JM
9922013-03-21 Joseph Myers <joseph@codesourcery.com>
993
994 [BZ #15285]
995 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
996 (__ieee754_j0l): Do not improve calculations using cos of twice
997 input for inputs above LDBL_MAX / 2.0L.
998 (__ieee754_y0l): Likewise.
999 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1000 (__ieee754_j1l): Do not improve calculations using cos of twice
1001 input for inputs above LDBL_MAX / 2.0L.
1002 (__ieee754_y1l): Likewise.
1003 * math/libm-test.inc (j0_test): Add another test.
1004 (j1_test): Likewise.
1005 (y0_test): Likewise.
1006 (y1_test): Likewise.
1007 * sysdeps/i386/fpu/libm-test-ulps: Update.
1008
3775a8bc
SP
10092013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1010
1011 * Rules ($(objpfx)bench-%.c): Include code from a C source
1012 file.
1013
0a1b2ae6
JM
10142013-03-21 Joseph Myers <joseph@codesourcery.com>
1015
1016 [BZ #15287]
1017 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1018 imaginary part 1.0 and real part less than 0.5 specially.
1019 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1020 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1021 * math/libm-test.inc (cacos_test): Add more tests.
1022 (casin_test): Likewise.
1023 (casinh_test): Likewise.
1024 * sysdeps/i386/fpu/libm-test-ulps: Update.
1025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1026
b33d4ce4
SP
10272013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1028
1029 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1030 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1031
bef0b507
JM
10322013-03-20 Joseph Myers <joseph@codesourcery.com>
1033
1034 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1035 * config.make.in (config-cflags-sse4): Remove variable.
1036 (config-cflags-avx): Likewise.
1037 (config-cflags-sse2avx): Likewise.
1038 (config-cflags-novzeroupper): Likewise.
1039 (config-asflags-i686): Likewise.
1040 (have-mfma4): Likewise.
1041 (have-as-vis3): Likewise.
1042 (MIG): Likewise.
1043 * configure.in (MIG): Do not AC_SUBST.
1044 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1045 (libc_cv_cc_sse4): Do not AC_SUBST.
1046 (libc_cv_cc_avx): Likewise.
1047 (libc_cv_cc_sse2avx): Likewise.
1048 (libc_cv_cc_novzeroupper): Likewise.
1049 (libc_cv_cc_fma4): Likewise.
1050 (libc_cv_as_i686): Likewise.
1051 (libc_cv_sparc_as_vis3): Likewise.
1052 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1053 LIBC_CONFIG_VAR.
1054 (config-asflags-i686): Likewise.
1055 (config-cflags-avx): Likewise.
1056 (config-cflags-sse2avx): Likewise.
1057 (have-mfma4): Likewise.
1058 (config-cflags-novzeroupper): Likewise.
1059 * sysdeps/mach/configure.in (MIG): Likewise.
1060 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1061 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1062 LIBC_CONFIG_VAR.
1063 (config-cflags-avx): Likewise.
1064 (config-cflags-sse2avx): Likewise.
1065 (have-mfma4): Likewise.
1066 (config-cflags-novzeroupper): Likewise.
1067 * configure: Regenerated.
1068 * sysdeps/i386/configure: Likewise.
1069 * sysdeps/mach/configure: Likewise.
1070 * sysdeps/sparc/configure: Likewise.
1071 * sysdeps/x86_64/configure: Likewise.
1072
912cc4b3
RM
10732013-03-20 Roland McGrath <roland@hack.frob.com>
1074
1075 [BZ #14812]
1076 * locale/programs/localedef.c (options): Put N_ translation marker
1077 on argument names, not just descriptions.
1078
04eed2b0
MS
10792013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1080
1081 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1082
a065ceff
OB
10832013-03-20 Ondřej Bílka <neleai@seznam.cz>
1084
9bb2a810 1085 [BZ #14176]
a065ceff
OB
1086 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1087
a600e5ce
RM
10882013-03-19 Roland McGrath <roland@hack.frob.com>
1089
1090 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1091 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1092 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1093 [!BEFORE_ABORT] (before_abort): New function.
1094 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1095 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1096 (writev_for_fatal): New function.
1097 (WRITEV_FOR_FATAL): New macro; call that.
1098 (backtrace_and_maps): New function.
1099 (BEFORE_ABORT): New macro; call that.
1100 (struct str_list): Type removed.
1101 (__libc_message, __libc_fatal): Functions removed.
1102 Include <sysdeps/posix/libc_fatal.c> instead.
1103
6b18bea6
JM
11042013-03-19 Joseph Myers <joseph@codesourcery.com>
1105
1106 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1107 constants.
1108 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1109 double constants.
1110
aaa8cb4b
AS
11112013-03-19 Andreas Schwab <schwab@suse.de>
1112
44673770
AS
1113 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1114 * sysdeps/gnu/configure: Regenerate.
1115
aaa8cb4b
AS
1116 * configure.in: Substitute libc_cv_rtlddir.
1117 * configure: Regenerate.
1118 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1119 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1120 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1121 * elf/Makefile (install-others, CFLAGS-interp.c)
1122 (ldso_install, common-ldd-rewrite): Likewise.
1123 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1124 $(inst_slibdir)/$(rtld-installed-name).
1125 * scripts/rellns-sh: Add -p option.
1126 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1127 for source.
1128
d3cfc668
SP
11292013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1130
1131 * manual/nptl.texi: Renamed to ...
1132 * manual/threads.texi: ... this.
1133 * manual/Makefile (chapters): Update.
1134
0e2b9cdd
RM
11352013-03-18 Roland McGrath <roland@hack.frob.com>
1136
1137 [BZ #14812]
1138 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1139 on argument names, not just descriptions.
0e2b9cdd
RM
1140 * malloc/memusagestat.c (options): Likewise.
1141 * nss/getent.c (options): Likewise.
63270c24
RM
1142
11432013-03-18 Benno Schulenberg <bensberg@justemail.net>
1144
1145 [BZ #14812]
1146 * iconv/iconv_prog.c (options): Put N_ translation marker
1147 on argument names, not just descriptions.
1148 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1149
b2e1393c
OB
11502013-03-18 Ondrej Bilka <neleai@seznam.cz>
1151
1152 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1153 implementation which is faster on all x86_64 architectures.
1154 Tested on AMD, Intel Nehalem, SNB, IVB.
1155 * sysdeps/x86_64/strnlen.S: Likewise.
1156
1157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1158 Remove all multiarch strlen and strnlen versions.
1159 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1160 Remove strlen and strnlen related parts.
1161
1162 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1163 Inline strlen part.
1164 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1165
1166 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1167 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1168 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1169 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1170 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1171 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1172
ec4ff04d
CD
11732013-03-17 Carlos O'Donell <carlos@redhat.com>
1174
1175 * manual/memory.texi (Malloc Tunable Parameters):
1176 Sort parameters alphabetically. Add comments for missing entries.
1177
cd18e90a
DM
11782013-03-17 David S. Miller <davem@davemloft.net>
1179
1180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1181
2a185d32
JM
11822013-03-16 Joseph Myers <joseph@codesourcery.com>
1183
d2f9799e
JM
1184 [BZ #15283]
1185 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1186 for arguments at most half maximum finite value.
1187 * math/libm-test.inc (j0_test): Add more tests.
1188 (j1_test): Likewise.
1189 (y0_test): Likewise.
1190 (y1_test): Likewise.
1191 * sysdeps/i386/fpu/libm-test-ulps: Update.
1192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1193
2a185d32
JM
1194 [BZ #14155]
1195 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1196 1 / x and functions P and Q for arguments above 0x1p256L.
1197 (__ieee754_y0l): Likewise.
1198 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1199 (__ieee754_y1l): Likewise.
1200 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1201 (j1_test): Likewise.
1202 (y0_test): Likewise.
1203 (y1_test): Likewise.
1204
6cbec759
TS
12052013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1206
1207 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1208 variable.
1209
bc16e260
RM
12102013-03-15 Roland McGrath <roland@hack.frob.com>
1211
aefc9b8c
RM
1212 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1213 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1214 zero since it's initialized to EXEC_PAGESIZE.
1215
bc16e260
RM
1216 * sysdeps/unix/sysv/linux/ldsodefs.h
1217 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1218 * sysdeps/generic/ldsodefs.h: ... here.
1219
a57da955
TS
12202013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1221
af00a34d
TS
1222 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1223
495ded2c
TS
1224 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1225 math/test-snan.c.
1226 * math/test-snan.c: Renamed from
1227 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1228 * math/Makefile (tests): Add test-snan.
1229 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1230 test-powerpc-snan.
1231
777b0332
TS
1232 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1233 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1234 functions.
1235 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1236 __builtin_nan family of functions.
1237 * math/libm-test.inc (initialize): Initialize qnan_value with
1238 __builtin_nan family of functions.
1239 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1240 Remove variables.
1241 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1242 Remove functions.
1243 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1244 storage class. Initialize qNaN_var and sNaN_var with
1245 __builtin_nan and __builtin_nans families of functions,
1246 respectively.
1247
64d063b8
TS
1248 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1249 (sqrt_test): Remove duplicate test with qNaN input.
1250 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1251 (round_test, signbit_test, significand_test): Note missing +/-Inf
1252 as well as qNaN tests.
1253
67e971f1
TS
1254 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1255 qNaN_var. Fix a few strings, too.
1256 * math/libm-test.inc (nan_value): Rename to qnan_value.
1257 * math/gen-libm-test.pl (%beautify): Adjust to that.
1258 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1259 * math/test-misc.c (main): Likewise.
1260 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1261 to __qnan_bytes, and __qnan_union, respectively.
1262 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1263 Likewise.
1264 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1265 and lqnanval, respectively.
1266 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1267 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1268 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1269 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1270
64487e12
TS
1271 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1272 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1273 doubles.
1274
e015e27b
TS
1275 * math/test-misc.c (main): Fix copy'n'pastos.
1276 * misc/tst-efgcvt.c (special): Likewise.
1277
a57da955
TS
1278 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1279 Remove declarations.
1280
1e380345
SP
12812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1282
1283 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1284 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1285 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1286 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1287
ef26eece
AZ
12882013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1289
1290 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1291 macro to return vdso values correctly in IFUNC implementations.
1292 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1293 Optimization by using IFUNC.
1294
8cfdb7e0
SP
12952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1296 Richard Henderson <rth@redhat.com>
1297 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1298
1299 * Makefile.in (bench): New target.
1300 * NEWS: Mention the benchmark framework.
1301 * Rules (bench): Likewise.
1302 (binaries-bench): Generate binaries for functions to
1303 benchmark.
1304 * benchtests/Makefile: New makefile for benchmark tests.
1305 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1306 programs.
1307 * benchtests/exp-inputs: New input file for EXP function.
1308 * benchtests/pow-inputs: New input file for POW function.
1309 * scripts/bench.pl: New script to generate source files for
1310 benchmark programs.
1311
bcda9880
SP
13122013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1313
d22ca8cd
SP
1314 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1315 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1316 computations on mantissa. Use macros for rounding and
1317 division.
1318 (denorm): Likewise.
1319 (__dbl_mp): Likewise.
1320 (add_magnitudes): Likewise.
1321 (sub_magnitudes): Likewise.
1322 (__mul): Likewise.
1323 (__sqr): Likewise.
1324 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1325 powers of two in terms of TWOPOW macro.
1326 (mp_no): Make type of mantissa as MANTISSA_T.
1327 [!RADIXI]: Define RADIXI.
1328 [!TWO52]: Define TWO52.
1329 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1330
bcda9880
SP
1331 * manual/nptl.texi (cindex): Modify threads to pthreads.
1332
06d5adfb
JM
13332013-03-15 Joseph Myers <joseph@codesourcery.com>
1334
1335 * sysdeps/x86_64/preconfigure: Regenerated.
1336
41c7328e
JM
13372013-03-14 Joseph Myers <joseph@codesourcery.com>
1338
1339 [BZ #14155]
1340 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1341 0x1p28 and above.
1342 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1343 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1344 0x1p28 and above.
1345 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1346 * math/libm-test.inc (j0_test): Do not allow one spurious
1347 underflow exception.
1348 (y1_test): Likewise.
1349
e25cfa60
SP
13502013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1351
0409959c
SP
1352 * manual/Makefile (chapters): Add nptl.
1353 * manual/debug.texi (Debugging Support): Add link to Threads
1354 chapter.
1355 * manual/nptl.texi: New file.
1356
e25cfa60
SP
1357 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1358
58a1335e
PB
13592013-03-14 Petr Baudis <pasky@ucw.cz>
1360
1361 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1362 for non-NULL pointer before the memory validity test. Pointed
1363 out by Holger Brunck <holger.brunck@keymile.com>.
1364
9dc7c64f
AS
13652013-03-13 Andreas Schwab <schwab@suse.de>
1366
1367 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1368 instead of .os.
1369
54206aa6
JM
13702013-03-13 Joseph Myers <joseph@codesourcery.com>
1371
1372 * timezone/zic.c: Update from tzcode 2013b.
1373
e98cdb38
CD
13742013-03-12 Carlos O'Donell <carlos@redhat.com>
1375
1376 * manual/install.texi (Configuring and compiling):
1377 Mention i686 and i586.
1378 * INSTALL: Regenerate.
1379
9967e003
RM
13802013-03-12 Roland McGrath <roland@hack.frob.com>
1381
1382 * sysdeps/init_array/elf-init.c: New file.
1383 * csu/elf-init.c
1384 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1385 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1386
1387 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1388 __gmon_start__ as global, but as static with a .preinit_array pointer.
1389 * sysdeps/init_array/gmon-start.c: New file. Use that.
1390 * sysdeps/init_array/crti.S: New file, empty except for comments.
1391 * sysdeps/init_array/crtn.S: Likewise.
1392
e6b5a293 13932013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1394
1395 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1396 definining bcopy.
80f844c9
OB
1397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1398 Remove Prefer_SSE_for_memop.
1399 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1400 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1401 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1403 memset-x86-64.
80f844c9 1404 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1405 Remove bzero, memset ifunc support.
80f844c9
OB
1406 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1407 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1408 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1409 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1410
fb6b0fcb
AS
14112013-03-11 Andreas Schwab <schwab@suse.de>
1412
1413 [BZ #15234]
1414 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1415 by SHLIB_COMPAT.
1416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1417 (GLIBC_2.16): Remove pthread_atfork.
1418
3e6bd4b1
PP
14192013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1420
1421 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1422 (ptestcases.h): Likewise.
1423
222d7f00
RM
14242013-03-08 Roland McGrath <roland@hack.frob.com>
1425
1426 * Makeconfig ($(common-objpfx)config.status): Depend on
1427 sysdeps/*/preconfigure{,.in} too.
1428
1ba4f030
JM
14292013-03-08 Joseph Myers <joseph@codesourcery.com>
1430
a222d91a
JM
1431 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1432 (__free_hook): Use void * instead of __malloc_ptr_t.
1433 (__malloc_hook): Likewise.
1434 (__realloc_hook): Likewise.
1435 (__memalign_hook): Likewise.
1436 (__after_morecore_hook): Likewise.
1437 * malloc/arena.c (save_malloc_hook): Likewise.
1438 (save_free_hook): Likewise.
1439 * malloc/hooks.c (malloc_hook_ini): Likewise.
1440 (realloc_hook_ini): Likewise.
1441 (memalign_hook_ini): Likewise.
1442 * malloc/malloc.c (malloc_hook_ini): Likewise.
1443 (realloc_hook_ini): Likewise.
1444 (memalign_hook_ini): Likewise.
1445 (__free_hook): Likewise.
1446 (__malloc_hook): Likewise.
1447 (__realloc_hook): Likewise.
1448 (__memalign_hook): Likewise.
1449 (__libc_malloc): Likewise.
1450 (__libc_free): Likewise.
1451 (__libc_realloc): Likewise.
1452 (__libc_memalign): Likewise.
1453 (__libc_valloc): Likewise.
1454 (__libc_pvalloc): Likewise.
1455 (__libc_calloc): Likewise.
1456 (__posix_memalign): Likewise.
1457 * malloc/morecore.c (__sbrk): Likewise.
1458 (__default_morecore): Likewise.
1459
5cc45e10
JM
1460 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1461
dd54b864
JM
1462 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1463 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1464 __malloc_ptrdiff_t.
1465
1ba4f030
JM
1466 * malloc/malloc.h (__malloc_size_t): Remove macro.
1467 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1468 __malloc_size_t.
1469 (old_memalign_hook): Likewise.
1470 (old_realloc_hook): Likewise.
1471 (struct hdr): Likewise.
1472 (flood): Likewise.
1473 (mallochook): Likewise.
1474 (memalignhook): Likewise.
1475 (reallochook): Likewise.
1476 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1477 (tr_old_realloc_hook): Likewise.
1478 (tr_old_memalign_hook): Likewise.
1479 (tr_mallochook): Likewise.
1480 (tr_reallochook): Likewise.
1481 (tr_memalignhook): Likewise.
1482
edf66e57
AZ
14832013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1484
1485 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1486 default_ldbl_pack and using as default implementation.
1487 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1488 implementation.
1489 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1490 redundant definition.
1491 (ldbl_insert_mantissa): Likewise.
1492 (ldbl_canonicalize): Likewise.
1493 (ldbl_nearbyint): Likewise.
1494 (ldbl_pack): Rename to ldbl_pack_ppc.
1495 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1496 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1497 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1498
6d9145d8
SP
14992013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1500
1501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1502 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1503 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1504 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1506 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1507 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1508 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1509
4dd4e157
AJ
15102013-03-07 Andreas Jaeger <aj@suse.de>
1511
1512 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1513 bits/mman-linux.h.
1514
adbb8027
SP
15152013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1516
ce544b5b
SP
1517 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1518 Include mpa.h and declare __MPEXP.
1519 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1520 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1521 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1522 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1523 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1524 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1525 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1526
4cc149fd
SP
1527 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1528 (__slowpow): Use long double EXPL and LOGL functions to
1529 compute POW.
1530 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1531 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1532 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1533 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1534 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1535 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1536
e6ebd4a7
SP
1537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1538 intermediate variable to calculate exponent.
1539 (__sqr): Likewise.
1540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1541 Likewise.
1542 (__sqr): Likewise.
1543
82a9811d
SP
1544 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1545 [!NO__SQR]: Define __sqr.
1546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1547 and NO__SQR. Remove all code except __mul and __sqr. Include
1548 sysdeps/ieee754/dbl-64/mpa.c.
1549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1550
adbb8027
SP
1551 [BZ #12723]
1552 * posix/Makefile (tests): Add tst-pathconf.
1553 * posix/tst-pathconf.c: New test case.
1554 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1555 _PC_PIPE_BUF.
1556 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1557
39120df9
PF
15582013-03-06 Patsy Franklin <pfrankli@redhat.com>
1559
1560 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1561
67525cb8
AJ
15622013-03-06 Andreas Jaeger <aj@suse.de>
1563
664a9ce4
AJ
1564 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1565 definition via __MAP_ANONYMOUS.
1566
8e39047d
AJ
1567 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1568 it's not part of Linux headers.
1569
67525cb8
AJ
1570 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1571 (MAP_HUGE_MASK): Define.
1572
1573 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1574 Define.
1575 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1576 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1577 Define.
1578 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1579 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1580 Define.
1581 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1582 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1583 Define.
1584 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1585
1586 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1587 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1588 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1589 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1590 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1591 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1592
1593 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1594 Handle f2fs.
1595
1596 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1597 Handle f2fs and efivarfs.
1598
1599 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1600 f2fs.
1601
1602 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1603 (EFIVARFS_MAGIC): Add.
1604 (F2FS_LINK_MAX): Add.
1605
e1b42695
PP
16062013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1607
1608 * stdio-common/vfprintf.c: Replace __builtin_expect with
1609 __glibc_unlikely.
1610
2d67d91a
JM
16112013-03-06 Joseph Myers <joseph@codesourcery.com>
1612
1613 [BZ #13550]
1614 * sysdeps/generic/bp-sym.h: Remove file.
1615 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1616 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1617 <bp-sym.h> and <bp-asm.h>.
1618 (__longjmp): Don't use BP_SYM.
1619 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1620 and <bp-asm.h>.
1621 (memcpy): Don't use BP_SYM.
1622 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1623 <bp-sym.h> and <bp-asm.h>.
1624 (memcpy): Don't use BP_SYM.
1625 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1626 <bp-asm.h>.
1627 (memcpy): Don't use BP_SYM.
1628 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1629 <bp-asm.h>.
1630 (memset): Don't use BP_SYM.
1631 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1632 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1633 (__bzero): Don't use BP_SYM.
1634 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1635 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1636 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1637 <bp-sym.h> and <bp-asm.h>.
1638 (memcmp): Don't use BP_SYM. Remove comment about bounded
1639 pointers.
1640 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1641 <bp-sym.h> and <bp-asm.h>.
1642 (memcpy): Don't use BP_SYM.
1643 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1644 <bp-sym.h> and <bp-asm.h>.
1645 (memset): Don't use BP_SYM.
1646 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1647 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1648 (__bzero): Don't use BP_SYM.
1649 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1650 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1651 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1652 <bp-sym.h> and <bp-asm.h>.
1653 (strncmp): Don't use BP_SYM. Remove comment about bounded
1654 pointers.
1655 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1656 <bp-sym.h> and <bp-asm.h>.
1657 (memcpy): Don't use BP_SYM.
1658 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1659 <bp-sym.h> and <bp-asm.h>.
1660 (memset): Don't use BP_SYM.
1661 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1662 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1663 (__bzero): Don't use BP_SYM.
1664 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1665 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1666 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1667 <bp-sym.h> and <bp-asm.h>.
1668 (__memchr): Don't use BP_SYM.
1669 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1670 <bp-sym.h> and <bp-asm.h>.
1671 (memcmp): Don't use BP_SYM. Remove comment about bounded
1672 pointers.
1673 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1674 <bp-sym.h> and <bp-asm.h>.
1675 (memcpy): Don't use BP_SYM.
1676 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1677 <bp-sym.h> and <bp-asm.h>.
1678 (__mempcpy): Don't use BP_SYM.
1679 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1680 <bp-sym.h> and <bp-asm.h>.
1681 (__memrchr): Don't use BP_SYM.
1682 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1683 <bp-sym.h> and <bp-asm.h>.
1684 (memset): Don't use BP_SYM.
1685 (__bzero): Likewise.
1686 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1687 <bp-sym.h> and <bp-asm.h>.
1688 (__rawmemchr): Don't use BP_SYM.
1689 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1690 <bp-sym.h> and <bp-asm.h>.
1691 (__STRCMP): Don't use BP_SYM.
1692 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1693 <bp-sym.h> and <bp-asm.h>.
1694 (strchr): Don't use BP_SYM.
1695 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1696 <bp-sym.h> and <bp-asm.h>.
1697 (__strchrnul): Don't use BP_SYM.
1698 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1699 <bp-sym.h> and <bp-asm.h>.
1700 (strlen): Don't use BP_SYM.
1701 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1702 <bp-sym.h> and <bp-asm.h>.
1703 (strncmp): Don't use BP_SYM. Remove comment about bounded
1704 pointers.
1705 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1706 <bp-sym.h> and <bp-asm.h>.
1707 (__strnlen): Don't use BP_SYM.
1708 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1709 <bp-sym.h> and <bp-asm.h>.
1710 (__GI__setjmp): Don't use BP_SYM.
1711 (_setjmp): Likewise.
1712 (__sigsetjmp): Likewise.
1713 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1714 (L(start_addresses)): Don't use BP_SYM.
1715 (_start): Likewise.
1716 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1717 <bp-asm.h>.
1718 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1719 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1720 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1721 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1722 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1723 <bp-asm.h>.
1724 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1725 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1726 about bounded pointers.
1727 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1728 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1729 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1730 <bp-asm.h>.
1731 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1732 about bounded pointers. Remove GKM FIXME comments.
1733 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1734 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1735 <bp-asm.h>.
1736 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1737 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1738 Remove GKM FIXME comments.
1739 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1740 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1741 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1742 <bp-asm.h>.
1743 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1744 about bounded pointers. Remove GKM FIXME comment.
1745 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1746 and <bp-asm.h>.
1747 (strncmp): Don't use BP_SYM. Remove comment about bounded
1748 pointers.
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1750 <bp-sym.h> and <bp-asm.h>.
1751 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1753 <bp-sym.h> and <bp-asm.h>.
1754 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1755 comment.
1756
cdcf361f
PP
17572013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1758
1759 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1760 call free(NULL).
1761
3c4a2b15
DM
17622013-03-05 David S. Miller <davem@davemloft.net>
1763
1764 * po/es.po: Update from translation team.
1765
cdcf361f 17662013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1767
1768 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1769 <bits/mman-linux.h>.
1770 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1771 is fine.
1772 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1773 <bits/mman-linux.h> to end of file.
1774 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1775 is fine.
1776 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1777 <bits/mman-linux.h> to end of file.
1778 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1779 is fine.
1780 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1781 <bits/mman-linux.h> to end of file.
1782
1783 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1784 (MCL_CURRENT, MCL_FUTURE): Define here.
1785
5f67c04f
AK
17862013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1787
8a4473cc 1788 [BZ #15232]
5f67c04f
AK
1789 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1790 attribute_hidden.
1791 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1792
c3e94a95
AK
17932013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1794
1795 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1796 fourth parameter needed for rt_sigprocmask syscall.
1797 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1798 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1799 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1800 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1801 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1802 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1803
cfb6382a
JM
18042013-03-04 Joseph Myers <joseph@codesourcery.com>
1805
1806 [BZ #13550]
1807 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1808 comment about bounded pointers.
1809 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1810 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1811
539d8e01
AJ
18122013-03-04 Andreas Jaeger <aj@suse.de>
1813
1814 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1815 common definitions.
1816
1817 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1818 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1819 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1820 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1821 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1822 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1823
2e167a70 18242013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1825
1826 [BZ #15055]
1827 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1828 __ieee754_sqrl instead of __sqrl.
1829
68508633
JM
18302013-03-01 Joseph Myers <joseph@codesourcery.com>
1831
1832 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1833 * sysdeps/powerpc/fpu_control.h: ... here.
1834 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1835 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1836 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1837 * sysdeps/powerpc/bits/mathinline.h: ... here.
1838
7775448e
RM
18392013-03-01 Roland McGrath <roland@hack.frob.com>
1840
1841 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1842 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1843 to just [NEED_DL_SYSINFO_DSO].
1844 * elf/dl-support.c: Likewise.
1845 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1846 * elf/rtld.c (dl_main): Likewise.
1847 * elf/setup-vdso.h (setup_vdso): Likewise.
1848 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1849 * sysdeps/unix/sysv/linux/dl-sysdep.c
1850 (_dl_discover_osversion): Likewise.
1851
4e9b5995
CD
18522013-03-01 Carlos O'Donell <carlos@redhat.com>
1853
1854 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1855 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1856
e23872c8
SP
18572013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1858
e5c74c63
SP
1859 * NEWS: Mention libm performance improvements and non-x86 PI
1860 futex support.
1861
e23872c8
SP
1862 * csu/libc-start.c (__pthread_initialize_minimal): Change
1863 function arguments.
1864 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1865
b5510883
JM
18662013-02-28 Joseph Myers <joseph@codesourcery.com>
1867
1868 [BZ #13550]
1869 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1870 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1871 <bp-sym.h> and <bp-asm.h>.
1872 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1873 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1874 and <bp-asm.h>.
1875 (memcpy): Don't use BP_SYM.
1876 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1877 <bp-asm.h>.
1878 (__mpn_add_n): Don't use BP_SYM.
1879 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1880 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1881 and <bp-asm.h>.
1882 (__mpn_addmul_1): Don't use BP_SYM.
1883 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1884 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1885 <bp-sym.h>.
1886 (_setjmp): Don't use BP_SYM.
1887 (__novmx_setjmp): Likewise.
1888 (__GI__setjmp): Likewise.
1889 (__vmx_setjmp): Likewise.
1890 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1891 <bp-sym.h>.
1892 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1893 (__bzero): Don't use BP_SYM.
1894 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1895 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1896 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1897 <bp-sym.h> and <bp-asm.h>.
1898 (memcpy): Don't use BP_SYM.
1899 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1900 <bp-sym.h> and <bp-asm.h>.
1901 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1902 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1903 <bp-sym.h> and <bp-asm.h>.
1904 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1905 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1906 <bp-asm.h>.
1907 (__mpn_lshift): Don't use BP_SYM.
1908 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1909 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1910 <bp-asm.h>.
1911 (memset): Don't use BP_SYM.
1912 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1913 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1914 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1915 <bp-asm.h>.
1916 (__mpn_mul_1): Don't use BP_SYM.
1917 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1918 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1919 <bp-sym.h> and <bp-asm.h>.
1920 (memcmp): Don't use BP_SYM.
1921 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1922 <bp-sym.h> and <bp-asm.h>.
1923 (memcpy): Don't use BP_SYM.
1924 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1925 <bp-sym.h> and <bp-asm.h>.
1926 (memset): Don't use BP_SYM.
1927 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1928 <bp-sym.h> and <bp-asm.h>.
1929 (strncmp): Don't use BP_SYM.
1930 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1931 <bp-sym.h> and <bp-asm.h>.
1932 (memcpy): Don't use BP_SYM.
1933 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1934 <bp-sym.h> and <bp-asm.h>.
1935 (memset): Don't use BP_SYM.
1936 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1937 <bp-sym.h> and <bp-asm.h>.
1938 (__memchr): Don't use BP_SYM.
1939 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1940 <bp-sym.h> and <bp-asm.h>.
1941 (memcmp): Don't use BP_SYM.
1942 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1943 <bp-sym.h> and <bp-asm.h>.
1944 (memcpy): Don't use BP_SYM.
1945 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1946 <bp-sym.h> and <bp-asm.h>.
1947 (__mempcpy): Don't use BP_SYM.
1948 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1949 <bp-sym.h> and <bp-asm.h>.
1950 (__memrchr): Don't use BP_SYM.
1951 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1952 <bp-sym.h> and <bp-asm.h>.
1953 (memset): Don't use BP_SYM.
1954 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1955 <bp-sym.h> and <bp-asm.h>.
1956 (__rawmemchr): Don't use BP_SYM.
1957 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1958 <bp-sym.h> and <bp-asm.h>.
1959 (__STRCMP): Don't use BP_SYM.
1960 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1961 <bp-sym.h> and <bp-asm.h>.
1962 (strchr): Don't use BP_SYM.
1963 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1964 <bp-sym.h> and <bp-asm.h>.
1965 (__strchrnul): Don't use BP_SYM.
1966 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1967 <bp-sym.h> and <bp-asm.h>.
1968 (strlen): Don't use BP_SYM.
1969 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1970 <bp-sym.h> and <bp-asm.h>.
1971 (strncmp): Don't use BP_SYM.
1972 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1973 <bp-sym.h> and <bp-asm.h>.
1974 (__strnlen): Don't use BP_SYM.
1975 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1976 <bp-asm.h>.
1977 (__mpn_rshift): Don't use BP_SYM.
1978 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1979 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1980 <bp-sym.h> and <bp-asm.h>.
1981 (__sigsetjmp): Don't use BP_SYM.
1982 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1983 (L(start_addresses)): Don't use BP_SYM.
1984 (_start): Likewise.
1985 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1986 <bp-asm.h>.
1987 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1988 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1989 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1990 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1991 <bp-asm.h>.
1992 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1993 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1994 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1995 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1996 <bp-asm.h>.
1997 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1998 comments.
1999 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2000 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2001 <bp-asm.h>.
2002 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2003 FIXME comments.
2004 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2005 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2006 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2007 <bp-asm.h>.
2008 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2009 comment.
2010 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2011 and <bp-asm.h>.
2012 (strncmp): Don't use BP_SYM,
2013 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2014 <bp-asm.h>.
2015 (__mpn_sub_n): Don't use BP_SYM.
2016 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2017 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2018 and <bp-asm.h>.
2019 (__mpn_submul_1): Don't use BP_SYM.
2020 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2022 <bp-sym.h> and <bp-asm.h>.
2023 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2025 <bp-sym.h> and <bp-asm.h>.
2026 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2027 comment.
2028
8d19fe64
SP
20292013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2030
2031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2032 Use ZK to minimize writes to Z.
2033 (sub_magnitudes): Simplify code a bit.
2034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2035 Use ZK to minimize writes to Z.
2036 (sub_magnitudes): Simplify code a bit.
2037
85bd816a
RM
20382013-02-27 Roland McGrath <roland@hack.frob.com>
2039
2040 * csu/gmon-start.c: Add special exception to license text.
2041
b5977bf2
RH
20422013-02-27 Richard Henderson <rth@redhat.com>
2043
2044 * scripts/config.guess: Update from config.git.
2045 * scripts/config.sub: Likewise.
2046
11d6e2f2
SP
20472013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2048
09c14ed2
SP
2049 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2050
a688864e
SP
2051 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2052
6295157a
SP
2053 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2054
b8de2202
SP
2055 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2056
11d6e2f2
SP
2057 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2058
7e80ddb8
RM
20592013-02-26 Roland McGrath <roland@hack.frob.com>
2060
2061 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2062 [$(build-shared = yes].
7e80ddb8 2063
7da6d9ed
SP
20642013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2065
45f05884
SP
2066 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2067 (__mul): Reduce iterations for calculating mantissa.
2068
2236d359
SP
2069 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2070 MPTWO.
2071 (__mpranred): Likewise.
2072
7da6d9ed
SP
2073 [BZ #15160]
2074 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2075 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2076
b7688c42
PE
20772013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2078
2079 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2080 Define __attribute__.
2081
53a5c423
SP
20822013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2083
2084 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2085 unused.
2086 * posix/regex_internal.h (__attribute): Remove.
2087 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2088 (re_string_context_at): Likewise.
2089 (bitset_not): Use __attribute__ and mark function as possibly
2090 unused.
2091 (bitset_merge): Likewise.
2092 (bitset_mask): Likewise.
2093 (re_string_char_size_at): Likewise.
2094 (re_string_wchar_at): Likewise.
2095 (re_string_elem_size_at): Likewise.
2096
60f5a8b5
SP
20972013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2098
2a983a2e
SP
2099 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2100 code.
2101 (cc32): Likewise.
2102
e69804d1
SP
2103 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2104 (__acr): Likewise.
2105 (__cpy): Likewise.
2106 (norm): Likewise.
2107 (denorm): Likewise.
2108 (__dbl_mp): Likewise.
2109 (add_magnitudes): Likewise.
2110 (sub_magnitudes): Likewise.
2111 (__mul): Likewise.
2112 (__inv): Likewise.
2113
2f22a1e8
SP
2114 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2115 style.
2116
8930ddc7
SP
2117 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2118 style.
2119
dc60cb11
SP
2120 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2121 code.
2122
60f5a8b5
SP
2123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2124 up changes with default code.
2125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2126 Likewise.
2127
b4d1fd33
AM
21282013-02-24 Allan McRae <allan@archlinux.org>
2129
faf6f8bc
AM
2130 * manual/socket.texi (The Internet Namespace): Order menu items
2131 to match that in the file.
2132
b4d1fd33
AM
2133 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2134 node listing of the info page menu.
2135
2366713d
JM
21362013-02-21 Joseph Myers <joseph@codesourcery.com>
2137
2138 [BZ #13550]
2139 * sysdeps/i386/bp-asm.h: Remove file.
2140 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2141 (PARMS): Do not use macros from bp-asm.h.
2142 (S1): Likewise.
2143 (S2): Likewise.
2144 (SIZE): Likewise.
2145 (__mpn_add_n): Do not use BP_SYM
2146 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2147 "bp-asm.h".
2148 (PARMS): Do not use macros from bp-asm.h.
2149 (S1): Likewise.
2150 (SIZE): Likewise.
2151 (__mpn_addmul_1): Do not use BP_SYM
2152 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2153 "bp-asm.h".
2154 (PARMS): Do not use macros from bp-asm.h.
2155 (SIGMSK): Likewise.
2156 (_setjmp): Likewise. Do not use BP_SYM.
2157 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2158 "bp-asm.h".
2159 (PARMS): Do not use macros from bp-asm.h.
2160 (SIGMSK): Likewise.
2161 (setjmp): Likewise. Do not use BP_SYM.
2162 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2163 "bp-asm.h".
2164 (PARMS): Do not use macros from bp-asm.h.
2165 (__frexp): Do not use BP_SYM.
2166 (frexp): Likewise.
2167 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2168 "bp-asm.h".
2169 (PARMS): Do not use macros from bp-asm.h.
2170 (__frexpf): Do not use BP_SYM.
2171 (frexpf): Likewise.
2172 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2173 "bp-asm.h".
2174 (PARMS): Do not use macros from bp-asm.h.
2175 (__frexpl): Do not use BP_SYM.
2176 (frexpl): Likewise.
2177 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2178 "bp-asm.h".
2179 (PARMS): Do not use macros from bp-asm.h.
2180 (__remquo): Do not use BP_SYM.
2181 (remquo): Likewise.
2182 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2183 "bp-asm.h".
2184 (PARMS): Do not use macros from bp-asm.h.
2185 (__remquof): Do not use BP_SYM.
2186 (remquof): Likewise.
2187 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2188 "bp-asm.h".
2189 (PARMS): Do not use macros from bp-asm.h.
2190 (__remquol): Do not use BP_SYM.
2191 (remquol): Likewise.
2192 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2193 "bp-asm.h".
2194 (PARMS): Do not use macros from bp-asm.h.
2195 (DEST): Likewise.
2196 (SRC): Likewise.
2197 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2198 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2199 "bp-asm.h".
2200 (PARMS): Do not use macros from bp-asm.h.
2201 (strlen): Do not use BP_SYM.
2202 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2203 "bp-asm.h".
2204 (PARMS): Do not use macros from bp-asm.h.
2205 (S1): Likewise.
2206 (S2): Likewise.
2207 (SIZE): Likewise.
2208 (__mpn_add_n): Do not use BP_SYM.
2209 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2210 "bp-asm.h".
2211 (PARMS): Do not use macros from bp-asm.h.
2212 (S1): Likewise.
2213 (SIZE): Likewise.
2214 (__mpn_addmul_1): Do not use BP_SYM.
2215 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2216 weak_alias.
2217 (bzero): Likewise.
2218 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2219 "bp-asm.h".
2220 (PARMS): Do not use macros from bp-asm.h.
2221 (S): Likewise.
2222 (SIZE): Likewise.
2223 (__mpn_lshift): Do not use BP_SYM.
2224 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2225 "bp-asm.h".
2226 (PARMS): Do not use macros from bp-asm.h.
2227 (DEST): Likewise.
2228 (SRC): Likewise.
2229 (LEN): Likewise.
2230 (memcpy): Likewise. Do not use BP_SYM.
2231 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2232 libc_hidden_def and weak_alias.
2233 (mempcpy): Do not use BP_SYM in weak_alias.
2234 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2235 "bp-asm.h".
2236 (PARMS): Do not use macros from bp-asm.h.
2237 (DEST): Likewise.
2238 (LEN): Likewise.
2239 [!BZERO_P] (CHR): Likewise.
2240 (memset): Likewise. Do not use BP_SYM.
2241 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2242 "bp-asm.h".
2243 (PARMS): Do not use macros from bp-asm.h.
2244 (S1): Likewise.
2245 (SIZE): Likewise.
2246 (__mpn_mul_1): Do not use BP_SYM.
2247 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2248 "bp-asm.h".
2249 (PARMS): Do not use macros from bp-asm.h.
2250 (S): Likewise.
2251 (SIZE): Likewise.
2252 (__mpn_rshift): Do not use BP_SYM.
2253 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2254 "bp-asm.h".
2255 (PARMS): Do not use macros from bp-asm.h.
2256 (STR): Likewise.
2257 (CHR): Likewise.
2258 (strchr): Likewise. Do not use BP_SYM.
2259 (index): Do not use BP_SYM in weak_alias.
2260 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2261 "bp-asm.h".
2262 (PARMS): Do not use macros from bp-asm.h.
2263 (DEST): Likewise.
2264 (SRC): Likewise.
2265 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2266 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2267 "bp-asm.h".
2268 (PARMS): Do not use macros from bp-asm.h.
2269 (strlen): Do not use BP_SYM.
2270 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2271 "bp-asm.h".
2272 (PARMS): Do not use macros from bp-asm.h.
2273 (S1): Likewise.
2274 (S2): Likewise.
2275 (SIZE): Likewise.
2276 (__mpn_sub_n): Do not use BP_SYM.
2277 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2278 "bp-asm.h".
2279 (PARMS): Do not use macros from bp-asm.h.
2280 (S1): Likewise.
2281 (SIZE): Likewise.
2282 (__mpn_submul_1): Do not use BP_SYM.
2283 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2284 "bp-asm.h".
2285 (PARMS): Do not use macros from bp-asm.h.
2286 (S1): Likewise.
2287 (S2): Likewise.
2288 (SIZE): Likewise.
2289 (__mpn_add_n): Do not use BP_SYM.
2290 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2291 weak_alias.
2292 (bzero): Likewise.
2293 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2294 "bp-asm.h".
2295 (PARMS): Do not use macros from bp-asm.h.
2296 (BLK2): Likewise.
2297 (LEN): Likewise.
2298 (memcmp): Do not use BP_SYM.
2299 (bcmp): Do not use BP_SYM in weak_alias.
2300 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2301 "bp-asm.h".
2302 (PARMS): Do not use macros from bp-asm.h.
2303 (DEST): Likewise.
2304 (SRC): Likewise.
2305 (LEN): Likewise.
2306 (memcpy): Likewise. Do not use BP_SYM.
2307 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2308 "bp-asm.h".
2309 (PARMS): Do not use macros from bp-asm.h.
2310 (DEST): Likewise.
2311 (SRC): Likewise.
2312 (LEN): Likewise.
2313 (memmove): Likewise. Do not use BP_SYM.
2314 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2315 "bp-asm.h".
2316 (PARMS): Do not use macros from bp-asm.h.
2317 (DEST): Likewise.
2318 (SRC): Likewise.
2319 (LEN): Likewise.
2320 (__mempcpy): Likewise. Do not use BP_SYM.
2321 (mempcpy): Do not use BP_SYM in weak_alias.
2322 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2323 "bp-asm.h".
2324 (PARMS): Do not use macros from bp-asm.h.
2325 (DEST): Likewise.
2326 (LEN): Likewise.
2327 [!BZERO_P] (CHR): Likewise.
2328 (memset): Likewise. Do not use BP_SYM.
2329 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2330 "bp-asm.h".
2331 (PARMS): Do not use macros from bp-asm.h.
2332 (STR2): Likewise.
2333 (strcmp): Do not use BP_SYM.
2334 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2335 "bp-asm.h".
2336 (PARMS): Do not use macros from bp-asm.h.
2337 (STR): Likewise.
2338 (DELIM): Likewise.
2339 [USE_AS_STRTOK_R] (SAVE): Likewise.
2340 (FUNCTION): Likewise. Do not use BP_SYM.
2341 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2342 aliases.
2343 (strtok_r): Likewise.
2344 (__GI___strtok_r): Likewise.
2345 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2346 (PARMS): Do not use macros from bp-asm.h.
2347 (S): Likewise.
2348 (SIZE): Likewise.
2349 (__mpn_lshift): Do not use BP_SYM.
2350 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2351 (PARMS): Do not use macros from bp-asm.h.
2352 (STR): Likewise.
2353 (CHR): Likewise.
2354 (__memchr): Do not use BP_SYM.
2355 (memchr): Do not use BP_SYM in weak_alias.
2356 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2357 (PARMS): Do not use macros from bp-asm.h.
2358 (BLK2): Likewise.
2359 (LEN): Likewise.
2360 (memcmp): Do not use BP_SYM.
2361 (bcmp): Do not use BP_SYM in weak_alias.
2362 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2363 (PARMS): Do not use macros from bp-asm.h.
2364 (S1): Likewise.
2365 (SIZE): Likewise.
2366 (__mpn_mul_1): Do not use BP_SYM.
2367 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2368 "bp-asm.h".
2369 (PARMS): Do not use macros from bp-asm.h.
2370 (STR): Likewise.
2371 (CHR): Likewise.
2372 (__rawmemchr): Do not use BP_SYM.
2373 (rawmemchr): Do not use BP_SYM in weak_alias.
2374 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2375 (PARMS): Do not use macros from bp-asm.h.
2376 (S): Likewise.
2377 (SIZE): Likewise.
2378 (__mpn_rshift): Do not use BP_SYM.
2379 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2380 (PARMS): Do not use macros from bp-asm.h.
2381 (SIGMSK): Likewise.
2382 (__sigsetjmp): Likewise. Do not use BP_SYM.
2383 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2384 (_start): Do not use BP_SYM.
2385 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2386 (PARMS): Do not use macros from bp-asm.h.
2387 (DEST): Likewise.
2388 (SRC): Likewise.
2389 (__stpcpy): Likewise. Do not use BP_SYM.
2390 (stpcpy): Do not use BP_SYM in weak_alias.
2391 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2392 "bp-asm.h".
2393 (PARMS): Do not use macros from bp-asm.h.
2394 (DEST): Likewise.
2395 (SRC): Likewise.
2396 (LEN): Likewise.
2397 (__stpncpy): Likewise. Do not use BP_SYM.
2398 (stpncpy): Do not use BP_SYM in weak_alias.
2399 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2400 (PARMS): Do not use macros from bp-asm.h.
2401 (STR): Likewise.
2402 (CHR): Likewise.
2403 (strchr): Likewise. Do not use BP_SYM.
2404 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2405 "bp-asm.h".
2406 (PARMS): Do not use macros from bp-asm.h.
2407 (STR): Likewise.
2408 (CHR): Likewise.
2409 (__strchrnul): Likewise. Do not use BP_SYM.
2410 (strchrnul): Do not use BP_SYM in weak_alias.
2411 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2412 "bp-asm.h".
2413 (PARMS): Do not use macros from bp-asm.h.
2414 (STOP): Likewise.
2415 (strcspn): Do not use BP_SYM.
2416 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2417 "bp-asm.h".
2418 (PARMS): Do not use macros from bp-asm.h.
2419 (STR): Likewise.
2420 (STOP): Likewise.
2421 (strpbrk): Likewise. Do not use BP_SYM.
2422 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2423 "bp-asm.h".
2424 (PARMS): Do not use macros from bp-asm.h.
2425 (STR): Likewise.
2426 (CHR): Likewise.
2427 (strrchr): Likewise. Do not use BP_SYM.
2428 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2429 (PARMS): Do not use macros from bp-asm.h.
2430 (SKIP): Likewise.
2431 (strspn): Do not use BP_SYM.
2432 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2433 (PARMS): Do not use macros from bp-asm.h.
2434 (STR): Likewise.
2435 (DELIM): Likewise.
2436 (SAVE): Likewise.
2437 (FUNCTION): Likewise. Do not use BP_SYM.
2438 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2439 aliases.
2440 (strtok_r): Likewise.
2441 (__GI___strtok_r): Likewise.
2442 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2443 (PARMS): Do not use macros from bp-asm.h.
2444 (S1): Likewise.
2445 (S2): Likewise.
2446 (SIZE): Likewise.
2447 (__mpn_sub_n): Do not use BP_SYM.
2448 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2449 "bp-asm.h".
2450 (PARMS): Do not use macros from bp-asm.h.
2451 (S1): Likewise.
2452 (SIZE): Likewise.
2453 (__mpn_submul_1): Do not use BP_SYM.
2454 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2455 <bp-sym.h>.
2456 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2457 and <bp-asm.h>.
2458 (PARMS): Do not use macros from bp-asm.h.
2459 (FLAGS): Likewise.
2460 (PTID): Likewise.
2461 (TLS): Likewise.
2462 (CTID): Likewise.
2463 (__clone): Do not use BP_SYM.
2464 (clone): Do not use BP_SYM in weak_alias.
2465 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2466 and <bp-asm.h>.
2467 (PARMS): Do not use macros from bp-asm.h.
2468 (LEN): Likewise.
2469 (__mmap64): Do not use BP_SYM.
2470 (mmap64): Do not use BP_SYM in weak_alias.
2471 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2472 <bp-sym.h> and <bp-asm.h>.
2473 (PARMS): Do not use macros from bp-asm.h.
2474 (__posix_fadvise64_l64): Do not use BP_SYM.
2475 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2476 (PARMS): Do not use macros from bp-asm.h.
2477 (NSOPS): Likewise.
2478 (semtimedop): Do not use BP_SYM.
2479 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2480 and <bp-asm.h>.
2481
582a3cff
AM
24822013-02-21 Allan McRae <allan@archlinux.org>
2483
2484 * manual/message.texi (Charset conversion in gettext):
2485 Move @end statement to beginning of line.
2486
bab8a695
SP
24872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2488
80945231
SP
2489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2490 static.
2491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2492 Likewise.
2493
bab8a695
SP
2494 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2495 (denorm): Likewise.
2496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2498
e21d7aa7
AK
24992013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2500
2501 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2502 tail-call to the resolved function if pltexit isn't needed.
2503
4c7a4263
SP
25042013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2505
2506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2507 or Y being zero as being unlikely.
2508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2509 Likewise.
2510
41f49342
CD
25112013-02-20 Carlos O'Donell <carlos@redhat.com>
2512
2513 * manual/nss.texi (System Databases and Name Service Switch):
2514 Remove frobnicate @pxref.
2515
50022a93
TS
25162013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2517
2518 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2519 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2520
08cbd996
PM
25212013-02-20 Petr Machata <pmachata@redhat.com>
2522
2523 * elf/elf.h (R_ARM_TARGET1): New macro.
2524 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2525 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2526 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2527 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2528 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2529 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2530 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2531 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2532 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2533 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2534 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2535 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2536 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2537 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2538 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2539 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2540 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2541 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2542 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2543 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2544 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2545 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2546 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2547 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2548 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2549 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2550 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2551 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2552 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2553 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2554 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2555 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2556 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2557 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2558 (R_ARM_THM_GOT_BREL12): Likewise.
2559 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2560 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2561 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2562 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2563 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2564 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2565 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2566 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2567 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2568
c7b275d6
TS
25692013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2570
2571 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2572 __attribute_used__ to __attribute__ ((unused)).
2573
20cd7fb3
SP
25742013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2575
2576 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2577 powerpc mpa.c.
2578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2579 comment formatting.
2580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2581
92945b52
JM
25822013-02-19 Joseph Myers <joseph@codesourcery.com>
2583
2584 [BZ #13550]
2585 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2586 Remove macro.
2587 (ENTER): Remove both macro definitions.
2588 (LEAVE): Likewise.
2589 (CHECK_BOUNDS_LOW): Likewise.
2590 (CHECK_BOUNDS_HIGH): Likewise.
2591 (CHECK_BOUNDS_BOTH): Likewise.
2592 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2593 (RETURN_BOUNDED_POINTER): Likewise.
2594 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2595 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2596 (POP_ERRNO_LOCATION_RETURN): Likewise.
2597 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2598 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2599 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2600 macros.
2601 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2602 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2603 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2604 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2605 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2606 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2607 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2608 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2609 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2610 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2611 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2612 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2613 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2614 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2615 removed macros.
2616 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2617 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2618 macros.
2619 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2620 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2621 * sysdeps/i386/i586/memset.S (memset): Likewise.
2622 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2623 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2624 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2625 macros.
2626 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2627 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2628 Change uses of L(2) to L(out).
2629 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2630 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2631 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2632 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2633 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2634 removed macros.
2635 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2636 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2637 macros.
2638 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2639 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2640 (RETURN): Do not use macro LEAVE.
2641 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2642 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2643 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2644 * sysdeps/i386/i686/memset.S (memset): Likewise.
2645 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2646 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2647 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2648 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2649 Likewise.
2650 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2651 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2652 L(1_2) and L(1_3) into L(1).
2653 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2654 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2655 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2656 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2657 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2658 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2659 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2660 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2661 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2662 macros.
2663 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2664 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2665 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2666 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2667 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2668 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2669 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2670 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2671 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2672 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2673 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2674 * sysdeps/i386/strspn.S (strspn): Likewise.
2675 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2676 conditional code.
2677 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2678 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2679 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2680 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2681 L(1_3) into L(1_1).
2682 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2683 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2684 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2685 macros.
2686 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2687
2389741a
JJ
26882013-02-19 Jakub Jelinek <jakub@redhat.com>
2689
2690 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2691 macro.
2692
2016b3cd
SP
26932013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2694
e4f22324
SP
2695 * math/atest-exp.c (exp_mpn): Remove ROUND.
2696 * math/atest-exp2.c (exp_mpn): Likewise.
2697 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2698
2016b3cd
SP
2699 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2700 * stdlib/tst-tls-atexit-lib.c: Likewise.
2701 * stdlib/tst-tls-atexit.c: Likewise.
2702
4be9b544
MF
27032013-02-18 Mike Frysinger <vapier@gentoo.org>
2704
2705 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2706 and __attribute_alloc_size__.
2707
2f62b9ee
MF
27082013-02-18 Mike Frysinger <vapier@gentoo.org>
2709
2710 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2711 __attribute_alloc_size__.
2712 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2713 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2714
6ff444c4
MF
27152013-02-18 Mike Frysinger <vapier@gentoo.org>
2716
2717 * include/programs/xmalloc.h: New file.
2718 * catgets/gencat.c: Include it.
2719 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2720 * elf/pldd.c: Likewise.
2721 * iconv/iconv_charmap.c: Likewise.
2722 * iconv/iconvconfig.c: Likewise.
2723 * iconv/strtab.c: Likewise.
2724 * locale/programs/locale.c: Likewise.
2725 * locale/programs/localedef.h: Likewise.
2726 * locale/programs/simple-hash.c: Likewise.
2727 * nscd/nscd.h: Likewise.
2728 * nss/makedb.c: Likewise.
2729 * sysdeps/generic/ldconfig.h: Likewise.
2730
be179c8a
SP
27312013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2732
ba384f6e
SP
2733 * Versions.def: Add GLIBC_2.18.
2734 * include/link.h (struct link_map): New member l_tls_dtor_count.
2735 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2736 (__call_tls_dtors): Likewise.
2737 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2738 __cxa_thread_atexit_impl.
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2740 Likewise.
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2742 Likewise.
2743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2744 Likewise.
2745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2746 Likewise.
2747 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2749 Likewise.
2750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2751 Likewise.
2752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2754 Likewise.
2755 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2756 (tests): Add test case tst-tls-atexit.
2757 (modules-names): Add shared library for tst-tls-atexit.
2758 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2759 (GLIBC_PRIVATE): Add __call_tls_dtors.
2760 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2761 for libstdc++.
2762 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2763 * stdlib/tst-tls-atexit.c: New test case.
2764 * stdlib/tst-tls-atexit-lib.c: New test case.
2765
ffaa74cf 2766 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2767
be179c8a
SP
2768 * elf/Versions (ld): Add _dl_find_dso_for_object.
2769 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2770 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2771 (dl_open_worker): Use _dl_find_dso_for_object.
2772 * elf/dl-sym.c (do_sym): Likewise.
2773 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2774
f78b5caa
AK
27752013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2776
2777 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2778 Syntactic changes only.
2779 (_dl_runtime_profile): Do a tail-call to the resolved function.
2780
29691210
JM
27812013-02-17 Joseph Myers <joseph@codesourcery.com>
2782
2783 [BZ #13550]
2784 * sysdeps/x86_64/bp-asm.h: Remove file.
2785 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2786 <bp-sym.h> and <bp-asm.h>.
2787 (__clone): Do not use BP_SYM.
2788 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2789 <bp-sym.h> and <bp-asm.h>.
2790 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2791 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2792 "bp-asm.h".
2793 (_setjmp): Do not use BP_SYM.
2794 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2795 "bp-asm.h".
2796 (setjmp): Do not use BP_SYM.
2797 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2798 libc_hidden_def.
2799 (mempcpy): Do not use BP_SYM in weak_alias.
2800 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2801 "bp-asm.h".
2802 (strchr): Do not use BP_SYM.
2803 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2804 "bp-asm.h".
2805 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2806 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2807 (_start): Do not use BP_SYM.
2808 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2809 "bp-asm.h".
2810 (strcat): Do not use BP_SYM.
2811 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2812 "bp-asm.h".
2813 (STRCMP): Do not use BP_SYM.
2814 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2815 "bp-asm.h".
2816 (STRCPY): Do not use BP_SYM.
2817 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2818 "bp-asm.h".
2819 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2820 "bp-asm.h".
2821 (FUNCTION): Do not use BP_SYM.
2822 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2823 weak_alias.
2824 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2825
f238fd19
AJ
28262013-02-17 Andreas Jaeger <aj@suse.de>
2827
2828 * time/Versions: Sort entries.
2829 * string/Versions: Likewise.
2830 * resolv/Versions: Likewise.
2831 * posix/Versions: Likewise.
2832 * iconv/Versions: Likewise.
2833 * elf/Versions: Likewise.
2834 * wcsmbs/Versions: Likewise.
2835
bd07f23c 28362013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2837
22af19f9
SP
2838 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2839 loop termination condition.
2840
4709fe76
SP
2841 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2842 variable to calculate EZ.
2843 (__sqr): Likewise.
2d0e0f29
SP
2844
2845 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2846 the lower precision input.
2847
daaa7713
JM
28482013-02-15 Joseph Myers <joseph@codesourcery.com>
2849
2850 [BZ #13550]
2851 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2852 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2853 (run-via-rtld-prefix): Do not handle %-bp tests.
2854 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2855 (all-object-suffixes): Remove .ob.
2856 (bppfx): Remove variable.
2857 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2858 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2859 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2860 [$(build-bounded) = yes] (libtype.ob): Likewise.
2861 * Makerules (elide-routines.ob): Remove variable.
2862 (do-tests-clean): Do not handle *-bp.out.
2863 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2864 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2865 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2866 (tests): Do not include $(tests-bp.out).
2867 (xtests): Do not include $(xtests-bp.out).
2868 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2869 [$(build-bounded) = yes] ($(addprefix
2870 $(objpfx),$(binaries-bounded))): Remove rule.
2871 ($(objpfx)%-bp.out): Remove rule.
2872 * config.make.in (build-bounded): Remove variable.
2873 * crypt/Makefile [$(build-bounded) = yes]
2874 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2875 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2876 append to variable.
2877 [$(build-bounded) = yes] (install-lib): Likewise.
2878 [$(build-bounded) = yes] (generated): Likewise.
2879 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2880 Remove rule.
2881 * intl/Makefile [$(build-bounded) = yes]
2882 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2883 * math/Makefile [$(build-bounded) = yes]
2884 ($(tests:%=$(objpfx)%-bp): Likewise.
2885 * misc/Makefile [$(build-bounded) = yes]
2886 ($(objpfx)tst-tsearch-bp): Likewise.
2887 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2888 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2889 Remove dependency.
2890 * string/Makefile (o-objects.ob): Remove variable.
2891 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2892 (CFLAGS-.ob): Remove variable.
2893 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2894 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2895 both definitions of variable.
2896 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2897 (ASFLAGS-.ob): Remove variable.
2898
e97ed6dd
JM
28992013-02-14 Joseph Myers <joseph@codesourcery.com>
2900
2bdd4ca6
JM
2901 [BZ #13550]
2902 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2903 Remove __BOUNDED_POINTERS__ from condition.
2904 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2905 * string/bits/string2.h [!__NO_STRING_INLINES &&
2906 !__BOUNDED_POINTERS__]: Likewise.
2907 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2908 Likewise.
2909 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2910 Remove conditional code.
2911 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2912 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2913 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2914 condition.
2915
e97ed6dd
JM
2916 [BZ #13550]
2917 * csu/libc-start.c: Do not include <bp-sym.h>.
2918 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2919 * elf/dl-open.c: Do not include <bp-sym.h>.
2920 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2921 * math/fegetenv.c: Do not include <bp-sym.h>.
2922 (fegetenv): Do not use BP_SYM in versioned symbols.
2923 * nptl/sysdeps/pthread/bits/libc-lockP.h
2924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2925 <bp-sym.h>.
2926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2927 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2929 (__pthread_mutex_destroy): Likewise.
2930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2931 (__pthread_mutex_lock): Likewise.
2932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2933 (__pthread_mutex_trylock): Likewise.
2934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2935 (__pthread_mutex_unlock): Likewise.
2936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2937 (__pthread_mutexattr_init): Likewise.
2938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2939 (__pthread_mutexattr_destroy): Likewise.
2940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2941 (__pthread_mutexattr_settype): Likewise.
2942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2943 (__pthread_rwlock_init): Likewise.
2944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2945 (__pthread_rwlock_destroy): Likewise.
2946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2947 (__pthread_rwlock_rdlock): Likewise.
2948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2949 (__pthread_rwlock_tryrdlock): Likewise.
2950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2951 (__pthread_rwlock_wrlock): Likewise.
2952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2953 (__pthread_rwlock_trywrlock): Likewise.
2954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2955 (__pthread_rwlock_unlock): Likewise.
2956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2957 (__pthread_key_create): Likewise.
2958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2959 (__pthread_setspecific): Likewise.
2960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2961 (__pthread_getspecific): Likewise.
2962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2963 Likewise.
2964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2965 (_pthread_cleanup_push_defer): Likewise.
2966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2967 (_pthread_cleanup_pop_restore): Likewise.
2968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2969 (pthread_setcancelstate): Likewise.
2970 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2971 <bp-sym.h>.
2972 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2973 (memchr): Do not use BP_SYM in weak_alias.
2974 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2975 (fegetenv): Do not use BP_SYM in versioned symbols.
2976 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2977 (fesetenv): Do not use BP_SYM in versioned symbols.
2978 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2979 (feupdateenv): Do not use BP_SYM in versioned symbols.
2980 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2981 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2982 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2983 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2984 (open64): Do not use BP_SYM in weak_alias.
2985 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2986 (fegetenv): Do not use BP_SYM in versioned symbols.
2987 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2988 (fesetenv): Do not use BP_SYM in versioned symbols.
2989 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2990 (feupdateenv): Do not use BP_SYM in versioned symbols.
2991 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2992 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2993 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2994 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2995 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2996 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2997 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2998 <bp-sym.h>.
2999 (__libc_start_main): Do not use BP_SYM.
3000
d6752ccd
SP
30012013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3002
cb57ce60
SP
3003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3004 redundant return line.
3005 (norm): Likewise.
3006 (denorm): Likewise.
3007 (dbl_mp): Likewise.
3008 (sub_magnitudes): Likewise.
3009 (__add): Likewise.
3010 (__sub): Likewise.
3011 (__mul): Likewise.
3012 (__inv): Likewise.
3013 (__dvd): Likewise.
3014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3015 (norm): Likewise.
3016 (denorm): Likewise.
3017 (dbl_mp): Likewise.
3018 (sub_magnitudes): Likewise.
3019 (__add): Likewise.
3020 (__sub): Likewise.
3021 (__mul): Likewise.
3022 (__inv): Likewise.
3023 (__dvd): Likewise.
3024
f414520d
SP
3025 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3026 instead of __mul.
3027 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3028 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3029 (cc32): Likewise.
3030
d6752ccd
SP
3031 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3032 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3033 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3034 of __mul for squares.
3035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3036 function
3037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3038 Likewise.
3039 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3040 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3041
70d9946a
JM
30422013-02-13 Joseph Myers <joseph@codesourcery.com>
3043
3044 [BZ #13550]
3045 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3046 code.
3047 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3048 prototype or function definition. Rename ubp_* variables and
3049 parameters. Remove argv definitions conditional on
3050 [__BOUNDED_POINTERS__].
3051 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3052 * elf/dl-runtime.c (_dl_fixup): Likewise.
3053 * include/set-hooks.h (RUN_HOOK): Likewise.
3054 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3055 definition.
3056 * string/strcpy.c (strcpy): Do not use __unbounded.
3057 * sysdeps/generic/frame.h (struct layout): Likewise.
3058 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3059 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3060 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3061 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3062 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3063 (__backtrace): Likewise.
3064 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3065 use __ptrvalue.
3066 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3067 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3068 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3069 Likewise.
3070 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3071 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3072 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3073 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3074 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3075 Do not use __unbounded.
3076 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3077 Rename __unboundedrlimits parameter to rlimits in prototype.
3078 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3079 Do not use __unbounded.
3080 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3081 not use __ptrvalue.
3082 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3083 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3084 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3085 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3086 __ptrvalue or __unbounded.
3087 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3088 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3089 use __unbounded.
3090 (__new_msgctl): Do not use __ptrvalue.
3091 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3092 __unbounded.
3093 (__libc_msgrcv): Do not use __ptrvalue.
3094 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3095 startup_info): Do not use __unbounded.
3096 (__libc_start_main): Likewise. Rename ubp_* variables and
3097 parameters. Remove argv definitions conditional on
3098 [__BOUNDED_POINTERS__].
3099 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3100 __ptrvalue.
3101 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3102 use __unbounded.
3103 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3104 or __ptrvalue.
3105 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3106 use __unbounded.
3107 (__new_shmctl): Do not use __ptrvalue.
3108 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3109 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3110 Likewise.
3111 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3112 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3113 (__libc_sigaction): Likewise.
3114 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3115 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3116 Likewise.
3117 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3118
cc7834d6
OB
31192013-02-13 Ondřej Bílka <neleai@seznam.cz>
3120
ffb1ec7b 3121 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3122
3123 * string/mempcpy.c: Implement by calling memcpy.
3124
bdf02814
SP
31252013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3126
c2af38aa
SP
3127 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3128
4e92d59e
SP
3129 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3130 evaluation.
3131
909279a5
SP
3132 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3133 values in the mantissa.
3134
bdf02814
SP
3135 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3136 minimize writes to Z.
3137 (sub_magnitudes): Simplify code a bit.
3138
cd525923
RM
31392013-02-12 Roland McGrath <roland@hack.frob.com>
3140
3141 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3142 from the message. The linker prefixes all warnings with that already.
3143
7e2f0d2d
AS
31442013-02-12 Andreas Schwab <schwab@suse.de>
3145
a445af0b
AS
3146 [BZ #15078]
3147 * posix/regexec.c (extend_buffers): Add parameter min_len.
3148 (check_matching): Pass minimum needed length.
3149 (clean_state_log_if_needed): Likewise.
3150 (get_subexp): Likewise.
3151 * posix/Makefile (tests): Add bug-regex34.
3152 (bug-regex34-ENV): Define.
3153 * posix/bug-regex34.c: New file.
3154
7e2f0d2d
AS
3155 [BZ #11561]
3156 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3157 elements compare against the byte sequence of it, not its name.
3158 * posix/Makefile (tests): Add bug-regex35.
3159 (bug-regex35-ENV): Define.
3160 * posix/bug-regex35.c: New file.
3161
a175b684
TV
31622013-02-11 Tom de Vries <tom@codesourcery.com>
3163
3164 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3165 comment.
3166 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3167 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3168 (CHECK_EOL): Add undef.
3169
310998fe 31702013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3171
3172 * bits/stdlib-bsearch.h: New file.
3173 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3174 * stdlib/stdlib.h: Likewise.
41eda41d 3175
8ded91fb
RM
31762013-02-11 Roland McGrath <roland@hack.frob.com>
3177
3178 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3179 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3180 declaration.
3181 * manual/search.texi (Array Search Function): Add missing const in
3182 lfind prototype.
3183 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3184 declaration to use rlim_t.
3185 (Basic Scheduling Functions): Remove erroneous const from
3186 sched_getparam prototype. Remove erroneous * from
3187 sched_get_priority_max and sched_get_priority_min prototypes.
3188 (Resource Usage): Fix summary @comment on vtimes to refer to
3189 sys/vtimes.h rather than vtimes.h.
3190 Add missing *s in vtimes prototype.
3191 (Limits on Resources): Fix ulimit prototype to return long int.
3192 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3193 prototypes to use long int rather than double.
3194 (BSD Random): Fix initstate and setstate to use char *, not void *.
3195 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3196 prototype to make second argument 'struct aiocb64 *const[]'.
3197 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3198 (Status of AIO Operations): Remove erroneous const in aio_return and
3199 aio_return64 prototypes.
3200 (Synchronizing I/O): Fix sync prototype to return void.
3201 * manual/startup.texi (Suboptions): Remove an erroneous const in
3202 getsubopt prototype.
3203 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3204 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3205 use size_t rather than int.
3206 (Scanning All Users): Likewise for getpwent_r.
3207 (Setting Groups): Add missing const to setgroups prototype.
3208 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3209 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3210 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3211 'const void *' rather than 'const char *'.
3212 (Host Address Functions): Likewise for inet_ntop.
3213 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3214 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3215 ssize_t for return value.
3216 (Sending Data): Likewise for send, sendto, sendmsg.
3217 (Socket Option Functions): Add a missing const in setsockopt prototype.
3218 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3219 use wchar_t for the argument.
3220 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3221 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3222 take no arguments.
3223 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3224 double/float/long double for second argument.
3225 Fix return types of significand, significandf, significandl.
3226 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3227 argument in fchmod prototype.
3228 (File Owner): Use uid_t and gid_t in fchown prototype.
3229 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3230 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3231 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3232 use 'const struct dirent **' as argument types to CMP function pointer
3233 argument.
3234 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3235 (File Times): Fix summary magic @comment for struct utimbuf and utime
3236 to refer to utime.h, not time.h.
3237 * manual/string.texi (Argz Functions): Add missing const in
3238 argz_extract and argz_next prototypes.
3239 (Finding Tokens in a String): Likewise for basename.
3240 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3241 (Copying and Concatenation): Fix typo in wmemmove prototype.
3242 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3243 (Signal Stack): Remove erroneous const in sigstack prototype.
3244 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3245 prototype.
3246 (Simple Calendar Time): Likewise for stime.
3247 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3248 prototype.
3249 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3250 say sys/sysctl.h instead.
3251 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3252 and vsyslog prototypes.
3253
fe77fe6d
TV
32542013-02-11 Tom de Vries <tom@codesourcery.com>
3255
3256 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3257 Remove.
3258
3a09b620
RM
32592013-02-11 Roland McGrath <roland@hack.frob.com>
3260
3261 * misc/sys/mman.h: Fix typo in mremap comment.
3262
550a0b89
RM
32632013-02-08 Roland McGrath <roland@hack.frob.com>
3264
3265 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3266 the '\0' terminator.
3267
a2da1673
JM
32682013-02-08 Joseph Myers <joseph@codesourcery.com>
3269
3270 [BZ #13550]
3271 * debug/segfault.c: Don't include <bp-checks.h>.
3272 * sysdeps/generic/bp-checks.h: Remove file.
3273 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3274 (__GETDENTS): Don't use CHECK_N.
3275 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3276 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3277 (__getgroups): Don't use CHECK_N.
3278 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3279 (setgroups): Don't use CHECK_N.
3280 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3281 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3282 (__libc_msgrcv): Don't use CHECK_N.
3283 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3284 (__libc_msgsnd): Don't use CHECK_N.
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3286 <bp-checks.h>.
3287 (__libc_pread): Don't use CHECK_N.
3288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3289 include <bp-checks.h>.
3290 (__libc_pread64): Don't use CHECK_N.
3291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3292 include <bp-checks.h>.
3293 (__libc_pwrite): Don't use CHECK_N.
3294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3295 include <bp-checks.h>.
3296 (__libc_pwrite64): Don't use CHECK_N.
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3298 <bp-checks.h>.
3299 (__libc_pread): Don't use CHECK_N.
3300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3301 include <bp-checks.h>.
3302 (__libc_pread64): Don't use CHECK_N.
3303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3304 include <bp-checks.h>.
3305 (__libc_pwrite): Don't use CHECK_N.
3306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3307 include <bp-checks.h>.
3308 (__libc_pwrite64): Don't use CHECK_N.
3309 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3310 (do_pread): Don't use CHECK_N.
3311 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3312 (do_pread64): Don't use CHECK_N.
3313 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3314 (do_pwrite): Don't use CHECK_N.
3315 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3316 (do_pwrite64): Don't use CHECK_N.
3317 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3318 (__libc_readv): Don't use CHECK_N.
3319 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3320 (semop): Don't use CHECK_N.
3321 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3322 <bp-checks.h>.
3323 (semtimedop): Don't use CHECK_N.
3324 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3325 (__libc_pread): Don't use CHECK_N.
3326 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3327 <bp-checks.h>.
3328 (__libc_pread64): Don't use CHECK_N.
3329 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3330 <bp-checks.h>.
3331 (__libc_pwrite): Don't use CHECK_N.
3332 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3333 <bp-checks.h>.
3334 (__libc_pwrite64): Don't use CHECK_N.
3335 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3336 <bp-checks.h>.
3337 (__libc_msgrcv): Don't use CHECK_N.
3338 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3339 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3340 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3341 (__libc_writev): Don't use CHECK_N.
3342
b84660a8
RM
33432013-02-08 Roland McGrath <roland@hack.frob.com>
3344
7f3e75f8
RM
3345 * string/strcpy.c: Removed unused variable.
3346
b84660a8
RM
3347 * Makeconfig (+sysdep-includes): Define with := rather than =.
3348 Use an existing include/ subdir of each sysdeps dir before it.
3349
471514d3
CD
33502013-02-08 Carlos O'Donell <carlos@redhat.com>
3351
3352 * nscd/connection.c (register_traced_file): Comment function.
3353 [HAVE_INOTIFY] (union __inev): Define.
3354 [HAVE_INOTIFY] (inotify_check_files): New function.
3355 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3356 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3357 clear_db_cache.
3358 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3359
b2d3c3be
CD
33602013-02-08 Carlos O'Donell <carlos@redhat.com>
3361
3362 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3363 loaded if not already and that a failure is permanent.
3364
b39949d2
CD
33652013-02-08 Carlos O'Donell <carlos@redhat.com>
3366
ddacd1db 3367 [BZ #15006]
b39949d2
CD
3368 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3369 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3370
b2c9eff4
JM
33712013-02-08 Joseph Myers <joseph@codesourcery.com>
3372
f3aae3f3
JM
3373 [BZ #13550]
3374 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3375 (CHECK_1_NULL_OK): Likewise.
3376 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3377 (__fxstat): Do not use CHECK_1.
3378 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3379 <bp-checks.h>.
3380 (___fxstat64): Do not use CHECK_1.
3381 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3382 <bp-checks.h>.
3383 (__fxstatat): Do not use CHECK_1.
3384 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3385 <bp-checks.h>.
3386 (__fxstatat64): Do not use CHECK_1.
3387 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3388 <bp-checks.h>.
3389 (__fxstat): Do not use CHECK_1.
3390 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3391 <bp-checks.h>.
3392 (__fxstatat): Do not use CHECK_1.
3393 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3394 <bp-checks.h>.
3395 (__getresgid): Do not use CHECK_1.
3396 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3397 <bp-checks.h>.
3398 (__getresuid): Do not use CHECK_1.
3399 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3400 <bp-checks.h>.
3401 (__lxstat): Do not use CHECK_1.
3402 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3403 <bp-checks.h>.
3404 (__old_msgctl): Do not use CHECK_1.
3405 (__new_msgctl): Likewise.
3406 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3407 <bp-checks.h>.
3408 (__new_setrlimit): Do not use CHECK_1.
3409 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3410 <bp-checks.h>.
3411 (__old_shmctl): Do not use CHECK_1.
3412 (__new_shmctl): Likewise.
3413 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3414 <bp-checks.h>.
3415 (__xstat): Do not use CHECK_1.
3416 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3417 (__lxstat): Do not use CHECK_1.
3418 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3419 <bp-checks.h>.
3420 (___lxstat64): Do not use CHECK_1.
3421 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3422 (__old_msgctl): Do not use CHECK_1.
3423 (__new_msgctl): Likewise.
3424 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3425 <bp-checks.h>.
3426 (__gettimeofday): Do not use CHECK_1.
3427 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3428 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3429 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3430 <bp-checks.h>.
3431 (__gettimeofday): Do not use CHECK_1.
3432 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3433 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3434 (__new_shmctl): Do not use CHECK_1.
3435 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3436 <bp-checks.h>.
3437 (do_sigtimedwait): Do not use CHECK_1.
3438 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3439 <bp-checks.h>.
3440 (do_sigwaitinfo): Do not use CHECK_1.
3441 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3442 <bp-checks.h>.
3443 (msgctl): Do not use CHECK_1.
3444 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3445 <bp-checks.h>.
3446 (shmctl): Do not use CHECK_1.
3447 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3448 (ustat): Do not use CHECK_1.
3449 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3450 <bp-checks.h>.
3451 (__fxstat): Do not use CHECK_1.
3452 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3453 <bp-checks.h>.
3454 (__fxstatat): Do not use CHECK_1.
3455 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3456 <bp-checks.h>.
3457 (__lxstat): Do not use CHECK_1.
3458 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3459 <bp-checks.h>.
3460 (__xstat): Do not use CHECK_1.
3461 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3462 (__xstat): Do not use CHECK_1.
3463 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3464 (___xstat64): Do not use CHECK_1.
3465
b2c9eff4
JM
3466 [BZ #13550]
3467 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3468 definitions.
3469 (CHECK_BOUNDS_HIGH): Likewise.
3470 * string/strcpy.c: Do not include <bp-checks.h>.
3471 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3472
f1d70dad
RM
34732013-02-07 Roland McGrath <roland@hack.frob.com>
3474
3475 * nscd/nscd-client.h (__nscd_drop_map_ref):
3476 Add __attribute__ ((unused)).
3477 * nis/nss-nisplus.h (niserr2nss): Likewise.
3478
3479 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3480 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3481
3482 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3483 Remove inline keyword.
3484 * include/rounding-mode.h (round_away): Likewise.
3485 * libio/wfileops.c (adjust_wide_data): Likewise.
3486 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3487 (__m128i_strloadu_tolower): Likewise.
3488 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3489 (__m128i_strloadu_tolower): Likewise.
3490 * time/mktime.c (ydhms_diff): Likewise.
3491 * locale/elem-hash.h (elem_hash): Likewise.
3492 * locale/setlocale.c (setdata): Likewise.
3493 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3494 (re_string_wchar_at): Likewise.
3495 (bitset_not, bitset_merge, bitset_mask): Likewise.
3496 [!(__GNUC__ > 3)] (inline): Remove macro.
3497 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3498 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3499 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3500 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3501 * string/memcmp.c (memcmp_bytes): Likewise.
3502 * locale/programs/locarchive.c (compute_hashval): Likewise.
3503 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3504 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3505 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3506 * nss/getent.c (print_rpc, print_protocols): Likewise.
3507 (print_passwd, print_group, print_aliases): Likewise.
3508 * nis/nss-nisplus.h (niserr2nss): Likewise.
3509 * nscd/connections.c (restart_p): Likewise.
3510 Change return type to bool.
3511
eab55bfb
RM
35122013-02-05 Roland McGrath <roland@hack.frob.com>
3513
7bd642f5
RM
3514 * Makeconfig (all-Depend-files): Add existing
3515 $(sorted-subdirs:=/Depend) files.
3516 (all-subdirs): Remove nss.
3517 * sysdeps/unix/inet/Subdirs: Add it here instead.
3518 * hesiod/Depend: New file.
3519
573c29b2
RM
3520 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3521 instead of calling alloca.
3522
b2e25af0
RM
3523 * io/lseek.c (__lseek): Rename to __libc_lseek.
3524 Define __lseek as an alias.
3525
eab55bfb
RM
3526 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3527
9a0d1941
CD
35282013-02-04 Carlos O'Donell <carlos@redhat.com>
3529
3530 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3531 else clause and remove check for non-standard endianness.
3532
b83bbec4
DM
35332013-02-04 David S. Miller <davem@davemloft.net>
3534
3535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3536
6277fdab
JM
35372013-02-04 Joseph Myers <joseph@codesourcery.com>
3538
3539 [BZ #13550]
3540 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3541 (__ubp_memchr): Remove prototype.
3542 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3543 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3544 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3545 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3546 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3547 Remove alias.
3548 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3549 (__ubp_memchr): Likewise.
3550 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3551 (__ubp_memchr): Likewise.
3552 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3553 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3554 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3555 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3556 CHECK_STRING.
3557 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3558 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3559 (__getcwd): Do not use CHECK_STRING.
3560 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3561 <bp-checks.h>.
3562 (__real_chown): Do not use CHECK_STRING.
3563 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3564 <bp-checks.h>.
3565 (fchownat): Do not use CHECK_STRING.
3566 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3567 CHECK_STRING.
3568 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3569 <bp-checks.h>.
3570 (__lchown): Do not use CHECK_STRING.
3571 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3572 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3573 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3574 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3576 include <bp-checks.h>.
3577 (truncate64): Do not use CHECK_STRING.
3578 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3579 <bp-checks.h>.
3580 (__real_chown): Do not use CHECK_STRING.
3581 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3582 <bp-checks.h>.
3583 (__lchown): Do not use CHECK_STRING.
3584 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3585 <bp-checks.h>.
3586 (__chown): Do not use CHECK_STRING.
3587 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3588 <bp-checks.h>.
3589 (truncate64): Do not use CHECK_STRING.
3590 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3591 Likewise.
3592 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3593 (__xmknod): Do not use CHECK_STRING.
3594 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3595 <bp-checks.h>.
3596 (__xmknodat): Do not use CHECK_STRING.
3597 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3598 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3599
903ae060
AS
36002013-02-04 Andreas Schwab <schwab@suse.de>
3601
3602 [BZ #14142]
3603 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3604 * include/netdb.h: Likewise for h_errno.
3605 * elf/tst-stackguard1.c: Include <tls.h>.
3606
542f9466
JK
36072013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3608
3609 * elf/link.h (struct link_map): Extend the l_addr comment.
3610 * include/link.h (struct link_map): Likewise.
3611
e782a927
JM
36122013-02-01 Joseph Myers <joseph@codesourcery.com>
3613
3614 [BZ #13550]
3615 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3616 (BOUNDED_1): Remove macro.
3617 * debug/backtrace.c: Don't include <bp-checks.h>.
3618 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3619 (__backtrace): Likewise.
3620 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3621 <bp-checks.h>.
3622 (__backtrace): Don't use BOUNDED_1.
3623 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3624 <bp-checks.h>.
3625 (__backtrace): Don't use BOUNDED_1.
3626 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3627 (__backtrace): Don't use BOUNDED_1.
3628 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3629 (shmat): Don't use BOUNDED_N.
3630
8cf28c5e
JM
36312013-01-31 Joseph Myers <joseph@codesourcery.com>
3632
3a7ac8a0
JM
3633 [BZ #13550]
3634 * sysdeps/generic/bp-start.h: Remove file.
3635 * csu/libc-start.c: Don't include <bp-start.h>.
3636 (LIBC_START_MAIN): Set up __environ directly instead of using
3637 INIT_ARGV_and_ENVIRON.
3638 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3639 <bp-start.h>.
3640
f3499f95
JM
3641 [BZ #13550]
3642 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3643 definitions.
3644 (CHECK_FCNTL): Likewise.
3645 (CHECK_N_PAGES): Likewise.
3646
32a45bea
JM
3647 [BZ #13550]
3648 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3649 definitions.
3650 (CHECK_SIGSET_NULL_OK): Likewise.
3651 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3652 <bp-checks.h>.
3653 (sigpending): Don't use CHECK_SIGSET.
3654 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3655 <bp-checks.h>.
3656 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3657 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3658 <bp-checks.h>.
3659 (do_sigsuspend): Don't use CHECK_SIGSET.
3660 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3661 use CHECK_SIGSET.
3662 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3663 (do_sigwait): Don't use CHECK_SIGSET.
3664 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3665 use CHECK_SIGSET.
3666 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3667 include <bp-checks.h>.
3668 (sigpending): Don't use CHECK_SIGSET.
3669 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3670 include <bp-checks.h>.
3671 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3672 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3673 <bp-checks.h>.
3674 (sigpending): Don't use CHECK_SIGSET.
3675 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3676 <bp-checks.h>.
3677 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3678
2e8a5c8c
JM
3679 [BZ #13550]
3680 * sysdeps/generic/bp-semctl.h: Remove file.
3681 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3682 <bp-checks.h> and <bp-semctl.h>.
3683 (__old_semctl): Don't use CHECK_SEMCTL.
3684 (__new_semctl): Likewise.
3685 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3686 and <bp-semctl.h>.
3687 (__old_semctl): Don't use CHECK_SEMCTL.
3688 (__new_semctl): Likewise.
3689 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3690 <bp-checks.h> and <bp-semctl.h>.
3691 (__old_semctl): Don't use CHECK_SEMCTL.
3692 (__new_semctl): Likewise.
3693 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3694 <bp-checks.h> and <bp-semctl.h>.
3695 (semctl): Don't use CHECK_SEMCTL.
3696
c2d54929
JM
3697 [BZ #13550]
3698 * Makerules (elide-bp-thunks): Remove variable.
3699 (elide-routines.oS): Don't use $(elide-bp-thunks).
3700 (elide-routines.os): Likewise.
3701 (elide-routines.o): Likewise.
3702 (elide-routines.op): Likewise.
3703 (elide-routines.og): Likewise.
3704 (objects): Don't use $(bp-thunks).
3705 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3706 include.
3707 (common-generated): Do not add s-proto-bp.d.
3708 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3709 (int): Likewise.
3710 (typ): Likewise.
3711 Do not generate makefile rules for bounded-pointer thunks.
3712 * sysdeps/generic/bp-thunks.h: Remove file.
3713 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3714 * sysdeps/unix/s-proto-bp.S: Likewise.
3715
8cf28c5e
JM
3716 [BZ #15062]
3717 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3718 parts of result separately when argument is not close to line from
3719 -i to i and one part of argument is small.
3720 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3721 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3722 * math/libm-test.inc (cacos_test): Add more tests.
3723 (casin_test): Likewise.
3724 (casinh_test): Likewise.
3725 * sysdeps/i386/fpu/libm-test-ulps: Update.
3726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3727
c4e33b8d
DM
37282013-01-31 David S. Miller <davem@davemloft.net>
3729
3730 * po/de.po: Update from translation team.
3731
3b60b421
MK
37322013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3733
3734 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3735
bb931195
TS
37362013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3737
b5a5da23
TS
3738 * configure.in (_AC_PROG_CC_C89): New definition.
3739 * configure: Regenerate.
3740
bb931195
TS
3741 * configure.in (AC_PROG_CPP): New definition.
3742 * configure: Regenerate.
3743
8c53a12c
JM
37442013-01-23 Joseph Myers <joseph@codesourcery.com>
3745
3746 * debug/tst-backtrace.h: New file.
3747 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3748 (ret): Remove variable.
3749 (x): Likewise.
3750 (FAIL): Remove macro.
3751 (NO_INLINE): Likewise.
3752 (fn1): Use match function instead of strstr.
3753 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3754 (ret): Remove variable.
3755 (x): Likewise.
3756 (FAIL): Remove macro.
3757 (NO_INLINE): Likewise.
3758 (fn): Use match function instead of strstr.
3759 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3760 (ret): Remove variable.
3761 (x): Likewise.
3762 (FAIL): Remove macro.
3763 (NO_INLINE): Likewise.
3764 (handle_signal): Use match function instead of strstr.
3765 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3766 (ret): Remove variable.
3767 (x): Likewise.
3768 (FAIL): Remove macro.
3769 (NO_INLINE): Likewise.
3770 (handle_signal): Use match function instead of strstr.
3771
4858fa2a
RM
37722013-01-23 Roland McGrath <roland@hack.frob.com>
3773
3774 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3775
bae8e7f5
DM
37762013-01-23 David S. Miller <davem@davemloft.net>
3777
3778 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3779 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3780 argument of CAS if possible.
3781 * sysdeps/sparc/sparc64/bits/atomic.h
3782 (__arch_compare_and_exchange_val_32_acq): Likewise.
3783 (__arch_compare_and_exchange_val_64_acq): Likewise.
3784
9cbbc4ae
PT
37852013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3786
3787 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3788 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3789 Include <limits.h>.
67b3f58c 3790 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3791
5655a0b5
AC
37922013-01-23 Adam Conrad <adconrad@0c3.net>
3793
3794 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3795 (LDFLAGS-tst-array5): Likewise.
3796
052aff95
JM
37972013-01-23 Joseph Myers <joseph@codesourcery.com>
3798
3799 [BZ #15036]
3800 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3801 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3802 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3803 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3804
7c1e01aa
DM
38052013-01-21 David S. Miller <davem@davemloft.net>
3806
3807 * sysdeps/sparc/backtrace.c: New file.
3808 * sysdeps/sparc/sparc32/backtrace.h: New file.
3809 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3810 * sysdeps/sparc/sparc64/backtrace.h: New file.
3811 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3812 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3813 -funwind-tables.
3814
ab087e0a
AS
38152013-01-21 Andreas Schwab <schwab@suse.de>
3816
3817 [BZ #15020]
3818 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3819 closed its stdout.
3820
ed689c2f
AS
38212013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3822
3823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3824 "mpa2.h".
3825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3826
31d470ac
JM
38272013-01-18 Joseph Myers <joseph@codesourcery.com>
3828 Mark Mitchell <mark@codesourcery.com>
3829 Tom de Vries <tom@codesourcery.com>
3830 Paul Pluzhnikov <ppluzhnikov@google.com>
3831
3832 * debug/tst-backtrace2.c: New file.
3833 * debug/tst-backtrace3.c: Likewise.
3834 * debug/tst-backtrace4.c: Likewise.
3835 * debug/tst-backtrace5.c: Likewise.
3836 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3837 (CFLAGS-tst-backtrace3.c): Likewise.
3838 (CFLAGS-tst-backtrace4.c): Likewise.
3839 (CFLAGS-tst-backtrace5.c): Likewise.
3840 (LDFLAGS-tst-backtrace2): Likewise.
3841 (LDFLAGS-tst-backtrace3): Likewise.
3842 (LDFLAGS-tst-backtrace4): Likewise.
3843 (LDFLAGS-tst-backtrace5): Likewise.
3844 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3845 tst-backtrace4 and tst-backtrace5.
3846
90567f30 38472013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3848 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3849
3850 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3851 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3852 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3853 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3855 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3856 "+r" and remove output regs list as redundant. Add explicit inline
3857 asm to specify register of return val to work around compiler codegen
3858 bug. Remove (int) cast on return value. Add return type parameter to
3859 use in macro so that this macro does not truncate return value for
3860 64-bit values.
3861 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3862 pass to INTERNAL_VSYSCALL_NCS.
3863 (INLINE_VSYSCALL): Add 'long int' as return type to
3864 INTERNAL_VSYSCALL_NCS macro invocation.
3865 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3866 INTERNAL_VSYSCALL_NCS macro invocation.
3867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3868
d3b9ea61
SP
38692013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3870
0b57daeb
SP
3871 [BZ #14496]
3872 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3873 Fix application of SIMD FP exception mask.
3874
caa99d06
SP
3875 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3876 mp_no from a power of two.
3877 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3878 __mpexp_twomm1. Use __pow_mp.
3879
d3b9ea61
SP
3880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3881 multiplication.
3882
1dbaee3c
DM
38832013-01-17 David S. Miller <davem@davemloft.net>
3884
3885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3886
728d7b43
JM
38872013-01-17 Joseph Myers <joseph@codesourcery.com>
3888
3889 [BZ #15023]
3890 * include/complex.h: Condition contents on [!_COMPLEX_H].
3891 (__kernel_casinhf): New prototype.
3892 (__kernel_casinh): Likewise.
3893 (__kernel_casinhl): Likewise.
3894 * math/Makefile (libm_calls): Add k_casinh.
3895 * math/k_casinh.c: New file.
3896 * math/k_casinhf.c: Likewise.
3897 * math/k_casinhl.c: Likewise.
3898 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3899 finite nonzero arguments.
3900 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3901 finite nonzero arguments.
3902 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3903 finite nonzero arguments.
3904 * math/s_casinh.c: Do not include <float.h>.
3905 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3906 * math/s_casinhf.c: Do not include <float.h>.
3907 (__casinhf): Move code for finite nonzero arguments to
3908 k_casinhf.c.
3909 * math/s_casinhl.c: Do not include <float.h>.
3910 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3911 redefine.
3912 (__casinhl): Move code for finite nonzero arguments to
3913 k_casinhl.c.
3914 * math/libm-test.inc (cacos_test): Add more tests.
3915 * sysdeps/i386/fpu/libm-test-ulps: Update.
3916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3917
2a26ef3a
PT
39182013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3919
3920 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3921 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3922 [!HAVE_MREMAP]: Remove [defined linux] case.
3923 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3924
a897655d
SP
39252013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3926
3927 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3928
881ebe89 39292013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3930
3931 * elf/elf.h (R_386_SIZE32): New relocation.
3932 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3933 R_386_SIZE32.
3934 (elf_machine_rela): Likewise.
3935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3936 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3937
59981e9b
JM
39382013-01-17 Joseph Myers <joseph@codesourcery.com>
3939
3940 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3941 (FP_FAST_FMA): Do not define.
3942 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3943 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3944 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3945 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3946 !_SOFT_FLOAT]: Likewise.
3947 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3948 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3949 value.
3950 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3951 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3952 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3953 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3954 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3955 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3956 file.
3957
cfa8054f
AS
39582013-01-16 Andreas Schwab <schwab@suse.de>
3959
3960 [BZ #14327]
3961 * include/stdlib.h (__mktemp): Add declaration.
3962 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3963 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3964
dd930cc5
SP
39652013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3966
881ebe89
SP
3967 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3968 definitions.
3969 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3970 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3971 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3972 definitions here.
3973 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3974 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3975 definitions.
3976 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3977 and ONE.
3978 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3979 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3980 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3981 definitions.
3982 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3983 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3984 definitions.
3985 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3986
dd930cc5
SP
3987 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3988
c19a9f89
DM
39892013-01-15 David S. Miller <davem@davemloft.net>
3990
1aa61767
DM
3991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3992 trunc{,f} to libm-sysdep_routes.
3993 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3995 file.
3996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3998 file.
3999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4000 file.
4001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4003 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4004 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4005 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4006 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4007 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4008 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4009
c42d5e98
DM
4010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4011 nearbyint{,f} to libm-sysdep_routes.
4012 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4014 New file.
4015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4016 file.
4017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4018 New file.
4019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4020 file.
4021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4023 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4024 file.
4025 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4026 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4027 file.
4028 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4029 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4030 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4031
c19a9f89
DM
4032 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4033 libc_feholdexcept and libc_fesetenv.
4034
357679d2
MF
40352013-01-15 Mike Frysinger <vapier@gentoo.org>
4036
4037 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4038
65a82e3d
DM
40392013-01-14 David S. Miller <davem@davemloft.net>
4040
8b954ab9
DM
4041 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4042 (SPARC_ASM_VIS2_IFUNC): Likewise.
4043 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4045 use of 'siam' instruction.
4046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4047 Likewise.
4048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4049 Likewise.
4050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4051 Likewise.
4052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4055 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4057 file.
4058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4059 file.
4060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4061 file.
4062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4063 file.
4064 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4069 new VIS2 routines.
4070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4073 Likewise.
4074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4079 routines to libm-sysdep_routines.
4080 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4081
65a82e3d
DM
4082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4083 fdim/fdimf to libm-sysdep_routines.
4084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4085 file.
4086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4088 file.
4089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4092 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4093 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4094 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4095 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4096
e34ab705
SP
40972013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4098
2a91b573
SP
4099 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4100 to optimize copies.
4101
1066a534
SP
4102 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4105
e34ab705
SP
4106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4107 local variable MPTWO.
4108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4109 Likewise.
4110
aba5e596
MF
41112013-01-13 Mike Frysinger <vapier@gentoo.org>
4112
4113 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4114 GLOB_NOESCAPE.
4115
e557e9e5
MF
41162013-01-13 Mike Frysinger <vapier@gentoo.org>
4117
4118 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4119
0428cec9
MF
41202013-01-13 Mike Frysinger <vapier@gentoo.org>
4121
4122 * manual/pattern.texi (glob_t): Document gl_flags.
4123 (glob64_t): Likewise.
4124
8794a964
DM
41252013-01-11 David S. Miller <davem@davemloft.net>
4126
66438c3f
RM
4127 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4128 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4129 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4130 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4131 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4132 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4133 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4134 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4135 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4136 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4137 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4138 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4139 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4140
4ae4244d
DM
4141 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4142 sparc V9 rather than using V8 code.
4143 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4144 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4145
8794a964
DM
4146 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4147 Move to...
4148 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4149 Here.
4150
6270516e
RM
41512013-01-11 Roland McGrath <roland@hack.frob.com>
4152
4153 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4154 not in the main loop.
4155 * configure: Regenerated.
4156
6a57d931
JM
41572013-01-11 Joseph Myers <joseph@codesourcery.com>
4158
4159 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4160 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4161 to just #else.
4162 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4163 [!__GLIBC_HAVE_LONG_LONG] case.
4164 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4165 condition to just #else.
4166 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4167 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4168 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4169 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4170 unconditional.
4171 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4172 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4173 #elif condition to just #else.
4174 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4175 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4176 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4177 #elif condition to just #else.
4178
0e8529e9
SE
41792013-01-11 Steve Ellcey <sellcey@mips.com>
4180
4181 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4182 (EF_MIPS_ARCH_64): Fix value.
4183 (EF_MIPS_ARCH_32R2): New.
4184 (EF_MIPS_ARCH_64R2): New.
4185
740b3dbe
L
41862013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4187
4188 * Makeconfig (+link-pie-before-libc): New.
4189 (+link-pie-after-libc): Likewise.
4190 (+link-pie-tests): Likewise.
4191 (+link-pie): Rewritten.
4192 (link-before-libc): Remove $(config-LDFLAGS).
4193 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4194 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4195 (config-LDFLAGS): Renamed to ...
4196 (rtld-LDFLAGS): This.
4197 (rtld-tests-LDFLAGS): New macro.
4198 (link-libc-rpath-link): Likewise.
4199 (link-libc-tests-rpath-link): Likewise.
4200 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4201 (link-libc): Prepand $(link-libc-rpath-link).
4202 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4203 (test-program-prefix): New macro.
4204 (test-via-rtld-prefix): Likewise.
4205 (test-program-cmd): Likewise.
4206 (host-test-program-cmd): Likewise.
4207 * Makefile ($(common-objpfx)testrun.sh): Replace
4208 $(run-program-prefix) with $(test-program-prefix).
4209 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4210 $(rtld-LDFLAGS).
4211 ($(common-objpfx)shlib.lds): Likewise.
4212 (build-module-helper): Likewise.
4213 ($(common-objpfx)format.lds): Likewise.
4214 * Rules (binaries-pie-tests): New.
4215 (binaries-pie-notests): Likewise.
4216 (binaries-pie): Rewritten.
4217 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4218 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4219 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4220 (make-test-out): Replace $(host-built-program-cmd) with
4221 $(host-test-program-cmd).
4222 * config.make.in (build-hardcoded-path-in-tests): New variable.
4223 * configure.in (--enable-hardcoded-path-in-tests): New configure
4224 option.
4225 (hardcoded_path_in_tests): New AC_SUBST.
4226 * configure: Regenerated.
4227 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4228 $(built-program-cmd) with $(test-program-cmd).
4229 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4230 (test_program_cmd): This.
4231 * elf/Makefile ($(objpfx)order.out): Run test with
4232 $(test-program-prefix).
4233 ($(objpfx)order2.out): Likewise.
4234 ($(objpfx)tst-initorder.out): Likewise.
4235 ($(objpfx)tst-initorder2.out): Likewise.
4236 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4237 $(test-program-cmd).
4238 ($(objpfx)tst-array1-static.out): Likewise.
4239 ($(objpfx)tst-array2.out): Likewise.
4240 ($(objpfx)tst-array3.out): Likewise.
4241 ($(objpfx)tst-array4.out): Likewise.
4242 ($(objpfx)tst-array5.out): Likewise.
4243 ($(objpfx)tst-array5-static.out): Likewise.
4244 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4245 $(test-program-cmd).
4246 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4247 $(run-program-prefix) with $(test-program-prefix).
4248 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4249 (test_program_prefix): This.
4250 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4251 $(run-program-prefix) with $(test-program-prefix).
4252 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4253 (test_program_prefix): This.
4254 * iconvdata/tst-tables.sh: Likewise.
4255 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4256 $(run-program-prefix) with $(test-program-prefix).
4257 ($(objpfx)tst-translit.out): Likewise.
4258 ($(objpfx)tst-gettext2.out): Likewise.
4259 ($(objpfx)tst-gettext4.out): Likewise.
4260 ($(objpfx)tst-gettext6.out): Likewise.
4261 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4262 (test_program_prefix): This.
4263 * intl/tst-gettext2.sh: Likewise.
4264 * intl/tst-gettext4.sh Likewise.
4265 * intl/tst-gettext6.sh: Likewise.
4266 * intl/tst-translit.sh: Likewise.
4267 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4268 with $(test-program-cmd).
4269 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4270 $(run-program-prefix) with $(test-program-prefix).
4271 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4272 (test_program_prefix): This.
4273 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4274 $(run-program-prefix) with $(test-program-prefix).
4275 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4276 (test_program_prefix): This.
4277 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4278 * posix/Makefile ($(objpfx)globtest.out): Replace
4279 $(run-via-rtld-prefix) and $(test-wrapper) with
4280 $(test-program-prefix) and $(test-via-rtld-prefix).
4281 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4282 $(test-program-prefix).
4283 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4284 $(host-test-program-cmd).
4285 (tst-spawn-ARGS): Likewise.
4286 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4287 $(test-program-prefix).
4288 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4289 (test_via_rtld_prefix): This.
4290 (test_wrapper): Renamed to ...
4291 (test_program_prefix): This.
4292 (run_program_prefix): Replaced by test_program_prefix.
4293 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4294 (test_program_prefix): This.
4295 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4296 with $(host-test-program-cmd).
4297 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4298 $(run-program-prefix) with $(test-program-prefix).
4299 ($(objpfx)tst-printf.out): Likewise.
4300 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4301 $(test-program-cmd).
4302 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4303 (test_program_prefix): This.
4304 * stdio-common/tst-unbputc.sh: Likewise.
4305 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4306 $(run-program-prefix) with $(test-program-prefix).
4307 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4308 (test_program_prefix): This.
4309 * string/Makefile ($(objpfx)tst-svc.out): Replace
4310 $(built-program-cmd) with $(test-program-cmd).
4311
c6fe55cf
AJ
43122013-01-11 Andreas Jaeger <aj@suse.de>
4313
4314 [BZ #15003]
4315 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4316 value. Sync with Linux 3.7.
4317
9e6919c8
DM
43182013-01-10 David S. Miller <davem@davemloft.net>
4319
4320 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4321 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4322 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4323
1c9f1a02
RM
43242013-01-10 Roland McGrath <roland@hack.frob.com>
4325
4326 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4327 never set.
4328 * configure: Regenerated.
4329
b9de2dde
DM
43302013-01-10 David S. Miller <davem@davemloft.net>
4331
4332 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4333 sparc V9 rather than using V8 code.
4334 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4335 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4336
e7f68ef4
RM
43372013-01-10 Roland McGrath <roland@hack.frob.com>
4338
4339 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4340 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4341 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4342 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4343 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4344 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4345 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4346 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4347 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4348 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4349 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4350 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4351 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4352 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4353 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4354 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4355 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4356 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4357 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4358 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4359 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4360 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4361 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4362 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4363 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4364 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4365 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4366
5a47cc9c
DM
43672013-01-10 David S. Miller <davem@davemloft.net>
4368
4369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4370
4cf8f209
L
43712013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4372
4373 * posix/Makefile (tests-static): New variable.
4374 (tests): Add $(tests-static).
4375 (tst-exec-static-ARGS): New variable.
4376 (tst-spawn-static-ARGS): Likewise.
4377 * posix/tst-exec-static.c: New file.
4378 * posix/tst-spawn-static.c: Likewise.
4379 * posix/tst-exec.c: Support run directly.
4380 * posix/tst-spawn.c: Likewise.
4381
fed0faa1
JM
43822013-01-10 Joseph Myers <joseph@codesourcery.com>
4383
828beb13
JM
4384 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4385 long.
4386 * math/bits/mathcalls.h (llrint): Likewise.
4387 (llround): Likewise.
4388 * stdlib/stdlib.h (struct drand48_data): Likewise.
4389 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4390 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4391 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4392 Likewise.
4393 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4394 Likewise.
4395 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4396 (elf_greg_t): Likewise.
4397 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4398 (__jmp_buf): Likewise.
4399 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4400 definitions.
4401 (llrint): Likewise, for all definitions.
4402 (llrintl): Likewise.
4403
fed0faa1
JM
4404 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4405 Remove [__GNUC__] condition.
4406 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4407 condition to just [__USE_ISOC99].
4408 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4409
1a20cb20
L
44102013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4411
4412 [BZ #14200]
4413 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4414 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4415 defined.
4416 (_POSIX_V6_ILP32_OFF32): Likewise.
4417 (_XBS5_ILP32_OFF32): Likewise.
4418 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4419 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4420
751b85f7
SP
44212013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4422
7490eb81
SP
4423 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4424
751b85f7
SP
4425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4426 doubles __mpexp_twomm1. Adjust usage.
4427 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4428 Remove.
4429
988197f0
AS
44302013-01-10 Andreas Schwab <schwab@suse.de>
4431
4432 [BZ #14964]
4433 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4434 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4435
e83d7298
DM
44362013-01-09 David S. Miller <davem@davemloft.net>
4437
034ed64b 4438 [BZ #15003]
e83d7298
DM
4439 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4440 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4441 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4442 TCP_FASTOPEN): Define.
4443 (tcp_repair_opt): New structure.
4444 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4445 enum values.
4446 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4447 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4448 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4449 (tcp_cookie_transactions): New structure.
4450
d5e0b9bd
AB
44512013-01-09 Anton Blanchard <anton@samba.org>
4452
4453 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4454 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4455 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4456 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4457
0c07e3ea
JM
44582013-01-09 Joseph Myers <joseph@codesourcery.com>
4459
4460 * include/features.h (__USE_ANSI): Remove.
4461
232f7002
RM
44622013-01-09 Roland McGrath <roland@hack.frob.com>
4463
ad98e30c
RM
4464 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4465
232f7002
RM
4466 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4467
950c99ca
SP
44682013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4469
b5792741
SP
4470 * sysdeps/s390/fpu/libm-test-ulps: Update.
4471
47cf2278
SP
4472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4473
950c99ca
SP
4474 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4475 (__acr): Likewise.
4476 (__cpy): Likewise.
4477 (norm): Likewise.
4478 (denorm): Likewise.
4479 (__mp_dbl): Likewise.
4480 (__dbl_mp): Likewise.
4481 (add_magnitudes): Likewise.
4482 (sub_magnitudes): Likewise.
4483 (__add): Likewise.
4484 (__sub): Likewise.
4485 (__mul): Likewise.
4486 (__inv): Likewise.
4487 (__dvd): Likewise.
4488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4489 (__acr): Likewise.
4490 (__cpy): Likewise.
4491 (norm): Likewise.
4492 (denorm): Likewise.
4493 (__mp_dbl): Likewise.
4494 (__dbl_mp): Likewise.
4495 (add_magnitudes): Likewise.
4496 (sub_magnitudes): Likewise.
4497 (__add): Likewise.
4498 (__sub): Likewise.
4499 (__mul): Likewise.
4500 (__inv): Likewise.
4501 (__dvd): Likewise.
4502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4503 (__acr): Likewise.
4504 (__cpy): Likewise.
4505 (norm): Likewise.
4506 (denorm): Likewise.
4507 (__mp_dbl): Likewise.
4508 (__dbl_mp): Likewise.
4509 (add_magnitudes): Likewise.
4510 (sub_magnitudes): Likewise.
4511 (__add): Likewise.
4512 (__sub): Likewise.
4513 (__mul): Likewise.
4514 (__inv): Likewise.
4515 (__dvd): Likewise.
4516
eede9df9
JM
45172013-01-08 Joseph Myers <joseph@codesourcery.com>
4518
4519 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4520 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4521 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4522 2 && __USE_EXTERN_INLINES]: Likewise.
4523
c40ea3d9
AJ
45242013-01-08 Andreas Jaeger <aj@suse.de>
4525
4526 [BZ# 14985]
4527 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4528 Remove.
4529 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4530 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4531
2ccdea26
AB
45322013-01-07 Anton Blanchard <anton@samba.org>
4533
4534 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4535 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4536 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4537 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4538 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4539 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4540 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4541 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4542 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4543 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4544 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4545 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4546 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4547 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4548 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4549 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4550 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4551 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4552 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4553 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4554 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4555 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4556 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4557 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4558 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4559 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4560 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4561 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4562 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4563 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4564 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4566 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4567 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4568 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4569 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4570 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4571 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4572 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4573 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4574 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4575 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4576 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4577
a9708fed
JM
45782013-01-07 Joseph Myers <joseph@codesourcery.com>
4579
375607b9
JM
4580 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4581 (__MALLOC_PMT): Likewise.
4582 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4583 [__GNUC__], only on [_LIBC].
4584 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4585 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4586 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4587 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4588 forward declaration.
4589 (realloc_hook_ini): Likewise.
4590 (memalign_hook_ini): Likewise.
4591 (__libc_memalign): Do not use __MALLOC_PMT in variable
4592 declaration.
4593 (__libc_valloc): Likewise.
4594 (__libc_pvalloc): Likewise.
4595 (__libc_calloc): Likewise.
4596 (__posix_memalign): Likewise.
4597
a9708fed
JM
4598 [BZ #14996]
4599 * math/s_casinh.c: Include <float.h>.
4600 (__casinh): Do not do computation with squaring and square root
4601 for large arguments.
4602 * math/s_casinhf.c: Include <float.h>.
4603 (__casinhf): Do not do computation with squaring and square root
4604 for large arguments.
4605 * math/s_casinhl.c: Include <float.h>.
4606 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4607 (__casinhl): Do not do computation with squaring and square root
4608 for large arguments.
4609 * math/libm-test.inc (casin_test): Add more tests.
4610 (casinh_test): Likewise.
4611 * sysdeps/i386/fpu/libm-test-ulps: Update.
4612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4613
afec409a
L
46142013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4615
4616 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4617 (__x86_64_raw_data_cache_size): Likewise.
4618 (__x86_64_data_cache_size_half): Likewise.
4619 (__x86_64_raw_data_cache_size_half): Likewise.
4620 (__x86_64_shared_cache_size): Likewise.
4621 (__x86_64_raw_shared_cache_size): Likewise.
4622 (__x86_64_shared_cache_size_half): Likewise.
4623 (__x86_64_raw_shared_cache_size_half): Likewise.
4624 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4625 to ...
4626 (__x86_data_cache_size): This.
4627 (__x86_64_raw_data_cache_size): Renamed to ...
4628 (__x86_raw_data_cache_size): This.
4629 (__x86_64_data_cache_size_half): Renamed to ...
4630 (__x86_data_cache_size_half): This.
4631 (__x86_64_raw_data_cache_size_half): Renamed to ...
4632 (__x86_raw_data_cache_size_half): This.
4633 (__x86_64_shared_cache_size): Renamed to ...
4634 (__x86_shared_cache_size): This.
4635 (__x86_64_raw_shared_cache_size): Renamed to ...
4636 (__x86_raw_shared_cache_size): This.
4637 (__x86_64_shared_cache_size_half): Renamed to ...
4638 (__x86_shared_cache_size_half): This.
4639 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4640 (__x86_raw_shared_cache_size_half): This.
4641 * sysdeps/x86_64/memcpy.S: Updated.
4642 * sysdeps/x86_64/memset.S: Likewise.
4643 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4645 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4646
0b3986d0
DM
46472013-01-04 David S. Miller <davem@davemloft.net>
4648
4649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4650
e47686e9
AS
46512013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4652
d643bac1
AS
4653 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4654 1 to avoid redefinition warning.
4655 (__USE_GNU): Don't define.
4656 (init_signaling_nan): Protoize.
4657
e47686e9
AS
4658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4659
b18decba
SP
46602013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4661
fffb407f
SP
4662 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4664 (__cpymn): Likewise.
4665 (norm): Remove commented code.
4666 (denorm): Likewise.
4667 (__mp_dbl): Likewise.
4668 (__inv): Likewise.
4669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4670 (__cpymn): Likewise.
4671 (norm): Remove commented code.
4672 (denorm): Likewise.
4673 (__mp_dbl): Likewise.
4674 (__inv): Likewise.
4675
b18decba
SP
4676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4677 mp_no value for 1.0 and 2.0.
4678 (norm): Use RADIXI instead of radixi.d.
4679 (denorm): Likewise.
4680 (__mul): Use 0.0 instead of zero.d.
4681 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4682 mp_no value for 1.0 and 2.0.
4683 (norm): Use RADIXI instead of radixi.d.
4684 (denorm): Likewise.
4685 (__mul): Use 0.0 instead of zero.d.
4686
cdc1c96f
JM
46872013-01-04 Joseph Myers <joseph@codesourcery.com>
4688
4689 [BZ #14994]
4690 * math/s_casinh.c (__casinh): Reduce finite argument to first
4691 quadrant then set signs of results at the end.
4692 * math/s_casinhf.c (__casinhf): Likewise.
4693 * math/s_casinhl.c (__casinhl): Likewise.
4694 * math/libm-test.inc (casin_test): Add more tests.
4695 (casinh_test): Likewise.
4696 * sysdeps/i386/fpu/libm-test-ulps: Update.
4697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4698
302913e1
SP
46992013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4700
6420d207
SP
4701 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4702
a9e48ab4
SP
4703 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4704
b7837264
SP
4705 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4706 declarations.
4707 (denorm): Likewise.
4708 (__mp_dbl): Likewise.
4709 (__inv): Likewise.
4710
f8af25d2
SP
4711 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4712 and adjust the header comment.
4713
302913e1
SP
4714 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4715 variable name from declaration.
4716
5d7dd1ca
L
47172013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4718
4719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4720 Initialize COMMON_CPUID_INDEX_7 element.
4721 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4722 (CPUID_RTM): Likewise.
4723 (HAS_RTM): Likewise.
4724 (COMMON_CPUID_INDEX_7): New enum.
4725
2f5f40f4
AS
47262013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4727
4728 [BZ #14981]
4729 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4730 size is zero, record memory as freed.
4731
4056f4a0
AJ
47322013-01-03 Andreas Jaeger <aj@suse.de>
4733
4734 * po/ia.po: Add new Interlingua translation.
4735
ab15736f 47362012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4737
4738 * locale/programs/localedef.c: Fix description of '--posix' flag.
4739
568035b7
JM
47402013-01-02 Joseph Myers <joseph@codesourcery.com>
4741
e6898b8d
JM
4742 * NEWS: Update dates in second copyright notice.
4743 * README: Update copyright dates in example.
4744 * manual/libc.texinfo: Update copyright dates.
4745 * scripts/test-installation.pl: Update copyright date in --version
4746 output.
4747
0e2f9562
JM
4748 * hurd/ctty-input.c: Fix copyright notice formatting.
4749 * hurd/ctty-output.c: Likewise.
4750 * hurd/dtable.c: Likewise.
4751 * hurd/hurd-raise.c: Likewise.
4752 * hurd/hurdprio.c: Likewise.
4753 * hurd/msgportdemux.c: Likewise.
4754 * misc/sys/file.h: Likewise.
4755 * misc/sys/ioctl.h: Likewise.
4756 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4757 * sysdeps/mach/hurd/chdir.c: Likewise.
4758 * sysdeps/mach/hurd/fchdir.c: Likewise.
4759 * sysdeps/mach/hurd/rename.c: Likewise.
4760 * sysdeps/mach/hurd/rmdir.c: Likewise.
4761 * sysdeps/mach/hurd/seekdir.c: Likewise.
4762 * sysdeps/mach/hurd/setsid.c: Likewise.
4763 * sysdeps/posix/wait3.c: Likewise.
4764
568035b7
JM
4765 * All files with FSF copyright notices: Update copyright dates
4766 using scripts/update-copyrights.
4767 * intl/plural.c: Regenerated.
4768 * locale/programs/charmap-kw.h: Likewise.
4769 * locale/programs/locfile-kw.h: Likewise.
4770
da08f647
SP
47712013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4772
0f5477af
SP
4773 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4774 four values.
4775
44e0d4c2
SP
4776 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4777 calculation loop and add branch prediction.
4778
4d55b4e5
SP
4779 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4780 check access beyond bounds of m1np.
4781
da08f647
SP
4782 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4783 MPTWO.
4784 (__inv): Remove local variable MPTWO to use the global
4785 constant.
4786 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4787 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4788 variable MPTWO.
4789 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4790 MP3HALFS static const.
4791
8e051029
DM
47922013-01-01 David S. Miller <davem@davemloft.net>
4793
4794 * po/ca.po: Update from translation team.
4795
f4cf5f2d
JM
47962013-01-01 Joseph Myers <joseph@codesourcery.com>
4797
4798 * scripts/update-copyrights: New file.
4799 * Makeconfig: Reformat copyright notice.
4800 * ctype/ctype.h: Likewise.
4801 * debug/swprintf_chk.c: Likewise.
4802 * elf/dl-cache.c: Likewise.
4803 * elf/dl-debug.c: Likewise.
4804 * elf/dl-object.c: Likewise.
4805 * grp/initgroups.c: Likewise.
4806 * hurd/Makefile: Likewise.
4807 * hurd/hurd/signal.h: Likewise.
4808 * hurd/hurdfault.c: Likewise.
4809 * hurd/hurdioctl.c: Likewise.
4810 * hurd/hurdlookup.c: Likewise.
4811 * hurd/intr-msg.c: Likewise.
4812 * iconv/gconv_open.c: Likewise.
4813 * libio/swprintf.c: Likewise.
4814 * locale/lc-ctype.c: Likewise.
4815 * locale/nl_langinfo.c: Likewise.
4816 * mach/Machrules: Likewise.
4817 * mach/Makefile: Likewise.
4818 * malloc/obstack.h: Likewise.
4819 * manual/Makefile: Likewise.
4820 * manual/tsort.awk: Likewise.
4821 * misc/bits/stab.def: Likewise.
4822 * nis/nis_print_group_entry.c: Likewise.
4823 * nis/nis_table.c: Likewise.
4824 * nis/nss_compat/compat-pwd.c: Likewise.
4825 * nis/nss_compat/compat-spwd.c: Likewise.
4826 * po/Makefile: Likewise.
4827 * posix/fnmatch.c: Likewise.
4828 * posix/regex.h: Likewise.
4829 * resolv/Makefile: Likewise.
4830 * resolv/nss_dns/dns-network.c: Likewise.
4831 * resolv/res_hconf.c: Likewise.
4832 * scripts/gen-sorted.awk: Likewise.
4833 * soft-fp/soft-fp.h: Likewise.
4834 * stdio-common/printf.h: Likewise.
4835 * stdlib/monetary.h: Likewise.
4836 * stdlib/random.c: Likewise.
4837 * stdlib/random_r.c: Likewise.
4838 * sysdeps/generic/Makefile: Likewise.
4839 * sysdeps/gnu/Makefile: Likewise.
4840 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4841 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4842 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4843 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4844 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4845 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4846 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4847 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4848 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4849 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4850 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4851 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4852 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4853 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4854 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4855 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4856 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4857 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4858 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4859 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4860 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4861 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4862 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4863 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4868 * sysdeps/mach/hurd/errnos.awk: Likewise.
4869 * sysdeps/mach/hurd/fork.c: Likewise.
4870 * sysdeps/mach/hurd/getcwd.c: Likewise.
4871 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4872 * sysdeps/mach/hurd/mmap.c: Likewise.
4873 * sysdeps/mach/hurd/utimes.c: Likewise.
4874 * sysdeps/mach/hurd/xmknod.c: Likewise.
4875 * sysdeps/posix/profil.c: Likewise.
4876 * sysdeps/posix/readdir_r.c: Likewise.
4877 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4878 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4879 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4880 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4882 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4883 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4884 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4886 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4887 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4888 * sysdeps/pthread/lio_listio.c: Likewise.
4889 * sysdeps/sparc/dl-procinfo.h: Likewise.
4890 * sysdeps/unix/i386/sysdep.S: Likewise.
4891 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4892 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4893 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4894 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4896 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4897 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4898 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4899 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4900 * sysdeps/wordsize-32/divdi3.c: Likewise.
4901 * time/sys/time.h: Likewise.
4902 * wcsmbs/Makefile: Likewise.
4903
0549fbba
DM
49042013-01-01 David S. Miller <davem@davemloft.net>
4905
a141f1a7
DM
4906 * po/fr.po: Update from translation team.
4907
0549fbba
DM
4908 * catgets/gencat.c: Update copyright year.
4909 * csu/version.c: Likewise.
4910 * debug/catchsegv.sh: Likewise.
4911 * debug/pcprofiledump.c: Likewise.
4912 * debug/xtrace.sh: Likewise.
4913 * elf/ldconfig.c: Likewise.
4914 * elf/ldd.bash.in: Likewise.
4915 * elf/pldd.c: Likewise.
4916 * elf/sotruss.ksh: Likewise.
4917 * elf/sprof.c: Likewise.
4918 * iconv/iconv_prog.c: Likewise.
4919 * iconv/iconvconfig.c: Likewise.
4920 * locale/programs/locale.c: Likewise.
4921 * locale/programs/localedef.c: Likewise.
4922 * login/programs/pt_chown.c: Likewise.
4923 * malloc/memusage.sh: Likewise.
4924 * malloc/memusagestat.c: Likewise.
4925 * malloc/mtrace.pl: Likewise.
4926 * nscd/nscd.c: Likewise.
4927 * nss/getent.c: Likewise.
4928 * nss/makedb.c: Likewise.
4929 * posix/getconf.c: Likewise.
4930
18ea052c
SP
49312012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4932
4933 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4934 numbers.
4935
9c89fca6
MF
49362012-12-30 Mike Frysinger <vapier@gentoo.org>
4937
4938 * math/bits/mathcalls.h (modf): Use __nonnull.
4939
085ec079
SP
49402012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4941
4942 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4943 (split): Use macro CN instead of the bare value.
4944 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4945 could be used.
4946 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4947 instead of the bare value.
4948 (power1): Likewise.
4949
6d9f97e1
SP
49502012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4951
d63f73be
SP
4952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4953 __ATAN_TWOM.
4954 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4955
6d9f97e1
SP
4956 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4957 their values.
4958 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4959 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4960 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4961 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4962
4c4febf5
AJ
49632012-12-28 Andreas Jaeger <aj@suse.de>
4964
af5843ef
AJ
4965 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4966 values are from Linux 3.7.
4967
4c4febf5
AJ
4968 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4969 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4970
99136f82
SP
49712012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4972
2f216c3c 4973 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4974 TRUE case.
4975
99136f82
SP
4976 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4977 (norm): Likewise.
4978 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4979 variables with preprocessor constants.
4980 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4981 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4982 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4983
7fffbdff
BH
49842012-12-27 Bruno Haible <bruno@clisp.org>
4985
4986 [BZ #14317]
4987 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4988 only if needed.
4989
b76eb5f0
SP
49902012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4991
31a7fe5c
SP
4992 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4993 and use variable directly.
4994 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4995
b76eb5f0
SP
4996 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4997 MPONE.
4998 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4999 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5000 variable MPONE.
5001 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5002 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5003 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5004 include directive. Remove local variable MPONE.
5005 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5006 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5007 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5008
2c8bfe7d
DM
50092012-12-25 David S. Miller <davem@davemloft.net>
5010
5011 * version.h (RELEASE): Set to "development".
5012 (VERSION): Set to "2.17.90".
5013 * NEWS: Add 2.18 section.
5014
147d03b0
DM
50152012-12-21 David S. Miller <davem@davemloft.net>
5016
5017 * po/hr.po: Update from translation team.
5018
a8ebb2b9
AK
50192012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5020
5021 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5022
95b4f1b6
SE
50232012-12-19 Steve Ellcey <sellcey@mips.com>
5024
b2d94007 5025 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5026
cedb2a90
MS
50272012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5028
5029 * manual/contrib.texi (Contributors): Spelling correction.
5030
bbf527d6
DM
50312012-12-15 David S. Miller <davem@davemloft.net>
5032
5033 * po/ru.po: Update from translation team.
5034
bc38c906
DM
50352012-12-13 David S. Miller <davem@davemloft.net>
5036
85429b1a
DM
5037 * NEWS: Mention IFUNC testsuite enhancements.
5038
d283e353
DM
5039 * po/pl.po: Update from translation team.
5040 * po/bg.po: Likewise.
5041
bc38c906
DM
5042 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5043 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5044
a181b0d7
DM
50452012-12-11 David S. Miller <davem@davemloft.net>
5046
4641d57e
DM
5047 * po/sv.po: Update from translation team.
5048
f7bc6495
DM
5049 * po/vi.po: Update from translation team.
5050
6fc9048f
DM
5051 * po/cs.po: Update from translation team.
5052
a181b0d7
DM
5053 * po/de.po: Update from translation team.
5054 * po/eo.po: Likewise.
5055 * po/nl.po: Likewise.
5056
f70bfe80
SP
50572012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5058
3c8b4190
SP
5059 [BZ #14246]
5060 * manual/argp.texi (Argp Helper Functions): Move node to follow
5061 Argp Parsing State.
5062
f70bfe80
SP
5063 [BZ #14872]
5064 * manual/conf.texi (Limits on File System Capacity): Mention if
5065 terminating null is included in the max size.
5066
188f0adf
AJ
50672012-12-10 Andreas Jaeger <aj@suse.de>
5068
5069 * po/cs.po: Update from translation team.
5070
56e7d3ad
SP
50712012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5072
5073 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5074 void pointer and cast to uintptr_t.
5075 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5076 path.
5077 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5078 * sysdeps/s390/s390-64/memset.S: Likewise.
5079
76f2d2ea 50802012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5081
5082 [BZ #14833]
5083 * menual/message.texi (Message Translation): Fix typos.
5084 (Helper programs for gettext): Likewise.
5085
67cbf9a2
AS
50862012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5087
5088 [BZ #14898]
5089 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5090 Change to -1.
5091
682d0e9a
DM
50922012-12-07 David S. Miller <davem@davemloft.net>
5093
5094 * po/libc.pot: Update.
5095
573cd484
RH
50962012-12-07 Richard Henderson <rth@redhat.com>
5097
7e9da188 5098 [BZ #10114]
573cd484
RH
5099 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5100 normal/normal case to before the switch.
5101 (_FP_DIV): Likewise.
5102
e933a943
MF
51032012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5104 Mike Frysinger <vapier@gentoo.org>
5105
5106 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5107 check for __NR_fadvise64_64.
5108
82123268
CM
51092012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5110
5111 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5112 0, not just to plain "0" as a statement.
5113 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5114 with cw.
5115
d9814526
JM
51162012-12-06 Joseph Myers <joseph@codesourcery.com>
5117
5118 * NEWS: Use sourceware.org in Bugzilla URL.
5119
7728c574
SP
51202012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5121
f16946dd
SP
5122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5123 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5124
5704bbcb
SP
5125 * stdio-common/tst-put-error.c (do_test): Add newline to the
5126 padded test to ensure flush.
5127
17aa0516
JL
51282012-12-05 Jeff Law <law@redhat.com>
5129
5130 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5131
363313b5
JM
51322012-12-05 Joseph Myers <joseph@codesourcery.com>
5133
effbd42a
JM
5134 * README: Don't refer to ports add-on as distributed separately.
5135 Mention AArch64 in list of systems supported in the ports add-on.
5136
87600365
JM
5137 * LICENSES: Add more non-FSF copyright and license notices.
5138
a0d7066a
JM
5139 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5140 ((unused)).
5141
66ca5a5b
JM
5142 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5143
363313b5
JM
5144 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5145 10000 as width of padded output.
5146
b37984ad
JM
51472012-12-04 Joseph Myers <joseph@codesourcery.com>
5148
9003570a
JM
5149 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5150
b37984ad
JM
5151 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5152 variable LX with __attribute__ ((unused)).
5153 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5154 Likewise.
5155 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5156 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5157 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5158 with __attribute__ ((unused)).
5159
c8df52ec
DM
51602012-12-04 David S. Miller <davem@abraco.davemloft.net>
5161
5162 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5163
b3b099af
JM
51642012-12-04 Joseph Myers <joseph@codesourcery.com>
5165
c33aa6e3
JM
5166 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5167 (CFLAGS-nldbl-acos.c): New variable.
5168 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5169 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5170 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5171 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5172 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5173 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5174 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5175 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5176 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5177 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5178 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5179 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5180 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5181 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5182 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5183 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5184 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5185 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5186 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5187 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5188 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5189 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5190 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5191 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5192 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5193 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5194 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5195 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5196 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5197 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5198 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5199 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5200 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5201 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5202 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5203 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5204 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5205 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5206 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5207 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5208 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5209 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5210 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5211 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5212 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5213 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5214 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5215 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5216 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5217 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5218 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5219 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5220 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5221 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5222 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5223 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5224 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5225 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5226 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5227 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5228 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5229 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5230 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5231 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5232 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5233 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5234 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5235 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5236 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5237 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5238 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5239 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5240 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5241 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5242 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5243 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5244 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5245 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5246 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5247 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5248 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5249 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5250 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5251 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5252 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5253 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5254 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5255 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5256 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5257 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5258 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5259 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5260 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5261 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5262 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5263 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5264 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5265
20f0018d
JM
5266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5267 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5268
b3b099af
JM
5269 [BZ #14914]
5270 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5271 whole low double instead of just low 47 bits when splitting values
5272 into two parts.
5273
029264d1
AM
52742012-12-03 Allan McRae <allan@archlinux.org>
5275
5276 * manual/stdio.texi (Predefined Printf Handlers): Remove
5277 @hsep and @vsep usage.
5278
c9d6789e
MF
52792012-12-03 Mike Frysinger <vapier@gentoo.org>
5280
5281 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5282 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5283
4b7634a5
JL
52842012-12-03 Jeff Law <law@redhat.com>
5285
5286 * time/sys/time.h (settimeofday): Do not mark TV argument
5287 as __nonnull.
5288
eb6cbd24
MF
52892012-12-01 Mike Frysinger <vapier@gentoo.org>
5290
5291 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5292 when currently writing and seek to current position when not.
5293 * libio/Makefile (tests): Remove bug-fclose1.
5294 * libio/bug-fclose1.c: Delete.
5295
f638872a
JM
52962012-12-01 Joseph Myers <joseph@codesourcery.com>
5297
5298 * manual/arith.texi (feenableexcept): Fix typo.
5299 (fedisableexcept): Likewise.
5300
48085d14
RM
53012012-11-30 Roland McGrath <roland@hack.frob.com>
5302
5303 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5304 second, differently-typed declaration, rather than a cast.
5305
1a538b9f
SP
53062012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5307
5308 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5309 * include/rpc/svc.h: ... here.
5310
d07f2ff1 53112012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5312
5313 [BZ #13013]
5314 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5315 depending n and resplen2 to catch cases where answer
5316 equals answerp2.
5317
c93ec1f0
CD
53182012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5319
5320 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5321 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5322
37db69de
MF
53232012-11-29 Mike Frysinger <vapier@gentoo.org>
5324
5325 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5326
e10c4e4f
RM
53272012-11-29 Roland McGrath <roland@hack.frob.com>
5328
5329 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5330
2af1b328
JL
53312012-11-28 Jeff Law <law@redhat.com>
5332
5333 [BZ #13761]
5334 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5335 dataset_temporary. Track alloca usage into alloca_used.
5336 If dataset is large allocate and release it via malloc/free.
5337
111db5b1
FW
53382012-06-04 Florian Weimer <fweimer@redhat.com>
5339
f06cc227 5340 [BZ #14197]
111db5b1
FW
5341 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5342
dd694abd
DM
53432012-11-28 David S. Miller <davem@davemloft.net>
5344
5345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5346
9984dd01
JM
53472012-11-28 Joseph Myers <joseph@codesourcery.com>
5348
5349 [BZ #14803]
5350 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5351 of pi/2 rounded to nearest to 64 bits.
5352 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5353 nearest to 64 bits.
5354 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5355 bits.
5356
14bc93a9
JL
53572012-11-28 Jeff Law <law@redhat.com>
5358 Martin Osvald <mosvald@redhat.com>
5359
5360 [BZ #14889]
5361 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5362 * sunrpc/svc.c: Include time.h.
5363 (__svc_accept_failed): New function.
5364 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5365 any reason other than EINTR, call __svc_accept_failed.
5366 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5367 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5368
e3c6aa3a
AS
53692012-11-28 Andreas Schwab <schwab@suse.de>
5370
5371 * scripts/abilist.awk: Also handle indirect functions in .opd
5372 section.
5373
1bead169
JM
53742012-11-28 Joseph Myers <joseph@codesourcery.com>
5375
5376 [BZ #13881]
5377 * sysdeps/x86/fpu/powl_helper.c: New file.
5378 * sysdeps/x86/fpu/Makefile: Likewise.
5379 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5380 (p3): New object.
5381 (__ieee754_powl): Use __powl_helper for finite arguments except
5382 integer exponents below 8.
5383 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5384 (p3): New object.
5385 (__ieee754_powl): Use __powl_helper for finite arguments except
5386 integer exponents below 8.
5387 * math/libm-test.inc (pow_test): Add more tests and enable some
5388 previously disabled tests.
5389 * sysdeps/i386/fpu/libm-test-ulps: Update.
5390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5391
0817d63d
SP
53922012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5393 Carlos O'Donell <carlos_odonell@mentor.com>
5394
5395 * nss/makedb.c (is_prime): Assert that input is odd and greater
5396 than 4. Note that fact in a comment too.
5397 (next_prime): Add 4 to input.
5398
de2fd463
SP
53992012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5400
5401 [BZ #11741]
5402 * libio/Makefile (tests): Add test case tst-fwrite-error.
5403 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5404 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5405 * libio/tst-fwrite-error.c: New test case.
5406
c515fb51
L
54072012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5408
5409 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5410 before casting to void *.
5411 * include/libc-internal.h (__pointer_type): New macro.
5412 (__integer_if_pointer_type_sub): Likewise.
5413 (__integer_if_pointer_type): Likewise.
5414 (cast_to_integer): Likewise.
5415 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5416 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5417 before casting to atomic64_t.
5418 (atomic_exchange_acq): Likewise.
5419 (__arch_exchange_and_add_body): Likewise.
5420 (__arch_add_body): Likewise.
5421 (atomic_add_negative): Likewise.
5422 (atomic_add_zero): Likewise.
5423
4cf77aa9
JM
54242012-11-26 Joseph Myers <joseph@codesourcery.com>
5425
5426 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5427 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5428 (add_fdes): Likewise.
5429 (linear_search_fdes): Likewise.
5430 (binary_search_unencoded_fdes): Likewise.
5431
d260b3b4
AS
54322012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5433
5434 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5435
67060746
AC
54362012-11-24 Adam Conrad <adconrad@0c3.net>
5437
5438 * configure.in: Autodetect C++ header directories.
5439 * configure: Regenerated.
5440
800938a1
MF
54412012-11-23 Mike Frysinger <vapier@gentoo.org>
5442
5443 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5444
4e6e34e6
AS
54452012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5446
5447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5448
7c7feb47
JM
54492012-11-22 Joseph Myers <joseph@codesourcery.com>
5450
7184dcdf
JM
5451 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5452 LDBL_MANT_DIG == 106]: Disable some tests.
5453 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5454 Likewise.
5455 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5456 Likewise.
5457
0a42601f
JM
5458 [BZ #14871]
5459 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5460 input for small inputs. Return +/- pi/2 for large inputs.
5461 * math/libm-test.inc (atan_test): Add more tests.
5462
79c9b9fe
JM
5463 * sysdeps/generic/unwind-dw2-fde-glibc.c
5464 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5465 __attribute__ ((unused)).
5466
c60d3bf2
JM
5467 [BZ #14645]
5468 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5469 x * y if x and y are nonzero and z is zero.
5470
ef1e0867
JM
5471 [BZ #14811]
5472 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5473 nonzero exponents with absolute value below 0x1p-117 to +/-
5474 0x1p-117.
5475
1468ded3
JM
5476 [BZ #14869]
5477 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5478 up arguments below 2**-450, not just those below 2**-500.
5479 * math/libm-test.inc (hypot_test): Add another test.
5480
8e27e3cc
JM
5481 [BZ #14868]
5482 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5483 Return a+b for ratio over 2**120, not 2**60.
5484 * math/libm-test.inc (hypot_test): Add another test.
5485
c9c0279b
JM
5486 * math/libm-test.inc (clog_test): Use
5487 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5488 (clog10_test): Likewise.
5489
7c7feb47
JM
5490 [BZ #6778]
5491 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5492
fff1530e
AS
54932012-11-22 Andreas Schwab <schwab@suse.de>
5494
5495 * sysdeps/i386/fpu/libm-test-ulps: Update.
5496
94558d30
PT
54972012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5498
5499 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5500 printf output with newline.
5501
7e1be741
L
55022012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5503
6bfea974
L
5504 [BZ #14865]
5505 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5506 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5507 -z nodlopen, -z initfirst and -z execstack support.
5508 * configure: Regenerated.
5509
7e1be741
L
5510 * elf/elf.h (DF_1_NODIRECT): New macro.
5511 (DF_1_IGNMULDEF): Likewise.
5512 (DF_1_NOKSYMS): Likewise.
5513 (DF_1_NOHDR): Likewise.
5514 (DF_1_EDITED): Likewise.
5515 (DF_1_NORELOC): Likewise.
5516 (DF_1_SYMINTPOSE): Likewise.
5517 (DF_1_GLOBAUDIT): Likewise.
5518 (DF_1_SINGLETON): Likewise.
5519 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5520 DT_1_SUPPORTED_MASK bits.
5521 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5522
105ce2ce
CD
55232012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5524
5525 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5526
123be9de
TS
55272012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5528
d072f3f7
TS
5529 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5530 macro.
5531
123be9de
TS
5532 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5533 (sendmmsg): Move declarations...
5534 * socket/sys/socket.h: ... here.
5535 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5536 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5537 include it from...
5538 * socket/recvmmsg.c: ... this new file.
5539 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5540 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5541 definition of __sendmmsg hidden.
5542 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5543 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5544 Move ENOSYS stub into and include it from...
5545 * socket/sendmmsg.c: ... this new file.
5546 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5547 (sysdep_routines): Move recvmmsg and sendmmsg...
5548 * socket/Makefile (routines): ... here.
5549 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5550 (GLIBC_PRIVATE): Add __sendmmsg.
5551 * include/sys/socket.h (__sendmmsg): Add declarations.
5552 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5553 sendmmsg.
5554
cf9a5d18
JM
55552012-11-20 Joseph Myers <joseph@codesourcery.com>
5556
5557 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5558 variable I1 with __attribute__ ((unused)).
5559 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5560
ecd4caf9
JM
55612012-11-19 Joseph Myers <joseph@codesourcery.com>
5562
be14d48f
JM
5563 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5564 DUMMY variables with __attribute__ ((unused)).
5565
ecd4caf9
JM
5566 * bits/byteswap.h: Include <bits/types.h>.
5567 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5568
986cab95
PT
55692012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5570
5571 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5572 string_t. Do not manually set errno.
5573 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5574 length with __strnlen. Make sure to both set errno and return it on
5575 failure.
5576
6d33cc9d
DM
55772012-11-19 David S. Miller <davem@davemloft.net>
5578
5579 With help from Joseph Myers.
5580 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5581 very large arguments properly.
5582 * math/libm-test.inc (atan_test): New tests.
5583 (atan2_test): New tests.
5584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5585 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5586
ee663277
JM
55872012-11-19 Joseph Myers <joseph@codesourcery.com>
5588
877f2d8e
JM
5589 [BZ #14856]
5590 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5591 Define to 3.
5592
116fc08a
JM
5593 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5594 [POSIX] (EADDRNOTAVAIL): Likewise.
5595 [POSIX] (EAFNOSUPPORT): Likewise.
5596 [POSIX] (EALREADY): Likewise.
5597 [POSIX] (ECONNABORTED): Likewise.
5598 [POSIX] (ECONNREFUSED): Likewise.
5599 [POSIX] (ECONNRESET): Likewise.
5600 [POSIX] (EDESTADDRREQ): Likewise.
5601 [POSIX] (EDQUOT): Likewise.
5602 [POSIX] (EHOSTUNREACH): Likewise.
5603 [POSIX] (EIDRM): Likewise.
5604 [POSIX] (EISCONN): Likewise.
5605 [POSIX] (ELOOP): Likewise.
5606 [POSIX] (EMULTIHOP): Likewise.
5607 [POSIX] (ENETDOWN): Likewise.
5608 [POSIX] (ENETUNREACH): Likewise.
5609 [POSIX] (ENOBUFS): Likewise.
5610 [POSIX] (ENODATA): Likewise.
5611 [POSIX] (ENOLINK): Likewise.
5612 [POSIX] (ENOMSG): Likewise.
5613 [POSIX] (ENOPROTOOPT): Likewise.
5614 [POSIX] (ENOSR): Likewise.
5615 [POSIX] (ENOSTR): Likewise.
5616 [POSIX] (ENOTCONN): Likewise.
5617 [POSIX] (ENOTSOCK): Likewise.
5618 [POSIX] (EOPNOTSUPP): Likewise.
5619 [POSIX] (EOVERFLOW): Likewise.
5620 [POSIX] (EPROTO): Likewise.
5621 [POSIX] (EPROTONOSUPPORT): Likewise.
5622 [POSIX] (EPROTOTYPE): Likewise.
5623 [POSIX] (ESTALE): Likewise.
5624 [POSIX] (ETIME): Likewise.
5625 [POSIX] (ETXTBSY): Likewise.
5626 [POSIX] (EWOULDBLOCK): Likewise.
5627 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5628 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5629 [POSIX] (SEEK_CUR): Likewise.
5630 [POSIX] (SEEK_END): Likewise.
5631 [POSIX || UNIX98] (mode_t): Do not require.
5632 [POSIX] (off_t): Likewise.
5633 [POSIX] (pid_t): Likewise.
5634 [POSIX] (sys/stat.h): Do not allow header.
5635 [POSIX] (unistd.h): Likewise.
5636 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5637 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5638 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5639 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5640 require.
5641 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5642 sigevent): Specify elements.
5643 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5644 entry.
5645 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5646 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5647
a483863f
JM
5648 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5649 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5650 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5651 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5652 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5653 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5654 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5655 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5656 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5657 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5658 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5659 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5660 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5661 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5662 Likewise.
5663 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5664 Likewise.
5665 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5666 Likewise.
5667 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5668 Likewise.
5669 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5670 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5671 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5672 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5673 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5674 Specify lower bound on value.
5675 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5676 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5677 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5678 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5679 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5680 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5681 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5682 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5683 value.
5684 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5685 as optional.
5686 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5687 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5688 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5689 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5690 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5691 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5692 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5693 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5694 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5695 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5696 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5697 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5698 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5699 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5700 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5701 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5702 entry.
5703 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5704 optional.
5705 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5706 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5707 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5708 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5709 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5710 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5711 Likewise.
5712 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5713 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5714 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5715 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5716 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5717 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5718 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5719 as optional.
5720 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5721 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5722 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5723 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5724 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5725 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5726 specify as optional.
5727 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5728 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5729 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5730 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5731 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5732 [XPG3] (NL_LANGMAX): Likewise.
5733 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5734 [POSIX || XPG3] (NL_NMAX): Likewise.
5735 [POSIX || XPG3] (NL_SETMAX): Likewise.
5736 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5737 [XPG3] (NZERO): Likewise.
5738 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5739 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5740 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5741 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5742 (REG_ERANGE): Expect.
5743 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5744 optional-constant.
5745 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5746 Use (void) in prototype.
5747 [POSIX] (*_t): Allow.
5748 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5749 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5750 (WRDE_BADVAL): Expect.
5751
5ba924e3
JM
5752 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5753 expect.
5754 [XPG3 || XPG4] (O_RSYNC): Likewise.
5755 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5756 Likewise.
5757 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5758 [XPG3 || XPG4] (sigqueue): Likewise.
5759 [XPG3 || XPG4] (sigtimedwait): Likewise.
5760 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5761 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5762 [XPG3 || XPG4] (vsnprintf): Likewise.
5763 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5764 Likewise.
5765 [XPG3 || XPG4] (blksize_t): Likewise.
5766 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5767 Likewise.
5768 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5769 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5770 [XPG3 || XPG4] (struct itimerspec): Likewise.
5771 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5772 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5773 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5774 [XPG3 || XPG4] (clockid_t): Likewise.
5775 [XPG3 || XPG4] (timer_t): Likewise.
5776 [XPG3 || XPG4] (clock_getres): Likewise.
5777 [XPG3 || XPG4] (clock_gettime): Likewise.
5778 [XPG3 || XPG4] (clock_settime): Likewise.
5779 [XPG3 || XPG4] (nanosleep): Likewise.
5780 [XPG3 || XPG4] (timer_create): Likewise.
5781 [XPG3 || XPG4] (timer_delete): Likewise.
5782 [XPG3 || XPG4] (timer_gettime): Likewise.
5783 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5784 [XPG3 || XPG4] (timer_settime): Likewise.
5785 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5786 [XPG3 || XPG4] (getlogin_r): Likewise.
5787 [XPG3 || XPG4] (pread): Likewise.
5788 [XPG3 || XPG4] (pthread_atfork): Likewise.
5789 [XPG3 || XPG4] (pwrite): Likewise.
5790
ee663277
JM
5791 [BZ #14835]
5792 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5793 <bits/siginfo.h>.
5794
942caa16
PT
57952012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5796
e19af380
PT
5797 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5798 finalizing MALLSTREAM.
5799
942caa16
PT
5800 * sysdeps/mach/hurd/syncfs.c: New file.
5801
cfde9b46
SP
58022012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5803
5804 [BZ #14719]
5805 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5806 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5807 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5808 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5809 (_nss_dns_gethostbyname4_r): Likewise.
5810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5811 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5812
f6da27e5
PH
58132012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5814
5815 [BZ #13763]
5816 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5817
6665d4a2
SM
58182012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5819
1f51ee92
SM
5820 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5821 * elf/cache.c (print_entry): Print ",AArch64" for
5822 FLAG_AARCH64_LIB64
5823
6665d4a2
SM
5824 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5825 * elf/cache.c (print_entry): Print ",hard-float" for
5826 FLAG_ARM_LIBHF.
5827
05b227bd
DM
58282012-11-18 David S. Miller <davem@davemloft.net>
5829
5830 With help from Joseph Myers.
5831 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5832 cutoff to 2**-13.
5833 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5834 cutoff to 2**-25.
5835 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5836 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5837 small.
5838 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5839 * math/libm-test.inc (y0_test): New tests.
5840 (y1_test): New tests.
5841 * sysdeps/i386/fpu/libm-test-ulps: Update.
5842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5844
786b0b67
AS
58452012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5846
5847 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5848 64-bit targets.
5849 * configure: Regenerated.
5850
8e18b86d
DM
58512012-11-17 David S. Miller <davem@davemloft.net>
5852
5853 [BZ #14811]
5854 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5855 nonzero exponents with absolute value below 0x1p-128 to +/-
5856 0x1p-128.
5857
531f1ae0
JM
58582012-11-17 Joseph Myers <joseph@codesourcery.com>
5859
12df29e2
JM
5860 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5861
150dc1a0
JM
5862 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5863
531f1ae0
JM
5864 * posix/getconf-speclist.c: New file.
5865 * posix/posix-envs.def: Likewise.
5866 * posix/confstr.c (START_ENV_GROUP): New macro.
5867 (END_ENV_GROUP): Likewise.
5868 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5869 (KNOWN_PRESENT_ENV_STRING): Likewise.
5870 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5871 (UNKNOWN_ENVIRONMENT): Likewise.
5872 (confstr): Include posix-envs.def instead of handling
5873 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5874 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5875 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5876 (END_ENV_GROUP): Likewise.
5877 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5878 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5879 (UNKNOWN_ENVIRONMENT): Likewise.
5880 (__sysconf): Include posix-envs.def instead of handling associated
5881 cases directly here.
5882 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5883 preprocessing getconf-speclist.c rather than running getconf or
5884 generating empty file.
5885
a93f9cbc
PT
58862012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5887
5888 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5889
d64d9f87
AL
58902012-11-16 Andrej Lajovic <natrij@gmail.com>
5891
5892 [BZ #14672]
5893 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5894
447885eb
DM
58952012-11-16 David S. Miller <davem@davemloft.net>
5896
5897 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5898 smaller than LDBL_EPSILON/2.0L, just return xm1.
5899
bcbf9830
L
59002012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5901
5902 * elf/tst-array1.c (init): Set constructor priority to 1000.
5903 (fini): Set destructor priority to 1000.
5904 * elf/tst-array2dep.c: Likewise.
5905
2b766585
SP
59062012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5907
5908 [BZ #11741]
5909 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5910 (_IO_new_file_xsputn): Also return EOF if none of the input
5911 data was written when overflow failed.
5912 * libio/iopadn.c (_IO_padn): Likewise.
5913 * libio/iowpadn.c (_IO_wpadn): Likewise.
5914 * stdio-common/tst-put-error.c: Add copyright notice.
5915 (do_test): Add case for printing padded string.
5916 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5917 _IO_padn returned error.
5918 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5919 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5920 return EOF.
5921
b1848fde
SP
59222012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5923
5924 * libio/libioP.h: Add comment note that the references to C++
5925 bits are now obsolete.
5926
2fd89785
MS
59272012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5928
5929 * math/libm-test.inc (check_complex): Use asprintf.
5930
e3ea5409
JM
59312012-11-14 Joseph Myers <joseph@codesourcery.com>
5932
5933 * debug/pcprofiledump.c (print_version): Update copyright year.
5934 * malloc/memusagestat.c (print_version): Likewise.
5935
2e64d265
L
59362012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5937
5938 [BZ #14831]
5939 * elf/Makefile (tests): Add tst-audit8.
5940 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5941 ($(objpfx)tst-audit8.out): New target.
5942 (tst-audit8-ENV): New variable.
5943 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5944 audit if l_reloc_result is NULL.
5945 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5946 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5947 * elf/tst-audit8.c: New file.
5948
c485e4d2
MS
59492012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5950
5951 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5952 * misc/Makefile (CFLAGS-select.c): Define.
5953 * posix/Makefile (CFLAGS-pause.c): Define.
5954
3a0d900a
DM
59552012-11-13 David S. Miller <davem@davemloft.net>
5956
5957 * crypt/Makefile: Move test targets after toplevel Rules
5958 inclusion. Grab any necessary sysdep routines when linking.
5959 * crypt/md5.c (md5_process_block): Remove define, we will always
5960 name it __md5_process_block.
5961 (md5_finish_ctx): Update md5_process_block call.
5962 (md5_stream): Likewise.
5963 (md5_process_bytes): Likewise.
5964 (md5_process_block): Rename to __md5_process_block and move to ...
5965 * crypt/md5-block.c: ... here.
5966 * crypt/sha256.c (sha256_process_block): Move to ...
5967 * crypt/sha256-block.c: ... here.
5968 * crypt/sha512.c (sha512_process_block): Move to ...
5969 * crypt/sha512-block.c: ... here.
5970 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5971 path.
5972 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5973 * sysdeps/sparc/sparc64/multiarch/Makefile
5974 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5975 crypt subdir.
5976 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5977 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5978 multiarch changes.
5979 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5980 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5981 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5982 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5983 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5984 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5985 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5986 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5987 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5988 file.
5989 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5990 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5991 file.
5992 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5993
8ca89318
JM
59942012-11-13 Joseph Myers <joseph@codesourcery.com>
5995
e27d476a
JM
5996 * timezone/tzselect.ksh: Update from tzcode git revision
5997 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5998 * timezone/zdump.c: Likewise.
5999 * timezone/zic.c: Likewise.
6000 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6001 in TZVERSION setting, not $(PKGVERSION).
6002 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6003 REPORT_BUGS_TO settings.
6004
8ca89318
JM
6005 [BZ #14838]
6006 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6007 macro.
6008
47594329
MS
60092012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6010
6011 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6012 detection to immediately after _FP_ROUND().
6013 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6014 bits are 0.
6015
640ac3f1
DM
60162012-11-11 David S. Miller <davem@davemloft.net>
6017
6018 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6019 inttypes.h
6020 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6021 __close rather than their public counterparts.
6022
3d2577bb
JM
60232012-11-10 Joseph Myers <joseph@codesourcery.com>
6024
6025 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6026 file.
6027 [UNIX98] (sem_timedwait): Do not expect.
6028 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6029 [XPG4 || UNIX98] (sockatmark): Do not expect.
6030 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6031 (clock_getcpuclockid): Do not expect.
6032 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6033 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6034 Do not expect.
6035 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6036 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6037 [UNIX98] (vwscanf): Likewise.
6038 [UNIX98] (vswscanf): Likewise.
6039
fb1ae1ee
JM
60402012-11-09 Joseph Myers <joseph@codesourcery.com>
6041
9ec6f8bd
JM
6042 * timezone/version.h: Remove file.
6043 * timezone/README: Do not refer to version.h.
6044 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6045 $(objpfx)version.h.
6046 ($(objpfx)zdump.o): Likewise.
c3f81911 6047 ($(objpfx)version.h): New target.
9ec6f8bd 6048
0aa8f8a1
JM
6049 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6050 2012i.
6051 * timezone/README: Don't mention modification to tzselect.ksh.
6052 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6053 work on unmodified tzselect.ksh. Substitute version numbers in
6054 tzselect.ksh.
6055
4e87147f
JM
6056 * Makefile (format-me): Remove.
6057 (INSTALL): Adjust indentation. Use commands directly instead of
6058 using $(format-me).
6059
8b748aed
JM
6060 * aclocal.m4 (ACX_PKGVERSION): New macro.
6061 (ACX_BUGURL): Likewise.
6062 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6063 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6064 (REPORT_BUGS_TO): Likewise.
6065 * configure: Regenerated.
6066 * config.h.in (PKGVERSION): New macro.
6067 (REPORT_BUGS_TO): Likewise.
6068 * config.make.in (PKGVERSION): New variable.
6069 (PKGVERSION_TEXI): Likewise.
6070 (REPORT_BUGS_TO): Likewise.
6071 (REPORT_BUGS_TEXI): Likewise.
6072 * Makefile (format-me): Use -I$(common-objpfx)manual.
6073 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6074 ($(common-objpfx)manual/%): New target.
6075 (manual/%): Remove target.
6076 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6077 (print_version): Use PKGVERSION.
6078 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6079 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6080 and REPORT_BUGS_TO.
6081 ($(objpfx)xtrace): Likewise.
6082 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6083 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6084 (print_version): Use PKGVERSION.
6085 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6086 (do_version): Use PKGVERSION.
6087 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6088 REPORT_BUGS_TO.
6089 (common-ldd-rewrite): Likewise.
6090 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6091 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6092 (print_version): Use PKGVERSION.
6093 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6094 * elf/pldd.c (argp_program_bug_address): Remove variable.
6095 (more_help): New function.
6096 (argp): Use more_help.
6097 (print_version): Use PKGVERSION.
6098 * elf/sln.c (main): Use PKGVERSION.
6099 (usage): Use REPORT_BUGS_TO.
6100 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6101 (top level): Use PKGVERSION.
6102 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6103 (print_version): Use PKGVERSION.
6104 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6105 (print_version): Use PKGVERSION.
6106 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6107 (print_version): Use PKGVERSION.
6108 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6109 (print_version): Use PKGVERSION.
6110 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6111 (print_version): Use PKGVERSION.
6112 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6113 (print_version): Use PKGVERSION.
6114 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6115 and BUGURL.
6116 ($(objpfx)memusage): Likewise.
6117 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6118 (do_version): Use PKGVERSION.
6119 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6120 (print_version): Use PKGVERSION.
6121 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6122 ($PKGVERSION): New variable.
6123 ($REPORT_BUGS_TO): Likewise.
6124 (usage): Use $REPORT_BUGS_TO.
6125 (top level): Use $PKGVERSION.
6126 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6127 ($(objpfx)pkgvers.texi): New rule.
6128 ($(objpfx)stamp-pkgvers): Likewise.
6129 * manual/install.texi: Include pkgvers.texi.
6130 (--with-pkgversion): Document new configure option.
6131 (--with-bugurl): Likewise.
6132 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6133 than necessarily for this particular distribution. Use
6134 REPORT_BUGS_TO for where to report bugs.
6135 * INSTALL: Regenerated.
6136 * manual/libc.texinfo: Include pkgvers.texi.
6137 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6138 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6139 (print_version): Use PKGVERSION.
6140 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6141 (print_version): Use PKGVERSION.
6142 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6143 (print_version): Use PKGVERSION.
6144 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6145 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6146 macro.
6147 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6148 (print_version): Use PKGVERSION.
6149 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6150 (print_version): Use PKGVERSION.
6151 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6152 and PKGVERSION.
6153
92e4b6a9
JM
6154 * timezone/checktab.awk: Update from tzcode 2012i.
6155 * timezone/ialloc.c: Likewise.
6156 * timezone/private.h: Likewise.
6157 * timezone/scheck.c: Likewise.
6158 * timezone/tzfile.h: Likewise.
6159 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6160 (TZVERSION): Hardcode tzcode version number.
6161 * timezone/zdump.c: Update from tzcode 2012i.
6162 * timezone/zic.c: Likewise.
6163 * timezone/version.h: New file.
6164 * timezone/README: Describe version.h. Update upstream location.
6165
9bde902c
JM
6166 [BZ #14824]
6167 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6168 (mktemp): Enable declaration.
6169 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6170 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6171 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6173 Likewise.
6174 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6175 Likewise.
6176 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6177 Likewise.
6178 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6179 Likewise.
6180 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6181 Likewise.
6182 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6183 Likewise.
6184
fb1ae1ee
JM
6185 [BZ #14821]
6186 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6187 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6188 for copies of such integer values.
6189 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6190 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6191
2c1adbcb
AJ
61922012-11-09 Andreas Jaeger <aj@suse.de>
6193
6194 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6195 definitions and declarations that are provided by
6196 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6197
d0f8457e
AK
61982012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6199
3a235abb 6200 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6201 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6202 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6203 definition.
6204
57241e26
MS
62052012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6206
6207 * elf/elf.h: Update comment before AArch64 relocations.
6208
60e8270d
DM
62092012-11-07 David S. Miller <davem@davemloft.net>
6210
6211 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6212 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6213 (__start_context): Declare.
6214 (__makecontext_ret): Delete.
6215 (__makecontext): Hook up __start_context instead of
6216 __makecontext_ret.
6217 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6218 (sysdep_routines): Add __start_context when in stdlib.
6219
0fbb0fbc
JM
62202012-11-07 Joseph Myers <joseph@codesourcery.com>
6221
6222 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6223 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6224 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6225 hardcoded "nm".
6226 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6227 (READELF): New variable. Use it instead of hardcoded "readelf".
6228
eb48db7e
L
62292012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6230
6231 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6232 * sysdeps/x86/Makefile: Here.
6233 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6234 * sysdeps/x86/tst-xmmymm.sh: This.
6235
05bcf62a
JM
62362012-11-07 Joseph Myers <joseph@codesourcery.com>
6237
c4b6cf53
JM
6238 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6239 expectations.
6240 [UNIX98] (pthread_barrier_t): Do not expect.
6241 [UNIX98] (pthread_barrierattr_t): Likewise.
6242 [UNIX98] (pthread_spinlock_t): Likewise.
6243 [UNIX98] (pthread_barrier_destroy): Likewise.
6244 [UNIX98] (pthread_barrier_init): Likewise.
6245 [UNIX98] (pthread_barrier_wait): Likewise.
6246 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6247 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6248 [UNIX98] (pthread_barrierattr_init): Likewise.
6249 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6250 [UNIX98] (pthread_getcpuclockid): Likewise.
6251 [UNIX98] (pthread_mutex_timedlock): Likewise.
6252 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6253 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6254 [UNIX98] (pthread_sigmask): Likewise.
6255 [UNIX98] (pthread_spin_destroy): Likewise.
6256 [UNIX98] (pthread_spin_init): Likewise.
6257 [UNIX98] (pthread_spin_lock): Likewise.
6258 [UNIX98] (pthread_spin_trylock): Likewise.
6259 [UNIX98] (pthread_spin_unlock): Likewise.
6260 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6261 Do not expect.
6262 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6263 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6264 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6265 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6266 [XPG3 || XPG4] (pthread_key_t): Likewise.
6267 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6268 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6269 [XPG3 || XPG4] (pthread_once_t): Likewise.
6270 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6271 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6272 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6273 [XPG3 || XPG4] (pthread_t): Likewise.
6274
cbe6e120
JM
6275 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6276 not expect.
6277 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6278
1b126443
JM
6279 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6280 Change function return type to int.
6281
b961a573
JM
6282 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6283 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6284 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6285 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6286 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6287 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6288 [!POSIX] (posix_madvise): Likewise.
6289 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6290 && !UNIX98].
6291 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6292 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6293 (mode_t): Likewise.
6294 (posix_mem_offset): Likewise.
6295 (posix_typed_mem_get_info): Likewise.
6296 (posix_typed_mem_open): Likewise.
6297
9e188909
JM
6298 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6299 Change condition to [XOPEN2K8].
6300
05bcf62a
JM
6301 * conform/conformtest.pl: Preprocess allow-header data with -x c
6302 instead of from stdin.
6303 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6304 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6305 [C99-based standards] (cerfc): Likewise.
6306 [C99-based standards] (cexp2): Likewise.
6307 [C99-based standards] (cexpm1): Likewise.
6308 [C99-based standards] (clog10): Likewise.
6309 [C99-based standards] (clog1p): Likewise.
6310 [C99-based standards] (clog2): Likewise.
6311 [C99-based standards] (clgamma): Likewise.
6312 [C99-based standards] (ctgamma): Likewise.
6313 [C99-based standards] (cerff): Likewise.
6314 [C99-based standards] (cerfcf): Likewise.
6315 [C99-based standards] (cexp2f): Likewise.
6316 [C99-based standards] (cexpm1f): Likewise.
6317 [C99-based standards] (clog10f): Likewise.
6318 [C99-based standards] (clog1pf): Likewise.
6319 [C99-based standards] (clog2f): Likewise.
6320 [C99-based standards] (clgammaf): Likewise.
6321 [C99-based standards] (ctgammaf): Likewise.
6322 [C99-based standards] (cerfl): Likewise.
6323 [C99-based standards] (cerfcl): Likewise.
6324 [C99-based standards] (cexp2l): Likewise.
6325 [C99-based standards] (cexpm1l): Likewise.
6326 [C99-based standards] (clog10l): Likewise.
6327 [C99-based standards] (clog1pl): Likewise.
6328 [C99-based standards] (clog2l): Likewise.
6329 [C99-based standards] (clgammal): Likewise.
6330 [C99-based standards] (ctgammal): Likewise.
6331 * conform/data/inttypes.h-data [C99-based standards]: Include
6332 stdint.h-data. Remove all expectations for stdint.h contents.
6333 [C99-based standards] (PRI*): Do not allow.
6334 [C99-based standards] (SCN*): Likewise.
6335 [C99-based standards] (*_t): Likewise.
6336 [C99-based-standards] (PRId8): Expect macro.
6337 [C99-based-standards] (PRIi8): Likewise.
6338 [C99-based-standards] (PRIo8): Likewise.
6339 [C99-based-standards] (PRIu8): Likewise.
6340 [C99-based-standards] (PRIx8): Likewise.
6341 [C99-based-standards] (PRIX8): Likewise.
6342 [C99-based-standards] (SCNd8): Likewise.
6343 [C99-based-standards] (SCNi8): Likewise.
6344 [C99-based-standards] (SCNo8): Likewise.
6345 [C99-based-standards] (SCNu8): Likewise.
6346 [C99-based-standards] (SCNx8): Likewise.
6347 [C99-based-standards] (PRIdLEAST8): Likewise.
6348 [C99-based-standards] (PRIiLEAST8): Likewise.
6349 [C99-based-standards] (PRIoLEAST8): Likewise.
6350 [C99-based-standards] (PRIuLEAST8): Likewise.
6351 [C99-based-standards] (PRIxLEAST8): Likewise.
6352 [C99-based-standards] (PRIXLEAST8): Likewise.
6353 [C99-based-standards] (SCNdLEAST8): Likewise.
6354 [C99-based-standards] (SCNiLEAST8): Likewise.
6355 [C99-based-standards] (SCNoLEAST8): Likewise.
6356 [C99-based-standards] (SCNuLEAST8): Likewise.
6357 [C99-based-standards] (SCNxLEAST8): Likewise.
6358 [C99-based-standards] (PRIdFAST8): Likewise.
6359 [C99-based-standards] (PRIiFAST8): Likewise.
6360 [C99-based-standards] (PRIoFAST8): Likewise.
6361 [C99-based-standards] (PRIuFAST8): Likewise.
6362 [C99-based-standards] (PRIxFAST8): Likewise.
6363 [C99-based-standards] (PRIXFAST8): Likewise.
6364 [C99-based-standards] (SCNdFAST8): Likewise.
6365 [C99-based-standards] (SCNiFAST8): Likewise.
6366 [C99-based-standards] (SCNoFAST8): Likewise.
6367 [C99-based-standards] (SCNuFAST8): Likewise.
6368 [C99-based-standards] (SCNxFAST8): Likewise.
6369 [C99-based-standards] (PRId16): Likewise.
6370 [C99-based-standards] (PRIi16): Likewise.
6371 [C99-based-standards] (PRIo16): Likewise.
6372 [C99-based-standards] (PRIu16): Likewise.
6373 [C99-based-standards] (PRIx16): Likewise.
6374 [C99-based-standards] (PRIX16): Likewise.
6375 [C99-based-standards] (SCNd16): Likewise.
6376 [C99-based-standards] (SCNi16): Likewise.
6377 [C99-based-standards] (SCNo16): Likewise.
6378 [C99-based-standards] (SCNu16): Likewise.
6379 [C99-based-standards] (SCNx16): Likewise.
6380 [C99-based-standards] (PRIdLEAST16): Likewise.
6381 [C99-based-standards] (PRIiLEAST16): Likewise.
6382 [C99-based-standards] (PRIoLEAST16): Likewise.
6383 [C99-based-standards] (PRIuLEAST16): Likewise.
6384 [C99-based-standards] (PRIxLEAST16): Likewise.
6385 [C99-based-standards] (PRIXLEAST16): Likewise.
6386 [C99-based-standards] (SCNdLEAST16): Likewise.
6387 [C99-based-standards] (SCNiLEAST16): Likewise.
6388 [C99-based-standards] (SCNoLEAST16): Likewise.
6389 [C99-based-standards] (SCNuLEAST16): Likewise.
6390 [C99-based-standards] (SCNxLEAST16): Likewise.
6391 [C99-based-standards] (PRIdFAST16): Likewise.
6392 [C99-based-standards] (PRIiFAST16): Likewise.
6393 [C99-based-standards] (PRIoFAST16): Likewise.
6394 [C99-based-standards] (PRIuFAST16): Likewise.
6395 [C99-based-standards] (PRIxFAST16): Likewise.
6396 [C99-based-standards] (PRIXFAST16): Likewise.
6397 [C99-based-standards] (SCNdFAST16): Likewise.
6398 [C99-based-standards] (SCNiFAST16): Likewise.
6399 [C99-based-standards] (SCNoFAST16): Likewise.
6400 [C99-based-standards] (SCNuFAST16): Likewise.
6401 [C99-based-standards] (SCNxFAST16): Likewise.
6402 [C99-based-standards] (PRId32): Likewise.
6403 [C99-based-standards] (PRIi32): Likewise.
6404 [C99-based-standards] (PRIo32): Likewise.
6405 [C99-based-standards] (PRIu32): Likewise.
6406 [C99-based-standards] (PRIx32): Likewise.
6407 [C99-based-standards] (PRIX32): Likewise.
6408 [C99-based-standards] (SCNd32): Likewise.
6409 [C99-based-standards] (SCNi32): Likewise.
6410 [C99-based-standards] (SCNo32): Likewise.
6411 [C99-based-standards] (SCNu32): Likewise.
6412 [C99-based-standards] (SCNx32): Likewise.
6413 [C99-based-standards] (PRIdLEAST32): Likewise.
6414 [C99-based-standards] (PRIiLEAST32): Likewise.
6415 [C99-based-standards] (PRIoLEAST32): Likewise.
6416 [C99-based-standards] (PRIuLEAST32): Likewise.
6417 [C99-based-standards] (PRIxLEAST32): Likewise.
6418 [C99-based-standards] (PRIXLEAST32): Likewise.
6419 [C99-based-standards] (SCNdLEAST32): Likewise.
6420 [C99-based-standards] (SCNiLEAST32): Likewise.
6421 [C99-based-standards] (SCNoLEAST32): Likewise.
6422 [C99-based-standards] (SCNuLEAST32): Likewise.
6423 [C99-based-standards] (SCNxLEAST32): Likewise.
6424 [C99-based-standards] (PRIdFAST32): Likewise.
6425 [C99-based-standards] (PRIiFAST32): Likewise.
6426 [C99-based-standards] (PRIoFAST32): Likewise.
6427 [C99-based-standards] (PRIuFAST32): Likewise.
6428 [C99-based-standards] (PRIxFAST32): Likewise.
6429 [C99-based-standards] (PRIXFAST32): Likewise.
6430 [C99-based-standards] (SCNdFAST32): Likewise.
6431 [C99-based-standards] (SCNiFAST32): Likewise.
6432 [C99-based-standards] (SCNoFAST32): Likewise.
6433 [C99-based-standards] (SCNuFAST32): Likewise.
6434 [C99-based-standards] (SCNxFAST32): Likewise.
6435 [C99-based-standards] (PRId64): Likewise.
6436 [C99-based-standards] (PRIi64): Likewise.
6437 [C99-based-standards] (PRIo64): Likewise.
6438 [C99-based-standards] (PRIu64): Likewise.
6439 [C99-based-standards] (PRIx64): Likewise.
6440 [C99-based-standards] (PRIX64): Likewise.
6441 [C99-based-standards] (SCNd64): Likewise.
6442 [C99-based-standards] (SCNi64): Likewise.
6443 [C99-based-standards] (SCNo64): Likewise.
6444 [C99-based-standards] (SCNu64): Likewise.
6445 [C99-based-standards] (SCNx64): Likewise.
6446 [C99-based-standards] (PRIdLEAST64): Likewise.
6447 [C99-based-standards] (PRIiLEAST64): Likewise.
6448 [C99-based-standards] (PRIoLEAST64): Likewise.
6449 [C99-based-standards] (PRIuLEAST64): Likewise.
6450 [C99-based-standards] (PRIxLEAST64): Likewise.
6451 [C99-based-standards] (PRIXLEAST64): Likewise.
6452 [C99-based-standards] (SCNdLEAST64): Likewise.
6453 [C99-based-standards] (SCNiLEAST64): Likewise.
6454 [C99-based-standards] (SCNoLEAST64): Likewise.
6455 [C99-based-standards] (SCNuLEAST64): Likewise.
6456 [C99-based-standards] (SCNxLEAST64): Likewise.
6457 [C99-based-standards] (PRIdFAST64): Likewise.
6458 [C99-based-standards] (PRIiFAST64): Likewise.
6459 [C99-based-standards] (PRIoFAST64): Likewise.
6460 [C99-based-standards] (PRIuFAST64): Likewise.
6461 [C99-based-standards] (PRIxFAST64): Likewise.
6462 [C99-based-standards] (PRIXFAST64): Likewise.
6463 [C99-based-standards] (SCNdFAST64): Likewise.
6464 [C99-based-standards] (SCNiFAST64): Likewise.
6465 [C99-based-standards] (SCNoFAST64): Likewise.
6466 [C99-based-standards] (SCNuFAST64): Likewise.
6467 [C99-based-standards] (SCNxFAST64): Likewise.
6468 [C99-based-standards] (PRIdMAX): Likewise.
6469 [C99-based-standards] (PRIiMAX): Likewise.
6470 [C99-based-standards] (PRIoMAX): Likewise.
6471 [C99-based-standards] (PRIuMAX): Likewise.
6472 [C99-based-standards] (PRIxMAX): Likewise.
6473 [C99-based-standards] (PRIXMAX): Likewise.
6474 [C99-based-standards] (SCNdMAX): Likewise.
6475 [C99-based-standards] (SCNiMAX): Likewise.
6476 [C99-based-standards] (SCNoMAX): Likewise.
6477 [C99-based-standards] (SCNuMAX): Likewise.
6478 [C99-based-standards] (SCNxMAX): Likewise.
6479 [C99-based-standards] (PRIdPTR): Likewise.
6480 [C99-based-standards] (PRIiPTR): Likewise.
6481 [C99-based-standards] (PRIoPTR): Likewise.
6482 [C99-based-standards] (PRIuPTR): Likewise.
6483 [C99-based-standards] (PRIxPTR): Likewise.
6484 [C99-based-standards] (PRIXPTR): Likewise.
6485 [C99-based-standards] (SCNdPTR): Likewise.
6486 [C99-based-standards] (SCNiPTR): Likewise.
6487 [C99-based-standards] (SCNoPTR): Likewise.
6488 [C99-based-standards] (SCNuPTR): Likewise.
6489 [C99-based-standards] (SCNxPTR): Likewise.
6490 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6491 allow.
6492 * conform/data/stdint.h-data: Update comments to clarify
6493 requirements.
6494 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6495 type.
6496 [C99-based standards] (INT8_MAX): Likewise.
6497 [C99-based standards] (INT16_MIN): Likewise.
6498 [C99-based standards] (INT16_MAX): Likewise.
6499 [C99-based standards] (INT32_MIN): Likewise.
6500 [C99-based standards] (INT32_MAX): Likewise.
6501 [C99-based standards] (INT64_MIN): Likewise.
6502 [C99-based standards] (INT64_MAX): Likewise.
6503 [C99-based standards] (UINT8_MAX): Likewise.
6504 [C99-based standards] (UINT16_MAX): Likewise.
6505 [C99-based standards] (UINT32_MAX): Likewise.
6506 [C99-based standards] (UINT64_MAX): Likewise.
6507 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6508 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6509 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6510 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6511 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6512 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6513 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6514 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6515 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6516 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6517 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6518 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6519 [C99-based standards] (INT_FAST8_MIN): Likewise.
6520 [C99-based standards] (INT_FAST8_MAX): Likewise.
6521 [C99-based standards] (INT_FAST16_MIN): Likewise.
6522 [C99-based standards] (INT_FAST16_MAX): Likewise.
6523 [C99-based standards] (INT_FAST32_MIN): Likewise.
6524 [C99-based standards] (INT_FAST32_MAX): Likewise.
6525 [C99-based standards] (INT_FAST64_MIN): Likewise.
6526 [C99-based standards] (INT_FAST64_MAX): Likewise.
6527 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6528 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6529 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6530 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6531 [C99-based standards] (INTPTR_MIN): Likewise.
6532 [C99-based standards] (INTPTR_MAX): Likewise.
6533 [C99-based standards] (UINTPTR_MAX): Likewise.
6534 [C99-based standards] (INTMAX_MIN): Likewise.
6535 [C99-based standards] (INTMAX_MAX): Likewise.
6536 [C99-based standards] (UINTMAX_MAX): Likewise.
6537 [C99-based standards] (PTRDIFF_MIN): Likewise.
6538 [C99-based standards] (PTRDIFF_MAX): Likewise.
6539 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6540 [C99-based standards] (SIZE_MAX): Likewise.
6541 [C99-based standards] (WCHAR_MAX): Likewise.
6542 [C99-based standards] (WINT_MAX): Likewise.
6543 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6544 constraint on value.
6545 [C99-based standards] (WCHAR_MIN): Likewise.
6546 [C99-based standards] (WINT_MIN): Likewise.
6547 [C99-based standards] (*_t): Allow.
6548 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6549 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6550 Include math.h-data and complex.h-data. Remove all expectations
6551 of math.h and complex.h contents.
6552 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6553 at end of line.
6554 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6555 (struct tm): Expect tag.
6556 [C99-based-standards] (wcstof): Expect function.
6557 [C99-based-standards] (wcstold): Likewise.
6558 [C99-based-standards] (wcstoll): Likewise.
6559 [C99-based-standards] (wcstoull): Likewise.
6560 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6561 macro-int-constant. Specify type.
6562 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6563 constraint on value.
6564 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6565 Specify type.
6566 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6567 Specify value.
6568 [ISO C standards]: Do not allow headers.
6569 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6570 wcs[abcdefghijklmnopqrstuvwxyz]*.
6571 [ISO C standards] (*_t): Do not allow.
6572 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6573 Expect function.
6574 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6575 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6576 Specify type.
6577 [ISO C standards]: Do not allow headers.
6578 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6579 is[abcdefghijklmnopqrstuvwxyz]*.
6580 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6581 to[abcdefghijklmnopqrstuvwxyz]*.
6582 [ISO C standards] (*_t): Do not allow.
6583 * conform/data/stdalign.h-data: New file.
6584 * conform/data/stdbool.h-data: Likewise.
6585 * conform/data/stdnoreturn.h-data: Likewise.
6586
7514feb8
RM
65872012-11-07 Roland McGrath <roland@hack.frob.com>
6588
6589 [BZ #14815]
6590 * manual/filesys.texi (Directory Entries): Typo fix.
6591 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6592
19b2ecfc
MS
65932012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6594
6595 * elf/elf.h (EM_AARCH64): New macro.
6596 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6597 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6598 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6599 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6600 (R_AARCH64_TLSDESC): Likewise.
6601 (NT_ARM_TLS): Likewise.
6602 (NT_ARM_HW_BREAK): Likewise.
6603 (NT_ARM_HW_WATCH): Likewise.
6604
60e235ee
JM
66052012-11-07 Joseph Myers <joseph@codesourcery.com>
6606
6607 [BZ #14811]
6608 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6609 (__ieee754_powl): Saturate nonzero exponents with absolute value
6610 below 0x1p-79 to +/- 0x1p-79.
6611 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6612 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6613 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6614 nonzero exponents with absolute value below 0x1p-32 to +/-
6615 0x1p-32.
6616 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6617 (__ieee754_powl): Saturate nonzero exponents with absolute value
6618 below 0x1p-79 to +/- 0x1p-79.
6619 * math/libm-test.inc (pow_test): Add more tests.
6620
0ab234b7
AK
66212012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6622
6623 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6624 _dl_s390_cap_flags with kernel. Increase string length.
6625 (_dl_s390_platforms): Add z196 and zEC12.
6626
45832f74
JM
66272012-11-07 Joseph Myers <joseph@codesourcery.com>
6628
6629 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6630 Change XOPEN21K to XOPEN2K.
6631
19218757
MK
66322012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6633
6634 * string/memmove.c: Use memcpy when possible.
6635
c5f45721
AJ
66362012-11-06 Andreas Jaeger <aj@suse.de>
6637
6638 * po/eo.po: Update from translation team.
6639
82477c28
JM
66402012-11-06 Joseph Myers <joseph@codesourcery.com>
6641
6642 [BZ #14793]
6643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6644 exponent and small x and y exponents, scale x or y up. Increase
6645 by 2 the exponent used in scaling up.
6646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6647 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6648 * math/libm-test.inc (fma_test): Add more tests.
6649 (fma_test_towardzero): Likewise.
6650 (fma_test_downward): Likewise.
6651 (fma_test_upward): Likewise.
6652
99252c8c
JM
66532012-11-05 Joseph Myers <joseph@codesourcery.com>
6654
acfa885f
JM
6655 [BZ #14805]
6656 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6657 fenv_t *.
6658
99252c8c
JM
6659 [BZ #14801]
6660 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6661 namespace for names of struct fields.
6662 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6663 fenv_t fields.
6664 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6665 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6666
d6d98dea
ST
66672012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6668
6669 [BZ #3665]
6670 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6671
e10bb107
TS
66722012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6673
6674 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6675 PTR_DEMANGLE.
6676
6677 [BZ #5246]
6678 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6679 PTR_DEMANGLE.
6680
a0c2940d
JM
66812012-11-04 Joseph Myers <joseph@codesourcery.com>
6682
6683 [BZ #14797]
6684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6685 definitely overflow as x * y not x * y + z.
6686 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6687 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6688 * math/libm-test.inc (fma_test): Add more tests.
6689 (fma_test_towardzero): Likewise.
6690 (fma_test_downward): Likewise.
6691 (fma_test_upward): Likewise.
6692
b830319d
TS
66932012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6694
6695 [BZ #157]
6696
6697 * include/stub-tag.h: Remove file.
6698 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6699 '#include' of it.
6700 * manual/maint.texi (Porting): Don't reference it.
6701 * Makerules ($(objpfx)stubs): Likewise.
6702 * dirent/closedir.c: Don't include <stub-tag.h>.
6703 * dirent/dirfd.c: Likewise.
6704 * dirent/fdopendir.c: Likewise.
6705 * dirent/getdents.c: Likewise.
6706 * dirent/getdents64.c: Likewise.
6707 * dirent/opendir.c: Likewise.
6708 * dirent/readdir.c: Likewise.
6709 * dirent/readdir64.c: Likewise.
6710 * dirent/readdir64_r.c: Likewise.
6711 * dirent/readdir_r.c: Likewise.
6712 * dirent/rewinddir.c: Likewise.
6713 * dirent/seekdir.c: Likewise.
6714 * dirent/telldir.c: Likewise.
6715 * gmon/profil.c: Likewise.
6716 * grp/setgroups.c: Likewise.
6717 * inet/if_index.c: Likewise.
6718 * io/access.c: Likewise.
6719 * io/chdir.c: Likewise.
6720 * io/chmod.c: Likewise.
6721 * io/chown.c: Likewise.
6722 * io/close.c: Likewise.
6723 * io/dup.c: Likewise.
6724 * io/dup2.c: Likewise.
6725 * io/dup3.c: Likewise.
6726 * io/euidaccess.c: Likewise.
6727 * io/faccessat.c: Likewise.
6728 * io/fchdir.c: Likewise.
6729 * io/fchmod.c: Likewise.
6730 * io/fchmodat.c: Likewise.
6731 * io/fchown.c: Likewise.
6732 * io/fchownat.c: Likewise.
6733 * io/fcntl.c: Likewise.
6734 * io/flock.c: Likewise.
6735 * io/fstatfs.c: Likewise.
6736 * io/fstatfs64.c: Likewise.
6737 * io/fstatvfs.c: Likewise.
6738 * io/fstatvfs64.c: Likewise.
6739 * io/futimens.c: Likewise.
6740 * io/fxstat.c: Likewise.
6741 * io/fxstat64.c: Likewise.
6742 * io/fxstatat.c: Likewise.
6743 * io/fxstatat64.c: Likewise.
6744 * io/getcwd.c: Likewise.
6745 * io/isatty.c: Likewise.
6746 * io/lchmod.c: Likewise.
6747 * io/lchown.c: Likewise.
6748 * io/link.c: Likewise.
6749 * io/linkat.c: Likewise.
6750 * io/lseek.c: Likewise.
6751 * io/lseek64.c: Likewise.
6752 * io/lxstat64.c: Likewise.
6753 * io/mkdir.c: Likewise.
6754 * io/mkdirat.c: Likewise.
6755 * io/mkfifo.c: Likewise.
6756 * io/mkfifoat.c: Likewise.
6757 * io/open.c: Likewise.
6758 * io/open64.c: Likewise.
6759 * io/openat.c: Likewise.
6760 * io/openat64.c: Likewise.
6761 * io/pipe.c: Likewise.
6762 * io/pipe2.c: Likewise.
6763 * io/poll.c: Likewise.
6764 * io/posix_fadvise.c: Likewise.
6765 * io/posix_fadvise64.c: Likewise.
6766 * io/posix_fallocate.c: Likewise.
6767 * io/posix_fallocate64.c: Likewise.
6768 * io/read.c: Likewise.
6769 * io/readlink.c: Likewise.
6770 * io/readlinkat.c: Likewise.
6771 * io/rmdir.c: Likewise.
6772 * io/sendfile.c: Likewise.
6773 * io/sendfile64.c: Likewise.
6774 * io/statfs.c: Likewise.
6775 * io/statfs64.c: Likewise.
6776 * io/statvfs.c: Likewise.
6777 * io/statvfs64.c: Likewise.
6778 * io/symlink.c: Likewise.
6779 * io/symlinkat.c: Likewise.
6780 * io/ttyname.c: Likewise.
6781 * io/ttyname_r.c: Likewise.
6782 * io/umask.c: Likewise.
6783 * io/unlink.c: Likewise.
6784 * io/unlinkat.c: Likewise.
6785 * io/utime.c: Likewise.
6786 * io/utimensat.c: Likewise.
6787 * io/write.c: Likewise.
6788 * io/xmknod.c: Likewise.
6789 * io/xmknodat.c: Likewise.
6790 * io/xstat.c: Likewise.
6791 * io/xstat64.c: Likewise.
6792 * login/getpt.c: Likewise.
6793 * login/grantpt.c: Likewise.
6794 * login/unlockpt.c: Likewise.
6795 * math/e_acoshl.c: Likewise.
6796 * math/e_acosl.c: Likewise.
6797 * math/e_asinl.c: Likewise.
6798 * math/e_atan2l.c: Likewise.
6799 * math/e_atanhl.c: Likewise.
6800 * math/e_coshl.c: Likewise.
6801 * math/e_expl.c: Likewise.
6802 * math/e_fmodl.c: Likewise.
6803 * math/e_gammal_r.c: Likewise.
6804 * math/e_hypotl.c: Likewise.
6805 * math/e_j0l.c: Likewise.
6806 * math/e_j1l.c: Likewise.
6807 * math/e_jnl.c: Likewise.
6808 * math/e_lgammal_r.c: Likewise.
6809 * math/e_log10l.c: Likewise.
6810 * math/e_log2l.c: Likewise.
6811 * math/e_logl.c: Likewise.
6812 * math/e_powl.c: Likewise.
6813 * math/e_rem_pio2l.c: Likewise.
6814 * math/e_sinhl.c: Likewise.
6815 * math/e_sqrtl.c: Likewise.
6816 * math/fclrexcpt.c: Likewise.
6817 * math/fedisblxcpt.c: Likewise.
6818 * math/feenablxcpt.c: Likewise.
6819 * math/fegetenv.c: Likewise.
6820 * math/fegetexcept.c: Likewise.
6821 * math/fegetround.c: Likewise.
6822 * math/feholdexcpt.c: Likewise.
6823 * math/fesetenv.c: Likewise.
6824 * math/fesetround.c: Likewise.
6825 * math/feupdateenv.c: Likewise.
6826 * math/fgetexcptflg.c: Likewise.
6827 * math/fraiseexcpt.c: Likewise.
6828 * math/fsetexcptflg.c: Likewise.
6829 * math/ftestexcept.c: Likewise.
6830 * math/k_cosl.c: Likewise.
6831 * math/k_rem_pio2l.c: Likewise.
6832 * math/k_sinl.c: Likewise.
6833 * math/k_tanl.c: Likewise.
6834 * math/s_asinhl.c: Likewise.
6835 * math/s_atanl.c: Likewise.
6836 * math/s_cbrtl.c: Likewise.
6837 * math/s_erfl.c: Likewise.
6838 * math/s_expm1l.c: Likewise.
6839 * math/s_log1pl.c: Likewise.
6840 * math/s_tanhl.c: Likewise.
6841 * misc/acct.c: Likewise.
6842 * misc/brk.c: Likewise.
6843 * misc/chflags.c: Likewise.
6844 * misc/chroot.c: Likewise.
6845 * misc/fchflags.c: Likewise.
6846 * misc/fgetxattr.c: Likewise.
6847 * misc/flistxattr.c: Likewise.
6848 * misc/fremovexattr.c: Likewise.
6849 * misc/fsetxattr.c: Likewise.
6850 * misc/fsync.c: Likewise.
6851 * misc/ftruncate.c: Likewise.
6852 * misc/futimes.c: Likewise.
6853 * misc/futimesat.c: Likewise.
6854 * misc/getdomain.c: Likewise.
6855 * misc/getdtsz.c: Likewise.
6856 * misc/gethostid.c: Likewise.
6857 * misc/gethostname.c: Likewise.
6858 * misc/getloadavg.c: Likewise.
6859 * misc/getpagesize.c: Likewise.
6860 * misc/getsysstats.c: Likewise.
6861 * misc/getxattr.c: Likewise.
6862 * misc/gtty.c: Likewise.
6863 * misc/ioctl.c: Likewise.
6864 * misc/lgetxattr.c: Likewise.
6865 * misc/listxattr.c: Likewise.
6866 * misc/llistxattr.c: Likewise.
6867 * misc/lremovexattr.c: Likewise.
6868 * misc/lsetxattr.c: Likewise.
6869 * misc/lutimes.c: Likewise.
6870 * misc/madvise.c: Likewise.
6871 * misc/mincore.c: Likewise.
6872 * misc/mlock.c: Likewise.
6873 * misc/mlockall.c: Likewise.
6874 * misc/mmap.c: Likewise.
6875 * misc/mprotect.c: Likewise.
6876 * misc/msync.c: Likewise.
6877 * misc/munlock.c: Likewise.
6878 * misc/munlockall.c: Likewise.
6879 * misc/munmap.c: Likewise.
6880 * misc/preadv.c: Likewise.
6881 * misc/preadv64.c: Likewise.
6882 * misc/ptrace.c: Likewise.
6883 * misc/pwritev.c: Likewise.
6884 * misc/pwritev64.c: Likewise.
6885 * misc/readv.c: Likewise.
6886 * misc/reboot.c: Likewise.
6887 * misc/remap_file_pages.c: Likewise.
6888 * misc/removexattr.c: Likewise.
6889 * misc/revoke.c: Likewise.
6890 * misc/select.c: Likewise.
6891 * misc/setdomain.c: Likewise.
6892 * misc/setegid.c: Likewise.
6893 * misc/seteuid.c: Likewise.
6894 * misc/sethostid.c: Likewise.
6895 * misc/sethostname.c: Likewise.
6896 * misc/setregid.c: Likewise.
6897 * misc/setreuid.c: Likewise.
6898 * misc/setxattr.c: Likewise.
6899 * misc/sstk.c: Likewise.
6900 * misc/stty.c: Likewise.
6901 * misc/swapoff.c: Likewise.
6902 * misc/swapon.c: Likewise.
6903 * misc/sync.c: Likewise.
6904 * misc/syncfs.c: Likewise.
6905 * misc/syscall.c: Likewise.
6906 * misc/truncate.c: Likewise.
6907 * misc/ualarm.c: Likewise.
6908 * misc/usleep.c: Likewise.
6909 * misc/ustat.c: Likewise.
6910 * misc/utimes.c: Likewise.
6911 * misc/vhangup.c: Likewise.
6912 * misc/writev.c: Likewise.
6913 * posix/_exit.c: Likewise.
6914 * posix/alarm.c: Likewise.
6915 * posix/execve.c: Likewise.
6916 * posix/fexecve.c: Likewise.
6917 * posix/fork.c: Likewise.
6918 * posix/fpathconf.c: Likewise.
6919 * posix/getaddrinfo.c: Likewise.
6920 * posix/getegid.c: Likewise.
6921 * posix/geteuid.c: Likewise.
6922 * posix/getgid.c: Likewise.
6923 * posix/getgroups.c: Likewise.
6924 * posix/getlogin.c: Likewise.
6925 * posix/getlogin_r.c: Likewise.
6926 * posix/getpgid.c: Likewise.
6927 * posix/getpid.c: Likewise.
6928 * posix/getppid.c: Likewise.
6929 * posix/getresgid.c: Likewise.
6930 * posix/getresuid.c: Likewise.
6931 * posix/getsid.c: Likewise.
6932 * posix/getuid.c: Likewise.
6933 * posix/glob64.c: Likewise.
6934 * posix/nanosleep.c: Likewise.
6935 * posix/pathconf.c: Likewise.
6936 * posix/pause.c: Likewise.
6937 * posix/posix_madvise.c: Likewise.
6938 * posix/pread.c: Likewise.
6939 * posix/pread64.c: Likewise.
6940 * posix/pwrite.c: Likewise.
6941 * posix/pwrite64.c: Likewise.
6942 * posix/sched_getaffinity.c: Likewise.
6943 * posix/sched_getp.c: Likewise.
6944 * posix/sched_gets.c: Likewise.
6945 * posix/sched_primax.c: Likewise.
6946 * posix/sched_primin.c: Likewise.
6947 * posix/sched_rr_gi.c: Likewise.
6948 * posix/sched_setaffinity.c: Likewise.
6949 * posix/sched_setp.c: Likewise.
6950 * posix/sched_sets.c: Likewise.
6951 * posix/sched_yield.c: Likewise.
6952 * posix/setgid.c: Likewise.
6953 * posix/setlogin.c: Likewise.
6954 * posix/setpgid.c: Likewise.
6955 * posix/setresgid.c: Likewise.
6956 * posix/setresuid.c: Likewise.
6957 * posix/setsid.c: Likewise.
6958 * posix/setuid.c: Likewise.
6959 * posix/sleep.c: Likewise.
6960 * posix/spawni.c: Likewise.
6961 * posix/sysconf.c: Likewise.
6962 * posix/times.c: Likewise.
6963 * posix/wait.c: Likewise.
6964 * posix/wait3.c: Likewise.
6965 * posix/wait4.c: Likewise.
6966 * posix/waitpid.c: Likewise.
6967 * resolv/gai_sigqueue.c: Likewise.
6968 * resource/getpriority.c: Likewise.
6969 * resource/getrlimit.c: Likewise.
6970 * resource/getrusage.c: Likewise.
6971 * resource/nice.c: Likewise.
6972 * resource/setpriority.c: Likewise.
6973 * resource/setrlimit.c: Likewise.
6974 * resource/ulimit.c: Likewise.
6975 * rt/aio_cancel.c: Likewise.
6976 * rt/aio_fsync.c: Likewise.
6977 * rt/aio_read.c: Likewise.
6978 * rt/aio_sigqueue.c: Likewise.
6979 * rt/aio_suspend.c: Likewise.
6980 * rt/aio_write.c: Likewise.
6981 * rt/clock_getres.c: Likewise.
6982 * rt/clock_gettime.c: Likewise.
6983 * rt/clock_nanosleep.c: Likewise.
6984 * rt/clock_settime.c: Likewise.
6985 * rt/lio_listio.c: Likewise.
6986 * rt/mq_close.c: Likewise.
6987 * rt/mq_getattr.c: Likewise.
6988 * rt/mq_notify.c: Likewise.
6989 * rt/mq_open.c: Likewise.
6990 * rt/mq_receive.c: Likewise.
6991 * rt/mq_send.c: Likewise.
6992 * rt/mq_setattr.c: Likewise.
6993 * rt/mq_timedreceive.c: Likewise.
6994 * rt/mq_timedsend.c: Likewise.
6995 * rt/mq_unlink.c: Likewise.
6996 * rt/shm_open.c: Likewise.
6997 * rt/shm_unlink.c: Likewise.
6998 * rt/timer_create.c: Likewise.
6999 * rt/timer_delete.c: Likewise.
7000 * rt/timer_getoverr.c: Likewise.
7001 * rt/timer_gettime.c: Likewise.
7002 * rt/timer_settime.c: Likewise.
7003 * setjmp/__longjmp.c: Likewise.
7004 * setjmp/setjmp.c: Likewise.
7005 * signal/kill.c: Likewise.
7006 * signal/killpg.c: Likewise.
7007 * signal/raise.c: Likewise.
7008 * signal/sigaction.c: Likewise.
7009 * signal/sigaltstack.c: Likewise.
7010 * signal/sigblock.c: Likewise.
7011 * signal/sigignore.c: Likewise.
7012 * signal/sigintr.c: Likewise.
7013 * signal/signal.c: Likewise.
7014 * signal/sigpause.c: Likewise.
7015 * signal/sigpending.c: Likewise.
7016 * signal/sigqueue.c: Likewise.
7017 * signal/sigreturn.c: Likewise.
7018 * signal/sigset.c: Likewise.
7019 * signal/sigsetmask.c: Likewise.
7020 * signal/sigstack.c: Likewise.
7021 * signal/sigsuspend.c: Likewise.
7022 * signal/sigtimedwait.c: Likewise.
7023 * signal/sigvec.c: Likewise.
7024 * signal/sigwait.c: Likewise.
7025 * signal/sigwaitinfo.c: Likewise.
7026 * signal/sysv_signal.c: Likewise.
7027 * socket/accept.c: Likewise.
7028 * socket/accept4.c: Likewise.
7029 * socket/bind.c: Likewise.
7030 * socket/connect.c: Likewise.
7031 * socket/getpeername.c: Likewise.
7032 * socket/getsockname.c: Likewise.
7033 * socket/getsockopt.c: Likewise.
7034 * socket/isfdtype.c: Likewise.
7035 * socket/listen.c: Likewise.
7036 * socket/recv.c: Likewise.
7037 * socket/recvfrom.c: Likewise.
7038 * socket/recvmsg.c: Likewise.
7039 * socket/send.c: Likewise.
7040 * socket/sendmsg.c: Likewise.
7041 * socket/sendto.c: Likewise.
7042 * socket/setsockopt.c: Likewise.
7043 * socket/shutdown.c: Likewise.
7044 * socket/sockatmark.c: Likewise.
7045 * socket/socket.c: Likewise.
7046 * socket/socketpair.c: Likewise.
7047 * stdio-common/ctermid.c: Likewise.
7048 * stdio-common/cuserid.c: Likewise.
7049 * stdio-common/remove.c: Likewise.
7050 * stdio-common/rename.c: Likewise.
7051 * stdio-common/renameat.c: Likewise.
7052 * stdio-common/tempname.c: Likewise.
7053 * stdlib/getcontext.c: Likewise.
7054 * stdlib/makecontext.c: Likewise.
7055 * stdlib/setcontext.c: Likewise.
7056 * stdlib/swapcontext.c: Likewise.
7057 * stdlib/system.c: Likewise.
7058 * streams/fattach.c: Likewise.
7059 * streams/fdetach.c: Likewise.
7060 * streams/getmsg.c: Likewise.
7061 * streams/getpmsg.c: Likewise.
7062 * streams/putmsg.c: Likewise.
7063 * streams/putpmsg.c: Likewise.
7064 * sysdeps/unix/bsd/getpt.c: Likewise.
7065 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7066 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7067 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7069 Likewise.
7070 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7071 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7072 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7073 * sysvipc/msgctl.c: Likewise.
7074 * sysvipc/msgget.c: Likewise.
7075 * sysvipc/msgrcv.c: Likewise.
7076 * sysvipc/msgsnd.c: Likewise.
7077 * sysvipc/semctl.c: Likewise.
7078 * sysvipc/semget.c: Likewise.
7079 * sysvipc/semop.c: Likewise.
7080 * sysvipc/semtimedop.c: Likewise.
7081 * sysvipc/shmat.c: Likewise.
7082 * sysvipc/shmctl.c: Likewise.
7083 * sysvipc/shmdt.c: Likewise.
7084 * sysvipc/shmget.c: Likewise.
7085 * termios/tcdrain.c: Likewise.
7086 * termios/tcflow.c: Likewise.
7087 * termios/tcflush.c: Likewise.
7088 * termios/tcgetattr.c: Likewise.
7089 * termios/tcgetpgrp.c: Likewise.
7090 * termios/tcsendbrk.c: Likewise.
7091 * termios/tcsetattr.c: Likewise.
7092 * termios/tcsetpgrp.c: Likewise.
7093 * time/adjtime.c: Likewise.
7094 * time/clock.c: Likewise.
7095 * time/getitimer.c: Likewise.
7096 * time/gettimeofday.c: Likewise.
7097 * time/setitimer.c: Likewise.
7098 * time/settimeofday.c: Likewise.
7099 * time/stime.c: Likewise.
7100 * time/time.c: Likewise.
7101
71022012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7103
a20492cf
PT
7104 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7105 /usr/old/bin.
7106
72e182e3
PT
7107 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7108 instead of spaces.
7109 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7110
fbeafede
JM
71112012-11-03 Joseph Myers <joseph@codesourcery.com>
7112
5b5b04d6
JM
7113 [BZ #14796]
7114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7115 FE_TONEAREST before applying Dekker multiplication and Knuth
7116 addition. Clear inexact exceptions and check for exact zero
7117 results afterwards.
7118 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7119 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7121 * math/libm-test.inc (fma_test): Add more tests.
7122 (fma_test_towardzero): Likewise.
7123 (fma_test_downward): Likewise.
7124 (fma_test_upward): Likewise.
7125 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7126 function.
7127 (libc_fesetround): New macro.
7128 (libc_fesetroundf): Likewise.
7129 (libc_fesetroundl): Likewise.
7130 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7131 function.
7132 (libc_fesetround_387): Likewise.
7133 (libc_fesetroundf): New macro.
7134 (libc_fesetround): Likewise.
7135 (libc_fesetroundl): Likewise.
7136 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7137 function.
7138 (libc_fesetroundf): New macro.
7139 (libc_fesetround): Likewise.
7140 (libc_fesetroundl): Likewise.
7141 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7142 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7143 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7144 libm_hidden_ver.
7145 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7146 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7147 libm_hidden_def.
7148 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7149 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7150 libm_hidden_ver.
7151 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7152 libm_hidden_def.
7153
fbeafede
JM
7154 [BZ #3439]
7155 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7156 integer constant usable in #if and use that to give value to enum
7157 constant.
7158 (FE_DIVBYZERO): Likewise.
7159 (FE_UNDERFLOW): Likewise.
7160 (FE_OVERFLOW): Likewise.
7161 (FE_INVALID): Likewise.
7162 (FE_INVALID_SNAN): Likewise.
7163 (FE_INVALID_ISI): Likewise.
7164 (FE_INVALID_IDI): Likewise.
7165 (FE_INVALID_ZDZ): Likewise.
7166 (FE_INVALID_IMZ): Likewise.
7167 (FE_INVALID_COMPARE): Likewise.
7168 (FE_INVALID_SOFTWARE): Likewise.
7169 (FE_INVALID_SQRT): Likewise.
7170 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7171 (FE_TONEAREST): Likewise.
7172 (FE_TOWARDZERO): Likewise.
7173 (FE_UPWARD): Likewise.
7174 (FE_DOWNWARD): Likewise.
7175 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7176 (FE_DIVBYZERO): Likewise.
7177 (FE_OVERFLOW): Likewise.
7178 (FE_UNDERFLOW): Likewise.
7179 (FE_INEXACT): Likewise.
7180 (FE_TONEAREST): Likewise.
7181 (FE_DOWNWARD): Likewise.
7182 (FE_UPWARD): Likewise.
7183 (FE_TOWARDZERO): Likewise.
7184 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7185 (FE_UNDERFLOW): Likewise.
7186 (FE_OVERFLOW): Likewise.
7187 (FE_DIVBYZERO): Likewise.
7188 (FE_INVALID): Likewise.
7189 (FE_TONEAREST): Likewise.
7190 (FE_TOWARDZERO): Likewise.
7191 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7192 (FE_OVERFLOW): Likewise.
7193 (FE_UNDERFLOW): Likewise.
7194 (FE_DIVBYZERO): Likewise.
7195 (FE_INEXACT): Likewise.
7196 (FE_TONEAREST): Likewise.
7197 (FE_TOWARDZERO): Likewise.
7198 (FE_UPWARD): Likewise.
7199 (FE_DOWNWARD): Likewise.
7200 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7201 (FE_DIVBYZERO): Likewise.
7202 (FE_OVERFLOW): Likewise.
7203 (FE_UNDERFLOW): Likewise.
7204 (FE_INEXACT): Likewise.
7205 (FE_TONEAREST): Likewise.
7206 (FE_DOWNWARD): Likewise.
7207 (FE_UPWARD): Likewise.
7208 (FE_TOWARDZERO): Likewise.
7209
105ca950
CM
72102012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7211
7212 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7213
a542b389
AS
72142012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7215
7216 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7217 commands. Quote $PWD.
7218 (blacklist_exports): Don't use remove_newlines. Replace "declare
7219 -x" by "export".
7220 (remove_newlines): Remove.
7221
f62c8abc
L
72222012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7223
7224 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7225 * stdlib/stdlib.h (atof): Moved to ...
7226 * include/bits/stdlib-float.h: Here. New file.
7227 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7228 * stdlib/bits/stdlib-float.h: New file.
7229 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7230 -mno-sse -mno-mmx.
7231 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7232 <xmmintrin.h>.
7233
0155d5b2
JM
72342012-11-02 Joseph Myers <joseph@codesourcery.com>
7235
a68d0680
JM
7236 * conform/conformtest.pl (@headers): Add fenv.h.
7237 * conform/data/fenv.h-data: New file.
7238 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7239 include of <math/fenv.h>.
7240
caf7f573
JM
7241 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7242 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7243 && !UNIX98]. Enables tests for XOPEN2K8.
7244 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7245 POSIX2008]: Likewise.
7246
6c073ad6
JM
7247 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7248 (struct rusage): Do not expect type or its members.
7249
0155d5b2
JM
7250 [BZ #3439]
7251 * math/math.h (FP_NAN): Define macro to integer constant usable in
7252 #if and use that to give value to enum constant.
7253 (FP_INFINITE): Likewise.
7254 (FP_ZERO): Likewise.
7255 (FP_SUBNORMAL): Likewise.
7256 (FP_NORMAL): Likewise.
7257
b5dcacb4
AS
72582012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7259
7260 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7261 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7262 arguments.
7263
f7934be8
RM
72642012-11-02 Roland McGrath <roland@hack.frob.com>
7265
7266 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7267 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7268 autoconf-time if not.
7269 * configure.in: Remove AC_PREREQ.
7270
d7d08bde
TMQMF
72712012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7272
7273 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7274 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7275 of the internal implementation.
7276
dcdae19a
JM
72772012-11-02 Joseph Myers <joseph@codesourcery.com>
7278
7279 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7280 except include of <misc/sys/syslog.h>.
7281
d6cffd3e
AS
72822012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7283
7284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7285 function returns with a NULL context exit with zero.
7286
b3563932
TMQMF
72872012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7288
7289 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7290
b288a93d
L
72912012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7292
7293 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7294 (run_program_cmd): This.
7295 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7296 (tst_langinfo): New variable. Use it.
7297
a2421a68
SAS
72982012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7299
7300 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7301 floating point opcodes.
7302
6f796e1b
TS
73032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7304
7402596b
TS
7305 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7306 variable.
7307
d0d4f868
TS
7308 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7309
6f796e1b
TS
7310 * sysdeps/mach/hurd/powerpc: Remove directory.
7311 * sysdeps/mach/powerpc: Likewise.
7312
4da224a2
AS
73132012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7314
7315 * scripts/check-local-headers.sh: Ignore c++ headers.
7316
341dd673
TS
73172012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7318
7319 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7320 __libc_cleanup_region_start argument.
7321
473611b2
JM
73222012-11-01 Joseph Myers <joseph@codesourcery.com>
7323
7324 [BZ #14784]
7325 [BZ #14785]
7326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7327 x * y using scaling, not as x * y + z.
7328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7330 * math/libm-test.inc (fma_test): Add more tests.
7331 (fma_test_towardzero): Likewise.
7332 (fma_test_downward): Likewise.
7333 (fma_test_upward): Likewise.
7334
4078da3d
TS
73352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7336
7337 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7338
903252aa
JM
73392012-10-31 Joseph Myers <joseph@codesourcery.com>
7340
7341 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7342 New variable.
7343
cbc818d0
TS
73442012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7345
7346 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7347
5a03cb1e
AS
73482012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7349
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7351 Fix sort order.
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7353 Likewise.
7354
90aff2ff
TMQMF
73552012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7356
7357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7358 Fix the order of the list for glibc 2.17.
7359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7360 Likewise.
7361
1818fcb7
AS
73622012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7363
7364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7365
ef82f4da
JM
73662012-10-31 Joseph Myers <joseph@codesourcery.com>
7367
16a0e2ec
JM
7368 [BZ #14610]
7369 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7370 for low part of x being zero before using __atanl (y).
7371 * math/libm-test.inc (atan2_test): Add another test.
7372
0eb69512
JM
7373 * manual/install.texi (Configuring and compiling): Document
7374 general use of test-wrapper and test-wrapper-env.
7375 * INSTALL: Regenerated.
7376
ef82f4da
JM
7377 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7378 (__fma): Do not extract and scale down low bits on after-rounding
7379 systems when result rounded to normal precision would have normal
7380 exponent.
7381 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7382 (__fmal): Do not extract and scale down low bits on after-rounding
7383 systems when result rounded to normal precision would have normal
7384 exponent.
7385 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7386 (__fmal): Do not extract and scale down low bits on after-rounding
7387 systems when result rounded to normal precision would have normal
7388 exponent.
7389 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7390 macro.
7391 (fma_test): Add more tests.
7392 (fma_test_towardzero): Likewise.
7393 (fma_test_downward): Likewise.
7394 (fma_test_upward): Likewise.
7395
954ef0d9
L
73962012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7397
7398 * sysdeps/i386/tininess.h: Renamed to ...
7399 * sysdeps/x86/tininess.h: This.
7400 * sysdeps/x86_64/tininess.h: Removed.
7401
df61ffb2
JM
74022012-10-30 Joseph Myers <joseph@codesourcery.com>
7403
7404 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7405 input. Use $(build-program-cmd).
7406 ($(objpfx)tst-array1-static.out): Likewise.
7407 ($(objpfx)tst-array2.out): Likewise.
7408 ($(objpfx)tst-array3.out): Likewise.
7409 ($(objpfx)tst-array4.out): Likewise.
7410 ($(objpfx)tst-array5.out): Likewise.
7411 ($(objpfx)tst-array5-static.out): Likewise.
7412
01767843
CM
74132012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7414
47cc1490
CM
7415 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7416 if defined.
7417
01767843
CM
7418 * nss/nsswitch.h (nss_interface_function): Provide new
7419 macro for use with NSS functions.
7420 * grp/initgroups.c: Use new macro.
7421 * nss/getXXbyYY.c: Likewise.
7422 * nss/getXXbyYY_r.c: Likewise.
7423 * nss/getXXent.c: Likewise.
7424 * nss/getXXent_r.c: Likewise.
7425 * sysdeps/posix/getaddrinfo.c: Likewise.
7426
8321aa97
AJ
74272012-10-30 Andreas Jaeger <aj@suse.de>
7428
7429 * po/ru.po: Update Russion translation from translation project.
7430
2a27fd6d
JM
74312012-10-30 Joseph Myers <joseph@codesourcery.com>
7432
8627a232
JM
7433 [BZ #14152]
7434 [BZ #14783]
7435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7436 result and shift together with sticky bit instead of replicating
7437 round-to-nearest rounding.
7438 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7439 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7440 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7441 missing underflow exceptions.
7442 (fma_test_towardzero): Add more tests.
7443 (fma_test_downward): Likewise.
7444 (fma_test_upward): Likewise.
7445
2a27fd6d
JM
7446 [BZ #14047]
7447 * sysdeps/generic/tininess.h: New file.
7448 * sysdeps/i386/tininess.h: Likewise.
7449 * sysdeps/sh/tininess.h: Likewise.
7450 * sysdeps/x86_64/tininess.h: Likewise.
7451 * stdlib/tst-strtod-underflow.c: Likewise.
7452 * stdlib/tst-tininess.c: Likewise.
7453 * stdlib/strtod_l.c: Include <tininess.h>.
7454 (round_and_return): Do not set errno for exact underflow cases.
7455 Force an underflow exception when setting errno for underflow.
7456 Determine underflow based on rounding to normal precision if
7457 TININESS_AFTER_ROUNDING.
7458 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7459 ERANGE for exact underflow cases.
7460 * stdlib/Makefile (tests): Add tst-tininess and
7461 tst-strtod-underflow.
7462 ($(objpfx)tst-tininess): Use $(link-libm).
7463 ($(objpfx)tst-strtod-underflow): Likewise.
7464
e7170363
AJ
74652012-10-30 Andreas Jaeger <aj@suse.de>
7466
e5088dc6
AJ
7467 [BZ#14767]
7468 * elf/Makefile (tests): Remove conditional for have-initfini-array
7469 since this is now always required and the variable does not exist
7470 anymore.
7471 (tests-static): Likewise.
7472 (modules-names): Likewise.
7473
e7170363 7474 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7475
7476 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7477 merged with constructor/destructor.
7478 (init_array): Likewise.
7479 * elf/tst-array2dep.c (fini_array): Likewise.
7480 (init_array): Likewise.
7481
60457d8a
MF
74822012-10-29 Mike Frysinger <vapier@gentoo.org>
7483
7484 * manual/message.texi: Delete @cartouche tags.
7485
8bece752
PT
74862012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7487
94ce799f
PT
7488 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7489 EOPNOTSUPP.
7490 * sysdeps/mach/hurd/fsync.c: Likewise.
7491
8bece752
PT
7492 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7493 [_POSIX_REALTIME_SIGNALS]: Change condition to
7494 [_POSIX_REALTIME_SIGNALS > 0].
7495
86ebe6b1
AJ
74962012-10-27 Andreas Jaeger <aj@suse.de>
7497
7498 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7499 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7501 [__WORDSIZE != 64]: Likewise.
7502
54399c08
L
75032012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7504
7505 * iconvdata/tst-table.sh: Remove ${SHELL}.
7506 * iconvdata/tst-tables.sh: Likewise.
7507
e2211bed
DM
75082012-10-25 David S. Miller <davem@davemloft.net>
7509
7510 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7511 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7512 of strtoull.
7513
f303f97c
DM
7514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7515 ifunc-impl-list.c
7516 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7517 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7518 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7519 file.
7520
1e9d84cd
RM
75212012-10-25 Roland McGrath <roland@hack.frob.com>
7522
7523 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7524 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7525 __getdirentries.
7526
df381762
JM
75272012-10-25 Joseph Myers <joseph@codesourcery.com>
7528 Jim Blandy <jimb@codesourcery.com>
7529
7530 * scripts/cross-test-ssh.sh: New file.
7531 * manual/install.texi (Configuring and compiling): Document use of
7532 cross-test-ssh.sh.
7533 * INSTALL: Regenerated.
7534
bff64913
PT
75352012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7536
7537 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7538 EOPNOTSUPP.
7539
25fe8932
JM
75402012-10-25 Joseph Myers <joseph@codesourcery.com>
7541
7542 * Makeconfig (run-program-prefix): Fix comment.
7543
cc1290d0
JM
75442012-10-24 Joseph Myers <joseph@codesourcery.com>
7545 Jim Blandy <jimb@codesourcery.com>
7546
7547 * Makeconfig (test-wrapper): New variable,
7548 (test-wrapper-env): Likewise.
7549 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7550 (run-built-tests): Define to yes.
7551 (run-program-prefix): Use $(test-wrapper).
7552 (built-program-cmd): Likewise.
7553 * Rules (make-test-out): Use $(test-wrapper-env) and
7554 $(host-built-program-cmd).
7555 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7556 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7557 tst-pathopt.sh.
7558 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7559 $(test-wrapper-env) to tst-rtld-load-self.sh.
7560 ($(objpfx)order2.out): Use $(test-wrapper).
7561 ($(objpfx)tst-initorder.out): Likewise.
7562 ($(objpfx)tst-initorder2.out): Likewise.
7563 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7564 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7565 (test_wrapper_env): New variable. Use it to run ld.so.
7566 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7567 Use it to run ld.so.
7568 (test_wrapper_env): Likewise.
7569 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7570 $(test-wrapper) to run-iconv-test.sh.
7571 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7572 (ICONV): Use $test_wrapper.
7573 * posix/Makefile ($(objpfx)globtest.out): Pass
7574 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7575 globtest.sh, not $(run-program-prefix).
7576 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7577 (test_wrapper): Likewise.
7578 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7579 set together with run_via_rtld_prefix.
7580 (run_program_prefix): Define in terms of test_wrapper and
7581 run_via_rtld_prefix.
7582
6e6249d0
RM
75832012-10-24 Roland McGrath <roland@hack.frob.com>
7584
7585 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7586 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7587 Targets removed.
7588
7589 [BZ #14743]
7590 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7591 Declare __clock_getres, __clock_gettime, __clock_settime,
7592 __clock_nanosleep, and __clock_getcpuclockid.
7593 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7594 Remove librt_hidden_def (clock_gettime).
7595 * sysdeps/unix/clock_gettime.c: Likewise.
7596 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7597 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7598 * rt/clock_getres.c: Define __clock_getres as an alias.
7599 * sysdeps/posix/clock_getres.c: Likewise.
7600 * rt/clock_settime.c: Define __clock_settime as an alias.
7601 * sysdeps/unix/clock_settime.c: Likewise.
7602 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7603 * sysdeps/unix/clock_nanosleep.c: Likewise.
7604 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7605 * rt/clock-compat.c: New file.
7606 * rt/Makefile (librt-routines): Add clock-compat and move
7607 $(clock-routines) to ...
7608 (routines): ... here, new variable.
7609 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7610 Don't add get_clockfreq here.
7611 * rt/Versions (libc: GLIBC_2.17): New version set.
7612 Add clock_* symbols here.
7613 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7614 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7615 (GLIBC_2.17): Add clock_* symbols.
7616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7618 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7620 Likewise.
7621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7622 Likewise.
7623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7627 * NEWS: Mention the move.
7628
7629 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7630 Use __open, __read, __close rather than their public counterparts.
7631 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7632 (__get_clockfreq_via_cpuinfo): Likewise.
7633 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7634 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7635
7636 * config.h.in (HAVE_IFUNC): New #undef.
7637 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7638 was successful.
7639 * configure: Regenerated.
7640
0cae3f4b
MF
76412012-10-24 Mike Frysinger <vapier@gentoo.org>
7642
7643 * configure.in: Move READELF check to start of file.
7644 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7645 libc_cv_asm_gnu_indirect_function in the process.
7646 * configure: Regenerated.
7647
8175a253
MF
76482012-10-24 Mike Frysinger <vapier@gentoo.org>
7649
7650 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7651 send the output to /dev/null.
7652 (libc_cv_cc_with_libunwind): Likewise.
7653 (libc_cv_as_noexecstack): Likewise.
7654 * configure: Regenerate.
7655
0708a7d1
JM
76562012-10-24 Joseph Myers <joseph@codesourcery.com>
7657
10b40d85
JM
7658 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7659
0708a7d1
JM
7660 * posix/globtest.sh (TMPDIR): Do not set.
7661 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7662 (testout): Likewise.
7663
9fddec1a
AJ
76642012-10-24 Andreas Jaeger <aj@suse.de>
7665
3a8db22f
AJ
7666 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7667 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7668 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7669 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7670 posix_fadvise64, posix_fallocate64.
7671
9fddec1a
AJ
7672 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7673 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7674 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7675 Likewise.
7676 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7677 Likewise.
7678 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7679
7680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7681 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7682 <bits/fcntl-linux.h>.
7683 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7684
7685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7686 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7687 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7688 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7689 [__WORDSIZE != 64]: Likewise.
7690
ebfd1bbd
JM
76912012-10-23 Joseph Myers <joseph@codesourcery.com>
7692
03ac099f
JM
7693 * Makeconfig (run-built-tests): New variable.
7694 * Rules [$(cross-compiling) = yes]: Change condition to
7695 [$(run-built-tests) = no].
7696 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7697 to [$(run-built-tests) = yes].
7698 * elf/Makefile [$(cross-compiling) = no]: Likewise
7699 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7700 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7701 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7702 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7703 * io/Makefile [$(cross-compiling) = no]: Likewise.
7704 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7705 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7706 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7707 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7708 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7709 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7710 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7711 * string/Makefile [$(cross-compiling) = no]: Likewise.
7712
ebfd1bbd
JM
7713 * posix/Makefile ($(objpfx)globtest.out): Pass
7714 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7715 $(rtld-installed-name).
7716 * posix/globtest.sh (elf_objpfx): Remove variable.
7717 (rtld_installed_name): Likewise.
7718 (library_path): Likewise.
7719 (run_program_prefix): New variable. Use for running globtest
7720 binary.
7721
166bca24
JB
77222012-10-23 Jim Blandy <jimb@codesourcery.com>
7723 Joseph Myers <joseph@codesourcery.com>
7724
7725 * Makeconfig (host-built-program-cmd): New variable.
7726 * elf/Makefile (tst-stackguard1-ARGS): Use
7727 $(host-built-program-cmd).
7728 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7729 (tst-spawn-ARGS): Likewise.
7730 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7731
88866099
JM
77322012-10-23 Joseph Myers <joseph@codesourcery.com>
7733 Jim Blandy <jimb@codesourcery.com>
7734
7735 * Makeconfig (run-via-rtld-prefix): New variable.
7736 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7737 (built-program-cmd): Likewise.
7738
b4b4c296
AJ
77392012-10-22 Andreas Jaeger <aj@suse.de>
7740
7741 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7742 __O_RSYNC if it exists, otherwise to O_SYNC.
7743
6fb54a22
JB
77442012-10-22 Jim Blandy <jimb@codesourcery.com>
7745 Joseph Myers <joseph@codesourcery.com>
7746
7747 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7748 /dev/null.
7749 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7750 from /dev/null
7751 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7752 /dev/null.
7753
481b90b9
AJ
77542012-10-22 Andreas Jaeger <aj@suse.de>
7755
2a0e2669
AJ
7756 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7757 Define always.
7758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7759
76e38f9a
AJ
7760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7761 bits/fcntl-linux.h.
7762
7cd37b43
AJ
7763 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7764 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7765
481b90b9
AJ
7766 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7767 to __O_LARGEFILE.
7768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7769 to __O_LARGEFILE.
7770
aba75984
JB
77712012-10-21 Jim Blandy <jimb@codesourcery.com>
7772 Joseph Myers <joseph@codesourcery.com>
7773
7774 * config.make.in (NM): New variable.
7775
88d4247f
AJ
77762012-10-21 Andreas Jaeger <aj@suse.de>
7777
7778 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7779 definitions and declarations that are provided by
7780 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7781
f2eed205
L
77822012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7783
7784 [BZ #14683]
7785 * elf/Makefile (tests-static): Add tst-leaks1-static.
7786 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7787 ($(objpfx)tst-leaks1-static): New rule.
7788 ($(objpfx)tst-leaks1-static-mem): Likewise.
7789 (tst-leaks1-static-ENV): New macro.
7790 * elf/dl-open.c (dl_open_worker): Check the main application
7791 only if SHARED is defined.
7792 * elf/tst-leaks1-static.c: New file.
7793
335e6931
AJ
77942012-10-20 Andreas Jaeger <aj@suse.de>
7795
7796 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7797 generic values for Linux.
7798 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7799 and declarations that are provided by <bits/fcntl-linux.h> and
7800 include <bits/fcntl-linux.h>.
7801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7802 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7803
ac5c94d3
RM
78042012-10-20 Roland McGrath <roland@hack.frob.com>
7805
7806 * io/fcntl.h: Move include of <bits/types.h> to the top and
7807 include it unconditionally.
7808
de54b33a
L
78092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7810
228cfb01
L
7811 * wcsmbs/Makefile (tests-ifunc): New variable.
7812 (tests): Add $(tests-ifunc).
7813 * wcsmbs/test-wcschr-ifunc.c: New file.
7814 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7815 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7816 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7817 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7818 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7819
69f07e5f
L
7820 * string/Makefile (tests-ifunc): New variable.
7821 (tests): Add $(tests-ifunc).
7822 * string/test-memccpy.c (TEST_NAME): New macro.
7823 * string/test-memchr.c (TEST_NAME): Likewise.
7824 * string/test-memcmp.c (TEST_NAME): Likewise.
7825 * string/test-memcpy.c (TEST_NAME): Likewise.
7826 * string/test-memmem.c (TEST_NAME): Likewise.
7827 * string/test-memmove.c (TEST_NAME): Likewise.
7828 * string/test-memset.c (TEST_NAME): Likewise.
7829 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7830 * string/test-stpcpy.c (TEST_NAME): Likewise.
7831 * string/test-stpncpy.c (TEST_NAME): Likewise.
7832 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7833 * string/test-strcasestr.c (TEST_NAME): Likewise.
7834 * string/test-strcat.c (TEST_NAME): Likewise.
7835 * string/test-strchr.c (TEST_NAME): Likewise.
7836 * string/test-strcmp.c(TEST_NAME): Likewise.
7837 * string/test-strcpy.c (TEST_NAME): Likewise.
7838 * string/test-strcspn.c (TEST_NAME): Likewise.
7839 * string/test-strlen.c (TEST_NAME): Likewise.
7840 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7841 * string/test-strncmp.c (TEST_NAME): Likewise.
7842 * string/test-strncpy.c (TEST_NAME): Likewise.
7843 * string/test-strnlen.c (TEST_NAME): Likewise.
7844 * string/test-strpbrk.c (TEST_NAME): Likewise.
7845 * string/test-strrchr.c (TEST_NAME): Likewise.
7846 * string/test-strspn.c (TEST_NAME): Likewise.
7847 * string/test-strstr.c (TEST_NAME): Likewise.
7848 * string/test-bcopy-ifunc.c: New file.
7849 * string/test-bzero-ifunc.c: Likewise.
7850 * string/test-memccpy-ifunc.c: Likewise.
7851 * string/test-memchr-ifunc.c: Likewise.
7852 * string/test-memcmp-ifunc.c: Likewise.
7853 * string/test-memcpy-ifunc.c: Likewise.
7854 * string/test-memmem-ifunc.c: Likewise.
7855 * string/test-memmove-ifunc.c: Likewise.
7856 * string/test-mempcpy-ifunc.c: Likewise.
7857 * string/test-memset-ifunc.c: Likewise.
7858 * string/test-rawmemchr-ifunc.c: Likewise.
7859 * string/test-stpcpy-ifunc.c: Likewise.
7860 * string/test-stpncpy-ifunc.c: Likewise.
7861 * string/test-strcasecmp-ifunc.c: Likewise.
7862 * string/test-strcasestr-ifunc.c: Likewise.
7863 * string/test-strcat-ifunc.c: Likewise.
7864 * string/test-strchr-ifunc.c: Likewise.
7865 * string/test-strchrnul-ifunc.c: Likewise.
7866 * string/test-strcmp-ifunc.c: Likewise.
7867 * string/test-strcpy-ifunc.c: Likewise.
7868 * string/test-strcspn-ifunc.c: Likewise.
7869 * string/test-strlen-ifunc.c: Likewise.
7870 * string/test-strncasecmp-ifunc.c: Likewise.
7871 * string/test-strncat-ifunc.c: Likewise.
7872 * string/test-strncmp-ifunc.c: Likewise.
7873 * string/test-strncpy-ifunc.c: Likewise.
7874 * string/test-strnlen-ifunc.c: Likewise.
7875 * string/test-strpbrk-ifunc.c: Likewise.
7876 * string/test-strrchr-ifunc.c: Likewise.
7877 * string/test-strspn-ifunc.c: Likewise.
7878 * string/test-strstr-ifunc.c: Likewise.
7879
de54b33a
L
7880 * debug/Makefile (tests-ifunc): New variable.
7881 (tests): Add $(tests-ifunc).
7882 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7883 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7884 * debug/test-stpcpy_chk-ifunc.c: New file.
7885 * debug/test-strcpy_chk-ifunc.c: Likewise.
7886
88481c16
SP
78872012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7888
7889 [BZ #13601]
7890 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7891 header is not read in.
7892
135948bd
JM
78932012-10-19 Joseph Myers <joseph@codesourcery.com>
7894
89f1c388
JM
7895 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7896 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7897 directly. Pass built executable to script as
7898 $(built-program-cmd).
7899 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7900 $testprogram without using LD_LIBRARY_PATH and $ldso.
7901
e40a0d21
JM
7902 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7903 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7904 $(rtld-installed-name).
7905 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7906 (rtld_installed_name): Likewise.
7907 (library_path): Likewise.
7908 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7909 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7910 $(run-program-prefix) to tst-tables.sh.
7911 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7912 it to run tst-table-from and tst-table-to.
7913 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7914 Pass it to tst-table.sh.
7915 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7916 $(run-program-prefix) to tst-gettext.sh.
7917 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7918 tst-translit.sh.
7919 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7920 tst-gettext2.sh.
7921 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7922 to run tst-gettext.
7923 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7924 to run tst-gettext2.
7925 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7926 to run tst-translit.
7927 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7928 $(run-program-prefix) to tst-mtrace.sh.
7929 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7930 to run tst-mtrace.
7931 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7932 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7933 $(rtld-installed-name).
7934 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7935 (rtld_installed_name): Likewise.
7936 (run_program_prefix): New variable. Use it to run wordexp-test.
7937
728e272a
JM
7938 * Makeconfig (ARCH): Remove all definitions.
7939 (machine): Likewise.
7940 [ARCH]: Remove conditional code.
7941 [!objdir]: Give error.
7942 [!objdir] (objpfx): Remove.
7943 [!objdir] (common-objpfx): Likewise.
7944 [!objdir] (common-objdir): Likewise.
7945 * configure.in (config_makefile): Remove. Hardcode Makefile in
7946 AC_CONFIG_FILES call.
7947 * configure: Regenerated.
7948
d528cdcf
JM
7949 [BZ #13888]
7950 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7951 or TMPDIR.
7952 (testout): Likewise.
7953
135948bd
JM
7954 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7955 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7956 $(rtld-installed-name).
7957 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7958 (rtld_installed_name): Likwise.
7959 (runit): Remove function.
7960 (run_getconf): New variable, Use it for running getconf binary.
7961
38c78296
L
79622012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7963
7964 [BZ #14716]
7965 * string/test-memmem.c (check_result): New function.
7966 (do_one_test): Use it.
7967 (check1): New function.
7968 (test_main): Use it.
7969
d077f65f
MT
79702012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7971
7972 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7973
ced52c71
JM
79742012-10-18 Joseph Myers <joseph@codesourcery.com>
7975
7976 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7977 (_G_LSEEK64): Likewise.
7978 (_G_MMAP64): Likewise.
7979 (_G_FSTAT64): Likewise.
7980 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7981 (_G_LSEEK64): Likewise.
7982 (_G_MMAP64): Likewise.
7983 (_G_FSTAT64): Likewise.
7984 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7985 unconditional. Call __mmap64 directly.
7986 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7987 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7988 __lseek64 directly.
7989 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7990 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7991 __mmap64 directly.
7992 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7993 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7994 __lseek64 directly.
7995 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7996 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7997 __lseek64 directly.
7998 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7999 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8000 __lseek64 directly.
8001 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8002 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8003 __fxstat64 directly.
8004 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8005 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8006 unconditional.
8007 (freopen64) [!_G_OPEN64]: Remove conditional code.
8008 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8009 unconditional.
8010 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8011 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8012 unconditional.
8013 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8014 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8015 unconditional.
8016 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8017 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8018 unconditional.
8019 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8020 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8021 unconditional.
8022 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8023 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8024 unconditional.
8025 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8026 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8027 unconditional.
8028 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8029
b741de23
SP
80302012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8031
8032 [BZ #12140]
8033 * manual/memory.texi (Malloc Tunable Parameters): Add note
8034 about free list pointers overwriting some perturb bytes.
8035 Wording suggested by Roland McGrath.
8036
f9b9d9c9
JM
80372012-10-17 Joseph Myers <joseph@codesourcery.com>
8038
8039 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8040 (lgamma_test): Likewise.
8041 (tgamma_test): Likewise.
8042
172a631a
FW
80432012-10-16 Florian Weimer <fweimer@redhat.com>
8044
8045 [BZ #14700]
8046 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8047 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8048
e9f37252
MK
80492012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8050
8051 * NEWS: Mention BZ #14716.
8052 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8053 when removing AVAILABLE1_USES_J macro.
8054
d394eb74
L
80552012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8056
8057 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8058 (__bswap_64): __uint64_t for unsigned 64-bit int.
8059
ca38dc17
AS
80602012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8061
8062 * include/string.h (memmem): Declare libc hidden alias.
8063 * string/memmem.c (memmem): Define libc hidden alias.
8064 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8065 __read, __close instead of open, read, close.
8066
9a387d1f
L
80672012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8068
ac49ecaf
L
8069 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8070 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8071 global and hidden.
8072 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8073 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8074 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8075 Likewise.
8076 (__rawmemchr_sse2): Likewise.
8077 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8078 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8079 (__strchr_sse2): Likewise.
8080 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8081 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8082 (__strcasecmp_sse2): Likewise.
8083 (__strncasecmp_sse2): Likewise.
8084 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8085 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8086 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8087 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8088 (__strrchr_sse2): Likewise.
8089 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8090 ifunc-impl-list.c.
8091 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8092 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8093 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8094 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8095 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8096 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8097 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8098 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8099 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8100 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8101 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8102 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8103 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8104 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8105 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8106 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8107 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8108 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8109 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8110 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8111 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8112 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8113 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8114 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8115 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8116 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8117 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8118 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8119 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8120 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8121
b090e8ea
L
8122 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8123 global and hidden.
8124 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8125 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8126 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8127 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8128 Likewise.
8129 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8130 Likewise.
8131 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8132 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8133 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8134 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8135 ifunc-impl-list.c.
8136 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8137 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8138 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8139 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8140 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8141 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8142 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8143 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8144 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8145 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8146 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8147 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8148 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8149 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8150 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8151 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8152 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8153 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8154 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8155 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8156 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8157 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8158 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8159 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8160 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8161 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8162 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8163 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8164 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8165 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8166 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8167 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8168 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8169 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8170 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8171 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8172 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8173 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8174 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8175 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8176 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8177
11dd4af6
L
8178 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8179 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8180 * include/ifunc-impl-list.h: New file.
8181 * misc/ifunc-impl-list.c: Likewise.
8182 * misc/Makefile (routines): Add ifunc-impl-list.
8183 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8184 * string/test-string.h: Include <ifunc-impl-list.h>.
8185 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8186 impl_array): New variables.
8187 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8188 are defined.
8189 (test_init): Call __libc_ifunc_impl_list to initialize
8190 func_list if TEST_IFUNC and TEST_NAME are defined.
8191
9a387d1f
L
8192 * string/Makefile (strop-tests): Add bcopy and bzero.
8193 * string/test-bcopy.c: New file.
8194 * string/test-bzero.c: Likewise.
8195 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8196 defined.
8197 * string/test-memset.c: Support bzero test if TEST_BZERO is
8198 defined.
8199 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8200 __libc_memmove.
8201 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8202 __libc_memset.
8203 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8204 of memset.
8205
472371b9
JM
82062012-10-10 Joseph Myers <joseph@codesourcery.com>
8207
1e4a9536
JM
8208 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8209 * configure: Regenerated.
8210
d173d12e
JM
8211 * Makeconfig (+link-static-before-libc): Don't include
8212 $(link-static-libc).
8213
472371b9
JM
8214 * libio/libio.h (_IO_pos_t): Remove.
8215
89a3ad0b
AO
82162012-10-10 Alexandre Oliva <aoliva@redhat.com>
8217
8218 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8219 McGrath.
8220
e7451425
AO
82212012-10-10 Alexandre Oliva <aoliva@redhat.com>
8222
8223 * crypt/crypt-entry.c: Include fips-private.h.
8224 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8225 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8226 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8227 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8228
4ba74a35
AO
82292012-10-10 Alexandre Oliva <aoliva@redhat.com>
8230
8231 * crypt/crypt-private.h: Include stdbool.h.
8232 (_ufc_setup_salt_r): Return bool.
8233 * crypt/crypt-entry.c: Include errno.h.
8234 (__crypt_r): Return NULL with EINVAL for bad salt.
8235 * crypt/crypt_util.c (bad_for_salt): New.
8236 (_ufc_setup_salt_r): Check that salt is long enough and within
8237 the specified alphabet.
8238 * crypt/badsalttest.c: New file.
8239 * crypt/Makefile (tests): Add it.
8240 ($(objpfx)badsalttest): New.
8241
f96f1242
MK
82422012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8243
8244 * NEWS: Add entry for BZ #14602.
8245
0e8e0c1c
JM
82462012-10-09 Joseph Myers <joseph@codesourcery.com>
8247
8248 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8249 type-generic.
8250 * math/libm-test.inc: Update comment listing what functions and
8251 macros are tested.
8252 (isgreater_test): New function.
8253 (isgreaterequal_test): Likewise.
8254 (isless_test): Likewise.
8255 (islessequal_test): Likewise.
8256 (islessgreater_test): Likewise.
8257 (isunordered_test): Likewise.
8258 (main): Call the new functions.
8259
273edc5e
RM
82602012-10-09 Roland McGrath <roland@hack.frob.com>
8261
b8493de0
RM
8262 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8263 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8264 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8265 * sysdeps/i386/configure: Regenerated.
8266 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8267 * sysdeps/mach/configure: Regenerated.
8268 * sysdeps/mach/hurd/configure: Regenerated.
8269 * sysdeps/powerpc/configure: Regenerated.
8270 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8271 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8272 * sysdeps/s390/s390-32/configure: Regenerated.
8273 * sysdeps/s390/s390-64/configure: Regenerated.
8274 * sysdeps/sh/configure: Regenerated.
8275 * sysdeps/sparc/configure: Regenerated.
8276 * sysdeps/unix/sysv/linux/configure: Regenerated.
8277 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8278 * sysdeps/x86_64/configure: Regenerated.
8279
273edc5e
RM
8280 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8281 defined. Don't check if MAP is NULL.
8282
c8450f70
JM
82832012-10-09 Joseph Myers <joseph@codesourcery.com>
8284
8285 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8286 (_G_stat64): Likewise.
8287 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8288 (_G_stat64): Likewise.
8289 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8290 instead of struct _G_stat64.
8291 * libio/fileops.c (mmap_remap_check): Likewise.
8292 (decide_maybe_mmap): Likewise.
8293 (_IO_new_file_seekoff): Likewise.
8294 (_IO_file_stat): Likewise.
8295 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8296 _G_off64_t.
8297 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8298 instead of struct _G_stat64.
8299 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8300
57e605ba
MK
83012012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8302
8303 [BZ #14602]
8304 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8305 Replace with ...
8306 (CHECK_EOL): New macro.
8307 (two_way_short_needle): Check beginning of haystack for EOL. Use
8308 CHECK_EOL.
8309 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8310 Replace with CHECK_EOL.
8311 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8312 Replace with CHECK_EOL.
8313
ef1bb361
JM
83142012-10-08 Joseph Myers <joseph@codesourcery.com>
8315
8316 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8317 type-generic.
8318 * math/libm-test.inc: Update comment listing what functions and
8319 macros are tested.
8320 (finite_test): New function.
8321 (isinf_test): Likewise.
8322 (isnan_test): Likewise.
8323 (fpclassify_test): Test subnormal input.
8324 (isfinite_test): Likewise.
8325 (isnormal_test): Likewise.
8326 (main): Call the new functions.
8327
55f11534
JN
83282012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8329
8330 [BZ #14660]
8331 * Makerules (%.dynsym): Force C locale when running
8332 $(OBJDUMP) --dynamic-syms.
8333
1ab29350
AS
83342012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8335
8336 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8337 <stdint.h>.
8338
f1ecb7ef
DM
83392012-10-06 David S. Miller <davem@davemloft.net>
8340
8341 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8342 upper 32-bits of the length value in %o2 since we use branch-on-register
8343 tests which consider the entire 64-bit register.
8344
5d41d91a
L
83452012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8346
8347 * string/test-strstr.c (check2): Add a test for page boundary.
8348
3baddb72
DM
83492012-10-05 David S. Miller <davem@davemloft.net>
8350
8351 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8352 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8353 file.
8354 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8355 sysdep_routines.
8356 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8357 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8358 and bzero when HWCAP_SPARC_CRYPTO is present.
8359
9cee5585
L
83602012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8361
d7e0dab9
L
8362 [BZ #14602]
8363 * string/test-strstr.c (check2): New function.
8364 (test_main): Call check2.
8365
03759f47
L
8366 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8367 and bug-strchr1.
8368 * string/bug-strcasestr1.c (do_test): Moved to ...
8369 * string/test-strcasestr.c (check1): Here. New function.
8370 (do_one_test): Break out result checking code into ...
8371 (check_result): This. New function.
8372 (do_one_test): Call check_result.
8373 (test_main): Call check1.
8374 * string/bug-strchr1.c (do_test): Moved to ...
8375 * string/test-strchr.c (check1): Here. New function.
8376 (do_one_test): Break out result checking code into ...
8377 (check_result): This. New function.
8378 (do_one_test): Call check_result.
8379 (test_main): Call check1.
8380 * string/bug-strstr1.c (main): Moved to ...
046f153e 8381 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8382 (do_one_test): Break out result checking code into ...
8383 (check_result): This. New function.
8384 (do_one_test): Call check_result.
8385 (test_main): Call check1.
8386 * string/bug-strcasestr1.c: Removed.
8387 * string/bug-strchr1.c: Likewise.
8388 * string/bug-strstr1.c: Likewise.
8389
53cea63e
L
8390 * elf/Makefile (dl-routines): Add hwcaps.
8391 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8392 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8393 (_dl_important_hwcaps): Moved to ...
8394 * elf/dl-hwcaps.c: Here. New file.
8395 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8396
9cee5585 8397 [BZ #14557]
bb859b06
L
8398 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8399 if IS_IN_rtld isn't defined.
8400
9cee5585
L
8401 * elf/dl-support.c (_dl_sysinfo_map): New.
8402 Include "get-dynamic-info.h" and "setup-vdso.h".
8403 (_dl_non_dynamic_init): Call setup_vdso.
8404 * elf/dynamic-link.h: Don't include <assert.h>.
8405 (elf_get_dynamic_info): Moved to ...
8406 * elf/get-dynamic-info.h: Here. New file.
8407 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8408 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8409 * elf/setup-vdso.h: Here. New file.
8410 * elf/rtld.c: Include "setup-vdso.h".
8411 (dl_main): Call setup_vdso.
8412
23c31b76
JM
84132012-10-05 Joseph Myers <joseph@codesourcery.com>
8414
28234b07
JM
8415 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8416 creal in comment listing functions tested. List finite, isinf,
8417 isnan, isless, islessequal, isgreater, isgreaterequal,
8418 islessgreater, isunordered, lgamma_r and pow10 as functions and
8419 macros not tested. Mention which functions not tested are aliases
8420 for other functions. Fix typo. Note that signs of NaNs are not
8421 tested.
8422
23c31b76
JM
8423 * scripts/config.guess: Update from config.git.
8424 * scripts/config.sub: Likewise.
8425
9043e228
RM
84262012-10-04 Roland McGrath <roland@hack.frob.com>
8427
8428 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8429 * misc/madvise.c (madvise): Renamed to __madvise.
8430 Make madvise a weak alias.
8431 * include/sys/mman.h: Declare __madvise.
8432 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8433 * sysdeps/unix/syscalls.list
8434 (madvise): Make __madvise the strong name, and madvise a weak alias.
8435 * sysdeps/unix/sysv/linux/syscalls.list
8436 (madvise, mmap): Remove redundant entries.
8437 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8438 * malloc/malloc.c (mtrim): Likewise.
8439 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8440
f57f8055
RM
84412012-10-03 Roland McGrath <roland@hack.frob.com>
8442
8443 * sysdeps/mach/hurd/dl-cache.c: File removed.
8444 * config.h.in (USE_LDCONFIG): New #undef.
8445 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8446 * configure: Regenerated.
8447 * elf/Makefile (dl-routines): Add dl-cache only under
8448 [$(use-ldconfig) = yes].
8449 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8450 cache on [USE_LDCONFIG].
8451 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8452 [USE_LDCONFIG].
8453 * elf/rtld.c (dl_main): Likewise.
8454
5bb0c10a
PT
84552012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8456
8457 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8458 _SC_LEVEL4_CACHE_LINESIZE.
8459
010188c6
RM
84602012-10-03 Roland McGrath <roland@hack.frob.com>
8461
8462 * sysdeps/unix/bsd/confstr.h: File removed.
8463
b6c5ec07
AO
84642012-10-02 Alexandre Oliva <aoliva@redhat.com>
8465
8466 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8467 sys/sdt-config.h.
8468
408223d4
RM
84692012-10-02 Roland McGrath <roland@hack.frob.com>
8470
8471 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8472 Make 'mapoff' field ElfW(Off) rather than off_t.
8473
bb9510dc
DL
84742012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8475
fc997c6e
DL
8476 * nscd/Makefile: Remove nscd-cflags and all its users.
8477 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8478 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8479
bb9510dc
DL
8480 [BZ #10631]
8481 * malloc.c (malloc_printerr): Clarify error message.
8482
05699367
L
84832012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8484
8485 [BZ #14648]
8486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8487 Set bit_FMA_Usable if FMA is supported.
8488 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8489 macro.
8490 (bit_FMA4_Usable): Updated.
8491 (index_FMA_Usable): New macro.
8492 (CPUID_FMA): Likewise
8493 (HAS_FMA): Defined with bit_FMA_Usable.
8494
51367701
RM
84952012-10-01 Roland McGrath <roland@hack.frob.com>
8496
8497 * bits/types.h (__swblk_t): Type removed.
8498 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8499 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8500 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8501 (__SWBLK_T_TYPE): Likewise.
8502 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8503 (__SWBLK_T_TYPE): Likewise.
8504 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8505 (__SWBLK_T_TYPE): Likewise.
8506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8507 (__SWBLK_T_TYPE): Likewise.
8508
4d57bf63 85092012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8510 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8511
8512 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8513 (xdr_mapname): Use YPMAXMAP as maxsize.
8514 (xdr_peername): Use YPMAXPEER as maxsize.
8515 (xdr_keydat): Use YPAXRECORD as maxsize.
8516 (xdr_valdat): Use YPMAXRECORD as maxsize.
8517
93c65d43
RM
85182012-10-01 Roland McGrath <roland@hack.frob.com>
8519
497a03d6
RM
8520 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8521
93c65d43
RM
8522 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8523 * csu/init-first.c: ... here.
8524 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8525 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8526 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8527 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8528 * sysdeps/i386/init-first.c: File removed.
8529 * sysdeps/sh/init-first.c: File removed.
8530
bec749fd
JM
85312012-10-01 Joseph Myers <joseph@codesourcery.com>
8532
8533 [BZ #14645]
8534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8535 if x * y might underflow to zero and z is zero.
8536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8537 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8538 * math/libm-test.inc (min_subnorm_value): New variable.
8539 (fma_test): Add more tests.
8540 (fma_test_towardzero): Likewise.
8541 (fma_test_downward): Likewise
8542 (fma_test_upward): Likewise.
8543 (initialize): Set min_subnorm_value.
8544
8ec5b013
JM
85452012-09-29 Joseph Myers <joseph@codesourcery.com>
8546
8547 [BZ #14638]
8548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8549 0 + 0.
8550 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8551 mode for addition resulting in exact zero.
8552 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8553 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8554 exact 0 + 0.
8555 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8556 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8557 * math/libm-test.inc (fma_test): Add more tests.
8558 (fma_test_towardzero): New function.
8559 (fma_test_downward): Likewise.
8560 (fma_test_upward): Likewise.
8561 (main): Call the new functions.
8562
b1fa802e
DM
85632012-09-28 David S. Miller <davem@davemloft.net>
8564
8565 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8566
d3b9fd9e
RM
85672012-09-28 Roland McGrath <roland@hack.frob.com>
8568
ea4d37b3
RM
8569 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8570 instead of SIGALRM.
8571
ac51c949
RM
8572 * sysdeps/gnu/_G_config.h: Moved to ...
8573 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8574 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8575 * sysdeps/generic/_G_config.h: ... here.
8576
28c195f7
RM
8577 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8578
848917f9
RM
8579 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8580
6bacf05b
RM
8581 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8582 Conditionalize target on [libnss_test1.so-version].
8583
91363dbb
RM
8584 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8585
cc87f7d8
RM
8586 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8587 (elfobjdir): Move out of conditionals.
8588
b1c608fe
RM
8589 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8590 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8591 (__nss_lookup_function): Conditionalize label remove_from_tree on
8592 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8593
1d9a6d96
DM
85942012-09-28 David S. Miller <davem@davemloft.net>
8595
8596 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8597 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8598 file.
8599 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8600 sysdep_routines.
8601 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8602 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8603 when HWCAP_SPARC_CRYPTO is present.
8604
72581615
PT
86052012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8606
8607 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8608
715a900c
JL
86092012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8610
8611 [BZ #6530]
8612 * stdio-common/vfprintf.c (process_string_arg): Revert
8613 2000-07-22 change.
8614
86152011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8616
8617 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8618 for testcase.
8619 * stdio-common/tst-sprintf.c: Include <locale.h>
8620 (main): Test sprintf's handling of incomplete multibyte
8621 characters.
8622
9bac1d86
L
86232012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8624
8625 * elf/dl-runtime.c (VERSYMIDX): Removed.
8626 * elf/dl-version.c (VERSYMIDX): Likewise.
8627 * elf/do-rel.h (VERSYMIDX): Likewise.
8628 (VALIDX): Likewise.
8629 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8630 * elf/rtld.c (VALIDX): Likewise.
8631 (ADDRIDX): Likewise.
9bac1d86
L
8632 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8633 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8634 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8635 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8636 (VALIDX): Likewise.
8637 (ADDRIDX): Likewise.
9bac1d86 8638
b31606c0
PT
86392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8640
8641 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8642
11541177
JL
86432012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8644
8645 [BZ #11438]
8646 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8647 to global scope.
8648 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8649 addresses are in the same scope as 192.0.2/24.
8650 * posix/gai.conf: Document new scope table defaults.
8651
adb26fae
SP
86522012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8653
8654 [BZ #5298]
8655 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8656 for ftell. Compute offsets from write pointers instead.
8657 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8658
4573c6b0
SP
86592012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8660
8661 [BZ #14543]
8662 * libio/Makefile (tests): New test case tst-fseek.
8663 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8664 combination works in wide mode.
8665 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8666 state when the external buffer state changes.
8667
aa9bbfe6
DM
86682012-09-27 David S. Miller <davem@davemloft.net>
8669
8670 [BZ #14376]
8671 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8672 pass reloc->r_addend in as the 'high' argument to
8673 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8674
784421e7
DM
8675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8676
c39bc8b8
PT
86772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8678
8679 * rt/tst-aio2.c: Include <pthread.h>.
8680 * rt/tst-aio3.c: Likewise.
8681
1ccc2399
SE
86822012-09-27 Steve Ellcey <sellcey@mips.com>
8683
8684 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8685
31ed4153
L
86862012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8687
25f5f885
L
8688 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8689 contents on [SHARED].
31ed4153 8690
b7bfe116
MP
86912012-09-26 Marek Polacek <polacek@redhat.com>
8692
8693 [BZ #14530]
8694 [BZ #13741]
8695 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8696 for C++ and GCC <4.3 as well as for non GCC compilers.
8697
43c4edba
MT
86982012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8699
8700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8701
6a1bf82f
RM
87022012-09-25 Roland McGrath <roland@hack.frob.com>
8703
8704 * Makefile.in (all, install): Declare with .PHONY.
8705 Reported by Michael Hope <michael.hope@linaro.org>.
8706
8ad11b9a
TMQMF
87072012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8708
8709 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8710 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8711 system header.
8712 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8713 Likewise.
8714 (sydep_routines): Add the new and the internal functions.
8715 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8716 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8718 (GLIBC_2.17): Add the new function.
8719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8720 (GLIBC_2.17): Likewise.
8721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8722 (GLIBC_2.17): Likewise.
8723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8724 (GLIBC_2.17): Likewise.
8725 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8726
7e2fca8d
AM
87272012-09-25 Alan Modra <amodra@gmail.com>
8728
8729 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8730 Add release barrier before setting once_control to say
8731 initialisation is done. Add hints on lwarx. Use macro in
8732 place of isync.
8733 (clear_once_control): Add release barrier.
8734
b87c4b24
JM
87352012-09-25 Joseph Myers <joseph@codesourcery.com>
8736
d032e0d2
JM
8737 [BZ #13629]
8738 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8739 specially.
8740 * math/s_clog10.c (__clog10): Likewise.
8741 * math/s_clog10f.c (__clog10f): Likewise.
8742 * math/s_clog10l.c (__clog10l): Likewise.
8743 * math/s_clogf.c (__clogf): Likewise.
8744 * math/s_clogl.c (__clogl): Likewise.
8745 * math/Makefile (libm-calls): Add x2y2m1.
8746 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8747 (__x2y2m1): Likewise.
8748 (__x2y2m1l): Likewise.
8749 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8750 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8753 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8754 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8755 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8756 * sysdeps/i386/fpu/libm-test-ulps: Update.
8757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8758
b87c4b24
JM
8759 [BZ #14621]
8760 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8761 int as type of variable DEPTH.
8762 (glob): Use size_t instead of int as type of variables NEWCOUNT
8763 and OLD_PATHC.
8764
6d3bf199
LD
87652012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8766
22bf5c17
LD
8767 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8768 Add s_sincosf-sse2.
8769 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8770 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8771 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8772 macros for using routine as __sincosf_ia32.
8773 Use macro for function declaration and weak_alias.
8774 * sysdeps/i386/fpu/libm-test-ulps: Update.
8775
8776 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8778
8779 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8780 subnormal argument.
8781 * math/s_cexpf.c (__cexpf): Likewise.
8782 * math/s_csinf.c (__csinf): Likewise.
8783 * math/s_csinhf.c (__csinhf): Likewise.
8784 * math/s_ctanf.c (__ctanf): Likewise.
8785 * math/s_ctanhf.c (__ctanhf): Likewise.
8786 * math/s_ccosh.c (__ccoshf): Likewise.
8787 * math/s_cexp.c (__cexpl): Likewise.
8788 * math/s_csin.c (__csin): Likewise.
8789 * math/s_csinh.c (__csinh): Likewise.
8790 * math/s_ctan.c (__ctan): Likewise.
8791 * math/s_ctanh.c (ctanh): Likewise.
8792 * math/s_ccoshl.c (__ccoshl): Likewise.
8793 * math/s_cexpl.c (__cexpl): Likewise.
8794 * math/s_csinl.c (__csinl): Likewise.
8795 * math/s_csinhl.c (__csinhl): Likewise.
8796 * math/s_ctanl.c (__ctanl): Likewise.
8797 * math/s_ctanhl.c (__ctanhl): Likewise.
8798
203e5603
JM
87992012-09-25 Joseph Myers <joseph@codesourcery.com>
8800
8801 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8802 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8803 (_IO_off_t): Define to __off_t, not _G_off_t.
8804 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8805 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8806 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8807 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8808 type of __dummy and __dummy2 fields.
8809 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8810 (_G_ssize_t): Likewise.
8811 (_G_off_t): Likewise.
8812 (_G_pid_t): Likewise.
8813 (_G_uid_t): Likewise.
8814 (_G_wchar_t): Likewise.
8815 (_G_wint_t): Likewise.
8816 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8817 (_G_ssize_t): Likewise.
8818 (_G_off_t): Likewise.
8819 (_G_pid_t): Likewise.
8820 (_G_uid_t): Likewise.
8821 (_G_wchar_t): Likewise.
8822 (_G_wint_t): Likewise.
8823 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8824 (_G_ssize_t): Likewise.
8825 (_G_off_t): Likewise.
8826 (_G_pid_t): Likewise.
8827 (_G_uid_t): Likewise.
8828 (_G_wchar_t): Likewise.
8829 (_G_wint_t): Likewise.
8830
9fab36eb
SP
88312012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8832
8833 * malloc/arena.c: Include malloc-sysdep.h.
8834 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8835 is sufficient to shrink the heap or an unmap is needed.
8836 * sysdeps/generic/malloc-sysdep.h: New file. Define
8837 new function check_may_shrink_heap.
8838 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8839 new function check_may_shrink_heap.
8840
2b4f00d1
SP
88412012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8842
8843 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8844 comments.
8845
9a9028b1
DL
88462012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8847
57c69bef
DL
8848 * catgets/test-gencat.sh: Add "set -e".
8849 * elf/tst-pathopt.sh: Likewise.
8850 * grp/tst_fgetgrent.sh: Likewise.
8851 * iconvdata/run-iconv-test.sh: Likewise.
8852 * intl/tst-gettext.sh: Likewise.
8853 * intl/tst-gettext2.sh: Likewise.
8854 * intl/tst-gettext4.sh: Likewise.
8855 * intl/tst-gettext6.sh: Likewise.
8856 * intl/tst-translit.sh: Likewise.
8857 * io/ftwtest-sh: Likewise.
8858 * libio/test-freopen.sh: Likewise.
8859 * malloc/tst-mtrace.sh: Likewise.
8860 * posix/globtest.sh: Likewise.
8861 * posix/tst-getconf.sh: Likewise.
8862 * posix/wordexp-tst.sh: Likewise.
8863 * stdio-common/tst-printf.sh: Likewise.
8864 * stdio-common/tst-unbputc.sh: Likewise.
8865 * stdlib/tst-fmtmsg.sh: Likewise.
8866 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8867 * catgets/Makefile: Do not specify -e option when running
8868 testsuite shell scripts.
8869 * elf/Makefile: Likewise.
8870 * grp/Makefile: Likewise.
8871 * iconvdata/Makefile: Likewise.
8872 * intl/Makefile: Likewise.
8873 * io/Makefile: Likewise.
8874 * libio/Makefile: Likewise.
8875 * malloc/Makefile: Likewise.
8876 * posix/Makefile: Likewise.
8877 * stdio-common/Makefile: Likewise.
8878 * stdlib/Makefile: Likewise.
8879 * sysdeps/x86_64/Makefile: Likewise.
8880
9a9028b1
DL
8881 * io/ftwtest-sh: Add copyright header.
8882 * posix/globtest.sh: Likewise.
8883 * posix/tst-getconf.sh: Likewise.
8884 * posix/wordexp-tst.sh: Likewise.
8885 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8886
ced6f16e
L
88872012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8888
94b32c39
L
8889 [BZ #13679]
8890 * Makeconfig (+link): Defined as $(+link-static) if
8891 $(build-shared) isn't yes.
8892 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8893 isn't yes.
8894 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8895
189e935b
L
8896 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8897
ced6f16e
L
8898 [BZ #14562]
8899 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8900 new chunk size with MALLOC_ALIGN_MASK.
8901
a9f8e53a
JM
89022012-09-24 Joseph Myers <joseph@codesourcery.com>
8903
8904 [BZ #5044]
8905 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8906 <rounding-mode.h>.
8907 (__printf_fphex): Determine rounding using get_rounding_mode and
8908 round_away.
8909 * stdio-common/tst-printf-round.c (struct hex_test): New
8910 structure.
8911 (hex_tests): New variable.
8912 (test_hex_in_one_mode): New function.
8913 (do_test): Also run tests for hex float output.
8914
43153109
JM
89152012-09-21 Joseph Myers <joseph@codesourcery.com>
8916
8917 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8918 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8919 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8920 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8921 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8922 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8923 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8924 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8925
8a26625d
JM
89262012-09-20 Joseph Myers <joseph@codesourcery.com>
8927
8928 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8929 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8930 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8931 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8932
f3fd569c
DL
89332012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8934
8935 [BZ #14579]
8936 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8937 mode only.
8938 * elf/tst-rtld-load-self.sh: New test.
8939 * elf/Makefile: Run it.
8940
63bbedd4
JM
89412012-09-18 Joseph Myers <joseph@codesourcery.com>
8942
8943 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8944 (tst-writev-ENV): Remove.
8945 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8946
626f8b6a
CM
89472012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8948
8949 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8950
b7aaa4d6
JM
89512012-09-17 Joseph Myers <joseph@codesourcery.com>
8952
8953 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8954 unconditional.
8955 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8956 Likewise.
8957 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8958 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8959 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8960 Likewise.
8961
65513990
L
89622012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8963
8964 [BZ #14587]
8965 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8966 * config.make.in (have-cpp-asm-debuginfo): Removed.
8967 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8968 * configure: Regenerated.
8969
784761be
JM
89702012-09-14 Joseph Myers <joseph@codesourcery.com>
8971
8972 [BZ #5044]
8973 * stdio-common/printf_fp.c: Include <stdbool.h> and
8974 <rounding-mode.h>.
8975 (___printf_fp): Determine rounding using get_rounding_mode and
8976 round_away.
8977 * stdio-common/tst-printf-round.c: New file.
8978 * stdio-common/Makefile (tests): Add tst-printf-round.
8979 (link-libm): New variable.
8980 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8981
9503345f
L
89822012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8983
8984 [BZ #14576]
8985 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8986 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8987 Likewise.
8988 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8989 Likewise.
8990
ad35fc00
JM
89912012-09-13 Joseph Myers <joseph@codesourcery.com>
8992
8993 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8994 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8995 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8996 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8997
6c9b0f68
JM
89982012-09-12 Joseph Myers <joseph@codesourcery.com>
8999
9000 [BZ #14518]
9001 * include/rounding-mode.h: New file.
9002 * sysdeps/generic/get-rounding-mode.h: Likewise.
9003 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9004 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9005 (MAX_VALUE): New macro.
9006 (MIN_VALUE): Likewise.
9007 (overflow_value): New function.
9008 (underflow_value): Likewise.
9009 (round_and_return): Use overflow_value and underflow_value to
9010 determine return values in overflow and underflow cases. Use
9011 round_away to determine rounding depending on rounding mode.
9012 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9013 determine return values in overflow and underflow cases.
9014 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9015 (struct test_results): New structure.
9016 (struct test): Use struct test_results to store expected results
9017 for all rounding modes.
9018 (TEST): Include expected results for all rounding modes.
9019 (test_in_one_mode): New function.
9020 (do_test): Use test_in_one_mode to compute and check results.
9021 Check results for all rounding modes.
9022 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9023 $(link-libm).
9024
19fcedd5
AM
90252012-12-09 Allan McRae <allan@archlinux.org>
9026
1e9d84cd 9027 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9028
8bbfd2f1
JM
90292012-09-11 Joseph Myers <joseph@codesourcery.com>
9030
9031 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9032 (_G_int32_t): Likewise.
9033 (_G_uint16_t): Likewise.
9034 (_G_uint32_t): Likewise.
9035 (_G_HAVE_BOOL): Likewise.
9036 (_G_HAVE_ATEXIT): Likewise.
9037 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9038 (_G_HAVE_IO_FILE_OPEN): Likewise.
9039 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9040 (_G_int32_t): Likewise.
9041 (_G_uint16_t): Likewise.
9042 (_G_uint32_t): Likewise.
9043 (_G_HAVE_BOOL): Likewise.
9044 (_G_HAVE_ATEXIT): Likewise.
9045 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9046 (_G_HAVE_IO_FILE_OPEN): Likewise.
9047 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9048 (_G_int32_t): Likewise.
9049 (_G_uint16_t): Likewise.
9050 (_G_uint32_t): Likewise.
9051 (_G_HAVE_BOOL): Likewise.
9052 (_G_HAVE_ATEXIT): Likewise.
9053 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9054 (_G_HAVE_IO_FILE_OPEN): Likewise.
9055
b1dc5912
L
90562012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9057
9058 * csu/libc-tls.c: Update copyright years.
9059
0e886ef9
JM
90602012-09-10 Joseph Myers <joseph@codesourcery.com>
9061
28361c5e
JM
9062 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9063 [!_G_USING_THUNKS]: Remove conditional code.
9064 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9065 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9066
0e886ef9
JM
9067 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9068 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9069 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9070 (_G_VTABLE_LABEL_PREFIX): Likewise.
9071 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9072 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9073 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9074 (_G_VTABLE_LABEL_PREFIX): Likewise.
9075 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9076 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9077 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9078 (_G_VTABLE_LABEL_PREFIX): Likewise.
9079 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9080
bcba7aa2
L
90812012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9082
9083 * libio/Makefile: Include ../Makeconfig before tests.
9084 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9085 only if $(build-shared) is yes.
9086
06585ee8
L
9087 * iconv/gconv_db.c: Update copyright years.
9088
80ccd52c
LD
90892012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9090
9091 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9092 unwind info if defined PIC. Fix special cases description.
9093 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9094
9095 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9096 DP_HI_MASK entry.
9097 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9098
691bc9c1
L
90992012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9100
3d9b46b3
L
9101 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9102
de2139a9
L
9103 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9104 is NULL.
9105
5ca78dd0
L
9106 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9107 (LDLIBS-tst-chk4): This.
9108 (LDFLAGS-tst-chk5): Renamed to ...
9109 (LDLIBS-tst-chk5): This.
9110 (LDFLAGS-tst-chk6): Renamed to ...
9111 (LDLIBS-tst-chk6): This.
9112 (LDFLAGS-tst-lfschk4): Renamed to ...
9113 (LDLIBS-tst-lfschk4): This.
9114 (LDFLAGS-tst-lfschk5): Renamed to ...
9115 (LDLIBS-tst-lfschk5): This.
9116 (LDFLAGS-tst-lfschk6): Renamed to ...
9117 (LDLIBS-tst-lfschk6): This.
9118
691bc9c1
L
9119 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9120 on $(common-objpfx)soversions.mk.
9121
65cafb1c
JM
91222012-09-07 Joseph Myers <joseph@codesourcery.com>
9123
9124 [BZ #10014]
9125 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9126 example host name.
9127
c78ab094
SP
91282012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9129
9130 * malloc/arena.c (arena_get_retry): New function that gets
9131 another arena for the caller to try its request on.
9132 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9133 current arena cannot fulfill the request.
9134 (__libc_memalign): Likewise.
9135 (__libc_memalign): Likewise.
9136 (__libc_pvalloc): Likewise.
9137 (__libc_calloc): Likewise.
9138
01f49f59
JT
91392012-09-05 John Tobey <john.tobey@gmail.com>
9140
9141 [BZ #13542]
9142 * manual/arith.texi (Operations on Complex): Fix description
9143 of carg branch cut.
9144
4c23fed5
JM
91452012-09-06 Joseph Myers <joseph@codesourcery.com>
9146
1d3c8572
JM
9147 [BZ #10014]
9148 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9149 host name.
9150
4c23fed5
JM
9151 [BZ #10038]
9152 * manual/memory.texi (Memory): Make order of menu items match
9153 order of sections.
9154
04570aaa
L
91552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9156
9157 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9158 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9159 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9160
b80af2f4
L
91612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9162
9163 * csu/libc-tls.c (static_dtv): Renamed to ...
9164 (_dl_static_dtv): This. Make it global.
9165 (_dl_initial_dtv): Removed.
9166 (__libc_setup_tls): Updated.
9167 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9168 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9169 DL_INITIAL_DTV.
9170
2abe9f15
PM
91712012-09-06 Petr Machata <pmachata@redhat.com>
9172
9173 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9174 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9175 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9176 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9177
0948c3af
L
91782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9179
9180 [BZ #14545]
9181 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9182 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9183 freeing dtv[-1].
9184
a5055ad1
L
91852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9186
9187 [BZ #14544]
9188 * Makeconfig (link-static-before-libc): Replace $(+prector)
9189 with $(+prectorT).
9190 (link-static-after-libc): Replace $(+postctor) with
9191 $(+postctorT).
9192 (link-bounded): Replace $(+prector)/$(+postctor) with
9193 $(+prectorT)/$(+postctorT).
9194 (+prectorT): New macro.
9195 (+postctorT): Likewise.
9196
ed8c2ecd
JM
91972012-09-06 Joseph Myers <joseph@codesourcery.com>
9198
9199 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9200 (round_str): Handle values above the maximum for IBM long double
9201 as inexact.
9202 * stdlib/tst-strtod-round.c (tests): Regenerated.
9203
14c996c8
AK
92042012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9205
9206 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9207 assembler flag.
9208 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9209 zarch_nohighgprs around the zarch optimized routines.
9210 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9211 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9212 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9213 for zarch.
9214
430d6ce6
DM
92152012-09-05 David S. Miller <davem@davemloft.net>
9216
9217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9218
ff04dda4
DM
9219 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9220 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9221 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9222 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9223 entries.
9224
24d4e01b
AO
92252012-09-05 Alexandre Oliva <aoliva@redhat.com>
9226
9227 * malloc/arena.c: Fold copyright years.
9228 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9229
61d58174
AO
92302012-09-05 Alexandre Oliva <aoliva@redhat.com>
9231
9232 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9233
20196a5e
AO
92342012-09-05 Alexandre Oliva <aoliva@redhat.com>
9235
9236 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9237
5c447383
AO
92382012-09-05 Alexandre Oliva <aoliva@redhat.com>
9239
9240 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9241 change internal state upon failure.
9242
fad64255
AO
92432012-09-05 Alexandre Oliva <aoliva@redhat.com>
9244
9245 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9246 * malloc/memusage.c (mmap): Likewise.
9247 (mmap64, mremap): Likewise. Adjust name in comment.
9248
1ffb8c90
SP
92492012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9250
9251 * libio/fileops.c: Fix typos in comments.
9252 * libio/oldfileops.c: Likewise.
9253 * libio/wfileops.c: Likewise.
9254
6ef9cc37
SP
92552012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9256
9257 [BZ #1349]
9258 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9259 (tst-malloc-usable-ENV): Set environment for test case.
9260 * malloc/hooks.c (malloc_check_get_size): New function to get
9261 requested size.
9262 * malloc/malloc.c (musable): Use malloc_check_get_size.
9263 * malloc/tst-malloc-usable.c: New test case.
9264
4d038ae3
AS
92652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9266
9267 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9268
c4e85184
AM
92692012-09-05 Allan McRae <allan@archlinux.org>
9270
b9dafc56 9271 [BZ #13966]
c4e85184
AM
9272 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9273 determine header location.
9274 * configure: Regenerated.
9275
e1343020
AS
92762012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9277
9278 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9279 float format.
9280 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9281 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9282 format.
e1343020
AS
9283 (test): Regenerate.
9284
0a9f1987
DM
92852012-09-04 David S. Miller <davem@davemloft.net>
9286
9287 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9288 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9289 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9290
29237804
FW
92912012-09-04 Florian Weimer <fweimer@redhat.com>
9292
9293 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9294 failures.
9295
edb3cb88
FW
9296 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9297
60160d83
JM
92982012-09-04 Joseph Myers <joseph@codesourcery.com>
9299
9300 [BZ #9914]
9301 * libio/iogetdelim.c: Include <limits.h>.
9302 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9303 + len + 1 would overflow.
9304
bcd6c8dc
AJ
93052012-09-03 Andreas Jaeger <aj@suse.de>
9306
9307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9308 * sysdeps/i386/fpu/libm-test-ulps: Update.
9309
4ffffbd2
LD
93102012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9311
9312 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9313 Add s_sinf-sse2, s_conf-sse2.
9314
9315 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9316 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9317 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9318 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9319
9320 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9321 for using routine as __sinf_ia32.
9322 Use macro for function declaration and weak_alias.
9323 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9324 for using routine as __cosf_ia32.
9325 Use macro for function declaration and weak_alias.
9326
9327 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9328 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9329
9330 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9331 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9333
9334 * math/libm-test.inc (cos_test): Add more test cases.
9335 (sin_test): Likewise.
9336 (sincos_test): Likewise.
9337
511fa286
AK
93382012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9339
9340 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9341 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9342 hidden.
9343 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9344
5f30cfec
L
93452012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9346
9347 [BZ #14538]
9348 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9349 first element of the GOT.
9350 (elf_machine_load_address): Return the difference between
9351 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9352
0786794f
AM
93532012-09-01 Allan McRae <allan@archlinux.org>
9354
5f30cfec
L
9355 [BZ #13412]
9356 * configure.in (AWK): Require gawk version 3.0 or later.
9357 * configure: Regenerated.
0786794f 9358
26889eac
JM
93592012-09-01 Joseph Myers <joseph@codesourcery.com>
9360
9361 * sysdeps/unix/sysv/linux/kernel-features.h
9362 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9363 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9364 [__NR_clock_getres]: Make code unconditional.
9365 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9366 (clock_getcpuclockid): Remove code left unreachable by removal of
9367 conditionals.
9368 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9369 code unconditional.
9370 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9371 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9372 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9373 Make code unconditional.
9374 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9375 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9376 * sysdeps/unix/sysv/linux/clock_settime.c
9377 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9378 conditional code.
9379 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9380 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9381
d22e28b0
L
93822012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9383
9384 [BZ #14476]
9385 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9386 scripts/test-installation.pl.
9387
9388 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9389 and $ld_so_version if it is set.
9390
050af9c4
SP
93912012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9392
9393 [BZ #14516]
9394 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9395 failure if reading from procfs failed.
9396 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9397
ad845c0b
JM
93982012-08-27 Joseph Myers <joseph@codesourcery.com>
9399
9400 * sysdeps/unix/sysv/linux/kernel-features.h
9401 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9402 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9403 Remove conditional code.
9404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9405 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9406 Remove conditional code.
9407 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9408 * sysdeps/unix/sysv/linux/i386/fxstat.c
9409 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9410 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9411 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9412 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9413 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9414 * sysdeps/unix/sysv/linux/i386/lxstat.c
9415 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9416 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9417 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9418 Remove conditional code.
9419 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9420 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9421 Remove conditional code.
9422 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9423 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9424 <kernel-features.h>.
9425 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9426 Remove.
9427 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9428 Remove conditional code.
9429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9430 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9431 Remove conditional.
9432
5dbf56af
MF
94332012-08-27 Mike Frysinger <vapier@gentoo.org>
9434
9435 [BZ #5400]
9436 * NEWS: Add fixed bug number.
9437
d6e70f43
JM
94382012-08-27 Joseph Myers <joseph@codesourcery.com>
9439
7efb4737
JM
9440 [BZ #14519]
9441 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9442 underflowing exponent in case of negative sign.
9443 * stdlib/tst-strtod-round-data: Add more tests.
9444 * stdlib/tst-strtod-round.c (tests): Regenerated.
9445
af92131a
JM
9446 [BZ #3479]
9447 * stdlib/strtod_l.c (NDIG): Remove.
9448 (HEXNDIG): Likewise.
9449 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9450 smallest representable value.
9451 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9452 lie within an exact representation of 1/2 ulp of the result.
9453 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9454 unconditionally.
9455 (TENS_P9_IDX): Define unconditionally.
9456 (TENS_P9_SIZE): Likewise.
9457 (TENS_P10_IDX): Likewise.
9458 (TENS_P10_SIZE): Likewise.
9459 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9460 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9461 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9462 entries for 10^2^13 and 10^2^14.
9463 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9464 (TENS_P13_IDX): Define.
9465 (TENS_P13_SIZE): Likewise.
9466 (TENS_P14_IDX): Likewise.
9467 (TENS_P14_SIZE): Likewise.
9468 (_fpioconst_pow10): Change array size to
9469 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9470 unconditional.
9471 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9472 1024]: Add entries for 10^2^13 and 10^2^14.
9473 [LAST_POW10 > _LAST_POW10]: Remove #error.
9474 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9475 (_fpioconst_pow10): Change array size to
9476 FPIOCONST_POW10_ARRAY_SIZE.
9477 * stdlib/gen-fpioconst.c: New file.
9478 * stdlib/gen-tst-strtod-round.c: Likewise.
9479 * stdlib/tst-strtod-round-data: Likewise.
9480 * stdlib/tst-strtod-round.c: Likewise.
9481 * stdlib/Makefile (tests): Add tst-strtod-round.
9482
d6e70f43
JM
9483 [BZ #14459]
9484 * stdlib/strtod_l.c: Include <stdint.h>.
9485 (NDEBUG): Do not define.
9486 (round_and_return): Change EXPONENT parameter to type intmax_t.
9487 Rearrange calculations to avoid internal overflow possibilities.
9488 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9489 Rearrange calculations to avoid internal overflow possibilities.
9490 Assert that number fits inside MPNSIZE limbs.
9491 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9492 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9493 calculations and add assertions to avoid internal overflow
9494 possibilities. Add casts to avoid signed/unsigned operations.
9495 * stdlib/tst-strtod-overflow.c: New file.
9496 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9497
1f529f7d
MP
94982012-08-25 Marek Polacek <polacek@redhat.com>
9499
9500 * time/time.h: Fix some typos in comments.
9501
59a629f1
RM
95022012-08-23 Roland McGrath <roland@hack.frob.com>
9503
9504 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9505 * posix/tst-rfc3484-2.c: Likewise.
9506 * posix/tst-rfc3484-3.c: Likewise.
9507
d3bafbc9
SM
95082012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9509
9510 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9511 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9512
4efcc022
JM
95132012-08-23 Joseph Myers <joseph@codesourcery.com>
9514
9515 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9516 #include of fxstatat64.c.
9517
3cc3ef96
RM
95182012-08-22 Roland McGrath <roland@hack.frob.com>
9519
f04e2132
RM
9520 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9521 * shadow/getspent_r.c: Likewise.
9522 * shadow/getspnam.c: Likewise.
9523 * shadow/getspnam_r.c: Likewise.
9524 * gshadow/getsgent.c: Likewise.
9525 * gshadow/getsgent_r.c: Likewise.
9526 * gshadow/getsgnam.c: Likewise.
9527 * gshadow/getsgnam_r.c: Likewise.
9528 * inet/getnetbyad.c: Likewise.
9529 * inet/getnetbyad_r.c: Likewise.
9530 * inet/getnetbynm.c: Likewise.
9531 * inet/getnetbynm_r.c: Likewise.
9532 * inet/getnetent.c: Likewise.
9533 * inet/getnetent_r.c: Likewise.
9534 * inet/getproto.c: Likewise.
9535 * inet/getproto_r.c: Likewise.
9536 * inet/getprtent.c: Likewise.
9537 * inet/getprtent_r.c: Likewise.
9538 * inet/getprtname.c: Likewise.
9539 * inet/getprtname_r.c: Likewise.
9540 * inet/getrpcbyname.c: Likewise.
9541 * inet/getrpcbyname_r.c: Likewise.
9542 * inet/getrpcbynumber.c: Likewise.
9543 * inet/getrpcbynumber_r.c: Likewise.
9544 * inet/getrpcent.c: Likewise.
9545 * inet/getrpcent_r.c: Likewise.
9546 * inet/getaliasent.c: Likewise.
9547 * inet/getaliasent_r.c: Likewise.
9548 * inet/getaliasname.c: Likewise.
9549 * inet/getaliasname_r.c: Likewise.
9550 * nscd/getgrgid_r.c: Likewise.
9551 * nscd/getgrnam_r.c: Likewise.
9552 * nscd/gethstbyad_r.c: Likewise.
9553 * nscd/gethstbynm3_r.c: Likewise.
9554 * nscd/getpwnam_r.c: Likewise.
9555 * nscd/getpwuid_r.c: Likewise.
9556 * nscd/getsrvbynm_r.c: Likewise.
9557 * nscd/getsrvbypt_r.c: Likewise.
9558 * nscd/gai.c: Likewise.
9559
c53d909c
RM
9560 * configure.in (build_nscd): New substituted variable, set
9561 by --disable-build-nscd and defaults to $use_nscd.
9562 * configure: Regenerated.
9563 * config.make.in (build-nscd): New substituted variable.
9564 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9565 Change conditional to require [$(build-nscd) = yes] as well.
9566 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9567
3cc3ef96
RM
9568 [BZ# 13696]
9569 * configure.in (use_nscd): New substituted variable, set by
9570 --disable-nscd. If enabled, define USE_NSCD.
9571 * configure: Regenerated.
9572 * config.h.in: Add USE_NSCD.
9573 * config.make.in (use-nscd): New substituted variable.
9574 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9575 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9576 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9577 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9578 (CFLAGS-getgrnam_r.c): Likewise.
9579 (CFLAGS-initgroups.c): Likewise.
9580 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9581 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9582 Variables removed.
9583 * inet/getnetgrent_r.c
9584 (nscd_setnetgrent): New function, broken out of ...
9585 (setnetgrent): ... here. Call it.
9586 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9587 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9588 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9589 * nscd/Makefile (routines, aux): Move definitions after include of
9590 Makeconfig. Conditionalize on [$(use-nscd) != no].
9591 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9592 Conditionalize on [USE_NSCD].
9593 (is_nscd, nscd_init_cb): Likewise.
9594 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9595 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9596 * nss/nss_db/db-init.c: Likewise.
9597 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9598 [USE_NSCD].
9599 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9600 (make_request): Use it.
9601 (cache_valid_p): New function.
9602 (__check_pf): Use it.
9603 * NEWS: Add item for --disable-nscd.
9604
07e51550
DL
96052012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9606
9607 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9608 to support sed >= 4.2.1-20-ga9bf076.
9609 * configure: Regenerated.
9610
35a5b08b
RM
96112012-08-22 Roland McGrath <roland@hack.frob.com>
9612
9613 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9614 Conditionalize whole body on [IREL].
9615
8479f23a
JL
96162012-08-22 Jeff Law <law@redhat.com>
9617
9618 [BZ #14505]
9619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9620 if the family is PF_UNSPEC.
9621
48da0b21
MF
96222012-08-22 Mike Frysinger <vapier@gentoo.org>
9623
9624 * Makerules (lib-version): Rename from V.
9625 (install-lib-nosubdir): Change V to lib-version.
9626
15d0da8c
WS
96272012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9628
9629 [BZ #14252]
9630 * powerpc32/power6/wcschr.c: New file.
9631 * powerpc32/power6/wcscpy.c: New file.
9632 * powerpc32/power6/wcsrchr.c: New file.
9633 * powerpc64/power6/wcschr.c: New file.
9634 * powerpc64/power6/wcscpy.c: New file.
9635 * powerpc64/power6/wcsrchr.c: New file.
9636
bcca0895
MK
96372012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9638
9639 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9640 (two_way_short_needle): Use it.
5a4aaa33
RM
9641 * string/strstr.c (AVAILABLE1_USES_J): Define.
9642 * string/strcasestr.c: Likewise.
99677e57
MK
9643
9644 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9645 array references.
9646 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9647
400726de
MK
9648 [BZ #11607]
9649 * NEWS: Add an entry.
9650 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9651 define their defaults.
9652 (two_way_short_needle): Detect end-of-string on-the-fly.
9653 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9654 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9655 * string/bug-strcasestr1.c: New test.
9656 * string/Makefile: Run it.
9657
20a71f2c
MK
96582012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9659
9660 [BZ #11607]
9661 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9662 the first character.
9663
21ad0558
RM
96642012-08-21 Roland McGrath <roland@hack.frob.com>
9665
9666 * csu/elf-init.c (__libc_csu_irel): Function removed.
9667 * csu/libc-start.c (apply_irel): New function.
9668 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9669
0e1d9911
JM
96702012-08-21 Joseph Myers <joseph@codesourcery.com>
9671
9672 * sysdeps/unix/sysv/linux/kernel-features.h
9673 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9674 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9675 <kernel-features.h>.
9676 [__NR_fadvise64_64]: Make code unconditional.
9677 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9678 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9679 !__NR_fadvise64_64)]: Likewise.
9680 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9681 !__NR_fadvise64_64))]: Likewise.
9682 [__NR_fadvise64]: Make code unconditional.
9683 [!__NR_fadvise64]: Remove conditional code.
9684 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9685 <kernel-features.h>.
9686 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9687 unconditional.
9688 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9689 conditional code.
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9691 not include <kernel-features.h>.
9692 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9693 unconditional.
9694 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9695 conditional code.
9696 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9697 include <kernel-features.h>.
9698 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9699 unconditional.
9700 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9701 conditional code.
9702
14a50c9d
WS
97032012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9704
9705 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9706 slight instruction rearrangements per scrollpipe analysis.
9707 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9708
c0f4faf0
RM
97092012-08-20 Roland McGrath <roland@hack.frob.com>
9710
696da859
RM
9711 * manual/syslog.texi (syslog; vsyslog, closelog):
9712 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9713 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9714
c0f4faf0
RM
9715 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9716 DSOCAPS to match condition on defining it.
9717
348363b2
JM
97182012-08-20 Joseph Myers <joseph@codesourcery.com>
9719
a35cbf28
JM
9720 * sysdeps/unix/sysv/linux/kernel-features.h
9721 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9723 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9724 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9726 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9727 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9729 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9730 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9731
445f7ecd
JM
9732 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9733 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9734
348363b2
JM
9735 * sysdeps/unix/sysv/linux/kernel-features.h
9736 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9737 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9738 unconditional.
9739 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9740 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9741 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9742 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9743 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9744 Make code unconditional.
9745 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9746 (__mmap64) [!__NR_mmap2]: Likewise.
9747 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9748 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9749 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9750 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9751 [__NR_mmap2]: Make code unconditional.
9752 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9753 (__mmap64) [!__NR_mmap2]: Likewise.
9754
bc5bc0e5
AK
97552012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9756
9757 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9758
88d506de
AJ
97592012-08-18 Andreas Jaeger <aj@suse.de>
9760
9761 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9762
493387d2
MF
97632012-08-18 Mike Frysinger <vapier@gentoo.org>
9764
9765 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9766 * include/unistd.h (__have_sock_cloexec): Likewise.
9767 (__have_pipe2): Likewise.
9768 (__have_dup3): Likewise.
9769
a277af22
MF
97702012-08-18 Mike Frysinger <vapier@gentoo.org>
9771
9772 [BZ #9685]
9773 * include/unistd.h (__have_pipe2): Change define into an extern int.
9774 (__have_dup3): Likewise.
9775 * socket/have_sock_cloexec.c: Include fcntl.h.
9776 (__have_pipe2): New variable.
9777 (__have_dup3): Likewise.
9778
fdab8fd3
MF
97792012-08-17 Mike Frysinger <vapier@gentoo.org>
9780
9781 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9782
31035e80
MP
97832012-08-17 Marek Polacek <polacek@redhat.com>
9784
9785 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9786 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9787
3bd9e993
RM
97882012-08-17 Roland McGrath <roland@hack.frob.com>
9789
c91c505f
RM
9790 * configure.in: Add AC_SUBST for sysheaders.
9791 * configure: Regenerated.
9792 * config.make.in (sysheaders): New substituted variable.
9793
7c6f9d53
RM
9794 * sysdeps/unix/mkfifo.c: Moved ...
9795 * sysdeps/posix/mkfifo.c: ... here.
9796 * sysdeps/unix/mkfifoat.c: Moved ...
9797 * sysdeps/posix/mkfifoat.c: ... here.
9798
9799 * sysdeps/unix/utime.c: Moved ...
9800 * sysdeps/posix/utime.c: ... here.
9801
9802 * sysdeps/unix/time.c: Moved ...
9803 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9804 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9805 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9806
9807 * sysdeps/unix/nice.c: Moved ...
9808 * sysdeps/posix/nice.c: ... here.
9809
9810 * sysdeps/unix/alarm.c: Moved ...
9811 * sysdeps/posix/alarm.c: ... here.
9812
3bd9e993
RM
9813 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9814
d1f09384
JL
98152012-08-17 Jeff Law <law@redhat.com>
9816
9817 * intl/Makefile (codeset_mo): New variable.
9818 ($(codeset_mo)): New target.
9819 (tst-codeset.out): Depend on that. Remove explicit rule.
9820 (tst-gettext3.out, tst-gettext5.out): Likewise.
9821 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9822 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9823 * intl/tst-codeset.sh: Remove.
9824 * intl/tst-gettext3.sh: Likewise.
9825 * intl/tst-gettext5.sh: Likewise.
9826
2ae1ae5c
RM
98272012-08-17 Roland McGrath <roland@hack.frob.com>
9828
c31fdb83
RM
9829 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9830 * sysdeps/unix/syscalls.list: ... here.
9831
a0844057
RM
9832 * sysdeps/posix/getaddrinfo.c
9833 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9834 (gaiconf_init, gaiconf_reload): Use them.
9835 [!_STATBUF_ST_NSEC]
9836 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9837 Define using time_t rather than struct timespec.
9838
750c1f2a
RM
9839 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9840 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9841 Macros removed.
9842 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9843 [!NO_THREADS].
9844 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9845 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9846 Likewise.
9847
2ae1ae5c
RM
9848 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9849 __libc_cleanup_push argument.
9850
e66a42f5
RM
9851 * bits/param.h: New file.
9852 * misc/sys/param.h: New file.
9853 * include/sys/param.h: New file.
9854 * misc/Makefile (headers): Add bits/param.h.
9855 * sysdeps/generic/sys/param.h: File removed.
9856 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9857 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9858 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9859 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9860
b7c08a66
RM
9861 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9862 last change.
9863
b2e1c562
RM
9864 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9865 [_IO_MTSAFE_IO].
9866 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9867 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9868 New macros.
9869
c75ccd4c
RM
9870 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9871 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9872 rather than -D_IO_MTSAFE_IO conditionally.
9873 * stdio-common/Makefile (CPPFLAGS): Likewise.
9874 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9875 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9876 Use $(libio-mtsafe).
9877 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9878 of -D_IO_MTSAFE_IO.
9879 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9880 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9881 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9882 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9883 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9884 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9885 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9886 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9887 (CFLAGS-fread_u_chk.c): Likewise.
9888 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9889 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9890 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9891 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9892 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9893 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9894 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9895 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9896 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9897
9898 * libio/Makefile: Test [$(libc-reentrant) = yes]
9899 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9900
9901 * Makeconfig
9902 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9903 * sysdeps/pthread/configure: File removed.
9904 * sysdeps/pthread/Makeconfig: New file.
9905 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9906 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9907
d9195db8
GB
99082012-08-16 Gary Benson <gbenson@redhat.com>
9909
9910 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9911 unmapping the first object in a namespace.
9912
86466cd9
RM
99132012-08-16 Roland McGrath <roland@hack.frob.com>
9914
9915 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9916 (__internal_setnetgrent): ... this. Add internal_function to
9917 definition. Add libc_hidden_def.
9918 (setnetgrent): Update caller.
9919 (internal_endnetgrent): Renamed to ...
9920 (__internal_endnetgrent): ... this. Add internal_function to
9921 definition. Add libc_hidden_def.
9922 (endnetgrent): Update caller.
9923 (internal_getnetgrent_r): Renamed to ...
9924 (__internal_getnetgrent_r): ... this. Add internal_function to
9925 definition. Add libc_hidden_def.
9926 (__getnetgrent_r): Update caller.
9927 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9928
c3c8283c
JM
99292012-08-16 Joseph Myers <joseph@codesourcery.com>
9930
9931 * stdlib/longlong.h: Update from GCC.
9932
db1ee0a8
RM
99332012-08-16 Roland McGrath <roland@hack.frob.com>
9934
9935 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9936 on _QL, which is set by umul_ppmm but never used.
9937 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9938 variables, which are set by GMP macros but never used.
9939 * stdio-common/_itowa.c (_itowa): Likewise.
9940 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9941 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9942
30f69637
CD
99432012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9944
9945 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9946 struct La_sh_regs is not constant.
9947 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9948 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9949 and struct La_sparc64_regs are not constant.
9950
93a78ac4
JM
99512012-08-16 Joseph Myers <joseph@codesourcery.com>
9952
9953 * sysdeps/unix/sysv/linux/kernel-features.h
9954 (__ASSUME_POSIX_TIMERS): Remove.
9955 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9956 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9957 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9958 Make code unconditional.
9959 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9960 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9961 Make code unconditional.
9962 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9963 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9964 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9965 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9966 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9967 Make code unconditional.
9968 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9969 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9970 (__libc_missing_posix_timers): Remove.
9971
dd924cd7
RM
99722012-08-15 Roland McGrath <roland@hack.frob.com>
9973
4b4f2771
RM
9974 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9975 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9976
601c888b
RM
9977 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9978
176790a7
RM
9979 * elf/dl-sym.c: Include <stdlib.h>.
9980
329bc018
RM
9981 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9982 constants, which avoids warnings in 32-bit builds.
9983
e04e272d
RM
9984 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9985 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9986
952bf94a
RM
9987 * misc/lseek.c: File moved to ...
9988 * io/lseek.c: ... here.
9989
7c99b50a
RM
9990 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9991
dd924cd7
RM
9992 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9993 shifting LEN more than 31 bits at once.
9994
b3f479a8
LD
99952012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9996
9997 [BZ #14195]
8c4ae0d4
RM
9998 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9999 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10000 * string/test-strncasecmp.c (check1): Renamed to...
10001 (bz12205): ...this.
10002 (bz14195): Add new testcase for two empty input strings and N > 0.
10003 (test_main): Call new testcase, adapt for renamed function.
10004
9c55864e
AJ
100052012-08-15 Andreas Jaeger <aj@suse.de>
10006
10007 [BZ #14090]
10008 * crypt/md5test2.c: New test, based on test supplied by Serge
10009 Belyshev <belyshev@depni.sinp.msu.ru>.
10010 * crypt/Makefile (xtests): Add md5test-giant..
10011 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10012
02dcb6c5
PE
100132012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10014
10015 [BZ #14090]
10016 * crypt/md5.c (md5_process_block): Don't assume the buffer
10017 length is less than 2**32.
10018 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10019 length is less than 2**64.
10020
a3f95dcc
RM
100212012-08-15 Roland McGrath <roland@hack.frob.com>
10022
be75d758
RM
10023 * string/str-two-way.h: Include <sys/param.h>.
10024 (MAX): Macro removed.
10025
7312ca90
RM
10026 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10027 Move #define and #undef of memmove to just before and after
10028 including <string.h>.
10029
9a0a5486
RM
10030 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10031 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10032 and after including <string.h>. Move declarations of
10033 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10034 to before #include "string/memmove.c".
10035
67cc348d
RM
10036 * include/dirent.h: Declare __getdirentries.
10037
a3f95dcc
RM
10038 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10039 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10040
ca98e171
MF
100412012-08-14 Mike Frysinger <vapier@gentoo.org>
10042
10043 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10044 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10045 * sysdeps/i386/configure: Regenerated.
10046 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10047 STABS_CURRENT_FILE, and STABS_FUN.
10048 (END): Remove call to STABS_FUN_END.
10049 (STABS_CURRENT_FILE1): Delete.
10050 (STABS_CURRENT_FILE): Likewise.
10051 (STABS_FUN): Likewise.
10052 (STABS_FUN_END): Likewise.
10053 (STABS_FUN2): Likewise.
10054 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10055 * sysdeps/x86_64/configure: Regenerated.
10056
5908bf46
RM
100572012-08-14 Roland McGrath <roland@hack.frob.com>
10058
10059 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10060 * elf/dl-lookup.c: Likewise.
5908bf46 10061
f2c05b9e
JM
100622012-08-14 Joseph Myers <joseph@codesourcery.com>
10063
10064 * sysdeps/unix/sysv/linux/kernel-features.h
10065 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10066 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10067 unconditionally.
10068 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10069 unconditionally.
10070 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10071 condition on __ASSUME_CLONE_THREAD_FLAGS.
10072
e11f5155
AJ
100732012-08-14 Andreas Jaeger <aj@suse.de>
10074
10075 * sysdeps/i386/fpu/libm-test-ulps: Update.
10076
51a9ba86
MK
100772012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10078
2fdd4f78
AJ
10079 * include/atomic.h (atomic_exchange_and_add): Split into ...
10080 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10081 New atomic macros.
51a9ba86 10082
ba6cba9e
MT
100832012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10084
10085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10086
42443a47
JL
100872012-08-13 Jeff Law <law@redhat.com>
10088
10089 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10090 null byte in the output string.
10091
121dce05
JM
100922012-08-10 Joseph Myers <joseph@codesourcery.com>
10093
10094 * sysdeps/unix/sysv/linux/kernel-features.h
10095 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10096 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10097 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10098 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10099 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10100 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10101 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10102
bf51f568
JL
101032012-08-09 Jeff Law <law@redhat.com>
10104
10105 [BZ #13939]
10106 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10107 When avoid_arena is set, don't retry in the that arena. Pick the
10108 next one, whatever it might be.
10109 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10110 (arena_lock): Pass in new parameter to arena_get2.
10111 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10112 arena_get2.
10113 (__libc_malloc): Unify retrying after main arena failure with
10114 __libc_memalign version.
10115 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10116
f85fa270
L
101172012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10118
10119 [BZ #14166]
10120 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10121 to __redirect_strstr.
10122 (__strstr_sse42): Use typeof __redirect_strstr.
10123 (__strstr_ia32): Likewise.
10124 (__libc_strstr): New prototype.
10125 (strstr): Renamed to ...
10126 (__libc_strstr): This.
10127 (strstr): New strong alias of __libc_strstr.
10128 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10129 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10130 __redirect_time.
10131 Include <time.h>.
10132 (__libc_time): New prototype.
10133 (time_ifunc): Replace time with __libc_time.
10134 (time): New strong alias and hidden definition of __libc_time.
10135 (__GI_time): Remove strong alias.
10136 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10137 Include <stddef.h>.
10138 (memmove): Redefined to __redirect_memmove.
10139 (__memmove_sse2): Use typeof __redirect_memmove.
10140 (__memmove_ssse3): Likewise.
10141 (__memmove_ssse3_back): Likewise.
10142 (__libc_memmove): New prototype.
10143 (memmove): Renamed to ...
10144 (__libc_memmove): This.
10145 (memmove): New strong alias of __libc_memmove.
10146
33b4a91e
MS
101472012-08-08 Mark Salter <msalter@redhat.com>
10148
10149 * elf/elf.h
10150 (R_MN10300_TLS_GD): Define.
10151 (R_MN10300_TLS_LD): Likewise.
10152 (R_MN10300_TLS_LDO): Likewise.
10153 (R_MN10300_TLS_GOTIE): Likewise.
10154 (R_MN10300_TLS_IE): Likewise.
10155 (R_MN10300_TLS_LE): Likewise.
10156 (R_MN10300_TLS_DTPMOD): Likewise.
10157 (R_MN10300_TLS_DTPOFF): Likewise.
10158 (R_MN10300_TLS_TPOFF): Likewise.
10159 (R_MN10300_SYM_DIFF): Likewise.
10160 (R_MN10300_ALIGN): Likewise.
10161 (R_MN10300_NUM): Update.
10162
b36137f1
JM
101632012-08-08 Joseph Myers <joseph@codesourcery.com>
10164
10165 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10166 Remove.
10167
cdd915fd
RM
101682012-08-08 Roland McGrath <roland@hack.frob.com>
10169
a2433aac
RM
10170 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10171
cdd915fd
RM
10172 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10173 sysdeps/unix -> sysdeps/posix move.
10174 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10175
bf9b740a
AM
101762012-08-07 Allan McRae <allan@archlinux.org>
10177
10178 [BZ #14303]
10179 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10180 (SUNOS_CPP): Likewise.
10181 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10182 not found.
10183 (open_input): Call CPP using execvp.
10184
93df14ee
JM
101852012-08-07 Joseph Myers <joseph@codesourcery.com>
10186
10187 * sysdeps/unix/sysv/linux/kernel-features.h
10188 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10189 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10190 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10191 (__ASSUME_WAITID_SYSCALL): Likewise.
10192 * sysdeps/unix/sysv/linux/dl-execstack.c
10193 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10194 code unconditional.
10195 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10196 conditional code.
10197 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10198 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10199 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10200 code.
10201 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10202 unconditional.
10203 [__ASSUME_WAITID_SYSCALL]: Likewise.
10204 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10205
d34689de
RM
102062012-08-07 Roland McGrath <roland@hack.frob.com>
10207
a281decc
RM
10208 * sysdeps/unix/closedir.c: Renamed to ...
10209 * sysdeps/posix/closedir.c: ... here.
10210 * sysdeps/unix/dirfd.c: Renamed to ...
10211 * sysdeps/posix/dirfd.c: ... here.
10212 * sysdeps/unix/dirstream.h: Renamed to ...
10213 * sysdeps/posix/dirstream.h: ... here.
10214 * sysdeps/unix/fdopendir.c: Renamed to ...
10215 * sysdeps/posix/fdopendir.c: ... here.
10216 * sysdeps/unix/opendir.c: Renamed to ...
10217 * sysdeps/posix/opendir.c: ... here.
10218 * sysdeps/unix/readdir.c: Renamed to ...
10219 * sysdeps/posix/readdir.c: ... here.
10220 * sysdeps/unix/readdir_r.c: Renamed to ...
10221 * sysdeps/posix/readdir_r.c: ... here.
10222 * sysdeps/unix/rewinddir.c: Renamed to ...
10223 * sysdeps/posix/rewinddir.c: ... here.
10224 * sysdeps/unix/seekdir.c: Renamed to ...
10225 * sysdeps/posix/seekdir.c: ... here.
10226 * sysdeps/unix/telldir.c: Renamed to ...
10227 * sysdeps/posix/telldir.c: ... here.
10228 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10229 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10230 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10231 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10232
22895b47
RM
10233 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10234 * bits/fcntl.h: ... here.
10235
707a53b6
RM
10236 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10237 not 0.
10238 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10239 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10240 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10241 (struct flock): Move l_start, l_len to the beginning.
10242 Use __pid_t for l_pid.
10243 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10244 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10245 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10246 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10247 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10248 [__USE_LARGEFILE64] (struct flock64): New type.
10249 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10250
f0bd3e25
RM
10251 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10252 * bits/dirent.h: ... here.
10253
d34689de
RM
10254 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10255 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10256
6dad2c06
JM
102572012-08-07 Joseph Myers <joseph@codesourcery.com>
10258
10259 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10260 Change from 2.6.0 to 2.6.16.
10261 * sysdeps/unix/sysv/linux/configure: Regenerated.
10262 * sysdeps/unix/sysv/linux/kernel-features.h
10263 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10264 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10265 version.
10266 (__ASSUME_UTIMES): Likewise.
10267 (__ASSUME_CLONE_STOPPED): Remove.
10268 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10269 architectures, not kernel version.
10270 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10271 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10272 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10273 (__ASSUME_WAITID_SYSCALL): Likewise.
10274 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10275 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10276 * README: State 2.6.16 as minimum Linux kernel version. Do not
10277 refer to older versions.
10278
03af9520
RM
102792012-08-06 Roland McGrath <roland@hack.frob.com>
10280
8e49df1d
RM
10281 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10282 Define alphasort64 as an alias.
10283 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10284 Define versionsort64 as an alias.
10285 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10286 Define scandir64 as an alias.
10287 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10288 Define scandirat64 as an alias.
10289 * dirent/alphasort64.c (alphasort64):
10290 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10291 * dirent/versionsort64.c: Likewise.
10292 * dirent/scandir64.c: Likewise.
10293 * dirent/scandirat64.c: Likewise.
10294 * sysdeps/wordsize-64/alphasort.c: File removed.
10295 * sysdeps/wordsize-64/alphasort64.c: File removed.
10296 * sysdeps/wordsize-64/scandir.c: File removed.
10297 * sysdeps/wordsize-64/scandir64.c: File removed.
10298 * sysdeps/wordsize-64/scandirat.c: File removed.
10299 * sysdeps/wordsize-64/scandirat64.c: File removed.
10300 * sysdeps/wordsize-64/versionsort.c: File removed.
10301 * sysdeps/wordsize-64/versionsort64.c: File removed.
10302 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10303 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10304 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10305 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10306 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10307 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10308 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10309 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10310
10311 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10312 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10313 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10314 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10315 [defined __arch64__ || defined __sparcv9]
10316 (__INO_T_MATCHES_INO64_T): New macro.
10317 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10318 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10319 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10320 * sysdeps/unix/sysv/linux/bits/dirent.h
10321 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10322 (_DIRENT_MATCHES_DIRENT64): New macro.
10323
03af9520
RM
10324 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10325 Define lockf64 as an alias.
10326 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10327 Define fseeko64 as an alias.
10328 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10329 Define ftello64 as an alias.
10330 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10331 Define _IO_fgetpos64 and fgetpos64 as aliases.
10332 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10333 Define _IO_fsetpos64 and fsetpos64 as aliases.
10334 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10335 Conditionalize body on this.
10336 * libio/fseeko64.c: Likewise.
10337 * libio/ftello64.c: Likewise.
10338 * libio/iofgetpos64.c: Likewise.
10339 * libio/iofsetpos64.c: Likewise.
10340 * sysdeps/wordsize-64/lockf.c: File removed.
10341 * sysdeps/wordsize-64/lockf64.c: File removed.
10342 * sysdeps/wordsize-64/fseeko.c: File removed.
10343 * sysdeps/wordsize-64/fseeko64.c: File removed.
10344 * sysdeps/wordsize-64/ftello.c: File removed.
10345 * sysdeps/wordsize-64/ftello64.c: File removed.
10346 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10347 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10348 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10349 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10350 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10351 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10352 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10353 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10354 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10355 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10356 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10357 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10358 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10359 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10360
10361 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10363 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10365 [defined __arch64__ || defined __sparcv9]
10366 (__OFF_T_MATCHES_OFF64_T): New macro.
10367 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10368 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10369 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10370 (__OFF_T_MATCHES_OFF64_T): New macro.
10371
c5757acd
L
103722012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10373
10374 * stdlib/secure-getenv.c (__secure_getenv): Replace
10375 GLIBC_2_16 with GLIBC_2_17.
10376
3a31811e
L
103772012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10378
10379 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10380 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10381
faa2bccb
DM
103822012-08-03 David S. Miller <davem@davemloft.net>
10383
10384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10385
85fe1997
JM
103862012-08-03 Joseph Myers <joseph@codesourcery.com>
10387
10388 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10389 Remove.
10390 (__ASSUME_CORRECT_SI_PID): Likewise.
10391 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10392 (__ASSUME_TMPFS_NAME): Likewise.
10393 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10394 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10395 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10396 (HAVE_AUX_SECURE): Make definition unconditional.
10397 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10398 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10399
4f75b7a0
RM
104002012-08-03 Roland McGrath <roland@hack.frob.com>
10401
10402 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10403 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10404 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10405 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10406 __eloop_threshold instead of SYMLOOP_MAX.
10407
10408 * sysdeps/generic/eloop-threshold.h: New file.
10409 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10410 of MAXSYMLINKS.
10411 * elf/chroot_canon.c (chroot_canon): Likewise.
10412
7aab07e4
JM
104132012-08-03 Joseph Myers <joseph@codesourcery.com>
10414
10415 [BZ #13717]
10416 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10417 Change to 2.6.0 everywhere.
10418 * sysdeps/unix/sysv/linux/configure: Regenerated.
10419 * sysdeps/unix/sysv/linux/kernel-features.h
10420 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10421 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10422 kernel versions.
10423 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10424 (__ASSUME_FUTEX_REQUEUE): Remove.
10425 (__ASSUME_STATFS64): Define unconditionally.
10426 (__ASSUME_AT_SECURE): Likewise.
10427 (__ASSUME_CORRECT_SI_PID): Likewise.
10428 (__ASSUME_TGKILL): Define without depending on kernel version for
10429 i386.
10430 (__ASSUME_UTIMES): Likewise.
10431 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10432 kernel version.
10433 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10434 (__ASSUME_TMPFS_NAME): Likewise.
10435 * README: Update reference to Linux kernel versions.
10436
b67e9372
MP
104372012-08-02 Marek Polacek <polacek@redhat.com>
10438
1f529f7d 10439 [BZ# 14150]
b67e9372
MP
10440 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10441 libc_cv_asm_type_prefix with %.
10442 * configure: Regenerated.
d2441631
RM
10443 * include/libc-symbols.h: Remove comment about
10444 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10445 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10446 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10447 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10448 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10449 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10450 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10451 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10452 * elf/tst-unique2mod1.c: Likewise.
10453 * elf/tst-unique1mod2.c: Likewise.
10454 * elf/tst-unique1mod1.c: Likewise.
10455 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10456 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10457 Replace ASM_TYPE_DIRECTIVE with .type.
10458 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10459 * sysdeps/i386/sysdep.h: Likewise.
10460 * sysdeps/x86_64/sysdep.h: Likewise.
10461 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10463 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10464 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10465 * sysdeps/powerpc/powerpc32/sysdep.h:
10466 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10467 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10468 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10469 * sysdeps/i386/fpu/e_powf.S: Likewise.
10470 * sysdeps/i386/fpu/e_expl.S: Likewise.
10471 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10472 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10473 * sysdeps/i386/fpu/e_pow.S: Likewise.
10474 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10475 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10476 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10477 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10478 * sysdeps/i386/fpu/e_log2.S: Likewise.
10479 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10480 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10481 * sysdeps/i386/fpu/e_powl.S: Likewise.
10482 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10483 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10484 * sysdeps/i386/fpu/e_logl.S: Likewise.
10485 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10486 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10487 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10488 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10489 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10490 * sysdeps/i386/fpu/e_log.S: Likewise.
10491 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10492 * sysdeps/i386/fpu/e_logf.S: Likewise.
10493 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10494 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10495 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10496 * sysdeps/i386/fpu/e_log10.S: Likewise.
10497 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10498 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10499 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10500 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10501 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10502 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10503 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10504 * sysdeps/i386/i686/strtok.S: Likewise.
10505 * sysdeps/i386/i386-mcount.S: Likewise.
10506 * sysdeps/i386/strtok.S: Likewise.
10507 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10508 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10509 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10510 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10511 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10512 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10513 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10514 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10515 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10516 * sysdeps/x86_64/_mcount.S: Likewise.
10517 * sysdeps/x86_64/strtok.S: Likewise.
10518 * sysdeps/sh/_mcount.S: Likewise.
10519
2747bf9a
RM
105202012-08-01 Roland McGrath <roland@hack.frob.com>
10521
10522 * libio/iofopen.c: Include <fcntl.h>.
10523 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10524 (_IO_fopen64, fopen64): Define as aliases.
10525 * libio/iofopen64.c: Include <fcntl.h>.
10526 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10527 Conditionalize body on this.
10528 * sysdeps/wordsize-64/iofopen.c: File removed.
10529 * sysdeps/wordsize-64/iofopen64.c: File removed.
10530
3fb791b8
MP
105312012-08-01 Marek Polacek <polacek@redhat.com>
10532
10533 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10534 Use dlfcn directly instead of a variable.
10535 (binfmt-subdir): Do not define.
10536 (dlfcn): Likewise.
10537
a9f1039f
JM
105382012-08-01 Joseph Myers <joseph@codesourcery.com>
10539
23bddc06
JM
10540 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10541 Remove all definitions.
10542 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10543 <kernel-features.h>.
10544 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10545 (miss_F_GETOWN_EX): Remove all definitions.
10546 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10547 macro definition.
10548 [!__ASSUME_FCNTL64]: Remove conditional code.
10549 [__ASSUME_FCNTL64]: Make code unconditional.
10550 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10551 <kernel-features.h>.
10552 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10553 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10554 (lockf64) [__NR_fcntl64]: Make code unconditional.
10555 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10556
a9f1039f
JM
10557 * sysdeps/unix/sysv/linux/kernel-features.h
10558 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10559 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10560 Make code unconditional.
10561 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10562 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10564 [__NR_vfork]: Make code unconditional.
10565 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10566 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10568 [__NR_vfork]: Make code unconditional.
10569 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10570 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10571
09c0ee5f
RM
105722012-08-01 Roland McGrath <roland@hack.frob.com>
10573
48aec5b9
RM
10574 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10575 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10576
cd97c966
RM
10577 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10578 Define mkstemp64 as an alias.
3f55550c
RM
10579 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10580 Define mkstemps64 as an alias.
cd97c966
RM
10581 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10582 Define mkostemp64 as an alias.
b8625cfc
RM
10583 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10584 Define mkostemps64 as an alias.
cd97c966
RM
10585 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10586 Conditionalize body on this.
10587 * misc/mkostemp64.c: Likewise.
b8625cfc 10588 * misc/mkostemps64.c: Likewise.
3f55550c 10589 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10590 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10591 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10592 * sysdeps/wordsize-64/mkostemp.c: File removed.
10593 * sysdeps/wordsize-64/mkstemp.c: File removed.
10594 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10595 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10596 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10597 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10598
09c0ee5f
RM
10599 [BZ #14138]
10600 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10601 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10602 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10603 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10604
10605 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10606 compat_symbol macros from <shlib-compat.h> rather than the underlying
10607 default_symbol_version and symbol_version macros, so that DEFAULT
10608 lines in shlib-versions are respected.
10609 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10610
7e66ee51
FW
106112012-08-01 Florian Weimer <fweimer@redhat.com>
10612
10613 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10614 Declare with warn_unused_result.
10615 (setgid, setregid, setegid, setresgid): Likewise.
10616 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10617 Likewise.
10618 * WUR-REPORT: Remove set*id functions.
10619
d2a54255
PT
106202012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10621
10622 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10623
7ecdb005
RM
106242012-07-31 Roland McGrath <roland@hack.frob.com>
10625
789bd351
RM
10626 * include/sys/socket.h (__libc_accept, __libc_accept4):
10627 Add attribute_hidden.
10628 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10629
40ce302d
RM
10630 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10631 use of PTR_MANGLE.
10632 * inet/getnetgrent_r.c (setup): Likewise.
10633
7ecdb005
RM
10634 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10635
e2eabb2c
DM
106362012-07-31 David S. Miller <davem@davemloft.net>
10637
10638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10639
d0419dbf
JM
106402012-07-31 Joseph Myers <joseph@codesourcery.com>
10641
10642 [BZ #13629]
10643 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10644 value between 1.0 and 2.0 and smaller part has absolute value less
10645 than 1.0.
10646 * math/s_clog10.c (__clog10): Likewise.
10647 * math/s_clog10f.c (__clog10f): Likewise.
10648 * math/s_clog10l.c (__clog10l): Likewise.
10649 * math/s_clogf.c (__clogf): Likewise.
10650 * math/s_clogl.c (__clogl): Likewise.
10651 * math/libm-test.inc (clog_test): Add more tests.
10652 (clog10_test): Likewise.
10653 * sysdeps/i386/fpu/libm-test-ulps: Update.
10654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10655
2bc13872
FW
106562012-07-31 Florian Weimer <fweimer@redhat.com>
10657
10658 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10659 Exit with zero in case no suitable GID is found, and write a
10660 message to standard error.
10661
bea9b193
RM
106622012-07-30 Roland McGrath <roland@hack.frob.com>
10663
10664 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10665 rather than to 1.
10666 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10667 (MAXPATHLEN): Removed.
10668 (NOGROUP, NODEV): New macros.
10669 (setbit, clrbit, isset, isclr): New macros.
10670 (howmany, roundup, powerof2): New macros.
10671 (DEV_BSIZE): New macro.
10672
10673 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10674 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10675
10676 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10677 definition on [!__NO_LONG_DOUBLE_MATH].
10678
10679 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10680 PTR_MANGLE and PTR_DEMANGLE.
10681
10682 * socket/accept4.c (accept4): Rename to __libc_accept4.
10683 Define accept4 as a weak alias.
10684
10685 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10686 on [_DIRENT_HAVE_D_TYPE].
10687 * io/ftw.c (ftw_dir): Likewise.
10688
10689 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10690
10691 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10692
10693 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10694 Use the BSD numbers rather than the arbitrary ones we had.
10695 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10696 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10697 (SIGXCPU, SIGXFSZ): New macros.
10698 (_NSIG): Now 32.
10699
10700 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10701 initializer on [_LIBC_REENTRANT].
10702
10703 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10704 definitions inside [_POSIX_MAPPED_FILES].
10705
10706 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10707
10708 * dirent/opendir.c: Include <fcntl.h>.
10709
10710 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10711 (__libc_getspecific): Likewise.
10712 (__libc_key_create): Likewise.
10713
10714 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10715 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10716 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10717 (tmpfile64): Define as alias.
10718 * sysdeps/wordsize-64/tmpfile.c: File removed.
10719 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10720 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10721 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10722
10723 * stdio-common/vfscanf.c: Include <stdbool.h>.
10724 * nss/makedb.c: Likewise.
10725 * stdio-common/_i18n_number.h: Likewise.
10726 * argp/argp-help.c: Likewise.
10727 * posix/wordexp.c: Likewise.
10728 * sysdeps/posix/spawni.c: Likewise.
10729 * nss/nss_files/files-initgroups.c: Likewise.
10730 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10731 * nss/nss_files/files-initgroups.c: Likewise.
10732 * nss/nss_db/db-netgrp.c: Likewise.
10733 * nss/nss_db/db-initgroups.c: Likewise.
10734 * io/fchmodat.c: Include <sys/stat.h>.
10735
10736 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10737 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10738
10739 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10740 [HAVE_MMAP].
10741
10742 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10743 Add multiple inclusion protection.
10744
e5abc686
DM
107452012-07-27 David S. Miller <davem@davemloft.net>
10746
10747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10748
815e6fa3
GB
107492012-07-27 Gary Benson <gbenson@redhat.com>
10750
10751 [BZ #14298]
10752 * elf/rtld.c: Include <stap-probe.h>.
10753 (dl_main): Added static probes "init_start" and "init_complete".
10754 * elf/dl-load.c: Include <stap-probe.h>.
10755 (lose): Take new parameter "nsid".
10756 Added static probe "map_failed".
10757 (_dl_map_object_from_fd): Pass namespace id to lose.
10758 Added static probe "map_start".
10759 (open_verify): Pass namespace id to lose.
10760 * elf/dl-open.c: Include <stap-probe.h>.
10761 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10762 and "reloc_complete".
10763 * elf/dl-close.c: Include <stap-probe.h>.
10764 (_dl_close_worker): Added static probes "unmap_start" and
10765 "unmap_complete".
10766 * elf/rtld-debugger-interface.txt: New file documenting the above.
10767
9f98c16c
RM
107682012-07-26 Roland McGrath <roland@hack.frob.com>
10769
10770 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10771 rather than a string variable.
10772 * sunrpc/rpc_main.c (h_output): Likewise.
10773 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10774
f3c22df3
PT
107752012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10776
10777 * inet/check_native.c: New file.
10778
3129cfc6
JM
107792012-07-26 Joseph Myers <joseph@codesourcery.com>
10780
da865e95
JM
10781 [BZ #13629]
10782 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10783 if larger part has absolute value 1.0.
10784 * math/s_clog10.c (__clog10): Likewise.
10785 * math/s_clog10f.c (__clog10f): Likewise.
10786 * math/s_clog10l.c (__clog10l): Likewise.
10787 * math/s_clogf.c (__clogf): Likewise.
10788 * math/s_clogl.c (__clogl): Likewise.
10789 * math/libm-test.inc (clog_test): Add more tests.
10790 (clog10_test): Likewise.
10791 * sysdeps/i386/fpu/libm-test-ulps: Update.
10792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10793
3129cfc6
JM
10794 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10795 (pltexit): Likewise.
10796 (La_regs): Likewise.
10797 (La_retval): Likewise.
10798 (int_retval): Likewise.
10799 Update #error for removed macros to refer only to definitions in
10800 tst-audit.h.
10801 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10802 macro.
10803 (pltexit): Likewise.
10804 (La_regs): Likewise.
10805 (La_retval): Likewise.
10806 (int_retval): Likewise.
10807 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10808 macro.
10809 (pltexit): Likewise.
10810 (La_regs): Likewise.
10811 (La_retval): Likewise.
10812 (int_retval): Likewise.
10813 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10814 macro.
10815 (pltexit): Likewise.
10816 (La_regs): Likewise.
10817 (La_retval): Likewise.
10818 (int_retval): Likewise.
10819 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10820 macro.
10821 (pltexit): Likewise.
10822 (La_regs): Likewise.
10823 (La_retval): Likewise.
10824 (int_retval): Likewise.
10825 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10826 macro.
10827 (pltexit): Likewise.
10828 (La_regs): Likewise.
10829 (La_retval): Likewise.
10830 (int_retval): Likewise.
10831 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10832 macro.
10833 (pltexit): Likewise.
10834 (La_regs): Likewise.
10835 (La_retval): Likewise.
10836 (int_retval): Likewise.
10837 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10838 macro definitions in tst-audit.h.
10839 * sysdeps/i386/tst-audit.h: New file.
10840 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10841 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10842 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10843 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10844 * sysdeps/sh/tst-audit.h: Likewise.
10845 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10846 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10847 * sysdeps/x86_64/tst-audit.h: Likewise.
10848
bfc07087
AJ
108492012-07-26 Andreas Jaeger <aj@suse.de>
10850
b1b2aaf8
AJ
10851 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10852 ptrace.
10853
10854 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10855 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10856 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10857 PTRACE_O_MASK.
10858 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10859 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10860 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10861
bfc07087
AJ
10862 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10863 value.
10864
10865 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10866 _sigsys.
10867 (si_call_addr, si_syscall, si_arch): Define new macro.
10868 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10869 _sigsys.
10870 (si_call_addr, si_syscall, si_arch): Define new marcro.
10871 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10872 _sigsys.
10873 (si_call_addr, si_syscall, si_arch): Define new macro.
10874 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10875 _sigsys.
10876 (si_call_addr, si_syscall, si_arch): Define new macro.
10877
89b4b02f
JM
108782012-07-25 Joseph Myers <joseph@codesourcery.com>
10879
10880 [BZ #13717]
10881 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10882 Change to 2.4.21 where previously 2.4.1.
10883 * sysdeps/unix/sysv/linux/configure: Regenerated.
10884 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10885 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10886 Linux kernel version.
10887 (__ASSUME_STD_AUXV): Remove.
10888 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10889 kernel version.
10890 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10891 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10892 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10893 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10894 (__ASSUME_NETLINK_SUPPORT): Likewise.
10895 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10896 (__no_netlink_support): Remove conditional definition.
10897 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10898 Remove.
10899 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10900 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10901 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10902 (if_nameindex_ioctl): Remove.
10903 (if_nameindex_netlink): Do not handle __no_netlink_support.
10904 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10905 code.
10906 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10907 Remove conditional code.
10908 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10909 code.
10910 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10911 unconditional.
10912 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10913 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10914 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10915 Remove.
10916 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10917 [!__ASSUME_STD_AUXV]: Remove conditional code.
10918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10919 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10920 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10922 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10923 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10924 code.
10925 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10927 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10928 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10929 conditional code.
10930 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10932 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10933 code.
10934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10935 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10936 conditional code.
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10938 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10939 code unconditional.
10940 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10941 conditional code.
10942 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10943 unconditional.
10944 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10945 conditional code.
10946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10947 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10948 unconditional.
10949 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10950 conditional code.
10951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10952 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10953 code unconditional.
10954 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10955 conditional code.
10956 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10957 unconditional.
10958 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10959 conditional code.
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10961 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10962 code unconditional.
10963 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10964 conditional code.
10965 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10966 unconditional.
10967 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10968 conditional code.
10969
842a39cd
AS
109702012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10971
10972 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10973 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10974 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10975 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10976 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10977 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10978 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10979 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10980 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10981 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10982 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10983 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10984 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10985 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10986 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10987 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10988 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10989 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10990 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10991 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10992 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10993 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10994 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10995
84b3fd84
FW
109962012-07-25 Florian Weimer <fweimer@redhat.com>
10997
10998 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10999 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11000 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11001 Introduce __libc_secure_getenv.
0c7936d5
FW
11002 * stdlib/Versions (2.17): Add secure_getenv
11003 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11004 * stdlib/secure-getenv.c: Rename __secure_getenv to
11005 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11006 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11007 * stdlib/tst-secure-getenv.c: New.
11008 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11009 * manual/startup.texi (Environment Access): Document
11010 secure_getenv.
84b3fd84
FW
11011 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11012 __libc_secure_getenv.
11013 * inet/ruserpass.c (ruserpass): Likewise.
11014 * malloc/mtrace.c (mtrace): Likewise.
11015 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11016 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11017 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11018 * sysdeps/posix/tempname.c: Likewise. Evaluate
11019 HAVE_SECURE_GETENV.
11020 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11021 __secure_getenv to __libc_secure_getenv.
84b3fd84 11022 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11024 Likewise.
11025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11026 Likewise.
11027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11029 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11034
56e49b71
JM
110352012-07-25 Joseph Myers <joseph@codesourcery.com>
11036
11037 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11038 (struct La_i86_retval): Likewise.
11039 (struct La_x86_64_regs): Likewise.
11040 (struct La_x86_64_retval): Likewise.
11041 (struct La_x32_regs): Likewise.
11042 (struct La_x32_retval): Likewise.
11043 (struct La_ppc32_regs): Likewise.
11044 (struct La_ppc32_retval): Likewise.
11045 (struct La_ppc64_regs): Likewise.
11046 (struct La_ppc64_retval): Likewise.
11047 (struct La_sh_regs): Likewise.
11048 (struct La_sh_retval): Likewise.
11049 (struct La_s390_32_regs): Likewise.
11050 (struct La_s390_32_retval): Likewise.
11051 (struct La_s390_64_regs): Likewise.
11052 (struct La_s390_64_retval): Likewise.
11053 (struct La_sparc32_regs): Likewise.
11054 (struct La_sparc32_retval): Likewise.
11055 (struct La_sparc64_regs): Likewise.
11056 (struct La_sparc64_retval): Likewise.
11057 (struct audit_ifaces): Remove architecture-specific pltenter and
11058 pltexit members.
11059 * sysdeps/i386/ldsodefs.h: New file.
11060 * sysdeps/powerpc/ldsodefs.h: Likewise.
11061 * sysdeps/s390/ldsodefs.h: Likewise.
11062 * sysdeps/sh/ldsodefs.h: Likewise.
11063 * sysdeps/sparc/ldsodefs.h: Likewise.
11064 * sysdeps/x86_64/ldsodefs.h: Likewise.
11065
354691b7
MP
110662012-07-25 Marek Polacek <polacek@redhat.com>
11067
11068 [BZ #6808]
11069 * math/libm-test.inc (yn_test): Add another test.
11070 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11071 to ERANGE when the result is +-Inf.
11072 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11073 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11074 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11075 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11076
bf9e2071
JM
110772012-07-24 Joseph Myers <joseph@codesourcery.com>
11078
11079 * conform/data/time.h-data (NULL): Use macro-constant. Require
11080 equal to 0.
11081 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11082 clock_t.
11083 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11084
57633811
TS
110852012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11086
11087 * configure.in <sysdeps resolving>: Correct printing
11088 Implies_before.
11089 * configure: Regenerate.
11090
c23c33b0
TS
110912012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11092
11093 * math/w_ilogb.c: Include <limits.h>.
11094 * math/w_ilogbl.c: Likewise.
11095
b5982523
JM
110962012-07-20 Joseph Myers <joseph@codesourcery.com>
11097
11098 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11099 va_copy. Document allowing for unavailable va_copy only as
11100 pre-C99 compatibility.
11101 * manual/string.texi (Copying and Concatenation): Use va_copy
11102 instead of __va_copy in concat example.
11103
ac4ea442
PT
111042012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11105
11106 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11107 (__sendto): Use create_address_port. Initialize APORT and deallocate
11108 it if not null.
11109
f98eafbd
PT
11110 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11111 with O_NOLINK passed to __file_name_lookup.
11112
898c7aab
PT
11113 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11114 with O_NOLINK passed to __file_name_lookup.
11115
0ced335a
PT
11116 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11117 negative N or less than NGIDS.
11118
b3404dbd
PT
11119 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11120 type to string_t. Set ERANGE as errno and return it if NAME is not big
11121 enough. Use memcpy instead of strncpy.
11122
0f48659e
JM
111232012-07-20 Joseph Myers <joseph@codesourcery.com>
11124
11125 * elf/Makefile (check-data): Remove.
11126 (localplt.data): New vpath directive.
11127 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11128 instead of $(check-data).
11129 * scripts/data/localplt-generic.data: Move to ...
11130 * sysdeps/generic/localplt.data: ... here.
11131 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11132 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11133 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11135 ... here.
11136 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11138 ... here.
11139 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11141 ... here.
11142 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11144 ... here.
11145 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11147 ... here.
11148 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11150 ... here.
11151
d37cbdaa
AZ
111522012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11153
11154 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11155 PPC32 and PPC64 files.
11156 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11157 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11158
46f85fc2
AK
111592012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11160
11161 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11162 __makecontext_ret to ...
11163 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11164 ... here and call exit if uc_link is NULL. New file.
11165 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11166 __makecontext_ret.S.
11167 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11168 __makecontext_ret to ...
11169 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11170 ... here and call exit if uc_link is NULL. New file.
11171 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11172 __makecontext_ret.S.
11173
08f43f9b
AK
111742012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11175
11176 * elf/elf.h (R_390_IRELATIVE): New definition.
11177 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11178 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11179 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11180 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11181 (elf_machine_lazy_rel): Likewise.
11182 * sysdeps/s390/dl-irel.h: New file.
11183 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11184 * sysdeps/s390/s390-64/memset.S: New asm code.
11185 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11186 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11187 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11188 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11189 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11190 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11191 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11192 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11193 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11194 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11195 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11196 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11197 * sysdeps/s390/s390-32/memset.S: New asm code.
11198 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11199
3b05db33
MP
112002012-07-17 Marek Polacek <polacek@redhat.com>
11201
11202 [BZ #14349]
11203 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11204 * sysdeps/s390/s390-64/configure.in: Likewise.
11205 * sysdeps/sparc/configure.in: Likewise.
11206 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11207 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11208 * sysdeps/i386/configure.in: Likewise.
11209 * sysdeps/x86_64/configure.in: Likewise.
11210 * sysdeps/sh/configure.in: Likewise.
11211 * sysdeps/s390/s390-32/configure: Regenerated.
11212 * sysdeps/s390/s390-64/configure: Likewise.
11213 * sysdeps/x86_64/configure: Likewise.
11214 * sysdeps/sh/configure: Likewise.
11215 * sysdeps/powerpc/powerpc64/configure: Likewise.
11216 * sysdeps/powerpc/powerpc32/configure: Likewise.
11217 * sysdeps/sparc/configure: Likwise.
11218 * sysdeps/i386/configure: Likewise.
11219
a66877c6
MP
11220 * elf/dl-open.c: Comment fixes.
11221
cfc82fd8
JM
112222012-07-17 Joseph Myers <joseph@codesourcery.com>
11223
bd29910a
JM
11224 * Makefile [CXX] (check-data): Remove.
11225 [CXX] (c++-types.data): New vpath directive.
11226 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11227 vpath. Do not allow for C++ type data being missing.
11228 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11229 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11230 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11231 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11232 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11233 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11234 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11236 ... here.
11237 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11239 ... here.
11240 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11242 ... here.
11243 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11245 ... here.
11246 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11248 ... here.
11249 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11251 ... here.
11252 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11254 ... here.
11255 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11257
cfc82fd8
JM
11258 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11259 definitions to architecture-specific files.
11260 (TLS_IE): Likewise.
11261 (TLS_LD): Likewise.
11262 (TLS_GD): Likewise.
11263 * sysdeps/i386/tls-macros.h: New file.
11264 * sysdeps/powerpc/tls-macros.h: Likewise.
11265 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11266 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11267 * sysdeps/sh/tls-macros.h: Likewise.
11268 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11269 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11270 * sysdeps/x86_64/tls-macros.h: Likewise.
11271
f7db3170
TS
112722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11273
07cbfc23
TS
11274 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11275 zero value for regular exit case.
11276
f7db3170
TS
11277 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11278 (__start_context): Preserve zero value for regular exit case.
11279
dc97c227
TS
112802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11281 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11282
11283 * manual/setjmp.texi (setcontext): Clarify normal process
11284 termination when uc_link is the null pointer.
11285 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11286 exit call.
11287
d0cd7d02
AS
112882012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11289
11290 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11291 preprocessor. Test for each exception mask separately.
11292
dd318934
AJ
112932012-07-16 Andreas Jaeger <aj@suse.de>
11294
11295 * po/ru.po: Update from translation team.
11296
8048311a
JM
112972012-07-15 Joseph Myers <joseph@codesourcery.com>
11298
11299 * conform/data/string.h-data (NULL): Use macro-constant. Require
11300 equal to 0.
11301 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11302 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11303 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11304 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11305 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11306
b637d46e
AJ
113072012-07-13 Andreas Jaeger <aj@suse.de>
11308
11309 * po/fr.po: Update from translation team.
11310
541428fe
MP
113112012-07-12 Marek Polacek <polacek@redhat.com>
11312
11313 [BZ #14173]
11314 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11315 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11316 loop condition.
11317
ec332e94
JM
113182012-07-12 Joseph Myers <joseph@codesourcery.com>
11319
11320 [BZ #13717]
11321 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11322 Change to 2.4.1 where previously 2.4.0.
11323 * sysdeps/unix/sysv/linux/configure: Regenerated.
11324 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11325 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11326 version.
11327 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11328 (__ASSUME_AT_CLKTCK): Remove.
11329 (__ASSUME_AT_PAGESIZE): Likewise.
11330 (__ASSUME_AT_XID): Likewise.
11331 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11332 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11333 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11334 unconditionally.
11335 (HAVE_AUX_PAGESIZE): Likewise.
11336 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11337 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11338 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11339
7b6e99be
JB
113402012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11341
11342 [BZ #14307]
11343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11344 the temporary buffer used to invoke __gethostbyname2_r,
11345 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11346 host_data / struct gaih_addrtuple.
11347 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11348 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11349 header file nss/nsswitch.h.
11350 * nss/nsswitch.h (global scope): Add definition of implementation
11351 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11352 resolv/nss_dns/dns-host.c).
11353
608404eb
AJ
113542012-07-11 Andreas Jaeger <aj@suse.de>
11355
11356 * po/fr.po: Update from translation team.
11357
71220aca
AJ
11358 * po/sv.po: Update from translation team
11359 * po/fr.po: Another update from translation team.
11360
28cfe843
AZ
113612012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11362
11363 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11364 for subnormals or multiply small sinh result by itself.
11365 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11367
6b90f981
DM
113682012-07-11 David S. Miller <davem@davemloft.net>
11369
11370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11371
c6825772
AS
113722012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11373
11374 [BZ #14347]
11375 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11376 (INTERNAL_MARK): Shift it here.
11377
7b8e0d49
MP
113782012-07-10 Marek Polacek <polacek@redhat.com>
11379
11380 [BZ #14151]
11381 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11382 libc_cv_asm_global_directive with .globl.
11383 * configure: Regenerated.
11384 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11385 with .globl.
11386 * sysdeps/i386/configure: Regenerated.
11387 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11388 with .globl.
11389 * sysdeps/x86_64/configure: Regenerated.
11390 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11391 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11392 * elf/tst-unique2mod2.c: Likewise.
11393 * elf/tst-unique2mod1.c: Likewise.
11394 * elf/tst-unique1mod2.c: Likewise.
11395 * elf/tst-unique1mod1.c: Likewise.
11396 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11397 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11398 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11399 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11400 * sysdeps/mach/sysdep.h: Likewise.
11401 * sysdeps/i386/sysdep.h: Likewise.
11402 * sysdeps/i386/i386-mcount.S: Likewise.
11403 * sysdeps/x86_64/_mcount.S: Likewise.
11404 * sysdeps/x86_64/sysdep.h: Likewise.
11405 * sysdeps/sh/_mcount.S: Likewise.
11406 * sysdeps/sh/sysdep.h: Likewise.
11407 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11408 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11409 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11410 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11411 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11412 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11413 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11414 * locale/localeinfo.h: Likewise.
11415 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11416 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11417
6c55cda3
RM
114182012-07-09 Roland McGrath <roland@hack.frob.com>
11419
11420 [BZ #14336]
11421 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11422 system".
11423 * manual/message.texi (The Uniforum approach): Likewise.
11424 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11425 (glibc iconv Implementation): Likewise.
11426
638a572e
JM
114272012-07-09 Joseph Myers <joseph@codesourcery.com>
11428
11429 [BZ #14337]
11430 * math/s_clog.c (__clog): Avoid scaling a value down where that
11431 could result in underflow.
11432 * math/s_clog10.c (__clog10): Likewise.
11433 * math/s_clog10f.c (__clog10f): Likewise.
11434 * math/s_clog10l.c (__clog10l): Likewise.
11435 * math/s_clogf.c (__clogf): Likewise.
11436 * math/s_clogl.c (__clogl): Likewise.
11437 * math/libm-test.inc (clog_test): Add more tests.
11438 (clog10_test): Likewise.
11439 * sysdeps/i386/fpu/libm-test-ulps: Update.
11440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11441
261f4859
AS
114422012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11443
0abaf3e4
AS
11444 [BZ #14283]
11445 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11446 by 7 not 8 to examine high bit of fractional part.
11447
261f4859
AS
11448 [BZ #14042]
11449 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11450 for call to __mcount_internal.
11451 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11452 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11453 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11454
f17ac40d
JM
114552012-07-06 Joseph Myers <joseph@codesourcery.com>
11456
9ad63c23
JM
11457 [BZ #14154]
11458 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11459 approximation for values within 0x1p-13f of an odd multiple of
11460 pi/4.
11461 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11462 exception. Add more tests.
11463 * sysdeps/i386/fpu/libm-test-ulps: Update.
11464
f17ac40d
JM
11465 [BZ #6778]
11466 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11467 inputs and return -1 for them. Do not check for +Inf in case not
11468 reachable for +Inf.
11469 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11470 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11471 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11472 and return -1 for them. Do not check for +Inf in case not
11473 reachable for +Inf.
11474 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11475 define.
11476 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11477 and return -1 for them. Do not check for +Inf in case not
11478 reachable for +Inf.
11479 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11480 spurious underflow.
11481 * sysdeps/i386/fpu/libm-test-ulps: Update.
11482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11483
fb21f89b
MF
114842012-07-06 Mike Frysinger <vapier@gentoo.org>
11485
11486 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11487
cdfe2c5e
JM
114882012-07-05 Joseph Myers <joseph@codesourcery.com>
11489
11490 [BZ #14157]
11491 [BZ #14331]
11492 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11493 could result in spurious underflow. Scale down values above
11494 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11495 * math/s_csqrtf.c (__csqrtf): Likewise.
11496 * math/s_csqrtl.c (__csqrtl): Likewise.
11497 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11498 spurious underflow.
11499 * sysdeps/i386/fpu/libm-test-ulps: Update.
11500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11501
70d35b67
AS
115022012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11503
704bc459
AS
11504 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11505 xopen-msg.sed.
11506 * catgets/xopen-msg.awk: New file.
11507 * catgets/xopen-msg.sed: Removed.
11508
70d35b67
AS
11509 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11510 po2text.sed.
11511 * intl/po2test.awk: New file.
11512 * intl/po2test.sed: Removed.
11513
ca61cf32
JM
115142012-07-04 Joseph Myers <joseph@codesourcery.com>
11515
11516 [BZ #14328]
11517 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11518 or multiply small sinh result by itself.
11519 * math/s_ctanf.c (__ctanf): Likewise.
11520 * math/s_ctanh.c (__ctanh): Likewise.
11521 * math/s_ctanhf.c (__ctanhf): Likewise.
11522 * math/s_ctanhl.c (__ctanhl): Likewise.
11523 * math/s_ctanl.c (__ctanl): Likewise.
11524 * math/libm-test.inc (ctan_test_tonearest): New function.
11525 (ctan_test_towardzero): Likewise.
11526 (ctan_test_downward): Likewise.
11527 (ctan_test_upward): Likewise.
11528 (ctanh_test_tonearest): Likewise.
11529 (ctanh_test_towardzero): Likewise.
11530 (ctanh_test_downward): Likewise.
11531 (ctanh_test_upward): Likewise.
11532 (main): Call these new functions.
11533 * sysdeps/i386/fpu/libm-test-ulps: Update.
11534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11535
ca48a46a
MF
115362012-07-03 Mike Frysinger <vapier@gentoo.org>
11537
11538 * .gitignore: Delete /ports entry.
11539
9d63d37d
AJ
115402012-07-03 Andreas Jaeger <aj@suse.de>
11541
11542 * po/bg.po: Update from translation team.
11543 * po/cs.po: Likewise.
11544 * po/de.po: Likewise.
11545 * po/hr.po: Likewise.
11546 * po/nl.pl: Likewise.
11547 * po/pl.po: Likewise.
11548 * po/vi.po: Likewise.
11549
370ca3d2
JM
115502012-07-03 Joseph Myers <joseph@codesourcery.com>
11551
95f5a9a8
JM
11552 * Makeconfig [!+link] (+link-before-libc): New variable.
11553 [!+link] (+link-after-libc): Likewise.
11554 [!+link] (+link-tests): Likewise.
11555 [!+link] (+link): Define in terms of $(+link-before-libc) and
11556 $(+link-after-libc).
11557 [!+link-static] (+link-static-before-libc): New variable.
11558 [!+link-static] (+link-static-after-libc): Likewise.
11559 [!+link-static] (+link-static-tests): Likewise.
11560 [!+link-static] (+link-static): Define in terms of
11561 $(+link-static-before-libc) and $(+link-static-after-libc).
11562 [build-shared] (link-libc-before-gnulib): New variable.
11563 [build-shared] (link-libc-tests): Likewise.
11564 [build-shared] (link-libc): Define in terms of
11565 $(link-libc-before-gnulib).
11566 [!build-shared] (link-libc-tests): New variable.
11567 (link-libc-static-tests): New variable.
11568 [!gnulib] (gnulib-arch): New variable.
11569 [!gnulib] (gnulib-tests): Likewise.
11570 [!gnulib] (static-gnulib-arch): Likewise.
11571 [!gnulib] (static-gnulib-tests): Likewise.
11572 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11573 Define with "=" instead of ":=".
11574 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11575 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11576 * Rules (binaries-all-notests): New variable.
11577 (binaries-all-tests): Likewise.
11578 (binaries-static-notests): Likewise.
11579 (binaries-static-tests): Likewise.
11580 (binaries-all): Define using $(binaries-all-notests) and
11581 $(binaries-all-tests).
11582 (binaries-static): Define using $(binaries-static-notests) and
11583 $(binaries-static-tests).
11584 (binaries-shared-tests): New variable.
11585 (binaries-shared-notests): Likewise.
11586 (binaries-shared): Remove variable.
11587 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11588 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11589 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11590 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11591 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11592 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11593 * elf/Makefile (sln-modules): New variable.
11594 (extra-objs): Add $(sln-modules:=.o).
11595 (ldconfig-modules): Add static-stubs.
11596 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11597 * elf/static-stubs.c: New file.
11598
7a845b2c
JM
11599 [BZ #14283]
11600 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11601 by 7 not 8 to examine high bit of fractional part. Use volatile
11602 variables when splitting into final array of floats if
11603 __FLT_EVAL_METHOD__ != 0.
11604 * math/libm-test.inc (cos_test): Add another test.
11605 (sin_test): Likewise.
11606 * sysdeps/i386/fpu/libm-test-ulps: Update.
11607
e2283f38
JM
11608 [BZ #14273]
11609 * math/libm-test.inc (cosh_test): Add more tests.
11610
370ca3d2
JM
11611 * version.h (RELEASE): Set to "development".
11612 (VERSION): Set to "2.16.90".
11613
ee9247c3
CD
116142012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11615
11616 * NEWS: Update copyright. Remove last-updated date.
11617 Mention math library bug fixes and timezone data changes.
11618 * README: Mention GNU/Hurd, x32, and HPPA support status.
11619
4648c381
TS
116202012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11621
11622 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11623
aac78a43
AJ
116242012-06-27 Andreas Jaeger <aj@suse.de>
11625
11626 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11627
ed3dbfad
AJ
116282012-06-25 Andreas Jaeger <aj@suse.de>
11629
11630 * sysdeps/s390/fpu/libm-test-ulps: Update.
11631
4d0ee855
AS
116322012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11633 Thomas Schwinge <thomas@codesourcery.com>
11634
11635 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11636 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11637 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11638 fanotify_mark.
11639
af1bce34
TS
116402012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11641
a9fa33ba
TS
11642 * sysdeps/mach/start.c: Remove file.
11643 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11644 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11645 * sysdeps/sh/init-first.c: Likewise.
11646
58f902b8
TS
11647 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11648 registers for frame unwinding purposes, add CFI directives.
11649 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11650 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11651 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11652 Likewise.
11653
1518f58b
TS
11654 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11655 __fortify_fail returning.
11656 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11657
db9b5059
TS
11658 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11659 sysdeps/sh/____longjmp_chk.S.
11660 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11661 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11662 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11663 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11664
967705fe
TS
11665 * sysdeps/sh/abort-instr.h: New file.
11666 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11667 process in case exit returns.
11668
a9def8c4
TS
11669 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11670 initialize the GOT register before use.
11671
2a649725
TS
11672 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11673 calculation of ARGC > 4.
11674
af1bce34
TS
11675 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11676 meaningful names to some local labels.
11677
d230f50a
KK
116782012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11679 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11680
11681 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11682 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11683 (__arch_compare_and_exchange_val_16_acq): Likewise.
11684 (__arch_compare_and_exchange_val_32_acq): Likewise.
11685 (atomic_exchange_and_add): Fix gUSA sequence.
11686 (atomic_add): Likewise.
11687 (atomic_add_negative): Likewise.
11688 (atomic_add_zero): Likewise.
11689 (atomic_bit_test_set): Likewise.
11690
0479b305
AS
116912012-06-22 Andreas Schwab <schwab@redhat.com>
11692
11693 [BZ #13579]
11694 * include/link.h (struct link_map): Add l_free_initfini.
11695 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11696 l_initfini.
11697 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11698 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11699 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11700 set.
11701
0e3933b9
CD
117022012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11703
11704 * configure.in: Use AC_LANG_SOURCE.
11705 * configure: Regenerate.
11706
4248b1b1
RM
117072012-06-22 Roland McGrath <roland@hack.frob.com>
11708
11709 * configure.in (libc_cv_localstatedir): New substituted variable.
11710 * configure: Regenerated.
11711 * config.make.in (localstatedir): New variable, substituted from
11712 libc_cv_localstatedir.
11713 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11714 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11715 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11716 * sysdeps/gnu/configure: Regenerated.
11717
006dd861
JL
117182012-06-21 Jeff Law <law@redhat.com>
11719
11720 [BZ #14277]
11721 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11722 free. Simplify list management for _LIBC case.
11723
79662d42
JM
117242012-06-21 Joseph Myers <joseph@codesourcery.com>
11725
b7abb4bf
JM
11726 [BZ #14273]
11727 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11728 Clear sign bit of 64-bit integer value before comparing against
11729 overflow value.
11730
79662d42
JM
11731 * sysdeps/mach/configure: Regenerated.
11732
1f150908
L
117332012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11734
11735 [BZ #14278]
11736 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11737
28363bbf
JL
117382012-06-21 Jeff Law <law@redhat.com>
11739
11740 [BZ #13882]
11741 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11742 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11743 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11744 * elf/dl-open.c (dl_open_worker): Likewise.
11745
09615db4
CD
117462012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11747
11748 * scripts/list-sources.sh: Scan PORTS for translations.
11749 * po/libc.pot: Regenerated.
11750
2174c6dd
AJ
117512012-06-21 Andreas Jaeger <aj@suse.de>
11752
11753 [BZ #12194]
11754 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11755 warning.
11756 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11757 * bits/byteswap-16.h (__bswap_16): Likewise.
11758 * bits/byteswap.h (__bswap_constant_16): Likewise.
11759
3ee947b1
L
117602012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11761
11762 [BZ #14117]
a2f34833
L
11763 * sysdeps/i386/fpu_control.h: Removed.
11764 * sysdeps/x86_64/fpu_control.h: Moved to ...
11765 * sysdeps/x86/fpu_control.h: Here.
11766
3ee947b1
L
11767 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11768 (_FPU_SETCW): Likewise.
11769
ed1825f8
L
117702012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11771
25f1282a
L
11772 [BZ #14117]
11773 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11774 * sysdeps/x86/fpu/bits/mathinline.h: This.
11775 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11776
ed1825f8
L
11777 [BZ #14050]
11778 [BZ #14117]
11779 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11780 functions if __x86_64__ is defined.
11781
36d54b74
CLT
117822012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11783
11784 * string/endian.h: Add !__ASSEMBLER__ condition for including
11785 conversion interfaces.
11786
10285c21
JM
117872012-06-15 Joseph Myers <joseph@codesourcery.com>
11788
11789 [BZ #14241]
11790 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11791 of ABS(x) in calculating zero to negative powers other than odd
11792 integers.
11793 * math/libm-test.inc (pow_test): Add more tests.
11794
06c5abbd
AJ
117952012-06-15 Andreas Jaeger <aj@suse.de>
11796
11797 * manual/contrib.texi (Contributors): Update entry of Liubov
11798 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11799 Machado Filho.
11800
a3aeac40
CH
118012012-06-15 Cyril Hrubis <metan@ucw.cz>
11802
11803 * string/string.h: Add __wur to GNU version of strerror_r.
11804
49bdf4c1
L
118052012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11806
11807 [BZ #14229]
11808 * string/Makefile (tests): Add tst-strtok_r.
11809 * string/tst-strtok_r.c: New file.
11810 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11811 RAX_LP/RDX_LP on SAVE_PTR.
11812
834f9b8d
RM
118132012-06-14 Roland McGrath <roland@hack.frob.com>
11814
11815 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11816
75fa1921
JM
118172012-06-14 Joseph Myers <joseph@codesourcery.com>
11818
11819 * libm_test.inc (csqrt_test): Allow more spurious underflow
11820 exceptions.
11821 (j0_test): Likewise.
11822 (j1_test): Likewise.
11823 (y0_test): Likewise.
11824 (y1_test): Likewise.
11825
771766df
CD
118262012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11827
11828 * po/Makefile (libc.pot): Use UTF-8 charset.
11829
ceb9e56b
PP
118302012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11831
11832 [BZ #14210]
11833 Suppress sign-conversion warning from FD_SET.
11834 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11835 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11836 not unsigned long int.
11837 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11838
ddb28975
L
118392012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11840
11841 [BZ #14050]
11842 [BZ #14117]
11843 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11844 __extern_always_inline instead of __extern_inline.
11845 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11846 (__signbit): Likewise.
11847 (__signbitl): Support C++ namespace.
11848 (lrintf): New inline function.
11849 (lrint): Likewise.
11850 (llrintf): Likewise.
11851 (llrint): Likewise.
11852 (fmaxf): Likewise.
11853 (fmax): Likewise.
11854 (fminf): Likewise.
11855 (fmin): Likewise.
11856 (rint): Likewise.
11857 (rintf): Likewise.
11858 (ceil): Likewise.
11859 (ceilf): Likewise.
11860 (floor): Likewise.
11861 (floorf): Likewise.
11862 (nearbyint): Likewise.
11863 (nearbyintf): Likewise.
11864
d7b4fb26
TS
118652012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11866
11867 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11868 non-default versions.
11869
eb55f5c2
RM
118702012-06-11 Roland McGrath <roland@hack.frob.com>
11871
11872 [BZ #14218]
11873 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11874
366af02c
TS
118752012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11876
99ff6e5c
TS
11877 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11878 (FE_UPWARD, FE_DOWNWARD): Don't define.
11879 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11880 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11881
366af02c
TS
11882 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11883 reading it.
11884 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11885 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11886
793ea851
KK
118872012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11888
11889 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11890 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11891 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11892 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11893
a728a38f
L
118942012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11895
11896 [BZ #14117]
c08010c7
L
11897 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11898 * sysdeps/i386/fpu/Implies: New file.
11899 * sysdeps/x86_64/fpu/Implies: Likewise.
11900 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11901 * sysdeps/x86/fpu/bits/fenv.h: This.
11902
a728a38f
L
11903 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11904 __SSE_MATH__.
11905
6e230d11
SP
119062012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11907
11908 [BZ #14134]
11909 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11910 character 0xffff that matches the last element of the
11911 conversion table.
11912
1b671feb
AZ
119132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11914
11915 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11916 fmodl commit.
11917
6043738b
AZ
119182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11919
11920 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11921 values higher than 25.6283.
11922
34ae0b32
AZ
119232012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11924
11925 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11926 subnormal exponent extraction and add some __builtin_expect.
11927 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11928 Fix for subnormal mantissa calculation.
11929
1214ec8f
MF
119302012-06-04 Mike Frysinger <vapier@gentoo.org>
11931
11932 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11933 cpu2 is -1 and errno is not ENOSYS.
11934
f3d1f93c
L
119352012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11936
11937 [BZ #14117]
0e4a3cd7
L
11938 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11939 * sysdeps/x86/bits/string.h: This.
11940 * sysdeps/x86_64/bits/string.h: Removed.
11941
6704c645
L
11942 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11943 if not compiling for x86-64, but compiling for >= i486.
11944
48495318
L
11945 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11946 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11947
14adcbfc
L
11948 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11949 New macro from Linux kernel 3.4.0.
11950 (FP_XSTATE_MAGIC2): Likewise.
11951 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11952 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11953 (struct _fpx_sw_bytes): New struct.
11954 (struct _xsave_hdr): Likewise.
11955 (struct _ymmh_state): Likewise.
11956 (struct _xstate): Likewise.
11957
68e408ab
L
11958 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11959 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11960 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11961 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11962 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11963 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11964
f3d1f93c
L
11965 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11966 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11967 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11968 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11969 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11970 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11971
d9dc34cd
TMQMF
119722012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11973
11974 [BZ #13743]
11975 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11976 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11977 (sysdep_headers): Include sys/platform/ppc.h.
11978 * sysdeps/powerpc/test-gettimebase.c: Test for
11979 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11980 * manual/Makefile (appendices): Include platform.texi.
11981 * manual/contrib.texi (Contributors): Update @node pointers.
11982 * manual/maint.texi (Maintenance): Likewise.
11983 (Platform): New node.
11984 * manual/platform.texi: New file. Document the new features.
11985
4af3879c
SP
119862012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11987 Jakub Jelinek <jakub@redhat.com>
11988
11989 [BZ #14188]
11990 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11991 where __builtin_expect is unavailable.
11992
2fd6ff13
DM
119932012-06-03 David S. Miller <davem@davemloft.net>
11994
11995 * stdlib/longlong.h: Updated from GCC.
11996
173f7220
AS
119972012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11998
11999 [BZ #14042]
12000 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12001 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12002 __mcount_internal.
12003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12004 (GLIBC_2.16): Likewise.
12005
f34a1c6f
L
120062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12007
12008 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12009
88a4576f
JM
120102012-06-01 Joseph Myers <joseph@codesourcery.com>
12011
ea32bcdd
JM
12012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12013 (default-abi): New variable.
12014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12015 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12016 variable.
12017 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12018 Likewise.
12019 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12020 Likewise.
12021 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12022 Likewise.
12023
88a4576f
JM
12024 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12025 definition. Document in comment.
12026
402fe938
DM
120272012-06-01 David S. Miller <davem@davemloft.net>
12028
12029 * stdlib/longlong.h: Updated from GCC.
12030
3553723f
L
120312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12032
12033 [BZ #14117]
3bd872c4
L
12034 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12035 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12036 sys/debugreg.h sys/io.h here.
12037 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12038 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12039 sys/io.h.
12040 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12041 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12042 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12043 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12044 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12045 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12046
3553723f
L
12047 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12048 Define only if __x86_64__ is defined.
12049
4842e4fe
JM
120502012-06-01 Joseph Myers <joseph@codesourcery.com>
12051
c5bfe3d5
JM
12052 [BZ #14048]
12053 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12054 Use int64_t for variable i.
12055 * math/libm-test.inc (fmod_test): Add more tests.
12056
4842e4fe
JM
12057 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12058 z computation is not scheduled after fetestexcept.
12059 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12060 Use math_force_eval instead of asm to ensure calculation scheduled
12061 before exception test.
12062 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12063 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12064
efb73488
AJ
120652012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12066
12067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12068 computation is not scheduled after fetestexcept.
12069
29bcce7c
L
120702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12071
12072 [BZ #14117]
12073 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12074 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12075
73a68f94
AZ
120762012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12077
12078 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12079 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12080
67b6df78
L
120812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12082
edf2933a 12083 [BZ #14117]
ebc64a18
L
12084 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12085 <bits/wordsize.h>.
12086 (__WCHAR_MIN): Support __WORDSIZE == 64.
12087 (__WCHAR_MAX): Likewise.
12088
edf2933a
L
12089 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12090 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12091
57c6cf40
L
12092 [BZ #14183]
12093 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12094 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12095
67b6df78 12096 [BZ #14117]
8eb6281e
L
12097 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12098 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12099
aac639f4
L
12100 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12101 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12102
67b6df78
L
12103 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12104 Defined to 1 if __x86_64__ isn't defined.
12105 (_STAT_VER_LINUX_OLD): New.
12106 (st_atime): Remove duplicate.
12107 (st_mtime): Likewise.
12108 (st_ctime): Likewise.
12109
1c2cfe81
DM
121102012-05-31 David S. Miller <davem@davemloft.net>
12111
12112 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12113 entries.
12114
5be8418c
AS
121152012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12116
e7725326
AS
12117 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12118 gen-libm-test.pl.
12119
5be8418c
AS
12120 [BZ #14132]
12121 * elf/dl-reloc.c: Include <_itoa.h>.
12122 (_dl_reloc_bad_type): Remove use of INTUSE.
12123 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12124 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12125 * stdio-common/psiginfo.c (psiginfo): Likewise.
12126 * stdio-common/psignal.c (psignal): Likewise.
12127 * string/strsignal.c (strsignal): Likewise.
12128 * include/signal.h (_sys_siglist): Declare hidden proto.
12129 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12130 INTVARDEF with libc_hidden_data_def.
12131 * stdio-common/itoa-udigits.c: Likewise.
12132 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12133 (_itoa_lower_digits_internal): Remove declaration.
12134 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12135 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12136 (_sys_sigabbrev_internal): Remove aliases.
12137 (_sys_siglist): Define hidden alias.
12138
507352f1
MT
121392012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12140
12141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12142 bits/sysctl.h.
12143
42bbb1c3
L
121442012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12145
12146 [BZ #14117]
6bd784b6
L
12147 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12148 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12149
8bca20f0
L
12150 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12151 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12152 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12153 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12154 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12155 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12156
f9e890a9
L
12157 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12158 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12159 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12160
471101a1
L
12161 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12162 with __addr.
12163 (insw): Likewise.
12164 (insl): Likewise.
12165 (outsb): Likewise.
12166 (outsw): Likewise.
12167 (outsl): Likewise.
12168
6451c862
L
12169 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12170 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12171 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12172
a254b8c9
L
12173 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12174 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12175 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12176 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12177 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12178 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12179
b8dfdd92
L
12180 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12181 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12182
578cd270
L
12183 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12184 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12185
de662f5f
L
12186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12187 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12188 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12189
25653439
L
12190 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12191 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12192 to ...
12193 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12194
6bad24a0
L
12195 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12196 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12197 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12198
42bbb1c3
L
12199 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12200 for x86-64.
12201 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12202
2d10d547
JM
122032012-05-31 Joseph Myers <joseph@codesourcery.com>
12204
12205 * math/math.h (M_El): Use two more decimal places.
12206 (M_LOG2El): Likewise.
12207 (M_LOG10El): Likewise.
12208 (M_LN2l): Likewise.
12209 (M_LN10l): Likewise.
12210 (M_PIl): Likewise.
12211 (M_PI_2l): Likewise.
12212 (M_PI_4l): Likewise.
12213 (M_1_PIl): Likewise.
12214 (M_2_PIl): Likewise.
12215 (M_2_SQRTPIl): Likewise.
12216 (M_SQRT2l): Likewise.
12217 (M_SQRT1_2l): Likewise.
12218
f230c29b
DM
122192012-05-31 David S. Miller <davem@davemloft.net>
12220
12221 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12222 values between float registers.
12223 * sysdeps/sparc/sparc64/memset.S: Likewise.
12224 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12225
fed806c3
MF
122262012-05-31 Mike Frysinger <vapier@gentoo.org>
12227
12228 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12229 -D_FORTIFY_SOURCE=1.
12230 (CPPFLAGS-tst-longjmp_chk.c): Define.
12231 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12232 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12233 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12234 CFLAGS-tst-wchar-h.c.
12235
30917259
MP
122362012-05-31 Marek Polacek <polacek@redhat.com>
12237
12238 [BZ #14132]
12239 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12240 __endmntent_internal): Remove declaration.
12241 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12242 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12243 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12244
1c58d5dc
DM
122452012-05-30 David S. Miller <davem@davemloft.net>
12246
12247 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12248 (___Q_simulate_exceptions): Use real FP ops rather than writing
12249 into the %fsr.
12250 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12251 Likewise.
12252
7dc00e0d
L
122532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12254
12255 [BZ #14117]
0bd53985
L
12256 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12257 * sysdeps/x86/bits/xtitypes.h: This.
12258
3a257e66
L
12259 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12260 * sysdeps/x86/bits/wordsize.h: This.
12261
62f62904
L
12262 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12263 * sysdeps/x86/bits/huge_vall.h: This.
12264
404fe9d9
L
12265 * sysdeps/i386/bits/select.h: Removed.
12266 * sysdeps/x86_64/bits/select.h: Renamed to ...
12267 * sysdeps/x86/bits/select.h: This.
12268
d48d0446
L
12269 * sysdeps/i386/bits/setjmp.h: Removed.
12270 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12271 * sysdeps/x86/bits/setjmp.h: This.
12272
7dc00e0d
L
12273 * sysdeps/i386/bits/mathdef.h: Removed.
12274 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12275 * sysdeps/x86/bits/mathdef.h: This.
12276
03277f8f
AS
122772012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12278
12279 [BZ #14132]
12280 * include/sys/socket.h (__connect_internal)
12281 (__libc_sa_len_internal): Remove declaration.
12282 (__connect, __libc_sa_len): Declare hidden_proto.
12283 (SA_LEN): Remove use of INTUSE.
12284 * socket/connect.c: Add libc_hidden_def.
12285 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12286 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12287 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12288 alias.
12289 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12290 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12291 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12292 of adding _internal alias.
12293
13764867
L
122942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12295
12296 [BZ #14117]
6bd97696
L
12297 * sysdeps/i386/bits/link.h: Removed.
12298 * sysdeps/i386/bits/linkmap.h: Likewise.
12299 * sysdeps/x86_64/bits/link.h: Renamed to ...
12300 * sysdeps/x86/bits/link.h: This.
12301 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12302 * sysdeps/x86/bits/linkmap.h: This.
12303
f726f0bb
L
12304 * sysdeps/i386/bits/endian.h: Removed.
12305 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12306 * sysdeps/x86/bits/endian.h: This.
12307
13764867
L
12308 * sysdeps/i386/bits/byteswap.h: Removed.
12309 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12310 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12311 * sysdeps/x86/bits/byteswap.h: This.
12312 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12313 * sysdeps/x86/bits/byteswap-16.h: This.
12314 * sysdeps/i386/Implies: Add x86.
12315 * sysdeps/x86_64/Implies: Likewise.
12316
ae251b0b
DM
123172012-05-30 David S. Miller <davem@davemloft.net>
12318
12319 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12320 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12321 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12322 (FP_TRAPPING_EXCEPTIONS): Define.
12323 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12324 (FP_TRAPPING_EXCEPTIONS): Define.
12325 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12326 subnormals only when inexact has been signalled or underflow
12327 exceptions are enabled.
12328 (_FP_PACK_CANONICAL): Likewise.
12329
d5c90867
L
123302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12331
12332 [BZ #14183]
12333 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12334 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12335
63f1549e
RH
123362012-05-30 Richard Henderson <rth@twiddle.net>
12337
8d8f2279
RH
12338 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12339 with #ifndef NOT_IN_libc.
12340
63f1549e
RH
12341 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12342 marked to avoid plt entry.
12343
0ab0291b
L
123442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12345
12346 [BZ #14112]
12347 * Makeconfig (default-abi): New macro.
12348 (abi-includes): Likewise.
12349 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12350 $(abi-$(default-abi)-lib-soname) for soname if defined.
12351 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12352 abi-variants.
12353 * Makefile (installed-stubs): Likewise.
12354 * include/stubs-biarch.h: Removed.
12355 * scripts/lib-names.awk: Only handle one library at a time.
12356 * scripts/soversions.awk: Remove WORDSIZE support.
12357 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12358 entries.
12359 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12360 Removed.
12361 (syscall-list-default-condition): Likewise.
12362 (syscall-list-default-condition): Likewise.
12363 (syscall-list-includes): Likewise.
12364 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12365 syscall-list-* with abi-*. Handle undefined abi-variants.
12366 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12367 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12368 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12369 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12370 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12371 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12372 Removed.
12373 (syscall-list-32-options): Likewise.
12374 (syscall-list-32-condition): Likewise.
12375 (syscall-list-64-options): Likewise.
12376 (syscall-list-64-condition): Likewise.
12377 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12378 macro.
12379 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12380 Renamed to ...
12381 (abi-*): This.
12382 (abi-64-ld-soname): New macro.
12383 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12384 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12385 Renamed to ...
12386 (abi-*): This.
12387 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12388 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12389
4da0431d
JM
123902012-05-30 Joseph Myers <joseph@codesourcery.com>
12391
3a85279c
JM
12392 * sysdeps/unix/sysv/linux/kernel-features.h
12393 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12394 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12395 include <kernel-features.h>.
12396 [!__NR_ftruncate64]: Remove conditional code.
12397 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12398 [__NR_ftruncate64]: Make code unconditional.
12399 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12400 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12401 include <kernel-features.h>.
12402 [!__NR_ftruncate64]: Remove conditional code.
12403 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12404 [__NR_ftruncate64]: Make code unconditional.
12405 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12407 include <kernel-features.h>.
12408 [!__NR_ftruncate64]: Remove conditional code.
12409 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12410 [__NR_ftruncate64]: Make code unconditional.
12411 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12413 include <kernel-features.h>.
12414 [!__NR_ftruncate64]: Remove conditional code.
12415 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12416 [__NR_ftruncate64]: Make code unconditional.
12417 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12418
4da0431d
JM
12419 * configure.in (libc_cv_fpie): Weaken to a compile test using
12420 LIBC_TRY_CC_OPTION.
12421 * configure: Regenerated.
12422
11ef492c
AK
124232012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12424
12425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12429 Refreshed.
12430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12436 Refreshed.
12437
d66ef399
DM
124382012-05-27 David S. Miller <davem@davemloft.net>
12439
12440 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12441 (___Q_zero): New.
12442 (__Q_simulate_exceptions): Return void. Change to simulate
12443 exceptions by writing into the %fsr.
12444 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12445 (__Qp_handle_exceptions): Likewise.
12446 (numbers): Delete.
12447 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12448 __Qp_handle_exceptions.
12449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12450 __Qp_handle_exceptions.
12451 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12452 as unused and give dummy FP_RND_NEAREST initializer.
12453 (FP_INHIBIT_RESULTS): Define.
12454 (___Q_simulate_exceptions): Update declaration.
12455 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12456 formatting.
12457 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12458 as unused and give dummy FP_RND_NEAREST initializer.
12459 (__Qp_handle_exceptions): Update declaration.
12460 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12461 formatting.
12462
04fb54b5
TS
124632012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12464
12465 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12466 the temporary FPU control word.
12467 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12468 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12469 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12470 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12471 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12472 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12473 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12474 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12475 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12476 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12477 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12478
3f99608f
KK
124792012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12480
12481 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12482 fields.
12483
65a4de4e
CLT
124842012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12485
12486 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12487 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12488 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12489 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12490 Likewise.
12491 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12492 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12493 Likewise.
12494
15749d40
UD
124952012-05-27 Ulrich Drepper <drepper@gmail.com>
12496
12497 * po/h.po: Update from translation team.
12498
25dbcb27
AS
124992012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12500
3d3f8e55
AS
12501 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12502
25dbcb27
AS
12503 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12504 handling of denormals.
12505 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12506 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12507 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12508 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12509 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12511 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12512 Likewise.
12513
7ad47a80 125142012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12515
12516 [BZ #14152]
12517 * math/libm-test.inc (fma_test): Don't always expect underflow
12518 exception.
12519
9c6ea9fa
SP
125202012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12521
12522 [BZ #12416]
12523 * elf/tst-execstack.c: Include stackinfo.h.
12524 (do_test): Adjust test case to ensure that pthread_getattr_np
12525 behaviour remains the same after marking stack executable.
12526
a8239222
JM
125272012-05-25 Joseph Myers <joseph@codesourcery.com>
12528
12529 * sysdeps/unix/sysv/linux/kernel-features.h
12530 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12531 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12532 kernel-features.h.
12533 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12534 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12535 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12536 kernel-features.h.
12537 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12538 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12539
918b5606
L
125402012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12541
12542 * configure.in: Define the default includes to being none.
12543 * configure: Regenerated.
12544
3a097cc7
RM
125452012-05-25 Roland McGrath <roland@hack.frob.com>
12546
8422c9a5
RM
12547 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12548 * sysdeps/x86_64/setjmp.S: Likewise.
12549 * sysdeps/i386/bsd-setjmp.S: Likewise.
12550 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12551 * sysdeps/i386/setjmp.S: Likewise.
12552 * sysdeps/i386/__longjmp.S: Likewise.
12553 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12554 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12555
3a097cc7
RM
12556 * include/stap-probe.h: New file.
12557 * configure.in: Handle --enable-systemtap.
12558 * configure: Regenerated.
12559 * config.h.in (USE_STAP_PROBE): New #undef.
12560 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12561 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12562 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12563
21708942
JM
125642012-05-25 Joseph Myers <joseph@codesourcery.com>
12565
12566 [BZ #13717]
12567 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12568 to 2.4.0 where earlier.
12569 * sysdeps/unix/sysv/linux/configure: Regenerated.
12570 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
12579 [__ASSUME_32BITUIDS]: Make code unconditional.
12580 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12581 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12582 <kernel-features.h>.
12583 [__ASSUME_32BITUIDS]: Make code unconditional.
12584 [!__ASSUME_32BITUIDS]: Remove conditional code.
12585 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12586 <kernel-features.h>.
12587 [__ASSUME_32BITUIDS]: Make code unconditional.
12588 [!__ASSUME_32BITUIDS]: Remove conditional code.
12589 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12590 <kernel-features.h>.
12591 [__ASSUME_32BITUIDS]: Make code unconditional.
12592 [!__ASSUME_32BITUIDS]: Remove conditional code.
12593 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12594 <kernel-features.h>.
12595 [__ASSUME_32BITUIDS]: Make code unconditional.
12596 [!__ASSUME_32BITUIDS]: Remove conditional code.
12597 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12598 <kernel-features.h>.
12599 [__ASSUME_32BITUIDS]: Make code unconditional.
12600 [!__ASSUME_32BITUIDS]: Remove conditional code.
12601 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12602 <kernel-features.h>.
12603 [__ASSUME_32BITUIDS]: Make code unconditional.
12604 [!__ASSUME_32BITUIDS]: Remove conditional code.
12605 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12606 <kernel-features.h>.
12607 [__ASSUME_32BITUIDS]: Make code unconditional.
12608 [!__ASSUME_32BITUIDS]: Remove conditional code.
12609 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12610 <kernel-features.h>.
12611 [__ASSUME_32BITUIDS]: Make code unconditional.
12612 [!__ASSUME_32BITUIDS]: Remove conditional code.
12613 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12614 <kernel-features.h>.
12615 [__ASSUME_32BITUIDS]: Make code unconditional.
12616 [!__ASSUME_32BITUIDS]: Remove conditional code.
12617 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12618 <kernel-features.h>.
12619 [__ASSUME_32BITUIDS]: Make code unconditional.
12620 [!__ASSUME_32BITUIDS]: Remove conditional code.
12621 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12622 <kernel-features.h>.
12623 [__NR_setresgid] (__setresgid): Do not declare.
12624 [__ASSUME_32BITUIDS]: Make code unconditional.
12625 [!__ASSUME_32BITUIDS]: Remove conditional code.
12626 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12627 <kernel-features.h>.
12628 [__NR_setresuid] (__setresuid): Do not declare.
12629 [__ASSUME_32BITUIDS]: Make code unconditional.
12630 [!__ASSUME_32BITUIDS]: Remove conditional code.
12631 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12632 <kernel-features.h>.
12633 [__ASSUME_32BITUIDS]: Make code unconditional.
12634 [!__ASSUME_32BITUIDS]: Remove conditional code.
12635 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12636 <kernel-features.h>.
12637 [__ASSUME_32BITUIDS]: Make code unconditional.
12638 [!__ASSUME_32BITUIDS]: Remove conditional code.
12639 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12640 <kernel-features.h>.
12641 [__ASSUME_32BITUIDS]: Make code unconditional.
12642 [!__ASSUME_32BITUIDS]: Remove conditional code.
12643 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12644 <kernel-features.h>.
12645 [__ASSUME_32BITUIDS]: Make code unconditional.
12646 [!__ASSUME_32BITUIDS]: Remove conditional code.
12647 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12648 <kernel-features.h>.
12649 [__ASSUME_32BITUIDS]: Make code unconditional.
12650 [!__ASSUME_32BITUIDS]: Remove conditional code.
12651 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12652 <kernel-features.h>.
12653 [__ASSUME_32BITUIDS]: Make code unconditional.
12654 [!__ASSUME_32BITUIDS]: Remove conditional code.
12655 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12656 <kernel-features.h>.
12657 [__ASSUME_32BITUIDS]: Make code unconditional.
12658 [!__ASSUME_32BITUIDS]: Remove conditional code.
12659 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12660 <kernel-features.h>.
12661 [__ASSUME_32BITUIDS]: Make code unconditional.
12662 [!__ASSUME_32BITUIDS]: Remove conditional code.
12663 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12664 <kernel-features.h>.
12665 [__ASSUME_32BITUIDS]: Make code unconditional.
12666 [!__ASSUME_32BITUIDS]: Remove conditional code.
12667 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12668 <kernel-features.h>.
12669 [__ASSUME_32BITUIDS]: Make code unconditional.
12670 [!__ASSUME_32BITUIDS]: Remove conditional code.
12671 * sysdeps/unix/sysv/linux/kernel-features.h
12672 (__ASSUME_SETRESUID_SYSCALL): Remove.
12673 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12674 (__ASSUME_32BITUIDS): Likewise.
12675 (__ASSUME_LDT_WORKS): Likewise.
12676 (__ASSUME_O_DIRECTORY): Likewise.
12677 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12678 architecture but not kernel version.
12679 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12680 (__ASSUME_MMAP2_SYSCALL): Likewise.
12681 (__ASSUME_STAT64_SYSCALL): Likewise.
12682 (__ASSUME_IPC64): Likewise.
12683 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12684 <kernel-features.h>.
12685 [__ASSUME_32BITUIDS]: Make code unconditional.
12686 [!__ASSUME_32BITUIDS]: Remove conditional code.
12687 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12688 <kernel-features.h>.
12689 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12690 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12691 132096]: Remove conditional code.
12692 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12693 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12694 <kernel-features.h>.
12695 [__ASSUME_32BITUIDS]: Make code unconditional.
12696 [!__ASSUME_32BITUIDS]: Remove conditional code.
12697 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12698 <kernel-features.h>.
12699 [__ASSUME_32BITUIDS]: Make code unconditional.
12700 [!__ASSUME_32BITUIDS]: Remove conditional code.
12701 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12702 <kernel-features.h>.
12703 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12704 unconditional.
12705 (__setresgid): Do not declare.
12706 [__ASSUME_32BITUIDS]: Make code unconditional.
12707 [!__ASSUME_32BITUIDS]: Remove conditional code.
12708 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12709 <kernel-features.h>.
12710 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12711 unconditional.
12712 (__setresuid): Do not declare.
12713 [__ASSUME_32BITUIDS]: Make code unconditional.
12714 [!__ASSUME_32BITUIDS]: Remove conditional code.
12715 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12716 <kernel-features.h>.
12717 [__ASSUME_32BITUIDS]: Make code unconditional.
12718 [!__ASSUME_32BITUIDS]: Remove conditional code.
12719 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12720 <kernel-features.h>.
12721 [__ASSUME_32BITUIDS]: Make code unconditional.
12722 [!__ASSUME_32BITUIDS]: Remove conditional code.
12723
a386f1cc
RH
127242012-05-25 Richard Henderson <rth@twiddle.net>
12725
12726 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12727 dl_hwcap to ifunc resolver.
12728 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12729 elf_ifunc_invoke.
12730 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12731 dl_hwcap to ifunc resolver.
12732 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12733
b6550497
JM
127342012-05-24 Joseph Myers <joseph@codesourcery.com>
12735
12736 [BZ #14153]
12737 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12738 for |x| <= 2**-26, not 2**-57.
12739 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12740 exception.
12741
b0bc23a1
JL
127422012-05-24 Jeff Law <law@redhat.com>
12743
12744 * stdio-common/Makefile (tests): Add bug25.
12745 * stdio-common/bug25.c: New test.
12746
347c92e9
L
127472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12748
12749 [BZ #13576]
12750 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12751 multiple of MALLOC_ALIGNMENT in size.
12752 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12753
6bcc8b3f
JM
127542012-05-24 Joseph Myers <joseph@codesourcery.com>
12755
12756 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12757 Require >= 256.
12758 (FILENAME_MAX): Use macro-int-constant.
12759 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12760 (_IOFBF): Use macro-int-constant.
12761 (_IOLBF): Likewise.
12762 (_IONBF): Likewise.
12763 (SEEK_CUR): Likewise.
12764 (SEEK_END): Likewise.
12765 (SEEK_SET): Likewise.
12766 (TMP_MAX): Likewise.
12767 (EOF): Use macro-int-constant. Require < 0.
12768 (NULL): Use macro-constant. Require == 0.
12769 (stdin): Require type to be FILE *.
12770 (stdout): Likewise.
12771 (stderr): Likewise.
12772 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12773 macro-int-constant.
12774 (EXIT_SUCCESS): Likewise.
12775 (NULL): Use macro-constant. Require == 0.
12776 (RAND_MAX): Use macro-int-constant.
12777 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12778 [C99-based standards] (strtof): Require function.
12779 [C99-based standards] (strtold): Likewise.
12780 [C99-based standards] (strtoll): Likewise.
12781 [C99-based standards] (strtoull): Likewise.
12782 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12783 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12784 [ISO || ISO99 || ISO11] (math.h): Likewise.
12785 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12786 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12787 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12788
d18ea0c5
AS
127892012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12790
12791 [BZ #14132]
56d25bb8
AS
12792 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12793 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12794 * intl/dgettext.c (DCGETTEXT): Likewise.
12795 * intl/gettext.c (DCGETTEXT): Likewise.
12796 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12797 * posix/regex_internal.h (gettext): Likewise.
12798 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12799 Remove declaration.
12800 * include/argz.h (__argz_count_internal)
12801 (__argz_stringify_internal): Remove declaration.
12802 (__argz_count, __argz_stringify): Declare hidden proto.
12803 * intl/dcgettext.c: Remove use of INTDEF.
12804 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12805 * string/argz-stringify.c: Likewise.
12806 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12807 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12808 Declare hidden proto.
d18ea0c5
AS
12809 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12810 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12811 Declare hidden proto.
12812 * include/stdio.h (__asprintf_internal): Don't declare.
12813 (__asprintf): Don't define as macro. Declare hidden proto.
12814 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12815 (__fsetlocking): Declare hidden proto.
12816 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12817 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12818 hidden proto.
12819 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12820 (_IO_setlinebuf): Remove use of INTUSE.
12821 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12822 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12823 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12824 Remove declaration.
12825 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12826 (_IO_do_flush): Remove use of INTUSE.
12827 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12828 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12829 (_IO_adjust_column, _IO_least_wmarker)
12830 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12831 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12832 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12833 (_IO_default_doallocate, _IO_wdefault_doallocate)
12834 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12835 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12836 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12837 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12838 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12839 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12840 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12841 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12842 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12843 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12844 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12845 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12846 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12847 proto.
12848 (_IO_flush_all_internal, _IO_adjust_column_internal)
12849 (_IO_default_uflow_internal, _IO_default_finish_internal)
12850 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12851 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12852 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12853 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12854 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12855 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12856 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12857 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12858 (_IO_file_close_internal, _IO_file_close_it_internal)
12859 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12860 (_IO_file_init_internal, _IO_file_attach_internal)
12861 (_IO_file_fopen_internal, _IO_file_read_internal)
12862 (_IO_file_sync_internal, _IO_file_seek_internal)
12863 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12864 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12865 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12866 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12867 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12868 (_IO_list_all_internal, _IO_link_in_internal)
12869 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12870 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12871 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12872 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12873 (_IO_do_write_internal, _IO_padn_internal)
12874 (_IO_getline_info_internal, _IO_getline_internal)
12875 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12876 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12877 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12878 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12879 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12880 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12881 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12882 with libc_hidden_ver, remove use of INTUSE.
12883 * libio/genops.c: Likewise.
12884 * libio/freopen.c: Likewise.
12885 * libio/freopen64.c: Likewise.
12886 * libio/iofclose.c: Likewise.
12887 * libio/iofdopen.c: Likewise.
12888 * libio/iofflush.c: Likewise.
12889 * libio/iofflush_u.c: Likewise.
12890 * libio/iofgets.c: Likewise.
12891 * libio/iofgets_u.c: Likewise.
12892 * libio/iofopen.c: Likewise.
12893 * libio/iofopncook.c: Likewise.
12894 * libio/iofread.c: Likewise.
12895 * libio/iofread_u.c: Likewise.
12896 * libio/ioftell.c: Likewise.
12897 * libio/iofwrite.c: Likewise.
12898 * libio/iogetline.c: Likewise.
12899 * libio/iogets.c: Likewise.
12900 * libio/iogetwline.c: Likewise.
12901 * libio/iopadn.c: Likewise.
12902 * libio/iopopen.c: Likewise.
12903 * libio/ioseekoff.c: Likewise.
12904 * libio/ioseekpos.c: Likewise.
12905 * libio/iosetbuffer.c: Likewise.
12906 * libio/iosetvbuf.c: Likewise.
12907 * libio/ioungetc.c: Likewise.
12908 * libio/ioungetwc.c: Likewise.
12909 * libio/iovdprintf.c: Likewise.
12910 * libio/iovsprintf.c: Likewise.
12911 * libio/iovsscanf.c: Likewise.
12912 * libio/memstream.c: Likewise.
12913 * libio/obprintf.c: Likewise.
12914 * libio/oldfileops.c: Likewise.
12915 * libio/oldiofclose.c: Likewise.
12916 * libio/oldiofdopen.c: Likewise.
12917 * libio/oldiofopen.c: Likewise.
12918 * libio/oldiopopen.c: Likewise.
12919 * libio/oldstdfiles.c: Likewise.
12920 * libio/putc.c: Likewise.
12921 * libio/setbuf.c: Likewise.
12922 * libio/setlinebuf.c: Likewise.
12923 * libio/stdfiles.c: Likewise.
12924 * libio/strops.c: Likewise.
12925 * libio/vasprintf.c: Likewise.
12926 * libio/vscanf.c: Likewise.
12927 * libio/vsnprintf.c: Likewise.
12928 * libio/vswprintf.c: Likewise.
12929 * libio/wfiledoalloc.c: Likewise.
12930 * libio/wfileops.c: Likewise.
12931 * libio/wgenops.c: Likewise.
12932 * libio/wmemstream.c: Likewise.
12933 * libio/wstrops.c: Likewise.
12934 * libio/__fpurge.c: Likewise.
12935 * libio/__fsetlocking.c: Likewise.
12936 * assert/assert.c: Likewise.
12937 * debug/fgets_chk.c: Likewise.
12938 * debug/fgets_u_chk.c: Likewise.
12939 * debug/fread_chk.c: Likewise.
12940 * debug/fread_u_chk.c: Likewise.
12941 * debug/gets_chk.c: Likewise.
12942 * debug/obprintf_chk.c: Likewise.
12943 * debug/vasprintf_chk.c: Likewise.
12944 * debug/vdprintf_chk.c: Likewise.
12945 * debug/vsnprintf_chk.c: Likewise.
12946 * debug/vsprintf_chk.c: Likewise.
12947 * malloc/mtrace.c: Likewise.
12948 * misc/error.c: Likewise.
12949 * misc/syslog.c: Likewise.
12950 * stdio-common/asprintf.c: Likewise.
12951 * stdio-common/fxprintf.c: Likewise.
12952 * stdio-common/getw.c: Likewise.
12953 * stdio-common/isoc99_fscanf.c: Likewise.
12954 * stdio-common/isoc99_scanf.c: Likewise.
12955 * stdio-common/isoc99_vfscanf.c: Likewise.
12956 * stdio-common/isoc99_vscanf.c: Likewise.
12957 * stdio-common/isoc99_vsscanf.c: Likewise.
12958 * stdio-common/printf-prs.c: Likewise.
12959 * stdio-common/printf_fp.c: Likewise.
12960 * stdio-common/printf_fphex.c: Likewise.
12961 * stdio-common/printf_size.c: Likewise.
12962 * stdio-common/putw.c: Likewise.
12963 * stdio-common/scanf.c: Likewise.
12964 * stdio-common/sprintf.c: Likewise.
12965 * stdio-common/tmpfile.c: Likewise.
12966 * stdio-common/vfprintf.c: Likewise.
12967 * stdio-common/vfscanf.c: Likewise.
12968 * stdlib/strfmon_l.c: Likewise.
12969 * sunrpc/openchild.c: Likewise.
12970 * sunrpc/xdr_stdio.c: Likewise.
12971 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12972 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12973
d6c33fda
RM
129742012-05-24 Roland McGrath <roland@hack.frob.com>
12975
c1487492
RM
12976 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12977
12978 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12979 in the third column, to generate for the shared library an IFUNC
12980 that uses _dl_vdso_vsym.
12981 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12982 * Makeconfig (object-suffixes-noshared): New variable.
12983
12984 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12985 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12986 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12987 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12988
d6c33fda
RM
12989 [BZ #14132]
12990 * include/sys/time.h (__gettimeofday): Remove macro.
12991 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12992 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12993 Remove INTDEF.
12994 (__gettimeofday): Add libc_hidden_def.
12995 (gettimeofday): Add libc_hidden_weak.
12996 * sysdeps/mach/gettimeofday.c: Likewise.
12997 * sysdeps/posix/gettimeofday.c: Likewise.
12998 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12999 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13000 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13001 (__gettimeofday_internal): Remove strong_alias.
13002 (__gettimeofday): Add libc_hidden_def.
13003 (gettimeofday): Add libc_hidden_weak.
13004 * sysdeps/unix/syscalls.list (gettimeofday):
13005 Remove __gettimeofday_internal alias.
13006
b5a2bbe6
L
130072012-05-24 Daniel Jacobowitz <drow@false.org>
13008 H.J. Lu <hongjiu.lu@intel.com>
13009
13010 [BZ #12495]
13011 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13012 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13013 (largebin_index_32_big): New.
13014 (largebin_index): Use it for 16-byte alignment.
13015 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13016 correction with front_misalign.
13017
cfba4fda
L
130182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13019
7f907421
L
13020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13022 Likewise.
13023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13024 Likewise.
13025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13026 Likewise.
13027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13028 Likewise.
13029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13030 Likewise.
13031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13032 Likewise.
13033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13034 Likewise.
13035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13036 Likewise.
13037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13038 Likewise.
13039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13040 Likewise.
13041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13042 Likewise.
13043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13044 Likewise.
13045
cfba4fda
L
13046 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13047 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13048
80bad0cc
JM
130492012-05-24 Joseph Myers <joseph@codesourcery.com>
13050
7a25eb06
JM
13051 [BZ #10846]
13052 [BZ #14036]
13053 * math/libm-test.inc (exp_test): Add test from bug 14036.
13054 (pow_test): Add test from bug 10846.
13055
795405f9
JM
13056 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13057 and other flags.
13058 (special_function): Do not include flags in test name.
13059 (parse_args): Likewise.
13060 * sysdeps/i386/fpu/libm-test-ulps: Update.
13061 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13062 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13063 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13065
80bad0cc
JM
13066 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13067 exceptions.
13068 * math/libm-test.inc ("Philosophy"): Update comment about
13069 exception testing.
13070 (UNDERFLOW_EXCEPTION): New macro.
13071 (UNDERFLOW_EXCEPTION_OK): Likewise.
13072 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13073 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13074 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13075 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13076 (INVALID_EXCEPTION_OK): Update value.
13077 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13078 (OVERFLOW_EXCEPTION_OK): Likewise.
13079 (IGNORE_ZERO_INF_SIGN): Likewise.
13080 (test_exceptions): Handle underflow exceptions.
13081 (acos_test): Update for underflow exception expectations.
13082 (cexp_test): Likewise.
13083 (clog_test): Likewise.
13084 (clog10_test): Likewise.
13085 (csqrt_test): Likewise.
13086 (ctan_test): Likewise.
13087 (ctanh_test): Likewise.
13088 (exp_test): Likewise.
13089 (exp10_test): Likewise.
13090 (exp2_test): Likewise.
13091 (expm1_test): Likewise.
13092 (fma_test): Likewise.
13093 (j0_test): Likewise.
13094 (jn_test): Likewise.
13095 (nexttoward_test): Likewise.
13096 (pow_test): Likewise.
13097 (scalbn_test): Likewise.
13098 (scalbln_test): Likewise.
13099 (tan_test): Likewise.
13100 (y1_test): Likewise.
13101 * sysdeps/i386/fpu/libm-test-ulps: Update.
13102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13103
9e0e3d0b
DM
131042012-05-23 David S. Miller <davem@davemloft.net>
13105
13106 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13107 (__libc_sigaction): Remove unused local variables.
13108
ccd0a08f
L
131092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13110
13111 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13112
62bdf9a6
PE
131132012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13114
f8591f80
PE
13115 mktime: avoid signed integer overflow
13116 * time/mktime.c (__mktime_internal): Do not mishandle the case
13117 where diff == INT_MIN.
13118
94c7d826
PE
13119 mktime: simplify computation of average
13120 * time/mktime.c (ranged_convert): Use new time_t_avg function
13121 instead of rolling our own (probably-slower) code.
13122
ce73d683
PE
13123 mktime: do not assume signed right shift propagates sign bit
13124 * time/mktime.c (isdst_differ): New static function.
13125 (__mktime_internal): No need to normalize tm_isdst now.
13126 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13127 tm_isdst values.
13128
72a22e59
PE
13129 mktime: merge another wrapv change from gnulib
13130 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13131 from some compilers.
13132
68605433
PE
13133 mktime: remove incorrect attempt at unusual arithmetics
13134 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13135 The code didn't really work on such machines anyway.
13136 (TYPE_MINIMUM): Assume two's complement.
13137 (twos_complement_arithmetic): Verify that long_int and time_t
13138 are two's complement (or unsigned, in the latter case).
13139
03cf7fe3
PE
13140 mktime: check signed shifts on long_int and time_t, too
13141 * time/mktime.c (SHR): Check that shifts work as desired
13142 on the types long_int and time_t too, as SHR is used on
13143 such types.
13144
f04dfbc2
PE
13145 mktime: do not assume 'long' is wide enough
13146 * time/mktime.c (verify): Move decl up.
13147 (long_int): New type.
13148 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13149 to remove assumption in the code that 'long' is wide enough to
13150 store year values. This assumption is not true on x32 and on
13151 some non-glibc platforms.
13152
62bdf9a6
PE
13153 mktime: merge wrapv change from gnulib
13154 * time/mktime.c (WRAPV): New macro.
13155 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13156 (guess_time_tm, __mktime_internal): Do not assume that signed
13157 integer overflow wraps around; modern compilers generate code
13158 where this assumption is no longer valid.
13159
5e292e4f
L
131602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13161
13162 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13163 Replace "jmp L(pseudo_end)" with "ret".
13164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13165 Likewise.
13166
8caf8c87
AJ
131672012-05-23 Andreas Jaeger <aj@suse.de>
13168
13169 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13170 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13171
1a09dc56
AJ
131722012-05-23 Andreas Jaeger <aj@suse.de>
13173 Maximilian Attems <max@stro.at>
13174
13175 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13176 New macros.
13177
1c87aba0
L
131782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13179
13180 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13181 code so that pseudo_end is just ret and the stack pointer is
13182 correct also for static library in error case.
13183
40e45bd5
JM
131842012-05-23 Joseph Myers <joseph@codesourcery.com>
13185
c2670533
JM
13186 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13187 move to syscalls.list.
13188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13192
40e45bd5
JM
13193 * manual/install.texi (Running make install): Do not mention Linux
13194 kernel version for which pt_chown is not needed.
13195 (Linux): Do not mention problems with nscd with 2.0 kernels.
13196 * INSTALL: Regenerated.
13197
be08eda5
AJ
131982012-05-23 Andreas Jaeger <aj@suse.de>
13199
13200 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13201 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13202 macro.
13203 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13204 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13205 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13206 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13207 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13208 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13209 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13210 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13211 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13212 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13213 * sysdeps/unix/sysv/linux/bits/in.h
13214 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13215
a6a056bb
RM
132162012-05-22 Roland McGrath <roland@hack.frob.com>
13217
13218 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13219 (PREPARE_VERSION): Just use assert instead, it will be elided
13220 under [NDEBUG] anyway.
13221
c9009328
L
132222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13223
13224 * sysdeps/unix/sysv/linux/Makefile: Include
13225 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13226 (sysdep_routines): Remove sysctl.
c9009328
L
13227 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13228 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13229 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13230 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13231 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13232
73338355
AJ
132332012-05-22 Andreas Jaeger <aj@suse.de>
13234
13235 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13236 that pseudo_end is just ret and the stack pointer is correct also
13237 for static library in error case.
13238
d44638b0
PP
132392012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13240
13241 [BZ #14122]
13242 * nss/nsswitch.c (defconfig_entries): New variable.
13243 (__nss_database_lookup): Don't leak defconfig entries.
13244 (nss_parse_service_list): Don't leak on error paths.
13245 (free_database_entries): New function.
13246 (free_defconfig): New function.
13247 (free_mem): Move common code to free_database_entries.
13248
31a39bd8
L
132492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13250
da0331a8
L
13251 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13252 Add arch_prctl.
13253 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13254
31a39bd8
L
13255 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13256 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13258 New macro.
13259 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13260 (INTERNAL_SYSCALL_TYPES): Likewise.
13261 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13262 (LOAD_REGS_TYPES_[1-6]): Likewise.
13263 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13264 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13265
45470df3
AZ
132662012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13267
13268 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13269 copysignl for GLIBC_2_0.
13270 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13271 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13272 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13273 logbl for GLIBC_2_0.
13274 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13275 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13276
98a61bcb
L
132772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13278
a4f6e481
L
13279 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13280 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13281
f63d5db6
L
13282 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13283 Use "neg %eax".
13284
98a61bcb
L
13285 * time/mktime.c: Update copyright years.
13286
95770f14
PE
132872012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13288
6226efbd
PE
13289 mktime: merge comment-quoting-style change from gnulib
13290 * time/mktime.c: Quote 'like this' in comments.
13291 The GNU coding standards suggest that we no longer quote `like this',
13292 as "`" and "'" are typically rendered asymmetrically nowadays.
13293 The typical gnulib style is to quote 'like this' when quoting
13294 code, and "like this" when quoting English.
13295
b99e4f78
PE
13296 * time/mktime.c (compile-command): Add "-I.".
13297
643e01e6
PE
13298 mktime: merge mktime-internal.h change from gnulib
13299 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13300
2554247d
PE
13301 mktime: merge time_r change from gnulib
13302 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13303
826dd0ab
PE
13304 mktime: merge DEBUG change from gnulib
13305 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13306 case system <time.h> has a #define.
13307
bd83aabe
PE
13308 mktime: merge <sys/types.h> change from gnulib
13309 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13310 since <time.t> is now guaranteed to define time_t.
13311
95770f14
PE
13312 mktime: merge HAVE_CONFIG_H change from gnulib
13313 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13314
5e1a27a9
L
133152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13316
0e44a77e
L
13317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13318 Use "neg %eax".
13319
5e1a27a9
L
13320 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13321 __rlim_t cast.
13322 (struct rusage): Use anonymous union to pad each field to
13323 __syscall_slong_t.
13324
46259bec
DM
133252012-05-21 David S. Miller <davem@davemloft.net>
13326
13327 * Makefules (o-iterator): Remove .s cases.
13328 (compile-command.s): Delete.
13329 (COMPILE.s): Delete.
13330 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13331
59f0c22e
JM
133322012-05-21 Joseph Myers <joseph@codesourcery.com>
13333
13334 * configure.in (libc_cv_predef_stack_protector): Only consider
13335 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13336 * configure: Regenerated.
13337
20c07380
L
133382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13339
bbb3154b
L
13340 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13341 New macro. Use R*LP on int and pointer.
13342 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13343 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13344 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13345 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13346
20c07380
L
13347 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13348 [__WORDSIZE_TIME64_COMPAT32] instead of
13349 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13350 (struct utmp): Likewise.
13351 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13352 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13353 Renamed to ...
13354 (__WORDSIZE_TIME64_COMPAT32): This.
13355 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13356 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13357 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13358 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13359 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13360 (__WORDSIZE_TIME64_COMPAT32): New macro.
13361
d8d1017e
AJ
133622012-05-21 Andreas Jaeger <aj@suse.de>
13363
13364 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13365 only if [SHARED]. Add prototype for __wcschr_ia32.
13366
6c7fb145
RM
133672012-05-21 Roland McGrath <roland@hack.frob.com>
13368
13369 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13370 of %rbp unmolested in the jmp_buf while mangling the low bits.
13371 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13372 unmolested high bits of %rbp while demangling the low bits.
13373 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13374
66274218
AJ
133752012-05-21 Andreas Jaeger <aj@suse.de>
13376
07c58f8f
AJ
13377 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13378 * sunrpc/svc_simple.c: Use it for registerrpc.
13379 * sunrpc/xcrypt.c: Use it for passwd2des.
13380
66274218
AJ
13381 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13382
61f65140
L
133832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13384
13385 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13386 Don't define if [__SYSCALL_WORDSIZE != 32].
13387 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13388 New macro.
13389
5fefb436
AJ
133902012-05-21 Bruno Haible <bruno@clisp.org>
13391 Andreas Jaeger <aj@suse.de>
13392
13393 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13394 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13395 inptr and inend for must_buffer_ch.
13396 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13397 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13398 * stdio-common/Makefile (tests): Remove bug15.
13399 (bug15-ENV): Remove macro.
13400 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13401 anymore.
13402
d8e272ab
AJ
134032012-05-19 Andreas Jaeger <aj@suse.de>
13404 Roland McGrath <roland@hack.frob.com>
13405
13406 * manual/contrib.texi: Completely rewritten. It contains now an
13407 alphabetical list of contributors and their contributions.
13408
4a56a162
RH
134092012-05-21 Richard Henderson <rth@twiddle.net>
13410
13411 * misc/getauxval.c (__getauxval): Use unsigned long int.
13412 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13413 (getauxval): Use unsigned long int.
13414
d024d23c
L
134152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13416
13417 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13418
cbc00a03
RM
134192012-05-21 Roland McGrath <roland@hack.frob.com>
13420
13421 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13422 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13423 __alignof__ (long double).
13424
478143fa
AZ
134252012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13426
13427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13428
c7683a6d
RH
134292012-05-20 Richard Henderson <rth@twiddle.net>
13430
13431 * misc/getauxval.c: New file.
13432 * misc/sys/auxv.h: New file.
13433 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13434 (routines): Add getauxval.
13435 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13436 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13437 * elf/dl-sysdep.c (_dl_auxv): Remove.
13438 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13439 * elf/dl-support.c (_dl_auxv): New variable.
13440 (_dl_aux_init): Initialize it.
13441 * manual/startup.texi (Auxiliary Vector): New node.
13442 * sysdeps/generic/bits/hwcap.h: New file.
13443 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13444 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13445 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13446 * sysdeps/sparc/sysdep.h: ... here. Include it.
13447 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13448 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13450 Update.
c7683a6d
RH
13451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13459
a6f1845d
AZ
134602012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13461
13462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13463
cbcbe830
DM
134642012-05-19 David S. Miller <davem@davemloft.net>
13465
13466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13467
e0b16cc2
JM
134682012-05-19 Joseph Myers <joseph@codesourcery.com>
13469
13470 [BZ #14123]
13471 * math/s_ccosh.c: Include <float.h>
13472 (__ccosh): Avoid internal overflow calculating sinh and cosh
13473 values before multiplying by sin and cos values.
13474 * math/s_ccoshf.c: Likewise.
13475 * math/s_ccoshl.c: Likewise.
13476 * math/s_csin.c: Likewise.
13477 * math/s_csinf.c: Likewise.
13478 * math/s_csinl.c: Likewise.
13479 * math/s_csinh.c: Likewise.
13480 * math/s_csinhf.c: Likewise.
13481 * math/s_csinhl.c: Likewise.
13482 * math/libm-test.inc (ccos_test): Add more tests.
13483 (ccosh_test): Likewise.
13484 (csin_test): Likewise.
13485 (csinh_test): Likewise.
13486 * sysdeps/i386/fpu/libm-test-ulps: Update.
13487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13488
6ad13e08
L
134892012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13490
f66f0ce8
L
13491 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13492 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13493
6ad13e08
L
13494 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13495
b1d072a7
JM
134962012-05-19 Joseph Myers <joseph@codesourcery.com>
13497
13498 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13499 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13500 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13501 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13502 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13503 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13504 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13505 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13506 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13507 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13508 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13509 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13510 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13511 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13512 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13513 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13514 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13515 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13516 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13517 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13518 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13519 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13520 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13521 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13522 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13523 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13524 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13525 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13526 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13527 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13528 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13529
9eae47cb
AJ
135302012-05-18 Andreas Jaeger <aj@suse.de>
13531
13532 * csu/.gitignore: Delete.
13533
bb07f69f
L
135342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13535
13536 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13537 (timex): Use __syscall_slong_t.
13538
e6bdb741
AJ
135392012-05-18 Andreas Jaeger <aj@suse.de>
13540 Carlos O'Donell <carlos_odonell@mentor.com>
13541
13542 * manual/install.texi (Configuring and compiling): Update
13543 description about files modified in the source directory.
d6c33fda 13544 * INSTALL: Regenerated.
e6bdb741 13545
1b74487e
L
135462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13547
13548 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13549 value. Use "or" to set return value to -1.
13550 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13551 negate return value.
13552
a88b64b9
TMQMF
135532012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13554
13555 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13556 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13557 failure if the compiler has Graphite support disabled.
13558 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13559 Likewise.
13560 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13561 CFLAGS-memmove.c): Likewise.
13562 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13563 Likewise.
13564
3707636e
L
135652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13566
610b8622
L
13567 * sysdeps/x86_64/x32/_itoa.h: New file.
13568
7cd195df
L
13569 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13570 getdents system call only if kernel and user dirents have the
13571 same d_ino and d_off.
13572
94b07d20
L
13573 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13574 LLONG_MAX != LONG_MAX.
13575 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13576 (_fitoa_word): Likewise.
13577
18298070
L
13578 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13579 years.
13580 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13581 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13582 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13583
553c7ea4
L
13584 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13585 include <bits/wordsize.h>. Check __x86_64__ instead of
13586 __WORDSIZE.
13587 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13588 if __x86_64__ is defined. Use anonymous union on fpstate.
13589
3707636e
L
13590 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13591 anonymous union.
13592
b53ef01a
AS
135932012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13594
37fb1dc0
AS
13595 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13596 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13597 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13598 Refer to _rtld_local_ro instead of _rtld_global_ro.
13599 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13600 Likewise.
13601 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13602 Likewise.
13603 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13604 Likewise.
13605 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13606 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13607 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13608
b53ef01a
AS
13609 * sysdeps/powerpc/powerpc32/dl-machine.c
13610 (__elf_machine_runtime_setup) [PROF]: Don't reference
13611 _dl_prof_resolve.
13612
7a185db2
AJ
136132012-05-18 Andreas Jaeger <aj@suse.de>
13614
13615 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13616 function only available for GCCs before 3.4 since GCC 3.4
13617 introduced a builtin.
13618 (lrint): Likewise.
13619 (llrintf): Likewise.
13620 (llrint): Likewise.
13621 (fmaxf): Likewise.
13622 (fmax): Likewise.
13623 (fminf): Likewise.
13624 (fmin): Likewise.
13625 (rint): Likewise.
13626 (rintf): Likewise.
13627 (nearbyint): Likewise.
13628 (nearbyintf): Likewise.
13629 (ceil): Likewise.
13630 (ceilf): Likewise.
13631 (floor): Likewise.
13632 (floorf): Likewise.
13633
3e5aef87
L
136342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13635
428bd707
L
13636 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13637 on both fields and cast pointer to __syscall_ulong_t.
13638
3e5aef87
L
13639 * bits/types.h (__fsword_t): New type.
13640 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13641 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13642 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13643 (__FSWORD_T_TYPE): Likewise.
13644 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13645 (__FSWORD_T_TYPE): Likewise.
13646 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13647 (__FSWORD_T_TYPE): Likewise.
13648 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13649 (__FSWORD_T_TYPE): Likewise.
13650 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13651 __SWORD_TYPE with __fsword_t.
13652 (statfs64): Likewise.
13653
1ba7c3dc
DM
136542012-05-17 David S. Miller <davem@davemloft.net>
13655
13656 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13657
59910343
AJ
136582012-05-17 Andreas Jaeger <aj@suse.de>
13659
13660 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13661 warning.
13662
2e4c1e9e
L
136632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13664
13665 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13666
de7f5ce7
AJ
136672012-05-17 Andreas Jaeger <aj@suse.de>
13668
13669 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13670 when it is used.
13671
286abc3d
CM
136722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13673
13674 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13675
477cc68e
L
136762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13677
13678 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13679 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13680
1a0994f5
CD
136812012-05-17 Andreas Jaeger <aj@suse.de>
13682 Carlos O'Donell <carlos_odonell@mentor.com>
13683
13684 [BZ #14059]
13685 * sysdeps/x86_64/multiarch/init-arch.h
13686 (bit_YMM_Usable): Rename to...
13687 (bit_AVX_Usable): ... this.
13688 (bit_FMA4_Usable): New macro.
13689 (bit_XMM_state): New macro.
13690 (bit_YMM_state): New macro.
13691 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13692 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13693 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13694 (CPUID_OSXSAVE): New macro.
13695 (CPUID_AVX): New macro.
13696 (CPUID_FMA4): New macro.
13697 (index_YMM_Usable): Rename to...
13698 (index_AVX_Usable): ... this.
13699 (HAS_AVX): Use HAS_ARCH_FEATURE.
13700 (HAS_FMA4): Likewise.
13701 (HAS_YMM_USABLE): Remove.
13702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13703 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13704 are present.
13705 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13706 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13707 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13708 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13709 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13710
0af797de
CM
137112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13712
13713 * math/libm-test.c: Support platforms without multiple rounding modes.
13714 * math/bug-nextafter.c: Support platforms without FP exceptions.
13715 * math/bug-nexttoward.c: Likewise.
13716 * math/test-fenv.c: Likewise.
13717 * math/test-misc.c: Likewise.
13718 * stdlib/bug-getcontext.c: Likewise.
13719
e39745ff
AJ
137202012-05-17 Andreas Jaeger <aj@suse.de>
13721
13722 * manual/examples/search.c (critter_cmp): Change signature to
13723 avoid warnings.
13724 * manual/string.texi (Collation Functions): Likewise.
13725
48970aba
L
137262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13727
13728 * bits/types.h: Fold copyright years.
13729 * bits/typesizes.h: Likewise.
13730 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13731 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13732 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13733 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13734 * time/time.h: Likewise.
13735
bedee953
PP
137362012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13737
13738 [BZ #208]
13739 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13740 in instead of returning them. Return void.
13741 (__libc_mallinfo): Accumulate over all arenas.
13742 (__malloc_stats): Adjust for change in int_mallinfo interface.
13743
61653dfb
RM
137442012-05-16 Roland McGrath <roland@hack.frob.com>
13745
30b99d79
RM
13746 [BZ #10375]
13747 * configure.in (NM): Add AC_CHECK_TOOL for it.
13748 (libc_extra_cflags): New substituted variable.
13749 Check for -fstack-protector being used implicitly.
13750 * configure: Regenerated.
13751 * config.make.in (config-extra-cflags): New variable,
13752 gets @libc_extra_cflags@.
13753 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13754
61653dfb
RM
13755 [BZ #10375]
13756 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13757 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13758 * configure: Regenerated.
13759 * config.make.in (CPPUNDEFS): New substituted variable.
13760 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13761 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13762 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13763
661768bb
L
137642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13765
13766 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13767 (mq_attr): Use __syscall_slong_t.
13768
d4261567
L
137692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13770
13771 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13772 Check __x86_64__ instead of __WORDSIZE.
13773 (_STAT_VER_LINUX): Likewise.
13774 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13775 __syscall_ulong_t and __syscall_slong_t.
13776 (stat64): Likewise.
13777
cf3ff365
L
137782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13779
13780 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13781
76cf3e4d
L
137822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13783
13784 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13785
a637753a
L
137862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13787
13788 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13789 __syscall_ulong_t.
13790
d5e05119
L
13791 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13792 include <bits/wordsize.h>. Check __x86_64__ instead of
13793 __WORDSIZE.
13794 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13795 defined.
13796 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13797
f62ee380
L
13798 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13799 include <bits/wordsize.h>. Check __x86_64__ instead of
13800 __WORDSIZE.
13801 (user_regs_struct): Use "__extension__ unsigned long long"
13802 instead of "unsigned long" if __x86_64__ is defined.
13803 (user): Likewise. Pad after pointer field if __ILP32__ is
13804 defined.
13805
4e124ced
JM
138062012-05-16 Joseph Myers <joseph@codesourcery.com>
13807
6a3951a0
JM
13808 * configure.in (makeinfo): Require version 4.5 or later. Allow
13809 versions 5 to 9.
13810 * configure: Regenerated.
13811 * manual/install.texi (texinfo): Increase version requirement to
13812 4.5 or later.
13813 * INSTALL: Regenerated.
13814
4e124ced
JM
13815 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13816
953ca31a
L
138172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13818
13819 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13820
617aca05
L
13821 * sysdeps/x86_64/x32/ffs.c: New file.
13822
5762f7ae
L
13823 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13824 __syscall_ulong_t.
13825 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13826 defined. Use __syscall_ulong_t.
13827 (shminfo): Use __syscall_ulong_t.
13828 (shm_info): Likewise.
13829
a26b6856
L
13830 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13831 __syscall_ulong_t.
13832
cb2b9ef7
L
13833 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13834 <bits/wordsize.h>.
13835 (msgqnum_t): Use __syscall_ulong_t.
13836 (msglen_t): Likewise.
13837 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13838 __syscall_ulong_t.
13839
34683bb0
L
13840 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13841 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13842
84a68786
L
13843 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13844
48baa5f1
L
13845 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13846 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13847
180be88b
L
13848 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13849 __syscall_slong_t.
13850
5e90c8ad
L
13851 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13852 include <bits/wordsize.h>. Check __x86_64__ instead of
13853 __WORDSIZE.
13854
23dfb58b
L
13855 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13856 "unsigned long long int" if __x86_64__ is defined.
13857 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13858
ce5d54b0
L
13859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13860 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13861 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13862
13dc9eac
L
13863 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13864 <stdint.h>.
13865 (GET_PC): Cast to uintptr_t first.
13866 (GET_FRAME): Likewise.
13867 (GET_STACK): Likewise.
13868
a7895d15
L
13869 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13870 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13871 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13872 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13873 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13874 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13875 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13876 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13877 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13878 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13879 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13880 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13881 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13882 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13883 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13884 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13885 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13886 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13887 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13888 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13889 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13890 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13891 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13892 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13893 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13894 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13895 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13896 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13897 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13898
656416c9
AS
138992012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13900
5bd66283
AS
13901 * Makerules (+depfiles): Also collect depfiles from .oS in
13902 $(extra-objs).
13903 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13904 .oS, $(libnldbl-routines)).
13905
656416c9
AS
13906 * Makerules (native-compile-mkdep-flags): Define.
13907 * sunrpc/Makefile (extra-objs): Add $(addprefix
13908 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13909 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13910 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13911 calling $(make-target-directory).
13912
a46f2169
L
139132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13914
13915 * bits/types.h (__snseconds_t): Removed.
13916 * time/time.h (struct timespec): Replace __snseconds_t with
13917 __syscall_slong_t.
13918 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13919 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13920 Likewise.
13921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13922 (__SNSECONDS_T_TYPE): Likewise.
13923 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13924 (__SNSECONDS_T_TYPE): Likewise.
13925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13926 (__SNSECONDS_T_TYPE): Likewise.
13927
6af6528b
L
139282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13929
13930 * sysdeps/mach/hurd/bits/typesizes.h
13931 (__SYSCALL_SLONG_TYPE): New macro.
13932 (__SYSCALL_ULONG_TYPE): Likewise.
13933
de986b56
L
139342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13935
13936 * bits/types.h (__syscall_slong_t): New type.
13937 (__syscall_ulong_t): Likewise.
13938
13939 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13940 (__SYSCALL_ULONG_TYPE): Likewise.
13941 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13942 (__SYSCALL_SLONG_TYPE): Likewise.
13943 (__SYSCALL_ULONG_TYPE): Likewise.
13944 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13945 (__SYSCALL_SLONG_TYPE): Likewise.
13946 (__SYSCALL_ULONG_TYPE): Likewise.
13947 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13948 (__SYSCALL_SLONG_TYPE): Likewise.
13949 (__SYSCALL_ULONG_TYPE): Likewise.
13950
85736dc7
L
139512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13952
13953 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13954 Add sigaltstack-offsets.sym.
13955 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13956 <sigaltstack-offsets.h>.
13957 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13958 longjmp_msg pointer.
13959 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13960 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13961 signal stack.
13962 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13963
cc03b296
JM
139642012-05-15 Joseph Myers <joseph@codesourcery.com>
13965
a9538892
JM
13966 * elf/stackguard-macros.h: Remove file.
13967 * sysdeps/generic/stackguard-macros.h: New file.
13968 * sysdeps/i386/stackguard-macros.h: Likewise.
13969 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13970 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13971 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13972 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13973 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13974 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13975 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13976 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13977 <elf/stackguard-macros.h>.
13978
cc03b296
JM
13979 [BZ #14109]
13980 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13981 __aligned__ in attribute.
13982 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13983 (gregset_t): Likewise.
13984
93171016
L
139852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13986
13987 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13988 * sysdeps/x86_64/64/Implies-after: Here. New file.
13989 * sysdeps/x86_64/x32/Implies-after: New file.
13990
d86813a0
L
139912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13992
13993 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13994 and access return value for _dl_profile_fixup. Use R10_LP to
13995 load frame size.
13996
2953ec75
L
139972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13998
13999 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14000
3b550e9e
L
140012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14002
14003 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14004 * sysdeps/x86_64/x32/sysdep.h: New file.
14005
eda41706
L
140062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14007
14008 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14009 * sysdeps/x86_64/setjmp.S: Likewise.
14010
9ea01d93
AZ
140112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14012
14013 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14014 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14015 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14016 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14017 remove unused global constant.
14018
02a91938
CM
140192012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14020
14021 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14022 include of <not-cancel.h>.
14023
6540185f
RM
140242012-05-15 Roland McGrath <roland@hack.frob.com>
14025
14026 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14027
509072a0
AJ
140282012-05-15 Jeff Law <law@redhat.com>
14029 Andreas Jaeger <aj@suse.de>
14030
14031 [BZ #13594]
14032 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14033 out from...
14034 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14035 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14036 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14037 code changing __hst_map_handle.map.
14038
ba75122d
RM
140392012-05-15 Roland McGrath <roland@hack.frob.com>
14040
14041 * configure.in (sysnames): Look for Implies-before and Implies-after
14042 files.
14043 * configure: Regenerated.
14044
890d8bd8
L
140452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14046
14047 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14048 8-byte data alignment with LP_SIZE alignment.
14049
f6ee6623
L
140502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14051
14052 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14053 into R10_LP.
14054
ea2626f6
L
140552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14056
14057 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14058
085f715e
L
140592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14060
14061 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14062 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14063 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14064 Likewise.
14065 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14066
be8498fc
L
140672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14068
14069 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14070 (stackinfo_sub_sp): Likewise.
14071
70bc83b9
L
140722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14073
14074 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14075 RAX_LP.
14076
9bc0b730
L
140772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14078
14079 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14080 into R*_LP.
14081
6d2850e7
L
140822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14083
14084 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14085 sizes into R*_LP.
14086
3cb84561
L
140872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14088
14089 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14090
54e2ed81
L
140912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14092
14093 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14094 into R11_LP and load __x86_64_shared_cache_size_half into
14095 R8_LP.
14096
8a17f349
L
140972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14098
14099 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14100 R8_LP.
14101
777b1eea
AZ
141022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14103
14104 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14105 logb for POWER7.
14106 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14107 logbf for POWER7.
14108 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14109 logbl for POWER7.
14110 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14111 powerpc32/power7/fpu/s_logb.c via #include.
14112 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14113 powerpc32/power7/fpu/s_logbf.c via #include.
14114 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14115 powerpc32/power7/fpu/s_logbl.c via #include.
14116
d20d4ac2
JM
141172012-05-15 Joseph Myers <joseph@codesourcery.com>
14118
14119 * README.libm: Remove file.
14120
6cdef1ab
L
141212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14122
14123 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14124 count for x32. Use R*_LP and omit operand-size suffix.
14125
0b254d8f
L
141262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14127
14128 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14129 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14130 * sysdeps/x86_64/x32/shlib-versions: New file.
14131
ceb809dc
RM
141322012-05-14 Roland McGrath <roland@hack.frob.com>
14133
14134 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14135 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14136 Use _dl_fatal_printf instead.
14137
37f1abd4
JM
141382012-05-14 Joseph Myers <joseph@codesourcery.com>
14139
14140 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14141 set if not set by the user. Do not allow for being unset.
14142 * sysdeps/unix/sysv/linux/configure: Regenerated.
14143
11de3a33
L
141442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14145
14146 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14147 the `q' suffix from lea and replace .quad with ASM_ADDR.
14148
e02f153a
L
141492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14150
14151 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14152 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14153 instead of $17.
14154 (PTR_DEMANGLE): Likewise.
14155
520ae0fd
L
141562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14157
14158 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14159 (LP_OP): Likewise.
14160 (ASM_ADDR): Likewise.
14161 (RAX_LP): Likewise.
14162 (RBP_LP): Likewise.
14163 (RBX_LP): Likewise.
14164 (RCX_LP): Likewise.
14165 (RDI_LP): Likewise.
14166 (RSI_LP): Likewise.
14167 (RSP_LP): Likewise.
14168 (R8_LP): Likewise.
14169 (R9_LP): Likewise.
14170 (R10_LP): Likewise.
14171 (R10_LP): Likewise.
14172 (R11_LP): Likewise.
14173 (R12_LP): Likewise.
14174 (R13_LP): Likewise.
14175 (R14_LP): Likewise.
14176 (R15_LP): Likewise.
14177
b985be81
L
141782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14179
14180 * sysdeps/x86_64/x32/dl-machine.h: New file.
14181
6a4888ff
AJ
141822012-05-14 Andreas Jaeger <aj@suse.de>
14183
14184 * manual/Makefile (subdir): Remove export of subdir.
14185 (all): Remove target.
14186 (.PHONY): Remove all from list.
14187 (mkinstalldirs): Remove.
14188 (.PHONY): Remove installdirs from list.
14189 ($(inst_infodir)/libc.info): Use make-target-directory.
14190 (installdirs): Remove.
14191 (subdir_%): Remove.
14192 (glibc-targets): Remove.
14193 (lib): Remove.
14194 (stubs): Remove.
14195 ($(objpfx)stubs ../po/manual.pot): Remove.
14196 ($(objpfx)stamp%): Remove.
14197 (make-target-directory): Remove.
14198 (subdir_install): Remove.
14199 (routines): Remove.
14200 (aux): Remove.
14201 (sources): Remove.
14202 (objects): Remove.
14203 (headers): Remove.
14204
14205 [BZ #13750]
14206 * manual/.gitignore: Remove, it's not needed anymore.
14207 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14208 all files in it.
14209 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14210 directory.
14211 (texis): Renamed to $(objpfx)texis.
14212 (texis-path): New, contains path to generated files.
14213 (chapters.%): Use texis-path for complete path, add extra argument
14214 libc-texinfo.sh.
14215 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14216 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14217 (summary,texi, stamp-summary): Use complete path of
14218 files. Generate files in build dir.
14219 (dir-add.texi): Build in build dir.
14220 (libm-err.texi,stamp-libm-err): Likewise.
14221 (version.texi, stamp-version): Likewise.
14222 (.%c.texi): Likewise.
14223 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14224 (mostlyclean): Remove target.
14225 (realclean): Remove target.
14226 (generated): Add new variable with contents from mostlyclean and
14227 realclean, remove entries duplicated in common-mostlyclean, add
14228 stamp-libm-err and stamp-version.
14229 (generated-dirs): Add libc directory.
14230 ($(inst_infodir)/libc.info): Install files from build dir.
14231
14232 * manual/install.texi (Configuring and compiling): Adjust since
14233 the info files are not part of the tar ball anymore.
14234
7ac77294
AJ
142352012-05-14 Andreas Jaeger <aj@suse.de>
14236
14237 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14238 variable.
14239
ffb7875d
JM
142402012-05-14 Joseph Myers <joseph@codesourcery.com>
14241
14242 [BZ #13717]
14243 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14244 to 2.2.0 where earlier.
14245 * sysdeps/unix/sysv/linux/configure: Regenerated.
14246 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14247 Remove conditional code.
14248 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14249 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14250 Remove conditional code.
14251 [!__NR_lchown]: Likewise.
14252 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14253 [__NR_lchown]: Likewise.
14254 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14255 comment referencing __ASSUME_LCHOWN_SYSCALL.
14256 * sysdeps/unix/sysv/linux/i386/sigaction.c
14257 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14258 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14259 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14260 Remove conditional code.
14261 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14262 (__protocol_available): Remove #if 0 code.
14263 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14264 conditional code.
14265 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14266 * sysdeps/unix/sysv/linux/kernel-features.h
14267 (__ASSUME_GETCWD_SYSCALL): Don't define.
14268 (__ASSUME_REALTIME_SIGNALS): Likewise.
14269 (__ASSUME_PREAD_SYSCALL): Likewise.
14270 (__ASSUME_PWRITE_SYSCALL): Likewise.
14271 (__ASSUME_POLL_SYSCALL): Likewise.
14272 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14273 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14274 non-SPARC.
14275 (__ASSUME_SIOCGIFNAME): Don't define.
14276 (__ASSUME_MSG_NOSIGNAL): Likewise.
14277 (__ASSUME_SENDFILE): Define unconditionally.
14278 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14279 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14280 conditional code.
14281 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14282 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14283 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14284 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14285 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14286 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14287 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14289 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14290 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14292 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14293 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14295 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14296 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14298 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14299 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14301 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14302 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14304 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14305 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14307 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14308 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14310 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14311 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14312 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14313 Remove conditional code.
14314 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14315 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14316 Remove conditional code.
14317 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14318 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14319 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14320 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14321 Remove conditional code.
14322 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14323 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14324 Remove conditional code.
14325 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14326 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14327 Remove conditional code.
14328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14329 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14330 Remove conditional code.
14331 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14332 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14333 Remove conditional code.
14334 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14335 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14336 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14337 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14338 * sysdeps/unix/sysv/linux/sigaction.c
14339 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14340 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14341 * sysdeps/unix/sysv/linux/sigpending.c
14342 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14343 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14344 * sysdeps/unix/sysv/linux/sigprocmask.c
14345 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14346 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14347 * sysdeps/unix/sysv/linux/sigsuspend.c
14348 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14349 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14350 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14351 (__libc_missing_rt_sigs): Remove.
14352 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14353 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14354 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14355 Remove conditional code.
14356 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14357 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14358 return 1.
14359 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14360 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14361 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14362 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14363
1bfb7291
AJ
143642012-05-14 Andreas Jaeger <aj@suse.de>
14365
caae5a81
AJ
14366 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14367 it's not used in glibc.
14368 (__coshm1): Likewise.
14369 (__acosh1p): Likewise.
14370 (__sgn): Likewise.
14371
1bfb7291
AJ
14372 * manual/string.texi (Copying and Concatenation): Add missing
14373 variable in concat example.
14374 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14375
c044d724
L
143762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14377
144c5467 14378 [BZ #14103]
c044d724
L
14379 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14380 __builtin_clzl with __builtin_clzll.
14381
2523c62b
L
143822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14383
14384 [BZ #14104]
14385 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14386 libc_freeres_ptr.
14387
d7bb4c42
LD
143882012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14389
14390 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14391 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14392 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14393 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14394
9dc4e1fb
MF
143952012-05-14 Mike Frysinger <vapier@gentoo.org>
14396
14397 * NEWS: Update ia64 info.
14398
c7df0112
AS
143992012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14400
14401 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14402 used as bcopy.
14403
dc70356c
TS
144042012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14405
14406 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14407 * sysdeps/unix/syscalls.list (dup3): Likewise.
14408 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14409 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14410
9fb1a21f
L
144112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14412
14413 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14414 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14415
4822a2a5
L
144162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14417
14418 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14419 thread pointer.
14420 (TLS_IE): Use mov/add instead of movq/addq to load thread
14421 pointer.
14422 (TLS_GD_PREFIX): New.
14423 (TLS_GD): Use it.
14424
842b81d6
DM
144252012-05-11 David S. Miller <davem@davemloft.net>
14426
14427 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14428 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14429 (_FPU_SETCW): Likewise.
14430
1cf463cd
L
144312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14432
14433 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14434 is 32-byte aligned.
14435
60cc4a18
AS
144362012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14437
14438 [BZ #11837]
14439 * iconvdata/gb18030.c: Update tables.
14440 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14441 characters specially.
14442 (BODY for TO_LOOP): Add encoding of missing ranges.
14443
febb44a4
TS
144442012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14445
14446 [BZ #13673]
14447 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14448 * sysdeps/mach/hurd/dup3.c: Likewise.
14449 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14450 * sysdeps/powerpc/memmove.c:: Likewise.
14451
0a10fb9e
L
144522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14453
14454 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14455 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14456
df8a552f
L
144572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14458
14459 * elf/elf.h (R_X86_64_RELATIVE64): New.
14460 (R_X86_64_NUM): Updated.
14461 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14462 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14463 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14464 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14465 tst-quad1pie tst-quad2pie
14466 (modules-names): Add tst-quadmod1 tst-quadmod2.
14467 ($(objpfx)tst-quad1): New dependency.
14468 ($(objpfx)tst-quad2): Likewise.
14469 ($(objpfx)tst-quad1pie): Likewise.
14470 ($(objpfx)tst-quad2pie): Likewise.
14471 * sysdeps/x86_64/tst-quad1.c: New file.
14472 * sysdeps/x86_64/tst-quad1pie.c: New file.
14473 * sysdeps/x86_64/tst-quad2.c: Likewise.
14474 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14475 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14476 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14477 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14478 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14479
f34d6f84
ST
144802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14481
f42d41d1
ST
14482 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14483 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14484 * streams/stropts.h (t_scalar_t): Define type.
14485
3c3571fc
ST
14486 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14487 (_PATH_PRESERVE): Set to "/var/lib".
14488 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14489
61f06bd3
ST
14490 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14491 instead of int.
14492
918d4d71
ST
14493 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14494 if __dir_mkfile succeeded.
14495
f34d6f84
ST
14496 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14497 checking for _hurd_dtablesize. Unlock it right after having
14498 finished _hurd_dtable allocation.
14499
10589b4a
TS
145002012-05-10 Thomas Schwinge <thomas@schwinge.name>
14501
674cdbc7
TS
14502 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14503 * sysdeps/mach/hurd/configure: Regenerated.
14504 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14505 special-casing to...
14506 * sysdeps/gnu/configure.in: ... this new file.
14507 * sysdeps/unix/sysv/linux/configure: Regenerated.
14508 * sysdeps/gnu/configure: New generated file.
14509
8e41b99f
TS
14510 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14511 for Linux: use nsec instead of usec, as well as:
14512 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14513 members of type struct timespec.
14514 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14515 New macros.
14516 (struct stat64): Likewise.
14517 (_STATBUF_ST_NSEC): New macro.
14518 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14519
10589b4a
TS
14520 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14521 __strtoul_internal rather than strtoul.
14522
63643c85
PT
145232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14524
14525 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14526 and reject them.
14527
3faebe6a
ST
145282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14529
14530 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14531 which preserves existing values.
14532 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14533
c6474b07
PT
145342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14535
14536 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14537 TIMEOUT values. Return EINVAL for NFDS values either negative or
14538 greater than FD_SETSIZE.
14539
1043890b
ST
145402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14541
14542 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14543 allocated, call __vm_protect to finish enabling the existing space, and
14544 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14545 allocate the remainder.
14546
37ed8b9b
PT
145472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14548
14549 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14550 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14551
db653660
ST
145522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14553
37ed8b9b
PT
14554 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14555 sysdeps/mach/hurd/readlink.c.
b29d4053 14556
db653660
ST
14557 * posix/tst-sysconf.c (posix_options): Only use
14558 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14559 _POSIX_SYNCHRONIZED_IO when they are defined
14560 * sysdeps/mach/hurd/bits/posix_opt.h:
14561 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14562 (_XOPEN_REALTIME): Undefine macro.
14563 (_XOPEN_REALTIME_THREADS): Undefine macro.
14564 (_XOPEN_SHM): Undefine macro.
14565 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14566 macro to -1.
14567 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14568 macro to -1.
14569 (_POSIX_ASYNC_IO): Undefine macro.
14570 (_POSIX_PRIORITIZED_IO): Undefine macro.
14571 (_POSIX_SPIN_LOCKS): Define macro to -1.
14572
ee16e894
ST
14573 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14574 SA_NODEFER, SA_RESETHAND.
14575 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14576 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14577 F_DUPFD_CLOEXEC.
14578
6103ae3b
TS
145792012-05-10 Thomas Schwinge <thomas@schwinge.name>
14580
14581 * elf/Makefile (pldd-modules): Define unconditionally.
14582
80b4e5f3
TS
145832012-05-10 Thomas Schwinge <thomas@schwinge.name>
14584
14585 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14586
edadcbd6
ST
145872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14588
14589 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14590 Return ENOENT when name is empty.
14591 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14592
80694780
TS
145932012-05-10 Thomas Schwinge <thomas@schwinge.name>
14594
1792c087
TS
14595 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14596
80694780
TS
14597 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14598
6b645f0d
ST
145992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14600
80694780
TS
14601 Fix mlock in all cases except non-readable pages.
14602 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14603 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14604
6b645f0d
ST
14605 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14606 (__mkdir): When path is `/', just fail with EEXIST.
14607 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14608
e468f8a3
TS
146092012-05-10 Thomas Schwinge <thomas@schwinge.name>
14610
14611 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14612 <sys/uio.h> (for writev).
14613 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14614 and <sys/param.h> (for MIN).
14615
a4186cff
PT
146162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14617
14618 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14619 REQUESTED_TIME. Properly set the remaining time and return EINTR
14620 if interrupted.
14621
510bbf14
TS
146222012-05-10 Thomas Schwinge <thomas@schwinge.name>
14623
14624 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14625 Depend on against $(link-rpcuserlibs).
14626
5d5722e8
ST
146272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14628
a4186cff
PT
14629 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14630 (__libc_stack_end): Do not use attribute_relro.
14631 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14632 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14633 to libthread-provided value.
a4186cff
PT
14634 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14635 attribute_relro.
5d5722e8 14636
37233df9
TS
146372012-05-10 Thomas Schwinge <thomas@schwinge.name>
14638
be971a2b
TS
14639 [BZ #3748]
14640 * bits/libc-lock.h (__libc_once_get): New macro.
14641 * sysdeps/mach/bits/libc-lock.h: Likewise.
14642 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14643 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14644 instead of using implementation details.
14645
37233df9
TS
14646 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14647 * libio/freopen.c: Likewise.
14648 * libio/freopen64.c: Likewise.
14649 * misc/syslog.c: Likewise.
14650 * nscd/connections.c: Likewise.
14651 * nscd/netgroupcache.c: Likewise.
14652 * sysdeps/posix/getcwd.c: Likewise.
14653
38de94a5
RM
146542012-05-10 Roland McGrath <roland@hack.frob.com>
14655
14656 * math/w_ilogbf.c: Add #include <limits.h>.
14657
67530489
ST
146582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14659
a4186cff 14660 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14661 path instead of returning without unlocking.
14662
67530489
ST
14663 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14664 immediate-write ioctls.
14665 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14666
5aa3a74a
TS
146672012-05-10 Thomas Schwinge <thomas@schwinge.name>
14668
18bad2ae
TS
14669 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14670 __builtin_frame_address instead of making assumptions about the
14671 location of the return address relative to DATA. Force early load of
14672 the return address.
14673 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14674 __builtin_frame_address.
14675
5aa3a74a
TS
14676 dup3 for GNU Hurd.
14677 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14678 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14679 implement dup3 and do some further code clean-ups.
14680 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14681 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14682
ecd0de9a
ST
146832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14684
cd9fa985
ST
14685 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14686
a4186cff
PT
14687 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14688 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14689 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14690 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14691 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14692 d->port.lock.
802ca5a5 14693
a4186cff
PT
14694 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14695 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14696 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14697
bcf55240
TS
146982012-05-10 Thomas Schwinge <thomas@schwinge.name>
14699
6960eb42
TS
14700 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14701 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14702 definitions.
14703
eb43375f
TS
14704 accept4 for GNU Hurd.
14705 * include/sys/socket.h (__libc_accept4): New prototype.
14706 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14707 to implement __libc_accept4.
14708 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14709 __libc_accept4.
14710 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14711
bcf55240
TS
14712 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14713 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14714 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14715 signal-defines.sym.
14716
6178c55b
ST
147172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14718
a4186cff 14719 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14720
6f080c2f
TS
147212012-05-10 Thomas Schwinge <thomas@schwinge.name>
14722
14723 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14724 assertion on O_CLOEXEC flag.
14725 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14726 * hurd/intern-fd.c: Likewise.
14727 * hurd/port2fd.c: Likewise.
14728
bcfe3a54
ST
147292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14730
14731 [BZ #3906]
14732 * bits/in.h (IPV6_PKTINFO): Define new macro.
14733 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14734
89c9aa49
AZ
147352012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14736
14737 [BZ #13954]
14738 [BZ #13955]
14739 [BZ #13956]
14740 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14741 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14742 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14743 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14745 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14746 * math/libm-test.inc (logb_test) : Additional logb tests.
14747
021db4be
AJ
147482012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14749 Andreas Jaeger <aj@suse.de>
14750
14751 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14752 * configure: Regenerated.
14753 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14754 * config.make.in (link-obsolete-rpc): New substituted variable.
14755 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14756 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14757 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14758 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14759 so that libc.a contains the symbols.
14760 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14761 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14762 * sunrpc/auth_none.c: Likewise.
14763 * sunrpc/auth_unix.c: Likewise.
14764 * sunrpc/authdes_prot.c: Likewise.
14765 * sunrpc/authuxprot.c: Likewise.
14766 * sunrpc/clnt_gen.c: Likewise.
14767 * sunrpc/clnt_perr.c: Likewise.
14768 * sunrpc/clnt_raw.c: Likewise.
14769 * sunrpc/clnt_simp.c: Likewise.
14770 * sunrpc/clnt_tcp.c: Likewise.
14771 * sunrpc/clnt_udp.c: Likewise.
14772 * sunrpc/clnt_unix.c: Likewise.
14773 * sunrpc/des_crypt.c: Likewise.
14774 * sunrpc/des_soft.c: Likewise.
14775 * sunrpc/get_myaddr.c: Likewise.
14776 * sunrpc/key_call.c: Likewise.
14777 * sunrpc/key_prot.c: Likewise.
14778 * sunrpc/netname.c: Likewise.
14779 * sunrpc/pm_getmaps.c: Likewise.
14780 * sunrpc/pm_getport.c: Likewise.
14781 * sunrpc/pmap_clnt.c: Likewise.
14782 * sunrpc/pmap_prot.c: Likewise.
14783 * sunrpc/pmap_prot2.c: Likewise.
14784 * sunrpc/pmap_rmt.c: Likewise.
14785 * sunrpc/publickey.c: Likewise.
14786 * sunrpc/rpc_cmsg.c: Likewise.
14787 * sunrpc/rpc_common.c: Likewise.
14788 * sunrpc/rpc_dtable.c: Likewise.
14789 * sunrpc/rpc_prot.c: Likewise.
14790 * sunrpc/rpc_thread.c: Likewise.
14791 * sunrpc/rtime.c: Likewise.
14792 * sunrpc/svc.c: Likewise.
14793 * sunrpc/svc_auth.c: Likewise.
14794 * sunrpc/svc_raw.c: Likewise.
14795 * sunrpc/svc_run.c: Likewise.
14796 * sunrpc/svc_tcp.c: Likewise.
14797 * sunrpc/svc_udp.c: Likewise.
14798 * sunrpc/svc_unix.c: Likewise.
14799 * sunrpc/svcauth_des.c: Likewise.
14800 * sunrpc/xcrypt.c: Likewise.
14801 * sunrpc/xdr.c: Likewise.
14802 * sunrpc/xdr_array.c: Likewise.
14803 * sunrpc/xdr_float.c: Likewise.
14804 * sunrpc/xdr_intXX_t.c: Likewise.
14805 * sunrpc/xdr_mem.c: Likewise.
14806 * sunrpc/xdr_rec.c: Likewise.
14807 * sunrpc/xdr_ref.c: Likewise.
14808 * sunrpc/xdr_sizeof.c: Likewise.
14809 * sunrpc/xdr_stdio.c: Likewise.
14810
b5c086a2
RM
148112012-05-10 Roland McGrath <roland@hack.frob.com>
14812
14813 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14814 change. Update copyright years.
14815
6d74dd09
JM
148162012-05-10 Joseph Myers <joseph@codesourcery.com>
14817
14818 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14819
28e72501
MK
148202012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14821 Joseph Myers <joseph@codesourcery.com>
14822 Paul Pluzhnikov <ppluzhnikov@google.com>
14823
14824 [BZ #14012]
14825 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14826 requiring rpcgen.
14827 [cross-compiling] (extra-libs): Likewise.
14828 [cross-compiling] (extra-libs-others): Likewise.
14829 [cross-compiling] (librpcsvc-routines): Likewise.
14830 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14831 [cross-compiling] (omit-deps): Likewise.
14832 (sunrpc-CPPFLAGS): New variable.
14833 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14834 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14835 (cross-rpcgen-objs): New variable.
14836 (extra-objs): Append $(cross-rpcgen-objs).
14837 ($(cross-rpcgen-objs)): New rule.
14838 ($(objpfx)cross-rpcgen): Likewise.
14839 (rpcgen-cmd): Define to use $(built-program-file). Expand
14840 comment.
14841 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14842 ($(objpfx)x%.stmp): Likewise.
14843 * sunrpc/proto.h [IS_IN_build] (_): Define.
14844 [IS_IN_build] (_libc_intl_domainname): Likewise.
14845
c8c59454
L
148462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14847
14848 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14849 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14850 and R_X86_64_TPOFF64.
14851
6f27cd16
JM
148522012-05-10 Joseph Myers <joseph@codesourcery.com>
14853
14854 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14855 sysdeps/unix/sysv/syscalls.list.
14856 (stime): Likewise.
14857 (utime): Likewise.
14858 * sysdeps/unix/sysv/syscalls.list: Remove file.
14859
02467e1c
PE
148602012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14861
14862 [BZ #3440]
14863 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14864 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14865 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14866 (__LC_IDENTIFICATION): Make these macros useful in #if
14867 expressions, as required by C99.
14868
da392631
AS
148692012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14870
14871 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14872 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14873 after this.
14874
8115f29b
L
148752012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14876
14877 * stdlib/longlong.h: Updated from GCC.
14878
bdd74070
AJ
148792012-05-09 Andreas Jaeger <aj@suse.de>
14880
edfe0dbe
AJ
14881 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14882 default is first entry.
14883 (run_mode): Set type.
14884 (main): Remove informal message about syslog.
14885 (options): Fix typo.
14886
bcfe3a54
ST
14887 [BZ #14053]
14888 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14889 to asm.
bcfe3a54
ST
14890 (lrint): Likewise.
14891 (llrintf): Likewise.
14892 (llrint): Likewise.
14893 (rint): Likewise.
14894 (rintf): Likewise.
14895 (nearbyint): Likewise.
14896 (nearbyintf): Likewise.
bdd74070 14897
91d8d69e
AJ
148982012-05-09 Andreas Jaeger <aj@suse.de>
14899 Pedro Alves <palves@redhat.com>
14900
14901 * nscd/nscd.c (run_mode): Use enum.
14902 (main): Cleanup coding style issue.
14903
bb90b80b
AJ
149042012-05-09 Alexandre Oliva <aoliva@redhat.com>
14905 Andreas Jaeger <aj@suse.de>
14906
bcfe3a54
ST
14907 * nscd/nscd.c (go_background): Replaced with...
14908 (run_mode): ... this.
bb90b80b 14909 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14910 (options): Add -F --foreground.
14911 (main): Implement it.
14912 (parse_opt): Parse it.
bb90b80b 14913
1a4b75a1
AJ
149142012-05-09 Andreas Jaeger <aj@suse.de>
14915
14916 [BZ #14083]
14917 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14918 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14919 -Wconversion warning.
14920 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14921 Likewise.
14922
b1cc2472
JM
149232012-05-09 Joseph Myers <joseph@codesourcery.com>
14924
14925 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14926 == 0.
14927 (LC_ALL): Use macro-int-constant.
14928 (LC_COLLATE): Likewise.
14929 (LC_CTYPE): Likewise.
14930 (LC_MESSAGES): Likewise.
14931 (LC_MONETARY): Likewise.
14932 (LC_NUMERIC): Likewise.
14933 (LC_TIME): Likewise.
14934 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14935 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14936 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14937 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14938 Specify type.
14939 [C99-based standards] (float_t): Expect type.
14940 [C99-based standards] (double_t): Expect type.
14941 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14942 type.
14943 [C99-based standards] (HUGE_VALL): Likewise.
14944 [C99-based standards] (INFINITY): Likewise.
14945 [C99-based standards] (NAN): Likewise.
14946 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14947 [C99-based standards] (FP_NAN): Likewise.
14948 [C99-based standards] (FP_NORMAL): Likewise.
14949 [C99-based standards] (FP_SUBNORMAL): Likewise.
14950 [C99-based standards] (FP_ZERO): Likewise.
14951 [C99-based standards] (FP_FAST_FMA): Use
14952 optional-macro-int-constant. Specify type. Require == 1.
14953 [C99-based standards] (FP_FAST_FMAF): Likewise.
14954 [C99-based standards] (FP_FAST_FMAL): Likewise.
14955 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14956 [C99-based standards] (FP_ILOGBNAN): Likewise.
14957 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14958 Specify type.
14959 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14960 [C99-based standards] (math_errhandling): Specify type.
14961 [ISO99 || ISO11] (signgam): Do not allow.
14962 [non-C99-based standards] (copysignf): Do not allow.
14963 [non-C99-based standards] (exp2f): Likewise.
14964 [non-C99-based standards] (log2f): Likewise.
14965 [non-C99-based standards] (modff): Allow.
14966 [non-C99-based standards] (erff): Do not allow.
14967 [non-C99-based standards] (erfcf): Likewise.
14968 [non-C99-based standards] (gammaf): Likewise.
14969 [non-C99-based standards] (hypotf): Likewise.
14970 [non-C99-based standards] (j0f): Likewise.
14971 [non-C99-based standards] (j1f): Likewise.
14972 [non-C99-based standards] (jnf): Likewise.
14973 [non-C99-based standards] (lgammaf): Likewise.
14974 [non-C99-based standards] (tgammaf): Likewise.
14975 [non-C99-based standards] (y0f): Likewise.
14976 [non-C99-based standards] (y1f): Likewise.
14977 [non-C99-based standards] (ynf): Likewise.
14978 [non-C99-based standards] (isnanf): Likewise.
14979 [non-C99-based standards] (acoshf): Likewise.
14980 [non-C99-based standards] (asinhf): Likewise.
14981 [non-C99-based standards] (atanhf): Likewise.
14982 [non-C99-based standards] (cbrtf): Likewise.
14983 [non-C99-based standards] (expm1f): Likewise.
14984 [non-C99-based standards] (ilogbf): Likewise.
14985 [non-C99-based standards] (log1pf): Likewise.
14986 [non-C99-based standards] (logbf): Likewise.
14987 [non-C99-based standards] (nextafterf): Likewise.
14988 [non-C99-based standards] (remainderf): Likewise.
14989 [non-C99-based standards] (rintf): Likewise.
14990 [non-C99-based standards] (scalbf): Likewise.
14991 [non-C99-based standards] (copysignl): Likewise.
14992 [non-C99-based standards] (exp2l): Likewise.
14993 [non-C99-based standards] (log2l): Likewise.
14994 [non-C99-based standards] (modfl): Allow.
14995 [non-C99-based standards] (erfl): Do not allow.
14996 [non-C99-based standards] (erfcl): Likewise.
14997 [non-C99-based standards] (gammal): Likewise.
14998 [non-C99-based standards] (hypotl): Likewise.
14999 [non-C99-based standards] (j0l): Likewise.
15000 [non-C99-based standards] (j1l): Likewise.
15001 [non-C99-based standards] (jnl): Likewise.
15002 [non-C99-based standards] (lgammal): Likewise.
15003 [non-C99-based standards] (tgammal): Likewise.
15004 [non-C99-based standards] (y0l): Likewise.
15005 [non-C99-based standards] (y1l): Likewise.
15006 [non-C99-based standards] (ynl): Likewise.
15007 [non-C99-based standards] (isnanl): Likewise.
15008 [non-C99-based standards] (acoshl): Likewise.
15009 [non-C99-based standards] (asinhl): Likewise.
15010 [non-C99-based standards] (atanhl): Likewise.
15011 [non-C99-based standards] (cbrtl): Likewise.
15012 [non-C99-based standards] (expm1l): Likewise.
15013 [non-C99-based standards] (ilogbl): Likewise.
15014 [non-C99-based standards] (log1pl): Likewise.
15015 [non-C99-based standards] (logbl): Likewise.
15016 [non-C99-based standards] (nextafterl): Likewise.
15017 [non-C99-based standards] (remainderl): Likewise.
15018 [non-C99-based standards] (rintl): Likewise.
15019 [non-C99-based standards] (scalbl): Likewise.
15020 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15021 [non-C99-based standards] (FP_*): Do not allow.
15022 [C99-based standards] (FP_*): Change to
15023 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15024 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15025 allow.
15026 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15027 (SIG_ERR): Likewise.
15028 [X/Open-based standards] (SIG_HOLD): Likewise.
15029 (SIG_IGN): Likewise.
15030 (SIGABRT): Use macro-int-constant. Specify type. Require
15031 positive value.
15032 (SIGFPE): Likewise.
15033 (SIGILL): Likewise.
15034 (SIGINT): Likewise.
15035 (SIGSEGV): Likewise.
15036 (SIGTER): Likewise.
15037 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15038 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15039 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15040 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15041 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15042 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15043 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15044 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15045 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15046 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15047 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15048 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15049 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15050 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15051 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15052 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15053 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15054 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15055 [X/Open-based standards] (SIGTRAP): Likewise.
15056 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15057 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15058 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15059 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15060 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15061 allow.
15062
b9f1922d
IW
150632012-05-08 Ian Wienand <ianw@vmware.com>
15064
15065 [BZ #14080]
15066 * time/tzset.c (__tzset_parse_tz): Update default rules for
15067 daylight time changes in the Energy Policy Act of 2005.
15068
1db86e88
AJ
150692012-05-09 Andreas Jaeger <aj@suse.de>
15070
15071 [BZ #13983]
15072 * elf/ldconfig.c (parse_conf): Change string to make clear that
15073 ldconfig only issued a warning if ld.so.conf does not exist.
15074
dee4a4e3
DM
150752012-05-08 David S. Miller <davem@davemloft.net>
15076
ee0db190
DM
15077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15078 movxtod instead of popping the value on the stack.
15079
dee4a4e3
DM
15080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15081
6a43ec98
CD
150822012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15083
15084 * config.h.in: Add HAVE_ARM_PCS_VFP.
15085
05c2c961
RMG
150862012-05-08 Roland Mc Grath <roland@hack.frob.com>
15087
bcfe3a54
ST
15088 [BZ #13979]
15089 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15090 checking but the checks are disabled for any reason.
05c2c961 15091
4b30f61a
L
150922012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15093
15094 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15095 and ELF64_R_TYPE with ELFW(R_TYPE).
15096
eee2bc67
JM
150972012-05-08 Joseph Myers <joseph@codesourcery.com>
15098
7ea5391a
JM
15099 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15100 (ulimit): Likewise.
15101
eee2bc67
JM
15102 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15103 (settimeofday): Likewise.
15104
abb66a67
MF
151052012-05-08 Mike Frysinger <vapier@gentoo.org>
15106
15107 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15108 a struct th_u2 inside the union, and move tu_block/tu_code into
15109 a new th_u3 union of tu_block/tu_code inside of that. Move
15110 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15111 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15112 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15113 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15114 (th_stuff): Change to th_u1.tu_stuff.
15115 (th_data): Define.
15116 (th_msg): Change to th_u1.th_u2.tu_data.
15117
7f18b530
DM
151182012-05-07 David S. Miller <davem@davemloft.net>
15119
05760585
DM
15120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15121
7f18b530
DM
15122 [BZ #14074]
15123 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15124 (SETUP_PIC_REG): Use it.
15125 (SETUP_PIC_REG_LEAF): Use it.
15126
495fd99f
JM
151272012-05-07 Joseph Myers <joseph@codesourcery.com>
15128
15129 [BZ #13885]
15130 [BZ #13923]
15131 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15132 USE_AS_EXPM1L.
15133 (EXPL_FINITE): Likewise.
15134 (FLDLOG): Likewise.
15135 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15136 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15137 e_expl.S.
15138 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15139 USE_AS_EXPM1L.
15140 (EXPL_FINITE): Likewise.
15141 (FLDLOG): Likewise.
15142 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15143 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15144 e_expl.S.
15145 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15146 test of -max_value argument for long double.
15147 * sysdeps/i386/fpu/libm-test-ulps: Update.
15148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15149
6693d694
DM
151502012-05-06 David S. Miller <davem@davemloft.net>
15151
15152 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15153 quad soft-float symbols whose references which are compiler
15154 generated.
15155 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15156
6c23e11c
JM
151572012-05-06 Joseph Myers <joseph@codesourcery.com>
15158
d8b82cad
JM
15159 [BZ #13884]
15160 [BZ #13914]
15161 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15162 USE_AS_EXP10L.
15163 (EXPL_FINITE): Likewise.
15164 (FLDLOG): Likewise.
15165 (c0): Likewise.
15166 (c1): Likewise.
15167 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15168 Adjust comments for base varying.
15169 (__expl_finite): Change alias to EXPL_FINITE.
15170 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15171 e_expl.S.
15172 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15173 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15174 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15175 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15176 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15177 USE_AS_EXP10L.
15178 (EXPL_FINITE): Likewise.
15179 (FLDLOG): Likewise.
15180 (c0): Likewise.
15181 (c1): Likewise.
15182 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15183 Adjust comments for base varying.
15184 (__expl_finite): Change alias to EXPL_FINITE.
15185 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15186 tests for bugs.
15187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15188
6c23e11c
JM
15189 [BZ #14064]
15190 * math/libm-test.inc (check_float_internal): Correct ulp
15191 calculation for subnormal expected results.
15192
29ba805c
AJ
151932012-05-06 Andreas Jaeger <aj@suse.de>
15194
15195 * Makeconfig (+math-flags): New, set to -frounding-math.
15196 (+cflags): Add +math-flags so that all of glibc gets compiled with
15197 it.
15198
15199 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15200
7b17aeda
JM
152012012-05-05 Joseph Myers <joseph@codesourcery.com>
15202
5779f134
JM
15203 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15204 Disable one test.
15205
41498f4d
JM
15206 [BZ #13787]
15207 [BZ #13922]
15208 [BZ #14036]
15209 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15210 (__ieee754_expl): Allow for and saturate large arguments.
15211 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15212 (u_threshold): Likewise.
15213 (__exp): Call __ieee754_exp before checking for overflow and
15214 underflow.
15215 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15216 (u_threshold): Likewise.
15217 (__expf): Call __ieee754_expf before checking for overflow and
15218 underflow.
15219 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15220 (u_threshold): Likewise.
15221 (__expl): Call __ieee754_expl before checking for overflow and
15222 underflow.
15223 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15224 (__ieee754_expl): Allow for and saturate large arguments.
15225 * math/libm-test.inc (exp_test): Add another test. Do not allow
15226 missing overflow exception on overflow.
15227 (expm1_test): Do not allow missing overflow exception on overflow.
15228
6698b8bf
JM
15229 * sysdeps/i386/fpu/e_expl.c: Move to ...
15230 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15231 rather than using inline asm.
15232 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15233 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15234 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15235
7b17aeda
JM
15236 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15237 (nice): Likewise.
15238 (poll): Likewise.
15239 (signal): Likewise.
15240 (time): Likewise.
15241 (times): Likewise.
15242
f7c85819
JM
152432012-05-04 Joseph Myers <joseph@codesourcery.com>
15244
15245 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15246 sysdeps/unix/common/syscalls.list.
15247 (fchmod): Likewise.
15248 (fchown): Likewise.
15249 (ftruncate): Likewise.
15250 (getrusage): Likewise.
15251 (gettimeofday): Likewise.
15252 (setpgid): Likewise.
15253 (setregid): Likewise.
15254 (setreuid): Likewise.
15255 (sigaction): Likewise.
15256 (truncate): Likewise.
15257 (vhangup): Likewise.
15258 * sysdeps/unix/common/syscalls.list: Remove file.
15259 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15260 * sysdeps/unix/sysv/linux/Implies: Likewise.
15261
336270d0
L
152622012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15263
15264 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15266 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15267 Moved to ...
15268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15269 Here.
15270 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15271 to ...
15272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15273 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15274 to ...
15275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15276 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15277 to ...
15278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15279 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15280 to ...
15281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15282 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15283 to ...
15284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15285 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15286 to ...
15287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15288 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15289 to ...
15290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15291 Here.
15292 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15293 to ...
15294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15295 Here.
15296 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15297 to ...
15298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15299 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15300 Moved to ...
15301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15302 Here.
15303 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15304 to ...
15305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15306
d128e450
JM
153072012-05-04 Joseph Myers <joseph@codesourcery.com>
15308
fa8ee516
JM
15309 * sysdeps/unix/common/bits/dirent.h: Remove file.
15310 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15311
d128e450
JM
15312 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15313 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15314 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15315 * sysdeps/unix/bsd/isatty.c: Likewise.
15316 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15317 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15318 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15319
ff8faaf0 153202012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15321
62881be4 15322 [BZ #13563]
31dc8730
AZ
15323 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15324 long double comparison inaccuracies.
15325 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15327
6fef930c
AS
153282012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15329
15330 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15331 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15332
8f203e6c
JM
153332012-05-04 Joseph Myers <joseph@codesourcery.com>
15334
15335 [BZ #14049]
15336 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15337 nonzero digits before rounding a hex value.
15338 * stdlib/tst-strtod.c (tests): Add another test.
15339
5197d9c2
AK
153402012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15341
15342 * sysdeps/s390/fpu/libm-test-ulps: Update.
15343
f0c1dedf
AJ
153442012-05-03 Andreas Jaeger <aj@suse.de>
15345
15346 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15347 does not get optimized out.
15348 (malloc_opt_barrier): New.
15349
a65ef2ae 153502012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15351 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15352
2b942cb7 15353 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15354 intermediate file deletion.
2b942cb7 15355 (generated): Add .symlist files.
a65ef2ae 15356
54b71e02
JM
153572012-05-03 Joseph Myers <joseph@codesourcery.com>
15358
15359 [BZ #13775]
15360 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15361 Redirect under this condition.
15362 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15363 [__USE_GNU] (__dprintf_chk): Not under this condition.
15364 [__USE_GNU] (__vdprintf_chk): Likewise.
15365 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15366 under this condition.
15367 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15368 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15369 [__USE_XOPEN2K8] (vdprintf): Likewise.
15370 [__USE_GNU] (__dprintf_chk): Not under this condition.
15371 [__USE_GNU] (__vdprintf_chk): Likewise.
15372 [__USE_GNU] (dprintf): Likewise.
15373 [__USE_GNU] (vdprintf): Likewise.
15374
d3dfcc41
RM
153752012-05-03 Roland McGrath <roland@hack.frob.com>
15376
15377 * elf/Makefile (common-generated): Set this instead of generated for
15378 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15379 $(all-built-dso)-derived lists.
15380
7ac30cc5
AJ
153812012-05-03 Andreas Jaeger <aj@suse.de>
15382
0c51e550
AJ
15383 * sysdeps/i386/fpu/libm-test-ulps: Update.
15384
7ac30cc5
AJ
15385 * FAQ: Removed.
15386 * FAQ.in: Likewise.
15387 * scripts/gen-FAQ.pl: Likewise.
15388 * manual/install.texi (Installation): Point to online location of
15389 FAQ.
15390 * Makefile (files-for-dist): Remove FAQ.
15391 (FAQ): Remove.
15392
d4c2917f
AM
153932012-05-02 Allan McRae <allan@archlinux.org>
15394
15395 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15396 (LDFLAGS-reldepmod5.so): Likewise.
15397 (LDFLAGS-reldep6mod1.so): Likewise.
15398 (LDFLAGS-reldep6mod4.so): Likewise.
15399 (LDFLAGS-reldep8mod3.so): Likewise.
15400 (LDFLAGS-unload4mod1.so): Likewise.
15401 (LDFLAGS-unload4mod2.so): Likewise.
15402 (LDFLAGS-tst-initorder): Likewise.
15403 (LDFLAGS-tst-initordera2.so): Likewise.
15404 (LDFLAGS-tst-initordera3.so): Likewise.
15405 (LDFLAGS-tst-initordera4.so): Likewise.
15406 (LDFLAGS-tst-initorderb2.so): Likewise.
15407 (LDFLAGS-noload): Likewise.
15408 (LDFLAGS-next): Likewise.
15409 (LDFLAGS-order2mod1.so): Likewise.
15410 (LDFLAGS-order2mod2.so): Likewise.
15411 (LDFLAGS-tst-initorder2): Likewise.
15412 (LDFLAGS-tst-initorder2a.so): Likewise.
15413 (LDFLAGS-tst-initorder2b.so): Likewise.
15414 (LDFLAGS-tst-initorder2c.so): Likewise.
15415 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15416
d77f993f
DM
154172012-05-02 David S. Miller <davem@davemloft.net>
15418
15419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15420
171a70b4
PP
154212012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15422
15423 [BZ #14055]
15424 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15425
0be196ad
AJ
154262012-05-02 Andreas Jaeger <aj@suse.de>
15427
15428 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15429 since we manipulate rounding mode.
15430 (CPPFLAGS-test-idouble.c): Likewise.
15431 (CPPFLAGS-test-ifloat.c): Likewise.
15432 (CFLAGS-test-ldouble.c): Likewise.
15433 (CFLAGS-test-double.c): Likewise.
15434 (CFLAGS-test-float.c): Likewise.
15435 (CFLAGS-test-misc.c): Likewise.
15436 (CFLAGS-test-test-fenv.c): Likewise.
15437
4f9d04aa
AZ
154382012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15439
2b942cb7
RM
15440 [BZ #2550]
15441 [BZ #2570]
15442 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15443 comparisons to determine direction to adjust input.
4f9d04aa 15444
82a79e7d
RM
154452012-05-01 Roland McGrath <roland@hack.frob.com>
15446
f5a01ca9
RM
15447 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15448 output to the target.
15449
90fe4186
RM
15450 * scripts/localplt.awk: New file.
15451 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15452 (check-localplt-CFLAGS): Variable removed.
15453 ($(all-built-dso:=.jmprel)): New static pattern rule.
15454 (generated): Add those targets.
15455 (localplt-built-dso): New variable.
15456 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15457
15458 * elf/check-localplt.c: File removed.
15459
82397ed6
RM
15460 * scripts/check-execstack.awk: New file.
15461 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15462 (check-execstack-CFLAGS): Variable removed.
15463 ($(objpfx)check-execstack.h): Target removed.
15464 ($(objpfx)execstack-default): New target.
15465 (generated): Add that instead of check-execstack.h.
15466 ($(all-built-dso:=.phdr)): New static pattern rule.
15467 (generated): Add those targets.
15468 * elf/check-execstack.c: File removed.
15469
82a79e7d
RM
15470 * scripts/check-textrel.awk: New file.
15471 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15472 (check-textrel-CFLAGS): Variable removed.
15473 (all-built-dso): Use := to define.o
15474 ($(all-built-dso:=.dyn)): New static pattern rule.
15475 (generated): Add those targets.
15476 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15477 * config.make.in (READELF): New substituted variable.
15478 * elf/check-textrel.c: File removed.
15479
62fde54f 154802012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15481
615605c9
JM
15482 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15483 allow.
15484 * conform/data/ctype.h-data [C99-based standards] (isblank):
15485 Expect function.
15486 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15487 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15488 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15489 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15490 Specify type. Require positive value.
15491 (EILSEQ): Likewise.
15492 (ERANGE): Likewise.
15493 [ISO || POSIX] (EILSEQ): Do not expect.
15494 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15495 Specify type. Require positive value.
15496 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15497 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15498 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15499 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15500 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15501 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15502 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15503 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15504 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15505 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15506 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15507 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15508 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15509 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15510 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15511 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15512 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15513 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15514 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15515 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15516 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15517 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15518 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15519 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15520 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15521 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15522 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15523 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15524 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15525 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15526 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15527 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15528 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15529 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15530 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15531 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15532 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15533 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15534 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15535 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15536 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15537 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15538 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15539 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15540 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15541 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15542 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15543 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15544 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15545 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15546 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15547 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15548 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15549 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15550 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15551 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15552 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15553 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15554 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15555 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15556 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15557 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15558 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15559 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15560 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15561 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15562 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15563 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15564 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15565 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15566 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15567 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15568 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15569 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15570 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15571 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15572 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15573 Require >= 2.
15574 (FLT_ROUNDS): Expect as macro, not constant.
15575 (FLT_MANT_DIG): Use macro-int-constant.
15576 (DBL_MANT_DIG): Likewise.
15577 (LDBL_MANT_DIG): Likewise.
15578 (FLT_DIG): Likewise.
15579 (DBL_DIG): Likewise.
15580 (LDBL_DIG): Likewise.
15581 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15582 (DBL_MIN_EXP): Likewise.
15583 (LDBL_MIN_EXP): Likewise.
15584 (FLT_MAX_EXP): Use macro-int-constant.
15585 (DBL_MAX_EXP): Likewise.
15586 (LDBL_MAX_EXP): Likewise.
15587 (FLT_MAX_10_EXP): Likewise.
15588 (DBL_MAX_10_EXP): Likewise.
15589 (LDBL_MAX_10_EXP): Likewise.
15590 (FLT_MAX): Use macro-constant.
15591 (DBL_MAX): Likewise.
15592 (LDBL_MAX): Likewise.
15593 (FLT_EPSILON): Use macro-constant. Give upper bound.
15594 (DBL_EPSILON): Likewise.
15595 (LDBL_EPSILON): Likewise.
15596 (FLT_MIN): Likewise.
15597 (DBL_MIN): Likewise.
15598 (LDBL_MIN): Likewise.
15599 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15600 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15601 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15602 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15603 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15604 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15605 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15606 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15607 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15608 [ISO11] (FLT_TRUE_MIN): Likewise.
15609 [ISO11] (LDBL_TRUE_MIN): Likewise.
15610 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15611 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15612 (SCHAR_MIN): Use macro-int-constant. Specify type.
15613 (SCHAR_MAX): Likewise.
15614 (UCHAR_MAX): Likewise.
15615 (CHAR_MIN): Likewise.
15616 (CHAR_MAX): Likewise.
15617 (MB_LEN_MAX): Use macro-int-constant.
15618 (SHRT_MIN): Use macro-int-constant. Specify type.
15619 (SHRT_MAX): Likewise.
15620 (USHRT_MAX): Likewise.
15621 (INT_MAX): Likewise.
15622 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15623 bound negative.
15624 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15625 bound with "U".
15626 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15627 bound with "L".
15628 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15629 bound negative. Suffix upper bound with "L".
15630 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15631 bound with "UL".
15632 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15633 Specify type.
15634 [C99-based standards] (LLONG_MAX): Likewise.
15635 [C99-based standards] (ULLONG_MAX): Likewise.
15636 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15637 == 0.
15638 [ISO11] (max_align_t): Require type.
15639 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15640
c9140a62
JM
15641 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15642 from $CFLAGS, without defining away __attribute__ calls.
15643 (checknamespace): Use $CFLAGS_namespace.
15644
9af0bf29
JM
15645 * conform/conformtest.pl (@keywords): Only include C99 keywords
15646 for standards based on C99 or C11.
15647
343222a2
JM
15648 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15649 Disable tests.
15650 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15651 UNIX98]: Likewise.
15652
661f8cf0
JM
15653 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15654 usability of symbols in #if.
15655
ee74b9cb
JM
15656 * conform/conformtest.pl: If macro or constant types start
15657 "promoted:", expect the symbol to be of the following type
15658 promoted by the integer promotions.
62fde54f 15659
aafc49b3
JM
15660 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15661 in one place. Also handle "macro-constant".
15662
fefdf574
JM
15663 * conform/conformtest.pl: Only accept expected macro values with
15664 "==". Parse all "macro" lines in one place.
15665 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15666
f2d922fe
JM
15667 * conform/conformtest.pl: Handle braced types on "constant" lines
15668 instead of handling "typed-constant".
15669 * conform/data/signal.h-data: Use "constant" instead of
15670 "typed-constant".
15671
d22956c9
JM
15672 * conform/conformtest.pl: Handle "optional-" at start of lines in
15673 one place rather than duplicating several cases. Handle each
15674 format of "macro" line with initial "optional-".
15675
028e2e38
JM
15676 * conform/conformtest.pl: Only accept expected constant or
15677 optional-constant values with "==". Parse all "constant" lines in
15678 one place. Parse all "optional-constant" lines in one place.
15679 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15680 * conform/data/fmtmsg.h-data: Likewise.
15681 * conform/data/netinet/in.h-data: Likewise.
15682 * conform/data/tar.h-data: Likewise.
15683 * conform/data/limits.h-data: Use "==" form on "constant" and
15684 "optional-constant" lines.
15685
1b8f2850
JM
15686 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15687 Use -std=c99 for XOPEN2K.
15688 (@knownproblems): Remove.
15689 (newtoken): Don't check %isknown.
15690
a05a144b
JM
15691 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15692 Do not expect macro.
15693 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15694 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15695 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15696 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15697 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15698 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15699 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15700 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15701 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15702 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15703 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15704 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15705 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15706 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15707 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15708 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15709 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15710 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15711 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15712 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15713 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15714 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15715 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15716 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15717 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15718 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15719 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15720 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15721 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15722 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15723 [XPG3] (acosh): Likewise.
15724 [XPG3] (asinh): Likewise.
15725 [XPG3] (atanh): Likewise.
15726 [XPG3] (cbrt): Likewise.
15727 [XPG3] (expm1): Likewise.
15728 [XPG3] (ilogb): Likewise.
15729 [XPG3] (log1p): Likewise.
15730 [XPG3] (logb): Likewise.
15731 [XPG3] (nextafter): Likewise.
15732 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15733 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15734 [XPG3] (remainder): Likewise.
15735 [XPG3] (rint): Likewise.
15736 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15737 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15738 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15739 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15740 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15741 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15742 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15743 [UNIX98 || XOPEN2K] (scalb): Expect.
15744 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15745 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15746 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15747 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15748 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15749 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15750 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15751 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15752 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15753 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15754 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15755 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15756 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15757 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15758 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15759 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15760 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15761 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15762 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15763 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15764 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15765 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15766 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15767 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15768 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15769 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15770 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15771 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15772 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15773 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15774 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15775 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15776 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15777 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15778 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15779 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15780 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15781 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15782 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15783 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15784 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15785 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15786 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15787 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15788 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15789 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15790 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15791 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15792 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15793 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15794 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15795 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15796 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15797 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15798 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15799 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15800 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15801 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15802 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15803 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15804 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15805 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15806 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15807 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15808 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15809 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15810 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15811 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15812 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15813 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15814 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15815 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15816 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15817 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15818 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15819 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15820 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15821 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15822 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15823 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15824 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15825 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15826 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15827 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15828 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15829 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15830 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15831 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15832 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15833 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15834 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15835 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15836 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15837 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15838 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15839 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15840 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15841 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15842 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15843 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15844 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15845 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15846 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15847 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15848 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15849 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15850 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15851 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15852 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15853 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15854 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15855 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15856 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15857 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15858 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15859 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15860 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15861 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15862 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15863 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15864 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15865 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15866 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15867 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15868 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15869 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15870 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15871 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15872 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15873 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15874 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15875 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15876 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15877 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15878 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15879 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15880 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15881
73c5ebe3
JM
15882 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15883 _XOPEN_SOURCE_EXTENDED for XPG4.
15884
39c33b6c
JM
15885 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15886
62fde54f
JM
15887 * Makeconfig (localtime): Remove variable.
15888 (inst_localtime-file): Likewise.
15889
0741d64c
AS
158902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15891
15892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15893 Update.
15894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15895 Update.
15896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15897 Update.
15898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15899 Update.
15900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15901 Update.
15902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15903 Update.
15904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15905 Update.
15906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15907 Update.
15908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15909 Update.
15910
7cb029ee
JM
159112012-05-01 Joseph Myers <joseph@codesourcery.com>
15912
15913 [BZ #2550]
15914 [BZ #2570]
15915 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15916 comparisons to determine direction to adjust input.
15917 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15918 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15919 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15920 Likewise.
15921 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15922 Likewise.
15923 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15924 Likewise.
15925 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15926 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15927 Likewise.
15928 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15929 Likewise.
15930 * math/libm-test.inc (nexttoward_test): Add more tests.
15931
412bd966
AS
159322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15933
15934 [BZ #14040]
15935 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15936 in version GLIBC_2.1, not GLIBC_2.0.
15937 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15938 Likewise.
15939
9568c0c2
JM
159402012-04-30 Joseph Myers <joseph@codesourcery.com>
15941
adfbc8ac
JM
15942 [BZ #13942]
15943 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15944 (1 - x) * (1 + x).
15945 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15946 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15947 * math/libm-test.inc (acos_test): Add more tests.
15948 (asin_test): Likewise.
15949 * sysdeps/i386/fpu/libm-test-ulps: Update.
15950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15951
5ba3cc69
JM
15952 [BZ #14034]
15953 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15954 of square root.
15955 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15956 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15957 * math/libm-test.inc (acos_test_tonearest): New function.
15958 (acos_test_towardzero): Likewise.
15959 (acos_test_downward): Likewise.
15960 (acos_test_upward): Likewise.
15961 (asin_test_tonearest): Likewise.
15962 (asin_test_towardzero): Likewise.
15963 (asin_test_downward): Likewise.
15964 (asin_test_upward): Likewise.
15965 (main): Call the new functions.
15966 * sysdeps/i386/fpu/libm-test-ulps: Update.
15967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15968
9568c0c2
JM
15969 [BZ #13884]
15970 [BZ #13924]
15971 * math/e_exp10.c: Include <float.h>.
15972 (__ieee754_exp10): Handle underflow here rather than multiplying
15973 large negative argument by M_LN10.
15974 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15975 of __ieee754_expf.
15976 * math/e_exp10l.c: Include <float.h>.
15977 (__ieee754_exp10l): Handle underflow here rather than multiplying
15978 large negative argument by M_LN10l.
15979 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15980 spurious overflow exception on underflow.
15981
5ac3ea17
MP
159822012-04-29 Marek Polacek <polacek@redhat.com>
15983
15984 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15985 (__fortify_function): New macro.
15986 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15987 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15988 __extern_always_inline.
15989 * libio/bits/stdio2.h: Likewise.
15990 * libio/bits/stdio.h: Likewise.
15991 * string/string.h: Likewise.
15992 * string/bits/string3.h: Likewise.
15993 * include/stdio.h: Likewise.
15994 * stdlib/bits/stdlib.h: Likewise.
15995 * stdlib/stdlib.h: Likewise.
15996 * rt/bits/mqueue2.h: Likewise.
15997 * rt/mqueue.h: Likewise.
15998 * posix/bits/unistd.h: Likewise.
15999 * posix/unistd.h: Likewise.
16000 * io/bits/poll2.h: Likewise.
16001 * io/bits/fcntl2.h: Likewise.
16002 * io/fcntl.h: Likewise.
16003 * io/sys/poll.h: Likewise.
16004 * misc/bits/syslog.h: Likewise.
16005 * misc/bits/syslog-ldbl.h: Likewise.
16006 * misc/sys/syslog.h: Likewise.
16007 * socket/bits/socket2.h: Likewise.
16008 * socket/sys/socket.h: Likewise.
16009 * debug/tst-chk1.c: Likewise.
16010 * wcsmbs/bits/wchar2.h: Likewise.
16011 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16012 * wcsmbs/wchar.h: Likewise.
16013
ecf0ebfb
AJ
160142012-04-29 Andreas Jaeger <aj@suse.de>
16015
16016 * Makerules (tests): Remove enable-check-abi protection.
16017 (check-abi-warn): Remove.
16018 (check-abi-%): Remove check-abi-warn usage.
16019
16020 * configure.in: Remove check-abi configure option.
16021 * configure: Regenerated.
16022 * config.make.in (enable-check-abi): Remove.
16023
6d5c57fa
AS
160242012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16025
24c5d07e 16026 [BZ #14033]
ded5180a
AS
16027 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16028 double functions to double *_finite functions.
16029
7e0d315d
AS
16030 [BZ #13941]
16031 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16032 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16033 LDBL_MIN_EXP.
16034 * stdio-common/Makefile (tests): Add tst-sprintf3.
16035 * stdio-common/tst-sprintf3.c: New file.
16036
6d5c57fa
AS
16037 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16038 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16039
0749ff8b
JM
160402012-04-28 Joseph Myers <joseph@codesourcery.com>
16041
16042 * conform/conformtest.pl: Remove duplicate typed-constant
16043 handling.
16044
8dbd5d7b
DM
160452012-04-28 David S. Miller <davem@davemloft.net>
16046
16047 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16048 (check-abi-%): Remove AWK script prerequisite and explicit
16049 abilist directory.
16050 (check-abi): Rewrite to just diff the symlist with the abilist.
16051 (config-tls, config-abi-config): Delete, no longer used.
16052 (update-abi-%): Remove AWK script and explicit abilist directory.
16053 (update-abi): Rewrite to simply compare and conditionally copy the
16054 symlist and the sysdep abilist file. Remove update-abi-config
16055 checks.
16056 * abilist/ld.abilist: Remove.
16057 * abilist/libBrokenLocale.abilist: Remove.
16058 * abilist/libanl.abilist: Remove.
16059 * abilist/libcrypt.abilist: Remove.
16060 * abilist/libdl.abilist: Remove.
16061 * abilist/librt.abilist: Remove.
16062 * abilist/libthread_db.abilist: Remove.
16063 * abilist/libutil.abilist: Remove.
16064 * scripts/extract-abilist.awk: Remove.
16065 * scripts/merge-abilist.awk: Remove.
16066 * sysdeps/generic/libcidn.abilist: New file.
16067 * sysdeps/generic/libnss_compat.abilist: New file.
16068 * sysdeps/generic/libnss_db.abilist: New file.
16069 * sysdeps/generic/libnss_dns.abilist: New file.
16070 * sysdeps/generic/libnss_files.abilist: New file.
16071 * sysdeps/generic/libnss_hesiod.abilist: New file.
16072 * sysdeps/generic/libnss_nis.abilist: New file.
16073 * sysdeps/generic/libnss_nisplus.abilist: New file.
16074 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16075 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16076 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16077 file.
16078 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16079 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16080 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16081 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16082 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16083 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16084 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16085 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16086 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16087 file.
16088 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16089 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16090 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16091 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16092 file.
16093 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16094 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16095 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16096 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16097 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16098 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16099 file.
16100 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16101 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16102 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16103 file.
16104 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16106 New file.
16107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16108 New file.
16109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16110 New file.
16111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16112 New file.
16113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16114 New file.
16115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16116 New file.
16117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16118 New file.
16119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16120 New file.
16121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16122 New file.
16123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16124 New file.
16125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16126 New file.
16127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16128 New file.
16129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16130 New file.
16131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16132 file.
16133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16134 New file.
16135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16136 New file.
16137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16138 file.
16139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16140 New file.
16141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16142 New file.
16143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16144 file.
16145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16146 New file.
16147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16148 New file.
16149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16150 New file.
16151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16152 New file.
16153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16154 New file.
16155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16156 New file.
16157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16159 file.
16160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16161 New file.
16162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16163 file.
16164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16165 file.
16166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16167 file.
16168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16169 file.
16170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16171 file.
16172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16173 New file.
16174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16175 file.
16176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16177 file.
16178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16179 New file.
16180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16181 file.
16182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16184 file.
16185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16186 New file.
16187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16188 file.
16189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16190 file.
16191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16192 file.
16193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16194 file.
16195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16196 file.
16197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16198 New file.
16199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16200 file.
16201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16202 file.
16203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16204 New file.
16205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16206 file.
16207 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16208 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16209 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16210 file.
16211 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16212 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16213 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16214 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16215 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16216 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16217 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16218 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16219 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16220 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16223 file.
16224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16225 New file.
16226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16227 file.
16228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16229 file.
16230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16231 file.
16232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16233 file.
16234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16235 file.
16236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16237 New file.
16238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16239 New file.
16240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16241 file.
16242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16243 New file.
16244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16245 file.
16246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16248 file.
16249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16250 New file.
16251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16252 file.
16253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16254 file.
16255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16256 file.
16257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16258 file.
16259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16260 file.
16261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16262 New file.
16263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16264 New file.
16265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16266 file.
16267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16268 New file.
16269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16270 file.
16271
41d73a1b
JM
162722012-04-28 Joseph Myers <joseph@codesourcery.com>
16273
16274 * conform/conformtest.pl: Fix typo in handling typed-constant from
16275 allow-header.
16276
28aeeda4
JM
162772012-04-27 Joseph Myers <joseph@codesourcery.com>
16278
adae8f5e
JM
16279 * README: Cut down references to pre-2.6 Linux kernels and
16280 Linuxthreads. Update lists of configurations in libc and ports
16281 and sort alphabetically. Say "or newer" with Linux kernel version
16282 requirements.
16283
28aeeda4
JM
16284 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16285
a462cb63
RA
162862012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16287
16288 [BZ #887]
16289 * math/libm-test.inc (logb_test_downward): New test to expose
16290 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16291 rounding mode.
16292
6ad3493e
JM
162932012-04-27 Joseph Myers <joseph@codesourcery.com>
16294
16295 [BZ #14027]
16296 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16297 to be done.
16298 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16299 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16300
2ce4f015
JM
163012012-04-26 Joseph Myers <joseph@codesourcery.com>
16302
5aeb141a
JM
16303 * sysdeps/unix/i386/brk.S: Remove file.
16304 * sysdeps/unix/i386/dl-brk.S: Likewise.
16305 * sysdeps/unix/i386/pipe.S: Likewise.
16306 * sysdeps/unix/i386/sigreturn.S: Likewise.
16307 * sysdeps/unix/i386/syscall.S: Likewise.
16308 * sysdeps/unix/i386/vfork.S: Likewise.
16309 * sysdeps/unix/i386/wait.S: Likewise.
16310
7143acae
JM
16311 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16312 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16313
2ce4f015
JM
16314 * configure.in (arm*-none*): Do not allow without
16315 --enable-hacker-mode.
16316 (netbsd*): Remove case setting base_os.
16317 (386bsd*): Likewise.
16318 (freebsd*): Likewise.
16319 (bsdi*): Likewise.
16320 (osf*): Likewise.
16321 (sunos*): Likewise.
16322 (ultrix*): Likewise.
16323 (newsos*): Likewise.
16324 (dynix*): Likewise.
16325 (*bsd*): Likewise.
16326 (sysv*): Likewise.
16327 (isc*): Likewise.
16328 (esix*): Likewise.
16329 (sco*): Likewise.
16330 (minix*): Likewise.
16331 (irix4*): Likewise.
16332 (irix6*): Likewise.
16333 (solaris[2-9]*): Likewise.
16334 (none): Likewise.
16335 * configure: Regenerated.
16336
0ac229c8
AZ
163372012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16338
16339 [BZ #11521]
16340 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16341 overflow or cancellation in calculating denominator.
16342 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16343 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16344 down expression to avoid unexpected rounding in newer GCCs.
16345 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16346
33f244f4
DM
163472012-04-26 David S. Miller <davem@davemloft.net>
16348
16349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16350 long-double compat symbols.
16351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16364
cfa1f3e8
DM
163652012-04-25 David S. Miller <davem@davemloft.net>
16366
16367 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16368 HWCAP_* values only after the memory barriers have been defined.
16369 (atomic_full_barrier): Define.
16370 (atomic_read_barrier): Define.
16371 (atomic_write_barrier): Define.
16372
6e236b92
SP
163732012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16374
16375 * shlib-versions: Add libgcc_s version information.
16376 * sysdeps/generic/libgcc_s.h: Remove.
16377 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16378 libgcc_s.h.
16379 * sysdeps/gnu/unwind-resume.c: Likewise.
16380 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16381
aab39a09
DM
163822012-04-25 David S. Miller <davem@davemloft.net>
16383
16384 * sysdeps/unix/sparc/brk.S: Delete.
16385 * sysdeps/unix/sparc/dl-brk.S: Delete.
16386 * sysdeps/unix/sparc/pipe.S: Delete.
16387 * sysdeps/unix/sparc/sysdep.S: Delete.
16388 * sysdeps/unix/sparc/sysdep.h: Delete.
16389 * sysdeps/unix/sparc/vfork.S: Delete.
16390 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16391 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16392 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16393 ret_ERRVAL, r0, r1, MOVE): Define.
16394 (JUMPTARGET): Remove.
16395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16396 sysdeps/unix/sparc/sysdep.h
16397 (ENTRY, END): Remove.
16398 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16399
a3cc4f48
JM
164002012-04-25 Joseph Myers <joseph@codesourcery.com>
16401
2ed8cda2
JM
16402 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16403 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16404 -DIS_IN_build.
16405
35d76d59
JM
16406 * timezone/README: Update upstream location and email address for
16407 tzcode and tzdata.
16408 * timezone/zdump.c: Update from tzcode 2012b.
16409 * timezone/zic.c: Likewise.
16410
a3cc4f48
JM
16411 * configure.in (libc_cv_as_needed): Remove test.
16412 * configure: Regenerated.
16413 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16414 conditional definition.
16415 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16416 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16417 * config.make.in (have-as-needed): Remove variable.
16418
ceab42c3
SP
164192012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16420 Paul Pluzhnikov <ppluzhnikov@google.com>
16421
16422 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16423 strings correctly.
16424
3ce2865f
CLT
164252012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16426
16427 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16428 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16429 * sysdeps/sh/strlen.S: Likewise.
16430
f37e0d68
JM
164312012-04-24 Joseph Myers <joseph@codesourcery.com>
16432
ae186e9a
JM
16433 * sysdeps/unix/fork.S: Remove file.
16434 * sysdeps/unix/i386/fork.S: Likewise.
16435 * sysdeps/unix/sparc/fork.S: Likewise.
16436
b96914af
JM
16437 * sysdeps/unix/system.c: Remove file.
16438 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16439
f37e0d68
JM
16440 * sysdeps/unix/getegid.S: Remove file.
16441 * sysdeps/unix/geteuid.S: Likewise.
16442
87ef29ca
RM
164432012-04-24 Roland McGrath <roland@hack.frob.com>
16444
83bcd236
RM
16445 * scripts/check-localplt.awk: New file.
16446 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16447 of diff.
16448 * scripts/data/localplt-generic.data: Add a comment.
16449
87ef29ca
RM
16450 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16451 NODE when __dir_mkfile failed.
16452 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16453 Reported by Ludovic Courtès <ludo@gnu.org>.
16454
e5a6e567
AJ
164552012-04-24 Andreas Jaeger <aj@suse.de>
16456
16457 * Makerules (common-clean): Also remove gen-as-const-headers
16458 files.
16459
c1820385
JM
164602012-04-24 Joseph Myers <joseph@codesourcery.com>
16461
16462 * Makerules (native-compile): Do not change working directory for
16463 build. Use $(OUTPUT_OPTION) in command.
16464 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16465
94e02fc4
AZ
164662012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16467
16468 [BZ #13886]
16469 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16470 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16471 * math/libm-test.inc (floor_test): Add more tests.
16472 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16473
3a533ca3
JM
164742012-04-24 Joseph Myers <joseph@codesourcery.com>
16475
940ab4b3
JM
16476 * sysdeps/unix/getdents.c: Remove file.
16477 * sysdeps/unix/sysv/getdents.c: Likewise.
16478 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16479
90e037bd
JM
16480 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16481 sysdeps/unix/mman/syscalls.list.
16482 (mmap): Likewise.
16483 (mprotect): Likewise.
16484 (msync): Likewise.
16485 (munmap): Likewise.
16486 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16487 * sysdeps/unix/mman/syscalls.list: Remove.
16488 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16489
3a533ca3
JM
16490 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16491 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16492 * configure: Regenerated.
16493 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16494 $(libgcc_s_suffix).
16495 * config.make.in (libgcc_s_suffix): Remove variable.
16496
1ad743de
JM
164972012-04-23 Joseph Myers <joseph@codesourcery.com>
16498
4ad451e2
JM
16499 * sysdeps/unix/sysv/gethostname.c: Move to ...
16500 * sysdeps/posix/gethostname.c: ... here.
16501
5e37ce39
JM
16502 * sysdeps/unix/execve.S: Remove file.
16503
1ad743de
JM
16504 * sysdeps/unix/_exit.S: Remove file.
16505
4e681b5b
AJ
165062012-04-23 Andreas Jaeger <aj@suse.de>
16507
16508 [BZ #13739]
16509 * manual/Makefile: Remove make dist support, there's no
16510 need for a stand-alone documentation tar ball.
16511 (TEXI2DVI): Define always, it's not in Makeconfig.
16512 (dist): Removed.
16513 (tar-it): Removed.
16514 (edition): Removed.
16515 (glibc-doc-$(edition).tar): Removed
16516 (%.Z): Removed.
16517 (%.gz): Removed.
16518 (%.uu): Removed.
16519 (ETAGS): Remove, it's in Makeconfig.
16520 (move-if-change): Remove, it's in Makeconfig.
16521
38686a03 165222012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16523
16524 [BZ #13970]
16525 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16526 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16527 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16528 (strtod_l, strtof_l, strtold_l): Remove __wur.
16529 It is not necessarily an error to ignore strtol's return value.
16530 One can reliably look at the stored endptr to decide whether
16531 the number had valid syntax.
16532
7c0616fa
AJ
165332012-04-21 Andreas Jaeger <aj@suse.de>
16534
803cb6b7 16535 [BZ #13739]
7c0616fa
AJ
16536 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16537
b0fe253f
JM
165382012-04-21 Joseph Myers <joseph@codesourcery.com>
16539
16540 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16541 * sysdeps/unix/sysv/Versions: Remove file.
16542
8280f22d
MT
165432012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16544
16545 [BZ #13927]
16546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16547
75ce411f 165482012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16549
16550 [BZ #7064]
16551 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16552 version from __vm86.
16553
097d59fa
JM
165542012-04-20 Joseph Myers <joseph@codesourcery.com>
16555
a90f3bcb
JM
16556 * sysdeps/unix/common/lxstat.c: Remove file.
16557 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16558
edc7ea78
JM
16559 * sysdeps/unix/sysv/Makefile: Remove file.
16560
cb78c221
JM
16561 * sysdeps/unix/sysv/direct.h: Remove file.
16562
efa6a45f
JM
16563 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16564 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16565 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16566 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16567 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16568 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16569 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16570
9c9f2d0c
JM
16571 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16572
4541c83b
JM
16573 * sysdeps/unix/xmknod.c: Remove file.
16574 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16575
f5d153a0
JM
16576 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16577
aa746595
JM
16578 * sysdeps/unix/sysv/i386/time.S: Remove file.
16579
cce5905e
JM
16580 * sysdeps/unix/fxstat.c: Remove file.
16581 * sysdeps/unix/xstat.c: Likewise.
16582 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16583
37fa3841
JM
16584 * sysdeps/unix/sysv/sigaction.c: Remove file.
16585
ff1962a3
JM
16586 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16587 (sysdep_headers): Remove variable.
16588 [termio.h not in sysdep_headers] (generated): Likewise.
16589 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16590 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16591 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16592 * sysdeps/unix/sysv/tcflow.c: Likewise.
16593 * sysdeps/unix/sysv/tcflush.c: Likewise.
16594 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16595 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16596 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16597 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16598 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16599
e7740d31
JM
16600 * sysdeps/unix/siglist.c: Remove file.
16601
ee06f18b
JM
16602 * sysdeps/unix/getppid.S: Remove file.
16603
097d59fa
JM
16604 * sysdeps/unix/mkdir.c: Remove file.
16605 * sysdeps/unix/rmdir.c: Likewise.
16606
ff3d51ec
AS
166072012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16608
16609 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16610 ERR_MAX value.
16611 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16612 errlist-compat value.
16613
50f81fd7
DM
166142012-04-18 David S. Miller <davem@davemloft.net>
16615
16616 * sysdeps/generic/memcopy.h (reg_char): Delete.
16617 * debug/strcat_chk.c: Use char, not reg_char.
16618 * debug/strcpy_chk.c: Likewise.
16619 * debug/strncat_chk.c: Likewise.
16620 * debug/strncpy_chk.c: Likewise.
16621 * string/memchr.c: Likewise.
16622 * string/memrchr.c: Likewise.
16623 * string/rawmemchr.c: Likewise.
16624 * string/strcat.c: Likewise.
16625 * string/strchr.c: Likewise.
16626 * string/strchrnul.c: Likewise.
16627 * string/strcmp.c: Likewise.
16628 * string/strcpy.c: Likewise.
16629 * string/strncat.c: Likewise.
16630 * string/strncmp.c: Likewise.
16631 * string/strncpy.c: Likewise.
16632
8ff41c46
WS
166332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16634
16635 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16636 __builtin_memcopy is called when src and dest ranges are known to not
16637 overlap.
16638
6b652f46
WS
166392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16640
16641 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16642 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16643 fwd_align_merge macro call.
16644 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16645 bwd_align_merge macro call.
16646 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16647
b282631e
WS
166482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16649
16650 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16651 bwd_align_merge macros.
16652 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16653 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16654 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16655
95aa737c
DM
166562012-04-18 David S. Miller <davem@davemloft.net>
16657
16658 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16659
7a99a614
AJ
166602012-04-18 Andreas Jaeger <aj@suse.de>
16661
16662 [BZ# 6794]
16663 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16664 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16665 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16666
16667 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16668 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16669 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16670
16671 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16672 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16673 Adjust for changed ldbl-128 files.
16674
16675 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16676 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16677 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16678
e5270c23
DM
166792012-04-17 David S. Miller <davem@davemloft.net>
16680
16681 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16682
fb5e92c9
AS
166832012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16684
16685 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16686 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16687 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16688 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16689 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16690 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16691
76da7265
AZ
166922012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16693
16694 [BZ #6794]
16695 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16696 * math/libm-test.inc: Add ilogb errno and exception tests.
16697 * math/w_ilogb.c: New file: ilogb wrapper.
16698 * math/w_ilogbf.c: New file: ilogbf wrapper.
16699 * math/w_ilogbl.c: New file: ilogbl wrapper.
16700 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16701 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16702 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16703 exception being thrown with 0.0 as argument.
16704 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16705 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16706 exception being thrown with 0.0 as argument.
16707 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16708 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16709 exception being thrown with 0.0 as argument.
16710 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16711 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16712 exception being thrown with 0.0 as argument.
16713 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16714 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16715 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16716 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16717 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16718 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16719 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16720 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16721 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16722
0396e69d
PB
167232012-04-17 Petr Baudis <pasky@ucw.cz>
16724
16725 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16726 with altivec.
16727
750b5926
MP
167282012-04-16 Marek Polacek <polacek@redhat.com>
16729
16730 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16731
751728a1
MP
167322012-04-16 Marek Polacek <polacek@redhat.com>
16733
16734 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16735 operands of fdivp instruction.
16736
34a27407
L
167372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16738
16739 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16740 * elf/tst-auditmod3b.c: Likewise.
16741 * elf/tst-auditmod4b.c: Likewise.
16742 * elf/tst-auditmod5b.c: Likewise.
16743 * elf/tst-auditmod6b.c: Likewise.
16744 * elf/tst-auditmod6c.c: Likewise.
16745 * elf/tst-auditmod7b.c: Likewise.
16746 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16747 * sysdeps/x86_64/preconfigure.in: Likewise.
16748 * sysdeps/x86_64/preconfigure: Regenerated.
16749
7e73e17d
L
167502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16751
16752 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16753 __ILP32__.
16754
c7a6ab72
AB
167552012-04-13 Antoine Balestrat <merkil33@gmail.com>
16756
16757 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16758 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16759
a9e8e0e0
CL
167602012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16761
16762 [BZ #13973]
16763 * locale/iso-639.def: Fix gl language name. Spotted by
16764 Yaron Shahrabani.
16765
ec98af7d
RM
167662012-04-12 Roland McGrath <roland@hack.frob.com>
16767
16768 [BZ #2074]
16769 * libio/libio.h (__io_write_fn): Update comment.
16770
247c3ede
PB
167712012-04-12 Petr Baudis <pasky@ucw.cz>
16772
16773 [BZ #2074]
16774 * stdio.texi (Hook Functions): The user provided writer function
16775 is not allowed to return -1.
16776
55939d6d
DM
167772012-04-11 David S. Miller <davem@davemloft.net>
16778
16779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16780
90020f5a
MF
167812012-04-11 Mike Frysinger <vapier@gentoo.org>
16782
16783 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16784 Add a leading slash to rtkaio.
16785
288f9098
JM
167862012-04-11 Jim Meyering <meyering@redhat.com>
16787
90020f5a
MF
16788 [BZ #11959]
16789 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16790 It is not necessarily an error to ignore fwrite's return
16791 value. One can reliably use ferror to test for errors after
16792 the fact.
288f9098 16793
4be2b570
L
167942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16795
16796 * bits/types.h (__snseconds_t): New type.
16797 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16798
16799 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16800 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16801 (__SNSECONDS_T_TYPE): Likewise.
16802 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16803 (__SNSECONDS_T_TYPE): Likewise.
16804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16805 (__SNSECONDS_T_TYPE): Likewise.
16806
288f9098 168072012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16808
16809 [BZ #2636]
16810 * manual/time.texi (Processor Time): Return type of times is
16811 elapsed real time since an arbitrary point in the past.
16812 (CPU Time): Move CLK_TCK from here...
16813 (Processor Time): ...to here. Correct description.
16814 * manual/conf.texi (Constants for Sysconf): Correct description of
16815 _SC_CLK_TCK.
16816
d7dd4413
DM
168172012-04-10 David S. Miller <davem@davemloft.net>
16818
16819 [BZ #13967]
16820 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16821 where the is a gap between DT_REL(A) and DT_JMPREL.
16822
b46068fc
L
168232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16824
16825 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16826 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16827 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16828
73d65cc3
SP
168292012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16830
16831 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16832 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16833 (dl_main): Handle --inhibit-cache.
16834 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16835 _dl_inhibit_cache.
16836 * elf/dl-load.c (_dl_map_object): Use it.
16837 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16838
bcc8d661
JM
168392012-04-09 Joseph Myers <joseph@codesourcery.com>
16840
8f9a2fae
JM
16841 [BZ #13872]
16842 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16843 (__ieee754_powl): Saturate large exponents rather than testing for
16844 overflow of y*log2(x).
16845 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16846 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16847 exceptions.
16848
bcc8d661
JM
16849 [BZ #11521]
16850 * math/s_ctan.c: Include <float.h>.
16851 (__ctan): Avoid internal overflow or cancellation in calculating
16852 denominator.
16853 * math/s_ctanf.c: Likewise.
16854 * math/s_ctanl.c: Likewise.
16855 * math/s_ctanh.c: Likewise.
16856 * math/s_ctanhf.c: Likewise.
16857 * math/s_ctanhl.c: Likewise.
16858 * math/libm-test.inc (ctan_test): Add more tests.
16859 (ctanh_test): Likewise.
16860 * sysdeps/i386/fpu/libm-test-ulps: Update.
16861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16862
823fbbb4
AJ
168632012-04-09 Andreas Jaeger <aj@suse.de>
16864
03879793
AJ
16865 [BZ #6894]
16866 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16867 is an optional BSD extension.
16868
823fbbb4
AJ
16869 [BZ #10254]
16870 * manual/stdio.texi (Opening Streams): Document additional fopen
16871 parameters.
16872
8de131cb
RM
168732012-04-09 Roland McGrath <roland@hack.frob.com>
16874
16875 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16876 %eax without telling the compiler.
16877
c0ed9d7d
CD
168782012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16879
16880 [BZ # 13963]
16881 * manual/install.texi: Use sourceware.org.
16882
c483f6b4
JM
168832012-04-09 Joseph Myers <joseph@codesourcery.com>
16884
d7dd9453
JM
16885 [BZ #13873]
16886 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16887 (__ieee754_pow): Generate overflow and underflow using huge*huge
16888 and tiny*tiny rather than just returning constant infinity or zero
16889 for large exponents.
16890 * math/libm-test.inc (pow_test): Require overflow exceptions for
16891 applicable cases of large exponents.
16892
c483f6b4
JM
16893 [BZ #706]
16894 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16895 (__ieee754_pow): Use iterative multiplication algorithm only for
16896 integer exponents with absolute value below 1024. Check for odd
16897 integer exponents when using algorithm for real exponents.
16898 * math/libm-test.inc (pow_test): Add more tests.
16899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16900
d2de7579
JM
169012012-04-08 Joseph Myers <joseph@codesourcery.com>
16902
16903 [BZ #13705]
16904 * math/libm-test.inc (exp_test): Do not allow overflow exception
16905 on underflow test.
16906
f77f1232
AJ
169072012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16908
16909 [BZ #13705]
16910 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16911 instead of __kernel_standard_f.
16912
3884932b
MF
169132012-04-08 Mike Frysinger <vapier@gentoo.org>
16914
16915 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16916 * sysdeps/x86_64/memset_chk.S: Likewise.
16917
54472e9c
AJ
169182012-04-08 Andreas Jaeger <aj@suse.de>
16919
6ab0fbfc
AJ
16920 [BZ #10153]
16921 * manual/startup.texi (Environment Access): Describe return value
16922 for putenv and setenv.
16923
61efba8c
AJ
16924 [BZ #6895]
16925 * manual/filesys.texi (Directory Entries): Add description for
16926 DT_LNK.
16927
95c3f29a
AJ
16928 [BZ #6890]
16929 * manual/filesys.texi (Directory Entries): Clarify that it's file
16930 system not operating system in the description of DT_UNKNOWN.
16931
54472e9c
AJ
16932 [BZ #6578]
16933 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16934
624254b1
SC
169352012-04-08 Stephen Compall <s11@member.fsf.org>
16936
16937 [BZ #6649]
16938 * manual/llio.texi (Opening and Closing Files): Add cross
16939 reference to explain mode argument.
16940
1e4920e0
MF
169412012-04-07 Mike Frysinger <vapier@gentoo.org>
16942
16943 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16944 * sysdeps/x86_64/memset_chk.S: Likewise.
16945
5ed848f3
DM
169462012-04-07 David S. Miller <davem@davemloft.net>
16947
16948 * elf/elf.h (R_SPARC_WDISP10): Define.
16949 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16950 R_SPARC_SIZE32.
16951 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16952 R_SPARC_SIZE64 and R_SPARC_H34.
16953
96154cd8
CD
169542012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16955
16956 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16957 conditions and remove no longer applicable assertion.
16958
9904dc47
L
169592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16960
16961 * bits/byteswap.h: Include <features.h>.
16962 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16963 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16964
f8887d0a
L
169652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16966
16967 * bits/byteswap.h (__bswap_16): Removed.
16968 Include <bits/byteswap-16.h> to get __bswap_16.
16969 * sysdeps/i386/bits/byteswap.h: Likewise.
16970 * sysdeps/s390/bits/byteswap.h: Likewise.
16971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16972 * bits/byteswap-16.h: New file.
16973 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16974 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16975 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16976 * string/Makefile (headers): Add bits/byteswap-16.h.
16977
62470f60
PP
169782012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16979
16980 [BZ #13895]
16981 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16982 extra indirection.
16983 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16984 * nss/tst-nss-static.c: New.
16985
4dad7bab
RM
169862012-04-06 Robert Millan <rmh@gnu.org>
16987
16988 [BZ #6486]
16989 * manual/llio.texi (File Position Primitive): lseek
16990 refers to WHENCE when it really means OFFSET.
16991
e9142a17
AJ
169922012-04-06 Andreas Jaeger <aj@suse.de>
16993
2c040eff
AJ
16994 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16995 strncmp declarations.
16996
e9142a17
AJ
16997 * abilist/libc.abilist: Add __poll and __ppoll.
16998
ff9f1c5f
DM
169992012-04-05 David S. Miller <davem@davemloft.net>
17000
dcd2ae90
DM
17001 * scripts/check-local-headers.sh: Accept a host triplet in the
17002 path matched by the exclude regexp.
17003
993eb054
DM
17004 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17005 definition.
17006 * sysdeps/powerpc/powerpc32/dl-machine.h
17007 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17008 * sysdeps/s390/s390-32/dl-machine.h
17009 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17010 * sysdeps/sparc/sparc32/dl-machine.h
17011 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17012 * sysdeps/sparc/sparc64/dl-machine.h
17013 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17014
ff9f1c5f
DM
17015 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17016 lazy binding.
48e2e132 17017 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17018 undefined symbol errors.
17019
48e2e132 17020 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17021 DT_NEEDED entries.
17022
e80d6f94
MM
170232012-04-05 Michael Matz <matz@suse.de>
17024
17025 [BZ #13592]
17026 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17027
349fa79f
AJ
170282012-04-05 Andreas Jaeger <aj@suse.de>
17029
17030 [BZ #13908]
17031 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17032 comment.
17033
f402708f
KK
170342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17035
17036 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17037 which ROUND is no valid rounding mode.
17038
2ecccfc9
KK
170392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17040
17041 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17042 read again.
17043 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17044
8a53f50f
KK
170452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17046
17047 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17048 an exception using FPU order intentionally.
17049
170502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17051
17052 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17053 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17054 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17055 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17056
d653abb7
SJ
170572012-04-05 Simon Josefsson <simon@josefsson.org>
17058
17059 [BZ #12340]
17060 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17061 EINVAL when BUFLEN is too smal.
17062
c3b1bf7d
TS
170632012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17064
17065 [BZ #13553]
17066 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17067 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17068
b1aa60f3
AJ
170692012-04-03 Andreas Jaeger <aj@suse.de>
17070
c3b1bf7d 17071 [BZ #13938]
67f60a26
AJ
17072 * manual/setjmp.texi (System V contexts): Fix sentence.
17073
b1aa60f3
AJ
17074 [BZ #13926]
17075 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17076 New macro for this case.
17077 [!__GNUC__] (__bswap_64): New inline function for this case.
17078 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17079 * bits/byteswap.h: Likewise.
17080 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17081 ull, guard with __GLIBC_HAVE_LONG_LONG.
17082
17083 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17084 __GLIBC_HAVE_LONG_LONG.
17085
17086 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17087 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17088
39c59c35
TMQMF
170892012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17090
17091 [BZ #13691]
17092 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17093 inptr and inend, rather than using last_ch.
17094
135ffda8
DM
170952012-04-02 David S. Miller <davem@davemloft.net>
17096
17097 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17098 * stdio-common/printf-parse.h (read_int): Change return type to
17099 'int', return -1 on INT_MAX overflow.
17100 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17101 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17102 overflows INT_MAX. Check for overflow of in-format-string precision
17103 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17104 SIZE_MAX not INT_MAX for integer overflow test.
17105 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17106 skip the construct in the format string but do not record anything.
17107 * stdio-common/bug22.c: Adjust to test both width/prevision
17108 INT_MAX overflow as well as total length INT_MAX overflow. Check
17109 explicitly for proper errno values.
17110
228c019e
TS
171112012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17112
302cadd3
TS
17113 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17114 CHAR_MAX.
17115 * string/test-strcmp.c [! WIDE]: Likewise.
17116 * time/tst-mktime2.c: Likewise for INT_MAX.
17117 * string/test-string.h: #include <sys/param.h> for MIN.
17118
228c019e
TS
17119 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17120 * sysdeps/i386/init-first.c (init): Likewise.
17121 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17122 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17123 * sysdeps/sh/init-first.c (init): Likewise.
17124
cfa633f5
UD
171252012-04-01 Ulrich Drepper <drepper@gmail.com>
17126
17127 * po/ru.po: Update from translation team.
d1635ef8 17128 * po/vi.po: Likewise.
cfa633f5 17129
6cd0a5ea
SP
171302012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17131
17132 * resolv/nss_dns/dns-host.c: Merge copyright years.
17133
4b43400f
LD
171342012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17135
17136 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17137 Optimize memcpy with prefetch if
17138 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17139 src, dst pointers have unequal 16 byte alignments.
17140
48c41d04
SP
171412012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17142
17143 [BZ #13928]
17144 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17145 from a CNAME entry and return the minimum ttl for the query.
17146 (gaih_getanswer_slice): Likewise.
17147
b8dc394d
JL
171482012-03-30 Jeff Law <law@redhat.com>
17149
17150 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17151 due to long keys.
17152 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17153 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17154
2f5a5ed0
JL
17155 * resolv/nss_dns/dns-host.c: Update copyright year.
17156
1d39e359
UD
171572012-03-30 Ulrich Drepper <drepper@gmail.com>
17158
c030f70c 17159 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17160 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17161
1d39e359
UD
17162 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17163 comments for sendmmsg.
17164
171652012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17166
17167 [BZ #13691]
17168 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17169 with only 1 character between 0x0041 and 0x01b0.
17170 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17171 * wcsmbs/tst-mbsnrtowcs.c: New file.
17172
20fde227
DM
171732012-03-29 David S. Miller <davem@davemloft.net>
17174
17175 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17176 small copies by hand.
17177
984a4237
JL
171782012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17179
17180 [BZ #13761]
17181 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17182 _nss_compat_initgroups_dyn): Fall back to malloc/free
17183 for large group memberships.
17184
18c9d62b
DM
171852012-03-28 David S. Miller <davem@davemloft.net>
17186
88d85d4f
DM
17187 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17188 that branches into memcpy.
17189 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17190 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17191 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17192 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17194 bits.
17195 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17196 implementation too.
17197 * sysdeps/sparc/mempcpy.S: New file.
17198
e5aa83e1
DM
17199 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17200 the IFUNC routine in the libc case.
17201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17202
88570753
DM
17203 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17204 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17205 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17206 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17207 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17208 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17209 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17210 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17211
249d7567
DM
17212 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17213 loop to 256 bytes instead of 64 bytes and fix test signedness.
17214
18c9d62b
DM
17215 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17216 * sysdeps/sparc/sparc32/Makefile: rather than here...
17217 * sysdeps/sparc/sparc64/Makefile: and here.
17218
05f3d1f6
UD
172192012-03-28 Ulrich Drepper <drepper@gmail.com>
17220
17221 * malloc/mallocbug.c: Avoid warnings about unused variables.
17222
86ae07a8
JL
172232012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17224
17225 [BZ #13760]
17226 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17227 in the right place. Discard and retry query if response is
17228 larger than input buffer size.
17229
41bf21a1
JM
172302012-03-28 Joseph Myers <joseph@codesourcery.com>
17231
d6270972
JM
17232 [BZ #369]
17233 [BZ #2678]
17234 [BZ #3866]
17235 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17236 x for large integer exponent.
17237 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17238 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17239 sign of result as needed afterwards.
17240 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17241 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17242 result for underflowing pow the same as for overflow.
17243 (__kernel_standard_l): Handle powl overflow and underflow here
17244 rather than calling __kernel_standard.
17245 * math/libm-test.inc (pow_test): Add more tests.
17246
414fca03 17247 [BZ #3868]
41bf21a1
JM
17248 [BZ #13879]
17249 [BZ #13910]
17250 [BZ #13911]
17251 [BZ #13912]
17252 [BZ #13913]
17253 [BZ #13915]
17254 [BZ #13916]
17255 [BZ #13917]
17256 [BZ #13918]
17257 [BZ #13919]
17258 [BZ #13920]
17259 [BZ #13921]
17260 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17261 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17262 (__kernel_standard_l): New function.
17263 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17264 __kernel_standard.
17265 * math/w_acosl.c (__acosl): Likewise.
17266 * math/w_asinl.c (__asinl): Likewise.
17267 * math/w_atan2l.c (__atan2l): Likewise.
17268 * math/w_atanhl.c (__atanhl): Likewise.
17269 * math/w_coshl.c (__coshl): Likewise.
17270 * math/w_exp10l.c (__exp10l): Likewise.
17271 * math/w_exp2l.c (__exp2l): Likewise.
17272 * math/w_fmodl.c (__fmodl): Likewise.
17273 * math/w_hypotl.c (__hypotl): Likewise.
17274 * math/w_j0l.c (__j0l, __y0l): Likewise.
17275 * math/w_j1l.c (__j1l, __y1l): Likewise.
17276 * math/w_jnl.c (__jnl, __ynl): Likewise.
17277 * math/w_lgammal.c (__lgammal): Likewise.
17278 * math/w_log10l.c (__log10l): Likewise.
17279 * math/w_log2l.c (__log2l): Likewise.
17280 * math/w_logl.c (__logl): Likewise.
17281 * math/w_powl.c (__powl): Likewise.
17282 * math/w_remainderl.c (__remainderl): Likewise.
17283 * math/w_scalbl.c (sysv_scalbl): Likewise.
17284 * math/w_sinhl.c (__sinhl): Likewise.
17285 * math/w_sqrtl.c (__sqrtl): Likewise.
17286 * math/w_tgammal.c (__tgammal): Likewise.
17287 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17288 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17289 * math/libm-test.inc (acos_test): Add more tests.
17290 (acosh_test): Likewise.
17291 (asin_test): Likewise.
17292 (atanh_test): Likewise.
17293 (exp_test): Likewise.
17294 (exp10_test): Likewise.
17295 (exp2_test): Likewise.
17296 (expm1_test): Likewise.
17297 (lgamma_test): Likewise.
17298 (log_test): Likewise.
17299 (log10_test): Likewise.
17300 (log1p_test): Likewise.
17301 (log2_test): Likewise.
17302 (pow_test): Do not allow some spurious overflow exceptions.
17303 (sqrt_test): Add more tests.
17304 (tgamma_test): Likewise.
17305 (y0_test): Likewise.
17306 (y1_test): Likewise.
17307 (yn_test): Likewise.
17308
dd62fda6
AB
173092012-03-27 Anton Blanchard <anton@samba.org>
17310
17311 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17312 MAP_HUGETLB.
17313 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17314 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17315 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17316
1e3cdfda
AJ
173172012-03-27 David S. Miller <davem@davemloft.net>
17318
b855ab85
DM
17319 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17320
1e3cdfda
AJ
17321 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17322 have-as-vis3 check.
17323
173242012-03-27 Andreas Jaeger <aj@suse.de>
17325
17326 * sysdeps/x86_64/elf/configure.in: Moved to ...
17327 * sysdeps/x86_64/configure.in: ... here.
17328 * sysdeps/x86_64/elf/start.S: Moved to ...
17329 * sysdeps/x86_64/start.S: ... here.
17330 * sysdeps/x86_64/elf/configure: Delete.
17331
17332 * sysdeps/x86_64/configure.in: Merge contents from
17333 sysdeps/i386/configure.in (without i686 check).
17334
17335 * sysdeps/i386/elf/Versions: Merge into ...
17336 * sysdeps/i386/Versions: ... this.
17337 * sysdeps/i386/elf/Versions: Delete file.
17338 * sysdeps/i386/elf/start.S: Moved to ...
17339 * sysdeps/i386/start.S: ...here.
17340 * sysdeps/i386/elf/configure.in: Merge into...
17341 * sysdeps/i386/configure.in: ...here.
17342 * sysdeps/i386/elf/configure.in: Delete file.
17343 * sysdeps/i386/elf/configure: Delete file.
17344
17345 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17346 * debug/backtracesyms.c: ... here.
17347 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17348 * debug/backtracesymsfd.c: ... here.
17349 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17350 * sysdeps/generic/ifunc-sel.h: ... here.
17351
17352 * sysdeps/unix/i386/start.c: Delete file.
17353 * sysdeps/unix/sparc/start.c: Delete file.
17354 * sysdeps/unix/start.c: Delete file.
17355
17356 * sysdeps/sh/elf/configure.in: Moved to ...
17357 * sysdeps/sh/configure.in: ... here.
17358 * sysdeps/sh/elf/start.S: Moved to ...
17359 * sysdeps/sh/start.S: ... here.
17360 * sysdeps/sh/elf/configure: Delete file.
17361
17362 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17363 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17364 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17365 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17366 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17367 * sysdeps/powerpc/powerpc64/start.S: here.
17368 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17369 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17370 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17371 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17372 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17373
17374 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17375 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17376 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17377 * sysdeps/powerpc/powerpc32/start.S: ... here.
17378 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17379 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17380 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17381
17382 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17383 * sysdeps/powerpc/ifunc-sel.h: ... here.
17384 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17385 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17386
17387 * sysdeps/sparc/elf/configure.in: Moved to ...
17388 * sysdeps/sparc/configure.in: ... here.
17389 * sysdeps/sparc/elf/configure: Delete file.
17390 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17391 * sysdeps/sparc/sparc32/start.S: ... here.
17392 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17393 * sysdeps/sparc/sparc64/start.S: ... here.
17394 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17395 * sysdeps/sparc/sparc32/Makefile: ... this.
17396 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17397 * sysdeps/sparc/sparc64/Makefile: ... this.
17398
17399 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17400 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17401 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17402 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17403 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17404 * sysdeps/s390/s390-32/setjmp.S: ... here.
17405 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17406 * sysdeps/s390/s390-32/configure.in: ... here.
17407 * sysdeps/s390/s390-32/elf/configure: Delete file.
17408 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17409 * sysdeps/s390/s390-32/start.S: ... here.
17410
17411 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17412 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17413 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17414 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17415 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17416 * sysdeps/s390/s390-64/setjmp.S: ... here.
17417 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17418 * sysdeps/s390/s390-64/configure.in: ... here
17419 * sysdeps/s390/s390-64/elf/configure: Delete file.
17420 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17421 * sysdeps/s390/s390-64/start.S: ... here.
17422 * sysdeps/s390/s390-64/elf/configure: Delete.
17423
17424 * configure.in: Remove support for elf directories in sysdeps.
17425
17426 * configure: Regenerated.
17427 * sysdeps/i386/configure: Regenerated.
17428 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17429 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17430 * sysdeps/s390/s390-32/configure: Regenerated.
17431 * sysdeps/s390/s390-64/configure: Regenerated.
17432 * sysdeps/sh/configure: Regenerated.
17433 * sysdeps/sparc/configure: Regenerated.
17434 * sysdeps/x86_64/configure: Regenerated.
17435
a3f61311
AS
174362012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17437
c876e002
AS
17438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17439
a3f61311
AS
17440 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17441 denormal result into account.
17442
ac4c54f0
RM
174432012-03-25 Roland McGrath <roland@hack.frob.com>
17444
17445 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17446 Reported by Allan McRae <allan@archlinux.org>.
17447
6a9b9c02
JL
174482012-03-23 Jeff Law <law@redhat.com>
17449
17450 * nss/getnssent.c (__nss_getent): Fix typo.
17451
4c42a0c1
DM
174522012-03-23 David S. Miller <davem@davemloft.net>
17453
17454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17455
1532c7ac
L
174562012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17457
17458 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17459 to pad to uint64_t for each field.
17460 (dl_tls_index): Replace unsigned long with uint64_t.
17461
3ff42526
PP
174622012-03-23 Daniel Jacobowitz <dmj@google.com>
17463 Paul Pluzhnikov <ppluzhnikov@google.com>
17464
17465 [BZ #6528]
17466 * grp/Makefile (otherlibs): Don't set it.
17467 * inet/Makefile (otherlibs): Likewise.
17468 * login/Makefile (otherlibs): Likewise.
17469 * nscd/Makefile (otherlibs): Likewise.
17470 * posix/Makefile (otherlibs): Likewise.
17471 * pwd/Makefile (otherlibs): Likewise.
17472 * rt/Makefile (otherlibs): Likewise.
17473 * sunrpc/Makefile (otherlibs): Likewise.
17474 * nss/Makefile (otherlibs): Likewise.
17475 Add libnss_files to routines and static-only-routines.
17476 ($(objpfx)getent): Remove rule.
17477 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17478 static-only-routines.
17479
7c69cd14
JM
174802012-03-22 Joseph Myers <joseph@codesourcery.com>
17481
17482 [BZ #13892]
17483 * math/s_cexp.c: Include <float.h>.
17484 (__cexp): Handle exp result overflowing not necessarily
17485 overflowing both real and imaginary parts of result.
17486 * math/s_cexpf.c: Likewise.
17487 * math/s_cexpl.c: Likewise.
17488 * math/libm-test.inc (cexp_test): Add more tests.
17489 * sysdeps/i386/fpu/libm-test-ulps: Update.
17490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17491
81b035fe
L
174922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17493
17494 * include/link.h (ELFW): New macro.
17495 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17496 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17497
1da7940c
L
174982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17499
17500 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17501 with uint64_t.
17502
b749dbb9
L
175032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17504
17505 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17506 declaration.
17507 (struct La_x32_retval): Likewise.
17508
2ff87f3f
L
175092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17510
17511 * sysdeps/x86_64/preconfigure.in: New file.
17512 * sysdeps/x86_64/preconfigure: New generated file.
17513
c0df8e69
JM
175142012-03-22 Joseph Myers <joseph@codesourcery.com>
17515
48e44791
JM
17516 [BZ #13824]
17517 * math/e_exp2l.c: Include <float.h>.
17518 (__ieee754_exp2l): Handle overflow and underflow cases
17519 separately. Only pass fractional part of argument to
17520 __ieee754_expl.
17521 * math/libm-test.inc (exp2_test): Add more tests.
17522
c0df8e69
JM
17523 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17524 negating x to take absolute value.
17525 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17526 Likewise.
17527 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17528 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17529 Likewise.
17530 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17531 computing low part if x was negated.
17532 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17533
c8e43ba7
L
175342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17535
17536 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17537 la_x32_gnu_pltexit.
17538 (pltexit): Cast int_retval to ptrdiff_t.
17539 * elf/tst-auditmod3b.c: Likewise.
17540 * elf/tst-auditmod4b.c: Likewise.
17541 * elf/tst-auditmod5b.c: Likewise.
17542 * elf/tst-auditmod6b.c: Likewise.
17543 * elf/tst-auditmod6c.c: Likewise.
17544 * elf/tst-auditmod7b.c: Likewise.
17545
17546 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17547 and x32_gnu_pltexit.
17548
17549 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17550 __ELF_NATIVE_CLASS.
17551 (La_x32_regs): New macro.
17552 (La_x32_retval): Likewise.
17553 (la_x32_gnu_pltenter): New function prototype.
17554 (la_x32_gnu_pltexit): Likewise.
17555
7998fa78
AS
175562012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17557
dcb33988
AS
17558 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17559 exponent.
17560
233fc563
AS
17561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17562
7998fa78
AS
17563 * configure.in (libc_cv_cc_nofma): Check for option to disable
17564 generation of FMA instructions.
17565 * configure: Regenerate.
17566 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17567 * sysdeps/ieee754/dbl-64/Makefile: New file.
17568 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17569 Remove brandred-fma4.
17570 (CFLAGS-brandred-fma4.c): Remove.
17571 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17572 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17573 define.
17574 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17575 define.
17576
8e95c99a
L
175772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17578
17579 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17580 LLONG_MAX != LONG_MAX.
17581 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17582 (_fitoa_word): Likewise.
17583 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17584 LLONG_MAX != LONG_MAX.
17585 * stdio-common/_itowa.h: Include <_itoa.h>.
17586 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17587 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17588 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17589 only if not defined.
17590 (_ITOA_WORD_TYPE): Likewise.
17591 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17592 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17593
6f4db457
DM
175942012-03-21 David S. Miller <davem@davemloft.net>
17595
17596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17597
7785fe5a
L
175982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17599
17600 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17601 of x86_64 when setting libc_cv_slibdir, libdir and
17602 libc_cv_localedir.
17603 * sysdeps/unix/sysv/linux/configure: Regenerated.
17604
4535cd55
JM
176052012-03-21 Joseph Myers <joseph@codesourcery.com>
17606
17607 * manual/lang.texi (Old Varargs): Remove section.
17608 (How Variadic): Update menu.
17609 (va_start): Do not mention varargs.h.
17610
17228132
TS
176112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17612 Joseph Myers <joseph@codesourcery.com>
17613
17614 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17615 link test.
17616 * configure: Regenerated.
17617
8149f976
TS
176182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17619
05f3d1f6
UD
17620 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17621 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17622 conformtest.pl
8149f976 17623
1a4ac776
JM
176242012-03-21 Joseph Myers <joseph@codesourcery.com>
17625
be22ce65
JM
17626 * NOTES: Remove.
17627 * Makefile (files-for-dist): Remove NOTES.
17628 (NOTES): Remove rule.
17629 * README: Don't refer to NOTES.
17630 * manual/creature.texi: Don't include macros.texi.
17631 * manual/intro.texi (creature.texi): Remove comment referring to
17632 NOTES.
17633
40b601fb
JM
17634 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17635 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17636 * configure: Regenerated.
17637 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17638 LIBC_TRY_CC_OPTION.
17639 (libc_cv_as_i686): Likewise.
17640 (libc_cv_cc_avx): Likewise.
17641 (libc_cv_cc_sse2avx): Likewise.
17642 (libc_cv_cc_fma4): Likewise.
17643 (libc_cv_cc_novzeroupper): Likewise.
17644 * sysdeps/i386/configure: Regenerated.
17645
1a4ac776
JM
17646 [BZ #13883]
17647 * sysdeps/i386/fpu/s_cexp.S: Remove.
17648 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17649 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17650 * math/libm-test.inc (cexp_test): Add more tests.
17651 * sysdeps/i386/fpu/libm-test-ulps: Update.
17652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17653
a458e7fe
AM
176542012-03-21 Allan McRae <allan@archlinux.org>
17655
17656 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17657
0cb7efc5
JM
176582012-03-21 Joseph Myers <joseph@codesourcery.com>
17659
17660 [BZ #13871]
17661 * math/w_exp2.c: Do not include <float.h>.
17662 (o_threshold, u_threshold): Remove.
17663 (__exp2): Calculate result before checking finiteness and calling
17664 __kernel_standard.
17665 * math/w_exp2f.c: Likewise.
17666 * math/w_exp2l.c: Likewise.
17667 * math/libm-test.inc (exp2_test): Require overflow exception for
17668 1e6 input.
2460d3aa
JM
17669
17670 [BZ #3866]
17671 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17672 range of signed 64-bit integers before using fistpll. Remove
17673 checks for whether integers fit in mantissa bits.
17674 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17675 the range of signed 32-bit integers before using fistpl. Remove
17676 checks for whether integers fit in mantissa bits.
17677 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17678 (__ieee754_powl): Test for y outside the range of signed 64-bit
17679 integers before using fistpll. Reduce 64-bit values to 63-bit
17680 ones as needed.
17681 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17682 divide-by-zero is raised for zero to large negative powers.
17683 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17684 (__ieee754_powl): Test for y outside the range of signed 64-bit
17685 integers before using fistpll. Reduce 64-bit values to 63-bit
17686 ones as needed.
17687 * math/libm-test.inc (pow_test): Add more tests.
17688
eb96ffb0
L
176892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17690
17691 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17692 <stdio-common/_itoa.h>.
17693 * debug/segfault.c: Likewise.
17694 * elf/dl-cache.c: Likewise.
17695 * elf/dl-minimal.c: Likewise.
17696 * elf/dl-misc.c: Likewise.
17697 * elf/dl-sysdep.c: Likewise.
17698 * elf/dl-version.c: Likewise.
17699 * elf/rtld.c: Likewise.
17700 * hurd/hurdsock.c: Likewise.
17701 * hurd/lookup-retry.c: Likewise.
17702 * malloc/malloc.c: Likewise.
17703 * malloc/mtrace.c: Likewise.
17704 * nscd/nscd_getgr_r.c: Likewise.
17705 * nscd/nscd_getpw_r.c: Likewise.
17706 * nscd/nscd_getserv_r.c: Likewise.
17707 * posix/getopt_init.c: Likewise.
17708 * posix/wordexp.c: Likewise.
17709 * stdio-common/_itoa.c: Likewise.
17710 * stdio-common/printf_fphex.c: Likewise.
17711 * stdio-common/vfprintf.c: Likewise.
17712 * string/_strerror.c: Likewise.
17713 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17714 * sysdeps/i386/i686/hp-timing.h: Likewise.
17715 * sysdeps/mach/_strerror.c: Likewise.
17716 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17717 * sysdeps/mach/hurd/sethostid.c: Likewise.
17718 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17719 * sysdeps/mach/xpg-strerror.c: Likewise.
17720 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17721 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17722 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17723 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17724 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17725 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17726 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17727 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17728 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17729 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17730 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17731 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17732 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17733 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17734 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17735 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17736 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17737 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17738 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17739 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17740 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17741
17742 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17743
17744 * stdio-common/_itoa.h: Moved to ...
17745 * sysdeps/generic/_itoa.h: Here.
17746
17747 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17748
17749 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17750 instead of "_itoa.h" and "_itowa.h".
17751 * stdio-common/vfprintf.: Likewise.
17752
d1af992d
L
177532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17754
17755 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17756 <bits/wordsize.h>.
17757 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17758 (__signbit): Likwise.
17759 (llrintf): Likwise.
17760 (llrint): Likwise.
17761
114883e0
L
177622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17763
17764 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17765 __WORDSIZE != 64.
17766
c135cc1b
JM
177672012-03-20 Joseph Myers <joseph@codesourcery.com>
17768
17769 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17770 OVERFLOW_EXCEPTION_OK.
17771 * math/libm-test.inc ("Philosophy"): Update comment about
17772 exception testing.
17773 (OVERFLOW_EXCEPTION): Define.
17774 (OVERFLOW_EXCEPTION_OK): Likewise.
17775 (INVALID_EXCEPTION_OK): Renumber.
17776 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17777 (IGNORE_ZERO_INF_SIGN): Likewise.
17778 (test_exceptions): Handle FE_OVERFLOW.
17779 (exp10_test): Expect overflow exceptions.
17780 (exp2_test): Likewise.
17781 (expm1_test): Likewise.
17782 (nextafter_test): Likewise.
17783 (pow_test): Likewise.
17784 (scalbn_test): Likewise.
17785 (scalbln_test): Likewise.
17786
95443d88
L
177872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17788
17789 * sysdeps/x86_64/bits/atomic.h
17790 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17791 64bit integer.
17792 (atomic_exchange_acq): Likewise.
17793 (__arch_exchange_and_add_body): Likewise.
17794 (__arch_add_body): Likewise.
17795 (atomic_add_negative): Likewise.
17796 (atomic_add_zero): Likewise.
17797
490df6c4
L
177982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17799
c2722551 17800 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17801 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17802
5e52b189
L
178032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17804
17805 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17806 Check __x86_64__ instead of __WORDSIZE.
17807
a9879d4c
L
178082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17809
17810 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17811
5df98260
DM
178122012-03-19 David S. Miller <davem@davemloft.net>
17813
e1497744
DM
17814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17815
5df98260
DM
17816 * sysdeps/sparc/fpu/fenv_private.h: New file.
17817 * sysdeps/sparc/fpu/math_private.h: Use it.
17818 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17819 Remove.
17820 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17821 (libc_feholdexcept_setroundl): Remove.
17822 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17823 Remove.
17824 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17825 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17826
b4c35121
L
178272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17828
17829 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17830 int64_t instead of long int.
17831 (INSERT_WORDS64): Likwise.
17832
56965fd7
L
178332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17834
17835 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17836 _Unwind_GetCFA return to _Unwind_Ptr first.
17837
83d1aec8
JM
178382012-03-19 Joseph Myers <joseph@codesourcery.com>
17839
1897ad44
JM
17840 [BZ #13629]
17841 * math/s_clog.c: Include <float.h>.
17842 (__clog): Scale large or subnormal inputs.
17843 * math/s_clogf.c: Likewise.
17844 * math/s_clogl.c: Likewise.
17845 * math/s_clog10.c: Include <float.h>.
17846 (M_LOG10_2): Define.
17847 (__clog10): Scale large or subnormal inputs.
17848 * math/s_clog10f.c: Likewise.
17849 * math/s_clog10l.c: Likewise.
17850 * math/libm-test.inc (clog_test): Add more tests.
17851 (clog10_test): Likewise.
17852 * sysdeps/i386/fpu/libm-test-ulps: Update.
17853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17854
7726d6a9
JM
17855 [BZ #11451]
17856 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17857 x and y.
17858 * math/libm-test.inc (atan2_test): Add another test.
17859
83d1aec8
JM
17860 * Makerules (common-objdir-compile): Remove.
17861 * sysdeps/unix/Makefile (config-generated): Do not add
17862 $(unix-generated) to variable.
17863 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17864 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17865 Remove rule.
17866 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17867 Likewise.
17868 [generic bits/local_lim.h] (before-compile): Do not append to
17869 variable.
17870 [generic bits/local_lim.h] (common-generated): Likewise.
17871 [generic sys/param.h] (before-compile): Do not append to variable.
17872 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17873 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17874 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17875 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17876 include.
17877 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17878 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17879 [generic sys/param.h] ($(addprefix
17880 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17881 [generic sys/param.h] (common-generated): Do not append to
17882 variable.
17883 [generic sys/param.h] (sysdep_headers): Likewise.
17884 [generic bits/errno.h] (before-compile): Do not append to
17885 variable.
17886 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17887 rule.
17888 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17889 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17890 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17891 [generic bits/errno.h] (common-generated): Do not append to
17892 variable.
17893 [generic bits/ioctls.h] (before-compile): Do not append to
17894 variable.
17895 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17896 rule.
17897 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17898 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17899 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17900 rule.
17901 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17902 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17903 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17904 [generic bits/ioctls.h] (common-generated): Do not append to
17905 variable.
17906 [generic sys/syscall.h] (syscall.h): Remove variable.
17907 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17908 rule.
17909 [generic sys/syscall.h] (before-compile): Do not append to
17910 variable.
17911 [generic sys/syscall.h] (common-generated): Likewise.
17912 * sysdeps/unix/errnos-tmpl.c: Remove file.
17913 * sysdeps/unix/errnos.awk: Likewise.
17914 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17915 * sysdeps/unix/ioctls.awk: Likewise.
17916 * sysdeps/unix/mk-local_lim.c: Likewise.
17917 * sysdeps/unix/snarf-ioctls: Likewise.
17918
4851a949
RH
179192012-03-19 Richard Henderson <rth@twiddle.net>
17920
bd37f2ee
RH
17921 * sysdeps/i386/fpu/fenv_private.h: New file.
17922 * sysdeps/i386/fpu/math_private.h: Use it.
17923 (math_opt_barrier, math_force_eval): Remove.
17924 (libc_feholdexcept_setround_53bit): Remove.
17925 (libc_feupdateenv_53bit): Remove.
17926 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17927 (math_opt_barrier, math_force_eval): Remove.
17928 (libc_feholdexcept): Remove.
17929 (libc_feholdexcept_setround): Remove.
17930 (libc_fetestexcept, libc_fesetenv): Remove.
17931 (libc_feupdateenv_test): Remove.
17932 (libc_feupdateenv, libc_feholdsetround): Remove.
17933 (libc_feresetround): Remove.
17934
d0adc922
RH
17935 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17936 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17937
0fe0f1f8
RH
17938 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17939 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17940 (libc_feupdateenv_testl): New.
17941 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17942 (libc_feupdateenv_testf): New.
17943 (libc_feupdateenv): Use libc_feupdateenv_test.
17944 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17945 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17946
eb92c487
RH
17947 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17948 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17949 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17950 (libc_feresetround_noex): New.
17951 (libc_feresetround_noexf): New.
17952 (libc_feresetround_noexl): New.
17953 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17954 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17955 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17956 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17957 SET_RESTORE_ROUND.
17958 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17959 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17960 (__cos): Likewise.
17961 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17962 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17963 SET_RESTORE_ROUND_NOEX.
17964 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17965 SET_RESTORE_ROUND_NOEXF.
17966 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17967 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17968 (libc_feholdsetroundf): New.
17969 (libc_feresetround, libc_feresetroundf): New.
17970
7d2e8012
RH
17971 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17972 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17973 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17974
b4dabbb4
RH
17975 * sysdeps/generic/math_private.h: Include <fenv.h>.
17976 (default_libc_feholdexcept): New.
17977 (default_libc_feholdexcept_setround): New.
17978 (default_libc_fesetenv, default_libc_feupdateenv): New.
17979 (libc_feholdexcept): Only define if undefined.
17980 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17981 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17982 (libc_feholdexcept_setroundl): Likewise.
17983 (libc_feholdexcept_setround_53bit): Likewise.
17984 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17985 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17986 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17987 (libc_feupdateenv_53bit): Likewise.
17988 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17989 (libc_feholdexcept): Convert from macro to inline function.
17990 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17991 (libc_fesetenv, libc_feupdateenv): Likewise.
17992
4851a949
RH
17993 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17994 not previously defined.
17995 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17996 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17997 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17998 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17999 * sysdeps/ieee754/flt-32/math_private.h: New file.
18000 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18001 math_private.h below SET_FLOAT_WORD.
18002 (__isnan, __isinf_ns, __finite): Remove.
18003 (__isnanf, __isinf_nsf, __finitef): Remove.
18004
e79d442e
AS
180052012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18006
18007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18008
90b80344
DM
180092012-03-17 David S. Miller <davem@davemloft.net>
18010
18011 [BZ #6471]
18012 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18013 for 2.16.
18014
edc21804
DM
180152012-03-16 David S. Miller <davem@davemloft.net>
18016
77e927af
DM
18017 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18018 warnings.
18019
374976dd
DM
18020 [BZ #6471]
18021 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18022 properly.
18023 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18024 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18025 sysdep_routines when subdir is sysvipc.
18026 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18027 __getshmlba helper.
18028
edc21804
DM
18029 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18030
473c3ef3
L
180312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18032
18033 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18034 [__LP64__].
18035
eb0f39b6
L
180362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18037
18038 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18039 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18040 (__lround): Renamed to ...
18041 (__llround): This. Replace long int with long long int.
18042 Define lround functions as aliases of llround functions.
18043 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18044
6b6cd74b
L
180452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18046
18047 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18048 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18049 adresses to uintptr_t. Replace "long int" and "unsigned long
18050 int" with "greg_t" on va_arg.
18051
f1a77b01
L
180522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18053
18054 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18055 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18056
18057 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18058 Move e_machine check before EI_CLASS check. Handle x32
18059 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18060 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18061 SKIP_EM_IA_64 and include
18062 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18063
18064 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18065 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18066 (add_system_dir): New macro.
18067
18068 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18069 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18070
11b90b9f
JM
180712012-03-16 Joseph Myers <joseph@codesourcery.com>
18072
c36e1d23
JM
18073 [BZ #2551]
18074 [BZ #2552]
18075 [BZ #2553]
18076 [BZ #2554]
18077 [BZ #2562]
18078 [BZ #2563]
18079 [BZ #2565]
18080 [BZ #2566]
18081 [BZ #2576]
18082 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18083 (y0): Likewise.
18084 * math/w_j0f.c (j0f): Likewise.
18085 (y0f): Likewise.
18086 * math/w_j0l.c (__j0l): Likewise.
18087 (__y0l): Likewise.
18088 * math/w_j1.c (j1): Likewise.
18089 (y1): Likewise.
18090 * math/w_j1f.c (j1f): Likewise.
18091 (y1f): Likewise.
18092 * math/w_j1l.c (__j1l): Likewise.
18093 (__y1l): Likewise.
18094 * math/w_jn.c (jn): Likewise.
18095 (yn): Likewise.
18096 * math/w_jnf.c (jnf): Likewise.
18097 (ynf): Likewise.
18098 * math/w_jnl.c (__jnl): Likewise.
18099 (__ynl): Likewise.
18100 * math/libm-test.inc (j0_test): Add more tests.
18101 (j1_test): Likewise.
18102 (jn_test): Likewise. Add trailing semicolon to existing test.
18103 (y0_test): Likewise.
18104 (y1_test): Likewise.
18105 * sysdeps/i386/fpu/libm-test-ulps: Update.
18106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18107
11b90b9f
JM
18108 [BZ #13851]
18109 [BZ #13854]
18110 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18111 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18112 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18113 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18114 (__tanl): Set errno for infinite argument.
18115 * sysdeps/i386/fpu/mptan.c: Remove.
18116 * sysdeps/i386/fpu/s_tan.S: Likewise.
18117 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18118 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18119 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18120 * math/libm-test.inc (tan_test): Add more tests and enable more
18121 tests for double and long double.
18122 * sysdeps/i386/fpu/libm-test-ulps: Update.
18123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18124
6a1bd2a1
JK
181252012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18126
18127 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18128 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18129
10a803e0
RM
181302012-03-16 Roland McGrath <roland@hack.frob.com>
18131
18132 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18133 * configure.in: Use it for both main tree and add-ons.
18134 * configure: Regenerated.
18135
f196c7f7
L
181362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18137
18138 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18139
8848d99d
JM
181402012-03-16 Joseph Myers <joseph@codesourcery.com>
18141
96cbe7f4
JM
18142 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18143 in comment.
18144
8848d99d
JM
18145 [BZ #13851]
18146 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18147 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18151 infinite argument.
18152 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18153 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18154 != 0 for prec == 2.
18155 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18156 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18157 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18158 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18159 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18160 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18161 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18162 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18163 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18164 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18165 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18166 * math/libm-test.inc (cos_test): Add more tests and enable more
18167 tests for long double.
18168 (sin_test): Likewise.
18169 (sincos_test): Likewise.
18170 * sysdeps/i386/fpu/libm-test-ulps: Update.
18171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18172
dd7f4703
DM
181732012-03-16 David S. Miller <davem@davemloft.net>
18174
18175 * sysdeps/sparc/fpu/math_private.h: New file.
18176
006f1daa
DM
181772012-03-15 David S. Miller <davem@davemloft.net>
18178
c0c83bc8
DM
18179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18180 file.
e6a62e18 18181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18183 file.
e6a62e18
DM
18184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18189 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18190 sysdep routines.
18191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18192
88cb87d9
DM
18193 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18194 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18195
006f1daa 18196 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18198 sparc-ifunc.h
006f1daa 18199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18201 Likewise.
18202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18203 Likewise.
006f1daa
DM
18204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18208 Likewise.
006f1daa
DM
18209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18214 Likewise.
18215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18216 Likewise.
006f1daa
DM
18217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18223 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18224 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18235 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18236 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18237 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18238 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18239 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18240 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18241
11e0098e
AS
182422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18243
18244 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18245 scaling.
18246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18247
e85b09d0
AJ
182482012-03-15 Andreas Jaeger <aj@suse.de>
18249
18250 [BZ #13852]
18251 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18252 ieee754/flt-32 implementation for sin, cos and sincos.
18253 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18254 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18255 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18256 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18257 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18258 ieee754/flt-32 implementation for tan.
18259
18260 * math/libm-test.inc (cos_test): Enable some large input tests for
18261 float as well
18262 (sin_test): Likewise.
18263 (sincos_test): Likewise.
18264 (tan_test): Add tests for large input.
18265
18266 * sysdeps/i386/fpu/libm-test-ulps: Update.
18267
81c64153
AJ
182682012-03-15 Andreas Jaeger <aj@suse.de>
18269
18270 [BZ #13658]
18271 * math/libm-test.inc (cos_test): Add more test cases.
18272 (sin_test): Likewise.
18273 (sincos_test): Likewise.
18274
7bbfa5c6
AJ
182752012-03-15 Andreas Jaeger <aj@suse.de>
18276
18277 [BZ #13837]
18278 * math/libm-test.inc (cos_test): Add a test case for large input
18279 value.
18280 (sin_test): Likewise.
18281 (sincos_test): Likewise.
18282
182832012-03-15 Andreas Jaeger <aj@suse.de>,
18284 Joseph Myers <joseph@codesourcery.com>
18285
18286 [BZ #13658]
0671f479 18287 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18288 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18289 * sysdeps/i386/fpu/branred.c: Likewise.
18290 * sysdeps/i386/fpu/dosincos.c: Likewise.
18291 * sysdeps/i386/fpu/mpa.c: Likewise.
18292 * sysdeps/i386/fpu/s_cos.S: Likewise.
18293 * sysdeps/i386/fpu/s_sin.S: Likewise.
18294 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18295 * sysdeps/i386/fpu/sincos32.c: Likewise.
18296
18297 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18298 Define.
18299 (libc_feupdateenv_53bit): Define.
18300 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18301 Define.
18302 (libc_feupdateenv_53bit): Define.
18303
18304 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18305 53 bit (without extend i386 double precision).
18306
18307 * math/libm-test.inc (sincos_test): Add tests for large input.
18308 (sin): Likewise.
18309 (cos): Likewise.
18310
18311 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18312
9cad04ea
AS
183132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18314
18315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18316
f7062b9a
DM
183172012-03-15 David S. Miller <davem@davemloft.net>
18318
18319 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18320 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18321 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18322 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18335 file.
f7062b9a 18336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18338 file.
f7062b9a 18339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18341 file.
f7062b9a 18342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18344 file.
f7062b9a
DM
18345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18347 fmin/fmax sysdep routines.
18348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18349
7bd951ff
DM
183502012-03-14 David S. Miller <davem@davemloft.net>
18351
559398ab
DM
18352 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18353 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18355 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18356 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18357 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18358 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18359 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18365 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18372 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18373 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18374 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18375 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18376 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18377 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18378 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18379 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18381 routines.
18382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18383 file.
559398ab 18384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18386 file.
559398ab 18387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18389 file.
559398ab 18390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18392 file.
559398ab 18393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18395 file.
559398ab 18396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18398 file.
18399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18400 file.
18401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18402 file.
18403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18404 file.
18405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18406 New file.
18407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18408 file.
18409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18410 file.
559398ab 18411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18413 file.
559398ab 18414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18416 file.
559398ab 18417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18419 file.
559398ab 18420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18422 VIS3 routines.
559398ab
DM
18423
18424 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18425 New file.
18426
5a1c1e32
DM
18427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18428
eae47a36
DM
18429 * sysdeps/sparc/configure.in: New file.
18430 * sysdeps/sparc/configure: Generate.
18431 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18432 * configure: Regenerate.
18433 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18434 * config.make.in (have-as-vis3): New.
18435 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18436 available use -Av9d instead of -Av9a.
18437 * sysdeps/sparc/sparc64/Makefile: Likewise.
18438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18440 New file.
18441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18442 file.
18443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18444 New file.
18445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18446 file.
eae47a36
DM
18447 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18448 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18449 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18450 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18451 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18452
c0c83bc8
DM
18453 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18454 fzeros/fnegs to load 0x80000000 into a float register instead of
18455 using the stack.
7bd951ff
DM
18456 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18457
bd951ccb
JM
184582012-03-14 Joseph Myers <joseph@codesourcery.com>
18459
18460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18461 bits/syscall.h.
18462 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18463 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18464 ($(inst_includedir)/bits/syscall.h): Remove rule.
18465 ($(objpfx)bits/syscall.d): Include instead of
18466 $(objpfx)syscall-list.d.
18467 (generated): Change syscall-list.h and syscall-list.d to
18468 bits/syscall.h and bits/syscall.d.
18469
bb4e6db2
RM
184702012-03-14 Roland McGrath <roland@hack.frob.com>
18471
18472 [BZ #13846]
18473 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18474
aa4a2ae1
JM
184752012-03-14 Joseph Myers <joseph@codesourcery.com>
18476
e456826d
JM
18477 [BZ #13841]
18478 * math/s_csqrt.c: Include <float.h>.
18479 (__csqrt): Scale large or subnormal inputs.
18480 * math/s_csqrtf.c: Likewise.
18481 * math/s_csqrtl.c: Likewise.
18482 * math/libm-test.inc (csqrt_test): Add more tests.
18483 * sysdeps/i386/fpu/libm-test-ulps: Update.
18484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18485
aa4a2ae1
JM
18486 [BZ #13840]
18487 * math/libm-test.inc (hypot_test): Add more tests.
18488
7c10fd35
DM
184892012-03-13 David S. Miller <davem@davemloft.net>
18490
18491 [BZ #13840]
18492 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18493 double-precision for the calculation instead of scaling.
18494
f453b98b
JM
184952012-03-13 Joseph Myers <joseph@codesourcery.com>
18496
18497 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18498 manipulate bits before adding and subtracting TWO52[sx].
18499 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18500 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18501 Likewise.
18502 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18503
09a3453f
DM
185042012-03-13 David S. Miller <davem@davemloft.net>
18505
8e59da90
DM
18506 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18507 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18508 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18509 rtld-global-offsets.h
18510 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18511
2a8ab7f2
DM
18512 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18513 large parameters.
18514
10f62770
DM
18515 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18516
5f0bdb18
DM
18517 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18518 'err' in the ifdef scope in which it is actually used.
18519
09a3453f
DM
18520 * nss/nss_db/db-init.c: Include string.h
18521
b4b2eb5e
DM
185222012-03-12 David S. Miller <davem@davemloft.net>
18523
98bb2f1c
DM
18524 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18525 masking out of the most significant byte of random value used.
18526 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18527 Fix coding style in previous change.
18528
b4b2eb5e
DM
18529 * sysdeps/unix/sysv/linux/kernel-features.h
18530 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18531 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18532 expression.
18533 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18534 later.
18535
6e226b09
DM
185362012-03-11 David S. Miller <davem@davemloft.net>
18537
a1bcbd40
DM
18538 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18539 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18540 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18541 for 'resultvar' otherwise things get truncated on 64-bit.
18542
cb9d6174
DM
18543 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18544 Fix masking out of the most significant byte of random value used.
18545
6e226b09
DM
18546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18547
058c132d
AS
185482012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18549
18550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18551
2d2cd515
DM
185522012-03-09 David S. Miller <davem@davemloft.net>
18553
18554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18555 variables with appropriate CPP guards.
18556 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18557 frame pointer, not the stack pointer. Correct layout comments. Fix test
18558 on resulting framesize and the management of the outregs buffer for pltexit.
18559 Preserve floating point return values across _dl_call_pltexit call.
18560 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18561 framesize and the management of the outregs buffer for pltexit.
18562 Preserve floating point return values across _dl_call_pltexit
18563 call.
18564 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18565 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18566 (print_exit): Fix format string for return register value.
18567
9a07f9d0
JM
185682012-03-10 Joseph Myers <joseph@codesourcery.com>
18569
18570 * sunrpc/Makefile (others): Add rpcgen.
18571 ($(objpfx)rpcgen): Remove special build rule and dependency on
18572 libc.
18573 * sunrpc/rpcgen.c: New file.
18574
547b5e30
PE
185752012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18576
c524201a
PE
18577 [BZ #13673]
18578 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18579 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18580 * sysdeps/i386/crti.S: Likewise.
18581 * sysdeps/i386/crtn.S: Likewise.
18582 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18583 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18584 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18585 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18586 * sysdeps/sh/crti.S: Likewise.
18587 * sysdeps/sh/crtn.S: Likewise.
18588 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18589
7b6235f2
PE
18590 [BZ #13673]
18591 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18592 with URL.
18593 * locale/programs/locfile-kw.gperf: Likewise.
18594 * locale/programs/charmap-kw.h: Regenerated.
18595 * locale/programs/locfile-kw.h: Likewise.
18596
547b5e30
PE
18597 [BZ #13673]
18598 * intl/plural.y: Replace FSF snail mail address with URL.
18599 * intl/plural.c: Regenerated.
18600
5f0a5dae
RH
186012012-03-09 Richard Henderson <rth@twiddle.net>
18602
18603 * include/math_private.h: Remove file.
18604 * math/math_private.h: Move file ...
18605 * sysdeps/generic/math_private.h: ... here.
18606
b8c03620
RH
18607 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18608 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18609 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18610
4e234f5d 18611 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18612 and <math_private.h>.
18613 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18614 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18615 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18616 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18617 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18618 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18619 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18621 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18622 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18623 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18624 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18625 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18626 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18627 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18628 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18630 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18631 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18632 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18633 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18634 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18635 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18636 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18637 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18638 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18639 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18640 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18641 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18642 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18643 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18644 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18645 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18646 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18647 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18648 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18649 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18650 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18651 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18653 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18654 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18655 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18656 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18657 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18658 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18659 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18660 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18661 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18662 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18663 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18664 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18665 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18666 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18667 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18668 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18669 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18670 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18671 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18672 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18673 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18674 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18676 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18677 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18678 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18679 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18680 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18681 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18682 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18683 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18684 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18685 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18686 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18687 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18688 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18689 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18691 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18697 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18698 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18699 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18700 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18701 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18702 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18703 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18704 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18705 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18706 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18707 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18708 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18709 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18710 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18711 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18712 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18713 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18714 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18715 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18716 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18717 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18718 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18719 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18720 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18721 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18723 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18724 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18725 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18726 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18727 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18728 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18729 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18730 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18731 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18732 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18733 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18734 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18735 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18736 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18737 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18738 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18739 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18740 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18741 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18742 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18743 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18744 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18745 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18746 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18747 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18748 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18749 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18750 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18751 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18752 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18753 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18754 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18755 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18756 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18757 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18758 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18759 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18760 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18761 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18762 * sysdeps/ieee754/k_standard.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18765 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18840 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18849 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18850 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18851 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18853 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18854 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18855 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18856 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18857 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18858 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18859 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18860 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18861 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18862 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18864 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18865 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18866 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18867 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18868 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18869 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18870 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18871 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18872 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18873 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18874 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18875 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18876 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18877 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18878 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18879 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18880 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18881 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18882 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18883 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18884 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18885 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18886 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18887 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18888 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18889 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18890 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18891 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18892 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18893 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18894 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18895 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18896 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18897 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18898 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18899 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18900 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18901 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18902 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18903 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18904 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18905 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18906 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18907 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18908 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18909 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18910 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18911 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18912 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18913 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18915 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18916 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18917 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18918 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18919 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18920 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18921 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18922 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18923 * sysdeps/ieee754/s_lib_version.c: Likewise.
18924 * sysdeps/ieee754/s_matherr.c: Likewise.
18925 * sysdeps/ieee754/s_signgam.c: Likewise.
18926 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18927 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18928 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18929 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18930 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18931 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18932 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18933 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18934 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18935 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18936 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18937 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18938 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18939 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18940 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18941 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18942 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18943 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18944 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18945 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18946 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18947
1991fa03
JM
189482012-03-09 Joseph Myers <joseph@codesourcery.com>
18949
18950 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18951 * sunrpc/rpc_main.c: Likewise.
18952 * sunrpc/rpc_svcout.c: Likewise.
18953
60d6f5a6
DM
189542012-03-09 David S. Miller <davem@davemloft.net>
18955
18956 * include/math_private.h: New file.
18957
4962050e
JM
189582012-03-09 Joseph Myers <joseph@codesourcery.com>
18959
02a6f887
JM
18960 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18961 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18962 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18963 from <bits/socket_type.h>.
18964 (enum __socket_type): Don't define here.
18965 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18967 bits/socket_type.h.
18968
c6e013c1
JM
18969 [BZ #13566]
18970 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18971 checking __USE_GNU.
18972
4962050e
JM
18973 * Makerules ($(inst_includedir)/%.h): New rule.
18974 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18975 (install-others): Remove variable setting.
18976 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18977
38842f45
RH
189782012-03-08 Richard Henderson <rth@twiddle.net>
18979
67bb6da6
RH
18980 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18981 from macro to inline function; merge with the
18982 !__LIBC_INTERNAL_MATH_INLINES version.
18983 (__ieee754_sqrtf): Likewise.
18984
15194b4b
RH
18985 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18986 to inline function.
18987 (__rintf, __floor, __floorf): Likewise.
18988
64e21ede
RH
18989 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18990 macro to inline function.
18991 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18992
38842f45
RH
18993 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18994 not <math/math_private.h>.
18995
c64bf5fe
DM
189962012-03-08 David S. Miller <davem@davemloft.net>
18997
18998 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18999 copyright year.
19000 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19001
82d86f28
TS
190022012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19003
19004 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19005 normalization.
19006 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19007 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19008
aea5d727
UD
190092012-03-08 Ulrich Drepper <drepper@gmail.com>
19010
19011 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19012 be defined individually, they must be defined as a block. Define
19013 S for printing a string instead of hidint the different by using a
19014 macro for adding the 'l'.
19015 * stdio-common/tst-fphex-wide.c: Adjust.
19016
70bca0a3
MP
190172012-03-07 Marek Polacek <polacek@redhat.com>
19018
19019 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19020
65b81130
MP
190212012-03-08 Marek Polacek <polacek@redhat.com>
19022
19023 [BZ #13806]
19024 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19025 * stdio-common/tst-fphex.c: Define a few macros to make the
19026 test reusable. Use them.
19027 * stdio-common/tst-fphex-wide.c: New file.
19028
07037eeb
JM
190292012-03-08 Joseph Myers <joseph@codesourcery.com>
19030
a7a93d50
JM
19031 [BZ #6911]
19032 * manual/macros.texi (gnusystems): New macro.
19033 (nongnusystems): Likewise.
19034 (gnulinuxhurdsystems): Likewise.
19035 (gnuhurdsystems): Likewise..
19036 (gnulinuxsystems): Likewise.
19037 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19038 variants of the GNU system, not "GNU system".
19039 * manual/conf.texi: Likewise.
19040 * manual/errno.texi: Likewise. Update example of errno macro
19041 expansion.
19042 * manual/filesys.texi: Likewise.
19043 (getumask): Document as specific to GNU/Hurd.
19044 * manual/install.texi: Likewise. Reword some references to
19045 GNU/Linux.
19046 * manual/intro.texi: Likewise.
19047 * manual/io.texi: Likewise.
19048 (File Name Portability): Detail which constraints are inapplicable
19049 to all GNU systems and which are only inapplicable to GNU/Hurd.
19050 * manual/job.texi: Likewise.
19051 * manual/llio.texi: Likewise.
19052 (O_NOCTTY): Document as present on GNU/Linux.
19053 * manual/maint.texi: Likewise.
19054 * manual/memory.texi: Likewise.
19055 * manual/pattern.texi: Likewise.
19056 * manual/pipe.texi: Likewise.
19057 * manual/process.texi: Likewise.
19058 * manual/resource.texi: Likewise.
19059 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19060 child on GNU/Hurd.
19061 * manual/setjmp.texi: Likewise.
19062 * manual/signal.texi: Likewise.
19063 * manual/startup.texi: Likewise.
19064 * manual/stdio.texi: Likewise.
19065 * manual/terminal.texi: Likewise.
19066 (ONLCR): Document as POSIX.
19067 (OXTABS): Document availability on GNU/Linux as XTABS.
19068 (ONOEOT): Document availability separately from other bits.
19069 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19070 * manual/time.texi: Likewise.
19071 * manual/users.texi: Likewise.
19072 * INSTALL: Regenerated.
19073 * sysdeps/gnu/errlist.c: Regenerated.
19074
07037eeb
JM
19075 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19076 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19077 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19078 puts.
19079 * configure: Regenerated.
19080
d1d3431a
JM
190812012-03-07 Joseph Myers <joseph@codesourcery.com>
19082
af6a1e37
JM
19083 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19084 default includes instead of AC_HEADER_CHECK.
19085 * sysdeps/i386/configure: Regenerated.
19086
d1d3431a
JM
19087 [BZ #10716]
19088 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19089 * math/s_cacoshf.c (__cacoshf): Likewise.
19090 * math/s_cacoshl.c (__cacoshl): Likewise.
19091 * math/s_casinh.c (__casinh): Set signs of result from argument.
19092 * math/s_casinhf.c (__casinhf): Likewise.
19093 * math/s_casinhl.c (__casinhl): Likewise.
19094 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19095 (casinh_test): Add more tests.
19096 * sysdeps/i386/fpu/libm-test-ulps: Update.
19097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19098
482ff4da
UD
190992012-03-07 Ulrich Drepper <drepper@gmail.com>
19100
872fda05
UD
19101 * po/zh_TW.po: Update from translation team.
19102
a4300c7a
UD
19103 * login/Makefile (distribute): Remove variable.
19104 * catgets/Makefile: Likewise.
19105 * mach/Makefile: Likewise.
19106 * malloc/Makefile: Likewise.
19107 * misc/Makefile: Likewise.
19108 * iconv/Makefile: Likewise.
19109 * nscd/Makefile: Likewise.
19110 * hurd/Makefile: Likewise.
19111 * manual/Makefile: Likewise.
19112 * locale/Makefile: Likewise.
19113 * intl/Makefile: Likewise.
19114 * conform/Makefile: Likewise.
19115 * nss/Makefile: Likewise.
19116 * time/Makefile: Likewise.
19117 * soft-fp/Makefile: Likewise.
19118 * dirent/Makefile: Likewise.
19119 * gmon/Makefile: Likewise.
19120 * po/Makefile: Likewise.
19121 * rt/Makefile: Likewise.
19122 * socket/Makefile: Likewise.
19123 * math/Makefile: Likewise.
19124 * signal/Makefile: Likewise.
19125 * debug/Makefile: Likewise.
19126 * elf/Makefile: Likewise.
19127 * timezone/Makefile: Likewise.
19128 * stdlib/Makefile: Likewise.
19129 * iconvdata/Makefile: Likewise.
19130 * sunrpc/Makefile: Likewise.
19131 * io/Makefile: Likewise.
19132 * argp/Makefile: Likewise.
19133 * inet/Makefile: Likewise.
19134 * hesiod/Makefile: Likewise.
19135 * grp/Makefile: Likewise.
19136 * csu/Makefile: Likewise.
19137 * wctype/Makefile: Likewise.
19138 * crypt/Makefile: Likewise.
19139 * libio/Makefile: Likewise.
19140 * string/Makefile: Likewise.
19141 * nis/Makefile: Likewise.
19142 * resolv/Makefile: Likewise.
19143 * stdio-common/Makefile: Likewise.
19144 * wcsmbs/Makefile: Likewise.
19145 * dlfcn/Makefile: Likewise.
19146 * posix/Makefile: Likewise.
19147
3b7c4e74 19148 [BZ #6959]
482ff4da
UD
19149 * timezone/Makefile: Don't install timezone files, just the programs
19150 and scripts.
19151
f72ed77d
UD
191522012-03-06 Ulrich Drepper <drepper@gmail.com>
19153
a000466f
UD
19154 * nss/databases.def: Add missing gshadow entry.
19155
f72ed77d
UD
19156 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19157
a53b7a4e
MP
191582012-03-06 Marek Polacek <polacek@redhat.com>
19159
19160 [BZ #13726]
19161 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19162 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19163 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19164 * stdio-common/tst-long-dbl-fphex.c: New file.
19165
e9258400
DM
191662012-03-06 David S. Miller <davem@davemloft.net>
19167
19168 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19169 (set_obp_int): New function.
19170 (get_obp_int): New function.
19171 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19172 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19173 Avoid unused variable warnings on 'val' and use builtin_expect.
19174 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19175 __builtin_expect.
e9258400
DM
19176 (INLINE_CLONE_SYSCALL): Likewise.
19177
3bd2c723
DM
191782012-03-05 David S. Miller <davem@davemloft.net>
19179
19180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19181
bbb78d03
AS
191822012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19183
884c5db4
AS
19184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19185
bbb78d03
AS
19186 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19187 only for |x| >= 40.
19188 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19189
1c9f702a 191902012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19191
19192 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19193 Replace gettimeofday with __vdso_gettimeofday.
19194
7be16f82
RM
19195 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19196 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19197 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19198
19199 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19200 time with __vdso_time.
19201
ed58a00f
JM
192022012-03-05 Joseph Myers <joseph@codesourcery.com>
19203
19204 * manual/lang.texi (size_t): Note types to which size_t may be
19205 equivalent with the GNU C Library, but do not describe when
19206 differences between them are significant.
19207
30ee4ced
AJ
192082012-03-05 Andreas Jaeger <aj@suse.de>
19209
19210 * sysdeps/i386/fpu/libm-test-ulps: Update.
19211
b7cd39e8
JM
192122012-03-05 Joseph Myers <joseph@codesourcery.com>
19213
19214 [BZ #3976]
19215 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19216 (__ieee754_pow): Save and restore rounding mode and use
19217 round-to-nearest for main computations.
19218 * math/libm-test.inc (pow_test_tonearest): New function.
19219 (pow_test_towardzero): Likewise.
19220 (pow_test_downward): Likewise.
19221 (pow_test_upward): Likewise.
19222 (main): Call the new functions.
19223 * sysdeps/i386/fpu/libm-test-ulps: Update.
19224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19225
19226 [BZ #3976]
19227 * math/libm-test.inc (cosh_test_tonearest): New function.
19228 (cosh_test_towardzero): Likewise.
19229 (cosh_test_downward): Likewise.
19230 (cosh_test_upward): Likewise.
19231 (sinh_test_tonearest): Likewise.
19232 (sinh_test_towardzero): Likewise.
19233 (sinh_test_downward): Likewise.
19234 (sinh_test_upward): Likewise.
19235 (main): Call the new functions.
19236 * sysdeps/i386/fpu/libm-test-ulps: Update.
19237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19238
6c6a98c9
TV
192392012-03-05 Tom de Vries <tom@codesourcery.com>
19240
19241 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19242 default stack guard is set in last bytes.
19243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19244
21bb2d2e 192452012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19246
21bb2d2e 19247 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19248
21bb2d2e
AJ
19249 [BZ #13656]
19250 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19251 possibly allocate from heap instead of stack.
19252 * stdio-common/bug-vfprintf-nargs.c: New file.
19253 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19254
c6922934
AS
192552012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19256
19257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19258
bc957d53
MP
192592012-03-03 Marek Polacek <polacek@redhat.com>
19260
19261 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19262 * math/math_private.h: Likewise.
19263 * stdlib/tst-strtod.c: Likewise.
19264 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19265 * sysdeps/x86_64/bits/atomic.h: Likewise.
19266
6358490d
DM
192672012-03-02 David S. Miller <davem@davemloft.net>
19268
19269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19273 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19274 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19275 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19276 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19277
01ae168d
RM
192782012-03-02 Roland McGrath <roland@hack.frob.com>
19279
d9a17c07
RM
19280 [BZ #13792]
19281 * manual/examples/README: New file, says the example source files
19282 can be used under GPL>=2.
19283 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19284 line containing just "*/".
19285 * manual/examples/add.c: Add copyright header (GPL>=2).
19286 * manual/examples/argp-ex1.c: Likewise.
19287 * manual/examples/argp-ex2.c: Likewise.
19288 * manual/examples/argp-ex3.c: Likewise.
19289 * manual/examples/argp-ex4.c: Likewise.
19290 * manual/examples/atexit.c: Likewise.
19291 * manual/examples/db.c: Likewise.
19292 * manual/examples/dir.c: Likewise.
19293 * manual/examples/dir2.c: Likewise.
19294 * manual/examples/execinfo.c: Likewise.
19295 * manual/examples/filecli.c: Likewise.
19296 * manual/examples/filesrv.c: Likewise.
19297 * manual/examples/fmtmsgexpl.c: Likewise.
19298 * manual/examples/genpass.c: Likewise.
19299 * manual/examples/inetcli.c: Likewise.
19300 * manual/examples/inetsrv.c: Likewise.
19301 * manual/examples/isockad.c: Likewise.
19302 * manual/examples/longopt.c: Likewise.
19303 * manual/examples/memopen.c: Likewise.
19304 * manual/examples/memstrm.c: Likewise.
19305 * manual/examples/mkfsock.c: Likewise.
19306 * manual/examples/mkisock.c: Likewise.
19307 * manual/examples/mygetpass.c: Likewise.
19308 * manual/examples/pipe.c: Likewise.
19309 * manual/examples/popen.c: Likewise.
19310 * manual/examples/rprintf.c: Likewise.
19311 * manual/examples/search.c: Likewise.
19312 * manual/examples/select.c: Likewise.
19313 * manual/examples/setjmp.c: Likewise.
19314 * manual/examples/sigh1.c: Likewise.
19315 * manual/examples/sigusr.c: Likewise.
19316 * manual/examples/stpcpy.c: Likewise.
19317 * manual/examples/strdupa.c: Likewise.
19318 * manual/examples/strftim.c: Likewise.
19319 * manual/examples/strncat.c: Likewise.
19320 * manual/examples/subopt.c: Likewise.
19321 * manual/examples/swapcontext.c: Likewise.
19322 * manual/examples/termios.c: Likewise.
19323 * manual/examples/testopt.c: Likewise.
19324 * manual/examples/testpass.c: Likewise.
19325 * manual/examples/timeval_subtract.c: Likewise.
19326
01ae168d
RM
19327 [BZ #13792]
19328 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19329 function to ...
19330 * manual/timeval_subtract.c.texi: ... here, new file.
19331
49efa33d
DM
193322012-03-02 David S. Miller <davem@davemloft.net>
19333
19334 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19335
28afd92d
JM
193362012-03-02 Joseph Myers <joseph@codesourcery.com>
19337
804360ed
JM
19338 [BZ #3976]
19339 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19340 (__sin): Save and restore rounding mode and use round-to-nearest
19341 for all computations.
19342 (__cos): Save and restore rounding mode and use round-to-nearest
19343 for all computations.
19344 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19345 <fenv.h>.
19346 (tan): Save and restore rounding mode and use round-to-nearest for
19347 all computations.
19348 * math/libm-test.inc (cos_test_tonearest): New function.
19349 (cos_test_towardzero): Likewise.
19350 (cos_test_downward): Likewise.
19351 (cos_test_upward): Likewise.
19352 (sin_test_tonearest): Likewise.
19353 (sin_test_towardzero): Likewise.
19354 (sin_test_downward): Likewise.
19355 (sin_test_upward): Likewise.
19356 (tan_test_tonearest): Likewise.
19357 (tan_test_towardzero): Likewise.
19358 (tan_test_downward): Likewise.
19359 (tan_test_upward): Likewise.
19360 (main): Call the new functions.
19361 * sysdeps/i386/fpu/libm-test-ulps: Update.
19362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19363
a6d06d7b
JM
19364 [BZ #10135]
19365 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19366 small n, then large n, before computing and testing k+n.
19367 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19368 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19369 Likewise.
19370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19371 Likewise.
19372 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19373 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19374 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19375 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19376 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19377 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19378 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19379 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19380 * math/libm-test.inc (scalbn_test): Add more tests.
19381 (scalbln_test): Likewise.
19382
07e12bb3
JM
19383 * manual/filesys.texi (mode_t): Describe constraints on size and
19384 signedness, not exact equivalence to a particular type.
19385 (ino_t): Likewise.
19386 (ino64_t): Likewise.
19387 (dev_t): Likewise.
19388 (nlink_t): Likewise.
19389 (blkcnt_t): Likewise.
19390 (blkcnt64_t): Likewise.
19391 * manual/llio.texi (off_t): Likewise.
19392
28afd92d
JM
19393 [BZ #3976]
19394 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19395 (__ieee754_exp): Save and restore rounding mode and use
19396 round-to-nearest for all computations.
19397 * math/libm-test.inc (exp_test_tonearest): New function.
19398 (exp_test_towardzero): Likewise.
19399 (exp_test_downward): Likewise.
19400 (exp_test_upward): Likewise.
19401 (main): Call the new functions.
19402 * sysdeps/i386/fpu/libm-test-ulps: Update.
19403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19404
b1eeb65d
CD
194052012-03-01 Chris Demetriou <cgd@google.com>
19406
19407 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19408 have predictable order.
19409
53362a4b
DM
194102012-03-01 David S. Miller <davem@davemloft.net>
19411
3c969083
DM
19412 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19413
759707de
DM
19414 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19415 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19416 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19417 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19418
dfdb8ff2
DM
19419 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19420 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19421 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19423 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19424 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19425 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19426 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19427 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19428
ead89f96
DM
19429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19430
7f66bd07
DM
19431 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19432 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19433 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19434
53362a4b
DM
19435 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19436 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19437 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19438 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19439 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19440 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19441 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19442 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19443 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19444 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19445 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19446 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19447 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19448 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19449 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19450 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19451 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19452 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19453 * sysdeps/sparc/elf/configure: Regenerated.
19454
7b1902cb
JM
194552012-03-01 Joseph Myers <joseph@codesourcery.com>
19456
bec039bc
JM
19457 * configure.in (AS, LD): Require binutils 2.20 or later.
19458 * configure: Regenerated.
19459 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19460 as required minimum version.
19461 * INSTALL: Regenerated.
19462
7b1902cb
JM
19463 [BZ #2541]
19464 [BZ #4108]
19465 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19466 before squaring exponent.
19467 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19468 bottom long double and 27 bits of top long double before squaring
19469 exponent.
19470 * math/libm-test.inc (erfc_test): Add more tests.
19471 * sysdeps/i386/fpu/libm-test-ulps: Update.
19472 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19474
f775c276
KT
194752012-03-01 Kai Tietz <ktietz@redhat.com>
19476
19477 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19478 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19479 containing bit-fields.
19480 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19481 * soft-fp/single.h (_FP_UNION_S): Likewise.
19482 * soft-fp/double.h (_FP_UNION_D): Likewise.
19483
5b8a4d4a
JM
194842012-02-29 Joseph Myers <joseph@codesourcery.com>
19485
0bab47b6
JM
19486 [BZ #13786]
19487 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19488 not include ../strcmp.S.
19489 [USE_AS_STRNCASECMP_L]: Likewise.
19490 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19491 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19492 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19493 (__strncasecmp_l_ia32): Define as alias to
19494 __strncasecmp_l_nonascii.
19495
0fcad3e2
JM
19496 [BZ #5794]
19497 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19498 * sysdeps/i386/fpu/libm-test-ulps: Update.
19499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19500
5b8a4d4a
JM
19501 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19503
8fdceb2e
JL
195042012-02-29 Jeff Law <law@redhat.com>
19505
19506 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19507 out of bounds read.
19508
1f393a11
MP
195092012-02-29 Marek Polacek <polacek@redhat.com>
19510
19511 [BZ #13706]
19512 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19513 * elf/Makefile: Add rules to run tst-unused-dep.out.
19514
8847f037
DM
195152012-02-28 David S. Miller <davem@davemloft.net>
19516
19517 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19518 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19519 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19520 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19521 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19522 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19523
169d7f11
JM
195242012-02-29 Joseph Myers <joseph@codesourcery.com>
19525
19526 * math/libm-test.inc (llround_test): Move one test from
19527 lround_test. Use TEST_f_L in moved test.
19528 (lround_test): Move misplaced test to llround_test. Add testcase
19529 from bug 2561.
19530
39adf059
UD
195312012-02-28 Ulrich Drepper <drepper@gmail.com>
19532
19533 * sysdeps/x86_64/fpu/e_expf.S: New file.
19534 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19535
71b5d1c5
SB
195362012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19537
19538 [BZ #13637]
19539 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19540 of remain_len that may cause incomplete multi-byte character and
19541 false match.
19542 * posix/bug-regex33.c: New file.
19543 * posix/Makefile (tests): Add bug-regex33.
19544
1f77f049
JM
195452012-02-28 Joseph Myers <joseph@codesourcery.com>
19546
19547 * manual/macros.texi: New file.
19548 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19549 * manual/libc.texinfo: Include macros.texi.
19550 * manual/creatute.texi: Likewise.
19551 * manual/install.texi: Likewise.
19552 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19553 @glibcadj{} in references to the GNU C Library.
19554 * manual/charset.texi: Likewise.
19555 * manual/conf.texi: Likewise.
19556 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19557 when not using those macros.
19558 * manual/creature.texi: Likewise.
19559 * manual/crypt.texi: Likewise.
19560 * manual/errno.texi: Likewise.
19561 * manual/filesys.texi: Likewise.
19562 * manual/header.texi: Likewise.
19563 * manual/install.texi: Likewise.
19564 * manual/intro.texi: Likewise.
19565 * manual/io.texi: Likewise.
19566 * manual/job.texi: Likewise.
19567 * manual/lang.texi: Likewise.
19568 * manual/libc.texiinfo: Likewise.
19569 * manual/llio.texi: Likewise.
19570 * manual/locale.texi: Likewise.
19571 * manual/maint.texi: Likewise.
19572 * manual/math.texi: Likewise.
19573 * manual/memory.texi: Likewise.
19574 * manual/message.texi: Likewise.
19575 * manual/nss.texi: Likewise.
19576 * manual/pattern.texi: Likewise.
19577 * manual/process.texi: Likewise.
19578 * manual/resource.texi: Likewise.
19579 * manual/search.texi: Likewise.
19580 * manual/setjmp.texi: Likewise.
19581 * manual/signal.texi: Likewise.
19582 * manual/socket.texi: Likewise.
19583 * manual/startup.texi: Likewise.
19584 * manual/stdio.texi: Likewise.
19585 * manual/string.texi: Likewise.
19586 * manual/sysinfo.texi: Likewise.
19587 * manual/syslog.texi: Likewise.
19588 * manual/terminal.texi: Likewise.
19589 * manual/time.texi: Likewise.
19590 * manual/users.texi: Likewise.
19591 * INSTALL: Regenerated.
19592 * NOTES: Regenerated.
d40c5d54 19593 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19594
450bf206
AS
195952012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19596
19597 * include/dirent.h: Include <dirstream.h> before
19598 <dirent/dirent.h>.
19599
741a235b
DM
196002012-02-28 David S. Miller <davem@davemloft.net>
19601
19602 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19603 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19604 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19605 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19606
d6b5aa58
DM
196072012-02-27 David S. Miller <davem@davemloft.net>
19608
1aff59a3
DM
19609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19611 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19612 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19613
d6b5aa58
DM
19614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19615 frame pointer instead of stack pointer relative arg slot.
19616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19617 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19618 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19619
433f48bf
CD
196202012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19621
19622 [BZ #3992]
19623 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19624
d674b76d
DM
196252012-02-27 David S. Miller <davem@davemloft.net>
19626
19627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19631 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19632 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19633 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19634 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19635
0e7727f7
JM
196362012-02-27 Joseph Myers <joseph@codesourcery.com>
19637
19638 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19639 later. Allow versions 5-9.
43be4ca2 19640 * configure: Regenerated.
0e7727f7
JM
19641 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19642 required minimum version and 4.6 as recommended version. Do not
19643 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19644 * INSTALL: Regenerated.
0e7727f7 19645
a78bc654
DM
196462012-02-27 David S. Miller <davem@davemloft.net>
19647
428d5830
DM
19648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19652 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19653 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19654 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19655 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19656
a78bc654
DM
19657 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19658 manipulate bits before adding and subtracting TWO112[sx].
19659 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19660
4579f81c
RM
196612012-02-27 Roland McGrath <roland@hack.frob.com>
19662
36c8acb4
RM
19663 [BZ #13775]
19664 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19665 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19666 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19667 being in POSIX, because they are in 1003.1-2008.
19668
84ad622b
RM
19669 * rt/tst-aio.c: Include <fcntl.h>.
19670 * rt/tst-aio7.c: Likewise.
19671 * rt/tst-aio64.c: Likewise.
19672
4579f81c
RM
19673 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19674
abd923db
JM
196752012-02-27 Joseph Myers <joseph@codesourcery.com>
19676
19677 * manual/install.texi (--with-headers): Describe headers as
19678 interface headers, not private headers.
19679 (Specific advice for GNU/Linux systems): Describe use of headers
19680 from "make headers_install", not private headers from older
19681 kernels.
43be4ca2 19682 * INSTALL: Regenerated.
abd923db
JM
19683 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19684 Change to 2.6.19.
19685 * sysdeps/unix/sysv/linux/configure: Regenerated.
19686
6664049b
JM
19687 * manual/llio.texi (fclean): Remove documentation.
19688
bb8b6697
JM
19689 * manual/Makefile (libc-texi-generated): New variable. Include
19690 version.texi.
19691 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19692 $(libc-texi-generated), not duplicated list of files.
19693 (version.texi, stamp-version): New rules.
19694 (realclean): Remove $(libc-texi-generated), not individual files
19695 from that list. Do not remove dir-add.texinfo.
19696 * manual/libc.texinfo: Comment out uses of edition numbers and
19697 references to printed manual. Remove last-updated dates.
19698 (EDITION): Comment out.
19699 (ISBN): Likewise.
19700 (VERSION, UPDATED): Remove.
19701 (version.texi): Include.
19702
12e5c3b9
AS
197032012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19704
19705 * sysdeps/posix/spawni.c: Include <signal.h>.
19706 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19707 * sysdeps/pthread/aio_fsync.c: Likewise.
19708
4efeffc1 197092012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19710
ba63ba08
UD
19711 * conform/Makefile (tests): Run only when not cross-compiling and
19712 when fast-check is not defined.
19713
d94a4670
UD
19714 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19715 * conform/data/limits.h-data: Fixes for POSIX2008.
19716 * conform/run-conformtest.sh: Run all tests.
19717 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19718 headers.
19719 * include/bits/dlfcn.h: Likewise.
19720 * include/langinfo.h: Likewise.
19721 * include/monetary.h: Likewise.
19722 * include/sys/poll.h: Likewise.
19723
19724 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19725 for __USE_GNU.
19726 * posix/spawn.h: Define __need_sigset_t.
19727 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19728 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19729 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19730 to get sigevent_t only.
19731 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19732 only for __USE_GNU.
19733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19734 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19735 process_vm_writev only for __USE_GNU.
19736 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19737
19738 * conform/Makefile: For now ignore errors from run-conformtest.
19739 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19740 POSIX to avoid namespace pollution. Don't prepend headers.
19741 * conform/data/aio.h-data: Fixes for POSIX testing.
19742 * conform/data/fcntl.h-data: Likewise.
19743 * conform/data/glob.h-data: Likewise.
19744 * conform/data/grp.h-data: Likewise.
19745 * conform/data/pthread.h-data: Likewise.
19746 * conform/data/pwd.h-data: Likewise.
19747 * conform/data/signal.h-data: Likewise.
19748 * conform/data/spawn.h-data: Likewise.
19749 * conform/data/stdio.h-data: Likewise.
19750 * conform/data/stdlib.h-data: Likewise.
19751 * conform/data/stropts.h-data: Likewise.
19752 * conform/data/sys/mman.h-data: Likewise.
19753 * conform/data/sys/stat.h-data: Likewise.
19754 * conform/data/sys/types.h-data: Likewise.
19755 * conform/data/sys/wait.h-data: Likewise.
19756 * conform/data/time.h-data: Likewise.
19757 * conform/data/unistd.h-data: Likewise.
19758 * conform/data/utime.h-data: Likewise.
19759
19760 * io/sys/stat.h: fchmod was always in POSIX.
19761 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19762 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19763 * rt/aio.h: Define __need_timespec before including <time.h>.
19764 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19765 struct. Add forward declaration of pthread_attr_t and use it in
19766 sigevent.
19767 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19768 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19769 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19770 always remove CLK_TCK definition.
19771
c20105c3
AS
197722012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19773
19774 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19775
7a270350
UD
197762012-02-25 Ulrich Drepper <drepper@gmail.com>
19777
31341567
UD
19778 * conform/run-conformtest.sh: New file.
19779 * conform/Makefile: Run run-conformtest for tests.
19780 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19781 support.
19782
19783 * conform/data/uchar.h-data: New file.
19784 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19785 * conform/data/arpa/inet.h-data: Likewise.
19786 * conform/data/assert.h-data: Likewise.
19787 * conform/data/complex.h-data: Likewise.
19788 * conform/data/cpio.h-data: Likewise.
19789 * conform/data/ctype.h-data: Likewise.
19790 * conform/data/dirent.h-data: Likewise.
19791 * conform/data/dlfcn.h-data: Likewise.
19792 * conform/data/errno.h-data: Likewise.
19793 * conform/data/fcntl.h-data: Likewise.
19794 * conform/data/float.h-data: Likewise.
19795 * conform/data/fmtmsg.h-data: Likewise.
19796 * conform/data/fnmatch.h-data: Likewise.
19797 * conform/data/ftw.h-data: Likewise.
19798 * conform/data/glob.h-data: Likewise.
19799 * conform/data/grp.h-data: Likewise.
19800 * conform/data/iconv.h-data: Likewise.
19801 * conform/data/inttypes.h-data: Likewise.
19802 * conform/data/langinfo.h-data: Likewise.
19803 * conform/data/libgen.h-data: Likewise.
19804 * conform/data/limits.h-data: Likewise.
19805 * conform/data/locale.h-data: Likewise.
19806 * conform/data/math.h-data: Likewise.
19807 * conform/data/monetary.h-data: Likewise.
19808 * conform/data/mqueue.h-data: Likewise.
19809 * conform/data/ndbm.h-data: Likewise.
19810 * conform/data/net/if.h-data: Likewise.
19811 * conform/data/netdb.h-data: Likewise.
19812 * conform/data/netinet/in.h-data: Likewise.
19813 * conform/data/nl_types.h-data: Likewise.
19814 * conform/data/poll.h-data: Likewise.
19815 * conform/data/pthread.h-data: Likewise.
19816 * conform/data/pwd.h-data: Likewise.
19817 * conform/data/regex.h-data: Likewise.
19818 * conform/data/sched.h-data: Likewise.
19819 * conform/data/search.h-data: Likewise.
19820 * conform/data/semaphore.h-data: Likewise.
19821 * conform/data/setjmp.h-data: Likewise.
19822 * conform/data/signal.h-data: Likewise.
19823 * conform/data/spawn.h-data: Likewise.
19824 * conform/data/stdarg.h-data: Likewise.
19825 * conform/data/stdio.h-data: Likewise.
19826 * conform/data/stdlib.h-data: Likewise.
19827 * conform/data/string.h-data: Likewise.
19828 * conform/data/strings.h-data: Likewise.
19829 * conform/data/stropts.h-data: Likewise.
19830 * conform/data/sys/ipc.h-data: Likewise.
19831 * conform/data/sys/mman.h-data: Likewise.
19832 * conform/data/sys/msg.h-data: Likewise.
19833 * conform/data/sys/resource.h-data: Likewise.
19834 * conform/data/sys/select.h-data: Likewise.
19835 * conform/data/sys/sem.h-data: Likewise.
19836 * conform/data/sys/shm.h-data: Likewise.
19837 * conform/data/sys/socket.h-data: Likewise.
19838 * conform/data/sys/stat.h-data: Likewise.
19839 * conform/data/sys/statvfs.h-data: Likewise.
19840 * conform/data/sys/time.h-data: Likewise.
19841 * conform/data/sys/timeb.h-data: Likewise.
19842 * conform/data/sys/times.h-data: Likewise.
19843 * conform/data/sys/types.h-data: Likewise.
19844 * conform/data/sys/uio.h-data: Likewise.
19845 * conform/data/sys/un.h-data: Likewise.
19846 * conform/data/sys/utsname.h-data: Likewise.
19847 * conform/data/sys/wait.h-data: Likewise.
19848 * conform/data/syslog.h-data: Likewise.
19849 * conform/data/tar.h-data: Likewise.
19850 * conform/data/termios.h-data: Likewise.
19851 * conform/data/utime.h-data: Likewise.
19852 * conform/data/utmpx.h-data: Likewise.
19853 * conform/data/varargs.h-data: Likewise.
19854 * conform/data/wchar.h-data: Likewise.
19855 * conform/data/wctype.h-data: Likewise.
19856 * conform/data/wordexp.h-data: Likewise.
19857
19858 * include/stropts.h: New file.
19859 * include/uchar.h: New file.
19860 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19861 * include/assert.h: Likewise.
19862 * include/ctype.h: Likewise.
19863 * include/dirent.h: Likewise.
19864 * include/dlfcn.h: Likewise.
19865 * include/fcntl.h: Likewise.
19866 * include/fnmatch.h: Likewise.
19867 * include/glob.h: Likewise.
19868 * include/grp.h: Likewise.
19869 * include/libio.h: Likewise.
19870 * include/locale.h: Likewise.
19871 * include/math.h: Likewise.
19872 * include/net/if.h: Likewise.
19873 * include/netdb.h: Likewise.
19874 * include/netinet/in.h: Likewise.
19875 * include/pthread.h: Likewise.
19876 * include/pwd.h: Likewise.
19877 * include/regex.h: Likewise.
19878 * include/sched.h: Likewise.
19879 * include/search.h: Likewise.
19880 * include/setjmp.h: Likewise.
19881 * include/signal.h: Likewise.
19882 * include/stdio.h: Likewise.
19883 * include/stdlib.h: Likewise.
19884 * include/string.h: Likewise.
19885 * include/sys/cdefs.h: Likewise.
19886 * include/sys/mman.h: Likewise.
19887 * include/sys/msg.h: Likewise.
19888 * include/sys/resource.h: Likewise.
19889 * include/sys/select.h: Likewise.
19890 * include/sys/socket.h: Likewise.
19891 * include/sys/stat.h: Likewise.
19892 * include/sys/statvfs.h: Likewise.
19893 * include/sys/time.h: Likewise.
19894 * include/sys/times.h: Likewise.
19895 * include/sys/uio.h: Likewise.
19896 * include/sys/utsname.h: Likewise.
19897 * include/sys/wait.h: Likewise.
19898 * include/termios.h: Likewise.
19899 * include/time.h: Likewise.
19900 * include/ulimit.h: Likewise.
19901 * include/unistd.h: Likewise.
19902 * include/utime.h: Likewise.
19903 * include/wchar.h: Likewise.
19904 * include/wctype.h: Likewise.
19905 * include/wordexp.h: Likewise.
19906
19907 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19908
7a270350
UD
19909 * time/time.h: TIME_UTC must be a macro.
19910 Make timespec_get available for ISO C11 only as well.
19911
7724defc
UD
199122012-02-24 Ulrich Drepper <drepper@gmail.com>
19913
19914 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19915 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19916
6b1d1d46
JM
199172012-02-24 Joseph Myers <joseph@codesourcery.com>
19918
19919 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19920
0f8bbd69
JM
199212012-02-24 Joseph Myers <joseph@codesourcery.com>
19922
19923 * manual/texinfo.tex: Update to version 2012-01-19.16.
19924
66ab80bc
JM
199252012-02-24 Joseph Myers <joseph@codesourcery.com>
19926
19927 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19928
74981cc5
RM
199292012-02-24 Roland McGrath <roland@hack.frob.com>
19930
ee968201
RM
19931 [BZ #13738]
19932 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19933 * manual/fdl-1.3.texi: New file.
19934 * manual/fdl-1.1.texi: File removed.
19935
74981cc5
RM
19936 [BZ #13738]
19937 * manual/libc.texinfo (FDL_VERSION): New @set.
19938 Use it for mention of FDL in cover text.
19939 (Documentation License): Use it in @include file name.
19940
7bb764bc
JM
199412012-02-22 Joseph Myers <joseph@codesourcery.com>
19942 Roland McGrath <roland@hack.frob.com>
19943
19944 [BZ #5461]
19945 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19946 not LONG_LONG_MAX and LONG_LONG_MIN.
19947 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19948 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19949 name.
19950 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19951
6cbeae47
JM
199522012-02-22 Joseph Myers <joseph@codesourcery.com>
19953
19954 [BZ #2547]
19955 [BZ #11365]
19956 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19957 manipulate bits before adding and subtracting TWO23[sx].
19958 * math/libm-test.inc (nearbyint_test): Add more tests.
19959
fe45ce09
JM
199602012-02-22 Joseph Myers <joseph@codesourcery.com>
19961
19962 [BZ #2548]
19963 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19964 bits before adding and subtracting TWO23[sx].
19965 * math/libm-test.inc (rint_test): Add more tests.
19966 (rint_test_tonearest): Likewise.
19967 (rint_test_towardzero): Likewise.
19968 (rint_test_downward): Likewise.
19969 (rint_test_upward: Likewise.
19970
ff3b3d82
JM
199712012-02-22 Joseph Myers <joseph@codesourcery.com>
19972
19973 [BZ #10110]
19974 * include/stdc-predef.h: New file. Extracted from features.h.
19975 * include/features.h: Include stdc-predef.h.
19976 * Makefile (headers): Add stdc-predef.h.
19977 * CONFORMANCE (Compiler limitations): Update.
19978
ef0aab35
JM
199792012-02-22 Joseph Myers <joseph@codesourcery.com>
19980
19981 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19982
58639409
DM
199832012-02-21 David S. Miller <davem@davemloft.net>
19984
19985 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19986 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19987
c0e70b25
DM
199882012-02-20 David S. Miller <davem@davemloft.net>
19989
19990 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19991 using a normal save/restore sequence, rather than allocating a
19992 dummy stack frame just to store a frame pointer and restore.
19993 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19994
fb06851d
JM
199952012-02-21 Joseph Myers <joseph@codesourcery.com>
19996
19997 * manual/install.texi: Fix stray word in line-wrapped comment.
19998
7a8b71c3
DM
199992012-02-20 David S. Miller <davem@davemloft.net>
20000
d510c123
DM
20001 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20002 both binutils and gcc support GOTDATA.
20003
0722d7c2
DM
20004 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20005 "rd %pc" in the PIC register setup sequences.
20006
3d2b3019
DM
20007 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20008 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20009 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20010 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20011 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20012 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20013 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20014 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20016 (SYSCALL_ERROR_HANDLER): Likewise.
20017 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20018 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20019 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20020 (SYSCALL_ERROR_HANDLER): Likewise.
20021
c80098a9
DM
20022 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20023 (HAVE_GCC_GOTDATA): New.
20024 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20025 relocation support in both binutils and gcc.
20026 * sysdeps/sparc/elf/configure: Regenerate.
20027
3a2545a0
DM
20028 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20029 * sysdeps/sparc/sparc32/elf/configure: Delete.
20030 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20031 * sysdeps/sparc/sparc64/elf/configure: Delete.
20032 * sysdeps/sparc/elf/configure.in: New file.
20033 * sysdeps/sparc/elf/configure: Generate.
20034
7a8b71c3
DM
20035 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20036 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20037 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20038 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20039 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20040
f1e86fca
JM
200412012-02-21 Joseph Myers <joseph@codesourcery.com>
20042
20043 * manual/install.texi: Do not mention specific glibc version
20044 numbers.
20045 * manual/libc.texinfo (VERSION, UPDATED): Update.
20046 (@copying): Use @copyright{} and range of years.
20047
0e7dfaef
JM
200482012-02-21 Joseph Myers <joseph@codesourcery.com>
20049
20050 [BZ #13695]
20051 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20052 [crti.S not in sysdirs] (generated): Do not append.
20053 [crti.S not in sysdirs] (omit-deps): Likewise.
20054 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20055 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20056 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20057 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20058 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20059 Likewise.
20060 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20061 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20062 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20063 * csu/defs.awk: Remove file.
20064 * sysdeps/generic/initfini.c: Likewise.
20065 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20066 variable.
20067 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20068 Likewise.
20069
599af3ca
JM
200702012-02-20 Joseph Myers <joseph@codesourcery.com>
20071
20072 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20073 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20074 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20075 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20076 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20077 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20078 <bits/epoll.h>.
20079 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20080 (__EPOLL_PACKED): Define to empty if not defined by
20081 <bits/epoll.h>.
20082 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20084 bits/epoll.h.
20085
0e499750
JM
200862012-02-20 Joseph Myers <joseph@codesourcery.com>
20087
20088 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20089 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20090 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20091 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20092 <bits/timerfd.h>.
20093 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20095 bits/timerfd.h.
20096
5ad91f6e
JM
200972012-02-20 Joseph Myers <joseph@codesourcery.com>
20098
20099 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20100 in C locale.
20101 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20102 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20103 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20105
06b99b02
AJ
201062012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20107
20108 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20109 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20110
7638c0fd
AS
201112012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20112
20113 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20114 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20115 defined.
20116 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20117 Likewise.
20118 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20119 entry for 2.16.
20120
92221550
AJ
201212012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20122
20123 * math/w_acos.c: Use non-signaling floating-point comparisons.
20124 * math/w_acosf.c: Likewise.
20125 * math/w_acosh.c: Likewise.
20126 * math/w_acoshf.c: Likewise.
20127 * math/w_acoshl.c: Likewise.
20128 * math/w_acosl.c: Likewise.
20129 * math/w_asin.c: Likewise.
20130 * math/w_asinf.c: Likewise.
20131 * math/w_asinl.c: Likewise.
20132 * math/w_atanh.c: Likewise.
20133 * math/w_atanhf.c: Likewise.
20134 * math/w_atanhl.c: Likewise.
20135 * math/w_exp2.c: Likewise.
20136 * math/w_exp2f.c: Likewise.
20137 * math/w_exp2l.c: Likewise.
20138 * math/w_j0.c: Likewise.
20139 * math/w_j0f.c: Likewise.
20140 * math/w_j0l.c: Likewise.
20141 * math/w_j1.c: Likewise.
20142 * math/w_j1f.c: Likewise.
20143 * math/w_j1l.c: Likewise.
20144 * math/w_jn.c: Likewise.
20145 * math/w_jnf.c: Likewise.
20146 * math/w_log.c: Likewise.
20147 * math/w_log10.c: Likewise.
20148 * math/w_log10f.c: Likewise.
20149 * math/w_log10l.c: Likewise.
20150 * math/w_log2.c: Likewise.
20151 * math/w_log2f.c: Likewise.
20152 * math/w_log2l.c: Likewise.
20153 * math/w_logf.c: Likewise.
20154 * math/w_logl.c: Likewise.
20155 * math/w_sqrt.c: Likewise.
20156 * math/w_sqrtf.c: Likewise.
20157 * math/w_sqrtl.c: Likewise.
20158 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20159 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20160 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20161 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20162 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20163
ebaf36eb
JM
201642012-02-19 Joseph Myers <joseph@codesourcery.com>
20165
20166 [BZ #9739]
20167 * manual/string.texi (strnlen): Use correct parameter name in
20168 equivalent expression.
20169
71c254a6
JM
201702012-02-19 Joseph Myers <joseph@codesourcery.com>
20171
20172 [BZ #11174]
20173 * manual/users.texi (seteuid): Consistently use neweuid for
20174 argument name.
20175
16d2c631
JM
201762012-02-19 Joseph Myers <joseph@codesourcery.com>
20177
20178 [BZ #13704]
20179 * manual/nss.texi (Services in the NSS configuration): Correct
20180 list of services in example configuration file.
20181
cd837b09
NB
201822012-02-19 Nick Bowler <nbowler@draconx.ca>
20183
20184 [BZ #11322]
20185 * manual/arith.texi: Remove statements about negative zero
20186 behaving identically to zero.
20187
02c4bbad
JM
201882012-02-18 Joseph Myers <joseph@codesourcery.com>
20189
20190 [BZ #5993]
20191 * manual/install.texi: Do not document upgrading from libc5.
20192
366842e7
JM
201932012-02-18 Joseph Myers <joseph@codesourcery.com>
20194
20195 [BZ #4596]
20196 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20197
dd54084d
DM
201982012-02-18 David S. Miller <davem@davemloft.net>
20199
20200 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20201 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20202 %o7 across the call.
20203 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20204 instead.
20205 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20206 SETUP_PIC_REG_LEAF.
20207 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20208 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20209 * sysdeps/sparc/crtn.S: Likewise.
20210
2bcc53a3
UD
202112012-02-17 Ulrich Drepper <drepper@gmail.com>
20212
20213 * aout/Makefile: Remove.
20214
09c093b5
RK
202152012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20216
20217 [BZ #13058]
20218 * manual/examples/argp-ex1.c (main): Format definition in GNU
20219 style.
20220 * manual/examples/argp-ex2.c (main): Likewise.
20221 * manual/examples/argp-ex3.c (main): Likewise.
20222 * manual/examples/argp-ex4.c (main): Likewise.
20223 * manual/examples/longopt.c (main): Use new-style prototype
20224 definition.
20225 * manual/examples/strncat.c (main): Specify return type and use
20226 (void) for arguments.
20227 * manual/examples/subopt.c (main): Use char **argv argument.
20228
2ee633a2
JM
202292012-02-17 Joseph Myers <joseph@codesourcery.com>
20230
20231 [BZ #5077]
20232 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20233 rounding modes.
20234
0520adde
FB
202352012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20236
20237 [BZ #6907]
20238 * manual/string.texi (strchr): Change when strchrnul is
20239 recommended.
20240
3f4081cd
DGM
202412012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20242
20243 [BZ #174]
20244 * manual/locale.texi (setlocale): Document LOCPATH.
20245
d1b10e78
JM
202462012-02-17 Joseph Myers <joseph@codesourcery.com>
20247
20248 [BZ #10210]
20249 * manual/process.texi (execle): Move @dots{} before last argument.
20250
79c6869c
PB
202512012-02-17 Paul Bolle <pebolle@tiscali.nl>
20252
20253 [BZ #12047]
20254 * manual/charset.texi (Generic Charset Conversion): Fix typo
20255 (LC_TYPE -> LC_CTYPE).
20256
cc6e48bc
NB
202572012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20258
20259 [BZ #5805]
20260 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20261 (scalbnf): Likewise.
20262 (scalbnl): Likewise.
20263 (scalbln): Likewise.
20264 (scalblnf): Likewise.
20265 (scalblnl): Likewise.
20266 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20267 (vwarnx): Likewise.
20268 (verr): Likewise.
20269 (verrx): Likewise.
20270 * manual/filesys.texi (telldir): Use braces around return type.
20271 * manual/llio.texi (mmap): Add space after comma.
20272 (mmap64): Likewise.
20273 * manual/math.texi (jn): Use @var{} on parameter names.
20274 (jnf): Likewise.
20275 (jnl): Likewise.
20276 (yn): Likewise.
20277 (ynf): Likewise.
20278 (ynl): Likewise.
20279 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20280 line.
20281 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20282 "...".
20283 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20284 (sched_get_priority_max): Likewise.
20285 * manual/signal.texi (sigvec): Add space after comma.
20286 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20287 names.
20288 (if_indextoname): Likewise.
20289 (if_freenameindex): Likewise.
20290 (sendto): Use ',' instead of '.' in prototype.
20291 * manual/startup.texi (syscall): Use @dots{} instead of literal
20292 "...".
20293 * manual/stdio.texi (__fpending): Separate initial words of
20294 paragraph from @deftypefun line.
20295 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20296 "...".
20297 (vsyslog): Use @var{} on parameter names.
20298 * manual/terminal.texi (stty): Use @var{} on parameter names.
20299 * manual/users.texi (getutmp): Use @var{} on parameter names.
20300 (getutmpx): Likewise.
20301
5b23062f
JM
203022012-02-17 Joseph Myers <joseph@codesourcery.com>
20303
20304 [BZ #6884]
20305 * manual/stdio.texi (fopen): Fix typos in description of
20306 ",ccs=STRING".
20307
8dee4833
AJ
203082012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20309
20310 [BZ #4026]
20311 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20312 get clock_id definition.
20313
9078ce93
TS
203142012-02-17 Thomas Schwinge <thomas@schwinge.name>
20315
20316 [BZ #4822]
20317 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20318 (madvise): Cast every argument to void on its own.
20319
3835c55f
JM
203202012-02-17 Joseph Myers <joseph@codesourcery.com>
20321
20322 [BZ #9902]
20323 * manual/startup.texi (Exit Status): Fix typo.
20324
35c47e37
JM
203252012-02-17 Joseph Myers <joseph@codesourcery.com>
20326
20327 [BZ #10140]
20328 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20329 * manual/examples/argp-ex2.c: Likewise.
20330 * manual/examples/argp-ex3.c: Likewise.
20331
e3b69ca7
RH
203322012-02-16 Richard Henderson <rth@redhat.com>
20333
20334 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20335 * sysdeps/s390/s390-32/initfini.c: Remove.
20336 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20337 * sysdeps/s390/s390-64/initfini.c: Remove.
20338
df83af67
KK
203392012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20340
20341 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20342 compiler output for sysdeps/generic/initfini.c.
20343 * sysdeps/sh/elf/initfini.c: Remove file.
20344
f63f3380
DM
203452012-02-16 David S. Miller <davem@davemloft.net>
20346
fb59b3a4
DM
20347 [BZ #11494]
20348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20349
f63f3380
DM
20350 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20351 * sysdeps/sparc/crti.S: New file.
20352 * sysdeps/sparc/crtn.S: New file.
20353 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20354 * sysdeps/sparc/sparc64/Makefile: Likewise.
20355
df6a4a4a
MF
203562012-02-15 Mike Frysinger <vapier@gentoo.org>
20357
6dd8f3dc 20358 [BZ #3335]
df6a4a4a
MF
20359 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20360
1cac7236
RM
203612012-02-15 Roland McGrath <roland@hack.frob.com>
20362
d2c736f8
RM
20363 [BZ #4822]
20364 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20365
1cac7236
RM
20366 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20367 (write, read, close): Likewise.
20368 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20369
8e475601
JM
203702012-02-15 Joseph Myers <joseph@codesourcery.com>
20371
20372 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20373 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20374 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20375 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20376 <bits/signalfd.h>.
20377 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20379 bits/signalfd.h.
20380
ed656b40
MP
203812012-02-14 Marek Polacek <polacek@redhat.com>
20382
20383 * sysdeps/x86_64/crti.S: New file.
20384 * sysdeps/x86_64/crtn.S: New file.
20385 * sysdeps/x86_64/elf/initfini.c: Remove file.
20386
2a979d3a
JM
203872012-02-13 Joseph Myers <joseph@codesourcery.com>
20388
20389 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20390 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20391 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20392 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20393 <bits/inotify.h>.
20394 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20396 bits/inotify.h.
20397
2a418ac3
JM
203982012-02-13 Joseph Myers <joseph@codesourcery.com>
20399
20400 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20401 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20402 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20403 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20404 <bits/eventfd.h>.
20405 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20407 bits/eventfd.h.
20408
fb779be7
TS
204092012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20410
e19e83c5
RM
20411 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20412 __feraiseexcept instead of feraiseexcept.
7c35ffed 20413
fb779be7
TS
20414 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20415 nanosleep invocations.
20416 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20417 strings, and add error checking for a nanosleep invocations.
20418
59ba27a6
PE
204192012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20420
20421 Replace FSF snail mail address with URLs, as per GNU coding standards.
20422 Most of the snail mail addresses were wrong anyway, and omitting
20423 them makes the source code easier to maintain. Almost all of the
20424 changes are to license notices and to locale LC_IDENTIFICATION
20425 addresses, except for this one:
20426 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20427 not its snail mail address.
20428
57b957eb
RH
204292012-02-09 Richard Henderson <rth@twiddle.net>
20430
af850b1c
RH
20431 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20432 of kernel-features.h.
20433
57b957eb
RH
20434 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20435
6b73181a
MP
204362012-02-08 Marek Polacek <polacek@redhat.com>
20437
20438 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20439 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20440 * sysdeps/gnu/_G_config.h: Likewise.
20441 * sysdeps/generic/_G_config.h: Likewise.
20442
26ecc33a
AS
204432012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20444
6c6dbc63
AS
20445 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20446 tests.
20447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20448
e216c012
AS
20449 * sysdeps/powerpc/powerpc32/crti.S: New file.
20450 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20451 * sysdeps/powerpc/powerpc64/crti.S: New file.
20452 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20453
26ecc33a
AS
20454 * Makeconfig (have-initfini): Don't set.
20455 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20456 * configure.in (nopic_initfini): Don't substitute.
20457 * config.h.in (HAVE_INITFINI): Don't #undef.
20458 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20459 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20460
3add8e13
JM
204612012-02-08 Joseph Myers <joseph@codesourcery.com>
20462
20463 Support crti.S and crtn.S provided directly by architectures.
20464 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20465 [crti.S in sysdirs] (omit-deps): Likewise.
20466 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20467 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20468 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20469 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20470 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20471 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20472 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20473 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20474 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20475 compiler output for sysdeps/generic/initfini.c.
20476 * sysdeps/i386/elf/Makefile: Remove file.
20477 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20478
a22f12b4
MP
204792012-02-07 Marek Polacek <polacek@redhat.com>
20480
20481 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20482 * sysdeps/gnu/_G_config.h: Likewise.
20483 * sysdeps/mach/hurd/_G_config.h: Likewise.
20484
148cf100
MP
204852012-02-07 Marek Polacek <polacek@redhat.com>
20486
20487 * math/Makefile (tests): Add tst-CMPLX2.
20488 * math/tst-CMPLX2.c: New file.
20489
cfdc0dd7
AS
204902012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20491
84ba42c4
AS
20492 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20493
cfdc0dd7
AS
20494 * math/libm-test.inc (jn_test): Add missing L suffix.
20495
622c86f4
MP
204962012-02-06 Marek Polacek <polacek@redhat.com>
20497
20498 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20499 * sysdeps/i386/fpu/e_powf.S: Likewise.
20500 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20501 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20502 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20503 * sysdeps/i386/fpu/e_pow.S: Likewise.
20504 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20505 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20506 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20507 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20508 * sysdeps/i386/fpu/e_log2.S: Likewise.
20509 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20510 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20511 * sysdeps/i386/fpu/e_powl.S: Likewise.
20512 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20513 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20514 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20515 * sysdeps/i386/fpu/e_logl.S: Likewise.
20516 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20517 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20518 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20519 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20520 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20521 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20522 * sysdeps/i386/fpu/e_log.S: Likewise.
20523 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20524 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20525 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20526 * sysdeps/i386/fpu/e_logf.S: Likewise.
20527 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20528 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20529 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20530 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20531 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20532 * sysdeps/i386/fpu/e_log10.S: Likewise.
20533 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20534 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20535 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20536 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20537 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20538 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20539 * sysdeps/i386/asm-syntax.h: Likewise.
20540 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20541 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20542 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20543 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20544 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20545 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20546 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20547 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20548 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20549 * sysdeps/powerpc/sysdep.h: Likewise.
20550 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20551 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20552
d4a54ac6
JM
205532012-02-06 Joseph Myers <joseph@codesourcery.com>
20554
20555 [BZ #411]
20556 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20557
314054ea
JM
205582012-02-06 Joseph Myers <joseph@codesourcery.com>
20559
20560 * sysdeps/i386/sysdep.h: Include <features.h>.
20561 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20562 version.
20563
d8e0ca50
JM
205642012-02-05 Joseph Myers <joseph@codesourcery.com>
20565
20566 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20567 Define.
20568 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20569 LOAD_PIC_REG_STR.
20570
b1da7dd9
JM
205712012-02-03 Joseph Myers <joseph@codesourcery.com>
20572
20573 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20574 (SETUP_PIC_REG): Use GET_PC_THUNK.
20575 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20576 macro.
20577
9a1d9254
JM
205782012-02-03 Joseph Myers <joseph@codesourcery.com>
20579
20580 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20581 for non-PIC compilation.
20582 (SETUP_PIC_REG): Add .p2align directive.
20583 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20584 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20585 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20586 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20587 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20588 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20589 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20590 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20591 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20592 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20593 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20594 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20595 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20596 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20597 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20598 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20599 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20600 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20601 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20602 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20603 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20604 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20605 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20606 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20607 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20608 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20609 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20610 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20611 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20612 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20613 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20614 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20615 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20616 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20617 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20618 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20619 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20620 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20621 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20622 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20623 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20624
65dc3b75
JM
206252012-02-03 Joseph Myers <joseph@codesourcery.com>
20626
20627 * math/tst-CMPLX.c: Include <stdio.h>.
20628
d55bf177
JM
206292012-01-31 Joseph Myers <joseph@codesourcery.com>
20630
20631 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20632 float.
20633 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20634 * sysdeps/sparc/bits/mathdef.h: Likewise.
20635
69db4f8f
MP
206362012-01-31 Marek Polacek <polacek@redhat.com>
20637
20638 * libio/libio.h: Don't define _PARAMS.
20639 * locale/programs/config.h: Don't define PARAMS.
20640 * stdlib/strtol_l.c: Likewise.
20641 (__strtol_l): Remove PARAMS from the prototype.
20642
41b81892
UD
206432012-01-31 Ulrich Drepper <drepper@gmail.com>
20644
3b49edc0
UD
20645 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20646 names. Just use the correct names. Remove unnecessary wrapper
20647 functions.
20648 * malloc/arena.c: Likewise.
20649 * malloc/hooks.c: Likewise.
20650
41b81892
UD
20651 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20652 ARENA_TEST says not to. Simplify test for creation of a new arena.
20653 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20654
27a25b6e
UD
206552012-01-30 Ulrich Drepper <drepper@gmail.com>
20656
20657 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20658 into tail calls.
20659 (update_get_addr): New function.
20660 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20661 GET_ADDR_MODULE parameter.
20662
c8a89e7d
JM
206632012-01-30 Joseph Myers <joseph@codesourcery.com>
20664
20665 * crypt/cert.c: Remove __STDC__ conditionals.
20666 * crypt/crypt-entry.c: Likewise.
20667 * crypt/crypt_util.c: Likewise.
20668 * libio/filedoalloc.c: Likewise.
20669 * libio/fileops.c: Likewise.
20670 * libio/genops.c: Likewise.
20671 * libio/iofclose.c: Likewise.
20672 * libio/iofdopen.c: Likewise.
20673 * libio/iofopen.c: Likewise.
20674 * libio/iofopen64.c: Likewise.
20675 * libio/iogetdelim.c: Likewise.
20676 * libio/iopopen.c: Likewise.
20677 * libio/obprintf.c: Likewise.
20678 * libio/oldfileops.c: Likewise.
20679 * libio/oldiofclose.c: Likewise.
20680 * libio/oldiofdopen.c: Likewise.
20681 * libio/oldiofopen.c: Likewise.
20682 * libio/oldiopopen.c: Likewise.
20683 * libio/wfiledoalloc.c: Likewise.
20684 * libio/wgenops.c: Likewise.
20685 * locale/programs/xmalloc.c: Likewise.
20686 * misc/syslog.c: Likewise.
20687 * stdio-common/xbug.c: Likewise.
20688 * string/memchr.c: Likewise.
20689 * string/memcmp.c: Likewise.
20690 * string/memrchr.c: Likewise.
20691 * string/rawmemchr.c: Likewise.
20692 * sysdeps/posix/getcwd.c: Likewise.
20693 * time/strftime_l.c: Likewise.
20694
3b100462
JM
206952012-01-30 Joseph Myers <joseph@codesourcery.com>
20696
20697 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20698 * config.make.in (config-cflags-sse2avx): Define.
20699 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20700 Fix typo.
20701
607998af
CM
207022012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20703
20704 * scripts/config.guess: Update from upstream config git repository.
20705 * scripts/config.sub: Likewise.
20706
3601428f
CM
207072012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20708
3ac8b282
CM
20709 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20710 (EM_NUM): Update.
20711 (R_TILEPRO_*, R_TILEGX_*): New macros.
20712
e034841e
CM
20713 * scripts/firstversions.awk: Fix bug in version range handling.
20714
540d7568
CM
20715 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20716
3601428f
CM
20717 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20718
463de862
CM
20719 * include/sys/epoll.h: New file.
20720 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20721 libc_hidden_def.
20722
73139a76
UD
207232012-01-28 Ulrich Drepper <drepper@gmail.com>
20724
96bc5b45
UD
20725 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20726 Avoid unnecessary __WORDSIZE == 64 test.
20727 (fmaxf): Use VEX format if possible.
20728 (fmax): Likewise.
20729 (fminf): Likewise.
20730 (fmin): Likewise.
20731
56f6f6a2
UD
20732 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20733 * math/math_private.h: Remove libc_fegetround* and
20734 libc_fesetround*.
20735 * sysdeps/i386/configure.in: Check for -msse2avx.
20736 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20737 also if SSE2AVX is defined.
20738 Remove libc_fegetround* and libc_fesetround*.
20739 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20740 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20742 of HAS_YMM_USABLE.
20743 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20744 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20745 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20746 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20747 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20748
73139a76
UD
20749 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20750
d73f93a4
AZ
207512012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20752
20753 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20754 size is not set.
20755 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20756
6ee65ed6
UD
207572012-01-27 Ulrich Drepper <drepper@gmail.com>
20758
20759 [BZ #13618]
20760 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20761 relocation.
20762 * Makeconfig (libm): Define.
20763 * elf/Makefile: Add rules to build and run tst-relsort1.
20764 * elf/tst-relsort1.c: New file.
20765 * elf/tst-relsort1mod1.c: New file.
20766 * elf/tst-relsort1mod2.c: New file.
20767
8db21882
JM
207682012-01-27 Joseph Myers <joseph@codesourcery.com>
20769
20770 * math/s_ldexp.c: Remove __STDC__ conditionals.
20771 * math/s_ldexpf.c: Likewise.
20772 * math/s_ldexpl.c: Likewise.
20773 * math/s_nextafter.c: Likewise.
20774 * math/s_nexttowardf.c: Likewise.
20775 * math/s_significand.c: Likewise.
20776 * math/s_significandf.c: Likewise.
20777 * math/s_significandl.c: Likewise.
20778 * math/w_jnl.c: Likewise.
20779 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20780 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20781 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20782 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20783 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20784 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20785 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20786 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20787 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20788 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20789 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20790 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20791 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20792 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20793 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20794 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20795 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20796 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20797 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20798 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20799 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20800 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20801 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20802 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20803 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20804 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20805 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20806 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20807 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20808 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20809 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20810 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20811 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20812 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20813 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20814 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20815 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20816 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20817 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20818 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20819 * sysdeps/ieee754/k_standard.c: Likewise.
20820 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20821 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20822 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20823 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20824 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20825 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20826 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20827 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20828 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20829 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20830 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20831 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20832 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20833 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20834 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20835 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20836 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20837 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20838 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20839 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20840 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20841 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20842 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20843 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20844 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20845 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20846 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20847 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20849 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20850 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20851 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20852 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20853 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20854 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20855 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20856 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20857 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20858 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20859 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20860 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20861 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20862 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20863 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20864 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20865 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20866 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20867 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20868 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20869 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20870 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20871 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20872 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20873 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20874 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20875 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20876 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20877 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20878 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20879 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20880 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20881 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20882 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20883 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20884 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20885 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20886 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20887 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20888 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20889 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20890 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20891 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20892 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20893 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20894 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20895 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20896 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20897 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20898 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20899 * sysdeps/ieee754/s_matherr.c: Likewise.
20900 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20901 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20902 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20903 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20904
965a54a4
JM
209052012-01-26 Joseph Myers <joseph@codesourcery.com>
20906
20907 * crypt/md5.h: Remove __STDC__ conditionals.
20908 * libio/libioP.h: Likewise.
20909 * locale/programs/config.h: Likewise.
20910 * sysdeps/generic/sysdep.h: Likewise.
20911 * sysdeps/i386/asm-syntax.h: Likewise.
20912 * sysdeps/s390/asm-syntax.h: Likewise.
20913 * sysdeps/unix/sysdep.h: Likewise.
20914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20916
7071ad79
JM
209172012-01-26 Joseph Myers <joseph@codesourcery.com>
20918
20919 * libio/libio.h: Remove __STDC__ conditionals.
20920 * malloc/obstack.h: Likewise.
20921 * math/complex.h: Likewise.
20922 * math/math.h: Likewise.
20923 * sysdeps/generic/_G_config.h: Likewise.
20924 * sysdeps/gnu/_G_config.h: Likewise.
20925 * sysdeps/mach/hurd/_G_config.h: Likewise.
20926 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20927 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20928 * sysdeps/sparc/bits/mathdef.h: Likewise.
20929
afc5ed09
UD
209302012-01-26 Ulrich Drepper <drepper@gmail.com>
20931
20932 [BZ #13583]
20933 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20934 Clean up HAS_* macros.
afc5ed09 20935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20936 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20937 possible.
20938 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20939 HAS_AVX.
20940 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20941 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20942 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20943 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20944 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20945
bdb6de1d
JM
209462012-01-25 Joseph Myers <joseph@codesourcery.com>
20947
20948 * elf/tst-unique3.cc (gets): Remove declaration.
20949 * elf/tst-unique3lib.cc (gets): Likewise.
20950 * elf/tst-unique3lib2.cc (gets): Likewise.
20951 * elf/tst-unique4.cc (gets): Likewise.
20952
b15549e6
UD
209532012-01-24 Ulrich Drepper <drepper@gmail.com>
20954
20955 * include/stdio.h: Add C++ protection. Add gets declarations and
20956 definitions.
20957 * debug/tst-chk1.c: Don't declare gets here.
20958 * stdio-common/tst-gets.c: Likewise.
20959
a037381f
JM
209602012-01-24 Joseph Myers <joseph@codesourcery.com>
20961
20962 * posix/glob: Remove directory.
20963
f1d4aa75
JM
209642012-01-24 Joseph Myers <joseph@codesourcery.com>
20965
20966 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20967
81c0c964
PT
209682012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20969
20970 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20971 of the non-standard EPFNOSUPPORT.
20972
0ea698ae
ST
209732011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20974
20975 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20976 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20977 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20978
d220b117
UD
209792012-01-21 Ulrich Drepper <drepper@gmail.com>
20980
20981 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20982
3e1aa84e
UD
209832012-01-20 Ulrich Drepper <drepper@gmail.com>
20984
20985 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20986 transient errors.
20987 * nscd/grpcache.c (cache_addgr): Likewise.
20988 * nscd/hstcache.c (cache_addhst): Likewise.
20989 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20990 * nscd/pwdcache.c (cache_addpw): Likewise.
20991 * nscd/servicescache.c (cache_addserv): Likewise.
20992
400aa020
UD
209932012-01-16 Ulrich Drepper <drepper@gmail.com>
20994
d77e7869
UD
20995 * malloc/malloc.c: Various cleanups.
20996 * malloc/hooks.c: Likewise.
20997
400aa020
UD
20998 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20999 * stdlib/bug-fmtmsg1.c: New file.
21000
21001 * stdlib/fmtmsg.c (init): Add missing unlock.
21002 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21003
e0a309cf
MP
210042012-01-12 Marek Polacek <polacek@redhat.com>
21005
21006 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21007 and _GNU_SOURCE.
21008
929d11c7
WS
210092012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21010
21011 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21012 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21013 macro to ensure uniqueness of label name.
21014 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21015 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21016
41d0e869
UD
210172012-01-11 Ulrich Drepper <drepper@gmail.com>
21018
0cc5ed3b
UD
21019 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21020
41d0e869
UD
21021 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21022 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21023 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21024 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21025
a47a831a
UD
210262012-01-10 Ulrich Drepper <drepper@gmail.com>
21027
daa891c0
UD
21028 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21029
21030 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21031 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21032 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21033
e58ef0f2
UD
21034 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21035
a47a831a 21036 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21037 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21038 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21039 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21040
21041 * math/bits/math-finite.h: Add ldexp support.
21042
a0bfc9c7
MP
210432012-01-10 Marek Polacek <polacek@redhat.com>
21044
21045 * locale/programs/localedef.h (show_archive_content): Add noreturn
21046 attribute.
21047
d6e97a1d
UD
210482012-01-09 Ulrich Drepper <drepper@gmail.com>
21049
21050 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21051
d5835c26
UD
210522012-01-08 Ulrich Drepper <drepper@gmail.com>
21053
e5f484c6
UD
21054 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21055
d5835c26
UD
21056 * io/Makefile (headers): Add bits/poll2.h.
21057
d1f741e9
WS
210582011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21059
21060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21061 typo #include statement.
21062
ec09c1c4
UD
210632012-01-08 Ulrich Drepper <drepper@gmail.com>
21064
21065 * include/sys/cdefs.h: Define __attribute_alloc_size.
21066 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21067 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21068 * elf/pldd.c: Likewise.
21069 * iconv/iconv_charmap.c: Likewise.
21070 * iconv/iconvconfig.c: Likewise.
21071 * iconv/strtab.c: Likewise.
21072 * locale/programs/locale.c: Likewise.
21073 * locale/programs/localedef.h: Likewise.
21074 * locale/programs/simple-hash.c: Likewise.
21075 * nscd/nscd.h: Likewise.
21076 * nss/makedb.c: Likewise.
21077 * sysdeps/generic/ldconfig.h: Likewise.
21078 * locale/programs/localedef.c: Remove xmalloc prototype.
21079 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21080
20b38e03
PP
210812012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21082
21083 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21084 appropriate.
21085
a0da5fe1
UD
210862012-01-08 Ulrich Drepper <drepper@gmail.com>
21087
1d5a644a 21088 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21089 * math/tst-CMPLX.c: New file.
1d5a644a 21090
8784a6db
UD
21091 * math/complex.h (CMPLXL): Fix typo.
21092
d9a216c0
UD
21093 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21094 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21095 GLIBC_2.16.
21096 * debug/tst-chk1.c: Add poll and ppoll tests.
21097 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21098 * include/sys/poll.h: Add hidden proto for ppoll.
21099 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21100 * sysdeps/mach/hurd/ppoll.c: Likewise.
21101 * io/ppoll.c: Likewise.
21102 * debug/poll_chk.c: New file.
21103 * debug/ppoll_chk.c: New file.
21104 * include/bits/poll2.h: New file.
21105 * io/bits/poll2.h: New file.
21106
ac097f5c
UD
21107 [BZ #1350]
21108 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21109
2119dcfa
UD
21110 * configure.in: static is always set to yes. Remove.
21111 * config.make.in: Don't set build-static.
21112 * Makeconfig: Remove use of build-static.
21113 * dlfcn/Makefile: Likewise.
21114 * elf/Makefile: Likewise.
21115 * math/Makefile: Likewise.
21116 * misc/Makefile: Likewise.
21117 * nptl/Makefile: Likewise.
21118 * sysdeps/mach/hurd/Makefile: Likewise.
21119
121766a9
UD
21120 * configure.in: PWD_P is not used anymore.
21121 * config.make.in: Remove PWD_P entry.
21122
51a1d39c 21123 * configure.in: Remove last remnants of RANLIB.
8720d066 21124 No need to check for signed size_t anymore.
215f4bdc
UD
21125 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21126 and IA-64.
3857022a 21127 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21128 * aclocal.m4: Likewise.
21129
d3ed7225
UD
21130 * wcsmbs/mbrtoc16.c: Implement using towc function.
21131 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21132 * wcsmbs/wcsmbsload.c: Likewise.
21133 * iconv/gconv_simple.c: Likewise.
21134 * iconv/gconv_int.h: Likewise.
21135 * iconv/gconv_builtin.h: Likewise.
21136 * iconv/iconv_prog.c: Remove CHAR16 handling.
21137
21138 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21139
21140 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21141
a0da5fe1
UD
21142 * configure.in: Remove --with-elf and --enable-bounded options.
21143 Dont set base_machine for ia64. More non-ELF conditions removed.
21144 Remove testing and setting of leading underscore information.
21145 * config.make.in (build-bounded): Set to no.
21146 * config.h.in: Remove NO_UNDERSCORES entry.
21147 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21148 them.
21149 * csu/start.c: Remove !NO_UNDERSCORE code.
21150 * locale/localeinfo.h: Likewise.
21151 * sysdeps/generic/machine-gmon.h: Likewise.
21152 * sysdeps/generic/sysdep.h: Likewise.
21153 * sysdeps/i386/sysdep.h: Likewise.
21154 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21155 * sysdeps/mach/sysdep.h: Likewise.
21156 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21157 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21158 * sysdeps/sh/sysdep.h: Likewise.
21159 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21160 * sysdeps/unix/i386/sysdep.S: Likewise.
21161 * sysdeps/unix/sparc/start.c: Likewise.
21162 * sysdeps/unix/sparc/sysdep.S: Likewise.
21163 * sysdeps/unix/sparc/sysdep.h: Likewise.
21164 * sysdeps/unix/start.c: Likewise.
21165 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21166 * sysdeps/x86_64/sysdep.h: Likewise.
21167
df78418a
UD
211682012-01-07 Ulrich Drepper <drepper@gmail.com>
21169
a784e502
UD
21170 [BZ #13553]
21171 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21172 for non-gcc.
21173 * argp/argp-fmtstream.h: Use const instead __const.
21174 * argp/argp.h: Likewise.
21175 * assert/assert.h: Likewise.
21176 * bits/fenv.h: Likewise.
21177 * bits/sched.h: Likewise.
21178 * bits/sigset.h: Likewise.
21179 * bits/sigthread.h: Likewise.
21180 * catgets/nl_types.h: Likewise.
21181 * conform/data/pthread.h-data: Likewise.
21182 * crypt/crypt-private.h: Likewise.
21183 * crypt/crypt.h: Likewise.
21184 * crypt/crypt_util.c: Likewise.
21185 * ctype/ctype.h: Likewise.
21186 * debug/execinfo.h: Likewise.
21187 * debug/mbsnrtowcs_chk.c: Likewise.
21188 * debug/mbsrtowcs_chk.c: Likewise.
21189 * debug/wcsnrtombs_chk.c: Likewise.
21190 * debug/wcsrtombs_chk.c: Likewise.
21191 * debug/wcstombs_chk.c: Likewise.
21192 * dirent/dirent.h: Likewise.
21193 * dlfcn/dlfcn.h: Likewise.
21194 * elf/neededtest4.c: Likewise.
21195 * grp/grp.h: Likewise.
21196 * gshadow/gshadow.h: Likewise.
21197 * iconv/gconv.h: Likewise.
21198 * iconv/gconv_int.h: Likewise.
21199 * iconv/gconv_simple.c: Likewise.
21200 * iconv/iconv.h: Likewise.
21201 * iconv/loop.c: Likewise.
21202 * iconv/skeleton.c: Likewise.
21203 * include/aio.h: Likewise.
21204 * include/aliases.h: Likewise.
21205 * include/argz.h: Likewise.
21206 * include/arpa/inet.h: Likewise.
21207 * include/assert.h: Likewise.
21208 * include/dirent.h: Likewise.
21209 * include/dlfcn.h: Likewise.
21210 * include/execinfo.h: Likewise.
21211 * include/fcntl.h: Likewise.
21212 * include/fenv.h: Likewise.
21213 * include/glob.h: Likewise.
21214 * include/grp.h: Likewise.
21215 * include/libintl.h: Likewise.
21216 * include/mntent.h: Likewise.
21217 * include/netdb.h: Likewise.
21218 * include/pwd.h: Likewise.
21219 * include/rpc/netdb.h: Likewise.
21220 * include/sched.h: Likewise.
21221 * include/search.h: Likewise.
21222 * include/shadow.h: Likewise.
21223 * include/signal.h: Likewise.
21224 * include/stdio.h: Likewise.
21225 * include/stdlib.h: Likewise.
21226 * include/string.h: Likewise.
21227 * include/sys/socket.h: Likewise.
21228 * include/sys/stat.h: Likewise.
21229 * include/sys/statfs.h: Likewise.
21230 * include/sys/statvfs.h: Likewise.
21231 * include/sys/syslog.h: Likewise.
21232 * include/sys/time.h: Likewise.
21233 * include/sys/uio.h: Likewise.
21234 * include/time.h: Likewise.
21235 * include/unistd.h: Likewise.
21236 * include/utmp.h: Likewise.
21237 * include/wchar.h: Likewise.
21238 * include/wctype.h: Likewise.
21239 * inet/aliases.h: Likewise.
21240 * inet/arpa/inet.h: Likewise.
21241 * inet/netinet/ether.h: Likewise.
21242 * inet/netinet/in.h: Likewise.
21243 * intl/libintl.h: Likewise.
21244 * io/bits/fcntl2.h: Likewise.
21245 * io/fcntl.h: Likewise.
21246 * io/ftw.h: Likewise.
21247 * io/sys/poll.h: Likewise.
21248 * io/sys/stat.h: Likewise.
21249 * io/sys/statfs.h: Likewise.
21250 * io/sys/statvfs.h: Likewise.
21251 * io/utime.h: Likewise.
21252 * libio/bits/stdio.h: Likewise.
21253 * libio/bits/stdio2.h: Likewise.
21254 * libio/libio.h: Likewise.
21255 * libio/libioP.h: Likewise.
21256 * libio/stdio.h: Likewise.
21257 * locale/lc-ctype.c: Likewise.
21258 * locale/locale.h: Likewise.
21259 * login/utmp.h: Likewise.
21260 * malloc/arena.c: Likewise.
21261 * malloc/malloc.c: Likewise.
21262 * malloc/malloc.h: Likewise.
21263 * malloc/mcheck.c: Likewise.
21264 * malloc/mtrace.c: Likewise.
21265 * math/bits/mathcalls.h: Likewise.
21266 * math/fenv.h: Likewise.
21267 * math/math_private.h: Likewise.
21268 * misc/bits/error.h: Likewise.
21269 * misc/bits/syslog.h: Likewise.
21270 * misc/err.h: Likewise.
21271 * misc/error.h: Likewise.
21272 * misc/fstab.h: Likewise.
21273 * misc/mntent.h: Likewise.
21274 * misc/regexp.h: Likewise.
21275 * misc/search.h: Likewise.
21276 * misc/sgtty.h: Likewise.
21277 * misc/sys/mman.h: Likewise.
21278 * misc/sys/syslog.h: Likewise.
21279 * misc/sys/uio.h: Likewise.
21280 * misc/sys/xattr.h: Likewise.
21281 * misc/ttyent.h: Likewise.
21282 * nis/rpcsvc/ypclnt.h: Likewise.
21283 * nss/nss.h: Likewise.
21284 * posix/bits/unistd.h: Likewise.
21285 * posix/fnmatch.h: Likewise.
21286 * posix/glob.h: Likewise.
21287 * posix/sched.h: Likewise.
21288 * posix/spawn.h: Likewise.
21289 * posix/sys/wait.h: Likewise.
21290 * posix/unistd.h: Likewise.
21291 * posix/wordexp.h: Likewise.
21292 * pwd/pwd.h: Likewise.
21293 * resolv/netdb.h: Likewise.
21294 * resource/sys/resource.h: Likewise.
21295 * rt/aio.h: Likewise.
21296 * rt/bits/mqueue2.h: Likewise.
21297 * rt/mqueue.h: Likewise.
21298 * shadow/shadow.h: Likewise.
21299 * signal/signal.h: Likewise.
21300 * socket/send.c: Likewise.
21301 * socket/sendto.c: Likewise.
21302 * socket/sys/socket.h: Likewise.
21303 * stdio-common/printf.h: Likewise.
21304 * stdlib/bits/stdlib.h: Likewise.
21305 * stdlib/fmtmsg.h: Likewise.
21306 * stdlib/monetary.h: Likewise.
21307 * stdlib/stdlib.h: Likewise.
21308 * stdlib/ucontext.h: Likewise.
21309 * streams/stropts.h: Likewise.
21310 * string/argz.h: Likewise.
21311 * string/bits/string2.h: Likewise.
21312 * string/string.h: Likewise.
21313 * string/strings.h: Likewise.
21314 * sunrpc/rpc/auth.h: Likewise.
21315 * sunrpc/rpc/auth_des.h: Likewise.
21316 * sunrpc/rpc/clnt.h: Likewise.
21317 * sunrpc/rpc/netdb.h: Likewise.
21318 * sunrpc/rpc/pmap_clnt.h: Likewise.
21319 * sunrpc/rpc/xdr.h: Likewise.
21320 * sysdeps/generic/inttypes.h: Likewise.
21321 * sysdeps/generic/net/if.h: Likewise.
21322 * sysdeps/generic/sys/swap.h: Likewise.
21323 * sysdeps/gnu/net/if.h: Likewise.
21324 * sysdeps/gnu/utmpx.h: Likewise.
21325 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21326 * sysdeps/i386/i486/bits/string.h: Likewise.
21327 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21328 * sysdeps/s390/bits/string.h: Likewise.
21329 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21330 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21331 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21332 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21333 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21334 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21335 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21336 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21337 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21338 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21339 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21340 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21341 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21342 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21343 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21344 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21345 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21346 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21347 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21348 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21349 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21350 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21351 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21352 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21353 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21354 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21355 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21356 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21357 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21358 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21359 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21360 * sysvipc/sys/ipc.h: Likewise.
21361 * sysvipc/sys/msg.h: Likewise.
21362 * sysvipc/sys/sem.h: Likewise.
21363 * sysvipc/sys/shm.h: Likewise.
21364 * termios/termios.h: Likewise.
21365 * time/sys/time.h: Likewise.
21366 * time/time.h: Likewise.
21367 * wcsmbs/bits/wchar2.h: Likewise.
21368 * wcsmbs/uchar.h: Likewise.
21369 * wcsmbs/wchar.h: Likewise.
21370 * wctype/wctype.h: Likewise.
21371
0269750c
UD
21372 [BZ #13551]
21373 * Makeconfig: Remove all but ELF support including AIX support.
21374 * Makerules: Likewise.
21375 * config.h.in: Likewise.
21376 * config.make.in: Likewise.
21377 * configure: Likewise.
21378 * configure.in: Likewise.
21379 * csu/Makefile: Likewise.
21380 * csu/version.c: Likewise.
21381 * debug/Makefile: Likewise.
21382 * dlfcn/Makefile: Likewise.
21383 * elf/Makefile: Likewise.
21384 * extra-lib.mk: Likewise.
21385 * iconv/Makefile: Likewise.
21386 * include/libc-symbols.h: Likewise.
21387 * include/shlib-compat.h: Likewise.
21388 * resolv/Makefile: Likewise.
21389 * resolv/res_libc.c: Likewise.
21390 * rt/Makefile: Likewise.
21391 * sysdeps/i386/asm-syntax.h: Likewise.
21392 * sysdeps/i386/sysdep.h: Likewise.
21393 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21394 * sysdeps/mach/sysdep.h: Likewise.
21395 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21396 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21397 * sysdeps/s390/asm-syntax.h: Likewise.
21398 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21399 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21400 * sysdeps/sh/sysdep.h: Likewise.
21401 * sysdeps/unix/sparc/sysdep.h: Likewise.
21402 * sysdeps/wordsize-32/divdi3.c: Likewise.
21403 * sysdeps/x86_64/sysdep.h: Likewise.
21404
00bbd29b
UD
21405 * argp/Versions: Remove _argp_unlock_xxx.
21406
21407 [BZ #13559]
21408 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21409 * abilist/libBrokenLocale.abilist: Likewise.
21410 * abilist/libanl.abilist: Likewise.
21411 * abilist/libc.abilist: Likewise.
21412 * abilist/libcrypt.abilist: Likewise.
21413 * abilist/libdl.abilist: Likewise.
21414 * abilist/libm.abilist: Likewise.
21415 * abilist/libnsl.abilist: Likewise.
21416 * abilist/libpthread.abilist: Likewise.
21417 * abilist/libresolv.abilist: Likewise.
21418 * abilist/librt.abilist: Likewise.
21419 * abilist/libthread_db.abilist: Likewise.
21420 * abilist/libutil.abilist: Likewise.
21421 * abilist/libnss_db.abilist: New file.
21422
21423 * scripts/abilist.awk: Add support for indirect functions.
21424
a2693a0e
UD
21425 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21426
3f05895f
UD
21427 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21428
ecb6fb48
UD
21429 * shlib-versions: Remove entries for ports architectures.
21430
664f8cb9
UD
21431 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21432 files in ports.
21433 * elf/stackguard-macros.h: Remove support for IA-64.
21434 * elf/tst-auditmod1.c: Likewise.
21435 * sysdeps/generic/ldsodefs.h: Likewise.
21436
7ae81d88
UD
21437 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21438 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21439 configure files.
21440
bdeba135
UD
21441 [BZ #13552]
21442 * configure.in: Remove --enable-omitfp support.
21443 * FAQ.in: Adjust.
21444 * config.make.in: Likewise.
21445 * Makeconfig: Likewise.
21446 * manual/install.texi: Likewise.
21447
d75a0a62
UD
21448 In case anyone cares, the IA-64 architecture could move to ports.
21449 * sysdeps/ia64/*: Removed.
21450 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21451 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21452
dcc9756b
UD
21453 [BZ #13555]
21454 * configure.in: Remove entries for unsupported architectures.
21455
d3761ebc 21456 [BZ #13533]
9954432e
UD
21457 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21458 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21459 routines.
21460 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21461 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21462 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21463 fall back to using wcrtomb.
21464 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21465 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21466 renaming.
21467 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21468 * wcsmbs/tst-c16c32-1.c: New file.
21469
21470 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21471 local variable.
21472
c3a87236
UD
21473 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21474
28926a1b
UD
21475 * elf/tst-unique3.cc: Add explicit declaration of gets.
21476 * elf/tst-unique3lib.cc: Likewise.
21477 * elf/tst-unique3lib2.cc: Likewise.
21478 * elf/tst-unique4.cc: Likewise.
21479
df78418a
UD
21480 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21481
8ecd6b2a
JM
214822012-01-06 Joseph Myers <joseph@codesourcery.com>
21483
21484 [BZ #13566]
21485 * assert/assert.h (static_assert): Don't define for C++.
21486 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21487 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21488
9f115170
UD
214892012-01-03 Ulrich Drepper <drepper@gmail.com>
21490
5e0d0300
UD
21491 * iconv/loop.c (single loop): Fix assertion in storing of
21492 remaining bytes.
21493
9f115170
UD
21494 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21495
81fb02b0
UD
214962012-01-01 Ulrich Drepper <drepper@gmail.com>
21497
21498 * posix/getconf.c: Update copyright year.
21499 * nss/getent.c: Likewise.
a316c1f6 21500 * nss/makedb.c: Likewise.
81fb02b0
UD
21501 * iconv/iconvconfig.c: Likewise.
21502 * iconv/iconv_prog.c: Likewise.
21503 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21504 * elf/pldd.c: Likewise.
21505 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21506 * catgets/gencat.c: Likewise.
21507 * csu/version.c: Likewise.
21508 * elf/ldd.bash.in: Likewise.
21509 * elf/sprof.c (print_version): Likewise.
21510 * locale/programs/locale.c: Likewise.
21511 * locale/programs/localedef.c: Likewise.
a316c1f6 21512 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21513 * nscd/nscd.c (print_version): Likewise.
21514 * debug/xtrace.sh: Likewise.
21515 * malloc/memusage.sh: Likewise.
21516 * malloc/mtrace.pl: Likewise.
21517 * debug/catchsegv.sh: Likewise.
21518
2ba92745
JJ
215192011-12-30 Jakub Jelinek <jakub@redhat.com>
21520
21521 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21522 pure attribute.
21523
dadebdae
UD
215242011-12-24 Ulrich Drepper <drepper@gmail.com>
21525
d3761ebc 21526 [BZ #13533]
db6af3eb
UD
21527 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21528 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21529 transformations.
21530 * iconv/gconv_int.h: Likewise.
21531 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21532 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21533 from libc for GLIBC_2.16.
21534 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21535 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21536 * wcsmbs/uchar.h: Really define mbstate_t.
21537 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21538 * wcsmbs/c16rtomb.c: New file.
21539 * wcsmbs/mbrtoc16.c: New file.
21540 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21541 for C/POSIX locale.
21542 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21543 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21544
dadebdae
UD
21545 * wcsmbs/wchar.h: Add missing __restrict.
21546
67371b56
UD
215472011-12-23 Ulrich Drepper <drepper@gmail.com>
21548
74033a25
UD
21549 [BZ #13532]
21550 * time/Makefile (routines): Add timespec_get.
21551 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21552 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21553 timespec for ISO C11.
21554 * time/timespec_get.c: New file.
21555 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21556 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21557
380d7e87
UD
21558 [BZ #13531]
21559 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21560 * stdlib/stdlib.h: Declare aligned_alloc.
21561 * Versions.def: Add GLIBC_2.16 for libc.
21562 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21563
4e9e7a35
UD
21564 [BZ 13527]
21565 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21566 ISO C11.
21567
380d7e87 21568 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21569 code.
21570
03a71829
UD
21571 [BZ #13528]
21572 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21573
839e283e
UD
21574 [BZ #13529]
21575 * assert/assert.h (static_assert): Define.
21576
ce5294e2 21577 * version.h: Update for 2.16 development version.
90fa7312 21578
8d44e150 21579 [BZ #13526]
d7809905
UD
21580 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21581 _ISOC11_SOURCE.
21582
c0da14cd
UD
21583 * version.h (RELEASE): Bump for 2.15 release.
21584 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21585
530a3249
MP
21586 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21587 Patch by Marek Polacek <mpolacek@redhat.com>.
21588
67371b56
UD
21589 * bits/byteswap.h: Protect long long constants with __extension__.
21590 * sysdeps/i386/bits/byteswap.h: Likewise.
21591 * sysdeps/ia64/bits/byteswap.h: Likewise.
21592 * sysdeps/s390/bits/byteswap.h: Likewise.
21593 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21594
15db4de1
LD
215952011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21596
21597 [BZ #13540]
bbe315ea
LD
21598 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21599 destination buffer.
15db4de1
LD
21600 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21601
2b2596b1
MP
216022011-12-23 Marek Polacek <polacek@redhat.com>
21603
21604 * elf/dl-addr.c (determine_info): Add inline keyword.
21605 * elf/tst-auditmod4b.c (check_avx): Likewise.
21606 * elf/tst-auditmod6b.c (check_avx): Likewise.
21607 * elf/tst-auditmod6c.c (check_avx): Likewise.
21608 * elf/tst-auditmod7b.c (check_avx): Likewise.
21609
70c6c246
UD
216102011-12-23 Ulrich Drepper <drepper@gmail.com>
21611
21612 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21613 !__SSE_MATH__.
21614
c044cf14
LD
216152011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21616
15db4de1 21617 [BZ #13540]
c044cf14
LD
21618 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21619 processing for last bytes.
21620
6b13d9d9
BH
216212011-08-06 Bruno Haible <bruno@clisp.org>
21622
d455f537
BH
21623 [BZ #13061]
21624 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21625 U+0385, not to U+1FEE.
21626
6b13d9d9
BH
21627 [BZ #13062]
21628 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21629 entry for U+00A5 U+0301.
21630
db910efd
UD
216312011-12-22 Ulrich Drepper <drepper@gmail.com>
21632
27deeafc
UD
21633 [BZ #13166]
21634 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21635 buffer for the output is too small.
21636
aed9d171
UD
21637 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21638 optimization.
21639
db910efd
UD
21640 [BZ #13185]
21641 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21642 SSE flags if possible.
21643
2bd779ae
LD
216442011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21645
e7f9dac3 21646 [BZ #13540]
2bd779ae
LD
21647 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21648 processing for last bytes.
21649
154bfc16
JM
216502011-12-22 Joseph Myers <joseph@codesourcery.com>
21651
21652 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21653 (syscall-list-default-options, syscall-list-default-condition)
21654 (syscall-list-includes): Define.
21655 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21656 list of ABIs and options and #if conditions for each ABI. Do not
21657 handle common syscalls between ABIs specially.
21658 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21659 Remove.
21660 (syscall-list-variants, syscall-list-32bit-options)
21661 (syscall-list-32bit-condition, syscall-list-64bit-options)
21662 (syscall-list-64bit-condition): Define.
21663 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21664 (syscall-list-variants, syscall-list-32bit-options)
21665 (syscall-list-32bit-condition, syscall-list-64bit-options)
21666 (syscall-list-64bit-condition): Define.
21667 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21668 Remove.
21669 (syscall-list-variants, syscall-list-32bit-options)
21670 (syscall-list-32bit-condition, syscall-list-64bit-options)
21671 (syscall-list-64bit-condition): Define.
21672 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21673 Remove.
21674 (syscall-list-variants, syscall-list-32bit-options)
21675 (syscall-list-32bit-condition, syscall-list-64bit-options)
21676 (syscall-list-64bit-condition): Define.
21677
21eaf3a5
UD
216782011-12-22 Ulrich Drepper <drepper@gmail.com>
21679
16c6f992
UD
21680 * locale/iso-639.def: Add brx entry.
21681
41043168
UD
21682 [BZ #13328]
21683 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21684 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21685
21eaf3a5
UD
21686 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21687 __feraiseexcept_renamed.
21688
e3a851a2
UD
216892011-12-21 Ulrich Drepper <drepper@gmail.com>
21690
4920765e
UD
21691 [BZ #13538]
21692 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21693 EPOLLET with unsigned values.
21694 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21695 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21696
e3a851a2
UD
21697 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21698 to large cancellation.
21699 * math/s_cacoshf.c: Likewise.
21700 * math/s_cacoshl.c: Likewise.
21701
b27e24b8
RK
217022011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21703
21704 [BZ #13305]
aebefeee 21705 [BZ #12786]
b27e24b8
RK
21706 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21707 * math/s_cacoshf.c: Likewise.
21708 * math/s_cacoshl.c: Likewise.
21709
ee190f67
UD
217102011-12-21 Ulrich Drepper <drepper@gmail.com>
21711
21712 [BZ #13439]
21713 * iconv/gconv.h: Define __GCONV_SWAP.
21714 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21715 * iconvdata/utf-16.c: Likewise.
21716 * iconvdata/utf-32.c: Likewise.
21717
707f25df
AS
217182011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21719
21720 [BZ #13524]
21721 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21722 numerator after shifting it by one limb.
21723
d2daaa1e
RÁE
217242011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21725
21726 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21727 under [__USE_EXTERN_INLINES].
21728
a4647e72
UD
217292011-12-17 Ulrich Drepper <drepper@gmail.com>
21730
21731 [BZ #13446]
21732 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21733
f0b264f1
AZ
217342011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21735
21736 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21737 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21738 optimized code.
21739 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21740 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21741 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21742 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21743 for strncasecmp/strncasecmp_l compilation.
21744 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21745 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21746
8ef4f244
MP
217472011-12-08 Marek Polacek <mpolacek@redhat.com>
21748
21749 [BZ #13484]
21750 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21751 of __asm__.
21752
97ac2654
UD
217532011-12-17 Ulrich Drepper <drepper@gmail.com>
21754
21755 [BZ #13506]
21756 * time/tzfile.c (__tzfile_read): Check values from file header.
21757
91d2a845
WS
217582011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21759
21760 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21761 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21762 * powerpc/powerpc32/dl-start.S: Likewise.
21763 * powerpc/powerpc32/elf/start.S: Likewise.
21764 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21765 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21766 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21767 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21768 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21769 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21770 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21771 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21772 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21773 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21774 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21775 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21776 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21777 * powerpc/powerpc32/memset.S: Likewise.
21778 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21779 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21780 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21781 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21782 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21783 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21784 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21785 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21786 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21787 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21788 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21789 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21790 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21791
a1267ba1
AZ
217922011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21793
21794 * math/libm-test.inc: Added more nearbyint tests.
21795 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21796 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21797 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21798 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21799
ad8ac1bd
RL
218002011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21801
21802 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21803 FD_CLOEXEC.
21804
1d3e4b61
UD
218052011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21806
21807 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21808 Add wcscpy-ssse3 wcscpy-c.
21809 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21810 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21811 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21812 * sysdeps/x86_64/wcschr.S: New file.
21813 * sysdeps/x86_64/wcsrchr.S: New file.
21814 * string/test-strcmp.c: Remove checking of wcscmp function for
21815 wrong alignments.
21816 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21817 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21818 wcsrchr-sse2 wcsrchr-c.
21819 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21820 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21821 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21822 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21823 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21824 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21825 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21826 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21827 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21828 * wcsmbc/wcschr.c (WCSCHR): New macro.
21829
5b330a2d
UD
218302011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21831
21832 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21833 * wcsmbs/test-wcsrchr.c: New file.
21834 * string/test-strrchr.c: Add wcsrchr support.
21835 (WIDE): New macro.
21836 * wcsmbs/test-wcscpy.c: New file.
21837 * string/test-strcpy.c: Add wcscpy support.
21838 (WIDE): New macro.
26428b7c 21839
f039c043
UD
218402011-12-10 Ulrich Drepper <drepper@gmail.com>
21841
21842 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21843 the inner loop.
21844
850fb039
AS
218452011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21846
21847 [BZ #13472]
21848 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21849
4efbd5cb
UD
218502011-12-04 Ulrich Drepper <drepper@gmail.com>
21851
52ff5dd0 21852 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21853 Minor optimizations.
52ff5dd0 21854
4efbd5cb
UD
21855 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21856 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21857 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21858
8a426e12
UD
218592011-12-03 Ulrich Drepper <drepper@gmail.com>
21860
aff2453d
UD
21861 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21862 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21863 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21864 for gcc to avoid warnings.
21865 * inet/Makefile (tests): Add tst-checks.
21866 * inet/tst-checks.c: New file.
21867
21868 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21869 warning.
21870
21871 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21872 __wmemcmp_sse2.
21873
21874 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21875 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21876
8a426e12
UD
21877 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21878
9bea3473
UD
218792011-12-02 Ulrich Drepper <drepper@gmail.com>
21880
3a965496
UD
21881 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21882 problem.
21883
9bea3473
UD
21884 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21885
f101631b
UD
218862011-11-29 Joseph Myers <joseph@codesourcery.com>
21887
21888 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21889 conditional on GCC version.
21890 (__arch_compare_and_exchange_val_8_acq)
21891 (__arch_compare_and_exchange_val_16_acq)
21892 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21893 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21894 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21895
a98275aa
UD
218962011-12-02 Joseph Myers <joseph@codesourcery.com>
21897
21898 * sysdeps/sh/backtrace.c: New file.
21899
d4cc29a2
AS
219002011-12-02 Andreas Schwab <schwab@redhat.com>
21901
21902 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21903 parenthesis.
21904
6257af2d
AS
219052011-12-01 Andreas Schwab <schwab@redhat.com>
21906
21907 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21908 falling back to utime.
21909
b5f44c1a
AS
219102011-11-30 Andreas Schwab <schwab@redhat.com>
21911
21912 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21913 expectations for float.
21914
f3a6cc0a
AS
219152011-11-29 Andreas Schwab <schwab@redhat.com>
21916
21917 * locale/weight.h (findidx): Add parameter len.
21918 * locale/weightwc.h (findidx): Likewise.
21919 * posix/fnmatch_loop.c (FCT): Adjust caller.
21920 * posix/regcomp.c (build_equiv_class): Likewise.
21921 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21922 * posix/regexec.c (check_node_accept_bytes): Likewise.
21923 * string/strcoll_l.c (STRCOLL): Likewise.
21924 * string/strxfrm_l.c (STRXFRM): Likewise.
21925
9d65ea3a
UD
219262011-11-17 Ulrich Drepper <drepper@gmail.com>
21927
21928 * Makefile.in: Remove CVSOPT handling.
21929 * configure.in: Remove use of AC_REVISION.
21930 * iconvdata/Makefile (distribute): No need to filter out CVS.
21931 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21932 handling.
21933
5583a086
AS
219342011-11-16 Andreas Schwab <schwab@redhat.com>
21935
21936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21937 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21938 [USE_AS_STRNCASECMP_L]: Likewise.
21939 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21940 NO_TLS_DIRECT_SEG_REFS.
21941 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21942 Fix argument offsets for non-PIC.
21943 [USE_AS_STRNCASECMP_L]: Likewise.
21944 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21945 NO_TLS_DIRECT_SEG_REFS.
21946
d62a8200
UD
219472011-11-15 Ulrich Drepper <drepper@gmail.com>
21948
9d65ea3a 21949 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21950 O_CLOEXEC.
21951 * locale/loadlocale.c (_nl_load_locale): Likewise.
21952
09f93bd3
AS
219532011-11-15 Andreas Schwab <schwab@redhat.com>
21954
446514f9
AS
21955 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21956 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21957 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21958 (SYSCALL_GETTIME): Set errno on error.
21959
09f93bd3
AS
21960 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21961 count references to noai6ai_cached.
21962
312be3f9
UD
219632011-11-15 Ulrich Drepper <drepper@gmail.com>
21964
21965 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21966
21967 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21968 FD_CLOEXEC for /proc/self/maps.
21969
21970 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21971 FD_CLOEXEC for /proc/meminfo.
21972
21973 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21974 gai.conf.
21975
21976 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21977 FD_CLOEXEC for given file.
21978
21979 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21980
21981 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21982 FD_CLOEXEC for /etc/hosts.
21983 (_gethtent): Likewise.
21984
21985 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21986
21987 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21988 cancellation and set FD_CLOEXEC for /etc/netgroup.
21989
21990 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21991 reading /etc/publickey.
21992
21993 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21994 allow cancellation when reading /etc/group.
21995
21996 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21997 cancellation.
21998 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21999
22000 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22001 when using data file.
22002
22003 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22004
22005 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22006 (write_nis_obj): Use "c" and "e" in fopen.
22007
22008 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22009
22010 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22011
22012 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22013
22014 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22015
22016 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22017 locale.alias.
22018
22019 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22020
22021 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22022
22023 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22024
22025 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22026 file parsing and set FD_CLOEXEC.
22027
82af0fa8
UD
220282011-11-14 Ulrich Drepper <drepper@gmail.com>
22029
22030 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22031
a5fb313c
AS
220322011-11-14 Andreas Schwab <schwab@redhat.com>
22033
22034 * malloc/arena.c (arena_get2): Don't call reused_arena when
22035 _int_new_arena failed.
22036
6abf3465
UD
220372011-11-14 Ulrich Drepper <drepper@gmail.com>
22038
22039 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22040 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22041 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22042 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22043 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22044 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22045 to compile strcasecmp and strncasecmp.
22046 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22047 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22048
22049 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22050
76e3966e
UD
220512011-11-13 Ulrich Drepper <drepper@gmail.com>
22052
22053 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22054 locale-defines.sym to gen-as-const-headers.
22055 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22056 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22058 to compile strcasecmp and strncasecmp.
22059 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22060 strcasecmp_l and strncasecmp_l.
22061 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22062 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22063 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22064 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22065 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22066 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22067 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22068 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22069 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22070 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22071 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22072
ab26144e
UD
220732011-11-12 Ulrich Drepper <drepper@gmail.com>
22074
7edb22ef
UD
22075 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22076 result of SYSDEP_GETTIME_CPU to retval.
22077 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22078 parameter list to macro. Remove trailing semicolon. Adjust users.
22079
9694fc44
UD
22080 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22081 variable.
22082
8ad89ef8
UD
22083 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22084 mantissa words.
22085 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22086
0c822ef9
UD
22087 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22088 from unused variable.
22089
874e0564
UD
22090 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22091 DWARF definitions.
22092 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22093 for assembling.
22094
3a2edc79
UD
22095 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22096 over namespaces.
22097
f3c2577f
UD
22098 * sunrpc/rpc_prot.c (rejected): Fix case value.
22099
294ce126
UD
22100 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22101 unsigned long long int to avoid warnings in shift.
22102
5e2b63c6
UD
22103 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22104 of use of trans.
22105 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22106 variable tmp.
22107
e7f4b08e
UD
22108 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22109 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22110 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22111
ab26144e
UD
22112 * nis/nis_table.c (nis_list): Use variable of correct type for
22113 result of __follow_path call.
22114
8a6d5255
AZ
221152011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22116
22117 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22118 of math functions ceil, trunc, floor, round, and sqrt, when
22119 avaliable on the platform.
22120 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22121 name clash.
22122 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22123 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22124 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22125
aaddc98c
MP
221262011-10-30 Marek Polacek <mpolacek@redhat.com>
22127
22128 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22129 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22130
95b7042b
RM
221312011-11-11 Roland McGrath <roland@hack.frob.com>
22132
22133 * include/unistd.h: Fix __readlink return type.
22134 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22135
57769839
UD
221362011-11-11 Ulrich Drepper <drepper@gmail.com>
22137
22138 * stdlib/ucontext.h: Undo last change for makecontext.
22139
edc5984d
AS
221402011-11-11 Andreas Schwab <schwab@redhat.com>
22141
98591e58
AS
22142 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22143
edc5984d
AS
22144 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22145 * setjmp/setjmp.h: Mark functions as non-leaf.
22146 * setjmp/bits/setjmp2.h: Likewise.
22147 * stdlib/ucontext.h: Likewise.
22148
77cdc054
AS
221492011-11-10 Andreas Schwab <schwab@redhat.com>
22150
22151 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22152 (reused_arena): Don't check arena limit.
22153 (arena_get2): Atomically check arena limit.
22154
fe72eebd
UD
221552011-11-08 Ulrich Drepper <drepper@gmail.com>
22156
5f078c32
UD
22157 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22158 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22159
fe72eebd
UD
22160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22161 instructions.
22162
ae1bc2fa
AS
221632011-11-07 Andreas Schwab <schwab@redhat.com>
22164
7583a88d
AS
22165 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22166 handler when locking.
22167
ae1bc2fa
AS
22168 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22169 Fix size of allocated buffer.
22170
10fb0bfa
AS
221712011-11-04 Andreas Schwab <schwab@redhat.com>
22172
998832a4
AS
22173 [BZ #10103]
22174 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22175 declarations for long double functions.
22176 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22177
10fb0bfa
AS
22178 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22179
3d7ba52b
AS
221802011-11-03 Andreas Schwab <schwab@redhat.com>
22181
a9ae54a1
AS
22182 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22183 installed.
22184
3d7ba52b
AS
22185 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22186 is disabled.
22187
bc8db248
ST
221882011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22189
22190 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22191
45b96dd6
AS
221922011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22193
647776f6
AS
22194 * include/alloca.h (stackinfo_alloca_round): Define.
22195 (extend_alloca): Use it.
22196 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22197 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22198 here.
22199
d91a8b93
AS
22200 * scripts/check-local-headers.sh: Ignore libaudit.h.
22201
45b96dd6
AS
22202 * nscd/Makefile (extra-objs): Make recursively expanded.
22203
432d41ce
UD
222042011-11-01 Ulrich Drepper <drepper@gmail.com>
22205
34372fc6
UD
22206 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22207 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22208
fadb59f8
UD
22209 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22210 * posix/tst-rfc3484-2.c: Likewise.
22211 * posix/tst-rfc3484-3.c: Likewise.
22212
78239589
UD
22213 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22214 process_vm_writev.
22215 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22216 process_vm_writev.
22217 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22218 process_vm_writev from libc using GLIBC_2.15 version.
22219
432d41ce
UD
22220 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22221
02f9c6cf
PP
222222011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22223
22224 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22225 stack usage.
22226
3a2c0242
UD
222272011-10-31 Ulrich Drepper <drepper@gmail.com>
22228
f4ec4833
UD
22229 [BZ #13367]
22230 * nss/getent.c (initgroups_keys): Show error message in case no group
22231 names are given.
22232
3a2c0242
UD
22233 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22234 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22235 __bump_nl_timestamp.
22236 * nscd/connections (nscd_init): When host database is served open
22237 netlink socket and request notification about configuration changes.
22238 (main_loop_poll): Track netlink file descriptor and bump timestamp
22239 in case data becomes available.
22240 (main_loop_epoll): Likewise.
22241 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22242 (database_pers_head): Add extra_data fileds.
22243 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22244 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22245 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22246 Adjust caller.
22247 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22248 in6ai data, call __free_in6ai.
22249 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22250 Add -DHAVE_NETLINK.
22251 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22252 interface information. Reuse previous data if netlink timestamp
22253 is not changed.
22254 (__bump_nl_timestamp): New function.
22255 (__free_in6ai): New function.
22256
636064eb
UD
222572011-10-30 Ulrich Drepper <drepper@gmail.com>
22258
22259 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22260 close_not_cancel_no_status here.
22261 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22262
9beb2334
UD
222632011-10-29 Ulrich Drepper <drepper@gmail.com>
22264
6ef76f3b
UD
22265 [BZ #13276]
22266 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22267 return value.
22268
0ffc4f3e 22269 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22270 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22271 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22272
cb95113e
UD
222732011-07-03 Andreas Jaeger <aj@suse.de>
22274
22275 [BZ #10709]
22276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22277 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22278 * math/libm-test.inc (sin_test): Add test case.
22279
a1b560ff
UD
222802011-10-29 Ulrich Drepper <drepper@gmail.com>
22281
c9aaface
UD
22282 [BZ #13337]
22283 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22284 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22285
d272e7f1
UD
22286 * elf/chroot_canon.c (chroot_canon): Cleanups.
22287
1bc33071
UD
22288 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22289
1760874d
TJ
22290 [BZ #13335]
22291 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22292 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22293
51d91b18
UD
22294 * string/test-strchr.c: Make usable for strchrnul testing.
22295 * string/test-strchrnul.c: New file.
22296 * string/Makefile (strop-tests): Add strchrnul.
22297
a1b560ff 22298 * po/it.po: Update from translation team.
b611fb81 22299 * po/es.po: Likewise.
a1b560ff 22300
a5b81e1f
UD
223012011-10-28 Ulrich Drepper <drepper@gmail.com>
22302
fd52bc6d
UD
22303 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22304 the three constants needed as parameters. Drop the others.
22305 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22306 __m128i_strloadu_tolower.
52e4b9eb
UD
22307 Create and initialize variable zero and use it in all the places
22308 where _mm_setzero_si128 was used.
fd52bc6d 22309
a5b81e1f
UD
22310 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22311 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22312 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22313 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22314 anymore.
22315 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22316 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22317 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22318 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22319 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22320 __mpranred, __mptan.
22321 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22322 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22323 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22324 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22325 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22326 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22327 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22328 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22329 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22330
b4343346
AS
223312011-10-28 Andreas Schwab <schwab@redhat.com>
22332
0c92d8a8
AS
22333 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22334 redefine if SHARED.
22335 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22336
b4343346
AS
22337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22338 wide char related routines to wcsmbs subdir.
22339
3871f58f
AS
223402011-10-27 Andreas Schwab <schwab@redhat.com>
22341
22342 [BZ #13344]
22343 * misc/sys/cdefs.h (__THROWNL): Define.
22344 * posix/unistd.h: Use __THREADNL instead of __THREAD
22345 for memory synchronization functions.
22346
94d44d9f
RM
223472011-10-26 Roland McGrath <roland@hack.frob.com>
22348
21b64b15 22349 [BZ #13349]
94d44d9f
RM
22350 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22351 doesn't exist.
22352 * manual/stdio.texi (Obstack Streams): Node removed.
22353
f6ce9294
AS
223542011-10-26 Andreas Schwab <schwab@redhat.com>
22355
80479147
AS
22356 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22357 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22358 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22359
f6ce9294
AS
22360 * math/math_private.h (math_force_eval): Allow non-addressable
22361 arguments.
22362 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22363
618280a1
UD
223642011-10-25 Ulrich Drepper <drepper@gmail.com>
22365
e0016b11
UD
22366 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22367 file is not needed.
22368
22369 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22371 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22372 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22373 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22374 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22375 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22376 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22377 Add AVX variants.
22378 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22379 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22380 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22381 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22382 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22383 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22384 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22385 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22386 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22387 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22388 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22389 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22390 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22391 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22392 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22393 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22394 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22395 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22396 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22397
22398 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22399 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22400
618280a1
UD
22401 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22402 place. Use VEX encoding when compiling for AVX.
22403
37822576
AS
224042011-10-25 Andreas Schwab <schwab@redhat.com>
22405
1f1e1947
AS
22406 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22407 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22408
37822576
AS
22409 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22410
31ea014d
UD
224112011-10-25 Ulrich Drepper <drepper@gmail.com>
22412
d7826aa1 22413 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22414 useless if() expression.
d7826aa1
UD
22415 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22416 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22417 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22418 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22419 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22420 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22424 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22425 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22426 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22427 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22428 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22429 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22430 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22431 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22432 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22433 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22434
31ea014d
UD
22435 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22436
16437fec
AS
224372011-10-25 Andreas Schwab <schwab@redhat.com>
22438
22439 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22440 condition.
22441 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22442
31d3cc00
UD
224432011-10-25 Ulrich Drepper <drepper@gmail.com>
22444
22445 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22446 .text section. Avoid duplicate constants.
22447 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22449 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22451 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22452 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22453 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22454 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22455 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22456 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22457 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22458 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22459 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22460 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22461 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22462 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22463 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22464 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22465 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22466 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22467 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22468 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22469 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22470 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22471 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22472 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22473 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22474 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22475 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22476 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22477 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22478 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22479 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22480 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22481 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22482 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22483 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22484 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22485 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22486 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22487 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22488 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22489 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22490 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22491 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22492
58985aa9
UD
224932011-10-24 Ulrich Drepper <drepper@gmail.com>
22494
202c9deb
UD
22495 * sysdeps/x86_64/dla.h: Move to ...
22496 * sysdeps/x86_64/fpu/dla.h: ...here.
22497 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22498 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22499
af968f62
UD
22500 * config.make.in: Add have-mfma4 entry.
22501 * configure.in: Substitute libc_cv_cc_fma4.
22502 * math/Makefile (dbl-only-routines): Add sincostab.
22503 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22504 Use __sincostab not sincos.
22505 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22506 name is a macro.
22507 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22508 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22509 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22511 using __copysign.
22512 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22513 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22514 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22515 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22516 and __inv.
22517 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22518 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22519 __copysign.
22520 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22521 define aliases when function name is a macro.
22522 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22523 sysdeps/ieee754/dbl-64/sincos.tbl.
22524 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22525 fma4-enabled routines.
22526 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22527 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22528 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22529 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22530 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22531 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22532 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22533 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22534 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22535 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22536 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22537 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22538 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22539 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22540 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22541 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22542 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22543 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22544 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22545 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22546 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22547 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22549 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22550 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22551 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22552 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22553 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22554 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22555 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22556
58985aa9
UD
22557 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22558 rename.
22559 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22563 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22565 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22567
a201fbcf
AS
225682011-10-24 Andreas Schwab <schwab@redhat.com>
22569
22570 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22571
fc2ee42a
LD
225722011-10-23 Ulrich Drepper <drepper@gmail.com>
22573
bb3129bd
UD
22574 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22575
0275fff8
UD
22576 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22577 prediction.
22578 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22579
2fa2ae85
UD
22580 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22581 Remove unused variable magic_bits.
22582 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22583
fc2ee42a
LD
22584 * string/strnlen.c: Define and use STRNLEN macro.
22585 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22586 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22587 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22588 * wcsmbs/wcslen.c: Define and use WCSLEN.
22589 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22590 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22591 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22592 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22593 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22594 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22595 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22596
ce7dd29f
LD
225972011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22598
22599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22600 strnlen-sse2-no-bsf.
22601 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22602 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22603 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22604 Add strnlen support.
22605 (USE_AS_STRNLEN): New macro.
22606 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22607 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22608 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22609 * sysdeps/x86_64/wcslen.S: New file.
22610
979c70a3
MZ
226112011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22612
22613 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22614 XMM-moves are used for copying on small sizes.
22615
2d09f82f
LD
226162011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22617
22618 * wcsmbs/Makefile (strop-tests): Add wcschr.
22619 * wcsmbs/test-wcschr.c: New file.
22620 * string/test-strchr.c: Update.
22621 Add wcschr support.
22622 (WIDE): New macro.
22623
619fccca
LD
226242011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22625
2d09f82f 22626 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22627 * wcsmbs/test-wcslen.c: New file.
22628 * string/test-strlen.c: Update.
22629 Add wcslen support.
22630 (WIDE): New macro.
22631
09f699ea
UD
226322011-10-23 Ulrich Drepper <drepper@gmail.com>
22633
22634 * po/it.po: Update from translation team.
22635
95584d3b
LD
226362011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22637
22638 * sysdeps/x86_64/wcscmp.S: Update.
22639 Fix wrong comparison semantics.
22640 wcscmp shall use signed comparison not unsigned.
22641 Don't use substraction to avoid overflow bug.
22642 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22643 * wcsmbc/wcscmp.c: Likewise.
22644 * string/test-strcmp.c: Likewise.
22645 Add new tests to check cases with negative values.
22646
c8b3296b
UD
226472011-10-23 Ulrich Drepper <drepper@gmail.com>
22648
22649 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22650 * sysdeps/x86_64/dla.h: ...here. New file.
22651 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22656 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22657 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22660
246ad57a
AS
226612011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22662
22663 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22664 __ynl_finite aliases.
22665
a1a87169
UD
226662011-10-22 Ulrich Drepper <drepper@gmail.com>
22667
0d355eb7
UD
22668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22669
a1a87169
UD
22670 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22671 define DLA_FMA.
22672 [DLA_FMA] (EMULV): Use DLA_FMA.
22673 [DLA_FMA] (MUL12): Use EMULV.
22674 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22675 that are not needed.
22676 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22677 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22679 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22681 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22682 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22683
ee2aafe0
AS
226842011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22685
22686 * math/s_nan.c: Undef __nan.
22687 * math/s_nanf.c: Undef __nanf.
22688 * math/s_nanl.c: Undef __nanl.
22689 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22690 "math_private.h".
22691
bc62c2fb
UD
226922011-10-22 Ulrich Drepper <drepper@gmail.com>
22693
77425c63
UD
22694 * math/s_catan.c: Add branch predictions.
22695 * math/s_catanf.c: Likewise.
22696 * math/s_catanh.c: Likewise.
22697 * math/s_catanhf.c: Likewise.
22698 * math/s_catanhl.c: Likewise.
22699 * math/s_catanl.c: Likewise.
22700 * math/s_cexp.c: Likewise.
22701 * math/s_cexpf.c: Likewise.
22702 * math/s_cexpl.c: Likewise.
22703 * math/s_clog.c: Likewise.
22704 * math/s_clog10.c: Likewise.
22705 * math/s_clog10f.c: Likewise.
22706 * math/s_clog10l.c: Likewise.
22707 * math/s_clogf.c: Likewise.
22708 * math/s_clogl.c: Likewise.
22709 * math/s_csqrt.c: Likewise.
22710 * math/s_csqrtf.c: Likewise.
22711 * math/s_csqrtl.c: Likewise.
22712 * math/s_ctanf.c: Likewise.
22713 * math/s_ctanh.c: Likewise.
22714 * math/s_ctanhf.c: Likewise.
22715 * math/s_ctanhl.c: Likewise.
22716 * math/s_ctanl.c: Likewise.
22717
bc62c2fb
UD
22718 * math/math_private.h: Define __nan, __nanf, __nanl.
22719 * math/s_cacosh.c: Include <math_private.h>.
22720 * math/s_cacoshl.c: Likewise.
22721 * math/s_casinh.c: Likewise.
22722 * math/s_casinhf.c: Likewise.
22723 * math/s_casinhl.c: Likewise.
22724 * math/s_ccos.c: Rely entire on ccosh.
22725 * math/s_ccosf.c: Rely entire on ccoshf.
22726 * math/s_ccosl.c: Rely entirely on ccoshl.
22727 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22728 Remove tests for FE_INVALID.
22729 * math/s_ccoshf.c: Likewise.
22730 * math/s_ccoshl.c: Likewise.
22731 * math/s_csin.c: Likewise.
22732 * math/s_csinf.c: Likewise.
22733 * math/s_csinh.c Likewise.
22734 * math/s_csinhf.c: Likewise.
22735 * math/s_csinhl.c: Likewise.
22736 * math/s_csinl.c: Likewise.
22737 * math/s_ctan.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22739 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22740 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22741
8ec250a4
UD
227422011-10-21 Ulrich Drepper <drepper@gmail.com>
22743
c196fed8
UD
22744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22745 compilation problems.
22746
8ec250a4
UD
22747 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22748 __builtin_expect.
22749
8d4f46c6
UD
227502011-10-20 Ulrich Drepper <drepper@gmail.com>
22751
ed72b654
UD
22752 * sysdeps/i386/configure.in: Test for -mfma4 option.
22753 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22754 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22755 COMMON_CPUID_INDEX_80000001.
22756 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22757 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22758 use it if FMA3 is not supported.
22759 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22760
8d4f46c6
UD
22761 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22762 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22763
d45c60c2
AS
227642011-10-20 Andreas Schwab <schwab@redhat.com>
22765
22766 [BZ #12892]
22767 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22768 it would create a cycle with a link time dependency.
22769
d9a4d2ab
UD
227702011-10-19 Ulrich Drepper <drepper@gmail.com>
22771
855d1560
UD
22772 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22773 instruction.
22774 * string/Makefile (strop-tests): Add rawmemchr.
22775 * string/test-rawmemchr.c: New file.
22776
d9a4d2ab
UD
22777 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22778 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22779 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22780 when compiling str{,n}casecmp and when AVX is available. Hook up
22781 new optimized code in initializers.
22782
8f3b1ffe
AS
227832011-10-19 Andreas Schwab <schwab@redhat.com>
22784
22785 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22786 __feraiseexcept instead of feraiseexcept.
22787
d38f1dba
UD
227882011-10-18 Ulrich Drepper <drepper@gmail.com>
22789
d9a8d0ab
UD
22790 * math/math_private.h: Define defaults for libc_fetestexcept and
22791 libc_feupdateenv.
22792 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22793 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22794 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22795 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22796 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22797 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22798 libc_fetestexcept and libc_feupdateenv.
22799
4855e3dd
UD
22800 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22801 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22802 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22803 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22804 libc_feholdexcept_setround.
22805
581d30e3
UD
22806 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22807 Add s_nearbyint-c and s_nearbyintf-c.
22808 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22809 nearbyintf inlines.
22810 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22811 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22812 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22813 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22814
d38f1dba
UD
22815 * math/math_private.h: Define defaults for libc_fegetround,
22816 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22817 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22818 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22819 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22820 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22821 standard functions.
22822 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22823 Remove comments and hacks for old compiler versions.
22824 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22825 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22826 libc_feholdexceptl.
22827
caa6c9d8
AS
228282011-10-18 Andreas Schwab <schwab@redhat.com>
22829
22830 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22831 (__feraiseexcept_renamed): Add __NTH.
22832 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22833 namespace violations.
22834
97c066e6
UD
228352011-10-17 Ulrich Drepper <drepper@gmail.com>
22836
99ce7b04
UD
22837 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22838
1004d182
UD
22839 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22840
228a984d
UD
22841 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22842 recently added interfaces.
22843 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22844
c8553a6a
UD
22845 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22846 about macro parameter expansion.
22847
ed22dcf6
UD
22848 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22849 __NO_MATH_INLINES is defined. Cleanups.
22850
22851 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22852 and __floorf is target has SSE4.1.
22853 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22854 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22855 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22856 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22857
b171c137
UD
22858 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22859 name.
22860 (floorf): Likewise.
22861
97c066e6
UD
22862 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22863
629f62ef
AS
228642011-10-17 Andreas Schwab <schwab@redhat.com>
22865
49a43d80
AS
22866 * misc/sys/cdefs.h: Fix last change.
22867
629f62ef
AS
22868 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22869 database lookup.
22870
e453f6cd
UD
228712011-10-16 Ulrich Drepper <drepper@gmail.com>
22872
aa78043a
UD
22873 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22874
ad0f5cad
UD
22875 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22876 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22877 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22878 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22880 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22881 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22882 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22883 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22884 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22885 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22886 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22887 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22888 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22889 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22890 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22891 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22892 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22893 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22894 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22895 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22896 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22897
22898 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22899 ceil, ceilf, floor, floorf.
22900
22901 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22902 Perform IRELATIVE relocations last.
22903
e453f6cd
UD
22904 * elf/do-rel.h: Add another parameter nrelative, replacing the
22905 local variable with the same name. Change name of the function
22906 to end in Rel or Rela (uppercase).
22907 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22908 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22909 elf_dynamic_do_##reloc function.
22910
fd5bdc09
UD
229112011-10-15 Ulrich Drepper <drepper@gmail.com>
22912
79b195b5
UD
22913 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22914 is sufficient, at least on modern CPUs.
22915
d4a28569
UD
22916 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22917
b61099b5
UD
22918 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22919 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22920
bcf01e6d
UD
22921 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22922 __expl_finite.
22923 * math/bits/math-finite.h: Add entries for exp.
22924 * math/e_expl.c: Add __*_finite alias.
22925 * sysdeps/i386/fpu/e_exp.S: Likewise.
22926 * sysdeps/i386/fpu/e_expf.S: Likewise.
22927 * sysdeps/i386/fpu/e_expl.c: Likewise.
22928 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22929 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22930 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22931 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22932 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22933 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22934 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22935
ba1a0d59
UD
22936 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22937 is sufficient, at least on modern CPUs.
22938
fd5bdc09
UD
22939 * ctype/ctype-info.c (__ctype_init): Define.
22940 * include/ctype.h (__ctype_init): Declare.
22941 (__ctype_b_loc): The variable is always initialized.
22942 (__ctype_toupper_loc): Likewise.
22943 (__ctype_tolower_loc): Likewise.
22944 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22945 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22946
7872cfb0
AS
229472011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22948
b468825a
AS
22949 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22950
7872cfb0
AS
22951 * configure.in: Also look in $cxxmachine/include for C++ system
22952 headers.
22953
be13f7bf
LD
229542011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22955
22956 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22957 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22958 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22959 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22960 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22961 (USE_AS_WMEMCMP): New macro.
22962 Fixing indents.
22963 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22964 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22965 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22966 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22968 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22969 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22970 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22971 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22972 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22973 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22974 (USE_AS_WMEMCMP): New macro.
22975 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22976 * sysdeps/string/test-memcmp.c: Update.
22977 Fix simple_wmemcmp.
22978 Add new tests.
22979 * wcsmbs/wmemcmp.c: Update.
22980 (WMEMCMP): New macro.
22981 Fix overflow bug.
22982
556a2007
AJ
229832011-10-12 Andreas Jaeger <aj@suse.de>
22984
22985 [BZ #13268]
22986 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22987
538faaa7
UD
229882011-10-15 Ulrich Drepper <drepper@gmail.com>
22989
ab6737ff
UD
22990 * libio/iofwide.c (do_length): Avoid warning.
22991
538faaa7
UD
22992 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22993
396a21b1
UD
229942011-10-14 Ulrich Drepper <drepper@gmail.com>
22995
cdf2901f
UD
22996 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22997
38ad40ce
UD
22998 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22999 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23000 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23001 * sysdeps/i386/i686/fpu/e_log.S: New file.
23002 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23003 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23004
396a21b1
UD
23005 * ctype/ctype.h: Add support for inlined isXXX functions when
23006 compiling C++ code.
23007
6b1f68c9
AS
230082011-10-14 Andreas Schwab <schwab@redhat.com>
23009
349290c0
AS
23010 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23011
6b1f68c9
AS
23012 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23013
f2282d42
RM
230142011-10-13 Roland McGrath <roland@hack.frob.com>
23015
23016 [BZ #13291]
23017 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23018
5298ffa8
AS
230192011-10-13 Andreas Schwab <schwab@redhat.com>
23020
714fad23
AS
23021 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23022 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23023 feraiseexcept.
23024
81dcc7fb
AS
23025 * sysdeps/x86_64/memrchr.S: Check for zero size.
23026
5298ffa8
AS
23027 * string/stratcliff.c: Add memrchr tests.
23028
951fbcec
LD
230292011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23030
23031 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23032 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23033 rawmemchr-sse2 rawmemchr-sse2-bsf.
23034 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23035 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23036 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23037 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23038 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23039 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23040 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23041 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23042 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23043 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23044 * string/memrchr.c (MEMRCHR): New macro.
23045
0ac5ae23
UD
230462011-10-12 Ulrich Drepper <drepper@gmail.com>
23047
23048 Add integration with gcc's -ffinite-math-only and optimize wrapper
23049 functions in libm.
23050 * Versions.def: Define GLIBC_2.15 version for libm.
23051 * math/Makefile (headers): Add bits/math-finite.h.
23052 * math/bits/math-finite.h: New file.
23053 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23054 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23055 * math/e_acoshl.c: Add __*_finite alias.
23056 * math/e_acosl.c: Likewise.
23057 * math/e_asinl.c: Likewise.
23058 * math/e_atan2l.c: Likewise.
23059 * math/e_atanhl.c: Likewise.
23060 * math/e_coshl.c: Likewise.
23061 * math/e_exp10.c: Likewise.
23062 * math/e_exp10f.c: Likewise.
23063 * math/e_exp10l.c: Likewise.
23064 * math/e_exp2l.c: Likewise.
23065 * math/e_fmodl.c: Likewise.
23066 * math/e_gammal_r.c: Likewise.
23067 * math/e_hypotl.c: Likewise.
23068 * math/e_j0l.c: Likewise.
23069 * math/e_j1l.c: Likewise.
23070 * math/e_jnl.c: Likewise.
23071 * math/e_lgammal_r.c: Likewise.
23072 * math/e_log10l.c: Likewise.
23073 * math/e_log2l.c: Likewise.
23074 * math/e_logl.c: Likewise.
23075 * math/e_powl.c: Likewise.
23076 * math/e_sinhl.c: Likewise.
23077 * math/e_sqrtl.c: Likewise.
23078 * math/e_scalb.c: Completely rewritten and optimized.
23079 * math/e_scalbf.c: Likewise.
23080 * math/e_scalbl.c: Likewise.
23081 * math/w_acos.c: Likewise.
23082 * math/w_acosf.c: Likewise.
23083 * math/w_acosl.c: Likewise.
23084 * math/w_acosh.c: Likewise.
23085 * math/w_acoshf.c: Likewise.
23086 * math/w_acoshl.c: Likewise.
23087 * math/w_asin.c: Likewise.
23088 * math/w_asinf.c: Likewise.
23089 * math/w_asinl.c: Likewise.
23090 * math/w_atan2.c: Likewise.
23091 * math/w_atan2f.c: Likewise.
23092 * math/w_atan2l.c: Likewise.
23093 * math/w_atanh.c: Likewise.
23094 * math/w_atanhf.c: Likewise.
23095 * math/w_atanhl.c: Likewise.
23096 * math/w_exp10.c: Likewise.
23097 * math/w_exp10f.c: Likewise.
23098 * math/w_exp10l.c: Likewise.
23099 * math/w_fmod.c: Likewise.
23100 * math/w_fmodf.c: Likewise.
23101 * math/w_fmodl.c: Likewise.
23102 * math/w_j0.c: Likewise.
23103 * math/w_j0f.c: Likewise.
23104 * math/w_j0l.c: Likewise.
23105 * math/w_j1.c: Likewise.
23106 * math/w_j1f.c: Likewise.
23107 * math/w_j1l.c: Likewise.
23108 * math/w_jn.c: Likewise.
23109 * math/w_jnf.c: Likewise.
23110 * math/w_log.c: Likewise.
23111 * math/w_logf.c: Likewise.
23112 * math/w_logl.c: Likewise.
23113 * math/w_log10.c: Likewise.
23114 * math/w_log10f.c: Likewise.
23115 * math/w_log10l.c: Likewise.
23116 * math/w_log2.c: Likewise.
23117 * math/w_log2f.c: Likewise.
23118 * math/w_log2l.c: Likewise.
23119 * math/w_pow.c: Likewise.
23120 * math/w_powf.c: Likewise.
23121 * math/w_powl.c: Likewise.
23122 * math/w_remainder.c: Likewise.
23123 * math/w_remainderf.c: Likewise.
23124 * math/w_remainderl.c: Likewise.
23125 * math/w_scalb.c: Likewise.
23126 * math/w_scalbf.c: Likewise.
23127 * math/w_scalbl.c: Likewise.
23128 * math/w_sqrt.c: Likewise.
23129 * math/w_sqrtf.c: Likewise.
23130 * math/w_sqrtl.c: Likewise.
23131 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23132 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23133 used.
23134 * math/math_private.h: Declare __kernel_standard_f.
23135 * math/w_cosh.c: Remove cruft and optimize a bit.
23136 * math/w_coshf.c: Likewise.
23137 * math/w_coshl.c: Likewise.
23138 * math/w_exp2.c: Likewise.
23139 * math/w_exp2f.c: Likewise.
23140 * math/w_exp2l.c: Likewise.
23141 * math/w_hypot.c: Likewise.
23142 * math/w_hypotf.c: Likewise.
23143 * math/w_hypotl.c: Likewise.
23144 * math/w_lgamma.c: Likewise.
23145 * math/w_lgamma_r.c: Likewise.
23146 * math/w_lgammaf.c: Likewise.
23147 * math/w_lgammaf_r.c: Likewise.
23148 * math/w_lgammal.c: Likewise.
23149 * math/w_lgammal_r.c: Likewise.
23150 * math/w_sinh.c: Likewise.
23151 * math/w_sinhf.c: Likewise.
23152 * math/w_sinhl.c: Likewise.
23153 * math/w_tgamma.c: Likewise.
23154 * math/w_tgammaf.c: Likewise.
23155 * math/w_tgammal.c: Likewise.
23156 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23157 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23158 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23159 Minor optimizations. Pretty printing. Remove cruft.
23160 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23161 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23162 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23163 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23164 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23165 * sysdeps/i386/fpu/e_asin.S: Likewise.
23166 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23167 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23168 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23169 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23170 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23171 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23172 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23173 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23174 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23175 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23176 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23177 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23178 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23179 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23180 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23181 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23182 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23183 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23184 * sysdeps/i386/fpu/e_log.S: Likewise.
23185 * sysdeps/i386/fpu/e_log10.S: Likewise.
23186 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23187 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23188 * sysdeps/i386/fpu/e_log2.S: Likewise.
23189 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23190 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23191 * sysdeps/i386/fpu/e_logf.S: Likewise.
23192 * sysdeps/i386/fpu/e_logl.S: Likewise.
23193 * sysdeps/i386/fpu/e_pow.S: Likewise.
23194 * sysdeps/i386/fpu/e_powf.S: Likewise.
23195 * sysdeps/i386/fpu/e_powl.S: Likewise.
23196 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23197 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23198 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23199 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23200 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23201 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23202 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23203 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23204 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23207 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23208 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23209 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23211 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23212 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23214 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23215 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23216 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23217 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23219 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23220 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23221 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23222 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23223 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23224 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23225 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23226 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23227 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23228 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23229 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23230 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23231 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23232 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23233 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23234 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23235 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23236 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23237 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23238 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23239 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23240 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23241 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23242 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23243 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23244 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23245 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23246 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23247 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23248 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23249 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23250 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23251 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23252 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23253 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23254 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23255 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23256 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23257 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23258 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23259 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23260 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23261 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23262 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23263 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23264 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23265 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23266 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23267 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23268 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23269 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23270 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23271 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23272 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23273 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23274 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23275 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23276 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23277 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23278 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23279 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23280 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23281 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23282 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23283 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23284 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23285 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23286 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23287 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23288 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23289 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23290 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23291 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23292 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23293 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23294 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23295 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23296 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23297 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23298 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23299 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23300 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23301 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23302 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23303 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23304 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23305 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23306 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23307 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23308 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23309 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23310 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23311 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23312 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23313 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23314 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23315 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23316 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23317 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23318 (__isnanf): Likewise.
23319 (__isinf_ns): Likewise.
23320 (__isinf_nsf): Likewise.
23321 (__finite): Likewise.
23322 (__finitef): Likewise.
23323 (__ieee754_sqrt): Define as macro.
23324 (__ieee754_sqrtf): Define as macro.
23325 (__ieee754_sqrtl): Define as macro.
23326 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23327 inlined copy.
23328 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23329 __FINITE_MATH_ONLY__ consistent.
23330 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23331
12cc2fcd
AS
233322011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23333
a843a204
AS
23334 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23335 of rawmemchr.
23336
12cc2fcd
AS
23337 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23338
c853acd5
UD
233392011-10-09 Ulrich Drepper <drepper@gmail.com>
23340
23341 * po/ja.po: Update from translation team.
23342
c658d255
RM
233432011-10-08 Roland McGrath <roland@hack.frob.com>
23344
110946e4
RM
23345 * locale/programs/locarchive.c (prepare_address_space): New function.
23346 (create_archive, enlarge_archive, open_archive): Use it.
23347
50604220
RM
23348 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23349 inside [SHARED], where it is used.
23350
c658d255
RM
23351 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23352
23353 * nss/getent.c (netgroup_keys): Remove unused variable.
23354 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23355
6a621eb7
UD
233562011-10-08 Ulrich Drepper <drepper@gmail.com>
23357
7edb55ce
UD
23358 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23359 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23360 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23361 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23362 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23363 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23364 * math/Makefile (libm-calls): Add s_isinf_ns.
23365 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23366 * math/multc3.c: Likewise.
23367 * math/s_casin.c: Likewise.
23368 * math/s_casinf.c: Likewise.
23369 * math/s_casinl.c: Likewise.
23370 * math/s_ccos.c: Likewise.
23371 * math/s_ccosf.c: Likewise.
23372 * math/s_ccosl.c: Likewise.
23373 * math/s_ctan.c: Likewise.
23374 * math/s_ctanf.c: Likewise.
23375 * math/s_ctanh.c: Likewise.
23376 * math/s_ctanhf.c: Likewise.
23377 * math/s_ctanhl.c: Likewise.
23378 * math/s_ctanl.c: Likewise.
23379 * math/w_fmod.c: Likewise.
23380 * math/w_fmodf.c: Likewise.
23381 * math/w_fmodl.c: Likewise.
23382 * math/w_remainder.c: Likewise.
23383 * math/w_remainderf.c: Likewise.
23384 * math/w_remainderl.c: Likewise.
23385 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23386 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23387 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23389 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23390 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23391 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23392 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23393
187da0ae
UD
23394 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23395 of the number.
23396 * stdio-common/printf_fphex.c: Likewise.
23397 * stdio-common/printf_size.c: Likewise.
23398
9277c064
UD
23399 * math/e_exp10.c: Include math_private.h using <...> not "...".
23400 * math/e_exp10f.c: Likewise.
23401 * math/e_exp10l.c: Likewise.
23402 * math/e_exp2l.c: Likewise.
23403 * math/e_j0l.c: Likewise.
23404 * math/e_j1l.c: Likewise.
23405 * math/e_jnl.c: Likewise.
23406 * math/e_lgammal_r.c: Likewise.
23407 * math/e_rem_pio2l.c: Likewise.
23408 * math/e_scalb.c: Likewise.
23409 * math/e_scalbf.c: Likewise.
23410 * math/e_scalbl.c: Likewise.
23411 * math/k_cosl.c: Likewise.
23412 * math/k_sinl.c: Likewise.
23413 * math/k_tanl.c: Likewise.
23414 * math/s_cacoshf.c: Likewise.
23415 * math/s_catan.c: Likewise.
23416 * math/s_catanf.c: Likewise.
23417 * math/s_catanh.c: Likewise.
23418 * math/s_catanhf.c: Likewise.
23419 * math/s_catanhl.c: Likewise.
23420 * math/s_catanl.c: Likewise.
23421 * math/s_ccosh.c: Likewise.
23422 * math/s_ccoshf.c: Likewise.
23423 * math/s_ccoshl.c: Likewise.
23424 * math/s_cexp.c: Likewise.
23425 * math/s_cexpf.c: Likewise.
23426 * math/s_cexpl.c: Likewise.
23427 * math/s_clog.c: Likewise.
23428 * math/s_clog10.c: Likewise.
23429 * math/s_clog10f.c: Likewise.
23430 * math/s_clog10l.c: Likewise.
23431 * math/s_clogf.c: Likewise.
23432 * math/s_clogl.c: Likewise.
23433 * math/s_csin.c: Likewise.
23434 * math/s_csinf.c: Likewise.
23435 * math/s_csinh.c: Likewise.
23436 * math/s_csinhf.c: Likewise.
23437 * math/s_csinhl.c: Likewise.
23438 * math/s_csinl.c: Likewise.
23439 * math/s_csqrt.c: Likewise.
23440 * math/s_csqrtf.c: Likewise.
23441 * math/s_csqrtl.c: Likewise.
23442 * math/s_ctan.c: Likewise.
23443 * math/s_ctanf.c: Likewise.
23444 * math/s_ctanh.c: Likewise.
23445 * math/s_ctanhf.c: Likewise.
23446 * math/s_ctanhl.c: Likewise.
23447 * math/s_ctanl.c: Likewise.
23448 * math/s_ldexp.c: Likewise.
23449 * math/s_ldexpf.c: Likewise.
23450 * math/s_ldexpl.c: Likewise.
23451 * math/s_significand.c: Likewise.
23452 * math/s_significandf.c: Likewise.
23453 * math/s_significandl.c: Likewise.
23454 * math/w_acos.c: Likewise.
23455 * math/w_acosf.c: Likewise.
23456 * math/w_acosh.c: Likewise.
23457 * math/w_acoshf.c: Likewise.
23458 * math/w_acoshl.c: Likewise.
23459 * math/w_acosl.c: Likewise.
23460 * math/w_asin.c: Likewise.
23461 * math/w_asinf.c: Likewise.
23462 * math/w_asinl.c: Likewise.
23463 * math/w_atan2.c: Likewise.
23464 * math/w_atan2f.c: Likewise.
23465 * math/w_atan2l.c: Likewise.
23466 * math/w_atanh.c: Likewise.
23467 * math/w_atanhf.c: Likewise.
23468 * math/w_atanhl.c: Likewise.
23469 * math/w_cosh.c: Likewise.
23470 * math/w_coshf.c: Likewise.
23471 * math/w_coshl.c: Likewise.
23472 * math/w_dremf.c: Likewise.
23473 * math/w_exp10.c: Likewise.
23474 * math/w_exp10f.c: Likewise.
23475 * math/w_exp10l.c: Likewise.
23476 * math/w_exp2.c: Likewise.
23477 * math/w_exp2f.c: Likewise.
23478 * math/w_fmod.c: Likewise.
23479 * math/w_fmodf.c: Likewise.
23480 * math/w_fmodl.c: Likewise.
23481 * math/w_hypot.c: Likewise.
23482 * math/w_hypotf.c: Likewise.
23483 * math/w_hypotl.c: Likewise.
23484 * math/w_j0.c: Likewise.
23485 * math/w_j0f.c: Likewise.
23486 * math/w_j0l.c: Likewise.
23487 * math/w_j1.c: Likewise.
23488 * math/w_j1f.c: Likewise.
23489 * math/w_j1l.c: Likewise.
23490 * math/w_jn.c: Likewise.
23491 * math/w_jnf.c: Likewise.
23492 * math/w_jnl.c: Likewise.
23493 * math/w_lgamma.c: Likewise.
23494 * math/w_lgamma_r.c: Likewise.
23495 * math/w_lgammaf.c: Likewise.
23496 * math/w_lgammaf_r.c: Likewise.
23497 * math/w_lgammal.c: Likewise.
23498 * math/w_lgammal_r.c: Likewise.
23499 * math/w_log.c: Likewise.
23500 * math/w_log10.c: Likewise.
23501 * math/w_log10f.c: Likewise.
23502 * math/w_log10l.c: Likewise.
23503 * math/w_log2.c: Likewise.
23504 * math/w_log2f.c: Likewise.
23505 * math/w_log2l.c: Likewise.
23506 * math/w_logf.c: Likewise.
23507 * math/w_logl.c: Likewise.
23508 * math/w_pow.c: Likewise.
23509 * math/w_powf.c: Likewise.
23510 * math/w_powl.c: Likewise.
23511 * math/w_remainder.c: Likewise.
23512 * math/w_remainderf.c: Likewise.
23513 * math/w_remainderl.c: Likewise.
23514 * math/w_scalb.c: Likewise.
23515 * math/w_scalbf.c: Likewise.
23516 * math/w_scalbl.c: Likewise.
23517 * math/w_sinh.c: Likewise.
23518 * math/w_sinhf.c: Likewise.
23519 * math/w_sinhl.c: Likewise.
23520 * math/w_sqrt.c: Likewise.
23521 * math/w_sqrtf.c: Likewise.
23522 * math/w_sqrtl.c: Likewise.
23523 * math/w_tgamma.c: Likewise.
23524 * math/w_tgammaf.c: Likewise.
23525 * math/w_tgammal.c: Likewise.
23526
6a621eb7
UD
23527 * po/ja.po: Update from translation team.
23528
bf582445
AJ
235292011-09-29 Andreas Jaeger <aj@suse.de>
23530
f9efbf3a
AJ
23531 [BZ #13179]
23532 * sunrpc/netname.c (netname2host): Fix logic.
23533
bf582445
AJ
23534 [BZ #6779]
23535 [BZ #6783]
23536 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23537 correctly.
23538 * math/w_remainder.c (__remainder): Likewise.
23539 * math/w_remainderf.c (__remainderf): Likewise.
23540 * math/libm-test.inc (remainder_test): Add test cases.
23541
48693bea
AK
235422011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23543
23544 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23545 sdiv_qrnnd.
23546
42622229
LD
235472011-10-07 Ulrich Drepper <drepper@gmail.com>
23548
23549 * string/test-memcmp.c: Avoid unncessary #defines.
23550 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23551
093ecf92
LD
235522011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23553
23554 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23555 Use new sse2 version for core i3 - i7 as it's faster
23556 than sse42 version.
23557 (bit_Prefer_PMINUB_for_stringop): New.
23558 * sysdeps/x86_64/rawmemchr.S: Update.
23559 Replace with faster SSE2 version.
23560 * sysdeps/x86_64/memrchr.S: New file.
23561 * sysdeps/x86_64/memchr.S: Update.
23562 Replace with faster SSE2 version.
23563
fde56e5c
MP
235642011-09-12 Marek Polacek <mpolacek@redhat.com>
23565
23566 * elf/dl-load.c (lose): Add cast to avoid warning.
23567
21fd49a9
UD
235682011-10-07 Ulrich Drepper <drepper@gmail.com>
23569
5a06e643
UD
23570 * po/ca.po: Update from translation team.
23571
684ae515
UD
23572 * inet/getnetgrent_r.c: Hook up nscd.
23573 * nscd/Makefile (routines): Add nscd_netgroup.
23574 (nscd-modules): Add netgroupcache.
23575 (CFLAGS-netgroupcache.c): Define.
23576 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23577 (cache_search): Add const to second parameter.
23578 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23579 INNETGR.
23580 (dbs): Add netgrdb entry.
23581 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23582 (verify_persistent_db): Handle netgrdb.
23583 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23584 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23585 GETFDNETGR.
23586 (netgroup_response_header): Define.
23587 (innetgroup_response_header): Define.
23588 (datahead): Add netgroup_response_header and innetgroup_response_header
23589 elements.
23590 * nscd/nscd.conf: Add entries for netgroup cache.
23591 * nscd/nscd.h (dbtype): Add netgrdb.
23592 (_PATH_NSCD_NETGROUP_DB): Define.
23593 (netgroup_iov_disabled): Declare.
23594 (xmalloc, xcalloc, xrealloc): Move declarations here.
23595 (cache_search): Adjust prototype.
23596 Add netgroup-related prototypes.
23597 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23598 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23599 (__nscd_innetgr): Declare.
23600 * nscd/selinux.c (perms): Use access_vector_t as element type and
23601 add netgroup-related initializers.
23602 * nscd/netgroupcache.c: New file.
23603 * nscd/nscd_netgroup.c: New file.
23604 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23605 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23606 For four parameters use innetgr.
23607 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23608 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23609 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23610 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23611
21fd49a9
UD
23612 * nscd/connections.c (register_traced_file): Don't register file
23613 for disabled databases.
23614
054c0457
UD
236152011-10-06 Ulrich Drepper <drepper@gmail.com>
23616
32b63198
UD
23617 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23618
054c0457
UD
23619 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23620 from tree and freeing node.
23621
64031225
JO
236222011-09-25 Jiri Olsa <jolsa@redhat.com>
23623
23624 * nss/nsswitch.c (__nss_database_lookup): Handle
23625 nss_parse_service_list out of memory case.
23626
0490345c
JO
236272011-09-15 Jiri Olsa <jolsa@redhat.com>
23628
23629 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23630 out of memory case.
23631
3a62d00d
AS
236322011-10-04 Andreas Schwab <schwab@redhat.com>
23633
23634 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23635 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23636 pass it down.
23637 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23638 elf_machine_rela, elf_machine_lazy_rel.
23639 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23640 (ELF_DYNAMIC_DO_REL): Likewise.
23641 (ELF_DYNAMIC_DO_RELA): Likewise.
23642 (ELF_DYNAMIC_RELOCATE): Likewise.
23643 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23644 to ELF_DYNAMIC_DO_REL.
23645 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23646 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23647 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23648 elf_machine_rela.
23649 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23650 skip_ifunc, don't call ifunc function if non-zero.
23651 (elf_machine_rela): Likewise.
23652 (elf_machine_lazy_rel): Likewise.
23653 (elf_machine_lazy_rela): Likewise.
23654 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23655 (elf_machine_lazy_rel): Likewise.
23656 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23657 Likewise.
23658 (elf_machine_lazy_rel): Likewise.
23659 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23660 Likewise.
23661 (elf_machine_lazy_rel): Likewise.
23662 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23663 (elf_machine_lazy_rel): Likewise.
23664 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23665 (elf_machine_lazy_rel): Likewise.
23666 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23667 (elf_machine_lazy_rel): Likewise.
23668 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23669 (elf_machine_lazy_rel): Likewise.
23670 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23671 (elf_machine_lazy_rel): Likewise.
23672 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23673 (elf_machine_lazy_rel): Likewise.
23674
68577918
UD
236752011-09-28 Ulrich Drepper <drepper@gmail.com>
23676
23677 * nss/nss_files/files-init.c (_nss_files_init): Use static
23678 initialization for all the *_traced_file variables.
23679
68822d74
AS
236802011-09-28 Andreas Schwab <schwab@redhat.com>
23681
23682 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23683
2056100b
RM
236842011-09-27 Roland McGrath <roland@hack.frob.com>
23685
23686 [BZ #13226]
23687 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23688
32c76b63
AS
236892011-09-27 Andreas Schwab <schwab@redhat.com>
23690
23691 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23692 Reread the line before reparsing it.
23693
bf972c9d
AS
236942011-09-26 Andreas Schwab <schwab@redhat.com>
23695
23696 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23697
e057a1b5
JM
236982011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23699 Maxim Kuvyrkov <maxim@codesourcery.com>
23700 Joseph Myers <joseph@codesourcery.com>
23701
23702 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23703 if needed for __stack_chk_guard.
23704
bc7e1c36
RM
237052011-09-19 Roland McGrath <roland@hack.frob.com>
23706
ecb1482f
RM
23707 * sysdeps/posix/spawni.c (script_execute): Always define it.
23708 It will be optimized away if unused.
23709 (maybe_script_execute): New function.
23710 (__spawni): Call it.
23711
bc7e1c36
RM
23712 * Makerules: Don't include tls.make.
23713 (config-tls): Always set to thread.
23714 * tls.make.c: File removed.
23715
1c3b002b
MF
237162011-09-19 Mike Frysinger <vapier@gentoo.org>
23717
23718 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23719 * config.make.in (CPPFLAGS-config): New substituted variable.
23720
2840865d
UD
237212011-09-15 Ulrich Drepper <drepper@gmail.com>
23722
88738eb6
UD
23723 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23724
cbf645a6 23725 [BZ #13192]
2840865d
UD
23726 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23727 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23728
b402e91a
RM
237292011-09-15 Roland McGrath <roland@hack.frob.com>
23730
23731 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23732 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23733 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23734 (CALL_FAIL): Likewise.
23735 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23736 (CALL_FAIL): Macro removed.
23737 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23738
4c1a1f71
UD
237392011-09-15 Ulrich Drepper <drepper@gmail.com>
23740
23741 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23742 for __FINITE_MATH_ONLY__ == 1.
23743
edc121be
AS
237442011-09-15 Andreas Schwab <schwab@redhat.com>
23745
23746 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23747 __ieee754_sqrt instead of sqrt.
23748 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23749 __ieee754_sqrtf instead of sqrtf.
23750 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23751 __floorf instead of floorf.
23752 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23753 __floorf, __truncf instead of floorf, truncf.
23754
cd205654
UD
237552011-09-14 Ulrich Drepper <drepper@gmail.com>
23756
ee4d0315
UD
23757 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23758
cd205654
UD
23759 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23760 __extern_always_inline.
23761 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23762 32-bit.
23763
48b67d71
AS
237642011-09-14 Andreas Schwab <schwab@redhat.com>
23765
23766 * elf/rtld.c (dl_main): Also relocate in dependency order when
23767 doing symbol dependency testing.
23768
1ae12c75
AS
237692011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23770
23771 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23772 Always define `refsym'.
23773
995a80df
AS
237742011-09-13 Andreas Schwab <schwab@redhat.com>
23775
e529793b
AS
23776 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23777 (__FD_ELT): Renamed from __FDELT.
23778 * misc/bits/select2.h (__FD_ELT): Likewise.
23779 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23780 __FD_MASK instead of __FDELT, __FDMASK.
23781 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23782 Likewise.
23783 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23784 Likewise.
23785
52d4fef8
AS
23786 * elf/Makefile (gen-ldd): Fix pattern.
23787
995a80df
AS
23788 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23789 (init_tls): Likewise.
23790
8682f8b0
UD
237912011-09-12 Ulrich Drepper <drepper@gmail.com>
23792
23793 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23794
de82006d
AS
237952011-09-12 Andreas Schwab <schwab@redhat.com>
23796
a7c8e6a1
AS
23797 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23798 `struct cmsghdr *' instead of `void *'.
23799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23800 Likewise.
23801
0f31fe77
AS
238022011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23803
23804 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23805 if non-absolute.
23806 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23807 ldd_rewrite_script.
0f31fe77 23808
32b4c839
UD
238092011-09-11 Ulrich Drepper <drepper@gmail.com>
23810
83cd1420
UD
23811 * configure.in: Remove --with-tls option.
23812 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23813 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23814 out in case it is missing.
23815 * sysdeps/ia64/elf/configure.in: Likewise.
23816 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23817 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23818 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23819 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23820 * sysdeps/sh/elf/configure.in: Likewise.
23821 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23822 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23823 * sysdeps/x86_64/elf/configure.in: Likewise.
23824 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23825 * sysdeps/mach/hurd/tls.h: Likewise.
23826
633f745d
UD
23827 [BZ #13067]
23828 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23829
f318beb8
UD
23830 [BZ #13090]
23831 * configure.in: Fix use of AC_INIT.
23832
32b4c839
UD
23833 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23834
3ce1f295
UD
238352011-09-10 Ulrich Drepper <drepper@gmail.com>
23836
bb016596
UD
23837 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23838 __set_errno.
8e58439c
UD
23839 * malloc/hooks.c: Likewise.
23840
aebae053 23841 [BZ #11929]
02d46fc4
UD
23842 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23843 variables statically.
23844 (narenas): Initialize.
23845 (list_lock): Initialize.
bb016596
UD
23846 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23847 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23848 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23849 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23850 Add initializers to main_arena and mp_.
23851 (malloc_state): Remove pagesize member. Change all users to use
23852 GLRO(dl_pagesize).
23853
23854 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23855 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23856 is always initialized.
23857
22a89187
UD
23858 * malloc/malloc.c: Removed unused configurations and dead code.
23859 * malloc/arena.c: Likewise.
23860 * malloc/hooks.c: Likewise.
02d46fc4 23861 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23862
d063d164
UD
23863 * include/tls.h: Removed. USE___THREAD must always be defined.
23864 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23865 * elf/dl-libc.c: Likewise.
23866 * elf/dl-tsd.c: Likewise.
23867 * include/errno.h: Likewise.
23868 * include/netdb.h: Likewise.
23869 * include/resolv.h: Likewise.
23870 * inet/herrno-loc.c: Likewise.
23871 * inet/herrno.c: Likewise.
23872 * malloc/arena.c: Likewise.
23873 * malloc/hooks.c: Likewise.
23874 * malloc/malloc.c: Likewise.
23875 * resolv/res-state.c: Likewise.
23876 * resolv/res_libc.c: Likewise.
23877 * sysdeps/i386/dl-machine.h: Likewise.
23878 * sysdeps/ia64/dl-machine.h: Likewise.
23879 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23880 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23881 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23882 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23883 * sysdeps/sh/dl-machine.h: Likewise.
23884 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23885 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23886 * sysdeps/unix/i386/sysdep.S: Likewise.
23887 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23888 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23889 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23890 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23891 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23892 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23893 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23894 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23895 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23896 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23897 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23898 * sysdeps/x86_64/dl-machine.h: Likewise.
23899 * tls.make.c: Likewise.
23900
3ce1f295
UD
23901 * configure.in: Remove --with-__thread option. Make tests for
23902 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23903 tls_model attribute fail if no support is available. Remove
23904 USE_IN_LIBIO.
23905 * Makeconfig: Adjust for dropped configure option. All features are
23906 now mandatory.
23907 * Makerules: Likewise.
23908 * Versions.def: Likewise.
23909 * argp/argp-fmtstream.c: Likewise.
23910 * argp/argp-fmtstream.h: Likewise.
23911 * argp/argp-help.c: Likewise.
23912 * assert/assert.c: Likewise.
23913 * config.h.in: Likewise.
23914 * config.make.in: Likewise.
23915 * configure: Likewise.
23916 * configure.in: Likewise.
23917 * csu/Versions: Likewise.
23918 * csu/init.c: Likewise.
23919 * elf/tst-audit2.c: Likewise.
23920 * elf/tst-tls10.c: Likewise.
23921 * elf/tst-tls10.h: Likewise.
23922 * elf/tst-tls11.c: Likewise.
23923 * elf/tst-tls12.c: Likewise.
23924 * elf/tst-tls14.c: Likewise.
23925 * elf/tst-tlsmod11.c: Likewise.
23926 * elf/tst-tlsmod12.c: Likewise.
23927 * elf/tst-tlsmod13.c: Likewise.
23928 * elf/tst-tlsmod13a.c: Likewise.
23929 * elf/tst-tlsmod14a.c: Likewise.
23930 * elf/tst-tlsmod15b.c: Likewise.
23931 * elf/tst-tlsmod16a.c: Likewise.
23932 * elf/tst-tlsmod16b.c: Likewise.
23933 * elf/tst-tlsmod7.c: Likewise.
23934 * elf/tst-tlsmod8.c: Likewise.
23935 * elf/tst-tlsmod9.c: Likewise.
23936 * gmon/gmon.c: Likewise.
23937 * grp/fgetgrent_r.c: Likewise.
23938 * grp/putgrent.c: Likewise.
23939 * hurd/fopenport.c: Likewise.
23940 * include/libc-symbols.h: Likewise.
23941 * include/tls.h: Likewise.
23942 * intl/gettextP.h: Likewise.
23943 * intl/loadinfo.h: Likewise.
23944 * locale/global-locale.c: Likewise.
23945 * locale/localeinfo.h: Likewise.
23946 * mach/devstream.c: Likewise.
23947 * malloc/arena.c: Likewise.
23948 * malloc/set-freeres.c: Likewise.
23949 * misc/err.c: Likewise.
23950 * misc/getttyent.c: Likewise.
23951 * misc/mntent_r.c: Likewise.
23952 * posix/getopt.c: Likewise.
23953 * posix/wordexp.c: Likewise.
23954 * pwd/fgetpwent_r.c: Likewise.
23955 * resolv/Versions: Likewise.
23956 * resolv/res_hconf.c: Likewise.
23957 * shadow/fgetspent_r.c: Likewise.
23958 * shadow/putspent.c: Likewise.
23959 * stdio-common/printf_fphex.c: Likewise.
23960 * stdio-common/tmpfile.c: Likewise.
23961 * stdlib/abort.c: Likewise.
23962 * stdlib/fmtmsg.c: Likewise.
23963 * sunrpc/auth_unix.c: Likewise.
23964 * sunrpc/clnt_perr.c: Likewise.
23965 * sunrpc/clnt_tcp.c: Likewise.
23966 * sunrpc/clnt_udp.c: Likewise.
23967 * sunrpc/clnt_unix.c: Likewise.
23968 * sunrpc/openchild.c: Likewise.
23969 * sunrpc/svc_simple.c: Likewise.
23970 * sunrpc/svc_tcp.c: Likewise.
23971 * sunrpc/svc_udp.c: Likewise.
23972 * sunrpc/svc_unix.c: Likewise.
23973 * sunrpc/xdr.c: Likewise.
23974 * sunrpc/xdr_array.c: Likewise.
23975 * sunrpc/xdr_rec.c: Likewise.
23976 * sunrpc/xdr_ref.c: Likewise.
23977 * sunrpc/xdr_stdio.c: Likewise.
23978
1248c1c4
PB
239792011-09-09 Ulrich Drepper <drepper@gmail.com>
23980
23981 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23982
239832011-07-03 Andreas Jaeger <aj@suse.de>
23984
23985 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23986 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23987 regenerate with gen-libm-tests.pl.
23988
239892010-05-12 Petr Baudis <pasky@suse.cz>
23990
23991 [BZ #11589]
23992 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23993 around j0() zero points by switching to j1().
23994 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23995 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23996 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23997 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23998
f22e1074
UD
239992011-09-09 Ulrich Drepper <drepper@gmail.com>
24000
f19009c1
UD
24001 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24002 instead of 0.
24003 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24004 instead of 0.
f19009c1
UD
24005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24006 Patch in part by Pavel Roskin <proski@gnu.org>.
24007
3f8cc204
UD
24008 [BZ #13138]
24009 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24010 realloc.
24011 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24012 Free memory block if necessary.
24013
f22e1074
UD
24014 [BZ #12847]
24015 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24016 be NULL. Don't lock in this case.
24017
0a2349f9
RM
240182011-09-09 Roland McGrath <roland@hack.frob.com>
24019
24020 * elf/elf.h (ELFOSABI_GNU): New macro.
24021 (ELFOSABI_LINUX): Define to that.
24022
f3cdd467
DZ
240232011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24024
24025 * string/strncat.c (strncat): Undef the symbol in case it has been
24026 defined in bits/string.h.
24027
74718d13
UD
240282011-09-09 Ulrich Drepper <drepper@gmail.com>
24029
633e9e0f
UD
24030 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24031
0a2349f9 24032 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24033 link map.
24034
f9924780
AJ
240352011-08-17 Andreas Jaeger <aj@suse.de>
24036
24037 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24038
7f5517aa
PP
240392011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24040 Ian Lance Taylor <iant@google.com>
24041
24042 * math/libm-test.inc (lround_test): New testcase.
24043 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24044
762011fe
UD
240452011-09-08 Ulrich Drepper <drepper@gmail.com>
24046
92963737
UD
24047 * Makefile: Remove support for automatic cvs check-ins.
24048 * Makerules: Likewise.
24049 * config.make.in: Likewise.
24050 * configure.in: Likewise.
24051 * intl/Makefile: Likewise.
24052 * locale/Makefile: Likewise.
24053 * po/Makefile: Likewise.
24054 * posix/Makefile: Likewise.
24055 * sysdeps/gnu/Makefile: Likewise.
24056 * sysdeps/mach/hurd/Makefile: Likewise.
24057 * sysdeps/sparc/sparc32/Makefile: Likewise.
24058
b0727fd8
JS
24059 [BZ #13118]
24060 * posix/Makefile (bug-regex32-ENV): Define.
24061 Patch by John Stanley <jpsinthemix@verizon.net>.
24062
a0f33f99
UD
24063 * misc/Makefile (headers): Add bits/select2.h.
24064 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24065 * misc/bits/select2.h: New file.
24066 * include/bits/select2.h: New file.
24067 * debug/Makefile (routines): Add fdelt_chk.
24068 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24069 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24070 FD_ISSET.
24071 * debug/fdelt_chk.c: New file.
24072
762011fe
UD
24073 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24074 * wcsmbs/test-wmemcmp.c: Likewise.
24075 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24076 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24077
240782011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24079
24080 * string/Makefile (strop-tests): Add memcmp.
24081 * string/test-wmemcmp.c: New file.
24082 * string/test-memcmp.c: Add wmemcmp support.
24083
7f513ec8
RM
240842011-09-08 Roland McGrath <roland@hack.frob.com>
24085
0442afb4
RM
24086 [BZ #13153]
24087 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24088 2011-07-19 change.
24089
7f513ec8
RM
24090 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24091 garbage value in a __mach_port_mod_refs call in the cases of the
24092 task-self and thread-self ports.
24093
a12b2239
ST
240942011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24095
24096 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24097
610f9ab4
AS
240982011-09-08 Andreas Schwab <schwab@redhat.com>
24099
7f513ec8 24100 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24101
48882a1a
LD
241022011-09-07 Ulrich Drepper <drepper@gmail.com>
24103
b49865be
UD
24104 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24105
fdc86bc9
UD
24106 * elf/dl-libc.c (dlerror_run): Pass back error code from
24107 dl_catch_error.
24108
c966526a
UD
24109 [BZ #13123]
24110 * elf/dl-load.c (lose): Free l_origin if it is valid.
24111
48882a1a
LD
24112 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24113 names.
24114 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24115 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24116 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24117 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24118 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24119 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24120
77a2a8b4
AZ
241212011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24122
24123 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24124 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24125 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24126 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24127 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24128 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24129 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24130 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24131 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24132 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24133
24f579d8
AM
241342011-08-15 Alan Modra <amodra@gmail.com>
24135
24136 [BZ #13092]
24137 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24138 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24139 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24140 ppc_mcount to static-only-routines.
24141 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24142 __mcount_internal.
24143 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24144 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24145
3d4837df
UD
241462011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24147
24148 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24149 for finite and infinity parameters.
24150
22700377
WS
241512011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24152
24153 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24154 and add nop instructions for throughput optimization.
24155 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24156
5025581e
WS
241572011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24158
24159 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24160 aligned copy for power7 with vector-scalar instructions.
24161 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24162
08a300c9
L
241632011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24164
24165 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24166 AVX check.
24167
59178ef9
AS
241682011-09-07 Andreas Schwab <schwab@redhat.com>
24169
24170 [BZ #13144]
24171 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24172 last change.
24173
e38ba7ab
UD
241742011-09-07 Ulrich Drepper <drepper@gmail.com>
24175
24176 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24177 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24178 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24179 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24180 clock_gettime.
24181
d53a73ac
UD
241822011-09-06 Ulrich Drepper <drepper@gmail.com>
24183
fc8bffcc
UD
24184 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24185 Forgot to demangle the pointer.
24186
ceaa0c5d
UD
24187 * sysdeps/i386/sysdep.h: Define atom_text_section.
24188 * sysdeps/x86_64/sysdep.h: Likewise.
24189 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24190 section with atom_text_section.
24191 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24192 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24193 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24194 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24195 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24196
a77d3c17
UD
24197 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24198 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24199 already be defined. Change to take two parameters and don't assign
24200 result to variable. Adjust all users.
24201 Define INTERNAL_GETTIME if not already defined.
24202 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24203 call.
24204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24205 HAVE_CLOCK_GETTIME_VSYSCALL.
24206 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24207
d53a73ac
UD
24208 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24209 gettimeofday vsyscall, just use time.
24210
a8f84144
AS
242112011-09-06 Andreas Schwab <schwab@redhat.com>
24212
24213 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24214 <errno.h>.
24215
ef606249
UD
242162011-09-06 Ulrich Drepper <drepper@gmail.com>
24217
24218 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24219 syscall on x86-64.
24220 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24221 syscall.
24222 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24223 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24224 syscall if possible.
24225
6585cb60
UD
242262011-09-05 Ulrich Drepper <drepper@gmail.com>
24227
24228 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24229 e_ident. Don't pass to find_mapsXX.
24230 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24231
a5f524e4
LD
242322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24233
24234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24235 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24236 * sysdeps/x86_64/multiarch/strchr.S: Update.
24237 Check bit_slow_BSF bit.
24238 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24239 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24240 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24241
554881ef
UD
242422011-09-05 Ulrich Drepper <drepper@gmail.com>
24243
d96de963
UD
24244 [BZ #13134]
24245 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24246 before glibc 2.15.
24247 (tryshell): Define.
24248 (__spawni): Change last parameter to be flag. Test
24249 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24250 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24251 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24252 * posix/spawni.c: Likewise.
24253 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24254 * posix/spawnp.c: Likewise. Change normal version to use
24255 SPAWN_XFLAGS_USE_PATH.
24256 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24257 SPAWN_XFLAGS_TRY_SHELL.
24258
d48e5868
UD
24259 [BZ #13150]
24260 * posix/glob.h: Remove gcc 1.x support.
24261
554881ef
UD
24262 [BZ #13068]
24263 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24264
693fb948
LD
242652011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24266
24267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24268 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24269 strrchr-sse2-bsf
24270 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24271 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24272 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24273 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24274 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24275 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24276
1b48c537
UD
242772011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24278
49d42c37
UD
24279 * sysdeps/x86_64/wcscmp.S: New file.
24280
1b48c537
UD
24281 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24282 wcscmp-c wcscmp-sse2
24283 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24284 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24285 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24286 * wcsmbs/wcscmp.c: Allow renaming.
24287
15c95c5d
DM
242882011-09-05 David S. Miller <davem@davemloft.net>
24289
24290 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24291 stack slot, rather than the struct return pointer slot.
24292 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24293 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24295 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24296
2f0ad8f3
UD
242972011-09-05 Ulrich Drepper <drepper@gmail.com>
24298
d88ae418
UD
24299 * po/ja.po: Update from translation team.
24300
2f0ad8f3
UD
24301 [BZ #13144]
24302 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24303 kernel in 64-bit binaries.
24304
5f4318d1
DM
243052011-09-01 David S. Miller <davem@davemloft.net>
24306
24307 * elf/elf.h (HWCAP_SPARC_*): Move to..
24308 * sysdeps/sparc/sysdep.h: this new file and add new values.
24309 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24310 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24311 _DL_HWCAP_COUNT to 24.
24312 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24313 entries.
24314 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24315 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24316 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24317 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24318 instead of magic constants.
24319 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24320
3ba57516
DM
243212011-08-31 David S. Miller <davem@davemloft.net>
24322
24323 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24325 Reimplement to do errno handling inline.
24326 (SYSCALL_ERROR_HANDLER): New macro.
24327 (__SYSCALL_STRING): Do not do errno handling in asm.
24328 (__CLONE_SYSCALL_STRING): Delete.
24329 (__INTERNAL_SYSCALL_STRING): Delete.
24330 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24331 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24332 (PSEUDO): Reimplement to do errno handling inline.
24333 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24334 (SYSCALL_ERROR_HANDLER): New macro.
24335 (__SYSCALL_STRING): Do not do errno handling in asm.
24336 (__CLONE_SYSCALL_STRING): Delete.
24337 (__INTERNAL_SYSCALL_STRING): Delete.
24338 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24339 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24340 i386.
24341 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24342 (inline_syscall*): Add 'err' argument.
24343 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24344 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24345 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24346 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24347
24348 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24349 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24350
2bc17433
AS
243512011-08-30 Andreas Schwab <schwab@redhat.com>
24352
24353 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24354
fbeb5f4d
JO
243552011-08-29 Jiri Olsa <jolsa@redhat.com>
24356
24357 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24358 directive.
24359
ad69cc26
DM
243602011-08-24 David S. Miller <davem@davemloft.net>
24361
24362 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24363
39dd69df
AS
243642011-08-24 Andreas Schwab <schwab@redhat.com>
24365
24366 * elf/Makefile: Add rules to build and run unload8 test.
24367 * elf/unload8.c: New file.
24368 * elf/unload8mod1.c: New file.
24369 * elf/unload8mod1x.c: New file.
24370 * elf/unload8mod2.c: New file.
24371 * elf/unload8mod3.c: New file.
24372
24373 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24374 it wasn't used.
24375
2c0b250a
DM
243762011-08-23 David S. Miller <davem@davemloft.net>
24377
24378 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24379 subtract stack bias.
24380 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24381 %sp not %fp in calculations.
24382 (_JMPBUF_UNWINDS_ADJ): Likewise.
24383
22044b48
DM
24384 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24385 (aio_suspend): Call it to force an exception region around the
24386 AIO_MISC_WAIT() invocation.
24387
2cae4995
AS
243882011-08-23 Andreas Schwab <schwab@redhat.com>
24389
24390 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24391 backslash.
24392
873a772e
AJ
243932011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24394
24395 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24396 protection macro.
24397 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24398 and <dl-machine.h>.
24399 (Elf64_FuncDesc): Remove.
24400
25ad0df1
DM
244012011-08-22 David S. Miller <davem@davemloft.net>
24402
24403 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24404 sigaltstack check, add missing cfi directives.
24405 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24406 missing cfi directives, and sigaltstack handling.
24407
e888bcbe
AS
244082011-08-16 Andreas Schwab <schwab@redhat.com>
24409
24410 [BZ #11724]
24411 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24412 object is seen twice.
24413 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24414
24415 * elf/Makefile (distribute): Add tst-initorder2.c.
24416 (tests): Add tst-initorder2.
24417 (modules-names): Add tst-initorder2a tst-initorder2b
24418 tst-initorder2c tst-initorder2d. Add rules to build them.
24419 ($(objpfx)tst-initorder2.out): New rule.
24420 * elf/tst-initorder2.c: New file.
24421 * elf/tst-initorder2.exp: New file.
24422
87162f46
AS
244232011-08-22 Andreas Schwab <schwab@redhat.com>
24424
70538b7f
AS
24425 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24426
f55ffe58
AS
24427 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24428 dependencies back to end of function.
24429
87162f46
AS
24430 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24431 $(elfobjdir)/ld.so.
24432
91b392a4
UD
244332011-08-21 Ulrich Drepper <drepper@gmail.com>
24434
24435 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24436 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24437 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24438 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24439 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24440 of __vdso_gettimeofday.
24441 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24442 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24443 attribute_hidden.
24444 (_libc_vdso_platform_setup): Remove initialization of
24445 __vdso_gettimeofday and __vdso_time.
24446
5c43483f
UD
244472011-08-20 Ulrich Drepper <drepper@gmail.com>
24448
775a77e7
UD
24449 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24450 and fgetc_unlocked.
24451 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24452 getc_unlocked.
89f447ed 24453
49c74ba9
UD
24454 * elf/dl-open.c (add_to_global): Report additions to the global scope
24455 for LD_DEBUG=scopes.
24456 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24457 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24458
5c43483f
UD
24459 [BZ #13114]
24460 * stdio-common/Makefile (tests): Add bug24.
24461 * stdio-common/bug24.c: New file.
24462
a101b025
AJ
244632011-08-19 Andreas Jaeger <aj@suse.de>
24464
24465 [BZ #13114]
24466 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24467 non-existant file when using close-on-exec mode.
24468
c88f1766
UD
244692011-08-20 Ulrich Drepper <drepper@gmail.com>
24470
0276a718
UD
24471 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24472 the very first instruction.
24473
c88f1766
UD
24474 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24475 the CFI state in the end.
24476 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24477 inclusion of dl-trampoline.h.
24478 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24479
51ccffa0
AS
244802011-08-19 Andreas Schwab <schwab@redhat.com>
24481
94d7165f
AS
24482 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24483 expectations for long double.
24484
51ccffa0
AS
24485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24486 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24487
fd708658 244882011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24489
24490 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24491 artificual limit depends upon the system page size.
24492
44f0a71e
UD
244932011-08-17 Ulrich Drepper <drepper@gmail.com>
24494
24495 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24496 * resolv/Makefile: Define CFLAGS-libresolv.
24497
8de79a24
AS
244982011-08-17 Andreas Schwab <schwab@redhat.com>
24499
24500 * nss/makedb.c (compute_tables): Make variables used in nested
24501 function static.
24502
27724598
UD
245032011-08-17 Ulrich Drepper <drepper@gmail.com>
24504
c5305d88
UD
24505 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24506 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24507 if buffer was too small.
24508
27724598
UD
24509 * elf/pldd.c (main): Attach to all threads in the process.
24510 Rewrite /proc handling to use *at functions.
24511
076fe015
UD
245122011-08-16 Ulrich Drepper <drepper@gmail.com>
24513
174baab3
UD
24514 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24515 specifies first scope to show.
24516 (dl_open_worker): Update callers. Move printing scope of new
24517 object to before the relocation.
44f0a71e 24518 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24519 * sysdeps/generic/ldsodefs.h: Update declaration.
24520
076fe015
UD
24521 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24522 string for the scope number.
24523
a60df2c3
UD
245242011-08-14 Ulrich Drepper <drepper@gmail.com>
24525
24526 * nscd/servicescache.c (cache_addserv): Make sure written is always
24527 initialized.
24528
5e4287d1
RM
245292011-08-14 Roland McGrath <roland@hack.frob.com>
24530
85ae0589
RM
24531 * sysdeps/i386/i486/bits/atomic.h
24532 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24533 statement expression, so as to suppress "set but not used" warning.
24534 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24535
69f63097
RM
24536 * string/strncat.c (STRNCAT): Use prototype definition.
24537
675456ef
RM
24538 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24539 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24540 -Iprograms here.
24541 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24542 (localedef-modules): Add localedef.
24543 (locale-modules): Add locale.
24544
5e4287d1
RM
24545 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24546 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24547 to avoid a warning.
24548
9c96ff23
DM
245492011-08-14 David S. Miller <davem@davemloft.net>
24550
24551 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24552 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24553
f9ddf089
UD
245542011-08-13 Ulrich Drepper <drepper@gmail.com>
24555
44f0a71e 24556 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24557 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24558 * elf/rtld.c (dl_main): Set l_name of vDSO.
24559 Call _dl_show_scope when DL_DEBUG_SCOPES.
24560 (process_dl_debug): Recognize scopes flag and also set it for all.
24561 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24562 Declare _dl_show_scope.
24563
1dc27704
UD
24564 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24565 (do_dlopen): Pass caller_dlopen to dl_open.
24566 (__libc_dlopen_mode): Initialize caller_dlopen.
24567
f9ddf089
UD
24568 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24569 of libc. Make tolower call locale-independent. Optimize a bit by
24570 using isdigit instead of isalnum.
24571 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24572
9ac533d3
UD
245732011-08-12 Ulrich Drepper <drepper@gmail.com>
24574
24575 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24576 was a dependency or dynamically loaded.
24577
89edf2e9
UD
245782011-08-11 Ulrich Drepper <drepper@gmail.com>
24579
8e999d29
UD
24580 * intl/l10nflist.c: Allow architecture-specific pop function.
24581 * sysdeps/x86_64/l10nflist.c: New file.
24582
89edf2e9
UD
24583 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24584 classification.
24585
14d96785
AS
245862011-08-10 Andreas Schwab <schwab@redhat.com>
24587
24588 * include/dirent.h: Add libc_hidden_proto for scandirat and
24589 scandirat64. Don't declare __scandirat64.
24590 * dirent/scandirat.c: Add libc_hidden_def.
24591 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24592 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24593
6761ac04
DM
245942011-08-10 David S. Miller <davem@davemloft.net>
24595
24596 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24597 enum.
24598 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24599 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24600 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24601
c55fbd1e
UD
246022011-08-09 Ulrich Drepper <drepper@gmail.com>
24603
24604 * Versions.def [libc]: Add GLIBC_2.15.
24605 * dirent/Makefile (routines): Add scandirat and scandirat64.
24606 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24607 GLIBC_2.15.
24608 * dirent/dirent.h: Declare scandirat and scandirat64.
24609 * dirent/scandirat.c: New file.
24610 * dirent/scandirat64.c: New file.
24611 * sysdeps/wordsize-64/scandirat.c: New file.
24612 * sysdeps/wordsize-64/scandirat64.c: New file.
24613 * dirent/opendir.c: Define opendirat.
24614 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24615 using scandirat.
24616 * dirent/scandir64.c: Adjust for scandir.c change.
24617 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24618 __scandirat64, and __scandir_cancel_handler.
24619 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24620 additional parameter and use openat instead of open (outside of ld.so).
24621 Add new __opendir as wrapper around __opendirat.
24622 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24623 here without requiring old scandirat implementation.
24624
879165f2
UD
246252011-08-08 Ulrich Drepper <drepper@gmail.com>
24626
24627 * dirent/scandir.c (cancel_handler): Renamed to
24628 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24629 defined. Adjust users.
24630 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24631 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24632
cb7e923b
UD
246332011-08-04 Ulrich Drepper <drepper@gmail.com>
24634
16292edd
UD
24635 * string/test-string.h (IMPL): Use __STRING to expand name and then
24636 stringify it.
24637
cb7e923b
UD
24638 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24639 of cleanups.
24640
cff82933
LD
246412011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24642
24643 * string/Makefile: Update.
24644 (strop-tests): Append strncat.
24645 * string/test-wcscmp.c: New file.
24646 New comprehensive test for wcscmp.
24647 * string/test-strcmp.c: Update.
24648 (WIDE): New define.
24649
9be9bfcc
AS
246502011-07-22 Andreas Schwab <schwab@redhat.com>
24651
24652 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24653 line.
24654
2e96f1c7
AS
246552011-07-26 Andreas Schwab <schwab@redhat.com>
24656
24657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24658 encoding to ACE if AI_IDN.
24659
85188888
JJ
246602011-08-01 Jakub Jelinek <jakub@redhat.com>
24661
24662 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24663 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24664
5fa16e9b
LD
246652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24666
24667 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24668 Fix overflow bug in strncat.
24669 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24670
24671 * string/test-strncat.c: Update.
24672 Add new tests for checking overflow bugs.
24673
246742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24675
24676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24677 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24678 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24679 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24680 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24681 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24682 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24683 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24684 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24685
24686 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24687 (USE_AS_STRCAT): Define.
24688 Add strcat and strncat support.
24689 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24690
8c1a459f
AS
246912011-07-25 Andreas Schwab <schwab@redhat.com>
24692
24693 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24694 __n bigger than INT_MAX+1.
24695 (__strncmp_g): Likewise.
24696
bba33c28
UD
246972011-07-23 Ulrich Drepper <drepper@gmail.com>
24698
798be72d
UD
24699 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24700 * libio/stido.h: Likewise.
24701
8accd4dc
UD
24702 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24703 (AF_NFC): Define.
24704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24705 (AF_NFC): Define.
24706
cbff0d96
UD
24707 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24708 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24709 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24710 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24711 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24712
9191c04a
UD
24713 [BZ #13021]
24714 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24715 installed.
24716
bba33c28
UD
24717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24718 typo.
24719 (_dl_x86_64_save_sse): Likewise.
24720
90f139dd
UD
247212011-07-22 Ulrich Drepper <drepper@gmail.com>
24722
1aae088a
UD
24723 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24724 OSXSAVE.
24725 (_dl_x86_64_save_sse): Likewise.
24726
8e2045f5
UD
24727 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24728
90f139dd
UD
24729 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24730
1d002f25
AS
247312011-07-21 Andreas Schwab <schwab@redhat.com>
24732
24733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24734 change.
24735 (_dl_x86_64_save_sse): Use correct AVX check.
24736
21137f89
UD
247372011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24738
24739 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24740 bug in strncpy/strncat.
24741 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24742
a65c0b7a
UD
247432011-07-21 Ulrich Drepper <drepper@gmail.com>
24744
24745 * string/tester.c (test_strcat): Add tests for different alignments
24746 of source and destination.
24747 (test_strncat): Likewise.
24748
6986b98a
UD
247492011-07-20 Ulrich Drepper <drepper@gmail.com>
24750
90bb2039
UD
24751 [BZ #12852]
24752 * posix/glob.c (glob): Check passed in values before using them in
24753 expressions to avoid some overflows.
24754 (glob_in_dir): Likewise.
24755
5644ef54
UD
24756 [BZ #13007]
24757 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24758 check for AVX enablement so that we don't crash with old kernels and
24759 new hardware.
24760 * elf/tst-audit4.c: Add same checks here.
24761 * elf/tst-audit6.c: Likewise.
24762
24763 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24764
bfc9dc9b
AS
247652011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24766
24767 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24768
702e64bb
UD
247692011-07-20 Ulrich Drepper <drepper@gmail.com>
24770
24771 * po/cs.po: Update from translation team.
24772 * po/bg.po: Likewise.
24773
295e904f
MP
247742011-07-12 Marek Polacek <mpolacek@redhat.com>
24775
24776 * misc/sys/cdefs.h: Add support for const attribute.
24777 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24778 to gnu_dev_{major,minor,makedev} functions.
24779
3ff94596
MP
247802011-07-20 Marek Polacek <mpolacek@redhat.com>
24781
24782 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24783
28b59fca
AS
247842011-07-20 Andreas Schwab <schwab@redhat.com>
24785
24786 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24787 strlen results.
24788
19df733e
AK
247892011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24790
24791 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24792 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24793 register in order to avoid conflicts with the soft frame pointer
24794 being held in r11 when necessary.
24795 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24796 (INTERNAL_VSYSCALL_NCS): Likewise.
24797
c8835729
MP
247982011-07-14 Marek Polacek <mpolacek@redhat.com>
24799
24800 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24801 * elf/dl-fini.c (_dl_fini): Adjust caller.
24802 * elf/dl-close.c (_dl_close_worker): Likewise.
24803 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24804
b902330c
MP
248052011-07-15 Marek Polacek <mpolacek@redhat.com>
24806
8991e135
MP
24807 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24808 "aux_cache->nlibs < 0".
24809
b902330c
MP
24810 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24811 in the reload-count case.
24812
99710781
LD
248132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24814
24815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24816 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24817 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24818 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24819 * sysdeps/x86_64/multiarch/strcat.S: New file.
24820 * sysdeps/x86_64/multiarch/strncat.S: New file.
24821 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24822 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24823 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24824 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24825 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24826 (USE_AS_STRCAT): Define.
24827 Add strcat and strncat support.
24828 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24829 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24830 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24831 * string/strncat.c: Update.
24832 (USE_AS_STRNCAT): Define.
24833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24834 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24835 and i7.
24836 * sysdeps/x86_64/multiarch/init-arch.h
24837 (bit_Prefer_PMINUB_for_stringop): New.
24838 (index_Prefer_PMINUB_for_stringop): Likewise.
24839 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24840 bit_Prefer_PMINUB_for_stringop.
24841
7dc6bd90
UD
248422011-07-19 Ulrich Drepper <drepper@gmail.com>
24843
24844 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24845 buffer64.
24846 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24847 of casting of buffer.
24848 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24849 buffer32 and buffer64.
24850 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24851 writes instead of casting of buffer.
24852 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24853 buffer32.
24854 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24855 casting of buffer.
24856
e0e72284
AS
248572011-07-19 Andreas Schwab <schwab@redhat.com>
24858
24859 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24860
feb1eb0b
UD
248612011-07-19 Ulrich Drepper <drepper@gmail.com>
24862
24863 * nscd/nscd.c (termination_handler): Don't do anything for a database
24864 if it has not yet been initialized.
24865
298711ff
UD
248662011-07-18 Ulrich Drepper <drepper@gmail.com>
24867
24868 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24869
248702011-07-15 Marek Polacek <mpolacek@redhat.com>
24871
24872 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24873
f9d68389
UD
248742011-07-18 Ulrich Drepper <drepper@gmail.com>
24875
24876 * po/nl.po: Update from translation team.
24877 * po/sv.po: Likewise.
24878
db290cf5
RM
248792011-07-16 Roland McGrath <roland@hack.frob.com>
24880
24881 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24882 now disallowed by GCC.
5c550700 24883
fd5e21c7
RM
24884 * configure.in (use-default-link): Default to yes if a test -shared
24885 link meets our qualifications.
24886 * configure: Regenerated.
24887
5c550700
RM
24888 * config.make.in (output-format): New variable.
24889 * configure.in: Check for ld --print-output-format support.
24890 * configure: Regenerated.
24891 * Makerules ($(common-objpfx)format.lds)
24892 [$(output-format) != unknown]: Just use $(output-format),
24893 instead of the linker-script munging.
24894
9fa2c032
RM
248952011-07-14 Roland McGrath <roland@hack.frob.com>
24896
a6928d51
RM
24897 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24898 of $(common-objpfx)shlib.lds.
24899 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24900
661607b3
RM
24901 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24902 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24903
9fa2c032
RM
24904 * configure.in (-z relro check): Adjust test code to add a large
24905 writable data section after it.
24906 * configure: Regenerated.
24907
defe9061
RM
249082011-07-11 Roland McGrath <roland@hack.frob.com>
24909
24910 * configure.in (-z relro check): Fix test code to make the variable
24911 truly const.
24912 * configure: Regenerated.
24913
319b9ad4
UD
249142011-07-11 Ulrich Drepper <drepper@gmail.com>
24915
24916 * nscd/nscd.h (struct traced_file): Define.
24917 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24918 elements. Add traced_files.
24919 (inotify_fd): Declare.
24920 (register_traced_file): Declare.
24921 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24922 (inotify_fd): Export.
24923 (resolv_conf_descr): Remove.
24924 (nscd_init): Move inotify descriptor creation to main.
24925 Don't register files for notification here.
24926 (register_traced_file): New function.
24927 (invalidate_cache): Don't use reset_res to determine whether to call
24928 res_init, go through the list of registered files.
24929 (main_loop_poll): The inotify descriptors are now stored in the
24930 structures for the traced files.
24931 (main_loop_epoll): Likewise
24932 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24933 to __nss_disable_nscd.
24934 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24935 for a database anymore. Check the records for all the registered
24936 files instead.
24937 * nss/Makefile (libnss_files-routines): Add files-init.
24938 (libnss_db-routines): Add db-init.
24939 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24940 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24941 * nss/nss_db/db-init.c: New file.
24942 * nss/nss_files/files-init.c: New file.
24943 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24944 __nss_lookup_function.
24945 (__nss_lookup_function): Call nss_load_library.
24946 (nss_load_all_libraries): New function.
24947 (__nss_disable_nscd): Take parameter with callback function for files
24948 to register. Set is_nscd. Load all the DSOs for the NSS modules
24949 used for the cached services.
24950 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24951 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24952 options for features to all the files in nscd.
24953
24954 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24955
23bee3e8
RM
249562011-07-10 Roland McGrath <roland@hack.frob.com>
24957
24958 * csu/elf-init.c (__libc_csu_init): Comment typo.
24959
46a5b7f0
UD
249602011-07-09 Ulrich Drepper <drepper@gmail.com>
24961
24962 * po/pl.po: Update from translation team.
24963 * po/ja.po: Likewise.
24964 * po/ru.po: Likewise.
24965 * po/ko.po: Likewise.
24966 * po/fr.po: Likewise.
24967
d30cf5bb
RM
249682011-07-09 Roland McGrath <roland@hack.frob.com>
24969
113ddea4
RM
24970 * configure.in (.ctors/.dtors header and trailer check):
24971 Use an empirical test on a built program.
24972 * configure: Regenerated.
24973
574920b4
RM
24974 * configure.in (-z relro check): Use an empirical test on a built DSO.
24975 Detect, but do not require, on ia64.
24976 * configure: Regenerated.
24977
d30cf5bb
RM
24978 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24979 Update tests that use readelf to use $READELF instead.
24980 * configure: Regenerated.
24981
8538fdb3
UD
249822011-07-08 Ulrich Drepper <drepper@gmail.com>
24983
24984 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24985 if the result is not used.
24986
04d08991
AJ
249872011-07-05 Andreas Jaeger <aj@suse.de>
24988
24989 [BZ#9696]
24990 * stdlib/tst-strtod.c: Add testcase.
24991
de283087
AD
249922011-07-07 Ulrich Drepper <drepper@gmail.com>
24993
4e5f31c8 24994 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24995 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24996 The latter has a higher limit. Take additional parameter to pass to
24997 the new function.
24998 (__pathconf): Pass file to __statfs_link_max.
24999 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25000 __statfs_link_max.
25001 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25002 __statfs_link_max.
25003
de283087
AD
25004 [BZ #12868]
25005 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25006 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25007 Handle Lustre.
25008 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25009 (__statfs_filesize_max): Likewise.
25010 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25011
c75fa153
AJ
250122011-07-05 Andreas Jaeger <aj@suse.de>
25013
25014 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25015
1a544854
UD
250162011-07-06 Marek Polacek <mpolacek@redhat.com>
25017
25018 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25019 `status' variable.
25020 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25021 Likewise.
25022
6f0eec67
UD
250232011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25024
25025 * Makefile (strop-tests): Add strncat.
25026 * string/test-strncat.c: New file.
25027
aae30307
UD
250282011-06-30 Marek Polacek <mpolacek@redhat.com>
25029
25030 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25031
c0cfb5eb
UD
250322011-06-21 Andreas Jaeger <aj@suse.de>
25033
25034 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25035 Copy rule from iconvdata/Makefile.
25036
01636b21
UD
250372011-07-06 Ulrich Drepper <drepper@gmail.com>
25038
25039 [BZ #12922]
25040 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25041 but no long options are defined, just return 'W'.
25042
9895c8bc
UD
250432011-06-22 Marek Polacek <mpolacek@redhat.com>
25044
25045 [BZ #9696]
25046 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25047
5d4cf042
UD
250482011-07-06 Ulrich Drepper <drepper@gmail.com>
25049
25050 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25051 netgroups to read.
960e5535 25052 (innetgr): Likewise.
5d4cf042 25053
751eb97e
RM
250542011-07-05 Roland McGrath <roland@hack.frob.com>
25055
25056 * config.make.in (install_root): Default to $(DESTDIR).
25057
f15f1e45
UD
250582011-07-05 Ulrich Drepper <drepper@gmail.com>
25059
25060 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25061
4e34ac6a
RM
250622011-07-02 Roland McGrath <roland@hack.frob.com>
25063
5e9b6af4
RM
25064 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25065
84f9ea0f
RM
25066 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25067 containing directory rather than embedding absolute directory names.
25068
ea5ee9f7
RM
25069 * scripts/check-local-headers.sh: Rewritten using awk.
25070 Match by word, not by line. Print error messages for matches.
25071 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25072
1b74661a
RM
25073 * Makerules [shlib-lds-flags empty]:
25074 ($(common-objpfx)libc_pic.opts): New target.
25075 ($(common-objpfx)libc_pic.os.clean): New target.
25076 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25077
25078 * config.make.in (OBJCOPY): New variable.
25079 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25080 * configure: Regenerated.
25081
f781ef40
RM
25082 * config.make.in (use-default-link): New variable.
25083 * configure.in (use_default_link): Grok --with-default-link to set it.
25084 * configure: Regenerated.
25085 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25086 (shlib-lds, shlib-lds-flags): Define to empty.
25087
2d4fa81e
RM
25088 * Makerules (shlib-lds): New variable.
25089 (shlib-lds-flags): New variable.
25090 (build-shlib, build-moduile, build-module-asneeded): Use it.
25091 ($(common-objpfx)libc.so): Use $(shlib-lds).
25092 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25093 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25094
31fffa6b
RM
25095 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25096 DT_FLAGS/DT_FLAGS_1 with zero flags.
25097
4e34ac6a
RM
25098 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25099 linker script munging.
25100
fcfc776b
UD
251012011-07-02 Ulrich Drepper <drepper@gmail.com>
25102
25103 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25104 as 128-bit value.
25105 * crypt/sha512.c (sha512_process_block): Perform total addition using
25106 128-bit if possible.
25107 (__sha512_finish_ctx): Likewise.
25108 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25109 as 64-bit value.
25110 * crypt/sha256.c (SWAP64): Define.
25111 (sha256_process_block): Perform total addition using 64-bit if
25112 possible.
25113 (__sha256_finish_ctx): Likewise.
25114
99231d9a
UD
251152011-07-01 Ulrich Drepper <drepper@gmail.com>
25116
25117 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25118 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25119 * nscd/hstcache.c (cache_addhst): Likewise.
25120 * nscd/grpcache.c (cache_addgr): Likewise.
25121 * nscd/aicache.c (addhstaiX): Likewise
25122 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25123
445b4a53
TK
251242011-07-01 Thorsten Kukuk <kukuk@suse.de>
25125
25126 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25127 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25128 * nscd/hstcache.c (cache_addhst): Likewise.
25129 * nscd/grpcache.c (cache_addgr): Likewise.
25130 * nscd/aicache.c (addhstaiX): Likewise
25131
6d4d8e8e
AS
251322011-07-01 Andreas Schwab <schwab@redhat.com>
25133
25134 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25135 domain only when needed.
25136
89f654c5
AS
251372011-06-30 Andreas Schwab <schwab@redhat.com>
25138
25139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25140 is always restored.
25141
cf3b23ff
UD
251422011-06-29 Ulrich Drepper <drepper@gmail.com>
25143
25144 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25145 are re-adding the entry.
25146 * nscd/servicescache.c (cache_addserv): Likewise.
25147
751626f9
AJ
251482011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25149
25150 * sysdeps/generic/dl-irel.h: fix protection against multiple
25151 inclusions.
25152 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25153
9113ea1f
UD
251542011-06-28 Ulrich Drepper <drepper@gmail.com>
25155
5c0b8d90
UD
25156 [BZ #12935]
25157 * malloc/memusage.sh: Fix quoting in message.
25158 * debug/xtrace.sh: Likewise.
25159
9113ea1f
UD
25160 * configure.in: Remove support for --experimental-malloc option, make
25161 it the default.
25162 * config.make.in: Likewise.
25163 * malloc/Makefile: Likewise.
25164
a4172181
AS
251652011-06-27 Andreas Schwab <schwab@redhat.com>
25166
25167 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25168 two-byte characters.
25169
78a7eee7
RM
251702011-06-27 Roland McGrath <roland@hack.frob.com>
25171
62bede13
RM
25172 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25173 AC_CACHE_CHECK invocation.
25174 * configure: Regenerated.
25175
78a7eee7
RM
25176 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25177
5ce33a62
UD
251782011-06-27 Ulrich Drepper <drepper@gmail.com>
25179
034807a9
UD
25180 [BZ #12350]
25181 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25182 bit from old_res_options.
25183
4902da17
UD
25184 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25185
5ce33a62
UD
25186 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25187 value type for setfct.
25188
c2344f56
L
251892011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25190
25191 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25192 __gettimeofday instead of gettimeofday.
25193
68468076
UD
251942011-06-26 Ulrich Drepper <drepper@gmail.com>
25195
25196 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25197
acb0d739
L
251982011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25199
25200 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25201
25202 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25203 info.
25204
8912479f
L
252052011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25206
25207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25208 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25209 strcpy-sse2-unaligned strncpy-sse2-unaligned
25210 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25211 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25212 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25213 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25214 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25216 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25217 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25218 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25219 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25220 (STRCPY): Support SSE2 and SSSE3 versions.
25221
d5495a11
UD
252222011-06-24 Ulrich Drepper <drepper@gmail.com>
25223
25224 [BZ #12874]
25225 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25226 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25227 kernels which artificially limit size of requests.
25228
0b1cbaae
L
252292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25230
25231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25232 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25233 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25234 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25235 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25236 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25237 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25238 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25239 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25240 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25241 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25242 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25243 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25244 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25245 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25247 Enable unaligned load optimization for Intel Core i3, i5 and i7
25248 processors.
25249 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25250 Define.
25251 (index_Fast_Unaligned_Load): Define.
25252 (HAS_FAST_UNALIGNED_LOAD): Define.
25253
07f494a0
MP
252542011-06-23 Marek Polacek <mpolacek@redhat.com>
25255
25256 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25257
fa3fc0fe
UD
252582011-06-22 Ulrich Drepper <drepper@gmail.com>
25259
25260 [BZ #12907]
25261 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25262 until it is clear that the information is realy needed.
25263 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25264
e12df166
AS
252652011-06-22 Andreas Schwab <schwab@redhat.com>
25266
25267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25268
852eb34d
UD
252692011-06-22 Ulrich Drepper <drepper@gmail.com>
25270
84e2a551
UD
25271 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25272 /sys/devices/system/cpu/online if it is usable.
25273
852eb34d
UD
25274 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25275 reading the information from the /proc filesystem to once a second.
25276
6e502e19
UD
252772011-06-21 Andreas Jaeger <aj@suse.de>
25278
25279 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25280 NULL after inclusion of kernel headers.
25281
75d39ff2
UD
252822011-06-21 Ulrich Drepper <drepper@gmail.com>
25283
51f9aa6a
UD
25284 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25285 calls to internal_setent.
25286
c0244a9d
UD
25287 [BZ #12885]
25288 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25289 addresses using gethostbyname4_r ignore IPv4 addresses.
25290
c5e3c2ae
UD
25291 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25292 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25293
75d39ff2
UD
25294 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25295
42675c6f
DM
252962011-06-20 David S. Miller <davem@davemloft.net>
25297
25298 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25299 inclusions.
25300 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25301
25302 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25303 (elf_irel): Use it.
25304 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25305 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25306 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25307 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25308 * sysdeps/x86_64/dl-irel.h: Likewise.
25309
25310 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25311 * elf/dl-sym.c: Likewise.
25312
57912a71
UD
253132011-06-15 Ulrich Drepper <drepper@gmail.com>
25314
25315 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25316 need to dereference resplen2.
25317
ee22793d
AS
253182011-06-14 Andreas Schwab <schwab@redhat.com>
25319
25320 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25321
a9e836b0
UD
253222011-06-15 Ulrich Drepper <drepper@gmail.com>
25323
77fb9117
UD
25324 * Makeconfig: Define vardbdir and inst_vardbdir.
25325 * nss/Makefile: Add rules to install db-Makefile.
25326
40c1b22c
UD
25327 * nss/nss_db/db-XXX.c: Cleanup.
25328
9f2da732
UD
25329 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25330 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25331 GLIBC_PRIVATE.
25332 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25333 * nss/makedb.c: Implement -g option to specify that value strings
25334 are generated and should not be added to table iterated over for
25335 get*ent calls.
25336 * nss/nss_db/db-initgroups.c: New file.
25337
82e9a1f7
UD
25338 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25339 interface.
25340
c41af17e
UD
25341 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25342 (internal_getgrouplist): Adjust to name change.
25343 Update use_initgroups_entry if this is not the first call.
25344 * nss/databases.def: Add initgroups entry.
25345
a9e836b0
UD
25346 * nss/makedb.c (compute_tables): Check result of multiple hash table
25347 sizes to minimize maximum chain length.
25348
2666d441
UD
253492011-06-14 Ulrich Drepper <drepper@gmail.com>
25350
25351 * Versions.def: Add entry for libnss_db.
25352 * shlib-versions: Likewise.
25353 * nss/Makefile: Add rules to build libnss_db.
25354 * nss/Versions: Add libnss_db information. Organize libnss_files
25355 entries better.
25356 * nss/db-Makefile: Add gshadow support. Change rules for the new
25357 makedb progra. Some minor improvements to generate smaller files.
25358 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25359 here from...
25360 * nss/makedb.c: ...here.
25361 Improve database format to be smaller and require less memory at
25362 runtime.
25363 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25364 db anymore.
25365 * nss/nss_db/db-netgrp.c: Likewise.
25366 * nss/nss_db/db-open.c: Likewise.
25367 * nss/nss_files/flies-XXX.x: Adjust comments.
25368 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25369 * nss/nss_files/files-grp.c: Likewise.
25370 * nss/nss_files/files-hosts.c: Likewise.
25371 * nss/nss_files/files-network.c: Likewise.
25372 * nss/nss_files/files-proto.c: Likewise.
25373 * nss/nss_files/files-pwd.c: Likewise.
25374 * nss/nss_files/files-rpc.c: Likewise.
25375 * nss/nss_files/files-service.c: Likewise.
25376 * nss/nss_files/files-sgrp.c: Likewise.
25377 * nss/nss_files/files-spwd.c: Likewise.
25378 * nss/nss_db/db-alias.c: Removed.
25379 * nss/nss_db/dummy-db.h: Removed.
25380
9ee76b5a
UD
253812011-06-02 Ulrich Drepper <drepper@gmail.com>
25382
25383 * nss/makedb.c: Rewritten to not use database library.
25384 * nss/Makefile: Update to build new makedb program.
25385
c71ca1f8
AJ
253862011-06-14 Andreas Jaeger <aj@suse.de>
25387
25388 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25389 memset declaration.
25390
3154bfb8
UD
253912011-06-10 Andreas Schwab <schwab@redhat.com>
25392
25393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25394 tmpbuf.
25395
b350afab
RM
253962011-06-10 Roland McGrath <roland@hack.frob.com>
25397
decd4e50
RM
25398 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25399 * elf/Makefile ($(objpfx)ld.so): Likewise.
25400
5615eaf2
RM
25401 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25402 Don't list ld.so twice in dependencies.
25403
25404 * posix/bug-regex31.c: Include <stdlib.h>.
25405
25406 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25407
25408 * nis/nss_compat/compat-spwd.c
25409 (getspent_next_nss_netgr): Remove unused variable.
25410 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25411
25412 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25413 nonmembers" output to use the right array.
25414
25415 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25416
25417 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25418
25419 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25420 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25421 * catgets/gencat.c (read_input_file): Likewise.
25422 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25423
25424 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25425 variable definition inside #if's controlling its use.
25426
25427 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25428
25429 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25430
25431 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25432
25433 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25434 unreachable code.
25435
25436 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25437
b68e08db
RM
25438 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25439 * configure: Regenerated.
25440
b350afab
RM
25441 * Makerules: Revert last change.
25442 * elf/Makefile: Likewise.
25443
28368601
RM
254442011-06-09 Roland McGrath <roland@hack.frob.com>
25445
25446 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25447 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25448 (reloc-link): Likewise.
25449
11988f8f
UD
254502011-06-09 Ulrich Drepper <drepper@gmail.com>
25451
25452 * elf/Makefile: Add rules to build pldd.
25453 * elf/pldd.c: New file.
25454 * elf/pldd-xx.c: New file.
25455
e80fab37
UD
254562011-06-07 Ulrich Drepper <drepper@gmail.com>
25457
25458 * version.h: Update for 2.15 development version.
25459
9b849836
DM
254602011-06-07 David S. Miller <davem@davemloft.net>
25461
25462 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25463 ifuncs.
25464 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25465 elf_machine_lazy_rel): Likewise.
25466 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25467 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25468 elf_machine_lazy_rel): Likewise.
25469 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25470 dl_hwcap via passed in argument.
25471 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25472 Likewise.
25473
5a31b283
AK
254742011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25475
25476 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25477
069e52f8
RM
254782011-06-06 Roland McGrath <roland@hack.frob.com>
25479
25480 [BZ #12849]
25481 * manual/fdl-1.1.texi: New file, verbatim from:
25482 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25483 * manual/lgpl-2.1.texi: New file, verbatim from:
25484 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25485 * manual/Makefile (licenses): New variable, list those new file names.
25486 (texis): Use it.
25487 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25488
25489 * manual/fdl.texi: File removed.
25490 * manual/lesser.texi: File removed.
25491 * manual/libc.texinfo (Copying, Documentation License):
25492 Use new @include file names, put @appendix directive before @include.
25493
f16846a5
JJ
254942011-06-04 Jakub Jelinek <jakub@redhat.com>
25495
25496 [BZ #12841]
25497 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25498 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25499 (mq_open): Add __NTH.
25500
3d29045b
L
255012011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25502
25503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25504 Assume Intel Core i3/i5/i7 processor if AVX is available.
25505
8c297311
UD
255062011-05-31 Ulrich Drepper <drepper@gmail.com>
25507
25508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25509 typo.
25510
c8fc0c91
UD
255112011-05-31 Andreas Schwab <schwab@redhat.com>
25512
25513 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25514 memory. Use alloca_account. Fix memory leak when retrying.
25515
5b27a807
UD
255162011-05-31 Ulrich Drepper <drepper@gmail.com>
25517
356f8bc6
UD
25518 * version.h (RELEASE): Bump for 2.14 release.
25519 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25520
5b27a807
UD
25521 * config.make.in (RANLIB): Remove entry.
25522
01f16ab0
UD
255232011-05-30 Ulrich Drepper <drepper@gmail.com>
25524
41fce8bd
UD
25525 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25526 (libc.pot): Work around missing support for .ksh extension in xgettext.
25527
4769ae77
UD
25528 [BZ #12684]
25529 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25530 if both request failed.
25531 (send_dg): In case of server errors clear resplen or *resplen2.
25532
6b1e7d19
UD
25533 [BZ #12454]
25534 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25535 when there are multiple maps.
25536 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25537 (_dl_fini): Remove test here.
25538
01f16ab0
UD
25539 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25540
b1ebd700
UD
255412011-05-29 Ulrich Drepper <drepper@gmail.com>
25542
7ae22829
UD
25543 [BZ #12350]
25544 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25545 bit from old_res_options.
25546 (gaih_inet): Likewise.
25547
553149f6 25548 [BZ #11099]
18a84741 25549 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25550 as signed.
25551
652ffab1
UD
25552 * resolv/res_init.c (res_setoptions): Make the code more compact.
25553
16985fd0
UD
25554 [BZ #11558]
25555 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25556 set RES_USEVC.
25557
0464f746
UD
25558 [BZ #11634]
25559 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25560
7d17596c
UD
25561 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25562
cf6bbbd7
UD
25563 [BZ #11781]
25564 * malloc/malloc.h: Declare malloc hook variables as volatile.
25565
13f1ab36
UD
25566 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25567 in last patch.
25568
b1ebd700
UD
25569 [BZ #11799]
25570 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25571 raise in the comment.
80e2212d
UD
25572 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25573 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25574 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25575
ce67228d
UD
255762011-05-28 Ulrich Drepper <drepper@gmail.com>
25577
8887a920
UD
25578 [BZ #12811]
25579 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25580 grow the buffers more if it already has to be sufficient.
25581 (build_wcs_upper_buffer): Likewise.
25582 * posix/regexec.c (check_matching): Likewise.
25583 (clean_state_log_if_needed): Likewise.
25584 (extend_buffers): Don't enlarge buffers beyond size of the input
25585 buffer.
25586 Patches mostly by Emil Wojak <emil@wojak.eu>.
25587 * posix/bug-regex32.c: New file.
25588 * posix/Makefile (tests): Add bug-regex32.
25589
4f031072
UD
25590 * locale/findlocale.c (_nl_find_locale): Return right away if
25591 _nl_explode_name failed.
25592 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25593
d0478f0c
UD
25594 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25595
de81b246
UD
25596 * debug/xtrace.sh: Unify messages.
25597 * malloc/memusage.sh: Likewise.
25598
c738465a
UD
25599 [BZ #12813]
25600 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25601 time symbol from vDSO. Substitute with vsyscall if not available.
25602 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25603 __vdso_time.
25604
f1f929d7
UD
25605 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25606 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25607 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25608 Add sendmmsg and internal_sendmmsg.
25609 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25610 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25611 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25612
ce67228d
UD
25613 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25614 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25615 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25616
e57420c6
UD
256172011-05-27 Ulrich Drepper <drepper@gmail.com>
25618
a8509ca5
UD
25619 [BZ #12813]
25620 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25621 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25622 available.
25623 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25624 __vdso_getcpu.
25625
e57420c6
UD
25626 [BZ #12814]
25627 * iconvdata/Makefile (tests): Add bug-iconv9.
25628 * iconvdata/bug-iconv9.c: New file.
25629
4d07db15
AS
256302011-05-27 Andreas Schwab <schwab@redhat.com>
25631
25632 [BZ #12814]
25633 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25634
ea486f69
JJ
256352011-05-25 Jakub Jelinek <jakub@redhat.com>
25636
25637 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25638 (struct user_regs_struct): Change intcs field back to cs.
25639
6f038433
UD
256402011-05-25 Ulrich Drepper <drepper@gmail.com>
25641
25642 * po/ja.po: Update from translation team.
25643
67f86a25
UD
256442011-05-23 Ulrich Drepper <drepper@gmail.com>
25645
25646 [BZ #12795]
25647 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25648 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25649
def7fbd6
AS
256502011-05-20 Andreas Schwab <schwab@redhat.com>
25651
25652 * stdlib/longlong.h: Update from GCC.
25653
f50ef8f1
AS
256542011-05-23 Andreas Schwab <schwab@redhat.com>
25655
25656 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25657 parameter name.
25658 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25659 Add parameter name.
25660 (__sysconf): Pass it down.
25661
de7ce8f1
UD
256622011-05-22 Ulrich Drepper <drepper@gmail.com>
25663
f2962a71
UD
25664 [BZ #12671]
25665 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25666 some situations.
25667 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25668 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25669 add in in __libc_use_alloca calls. Adjust callers.
25670 (glob): Use malloc in some situations.
25671
de7ce8f1
UD
25672 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25673 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25674 pltexit.
25675
aec84f53
UD
256762011-05-21 Ulrich Drepper <drepper@gmail.com>
25677
05bb4a68
UD
25678 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25679 and CLOCK_BOOTTIME_ALARM.
25680
7ea72f99
UD
25681 [BZ #12782]
25682 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25683 is returned.
25684
7e4afad5
UD
25685 * string/_strerror.c (__strerror_r): Print negative errors as signed
25686 numbers.
25687
8e211fec
UD
25688 [BZ #12777]
25689 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25690 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25691 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25692
f7d82dc9
UD
25693 * configure.in: Fix typo in redirection and correct removal of test
25694 files in two cases.
25695
cc9e536d
UD
25696 [BZ #12788]
25697 * locale/setlocale.c (new_composite_name): Fix test to check for
25698 identical name of all categories.
25699
aec84f53
UD
25700 [BZ #12792]
25701 * libio/filedoalloc.c (local_isatty): New function.
25702 (_IO_file_doallocate): Use local_isatty.
25703 * stdio-common/perror.c (perror): In case a new stream is used
25704 forward the stream error.
25705 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25706 error flag.
25707
78e64fdc
RT
257082011-05-20 Ulrich Drepper <drepper@gmail.com>
25709
34a9094f
UD
25710 [BZ #11869]
25711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25712 alloca.
25713 * include/alloca.h (extend_alloca_account): Define.
25714
78e64fdc
RT
25715 [BZ #11857]
25716 * posix/regex.h: Fix comments with documentation of user-accessible
25717 fields after compilation and describe correct free'ing of pattern
25718 after re_compile_pattern.
25719 Patch by Reuben Thomas <rrt@sc3d.org>.
25720
457bddfc
RA
257212011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25722
25723 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25724 and -mno-altivec to prevent the compiler from using Altivec and/or
25725 VSX instructions when the corresponding registers are not available.
25726
a4527b51
AS
257272011-05-19 Andreas Schwab <schwab@redhat.com>
25728
25729 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25730
ed690b2f
UD
257312011-05-19 Ulrich Drepper <drepper@gmail.com>
25732
25733 * libio/freopen.c (freopen): Use __dup2, not dup2.
25734 * libio/freopen64.c (freopen64): Likewise.
25735
8db73634
L
257362011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25737
25738 [BZ #12775]
25739 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25740 * math/Makefile (tests): Add test-powl.
25741 (CFLAGS-test-powl.c): Define.
25742 * math/test-powl.c: New file.
25743
0a197a9d
L
257442011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25745
25746 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25747
ee30c380
UD
257482011-05-17 Ulrich Drepper <drepper@gmail.com>
25749
25750 [BZ #11837]
25751 * iconvdata/gb18030.c: Update to GB18020-2005.
25752
6ce75379
UD
257532011-05-16 Ulrich Drepper <drepper@gmail.com>
25754
a4b89fd8
AR
25755 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25756 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25757 Patch by Aharon Robbins <arnold@skeeve.com>.
25758
ea389b12
UD
25759 [BZ #11892]
25760 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25761 on the stack.
25762
68a3f91f
UD
25763 [BZ #11895]
25764 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25765 through underflows.
25766
15cc7dd1
UD
25767 [BZ #12766]
25768 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25769 point to strings before performing equality test for error_one_per_line
25770 mode.
25771
f3799213
UD
25772 [BZ #11697]
25773 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25774
d79a9c94
UD
25775 [BZ #11820]
25776 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25777 (struct user_fpregs_struct): Avoid __uint*_t types.
25778
56e5eb46
UD
25779 [BZ #6420]
25780 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25781 symbol info. Use it instead of calling _dl_addr locally.
25782 (lock_and_info): New function.
25783 (tr_freehook): Call lock_and_info and pass symbol info as additional
25784 parameter to tr_where.
25785 (tr_mallochook): Likewise.
25786 (tr_reallochook): Likewise.
25787 (tr_memalignhook): Likewise.
25788
6ce75379
UD
25789 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25790 used and couldn't be at all thread-safe.
25791
f8a3b5bf
UD
257922011-05-15 Ulrich Drepper <drepper@gmail.com>
25793
94b7cc37
UD
25794 * libio/freopen.c (freopen): Don't close old file descriptor
25795 before the new one is opened. Instead dup the new file descriptor
25796 to the old one after the new stream is created.
25797 * libio/freopen64.c (freopen64): Likewise.
25798 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25799 * libio/fileops.c (_IO_new_file_close_it): Handle new
25800 _IO_FLAGS2_NOCLOSE flag.
25801 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25802 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25803 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25804 _IO_FLAGS2_NOCLOSE flag.
25805 * include/unistd.h: Add hidden_proto for dup3.
25806 Define __have_dup3.
25807 * io/dup3.c: Define hidden symbol.
25808 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25809
bd25564e
UD
25810 [BZ #7101]
25811 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25812 when an incomplete long option is used.
25813 * posix/tst-getopt_long1.c: New file.
25814 * posix/Makefile (tests): Add tst-getopt_long1.
25815
c84cfef4
UD
25816 [BZ #10138]
25817 * scripts/config.guess: Update from autoconf-2.68.
25818 * scripts/config.sub: Likewise.
25819
3b85df27
UD
25820 [BZ #10157]
25821 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25822 tests into ...
25823 (has_cpuclock): ...this. New function.
25824 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25825 macro here based on has_cpuclock code.
25826
15a856b1
UD
25827 [BZ #10149]
25828 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25829 First byte (not low byte) is now always NUL.
25830 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25831
05f399e6
UD
25832 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25833 Use non-cancelable interfaces.
25834
10a52685 25835 [BZ #9809]
94ecc67d
UD
25836 * locale/iso-639.def: Add entry for Sorani.
25837
f8a3b5bf
UD
25838 [BZ #11901]
25839 * include/stdlib.h: Move include protection to the right place.
25840 Define abort_msg_s. Declare __abort_msg with it.
25841 * stdlib/abort.c (__abort_msg): Adjust type.
25842 * assert/assert.c (__assert_fail_base): New function. Majority
25843 of code from __assert_fail. Allocate memory for __abort_msg with
25844 mmap.
25845 (__assert_fail): Now call __assert_fail_base.
25846 * assert/assert-perr.c: Remove bulk of implementation. Use
25847 __assert_fail_base.
25848 * include/assert.hL Declare __assert_fail_base.
25849 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25850 mmap.
25851 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25852
1af4e298
UD
258532011-05-14 Ulrich Drepper <drepper@gmail.com>
25854
f8a3b5bf 25855 [BZ #11952]
d26dfc60
MG
25856 [BZ #12453]
25857 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25858 until all modules are registered in the DTV.
25859 * elf/Makefile: Add rules to build and run tst-tls19.
25860 * elf/tst-tls19.c: New file.
25861 * elf/tst-tls19mod1.c: New file.
25862 * elf/tst-tls19mod2.c: New file.
25863 * elf/tst-tls19mod3.c: New file.
25864 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25865
2fc54d6f
UD
25866 [BZ #12083]
25867 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25868 correctly.
25869
98d76b46
UD
25870 [BZ #12601]
25871 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25872 two-byte sequence errors.
25873 * iconvdata/Makefile (tests): Add bug-iconv8.
25874 * iconvdata/bug-iconv8.c: New file.
25875
da3c19ef
UD
25876 [BZ #12626]
25877 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25878 buf2 definition.
25879
ca408c15
UD
25880 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25881
d6f67f7d
UD
25882 [BZ #12432]
25883 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25884 (dummy_getcfa): New function.
25885 (init): Get _Unwind_GetCFA address, use dummy if not found.
25886 (backtrace_helper): In recursion check, also check whether CFA changes.
25887 (__backtrace): Completely initialize arg.
25888
1af4e298 25889 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25890 storing incomplete byte sequence in state object. Avoid testing for
25891 guaranteed too small input if we know there is enough data available.
1af4e298 25892
da62f81b
AS
258932011-05-11 Andreas Schwab <schwab@redhat.com>
25894
25895 * Makeconfig (+link-pie): Indent.
25896 * Rules (binaries-pie): Define if $(have-fpie) and
25897 $(build-shared).
25898 (binaries-shared): Also filter out $(binaries-pie).
25899 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25900 * nscd/Makefile (others-pie): Add nscd.
25901 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25902 ($(objpfx)nscd): Remove command override.
25903 * login/Makefile (others-pie): Add pt_chown.
25904 ($(objpfx)pt_chown): Remove command override.
25905 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25906 remove command overrides.
25907
fcabc0f8
UD
259082011-05-13 Ulrich Drepper <drepper@gmail.com>
25909
20030ae6
UD
25910 * libio/tst_putwc.c: Fix error messages.
25911
fcabc0f8
UD
25912 [BZ #12724]
25913 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25914 currently writing and seek to current position when not.
25915 * libio/Makefile (tests): Add bug-fclose1.
25916 * libio/bug-fclose1.c: New file.
25917
320a5dc0
PB
259182011-05-12 Ulrich Drepper <drepper@gmail.com>
25919
25920 [BZ #12511]
25921 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25922 don't set DF_1_NODELETE here.
25923 (do_lookup_x): When entering new entry test for copy relocation
25924 and if necessary set DF_1_NODELETE flag.
25925 * elf/tst-unique4.cc: New file.
25926 * elf/tst-unique4.h: New file.
25927 * elf/tst-unique4lib.cc: New file.
25928 * elf/Makefile: Add rules to build and run tst-unique4.
25929 Patch by Piotr Bury <pbury@goahead.com>.
25930
22836f52
UD
259312011-05-11 Ulrich Drepper <drepper@gmail.com>
25932
f574184a
UD
25933 [BZ #12052]
25934 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25935
e1fb097f
UD
25936 [BZ #12625]
25937 * misc/mntent_r.c (addmntent): Flush the stream after the output
25938
22836f52
UD
25939 [BZ #12393]
25940 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25941 (is_trusted_path_normalize): Skip initial colon. Append slash
25942 to empty buffer. Duplicate is_trusted_path code but allow
25943 constructed patch to be prefix.
25944 (is_dst): Allow $ORIGIN followed by /.
25945 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25946 Correct testing of result of is_trusted_path_normalize
25947 (decompose_rpath): Fix warning.
25948
7b3b0b2a
UD
259492011-05-10 Ulrich Drepper <drepper@gmail.com>
25950
25951 [BZ #11257]
25952 * grp/initgroups.c (internal_getgrouplist): When we found the service
25953 list through the initgroups entry in nsswitch.conf do not always
25954 continue on a successful lookup. Don't always use the
eac80ce2 25955 __nss_group_database value if it is set.
7b3b0b2a
UD
25956 * nss/nsswitch.conf (initgroups): Change action for successful db
25957 lookup to continue for compatibility.
25958
2a81eaa5
UD
259592011-05-09 Ulrich Drepper <drepper@gmail.com>
25960
be97a69e
UD
25961 [BZ #11532]
25962 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25963 and CP774 modules.
25964 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25965 and CP774 modules.
25966 * iconvdata/tst-tables.sh: Likewise.
25967 * iconvdata/cp770.c: New file.
25968 * iconvdata/cp771.c: New file.
25969 * iconvdata/cp772.c: New file.
25970 * iconvdata/cp773.c: New file.
25971 * iconvdata/cp774.c: New file.
25972 * iconvdata/testdata/CP770: New file.
25973 * iconvdata/testdata/CP770..UTF8: New file.
25974 * iconvdata/testdata/CP771: New file.
25975 * iconvdata/testdata/CP771..UTF8: New file.
25976 * iconvdata/testdata/CP772: New file.
25977 * iconvdata/testdata/CP772..UTF8: New file.
25978 * iconvdata/testdata/CP773: New file.
25979 * iconvdata/testdata/CP773..UTF8: New file.
25980 * iconvdata/testdata/CP774: New file.
25981 * iconvdata/testdata/CP774..UTF8: New file.
25982
25983 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25984 END CHARMAP line.
25985 * iconvdata/gen-8bit-gap.sh: Likewise.
25986 * iconvdata/gen-8bit.sh: Likewise.
25987
c1e9e399
UD
25988 * locale/iso-639.def: Add ary entry.
25989
24c55fb3 25990 [BZ #11258]
96b4b1b0
UD
25991 * locale/C-translit.h.in: Add U20A1 transliteration.
25992
bdc2f971
KB
25993 [BZ #12178]
25994 * locale/iso-639.def: Add wae entry.
25995 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25996
2952b117
UD
25997 [BZ #12545]
25998 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25999 for n.
26000
2a81eaa5
UD
26001 [BZ #12711]
26002 * locale/C-translit.h.in: Add entry for U20B9.
26003 Patch by pravin.d.s@gmail.com.
26004
28377d1b
UD
260052011-05-08 Ulrich Drepper <drepper@gmail.com>
26006
7fb90fb8
UD
26007 [BZ #12713]
26008 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26009 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26010 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26011 in rtld. Use *stat64.
7fb90fb8 26012 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26013 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26014 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26015 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26016 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26017 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26018 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26019 __fstatat64 macros.
7fb90fb8
UD
26020 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26021 * dirent/rewinddir.c: Add libc_hidden_def.
26022 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26023 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26024
28377d1b
UD
26025 * include/dirent.h (__alloc_dir): Add flags parameter.
26026 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26027 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26028 __alloc_dir.
26029 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26030 from fdopendir if O_CLOEXEC is already set.
26031
66bdbaa4
AM
260322011-03-15 Alan Modra <amodra@gmail.com>
26033
26034 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26035 l_tls_firstbyte_offset non-zero. Save padding offset in
26036 l_tls_firstbyte_offset for later use.
26037 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26038 freeing static tls block.
26039
95721191
JN
260402011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26041
26042 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26043 where #ifdef was intended. The intent is to prevent ARG_MAX from
26044 being defined by the kernel headers.
26045
f87dfb1f
UD
260462011-05-07 Ulrich Drepper <drepper@gmail.com>
26047
26048 [BZ #12734]
26049 * resolv/resolv.h: Define RES_NOTLDQUERY.
26050 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26051 no-tld-query and set RES_NOTLDQUERY.
26052 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26053 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26054 modern BIND to search name as TLD unless forbidden.
26055
47c3cd7a
UD
260562011-05-07 Petr Baudis <pasky@suse.cz>
26057 Ulrich Drepper <drepper@gmail.com>
26058
26059 [BZ #12393]
26060 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26061 (is_trusted_path): ...to here.
c1e9ea35 26062 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26063 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26064 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26065
8a35c912
PP
260662011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26067
26068 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26069 __BEGIN/__END_DECLS.
26070
acd41f47
UD
260712011-05-06 Ulrich Drepper <drepper@gmail.com>
26072
26073 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26074 NSS_STATUS_NOTFOUND if no record was found.
26075
597df647
AS
260762011-05-05 Andreas Schwab <schwab@redhat.com>
26077
26078 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26079 (headers-not-in-tirpc): Remove rpc/netdb.h
26080 * resolv/netdb.h: Revert last change.
26081
b9af1301
PP
260822011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26083
26084 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26085 circular dependency between libgcc.a and libc.a.
26086
4e34d5f5
AS
260872011-05-05 Andreas Schwab <schwab@redhat.com>
26088
26089 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26090 * nis/Makefile: Don't install rpcsvc/*.
26091 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26092 instead of <rpc/types.h>.
26093 (MAXHOSTNAMELEN): Define.
26094
00ee369c
AS
260952011-05-03 Andreas Schwab <schwab@redhat.com>
26096
26097 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26098
0b592a30
MB
260992011-04-28 Maciej Babinski <mbabinski@google.com>
26100
26101 [BZ #12714]
26102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26103 gethostbyname4_r when IPv6 results are possible.
26104
6e04cbbe
UD
261052011-05-02 Ulrich Drepper <drepper@gmail.com>
26106
26107 [BZ #12723]
26108 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26109 _PC_PIPE_BUF handling.
26110
e4ecafe0
BH
261112011-04-30 Bruno Haible <bruno@clisp.org>
26112
26113 [BZ #12717]
26114 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26115 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26116 to 'int'.
26117 * inet/getnameinfo.c (getnameinfo): Likewise.
26118
125ee683
UD
261192011-04-29 Ulrich Drepper <drepper@gmail.com>
26120
26121 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26122 to groups setting in database lookup.
26123 * nss/nsswitch.conf: Add initgroups entry.
26124
b722481a
EB
261252011-04-22 Ulrich Drepper <drepper@gmail.com>
26126
26127 [BZ #12685]
26128 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26129 mode string.
26130 Patch by Eric Blake <eblake@redhat.com>.
26131
4df46dbd
L
261322011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26133
26134 * sunrpc/Makefile (need-export-routines): Add svc_run.
26135 (routines): Remove svc_run.
26136 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26137 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26138 * sunrpc/svc_run.c (svc_run): Likewise.
26139 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26140
e84142d2
UD
261412011-04-21 Ulrich Drepper <drepper@gmail.com>
26142
26143 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26144 problem in reallocation in last patch.
26145
877175d8
UD
261462011-04-20 Ulrich Drepper <drepper@gmail.com>
26147
26148 * sunrpc/Makefile: Move inclusion of Rules.
26149
ab8eed78
UD
261502011-04-19 Ulrich Drepper <drepper@gmail.com>
26151
26152 * nss/nss_files/files-initgroups.c: New file.
26153 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26154 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26155 _nss_files_initgroups_dyn.
26156
e3d8f584
RS
261572011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26158
26159 * elf/elf.h (R_ARM_IRELATIVE): Define.
26160
af190f45
UD
261612011-04-19 Ulrich Drepper <drepper@gmail.com>
26162
26163 * po/ru.po: Update from translation team.
26164
53cf59ef
UD
261652011-04-17 Ulrich Drepper <drepper@gmail.com>
26166
26167 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26168 dependencies.
26169
4c559bcd
MF
261702011-02-06 Mike Frysinger <vapier@gentoo.org>
26171
26172 [BZ #12653]
26173 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26174 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26176 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26177 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26178
4420675c
AS
261792011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26180
26181 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26182 differing bytes.
26183 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26184 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26185 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26186
75ea32ab
UD
261872011-04-17 Ulrich Drepper <drepper@gmail.com>
26188
26189 [BZ #12420]
26190 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26191 storing it.
26192 * stdlib/bug-getcontext.c: New file.
26193 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26194
27390476
AK
261952011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26196
26197 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26198 instructions into .machine "z9-109".
26199 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26200 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26201
10442705
AK
262022011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26203
26204 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26205 between environment variables and auxiliary vector.
26206
7b57bfe5
UD
262072011-04-16 Ulrich Drepper <drepper@gmail.com>
26208
26209 * Makefile: Add rules to build linkobj/libc.so.
26210 * include/libc-symbols.h: Define libc_hidden_nolink.
26211 * include/rpc/auth.h: Mark functions which are to be hidden.
26212 * include/rpc/auth_des.h: Likewise.
26213 * include/rpc/auth_unix.h: Likewise.
26214 * include/rpc/clnt.h: Likewise.
26215 * include/rpc/des_crypt.h: Likewise.
26216 * include/rpc/key_prot.h: Likewise.
26217 * include/rpc/pmap_clnt.h: Likewise.
26218 * include/rpc/pmap_prot.h: Likewise.
26219 * include/rpc/pmap_rmt.h: Likewise.
26220 * include/rpc/rpc_msg.h: Likewise.
26221 * include/rpc/svc.h: Likewise.
26222 * include/rpc/svc_auth.h: Likewise.
26223 * include/rpc/xdr.h: Likewise.
26224 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26225 * nss/Makefile: Likewise.
26226 * sunrpc/Makefile: Don't install headers. Build library with normal
26227 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26228 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26229 for the compat linking library. Remove use of INTDEF/INTUSE.
26230 * sunrpc/auth_none.c: Likewise.
26231 * sunrpc/auth_unix.c: Likewise.
26232 * sunrpc/authdes_prot.c: Likewise.
26233 * sunrpc/authuxprot.c: Likewise.
26234 * sunrpc/clnt_gen.c: Likewise.
26235 * sunrpc/clnt_perr.c: Likewise.
26236 * sunrpc/clnt_raw.c: Likewise.
26237 * sunrpc/clnt_simp.c: Likewise.
26238 * sunrpc/clnt_tcp.c: Likewise.
26239 * sunrpc/clnt_udp.c: Likewise.
26240 * sunrpc/clnt_unix.c: Likewise.
26241 * sunrpc/des_crypt.c: Likewise.
26242 * sunrpc/des_soft.c: Likewise.
26243 * sunrpc/get_myaddr.c: Likewise.
26244 * sunrpc/key_call.c: Likewise.
26245 * sunrpc/key_prot.c: Likewise.
26246 * sunrpc/netname.c: Likewise.
26247 * sunrpc/pm_getmaps.c: Likewise.
26248 * sunrpc/pm_getport.c: Likewise.
26249 * sunrpc/pmap_clnt.c: Likewise.
26250 * sunrpc/pmap_prot.c: Likewise.
26251 * sunrpc/pmap_prot2.c: Likewise.
26252 * sunrpc/pmap_rmt.c: Likewise.
26253 * sunrpc/publickey.c: Likewise.
26254 * sunrpc/rpc_cmsg.c: Likewise.
26255 * sunrpc/rpc_common.c: Likewise.
26256 * sunrpc/rpc_dtable.c: Likewise.
26257 * sunrpc/rpc_prot.c: Likewise.
26258 * sunrpc/rpc_thread.c: Likewise.
26259 * sunrpc/rtime.c: Likewise.
26260 * sunrpc/svc.c: Likewise.
26261 * sunrpc/svc_auth.c: Likewise.
26262 * sunrpc/svc_authux.c: Likewise.
26263 * sunrpc/svc_raw.c: Likewise.
26264 * sunrpc/svc_run.c: Likewise.
26265 * sunrpc/svc_simple.c: Likewise.
26266 * sunrpc/svc_tcp.c: Likewise.
26267 * sunrpc/svc_udp.c: Likewise.
26268 * sunrpc/svc_unix.c: Likewise.
26269 * sunrpc/svcauth_des.c: Likewise.
26270 * sunrpc/xcrypt.c: Likewise.
26271 * sunrpc/xdr.c: Likewise.
26272 * sunrpc/xdr_array.c: Likewise.
26273 * sunrpc/xdr_float.c: Likewise.
26274 * sunrpc/xdr_intXX_t.c: Likewise.
26275 * sunrpc/xdr_mem.c: Likewise.
26276 * sunrpc/xdr_rec.c: Likewise.
26277 * sunrpc/xdr_ref.c: Likewise.
26278 * sunrpc/xdr_sizeof.c: Likewise.
26279 * sunrpc/xdr_stdio.c: Likewise.
26280
e6c61494
UD
262812011-04-10 Ulrich Drepper <drepper@gmail.com>
26282
26283 [BZ #12650]
26284 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26285 * sysdeps/ia64/dl-tls.h: Likewise.
26286 * sysdeps/powerpc/dl-tls.h: Likewise.
26287 * sysdeps/s390/dl-tls.h: Likewise.
26288 * sysdeps/sh/dl-tls.h: Likewise.
26289 * sysdeps/sparc/dl-tls.h: Likewise.
26290 * sysdeps/x86_64/dl-tls.h: Likewise.
26291 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26292
34fe483e
AS
262932011-03-14 Andreas Schwab <schwab@redhat.com>
26294
26295 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26296 rpath element also skip the following colon.
26297 (expand_dynamic_string_token): Add is_path parameter and pass
26298 down to DL_DST_REQUIRED and _dl_dst_substitute.
26299 (decompose_rpath): Call expand_dynamic_string_token with
26300 non-zero is_path. Ignore empty rpaths.
26301 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26302 with zero is_path.
26303
f12a32e6
AS
263042011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26305
26306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26307 Make cancelable.
26308
38a7d692
UD
263092011-04-09 Ulrich Drepper <drepper@gmail.com>
26310
26311 [BZ #12655]
26312 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26313 Patch by Filipe David Manana <fdmanana@apache.org>.
26314
e451d22b
AS
263152011-04-07 Andreas Schwab <schwab@redhat.com>
26316
26317 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26318 Maintain aligned stack.
26319 (CHECK_RSP): Remove unused macro.
26320
dedc7c7b
UD
263212011-04-03 Ulrich Drepper <drepper@gmail.com>
26322
26323 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26324 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26325
94521213
UD
263262011-04-02 Ulrich Drepper <drepper@gmail.com>
26327
26328 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26329
8cb700c0 26330 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26331
0354e355
L
263322011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26333
26334 [BZ #12518]
26335 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26336 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26337 * sysdeps/x86_64/memmove.c: New file.
26338 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26339 (memcpy): Renamed to ...
26340 (__new_memcpy): This.
26341 (memcpy): Provide GLIBC_2_14 memcpy.
26342 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26343 (memcpy): Provide GLIBC_2_2_5 memcpy.
26344
8593482f
UD
263452011-04-01 Ulrich Drepper <drepper@gmail.com>
26346
26347 [BZ #12631]
26348 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26349
81a5726b
AS
263502011-03-30 Andreas Schwab <schwab@redhat.com>
26351
26352 * misc/syncfs.c: New file.
26353 * misc/Makefile (routines): Add syncfs.
26354 * posix/unistd.h: Declare syncfs.
26355 * sysdeps/unix/syscalls.list: Add syncfs.
26356
00e5419f
AS
263572011-04-01 Andreas Schwab <schwab@redhat.com>
26358
26359 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26360 open_by_handle_at.
26361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26362 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26363 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26364 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26366 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26367 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26368
748876bf
UD
263692011-04-01 Ulrich Drepper <drepper@gmail.com>
26370
658e451d
UD
26371 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26372 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26373 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26375 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26376 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26377 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26378
748876bf
UD
26379 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26380 sync_file_range.c with -fexceptions.
26381 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26382 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26383 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26384 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26385 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26386 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26387 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26388 sync_file_range as cancellation point
26389 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26390 now a wrapper around __call_sync_file_range with cancellation handling.
26391 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26392 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26393 function name to __call_sync_file_range.
26394 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26395 Add call_sync_file_range.
748876bf 26396
6e63d5e1
AS
263972011-04-01 Andreas Schwab <schwab@redhat.com>
26398
26399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26400 bits/timex.h.
6e63d5e1 26401
46998f74
UD
264022011-04-01 Ulrich Drepper <drepper@gmail.com>
26403
4c1423ed
UD
26404 * iconv/iconv.h: Fix typo in comment.
26405 * io/fcntl.h: Likewise.
26406 * libio/stdio.h: Likewise.
26407 * posix/spawn.h: Likewise.
26408 * posix/unistd.h: Likewise.
26409 * stdlib/stdlib.h: Likewise.
26410 * time/time.h: Likewise.
26411 * wcsmbs/wchar.h: Likewise.
26412
158648c0
UD
26413 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26414 open_by_handle): Add.
26415 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26416 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26417 Augment a few comments.
26418 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26419 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26420 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26421 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26423 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26424 open_by_handle.
26425
46998f74
UD
26426 * io/fcntl.h (AT_EMPTY_PATH): Define.
26427
83fe108b
UD
264282011-03-30 Ulrich Drepper <drepper@gmail.com>
26429
26430 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26431 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26432 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26433 to...
26434 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26435 * Versions.def: Add GLIBC_2.14.
26436 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26437 Export.
83fe108b 26438
bb242059
UD
264392011-03-22 Ulrich Drepper <drepper@gmail.com>
26440
26441 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26442 round counter.
26443 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26444
c97a1282
L
264452011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26446
26447 [BZ #12597]
26448 * string/test-strncmp.c (do_page_test): New function.
26449 (check2): Likewise.
26450 (test_main): Call check2.
26451 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26452
2a115601
UD
264532011-03-20 Ulrich Drepper <drepper@gmail.com>
26454
26455 [BZ #12587]
26456 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26457 Handle cache information in CPU leaf 4.
26458 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26459
8126d904
UD
264602011-03-18 Ulrich Drepper <drepper@gmail.com>
26461
042c49c6 26462 [BZ #12583]
8126d904
UD
26463 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26464 character representation.
26465 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26466
ccfe366e
RA
264672011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26468
26469 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26470 END(__isnan) to END(__isnanf) to match function entry point/label
26471 EALIGN(__isnanf,...).
26472
c6e13027
JJ
264732011-03-10 Jakub Jelinek <jakub@redhat.com>
26474
26475 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26476
33f85a3f
UD
264772011-03-10 Ulrich Drepper <drepper@gmail.com>
26478
028478fa
UD
26479 [BZ #12510]
26480 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26481 copy from the symbol referenced in the relocation to initialize the
26482 used variable.
26483 Patch by Piotr Bury <pbury@goahead.com>.
26484 * elf/Makefile: Add rules to build and tst-unique3.
26485 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26486 * elf/tst-unique3.cc: New file.
26487 * elf/tst-unique3.h: New file.
26488 * elf/tst-unique3lib.cc: New file.
26489 * elf/tst-unique3lib2.cc: New file.
26490
33f85a3f
UD
26491 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26492
03592fc7
MF
264932011-03-10 Mike Frysinger <vapier@gentoo.org>
26494
26495 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26496 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26497 to _start.
03592fc7 26498
6a5ee102
UD
264992011-03-06 Ulrich Drepper <drepper@gmail.com>
26500
26501 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26502 to-be-loaded object along a path to loader is ld.so.
26503
7e4ba49c
HJ
265042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26505 Ulrich Drepper <drepper@gmail.com>
26506
26507 * sysdeps/x86_64/memset.S: After aligning destination, code
26508 branches to different locations depending on the value of
26509 misalignment, when multiarch is enabled. Fix this.
26510
265112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26512
26513 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26514 Set _x86_64_preferred_memory_instruction for AMD processsors.
26515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26516 Set bit_Prefer_SSE_for_memop for AMD processors.
26517
13a804de
UD
265182011-03-04 Ulrich Drepper <drepper@gmail.com>
26519
26520 * libio/fmemopen.c (fmemopen): Optimize a bit.
26521
9d25c392
AS
265222011-03-03 Andreas Schwab <schwab@redhat.com>
26523
26524 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26525
a5543c6a
RM
265262011-03-03 Roland McGrath <roland@redhat.com>
26527
26528 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26529
012d35f7
DM
265302011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26531
7e4ba49c 26532 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26533 __bzero_ultra1 instead of __memset_ultra1.
26534
4bff6e01
AS
265352011-02-23 Andreas Schwab <schwab@redhat.com>
26536 Ulrich Drepper <drepper@gmail.com>
26537
26538 [BZ #12509]
26539 * include/link.h (struct link_map): Add l_orig_initfini.
26540 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26541 returning unsuccessfully.
26542 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26543 close of a file loaded at startup, restore the original l_initfini
26544 list.
26545 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26546 list, store the pointer.
26547 * elf/Makefile ($(objpfx)noload-mem): New rule.
26548 (noload-ENV): Define.
26549 (tests): Add $(objpfx)noload-mem.
26550 * elf/noload.c: Include <memcheck.h>.
26551 (main): Call mtrace. Close all opened handles.
26552
f2092faf
AS
265532011-02-17 Andreas Schwab <schwab@redhat.com>
26554
26555 [BZ #12454]
26556 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26557 dependencies are missing.
26558
6c8a2e88
ST
265592011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26560
f2092faf 26561 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26562 Hurd needs munmap.
26563 * sysdeps/mach/hurd/ifreq.h: New file.
26564
84a42118
PB
265652011-01-27 Petr Baudis <pasky@suse.cz>
26566 Ulrich Drepper <drepper@gmail.com>
26567
071f805e 26568 [BZ 12445]#
84a42118
PB
26569 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26570 to extend_alloca().
26571 * stdio-common/bug23.c: New file.
26572 * stdio-common/Makefile (tests): Add bug23.
26573
e23fe25b
AS
265742010-09-28 Andreas Schwab <schwab@redhat.com>
26575 Ulrich Drepper <drepper@gmail.com>
26576
26577 [BZ #12489]
26578 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26579 before performing relro protection. At old place add assertion
26580 to make sure nothing changed.
26581
d3f02e10
NS
265822011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26583 Glauber de Oliveira Costa <glommer@gmail.com>
26584
26585 * elf/elf.h: Add new ARM TLS relocs.
26586
d55fd7a5
RA
265872011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26588
26589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26590 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26591 cast from r3.
26592 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26593 'tests' variable.
26594 * sysdeps/wordsize-64/tst-writev.c: New file.
26595
2206397e
RA
265962011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26597
26598 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26599 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26600 insns in _dl_start to prevent a TOC reference before relocs are
26601 resolved.
26602
e9433893
UD
266032011-02-15 Ulrich Drepper <drepper@gmail.com>
26604
26605 [BZ #12469]
26606 * Makeconfig: Remove RANLIB definition.
26607 * Makerules: Don't use RANLIB.
26608 * aclocal.m4: Remove ranlib test.
26609 * configure.in: No need to check for ranlib.
26610 * elf/rtld-Rules: Don't use RANLIB.
26611
f75286c6
ST
266122011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26613
8e31c82d
ST
26614 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26615 protection macro.
26616 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26617 inclusion protection macro.
26618
f75286c6
ST
26619 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26620 SIGRTMIN and SIGRTMAX and print information in that case only when
26621 SIGRTMIN is defined.
26622
c1d0e639
JJ
266232011-02-11 Jakub Jelinek <jakub@redhat.com>
26624
26625 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26626 arginfo fn returning -1.
26627
26628 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26629 and thousands string is zero terminated.
26630
edf9294e
AS
266312011-02-03 Andreas Schwab <schwab@redhat.com>
26632
26633 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26634 sysdeps/unix/sysv/linux/bits/socket.h.
26635
2b7e92df
ST
266362011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26637
edf9294e
AS
26638 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26639 (__CPU_COUNT): Remove old macros.
26640 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26641 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26642 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26643 (__sched_cpualloc, __sched_cpufree): Add declarations.
26644
a4c7ea7b
UD
266452011-02-05 Ulrich Drepper <drepper@gmail.com>
26646
26647 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26648 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26649 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26650 (readdhstai): Return value of addhstaiX call.
26651 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26652 (addgrbyX): Return value returned by cache_addgr.
26653 (readdgrbyname): Return value returned by addgrbyX.
26654 (readdgrbygid): Likewise.
26655 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26656 (addpwbyX): Return value returned by cache_addpw.
26657 (readdpwbyname): Return value returned by addhstbyX.
26658 (readdpwbyuid): Likewise.
26659 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26660 (addservbyX): Return value returned by cache_addserv.
26661 (readdservbyname): Return value returned by addservbyX:
26662 (readdservbyport): Likewise.
26663 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26664 (addhstbyX): Return value returned by cache_addhst.
26665 (readdhstbyname): Return value returned by addhstbyX.
26666 (readdhstbyaddr): Likewise.
26667 (readdhstbynamev6): Likewise.
26668 (readdhstbyaddrv6): Likewise.
26669 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26670 (readdinitgroups): Return value returned by addinitgroupsX.
26671 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26672 (prune_cache): Keep track of timeout value of re-added entries.
26673 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26674 * nscd/nscd.h: Adjust prototypes of readd* functions.
26675
a0bf67cc
RM
266762011-02-04 Roland McGrath <roland@redhat.com>
26677
26678 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26679 (nis_stats): Likewise.
26680 * nis/nis_modify.c (nis_modify): Likewise.
26681 * nis/nis_remove.c (nis_remove): Likewise.
26682 * nis/nis_add.c (nis_add): Likewise.
26683
26684 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26685
26686 * posix/fnmatch_loop.c: Add some consts.
26687
26688 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26689
435b95eb
L
266902011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26691
26692 [BZ #12460]
26693 * config.make.in (config-cflags-novzeroupper): Define.
26694 * configure.in: Substitute libc_cv_cc_novzeroupper.
26695 * elf/Makefile (AVX-CFLAGS): Define.
26696 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26697 (CFLAGS-tst-auditmod4a.c): Likewise.
26698 (CFLAGS-tst-auditmod4b.c): Likewise.
26699 (CFLAGS-tst-auditmod6b.c): Likewise.
26700 (CFLAGS-tst-auditmod6c.c): Likewise.
26701 (CFLAGS-tst-auditmod7b.c): Likewise.
26702 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26703
8517b15e
UD
267042011-02-02 Ulrich Drepper <drepper@gmail.com>
26705
26706 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26707 function to the callback.
26708 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26709
10a656fe
AS
267102011-02-02 Andreas Schwab <schwab@redhat.com>
26711
26712 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26713 of errno.
26714
968dad0a
UD
267152011-01-19 Ulrich Drepper <drepper@gmail.com>
26716
9f94d2ea 26717 [BZ #11724]
968dad0a
UD
26718 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26719 of constructors.
26720 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26721 of destructors.
26722 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26723
26724 [BZ #11724]
26725 * elf/Makefile: Add rules to build and run new test.
26726 * elf/tst-initorder.c: New file.
26727 * elf/tst-initorder.exp: New file.
26728 * elf/tst-initordera1.c: New file.
26729 * elf/tst-initordera2.c: New file.
26730 * elf/tst-initordera3.c: New file.
26731 * elf/tst-initordera4.c: New file.
26732 * elf/tst-initorderb1.c: New file.
26733 * elf/tst-initorderb2.c: New file.
26734 * elf/tst-order-a1.c: New file.
26735 * elf/tst-order-a2.c: New file.
26736 * elf/tst-order-a3.c: New file.
26737 * elf/tst-order-a4.c: New file.
26738 * elf/tst-order-b1.c: New file.
26739 * elf/tst-order-b2.c: New file.
26740 * elf/tst-order-main.c: New file.
26741 New test case by George Gensure <werkt0@gmail.com>.
26742
86e92359
UD
267432010-10-01 Andreas Schwab <schwab@redhat.com>
26744
26745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26746 decoding ACE if AI_CANONIDN.
26747
5d5732b0
UD
267482011-01-18 Ulrich Drepper <drepper@gmail.com>
26749
26750 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26751
a77e8cbc
UD
267522011-01-17 Ulrich Drepper <drepper@gmail.com>
26753
6392473f
UD
26754 * version.h (RELEASE): Bump for 2.13 release.
26755 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26756
620a0529
UD
26757 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26758
18ba70a5
UD
26759 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26760 MADV_NOHUGEPAGE.
32465c3e
UD
26761 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26762 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26763 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26764 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26765 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26766 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26767
c0dafcf1
UD
26768 * posix/getconf.c: Update copyright year.
26769 * catgets/gencat.c: Likewise.
26770 * csu/version.c: Likewise.
26771 * debug/catchsegv.sh: Likewise.
26772 * debug/xtrace.sh: Likewise.
26773 * elf/ldconfig.c: Likewise.
26774 * elf/ldd.bash.in: Likewise.
26775 * elf/sprof.c (print_version): Likewise.
26776 * iconv/iconv_prog.c: Likewise.
26777 * iconv/iconvconfig.c: Likewise.
26778 * locale/programs/locale.c: Likewise.
26779 * locale/programs/localedef.c: Likewise.
26780 * malloc/memusage.sh: Likewise.
26781 * malloc/mtrace.pl: Likewise.
26782 * nscd/nscd.c (print_version): Likewise.
26783 * nss/getent.c: Likewise.
26784
a77e8cbc
UD
26785 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26786 PF_CAIF, and PF_ALG.
26787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26788
77e8bddf
AS
267892011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26790
1f20b93a
AS
26791 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26792 (modules-names): Use them.
26793 (ifunc-test-modules, ifunc-pie-tests): Define.
26794 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26795 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26796 (test-extras): Likewise.
26797 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26798 $(compile-command.c).
26799 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26800 (all-built-dso): Define.
26801 (check-textrel.out, check-execstack.out): Depend on it.
26802
77e8bddf
AS
26803 * configure.in: Don't override --enable-multi-arch.
26804
bc425b33
UD
268052011-01-15 Ulrich Drepper <drepper@gmail.com>
26806
26807 [BZ #6812]
26808 * nscd/hstcache.c (tryagain): Define.
26809 (cache_addhst): Return tryagain not notfound for temporary errors.
26810 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26811 failed.
26812
794c3ad3
UD
268132011-01-14 Ulrich Drepper <drepper@gmail.com>
26814
70181fdd
UD
26815 [BZ #10563]
26816 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26817 to make the syscall.
26818 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26819
794c3ad3
UD
26820 [BZ #12378]
26821 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26822 and fall back to matching as normal character if the string ends before
26823 the matching ']' is found. This is what POSIX requires.
26824 * posix/testfnm.c: Adjust test result.
26825 * posix/globtest.sh: Adjust test result. Add new test.
26826 * posix/tst-fnmatch.input: Likewise.
26827 * posix/tst-fnmatch2.c: Add new test.
26828
68dc9497
AS
268292010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26830
26831 * elf/Makefile (check-execstack): Revert last change. Depend on
26832 check-execstack.h.
26833 (check-execstack.h): New target.
26834 (generated): Add check-execstack.h.
26835 * elf/check-execstack.c: Include "check-execstack.h".
26836 (main): Revert last change.
26837 (handle_file): Return zero if GNU_STACK is absent and
26838 DEFAULT_STACK_PERMS doesn't include PF_X.
26839
451f001b
UD
268402011-01-13 Ulrich Drepper <drepper@gmail.com>
26841
cfa28e56
UD
26842 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26843 in child fails because the descriptor is already closed.
8cf8ce17
UD
26844 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26845 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26846 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26847
1086d70d
UD
26848 [BZ #12397]
26849 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26850 syscall.
26851
451f001b
UD
26852 [BZ #10484]
26853 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26854 temporary buffer used to handle multi lookups locally.
a85b5cb4 26855 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26856
08769175
UD
268572011-01-12 Ulrich Drepper <drepper@gmail.com>
26858
26859 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26860 loader is ld.so.
26861
5e49c52e
UD
268622011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26863
26864 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26865 alignment for SSE2.
26866
60522a5f
UD
268672011-01-12 Ulrich Drepper <drepper@gmail.com>
26868
26869 [BZ #12394]
26870 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26871 characters. When rounding increased number of integer digits recompute
26872 number of groups.
26873 * stdio-common/tst-grouping.c: New file.
26874 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26875
f257bbd7
UD
268762011-01-09 Ulrich Drepper <drepper@gmail.com>
26877
26878 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26879 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26880
26881 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26882 void.
26883 * bits/select.h: Likewise.
26884
fa9c15cb
UD
268852011-01-08 Ulrich Drepper <drepper@gmail.com>
26886
26887 * po/ja.po: Update from translation team.
26888
16c2895f
DM
268892011-01-04 David S. Miller <davem@sunset.davemloft.net>
26890
26891 [BZ #11155]
26892 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26893 implementation just like for lxstat, fxstatat, et al.
26894
2543fef2
JM
268952010-12-27 Jim Meyering <meyering@redhat.com>
26896
26897 [BZ #12348]
26898 * posix/regexec.c (build_trtable): Return failure indication upon
26899 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26900
98727dbe
UD
269012010-12-25 Ulrich Drepper <drepper@gmail.com>
26902
5bd6dc5c
UD
26903 [BZ #12201]
26904 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26905 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26906 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26907 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26908
97983464
UD
26909 [BZ #12207]
26910 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26911
98727dbe
UD
26912 [BZ #12204]
26913 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26914 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26915
4a531bb0
L
269162010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26917
26918 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26919 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26920 script has SORT_BY_INIT_PRIORITY.
26921 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26922 NO_CTORS_DTORS_SECTIONS is defined.
26923 * elf/soinit.c: Likewise.
26924 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26925 NO_CTORS_DTORS_SECTIONS is defined.
26926 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26927 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26928 * sysdeps/sh/init-first.c: Likewise.
26929 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26930
07eb4b71
UD
269312010-12-24 Ulrich Drepper <drepper@gmail.com>
26932
26933 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26934 always use the slow path.
26935
30950a5f
RA
269362010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26937
26938 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26939 similar rule which adds the sysdep directories to the header search in
26940 order to pick up the correct platform stackinfo.h.
26941 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26942 perform test if it is, otherwise return successfully without testing.
26943 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26944 DEFAULT_STACK_PERMS define in stackinfo.h.
26945 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26946 defined in stackinfo.h.
26947 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26948 DEFAULT_STACK_PERMS defined in stackinfo.h.
26949 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26950 * sysdeps/ia64/stackinfo.h: Likewise.
26951 * sysdeps/s390/stackinfo.h: Likewise.
26952 * sysdeps/sh/stackinfo.h: Likewise.
26953 * sysdeps/sparc/stackinfo.h: Likewise.
26954 * sysdeps/x86_64/stackinfo.h: Likewise.
26955 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26956 PF_X for powerpc64. Retain PF_X for powerpc32.
26957
db753e2c
UD
269582010-12-19 Ulrich Drepper <drepper@gmail.com>
26959
14b697f7
UD
26960 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26961 accurately.
db753e2c
UD
26962 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26963 GETDENTS_64BIT_ALIGNED.
26964
28300719
UD
269652010-12-14 Ulrich Drepper <dreper@gmail.com>
26966
14b697f7 26967 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26968
4f197237
AS
269692010-12-10 Andreas Schwab <schwab@redhat.com>
26970
dbb0472f
AS
26971 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26972 _GNU_SOURCE.
26973
4f197237
AS
26974 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26975 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26976 Remove __restrict.
26977 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26978 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26979
fb88ac72
UD
269802010-12-09 Ulrich Drepper <drepper@gmail.com>
26981
26982 [BZ #11655]
26983 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26984 are initialized.
26985
42acbb92
JJ
269862010-12-09 Jakub Jelinek <jakub@redhat.com>
26987
26988 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26989
c038d98d
UD
269902010-12-03 Ulrich Drepper <drepper@gmail.com>
26991
26992 * po/it.po: Update from translation team.
26993
3a4a2499
L
269942010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26995
26996 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26997 unused codes.
26998
1e24cf6e
UD
269992010-11-30 Ulrich Drepper <drepper@gmail.com>
27000
27001 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27002
a7690819
AS
270032010-11-24 Andreas Schwab <schwab@redhat.com>
27004
27005 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27006 specially.
27007 (gaih_getanswer_slice): Likewise.
27008
3bf8d1b1
JJ
270092010-10-20 Jakub Jelinek <jakub@redhat.com>
27010
27011 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27012
6db52fbb
PB
270132010-05-31 Petr Baudis <pasky@suse.cz>
27014
27015 [BZ #11149]
27016 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27017 silently even in the chroot mode.
27018
eaca7569
UD
270192010-11-22 Ulrich Drepper <drepper@gmail.com>
27020
27021 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27022 last patch a bit. Pretty printing
27023
3056dcdb
UD
270242010-05-31 Petr Baudis <pasky@suse.cz>
27025
27026 [BZ #10085]
27027 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27028 initialization of skip_initgroups_dyn.
27029
cf7c9078
UD
270302010-11-19 Ulrich Drepper <drepper@gmail.com>
27031
27032 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27033 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27034
a1fb5e3e
UD
270352010-11-16 Ulrich Drepper <drepper@gmail.com>
27036
27037 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27038
3540d66b
AS
270392010-11-11 Andreas Schwab <schwab@redhat.com>
27040
27041 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27042 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27043 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27044 ($(objpfx)tst-fnmatch-mem): New rule.
27045 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27046 * posix/tst-fnmatch.c (main): Call mtrace.
27047
13b69574
L
270482010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27049
27050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27051 Support Intel processor model 6 and model 0x2c.
27052
da93d214
LM
270532010-11-10 Luis Machado <luisgpm@br.ibm.com>
27054
27055 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27056 signed comparison.
27057
8ca52c6e
L
270582010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27059
27060 [BZ #12205]
27061 * string/test-strncasecmp.c (check_result): New function.
27062 (do_one_test): Use it.
27063 (check1): New function.
27064 (test_main): Use it.
27065 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27066 Support strcasecmp and strncasecmp.
27067
69da074d
UD
270682010-11-08 Ulrich Drepper <drepper@gmail.com>
27069
27070 [BZ #12194]
27071 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27072 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27073
ff02d528
L
270742010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27075
27076 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27077 IFUNC support.
27078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27079 memset-x86-64.
27080 * sysdeps/x86_64/multiarch/bzero.S: New file.
27081 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27082 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27083 * sysdeps/x86_64/multiarch/memset.S: New file.
27084 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27086 Set bit_Prefer_SSE_for_memop for Intel processors.
27087 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27088 Define.
27089 (index_Prefer_SSE_for_memop): Define.
27090 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27091
344d0b54
LM
270922010-11-04 Luis Machado <luisgpm@br.ibm.com>
27093
27094 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27095 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27096
c0dde15b
UD
270972010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27098
27099 [BZ #12191]
27100 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27101 (__x86_64_raw_data_cache_size_half): Likewise.
27102 (__x86_64_raw_shared_cache_size): Likewise.
27103 (__x86_64_raw_shared_cache_size_half): Likewise.
27104
27105 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27106 (__x86_64_raw_data_cache_size_half): Likewise.
27107 (__x86_64_raw_shared_cache_size): Likewise.
27108 (__x86_64_raw_shared_cache_size_half): Likewise.
27109 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27110 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27111 and __x86_64_raw_shared_cache_size_half. Round
27112 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27113 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27114 to multiple of 256 bytes.
27115
0e516e0e
MS
271162010-11-03 Ulrich Drepper <drepper@gmail.com>
27117
27118 [BZ #12167]
27119 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27120 of inacessible symlinks. Verify result of symlink before returning it.
27121 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27122 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27123
0e012e87
ER
271242010-10-28 Erich Ritz <erichritz@gmail.com>
27125
27126 * math/math.h (isinf): Fix typo in comment.
27127
de0ff7bc
UD
271282010-11-01 Ulrich Drepper <drepper@gmail.com>
27129
27130 * po/da.po: Update from translation team.
27131
fa41c84d
UD
271322010-10-26 Ulrich Drepper <drepper@gmail.com>
27133
27134 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27135 is added to the list.
27136
f0967738
AK
271372010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27138 Ulrich Drepper <drepper@gmail.com>
27139
27140 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27141 the global list here. Move code to...
27142 (_dl_add_to_namespace_list): ...here. New function.
27143 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27144 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27145 * elf/dl-load.c (lose): Don't remove the element from the list.
27146 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27147 (_dl_map_object): Likewise.
27148
271492010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27150
27151 [BZ #12159]
27152 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27153 into all bytes of SSE register.
27154 Patch by Richard Li <richardpku@gmail.com>.
27155
f0967738 271562010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27157
27158 [BZ #12140]
27159 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27160 perturbing.
27161
d0b9e94f
MB
271622010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27163
27164 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27165 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27166 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27167 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27169 submachine.
27170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27171
8e9f92e9
AS
271722010-10-22 Andreas Schwab <schwab@redhat.com>
27173
27174 * include/dlfcn.h (__RTLD_SECURE): Define.
27175 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27176 mode & __RTLD_SECURE instead.
27177 (open_path): Rename preloaded parameter to secure.
27178 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27179 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27180 * elf/dl-deps.c (openaux): Likewise.
27181 * elf/rtld.c (struct map_args): Remove is_preloaded.
27182 (map_doit): Don't use it.
27183 (dl_main): Likewise.
27184 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27185 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27186
bc96fbda
AS
271872010-09-09 Andreas Schwab <schwab@redhat.com>
27188
27189 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27190 (sysd-rules-targets): Remove duplicates.
27191 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27192 rtld-%.$o dependency.
27193
22cd1c9b
AS
271942010-10-18 Andreas Schwab <schwab@redhat.com>
27195
27196 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27197 _dl_map_object do it.
27198
18edac48
UD
271992010-10-19 Ulrich Drepper <drepper@gmail.com>
27200
27201 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27202 fast fma builtins, define the macros in the C99 standard.
27203 (FP_FAST_FMAF): Likewise.
27204 (FP_FAST_FMAL): Likewise.
27205 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27206
27207 * bits/mathdef.h: Update copyright year.
27208 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27209
d2050124
MM
272102010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27211
27212 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27213 builtins, define the macros in the C99 standard.
27214 (FP_FAST_FMAF): Likewise.
27215 (FP_FAST_FMAL): Likewise.
27216 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27217 multiply/add.
27218 (FP_FAST_FMAF): Likewise.
27219
475facd1
JJ
272202010-10-15 Jakub Jelinek <jakub@redhat.com>
27221
27222 [BZ #3268]
27223 * math/libm-test.inc (fma_test): Some new testcases.
27224 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27225 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27226 y and infinite z. Do multiplication by C already in long double.
27227 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27229 y and infinite z. Do bitwise or of inexact bit into u.d.
27230 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27231 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27232 * sysdeps/i386/fpu/s_fma.S: Removed.
27233 * sysdeps/i386/fpu/s_fmal.S: Removed.
27234
7c08a05c
JJ
272352010-10-16 Jakub Jelinek <jakub@redhat.com>
27236
27237 [BZ #3268]
27238 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27239 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27240 computation is not scheduled after fetestexcept. Fix value
27241 of minimum denormal long double.
27242
f3f7372d
JJ
272432010-10-14 Jakub Jelinek <jakub@redhat.com>
27244
27245 [BZ #3268]
27246 * math/libm-test.inc (fma_test): Add some more tests.
27247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27248 correctly.
27249
14d43591
AS
272502010-10-15 Andreas Schwab <schwab@redhat.com>
27251
27252 * scripts/data/localplt-s390-linux-gnu.data: New file.
27253 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27254
5e908464
JJ
272552010-10-13 Jakub Jelinek <jakub@redhat.com>
27256
27257 [BZ #3268]
27258 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27259 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27260 instead of dbl-64.
27261 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27262 inlines.
27263 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27265 if one of x and y is very large and the other is subnormal.
27266 * sysdeps/s390/fpu/s_fmaf.c: New file.
27267 * sysdeps/s390/fpu/s_fma.c: New file.
27268 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27269 * sysdeps/powerpc/fpu/s_fma.S: New file.
27270 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27271 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27272 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27273
272742010-10-12 Jakub Jelinek <jakub@redhat.com>
27275
27276 [BZ #3268]
27277 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27278 fma tests.
27279 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27280 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27281 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27282 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27283 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27284 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27285 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27286
b833d51f
UD
272872010-10-12 Ulrich Drepper <drepper@redhat.com>
27288
27289 [BZ #12078]
27290 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27291 * posix/bug-regex31.input: Add test case.
27292
1751705d
UD
272932010-10-11 Ulrich Drepper <drepper@gmail.com>
27294
e9b9cbf5
UD
27295 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27296 * posix/bug-regex31.input: New file.
27297
27298 [BZ #12078]
27299 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27300 (parse_sub_exp): Fix last change, use postorder.
27301
ef06edbe
UD
27302 * posix/bug-regex31.c: New file.
27303 * posix/Makefile: Add rules to build and run bug-regex31.
27304
a129c80d
UD
27305 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27306
27307 [BZ #12078]
27308 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27309
b76b818e
UD
27310 [BZ #12108]
27311 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27312 to have entries in sys_siglist.
27313
1751705d
UD
27314 [BZ #12093]
27315 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27316 be NULL.
27317
9ff8d36f
JJ
273182010-10-07 Jakub Jelinek <jakub@redhat.com>
27319
27320 [BZ #3268]
27321 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27322 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27323 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27324 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27325 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27326 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27327 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27328 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27329 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27330 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27331 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27332 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27333 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27334 * math/ftestexcept.c (fetestexcept): Likewise.
27335 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27336 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27337 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27338 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27339 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27340 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27341 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27342
af325969
UD
273432010-10-11 Ulrich Drepper <drepper@gmail.com>
27344
c579b202 27345 [BZ #12107]
af325969
UD
27346 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27347 newline.
27348
67a67b95
UD
273492010-10-06 Ulrich Drepper <drepper@gmail.com>
27350
27351 * string/bug-strstr1.c: New file.
27352 * string/Makefile: Add rules to build and run bug-strstr1.
27353
5fb308bc
EB
273542010-10-05 Eric Blake <eblake@redhat.com>
27355
27356 [BZ #12092]
27357 * string/str-two-way.h (two_way_long_needle): Always clear memory
27358 when skipping input due to the shift table.
27359
45db99c7
UD
273602010-10-03 Ulrich Drepper <drepper@gmail.com>
27361
3b111893
UD
27362 [BZ #12005]
27363 * malloc/mcheck.c: Handle large requests.
27364
45db99c7
UD
27365 [BZ #12077]
27366 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27367 for strncmp and strncasecmp.
27368 * string/stratcliff.c: Add tests for strcmp and strncmp.
27369 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27370
cf7a1eb8
NI
273712010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27372
27373 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27374 __set_fpscr.
27375
6484ba5e
AJ
273762010-09-30 Andreas Jaeger <aj@suse.de>
27377
27378 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27379 (CGROUP_SUPER_MAGIC): Define.
27380 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27381 Handle btrfs and cgroup file systems.
27382 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27383 Likewise.
27384
91c42559
LM
273852010-09-27 Luis Machado <luisgpm@br.ibm.com>
27386
27387 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27388 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27389
87a97932
AK
273902010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27391
27392 [BZ #12067]
27393 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27394 trying to locate the ELF header.
27395
c21cc9bc
AS
273962010-09-27 Andreas Schwab <schwab@redhat.com>
27397
27398 [BZ #11611]
27399 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27400 Mask out sign-bit copies when constructing f_fsid.
27401
315970f6
PB
274022010-09-24 Petr Baudis <pasky@suse.cz>
27403
27404 * debug/stack_chk_fail_local.c: Add missing licence exception.
27405 * debug/warning-nop.c: Likewise.
27406
1ac7a2c7
JM
274072010-09-15 Joseph Myers <joseph@codesourcery.com>
27408
27409 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27410 implementing getdents64 using getdents syscall, set d_type if
27411 __ASSUME_GETDENTS32_D_TYPE.
27412
56801c50
AS
274132010-09-16 Andreas Schwab <schwab@redhat.com>
27414
27415 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27416 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27417
dda51327
UD
274182010-09-21 Ulrich Drepper <drepper@redhat.com>
27419
27420 [BZ #12037]
27421 * posix/unistd.h: Undo change of feature selection for ftruncate from
27422 2010-01-11.
27423
8ffcee4a
UD
274242010-09-20 Ulrich Drepper <drepper@redhat.com>
27425
a545ecd9 27426 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27427 detection.
27428
e24f0a8b
AS
274292010-09-20 Andreas Schwab <schwab@redhat.com>
27430
27431 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27432 fanotify_mark.
27433 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27434
7291c56f
AS
274352010-09-14 Andreas Schwab <schwab@redhat.com>
27436
27437 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27438 variables after CHECK_SP call.
27439 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27440
bc5fb037
AS
274412010-09-13 Andreas Schwab <schwab@redhat.com>
27442 Ulrich Drepper <drepper@redhat.com>
27443
27444 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27445 re-relocationg ld.so.
27446 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27447 _dl_init_paths call.
27448 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27449 here anymore.
27450
e66e7419
UD
274512010-09-14 Ulrich Drepper <drepper@redhat.com>
27452
27453 * resolv/res_init.c (__res_vinit): Count the default server we added.
27454
c044aa75
CLT
274552010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27456 Ulrich Drepper <drepper@redhat.com>
27457
27458 [BZ #11968]
27459 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27460 (____longjmp_chk): Use %ebx for saving value across system call.
27461 Add unwind info.
27462
32cf4069
AS
274632010-09-06 Andreas Schwab <schwab@redhat.com>
27464
27465 * manual/Makefile: Don't mix pattern rules with normal rules.
27466
817328ee
AS
274672010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27468
27469 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27470 operation.
27471 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27472 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27473 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27474 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27475 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27476 Likewise.
27477
29fddf61
UD
274782010-09-04 Ulrich Drepper <drepper@redhat.com>
27479
27480 [BZ #11979]
27481 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27482 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27483
0959ffc9
UD
274842010-09-02 Ulrich Drepper <drepper@redhat.com>
27485
27486 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27487 * sysdeps/x86_64/addmul_1.S: Likewise.
27488 * sysdeps/x86_64/lshift.S: Likewise.
27489 * sysdeps/x86_64/mul_1.S: Likewise.
27490 * sysdeps/x86_64/rshift.S: Likewise.
27491 * sysdeps/x86_64/sub_n.S: Likewise.
27492 * sysdeps/x86_64/submul_1.S: Likewise.
27493
ece29840
ST
274942010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27495
0959ffc9
UD
27496 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27497 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27498 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27499 * bits/sched.h [__need_schedparam]
ece29840 27500 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27501 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27502 (__defined_schedparam): Define to 1.
ece29840
ST
27503 (__sched_param): New structure, identical to sched_param.
27504 (__need_schedparam): Undefine.
27505
e53a31fe
MF
275062010-08-31 Mike Frysinger <vapier@gentoo.org>
27507
fdc0c10d
MF
27508 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27509 (epoll_create1): Declare.
27510
e53a31fe
MF
27511 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27512
a726d796
AS
275132010-08-31 Andreas Schwab <schwab@redhat.com>
27514
27515 [BZ #7066]
27516 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27517 shifting retval into place.
27518
2f3e3dc7
UD
275192010-09-01 Ulrich Drepper <drepper@redhat.com>
27520
f2933da9
UD
27521 * nis/rpcsvc/nis.h: Update copyright notice.
27522 * nis/rpcsvc/nis.x: Likewise.
27523 * nis/rpcsvc/nis_callback.h: Likewise.
27524 * nis/rpcsvc/nis_callback.x: Likewise.
27525 * nis/rpcsvc/nis_object.x: Likewise.
27526 * nis/rpcsvc/nis_tags.h: Likewise.
27527 * nis/rpcsvc/yp.h: Likewise.
27528 * nis/rpcsvc/yp.x: Likewise.
27529 * nis/rpcsvc/ypupd.h: Likewise.
27530 * nis/yp_xdr.c: Likewise.
27531 * nis/ypupdate_xdr.c: Likewise.
27532
2f3e3dc7
UD
27533 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27534 mainly the body of pmap_getport. Add parameters to specify timeouts.
27535 (pmap_getport): Use __libc_rpc_getport.
27536 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27537 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27538 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27539
f3dcc2f9
AS
275402010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27541
27542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27543 fanotify_mark.
27544
6d34eb5b
RM
275452010-08-27 Roland McGrath <roland@redhat.com>
27546
27547 * sysdeps/i386/i686/multiarch/Makefile
27548 (CFLAGS-varshift.c): New variable.
27549
9ea3de11
UD
275502010-08-27 Ulrich Drepper <drepper@redhat.com>
27551
c96d23fc
UD
27552 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27553 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27554
9ea3de11
UD
27555 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27556
27557 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27558
623aac7f
L
275592010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27560
27561 * sysdeps/x86_64/strlen.S: Unroll the loop.
27562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27563 strlen-sse2 strlen-sse2-bsf.
27564 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27565 __strlen_no_bsf if bit_Slow_BSF is set.
27566 (__strlen_sse42): Removed.
27567 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27568 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27569
8b2b7715
RM
275702010-08-25 Roland McGrath <roland@redhat.com>
27571
27572 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27573 * sysdeps/x86_64/multiarch/varshift.c: New file.
27574 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27575 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27576 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27577 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27578
e73015f2
L
275792010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27580
27581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27582 strlen-sse2 strlen-sse2-bsf.
27583 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27584 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27585 (__strlen_sse2): Removed.
27586 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27587 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27589 bit_Slow_BSF for Atom.
27590 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27591 (index_Slow_BSF): Define.
27592 (HAS_SLOW_BSF): Define.
27593
df24a73e
UD
275942010-08-25 Ulrich Drepper <drepper@redhat.com>
27595
27596 [BZ #10851]
27597 * resolv/res_init.c (__res_vinit): When no server address at all
27598 is given default to loopback.
27599
f2ac4868
RM
276002010-08-24 Roland McGrath <roland@redhat.com>
27601
09055553
RM
27602 * configure.in: Remove config-name.h generation.
27603 * configure: Regenerated.
27604 * config-name.in: File removed.
27605 * scripts/config-uname.sh: New file.
27606 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27607 ($(objdir)config-name.h): New target.
27608
f2ac4868
RM
27609 * sunrpc/rpc_parse.h: Avoid nested comment.
27610
73f27d5e
RH
276112010-08-24 Richard Henderson <rth@redhat.com>
27612 Ulrich Drepper <drepper@redhat.com>
27613 H.J. Lu <hongjiu.lu@intel.com>
27614
27615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27617 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27618 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27619 _mm_alignr_epi8 with _mm_loadu_si128.
27620 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27621 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27622 (__m128i_shift_right): Removed.
27623 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27624 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27625 * sysdeps/x86_64/multiarch/varshift.h: New file.
27626 * sysdeps/x86_64/multiarch/varshift.S: New file.
27627
84b9230c
MF
276282010-08-21 Mike Frysinger <vapier@gentoo.org>
27629
27630 * configure.in: Move assembler checks to before sysdep dir checking.
27631
9bbd0ddc
PB
276322010-08-20 Petr Baudis <pasky@suse.cz>
27633
27634 * LICENSES: Sync the sunrpc license.
27635
9da4bb31
UD
276362010-08-19 Ulrich Drepper <drepper@redhat.com>
27637
a7ab6ec8
UD
27638 * sunrpc/auth_des.c: Update copyright notice once again.
27639 * sunrpc/auth_none.c: Likewise.
27640 * sunrpc/auth_unix.c: Likewise.
27641 * sunrpc/authdes_prot.c: Likewise.
27642 * sunrpc/authuxprot.c: Likewise.
27643 * sunrpc/bindrsvprt.c: Likewise.
27644 * sunrpc/clnt_gen.c: Likewise.
27645 * sunrpc/clnt_perr.c: Likewise.
27646 * sunrpc/clnt_raw.c: Likewise.
27647 * sunrpc/clnt_simp.c: Likewise.
27648 * sunrpc/clnt_tcp.c: Likewise.
27649 * sunrpc/clnt_udp.c: Likewise.
27650 * sunrpc/clnt_unix.c: Likewise.
27651 * sunrpc/des_crypt.c: Likewise.
27652 * sunrpc/des_soft.c: Likewise.
27653 * sunrpc/get_myaddr.c: Likewise.
27654 * sunrpc/getrpcport.c: Likewise.
27655 * sunrpc/key_call.c: Likewise.
27656 * sunrpc/key_prot.c: Likewise.
27657 * sunrpc/openchild.c: Likewise.
27658 * sunrpc/pm_getmaps.c: Likewise.
27659 * sunrpc/pm_getport.c: Likewise.
27660 * sunrpc/pmap_clnt.c: Likewise.
27661 * sunrpc/pmap_prot.c: Likewise.
27662 * sunrpc/pmap_prot2.c: Likewise.
27663 * sunrpc/pmap_rmt.c: Likewise.
27664 * sunrpc/rpc/auth.h: Likewise.
27665 * sunrpc/rpc/auth_unix.h: Likewise.
27666 * sunrpc/rpc/clnt.h: Likewise.
27667 * sunrpc/rpc/des_crypt.h: Likewise.
27668 * sunrpc/rpc/key_prot.h: Likewise.
27669 * sunrpc/rpc/netdb.h: Likewise.
27670 * sunrpc/rpc/pmap_clnt.h: Likewise.
27671 * sunrpc/rpc/pmap_prot.h: Likewise.
27672 * sunrpc/rpc/pmap_rmt.h: Likewise.
27673 * sunrpc/rpc/rpc.h: Likewise.
27674 * sunrpc/rpc/rpc_des.h: Likewise.
27675 * sunrpc/rpc/rpc_msg.h: Likewise.
27676 * sunrpc/rpc/svc.h: Likewise.
27677 * sunrpc/rpc/svc_auth.h: Likewise.
27678 * sunrpc/rpc/types.h: Likewise.
27679 * sunrpc/rpc/xdr.h: Likewise.
27680 * sunrpc/rpc_clntout.c: Likewise.
27681 * sunrpc/rpc_cmsg.c: Likewise.
27682 * sunrpc/rpc_common.c: Likewise.
27683 * sunrpc/rpc_cout.c: Likewise.
27684 * sunrpc/rpc_dtable.c: Likewise.
27685 * sunrpc/rpc_hout.c: Likewise.
27686 * sunrpc/rpc_main.c: Likewise.
27687 * sunrpc/rpc_parse.c: Likewise.
27688 * sunrpc/rpc_parse.h: Likewise.
27689 * sunrpc/rpc_prot.c: Likewise.
27690 * sunrpc/rpc_sample.c: Likewise.
27691 * sunrpc/rpc_scan.c: Likewise.
27692 * sunrpc/rpc_scan.h: Likewise.
27693 * sunrpc/rpc_svcout.c: Likewise.
27694 * sunrpc/rpc_tblout.c: Likewise.
27695 * sunrpc/rpc_util.c: Likewise.
27696 * sunrpc/rpc_util.h: Likewise.
27697 * sunrpc/rpcinfo.c: Likewise.
27698 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27699 * sunrpc/rpcsvc/key_prot.x: Likewise.
27700 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27701 * sunrpc/rpcsvc/mount.x: Likewise.
27702 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27703 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27704 * sunrpc/rpcsvc/rex.x: Likewise.
27705 * sunrpc/rpcsvc/rstat.x: Likewise.
27706 * sunrpc/rpcsvc/rusers.x: Likewise.
27707 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27708 * sunrpc/rpcsvc/spray.x: Likewise.
27709 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27710 * sunrpc/rtime.c: Likewise.
27711 * sunrpc/svc.c: Likewise.
27712 * sunrpc/svc_auth.c: Likewise.
27713 * sunrpc/svc_authux.c: Likewise.
27714 * sunrpc/svc_raw.c: Likewise.
27715 * sunrpc/svc_run.c: Likewise.
27716 * sunrpc/svc_simple.c: Likewise.
27717 * sunrpc/svc_tcp.c: Likewise.
27718 * sunrpc/svc_udp.c: Likewise.
27719 * sunrpc/svc_unix.c: Likewise.
27720 * sunrpc/svcauth_des.c: Likewise.
27721 * sunrpc/xcrypt.c: Likewise.
27722 * sunrpc/xdr.c: Likewise.
27723 * sunrpc/xdr_array.c: Likewise.
27724 * sunrpc/xdr_float.c: Likewise.
27725 * sunrpc/xdr_mem.c: Likewise.
27726 * sunrpc/xdr_rec.c: Likewise.
27727 * sunrpc/xdr_ref.c: Likewise.
27728 * sunrpc/xdr_sizeof.c: Likewise.
27729 * sunrpc/xdr_stdio.c: Likewise.
27730
9da4bb31
UD
27731 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27732 handling.
27733
bdaa77bc
AS
277342010-08-19 Andreas Schwab <schwab@redhat.com>
27735
27736 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27737
fe2f79db
LM
277382010-08-19 Luis Machado <luisgpm@br.ibm.com>
27739
27740 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27741 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27742 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27743 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27744 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27745 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27746 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27747 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27748 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27749 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27750 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27751 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27752 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27753 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27754
b9b42ee0
AB
277552010-07-26 Anton Blanchard <anton@samba.org>
27756
27757 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27758 * malloc/arena.c (heap_trim): Likewise.
27759
1c06ba31
UD
277602010-08-16 Ulrich Drepper <drepper@redhat.com>
27761
27762 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27763 here. Not...
27764 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27765 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27766
f8392f40
L
277672010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27768
27769 * sysdeps/i386/elf/Makefile: New file.
27770
3162f12e
AS
277712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27772
27773 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27774 from fanotify_init.
27775 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27776 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27777
28c90b2c
UD
277782010-08-15 Ulrich Drepper <drepper@redhat.com>
27779
27780 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27781 of strncasecmp_l.
1feccb6c 27782 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27783
ca6bb004
UD
277842010-08-14 Ulrich Drepper <drepper@redhat.com>
27785
e9f82e0d
UD
27786 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27787 strncase_l-nonascii.
27788 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27789 Add strncase_l-ssse3.
27790 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27791 * sysdeps/x86_64/strcmp.S: Likewise.
27792 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27793 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27794 * sysdeps/x86_64/strncase.S: New file.
27795 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27796 * sysdeps/x86_64/strncase_l.S: New file.
27797 * string/Makefile (strop-tests): Add strncasecmp.
27798 * string/test-strncasecmp.c: New file.
27799
27800 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27801 warning.
27802
ca6bb004
UD
27803 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27804 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27805
052fa7b3
AS
278062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27807
27808 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27809
962dba78
UD
278102010-08-12 Ulrich Drepper <drepper@redhat.com>
27811
27812 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27813 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27814 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27815
bebff237
AM
278162010-05-01 Alan Modra <amodra@gmail.com>
27817
27818 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27819 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27820 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27821 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27822 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27823 tidying. Don't tail-call __sigjmp_save for static lib.
27824 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27825 save location.
27826 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27827 (CALL_MCOUNT): Add eh info, and nop after bl.
27828 (TAIL_CALL_SYSCALL_ERROR): New macro.
27829 (PSEUDO_RET): Use it.
27830 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27831 Correct save location of integer regs and cr.
27832 (_dl_profile_resolve): Correct cr save location. Delete nops
27833 after bl when SHARED. Reduce cfi size a little by better
27834 placement of cfi directives.
27835 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27836 make a stack frame. Instead use parm save area as a temp.
27837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27838 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27840 Don't make a stack frame for parent, use parm save area.
27841 Increase child stack frame to 112 bytes. Don't save unused reg,
27842 and adjust reg usage. Set up cfi on error recovery and
27843 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27845 (__makecontext): Add dummy nop after jump to exit.
27846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27847 Use correct parm save area and cr save, reduce stack frame.
27848 Correct cfi for possible PSEUDO_RET frame setup.
27849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27850 Branch to local label emitted by PSEUDO_RET rather than
27851 __syscall_error.
27852
02637374
AS
278532010-08-12 Andreas Schwab <schwab@redhat.com>
27854
27855 [BZ #11904]
27856 * locale/programs/locale.c (print_assignment): New function.
27857 (show_locale_vars): Use it.
27858
c3e2f19b
UD
278592010-08-11 Ulrich Drepper <drepper@redhat.com>
27860
3cdaa6ad
UD
27861 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27862 field.
27863 (struct statfs64): Likewise.
27864 (_STATFS_F_FLAGS): Define.
27865 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27866 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27867 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27868 (ST_VALID): Define locally.
27869 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27870 __statvfs_getflags, use the provided value.
27871 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27872 __ASSUME_STATFS_F_FLAGS.
27873
754f7da3
UD
27874 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27875
10b3bedc
UD
27876 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27877 Add sys/fanotify.h.
27878 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27879 fanotify_mask for GLIBC_2.13.
27880 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27881 fanotify_init and fanotify_mark.
27882 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27883 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27884
c08fb0d7
UD
27885 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27886 Add prlimit.
27887 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27888 prlimit64 for GLIBC_2.13.
27889 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27890 prlimit64.
27891 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27892 syscall.
27893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27894 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27895 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27896 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27897 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27898 add prlimit alias.
27899 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27900
15bac72b
UD
27901 [BZ #11903]
27902 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27903 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27904
c3e2f19b
UD
27905 * nss/Makefile: Add rules to build and run tst-nss-test1.
27906 * shlib-versions: Add entry for libnss_test1.
27907 * nss/nss_test1.c: New file.
27908 * nss/tst-nss-test1.c: New file.
27909
27910 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27911 (__nss_configure_lookup): Set appropriate entry in
27912 __nss_configure_lookup to true.
27913 * nss/nsswitch.h: Define enum with indeces of databases in
27914 databases and __nss_database_custom arrays. Declare
27915 __nss_database_custom.
27916 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27917 to avoid using nscd when custom rules are installed.
27918 * nss/getXXbyYY_r.c: Likewise.
27919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27920
27921 * nss/nss_files/files-parse.c: Whitespace fixes.
27922
f15ce4d8
UD
279232010-08-09 Ulrich Drepper <drepper@redhat.com>
27924
27925 [BZ #11883]
27926 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27927 * posix/fnmatch_loop.c: Likewise.
27928
d22e4cc9
AK
279292010-07-17 Andi Kleen <ak@linux.intel.com>
27930
27931 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27932 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27933 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27934 * Versions.def [GLIBC_2.13]: Add.
27935
805bc17d
UD
279362010-08-06 Ulrich Drepper <drepper@redhat.com>
27937
27938 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27939 Also fail if tpwd after pwuid call is NULL.
27940
5a42321d
ST
279412010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27942
27943 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27944 when converting to ms.
27945
fd3ebeda
ST
279462010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27947
27948 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27949 EOPNOTSUPP errors with ENOTTY.
27950 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27951 EOPNOTSUPP errors with ENOTTY.
27952
73507d3a
UD
279532010-07-31 Ulrich Drepper <drepper@redhat.com>
27954
27955 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27956 Add strcasecmp_l-ssse3.
27957 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27958 strcasecmp.
27959 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27960 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27961 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27962
fe36dd02
UD
279632010-07-30 Ulrich Drepper <drepper@redhat.com>
27964
66f6765a
UD
27965 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27966
42e08a54
UD
27967 * string/Makefile (strop-tests): Add strcasecmp.
27968 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27969 strcasecmp_l-nonascii.
27970 (gen-as-const-headers): Add locale-defines.sym.
27971 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27972 * sysdeps/x86_64/strcasecmp.S: New file.
27973 * sysdeps/x86_64/strcasecmp_l.S: New file.
27974 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27975 * sysdeps/x86_64/locale-defines.sym: New file.
27976 * string/test-strcasecmp.c: New file.
27977
fe36dd02
UD
27978 * string/test-strcasestr.c: Test both ends of the range of characters.
27979 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27980
48cbc0d6
RM
279812010-07-29 Roland McGrath <roland@redhat.com>
27982
76e6d6bc 27983 [BZ #11856]
48cbc0d6
RM
27984 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27985
880113d9
UD
279862010-07-27 Ulrich Drepper <drepper@redhat.com>
27987
27988 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27989 for ld.so.
27990
deb9cabb
AS
279912010-07-27 Andreas Schwab <schwab@redhat.com>
27992
27993 * manual/memory.texi (Malloc Tunable Parameters): Document
27994 M_PERTURB.
27995
1c7570ff
RM
279962010-07-26 Roland McGrath <roland@redhat.com>
27997
27998 [BZ #11840]
27999 * configure.in (-fgnu89-inline check): Set and substitute
28000 gnu89_inline, not libc_cv_gnu89_inline.
28001 * configure: Regenerated.
28002 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28003
24fb0f88
UD
280042010-07-26 Ulrich Drepper <drepper@redhat.com>
28005
28006 * string/test-strnlen.c: New file.
28007 * string/Makefile (strop-tests): Add strnlen.
28008 * string/tester.c (test_strnlen): Add a few more test cases.
28009 * string/tst-strlen.c: Better error reporting.
28010
28011 * sysdeps/x86_64/strnlen.S: New file.
28012
8e96b93a
UD
280132010-07-24 Ulrich Drepper <drepper@redhat.com>
28014
28015 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28016 lower-latency instructions.
28017
dbc676d4
UD
280182010-07-23 Ulrich Drepper <drepper@redhat.com>
28019
28020 * string/test-strcasestr.c: New file.
28021 * string/test-strstr.c: New file.
28022 * string/Makefile (strop-tests): Add strstr and strcasestr.
28023 * string/str-two-way.h: Don't undefine MAX.
28024 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28025
f6a31e0e
AS
280262010-07-21 Andreas Schwab <schwab@redhat.com>
28027
28028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28029 strcasestr-nonascii.
28030 (CFLAGS-strcasestr-nonascii.c): Define.
28031 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28032 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28033 Remove unused attribute.
28034
5dbc3b6c
RM
280352010-07-20 Roland McGrath <roland@redhat.com>
28036
28037 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28038 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28039 ld.so.cache was broken. With it, there is no way to disable dsocaps
28040 like LD_HWCAP_MASK can disable hwcaps.
28041
23d101d8
EPM
280422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28043
28044 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28045
cc9f2e47
UD
280462010-07-16 Ulrich Drepper <drepper@redhat.com>
28047
28048 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28049 call in strcasestr.
28050 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28051 __strcasestr_sse42_nonascii.
28052 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28053 strcasestr-nonascii.c.
28054 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28055
77c1b069
LM
280562010-06-15 Luis Machado <luisgpm@br.ibm.com>
28057
28058 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28059 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28060 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28061 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28062
440566c3
UD
280632010-07-09 Ulrich Drepper <drepper@redhat.com>
28064
28065 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28066 fcntl.
28067
5be9d05d
AS
280682010-07-06 Andreas Schwab <schwab@redhat.com>
28069
c30b7ee2 28070 [BZ #11577]
5be9d05d
AS
28071 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28072 dl_signal_cerror.
28073
8a492a67
UD
280742010-07-06 Ulrich Drepper <drepper@redhat.com>
28075
28076 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28077 _PC_PIPE_BUF using F_GETPIPE_SZ.
28078
713df3d5
RM
280792010-07-05 Roland McGrath <roland@redhat.com>
28080
28081 * manual/arith.texi (Rounding Functions): Fix rint description
28082 implicit in round description.
28083
702e8f14
UD
280842010-07-02 Ulrich Drepper <drepper@redhat.com>
28085
28086 * elf/Makefile: Fix linking for a few tests to make recent linker
28087 happy.
28088
52ed8be9
AS
280892010-06-30 Andreas Schwab <schwab@redhat.com>
28090
28091 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28092 $(common-objpfx)libc_nonshared.a.
28093
f47c9a11
LM
280942010-06-21 Luis Machado <luisgpm@br.ibm.com>
28095
28096 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28097 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28098 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28099 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28100 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28101 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28102 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28103 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28118 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28119 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28120 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28121 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28122 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28123 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28124 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28125 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28126 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28127 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28128 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28129 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28144
6fb8cbcb
L
281452010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28146
28147 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28148 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28149 * string/memmove.c (memmove): Renamed to ...
28150 (MEMMOVE): ...this. Default to memmove.
28151 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28152 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28153 (END_CHK): Define.
28154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28155 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28156 mempcpy-ssse3-back memmove-ssse3-back.
28157 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28158 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28159 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28160 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28161 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28162 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28163 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28164 * sysdeps/x86_64/multiarch/memmove.c: New file.
28165 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28166 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28167 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28168 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28169 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28170 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28171 Define.
28172 (index_Fast_Copy_Backward): Define.
28173 (HAS_ARCH_FEATURE): Define.
28174 (HAS_FAST_REP_STRING): Define.
28175 (HAS_FAST_COPY_BACKWARD): Define.
28176
4e733bac 281772010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28178
28179 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28180 Restore proper fallback handling.
28181
63c4ed22
UD
281822010-06-19 Ulrich Drepper <drepper@redhat.com>
28183
ac2b484c
UD
28184 [BZ #11701]
28185 * posix/group_member.c (__group_member): Correct checking loop.
28186
63c4ed22
UD
28187 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28188 OOM in getpwuid_r correctly. Return error number when the caller
28189 should return, otherwise -1.
28190 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28191 call returning > 0 value.
28192 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28193
765ade4b
AS
281942010-06-07 Andreas Schwab <schwab@redhat.com>
28195
28196 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28197 libc_nonshared.a from targets in modules-names.
28198
80da2e09
KS
281992010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28200
28201 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28202 requires it.
28203
158db122
LM
282042010-06-10 Luis Machado <luisgpm@br.ibm.com>
28205
28206 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28207 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28208 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28209 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28210
caa78cf8
AS
282112010-06-02 Andreas Schwab <schwab@redhat.com>
28212
28213 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28214
b2ef2c01
UD
282152010-06-14 Ulrich Drepper <drepper@redhat.com>
28216
28217 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28218 and F_GETPIPE_SZ.
28219 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28220 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28223 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28225
fbd643b6
RM
282262010-06-14 Roland McGrath <roland@redhat.com>
28227
28228 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28229
f32f2869
JJ
282302010-06-07 Jakub Jelinek <jakub@redhat.com>
28231
28232 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28233 __REDIRECT followed by __THROW.
28234 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28235 * posix/getopt.h (getopt): Likewise.
28236
2a50c078
EPM
282372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28238
28239 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28240 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28241 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28242 in AT_FLAGS.
28243 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28244 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28245
eb5ad2eb
LM
282462010-05-28 Luis Machado <luisgpm@br.ibm.com>
28247
28248 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28249
3c88fe1e
L
282502010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28251
28252 [BZ #11640]
28253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28254 Properly check family and model.
28255
d2f73151
TY
282562010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28257
28258 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28259
ebd2e13d
LM
282602010-05-24 Luis Machado <luisgpm@br.ibm.com>
28261
28262 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28263
b32b8b45
UD
282642010-05-21 Ulrich Drepper <drepper@redhat.com>
28265
28266 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28267 symbol reference.
28268
9acbe24d
AS
282692010-05-19 Andreas Schwab <schwab@redhat.com>
28270
28271 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28272 symbol reference.
28273
f0ccf6ea
AS
282742010-05-21 Andreas Schwab <schwab@redhat.com>
28275
3d04ff3a
AS
28276 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28277 and internal_recvmmsg.
28278 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28279 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28280 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28281 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28282
f0ccf6ea
AS
28283 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28284 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28285 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28286
5b08ac57
AS
282872010-05-20 Andreas Schwab <schwab@redhat.com>
28288
28289 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28290
4828935d
LM
282912010-05-17 Luis Machado <luisgpm@br.ibm.com>
28292
28293 POWER7 optimizations.
28294 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28295 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28296
373d545e
UD
282972010-05-19 Ulrich Drepper <drepper@redhat.com>
28298
28299 * version.h: Update for 2.13 development version.
28300
21a2b1ae
AS
283012010-05-12 Andrew Stubbs <ams@codesourcery.com>
28302
28303 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28304 exceptions. Return 0.
28305
3f7dcb2b
RM
283062010-05-07 Roland McGrath <roland@redhat.com>
28307
28308 * elf/ldconfig.c (main): Add a const.
28309
5f24d53a 283102010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28311
a160f8d8
UD
28312 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28313 (args_options): Add no-idn option.
28314 (ahosts_keys_int): Add idn_flags to ai_flags.
28315 (parse_option): Handle 'i' option to clear idn_flags.
28316
5f24d53a
UD
28317 * malloc/malloc.c (_int_free): Possible race in the most recently
28318 added check. Only act on the data if no current modification
28319 happened.
265bb1ce
UD
28320
28321See ChangeLog.17 for earlier changes.
This page took 3.585582 seconds and 5 git commands to generate.