]> sourceware.org Git - glibc.git/blame - ChangeLog
Update powerpc libm-test ULPs
[glibc.git] / ChangeLog
CommitLineData
cb4d5414
AZ
12013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4
caf84319
JM
52013-04-30 Joseph Myers <joseph@codesourcery.com>
6
7 [BZ #15416]
8 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9 accurately for denominator in atan2.
10 * math/s_catanf.c (__catanf): Likewise.
11 * math/s_catanh.c (__catanh): Likewise.
12 * math/s_catanhf.c (__catanhf): Likewise.
13 * math/s_catanhl.c (__catanhl): Likewise.
14 * math/s_catanl.c (__catanl): Likewise.
15 * math/libm-test.inc (catan_test): Add more tests.
16 (catanh_test): Likewise.
17 * sysdeps/i386/fpu/libm-test-ulps: Update.
18 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19
d569c6ee
SP
202013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21
6dbe713d
SP
22 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23
f0ee064b
SP
24 * benchtests/Makefile (bench): Remove slow benchmarks.
25 * benchtests/atan-inputs: Add slow benchmark inputs.
26 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27 (BENCH_FUNC): Accept variant offset.
28 (VARIANT): Define.
29 * benchtests/bench-skeleton.c (main): Run benchmark for each
30 variant.
31 * benchtests/cos-inputs: Add slow benchmark inputs.
32 * benchtests/exp-inputs: Likewise.
33 * benchtests/pow-inputs: Likewise.
34 * benchtests/sin-inputs: Likewise.
35 * benchtests/slowatan-inputs: Remove.
36 * benchtests/slowatan.c: Remove.
37 * benchtests/slowcos-inputs: Remove.
38 * benchtests/slowcos.c: Remove.
39 * benchtests/slowexp-inputs: Remove.
40 * benchtests/slowexp.c: Remove.
41 * benchtests/slowpow-inputs: Remove.
42 * benchtests/slowpow.c: Remove.
43 * benchtests/slowsin-inputs: Remove.
44 * benchtests/slowsin.c: Remove.
45 * benchtests/slowtan-inputs: Remove.
46 * benchtests/slowtan.c: Remove.
47 * benchtests/tan-inputs: Add slow benchmark inputs.
48 * scripts/bench.pl: Parse comments and directives.
49
d569c6ee
SP
50 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
51 in CPPFLAGS.
52 ($(objpfx)bench-%.c): Remove *-ITER.
53 * benchtests/bench-modf.c: Remove definition of ITER.
54 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
55 (main): Loop for DURATION seconds instead of fixed number of
56 iterations.
57 * scripts/bench.pl: Don't expect iterations in parameters.
58
a6a242fe
RM
592013-04-29 Roland McGrath <roland@hack.frob.com>
60
61 * io/fchdir.c (__fchdir): Renamed from fchdir.
62 (fchdir): Define as weak alias.
63
f2da7793
JM
642013-04-29 Joseph Myers <joseph@codesourcery.com>
65
66 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
67 (ERRNO_EDOM): Likewise.
68 (ERRNO_ERANGE): Likewise.
69 (noErrnoTests): New variable.
70 (init_max_error): Set errno to 0.
71 (test_single_errno): New function.
72 (test_errno): Likewise.
73 (check_float_internal): Call test_errno. Set errno to 0.
74 (check_complex): Refer to errno tests in comment.
75 (check_int): Call test_errno. Set errno to 0.
76 (check_long): Likewise.
77 (check_bool): Likewise.
78 (check_longlong): Likewise.
79 (cos_test): Use ERRNO_* flags for errno tests instead of
80 check_int.
81 (expm1_test): Likewise.
82 (fmod_test): Likewise.
83 (ilogb_test): Likewise.
84 (lgamma_test): Likewise.
85 (pow_test): Likewise.
86 (remainder_test): Likewise.
87 (sin_test): Likewise.
88 (tan_test): Likewise.
89 (yn_test): Likewise.
90 (initialize): Set errno to 0.
91 (main): Print number of errno tests.
92 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
93
b1a36ceb
AJ
942013-04-29 Andreas Jaeger <aj@suse.de>
95
c3ed8088
AJ
96 [BZ #15084]
97 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
98 and RES_USEVC.
99
f1a24198
AJ
100 [BZ #15085]
101 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
102 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
103 unimplemented.
104
9ce3b2cb
AJ
105 [BZ #15380]
106 * stdlib/random.c (__initstate): Return NULL if
107 __initstate fails.
108
f1a24198 109 [BZ #15086]
b1a36ceb
AJ
110 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
111 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
112 RES_SNGLKUPREOP.
113
7e7b6f36
AZ
1142013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
115
116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
117
4d14f449
JM
1182013-04-29 Joseph Myers <joseph@codesourcery.com>
119
120 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
121 of individual tests.
122 (casin_test): Likewise.
123 (casinh_test): Likewise.
124
5b4217d7
JM
1252013-04-27 Joseph Myers <joseph@codesourcery.com>
126
127 [BZ #15409]
128 * math/s_catan.c (__catan): Handle arguments with large real or
129 imaginary part separately without squaring.
130 * math/s_catanf.c (__catanf): Likewise.
131 * math/s_catanh.c (__catanh): Likewise.
132 * math/s_catanhf.c (__catanhf): Likewise.
133 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
134 and redefine.
135 (__catanhl): Handle arguments with large real or imaginary part
136 separately without squaring.
137 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
138 and redefine.
139 (__catanl): Handle arguments with large real or imaginary part
140 separately without squaring.
141 * math/libm-test.inc (catan_test): Add more tests.
142 (catanh_test): Likewise.
143 * sysdeps/i386/fpu/libm-test-ulps: Update.
144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
145
4220c3ef
AJ
1462013-04-27 Andreas Jaeger <aj@suse.de>
147
148 [BZ #15007]
149 * stdlib/stdlib.h: Update guards for qecvt.
150 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
151 <stdlib.h>.
152
4721b2d1
AM
1532013-04-27 Allan McRae <allan@archlinux.org>
154
155 * sysdeps/i386/fpu/libm-test-ulps: Update.
156
f0302940
JM
1572013-04-26 Joseph Myers <joseph@codesourcery.com>
158
9457fd95
JM
159 [BZ #15406]
160 * math/s_catan.c: Include <float.h>.
161 (__catan): Ensure underflow exception occurs for underflowed
162 result.
163 * math/s_catanf.c: Include <float.h>.
164 (__catanf): Ensure underflow exception occurs for underflowed
165 result.
166 * math/s_catanh.c: Include <float.h>.
167 (__catanh): Ensure underflow exception occurs for underflowed
168 result.
169 * math/s_catanhf.c: Include <float.h>.
170 (__catanhf): Ensure underflow exception occurs for underflowed
171 result.
172 * math/s_catanhl.c: Include <float.h>.
173 (__catanhl): Ensure underflow exception occurs for underflowed
174 result.
175 * math/s_catanl.c: Include <float.h>.
176 (__catanl): Ensure underflow exception occurs for underflowed
177 result.
178 * math/libm-test.inc (catan_test): Add more tests.
179 (catanh_test): Likewise.
180
f0302940
JM
181 [BZ #15405]
182 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
183 underflowed result.
184 * math/s_ccoshf.c (__ccoshf): Likewise.
185 * math/s_ccoshl.c (__ccoshl): Likewise.
186 * math/s_csin.c (__csin): Likewise.
187 * math/s_csinf.c (__csinf): Likewise.
188 * math/s_csinh.c (__csinh): Likewise.
189 * math/s_csinhf.c (__csinhf): Likewise.
190 * math/s_csinhl.c (__csinhl): Likewise.
191 * math/s_csinl.c (__csinl): Likewise.
192 * math/libm-test.inc (ccos_test): Add more tests.
193 (ccosh_test): Likewise.
194 (csin_test): Likewise.
195 (csinh_test): Likewise.
196
aa630f59
AZ
1972013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
198
199 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
200 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
201 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
202 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
203 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
204 powerpc/power5+/fpu folders.
205 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
206
207
1b835983
MT
2082013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
209
210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
211
73709b26
JM
2122013-04-25 Joseph Myers <joseph@codesourcery.com>
213
214 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
215 additions to variable.
216 [$(config-machine) = x86_64] (modules-names): Likewise.
217 ($(objpfx)tst-audit3): Remove dependency.
218 ($(objpfx)tst-audit3.out): Likewise.
219 ($(objpfx)tst-audit4): Likewise.
220 ($(objpfx)tst-audit4.out): Likewise.
221 ($(objpfx)tst-audit5): Likewise.
222 ($(objpfx)tst-audit5.out): Likewise.
223 ($(objpfx)tst-audit6): Likewise.
224 ($(objpfx)tst-audit6.out): Likewise.
225 ($(objpfx)tst-audit7): Likewise.
226 ($(objpfx)tst-audit7.out): Likewise.
227 (tst-audit3-ENV): Remove variable.
228 (tst-audit4-ENV): Likewise.
229 (tst-audit5-ENV): Likewise.
230 (tst-audit6-ENV): Likewise.
231 (tst-audit7-ENV): Likewise.
232 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
233 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
234 addition to variable.
235 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
236 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
237 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
238 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
239 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
240 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
241 tst-audit3, tst-audit4 and tst-audit5.
242 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
243 tst-audit6 and tst-audit7.
244 [$(subdir) = elf] (modules-names): Add audit modules for those
245 tests.
246 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
247 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
248 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
249 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
250 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
251 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
252 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
253 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
254 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
255 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
256 [$(subdir) = elf] (tst-audit3-ENV): New variable.
257 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
258 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
259 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
260 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
261 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
262 Likewise.
263 [$(subdir) = elf && $(config-cflags-avx) = yes]
264 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
265 [$(subdir) = elf && $(config-cflags-avx) = yes]
266 (CFLAGS-tst-auditmod4a.c): Likewise.
267 [$(subdir) = elf && $(config-cflags-avx) = yes]
268 (CFLAGS-tst-auditmod4b.c): Likewise.
269 [$(subdir) = elf && $(config-cflags-avx) = yes]
270 (CFLAGS-tst-auditmod6b.c): Likewise.
271 [$(subdir) = elf && $(config-cflags-avx) = yes]
272 (CFLAGS-tst-auditmod6c.c): Likewise.
273 [$(subdir) = elf && $(config-cflags-avx) = yes]
274 (CFLAGS-tst-auditmod7b.c): Likewise.
275 * elf/tst-audit3.c: Move to ...
276 * sysdeps/x86_64/tst-audit3.c: ... here.
277 * elf/tst-audit4.c: Move to ...
278 * sysdeps/x86_64/tst-audit4.c: ... here.
279 * elf/tst-audit5.c: Move to ...
280 * sysdeps/x86_64/tst-audit5.c: ... here.
281 * elf/tst-audit6.c: Move to ...
282 * sysdeps/x86_64/tst-audit6.c: ... here.
283 * elf/tst-audit7.c: Move to ...
284 * sysdeps/x86_64/tst-audit7.c: ... here.
285 * elf/tst-auditmod3a.c: Move to ...
286 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
287 * elf/tst-auditmod3b.c: Move to ...
288 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
289 * elf/tst-auditmod4a.c: Move to ...
290 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
291 * elf/tst-auditmod4b.c: Move to ...
292 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
293 * elf/tst-auditmod5a.c: Move to ...
294 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
295 * elf/tst-auditmod5b.c: Move to ...
296 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
297 * elf/tst-auditmod6a.c: Move to ...
298 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
299 * elf/tst-auditmod6b.c: Move to ...
300 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
301 * elf/tst-auditmod6c.c: Move to ...
302 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
303 * elf/tst-auditmod7a.c: Move to ...
304 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
305 * elf/tst-auditmod7b.c: Move to ...
306 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
307
1ef74943
PP
3082013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
309
310 [BZ #15366]
311 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
312 define unconditionally.
313 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
314 define unconditionally.
315 (INT8_C, INT16_C, etc.): Likewise.
316
93fd48c5
MR
3172013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
318
ae9552cf
MR
319 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
320 __ehdr_start with hidden visibility.
321
93fd48c5
MR
322 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
323
418601aa
CD
3242013-04-24 Carlos O'Donell <carlos@redhat.com>
325
326 * math/libm-test.inc (cos_test): Use accurate hex constants.
327 (sincost_test): Likewise.
328
2f38fbfe
JM
3292013-04-24 Joseph Myers <joseph@codesourcery.com>
330
5e221800
JM
331 * math/libm-test.inc (catan_test): Add more tests.
332 (catanh_test): Likewise.
333
77f143fd
JM
334 * math/s_catanf.c (__catanf): Use suffixed floating-point
335 constants.
336 * math/s_catanhf.c (__catanhf): Likewise.
337 * math/s_catanhl.c (__catanhl): Likewise.
338 * math/s_catanl.c (__catanl): Likewise.
339
2f38fbfe
JM
340 [BZ #15394]
341 * math/s_catan.c (__catan): Calculate imaginary part of result
342 with log1p not log unless computing log of number close to 0.
343 * math/s_catanf.c (__catanf): Likewise.
344 * math/s_catanl.c (__catanl): Likewise.
345 * math/s_catanh.c (__catanh): Calculate real part of result with
346 log1p not log unless computing log of number close to 0.
347 * math/s_catanhf.c (__catanhf): Likewise.
348 * math/s_catanhl.c (__catanhl): Likewise.
349 * math/libm-test.inc (catan_test): Add more tests.
350 (catanh_test): Likewise.
351 * sysdeps/i386/fpu/libm-test-ulps: Update.
352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
353
45d69176
SP
3542013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
355
356 * benchtests/Makefile: Mention files in which fast and slow
357 paths of math functions are implemented.
358
87f51853
RM
3592013-04-23 Roland McGrath <roland@hack.frob.com>
360
361 * sysdeps/posix/timespec_get.c: New file.
362
3c026539
AZ
3632013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
364
365 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
366 POWER.
367 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
368 for POWER.
369 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
370 powerpc/power5/fpu folders.
371 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
372 * benchtests/Makefile: Add modf testcase.
373 * benchtests/bench-modf.c: New file: Benchmark test for mo
374
ff491d14
SP
3752013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
376
377 [BZ #14888]
378 * time/Makefile (tests): Add tst-strptime-whitespace.
379 * time/strptime_l.c (get_number): Use ISSPACE.
380 (__strptime_internal): Likewise.
381 * time/tst-strptime-whitespace.c: New test case.
382
7ed3f4e8
AS
3832013-04-23 Andreas Schwab <schwab@linux-m68k.org>
384
385 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
386 member.
387 (_nss_files_init): Set it here.
388
5c95f7b6
HC
3892013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
390
391 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
392 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
393 unsigned.
394
d34c9158
JBG
3952013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
396
397 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
398
2169712d
SP
3992013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
400
401 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
402 size just once.
403
29c5de99
DM
4042013-04-21 David S. Miller <davem@davemloft.net>
405
406 * po/ru.po: Update Russion translation from translation project.
407
ccdad15d
AC
4082013-04-17 Adam Conrad <adconrad@0c3.net>
409
410 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
411 and setfsgid.
412
0f122b8d
CD
4132013-04-17 Carlos O'Donell <carlos@redhat.com>
414
5c5b07da 415 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 416 * configure: Regenerate.
5c5b07da 417 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
418 Add example to error message.
419 * sysdeps/i386/configure: Regenerate.
420
037714dd
SP
4212013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
422
423 * benchtests/Makefile (bench): Add cos, tan, slowcos and
424 slowtan.
425 * benchtests/cos-inputs: New file.
426 * benchtests/slowcos-inputs: New file.
427 * benchtests/slowcos.c: New file.
428 * benchtests/slowtan-inputs: New file.
429 * benchtests/slowtan.c: New file.
430 * benchtests/tan-inputs: New file.
431
e913141d
RM
4322013-04-16 Roland McGrath <roland@hack.frob.com>
433
434 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
435 considered kosher.
436
a2964074
SP
4372013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
438
4856bcd2
SP
439 * benchtests/Makefile: Include cppflags-iterator.mk to add
440 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
441
a2964074
SP
442 * Makefile.in (bench-clean): New target.
443 * benchtests/Makefile (bench-clean): Likewise.
444
9fbf9aca
DH
4452013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
446
447 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
448
207d1e2a
TS
4492013-04-15 Thomas Schwinge <thomas@codesourcery.com>
450
451 * stdio-common/tstdiomisc.c: Fix coding-style violation.
452
306dfba9
AS
4532013-04-15 Andreas Schwab <schwab@suse.de>
454
455 * nscd/grpcache.c (cache_addgr): Properly check for short write.
456 * nscd/initgrcache.c (addinitgroupsX): Likewise.
457 * nscd/pwdcache.c (cache_addpw): Likewise.
458 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
459 more than recsize.
460
206a6699
SP
4612013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
462
463 * benchtests/Makefile (bench): Write all output to
464 bench-out.tmp together.
465
0582f6b3
AS
4662013-04-15 Andreas Schwab <schwab@suse.de>
467
468 * nscd/nscd.c (main): Don't fork again after closing files.
469
acb4325f
SP
4702013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
471
5cb26d0a
SP
472 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
473
acb4325f
SP
474 * benchtests/Rules (bench-deps): Collect dependencies into a
475 single variable. Add Makefile to dependencies.
476 ($(objpfx)bench-%.c): Depend on bench-deps.
477
47792506
RM
4782013-04-12 Roland McGrath <roland@hack.frob.com>
479 Xavier Roche <roche+kml2@exalead.com>
480
481 [BZ #15361]
482 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
483 just that it's a file descriptor.
484 * manual/llio.texi (Synchronizing AIO Operations): Update description
485 for EBADF error from aio_fsync.
486
8fc1bee5
SP
4872013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
488
489 * Rules (bench): Move target definition...
490 * benchtests/Makefile: ... here.
491
aba5e333
CD
4922013-04-11 Carlos O'Donell <carlos@redhat.com>
493
494 * math/libm-test.inc (cos_test): Fix PI/2 test.
495 (sincos_test): Likewise.
496 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
497 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
498
273cdee8
AS
4992013-04-11 Andreas Schwab <schwab@suse.de>
500
6ecec3b6
AS
501 [BZ #13988]
502 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
503 accept exponent character only when digits were seen.
504 * stdio-common/Makefile (tests): Add bug26.
505 * stdio-common/bug26.c: New file.
506
273cdee8
AS
507 [BZ #14293]
508 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
509 non-freeable.
510
8da491f5
SP
5112013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
512
01dc6df9
SP
513 * Makeconfig (rtld-prefix): Define built linker prefix.
514 * Rules (run-bench): Use it.
515 * math/Makefile (run-regen-ulps): Likewise.
516
8da491f5
SP
517 * Rules (bench): Remove eval.
518
abe7f530
SP
5192013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
520 Roland McGrath <roland@hack.frob.com>
521 Ondrej Bilka <neleai@seznam.cz>
522
523 [BZ #15346]
524 * time/getdate.c: Include ctype.h and alloca.h.
525 (__getdate_r): Trim leading and trailing spaces of input.
526 * time/tst-getdate.c (tests): Add tests with leading and
527 trailing spaces.
528
61c23e62
RM
5292013-04-08 Roland McGrath <roland@hack.frob.com>
530
531 [BZ #14280]
532 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
533 when computing value.
534
7208a313
CD
5352013-04-06 Carlos O'Donell <carlos@redhat.com>
536
085b2d41
CD
537 * math/README.libm-test (How can I generate "libm-test-ulps"?):
538 Use testrun.sh to run libm tests.
539
7208a313
CD
540 [BZ #15309]
541 * elf/dl-open.c (dl_open_worker): memset all of seen array.
542
872c0acd
MM
5432013-04-06 Marko Myllynen <myllynen@redhat.com>
544
545 [BZ #15264]
546 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
547
26510bdd
CD
5482013-04-06 Carlos O'Donell <carlos@redhat.com>
549
550 * Makefile.in (regen-ulps): New target.
551 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
552 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
553 [ifneq (no,$(PERL)] (regen-ulps): New target.
554 [ifeq (no,$(PERL)] (regen-ulps): New target.
555 * math/libm-test.inc (ulps_file_name): Define.
556 (output_dir): New variable.
557 (options): Add "output-dir" option.
558 (parse_opt): Handle 'o' case.
559 (main): If output_dir is non-NULL use it as a prefix
560 otherwise use "".
561 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
562
a01f19c8
CD
5632013-04-06 Carlos O'Donell <carlos@redhat.com>
564
565 [BZ #10060, #10062]
566 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
567 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
568 fail configure if __sync_val_compare_and_swap is not inlined.
569 * sysdeps/i386/configure: Regenerate.
570 * configure.in: Build for i686 when configured for i386.
571 * configure: Regenerate.
572 * README: Remove i386 reference.
573
b7a329a5
CD
5742013-04-06 Carlos O'Donell <carlos@redhat.com>
575
576 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
577 * sysdeps/s390/s390-64/sysdep.h: Likewise.
578
bf0f50df
TS
5792013-04-05 Thomas Schwinge <thomas@codesourcery.com>
580
ee091edf
TS
581 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
582 (lmsnanval): New variables.
583 (F): Add conversion tests.
584 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
585 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
586
a8b792d6
TS
587 * stdio-common/tstdiomisc.c (F): Properly collect individual
588 tests' results.
589
a1cbf437
TS
590 [BZ #14686, #15336]
591 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
592 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
593 Instead, use input NaN values or generate a qNaN by arithmetic
594 operation. Also fix bugs to comply with the standard.
595 * math/libm-test.inc (remainder_test): Add more tests.
596
8b43a0c9
TS
597 [BZ #15335, #15342]
598 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
599 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
600 input NaN values or generate a qNaN by arithmetic operation.
601
d91da4ce
TS
602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
603 unreachable code.
604
bf0f50df
TS
605 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
606 definitions.
607
05e166c8
JM
6082013-04-03 Joseph Myers <joseph@codesourcery.com>
609
610 [BZ #14478]
611 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
612 underflowed result.
613 * math/s_cexpf.c (__cexpf): Likewise.
614 * math/s_cexpl.c (__cexpl): Likewise.
615 * math/libm-test.inc (cexp_test): Add more tests.
616
1cef1b19
AS
6172013-04-03 Andreas Schwab <schwab@suse.de>
618
619 [BZ #15330]
620 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
621 order arrays from heap if bigger than alloca cutoff.
622
74d87055
TS
6232013-04-03 Thomas Schwinge <thomas@codesourcery.com>
624
625 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
626 (SNAN_TESTS_double): Refer to GCC PR56831.
627 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
628 GCC PR56828.
629
d755bba4
SP
6302013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
631
90d5d5bb
SP
632 * Rules (bench): Move bench.out after the run is complete.
633
73e0cd5d
SP
634 * Rules (bench): Echo currently running benchmark.
635
64aabd4b
SP
636 * benchtests/Makefile (bench): Add atan and slowatan.
637 * benchtests/atan-inputs: New file.
638 * benchtests/slowatan-inputs: New file.
639 * benchtests/slowatan.c: New file.
640
c871eccd
SP
641 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
642 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
643 its value.
644
d755bba4
SP
645 [BZ #15305]
646 * sysdeps/unix/sysv/linux/kernel-features.h
647 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
648 __ASSUME_XFS_RESTRICTED_CHOWN.
649 * sysdeps/unix/sysv/linux/pathconf.c
650 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
651 Save and restore errno.
652
52ce4860
JM
6532013-04-02 Joseph Myers <joseph@codesourcery.com>
654
655 [BZ #15327]
656 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
657 arguments using __kernel_casinh.
658 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
659 arguments using __kernel_casinhf.
660 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
661 arguments using __kernel_casinhl.
662 * math/libm-test.inc (cacosh_test): Add more tests.
663 * sysdeps/i386/fpu/libm-test-ulps: Update.
664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
665
81f311c2
SP
6662013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
667
e7906a47
SP
668 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
670
92e3664b
SP
671 * bench/Makefile (bench): Add sin and slowsin.
672 * benchtests/sin-inputs: New file.
673 * benchtests/slowsin-inputs: New file.
674 * benchtests/slowsin.c: New file.
675
81f311c2
SP
676 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
677 (bench): Add slowexp and slowpow.
678 (exp-ITER): Increase iterations.
679 (pow-ITER): Likewise.
680 * benchtests/exp-inputs: Change input.
681 * benchtests/pow-inputs: Likewise.
682 * benchtests/slowexp-inputs: New file.
683 * benchtests/slowexp.c: New file.
684 * benchtests/slowpow-inputs: New file.
685 * benchtests/slowpow.c: New file.
686
ab0f1aa9
AZ
6872013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
688
689 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
690 instructions.
691 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
692 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
693 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
694 * benchtests/Makefile: Add rint benchtest.
695 * benchtests/rint-inputs: Input for rint benchtest.
696
57267616
TS
6972013-04-02 Thomas Schwinge <thomas@codesourcery.com>
698
699 * Versions.def (libm): Add GLIBC_2.18.
700 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
701 hidden libm prototypes.
702 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
703 * math/Makefile (libm-calls): Add s_issignaling.
704 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
705 __issignalingf, __issignalingl. Adjust all libm.abilist files.
706 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
707 declaration.
708 * math/math.h [__USE_GNU] (issignaling): New macro.
709 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
710 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
711 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
712 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
713 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
714 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
715 * manual/arith.texi (issignaling): New section.
716 * manual/libm-err-tab.pl (@all_functions): Update comment.
717 * math/gen-libm-test.pl (parse_args): Apply special handling for
718 issignaling.
719 * math/libm-test.inc (print_float, issignaling_test): New
720 functions.
721 (check_float_internal): Add issignaling checks.
722 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
723 default definition.
724 * sysdeps/powerpc/math-tests.h: New file.
725 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
726 tests.
727 * math/test-snan.c (TEST_FUNC): Likewise.
728
6142896d
DM
7292013-03-30 David S. Miller <davem@davemloft.net>
730
731 * po/de.po: Update from translation team.
732
ccc8cadf
JM
7332013-03-30 Joseph Myers <joseph@codesourcery.com>
734
735 [BZ #10357]
736 * math/k_casinh.c (__kernel_casinh): Handle arguments with
737 imaginary part less than 1.0 and real part less than 0.5
738 specially.
739 * math/k_casinhf.c (__kernel_casinhf): Likewise.
740 * math/k_casinhl.c (__kernel_casinhl): Likewise.
741 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
742 (cacos_test): Add more tests.
743 (casin_test): Likewise.
744 (casinh_test): Likewise.
745 * sysdeps/i386/fpu/libm-test-ulps: Update.
746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
747
0f6a8d4b
SP
7482013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
749
0d1029de
SP
750 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
751 ONE with its value.
752
c2d94018
SP
753 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
754 (__pow_mp): Replace ONE and MONE with their values.
755 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
756 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
757 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
758 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
759 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
760 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
761
27ec37f1
SP
762 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
763
a64d7e0e
SP
764 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
765 (__pow_mp): Replace ZERO and MZERO with their values.
766 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
767 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
768 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
769 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
770 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
771 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
772 (__sqr): Likewise.
773
d26dd3eb
SP
774 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
775
0f6a8d4b
SP
776 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
777
e57b0c61
RM
7782013-03-28 Roland McGrath <roland@hack.frob.com>
779
780 * include/stdlib.h [!SHARED] (__call_tls_dtors):
781 Declare with __attribute__ ((weak)).
782 * stdlib/exit.c (__libc_atexit) [!SHARED]:
783 Call __call_tls_dtors only if it's not NULL.
784
356b3480
RM
7852013-03-28 Roland McGrath <roland@hack.frob.com>
786
288f7d79
RM
787 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
788 didn't do it already, then set _dl_phdr and _dl_phnum based on the
789 magic __ehdr_start linker symbol if it's defined.
790 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
791 them up here if it was already done.
792
dc0a0263
RM
793 * elf/dl-support.c (_dl_phdr): Make pointer to const.
794 (_dl_aux_init): Use const in cast when setting it.
795 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
796 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
797 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
798
3d3436ae
RM
799 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
800 Declare them here.
801 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
802 * csu/libc-tls.c: Nor here.
803 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
804
356b3480
RM
805 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
806 (__libc_message): Never call vsyslog.
807
b0f1246a
AM
8082013-03-28 Alan Modra <amodra@gmail.com>
809
810 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
811 Define as empty.
812 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
813 Likewise.
814
fbbe2b9a
AZ
8152013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
816
817 [BZ #15214]
818 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
819 underflow.
820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
821
1728ab37
SP
8222013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
823
7a86be6e
SP
824 [BZ #15304]
825 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
826 Don't add gid passed as argument.
827
1728ab37
SP
828 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
829
3a7182a1
JM
8302013-03-27 Joseph Myers <joseph@codesourcery.com>
831
832 [BZ #15307]
833 * math/k_casinh.c (__kernel_casinh): Handle arguments with
834 imaginary part between 1.0 and 1.5 and real part less than 0.5
835 specially.
836 * math/k_casinhf.c (__kernel_casinhf): Likewise.
837 * math/k_casinhl.c (__kernel_casinhl): Likewise.
838 * math/libm-test.inc (cacos_test): Add more tests.
839 (casin_test): Likewise.
840 (casinh_test): Likewise.
841 * sysdeps/i386/fpu/libm-test-ulps: Update.
842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
843
6f2e90e7
SP
8442013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
845
5739f705
SP
846 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
847 constants.
848 (norm): Likewise.
849 (denorm): Likewise.
850 (__dbl_mp): Likewise.
851 (add_magnitudes): Likewise.
852 (sub_magnitudes): Likewise.
853 (__add): Likewise.
854 (__sub): Likewise.
855 (__mul): Likewise.
856 (__sqr): Likewise.
857 (__inv): Likewise.
858 (__dvd): Likewise.
859
e375e83d
SP
860 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
861 commented code.
862 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
863 (__dubcos): Likewise.
864 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
865 (__ieee754_acos): Likewise.
866 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
867 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
868 (__exp1): Likewise.
869 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
870 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
871 (log1): Likewise.
872 (my_log2): Likewise.
873 (checkint): Likewise.
874 * sysdeps/ieee754/dbl-64/e_remainder.c
875 (__ieee754_remainder): Likewise.
876 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
877 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
878 (bsloww): Likewise.
879 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
880
6f2e90e7
SP
881 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
882 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
883 MANTISSA_STORE_T to store computations on mantissa. Use
884 macros for rounding and division.
885 (denorm): Likewise.
886 (__dbl_mp): Likewise.
887 (add_magnitudes): Likewise.
888 (sub_magnitudes): Likewise.
889 (__mul): Likewise.
890 (__sqr): Likewise.
891 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
892 powers of two in terms of TWOPOW macro.
893 (mp_no): Make type of mantissa as MANTISSA_T.
894 [!RADIXI]: Define RADIXI.
895 [!TWO52]: Define TWO52.
896 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
897
fce14d4e
AZ
8982013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
899
900 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
901 llroundl symbol when building for PPC32.
902
9ad027fb
MW
9032013-03-24 Mark H Weaver <mhw@netris.org>
904
905 * manual/arith.texi (Normalization Functions): Fix prototypes for
906 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
907
e42a38dd
AZ
9082013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
909
910 [BZ #13889]
911 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
912 high value to check if expl overflow.
913 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
914 to check for underflow and overflow.
915 * math/libm-test.inc: Add exp test.
916
2e0fb521
DL
9172013-03-21 Dmitry V. Levin <ldv@altlinux.org>
918
919 [BZ #11120]
920 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
921 with NOT_IN_libc.
922
b5784d95
AZ
9232013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
924
925 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
926 symbol.
927
5aa4a1a1
TS
9282013-03-21 Thomas Schwinge <thomas@codesourcery.com>
929
bdef0be7
TS
930 * math/gen-libm-test.pl (parse_args, special_functions): Properly
931 wrap blocks consisting of several statements.
932
5aa4a1a1
TS
933 * sysdeps/generic/math-tests.h: New file.
934 * sysdeps/i386/fpu/math-tests.h: Likewise.
935 * math/test-snan.c: Include it.
936 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
937
98c48fe5
JM
9382013-03-21 Joseph Myers <joseph@codesourcery.com>
939
940 [BZ #15285]
941 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
942 (__ieee754_j0l): Do not improve calculations using cos of twice
943 input for inputs above LDBL_MAX / 2.0L.
944 (__ieee754_y0l): Likewise.
945 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
946 (__ieee754_j1l): Do not improve calculations using cos of twice
947 input for inputs above LDBL_MAX / 2.0L.
948 (__ieee754_y1l): Likewise.
949 * math/libm-test.inc (j0_test): Add another test.
950 (j1_test): Likewise.
951 (y0_test): Likewise.
952 (y1_test): Likewise.
953 * sysdeps/i386/fpu/libm-test-ulps: Update.
954
3775a8bc
SP
9552013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
956
957 * Rules ($(objpfx)bench-%.c): Include code from a C source
958 file.
959
0a1b2ae6
JM
9602013-03-21 Joseph Myers <joseph@codesourcery.com>
961
962 [BZ #15287]
963 * math/k_casinh.c (__kernel_casinh): Handle arguments with
964 imaginary part 1.0 and real part less than 0.5 specially.
965 * math/k_casinhf.c (__kernel_casinhf): Likewise.
966 * math/k_casinhl.c (__kernel_casinhl): Likewise.
967 * math/libm-test.inc (cacos_test): Add more tests.
968 (casin_test): Likewise.
969 (casinh_test): Likewise.
970 * sysdeps/i386/fpu/libm-test-ulps: Update.
971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
972
b33d4ce4
SP
9732013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
974
975 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
976 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
977
bef0b507
JM
9782013-03-20 Joseph Myers <joseph@codesourcery.com>
979
980 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
981 * config.make.in (config-cflags-sse4): Remove variable.
982 (config-cflags-avx): Likewise.
983 (config-cflags-sse2avx): Likewise.
984 (config-cflags-novzeroupper): Likewise.
985 (config-asflags-i686): Likewise.
986 (have-mfma4): Likewise.
987 (have-as-vis3): Likewise.
988 (MIG): Likewise.
989 * configure.in (MIG): Do not AC_SUBST.
990 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
991 (libc_cv_cc_sse4): Do not AC_SUBST.
992 (libc_cv_cc_avx): Likewise.
993 (libc_cv_cc_sse2avx): Likewise.
994 (libc_cv_cc_novzeroupper): Likewise.
995 (libc_cv_cc_fma4): Likewise.
996 (libc_cv_as_i686): Likewise.
997 (libc_cv_sparc_as_vis3): Likewise.
998 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
999 LIBC_CONFIG_VAR.
1000 (config-asflags-i686): Likewise.
1001 (config-cflags-avx): Likewise.
1002 (config-cflags-sse2avx): Likewise.
1003 (have-mfma4): Likewise.
1004 (config-cflags-novzeroupper): Likewise.
1005 * sysdeps/mach/configure.in (MIG): Likewise.
1006 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1007 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1008 LIBC_CONFIG_VAR.
1009 (config-cflags-avx): Likewise.
1010 (config-cflags-sse2avx): Likewise.
1011 (have-mfma4): Likewise.
1012 (config-cflags-novzeroupper): Likewise.
1013 * configure: Regenerated.
1014 * sysdeps/i386/configure: Likewise.
1015 * sysdeps/mach/configure: Likewise.
1016 * sysdeps/sparc/configure: Likewise.
1017 * sysdeps/x86_64/configure: Likewise.
1018
912cc4b3
RM
10192013-03-20 Roland McGrath <roland@hack.frob.com>
1020
1021 [BZ #14812]
1022 * locale/programs/localedef.c (options): Put N_ translation marker
1023 on argument names, not just descriptions.
1024
04eed2b0
MS
10252013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1026
1027 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1028
a065ceff
OB
10292013-03-20 Ondřej Bílka <neleai@seznam.cz>
1030
9bb2a810 1031 [BZ #14176]
a065ceff
OB
1032 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1033
a600e5ce
RM
10342013-03-19 Roland McGrath <roland@hack.frob.com>
1035
1036 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1037 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1038 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1039 [!BEFORE_ABORT] (before_abort): New function.
1040 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1041 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1042 (writev_for_fatal): New function.
1043 (WRITEV_FOR_FATAL): New macro; call that.
1044 (backtrace_and_maps): New function.
1045 (BEFORE_ABORT): New macro; call that.
1046 (struct str_list): Type removed.
1047 (__libc_message, __libc_fatal): Functions removed.
1048 Include <sysdeps/posix/libc_fatal.c> instead.
1049
6b18bea6
JM
10502013-03-19 Joseph Myers <joseph@codesourcery.com>
1051
1052 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1053 constants.
1054 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1055 double constants.
1056
aaa8cb4b
AS
10572013-03-19 Andreas Schwab <schwab@suse.de>
1058
44673770
AS
1059 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1060 * sysdeps/gnu/configure: Regenerate.
1061
aaa8cb4b
AS
1062 * configure.in: Substitute libc_cv_rtlddir.
1063 * configure: Regenerate.
1064 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1065 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1066 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1067 * elf/Makefile (install-others, CFLAGS-interp.c)
1068 (ldso_install, common-ldd-rewrite): Likewise.
1069 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1070 $(inst_slibdir)/$(rtld-installed-name).
1071 * scripts/rellns-sh: Add -p option.
1072 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1073 for source.
1074
d3cfc668
SP
10752013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1076
1077 * manual/nptl.texi: Renamed to ...
1078 * manual/threads.texi: ... this.
1079 * manual/Makefile (chapters): Update.
1080
0e2b9cdd
RM
10812013-03-18 Roland McGrath <roland@hack.frob.com>
1082
1083 [BZ #14812]
1084 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1085 on argument names, not just descriptions.
0e2b9cdd
RM
1086 * malloc/memusagestat.c (options): Likewise.
1087 * nss/getent.c (options): Likewise.
63270c24
RM
1088
10892013-03-18 Benno Schulenberg <bensberg@justemail.net>
1090
1091 [BZ #14812]
1092 * iconv/iconv_prog.c (options): Put N_ translation marker
1093 on argument names, not just descriptions.
1094 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1095
b2e1393c
OB
10962013-03-18 Ondrej Bilka <neleai@seznam.cz>
1097
1098 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1099 implementation which is faster on all x86_64 architectures.
1100 Tested on AMD, Intel Nehalem, SNB, IVB.
1101 * sysdeps/x86_64/strnlen.S: Likewise.
1102
1103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1104 Remove all multiarch strlen and strnlen versions.
1105 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1106 Remove strlen and strnlen related parts.
1107
1108 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1109 Inline strlen part.
1110 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1111
1112 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1113 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1114 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1115 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1116 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1117 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1118
ec4ff04d
CD
11192013-03-17 Carlos O'Donell <carlos@redhat.com>
1120
1121 * manual/memory.texi (Malloc Tunable Parameters):
1122 Sort parameters alphabetically. Add comments for missing entries.
1123
cd18e90a
DM
11242013-03-17 David S. Miller <davem@davemloft.net>
1125
1126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1127
2a185d32
JM
11282013-03-16 Joseph Myers <joseph@codesourcery.com>
1129
d2f9799e
JM
1130 [BZ #15283]
1131 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1132 for arguments at most half maximum finite value.
1133 * math/libm-test.inc (j0_test): Add more tests.
1134 (j1_test): Likewise.
1135 (y0_test): Likewise.
1136 (y1_test): Likewise.
1137 * sysdeps/i386/fpu/libm-test-ulps: Update.
1138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1139
2a185d32
JM
1140 [BZ #14155]
1141 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1142 1 / x and functions P and Q for arguments above 0x1p256L.
1143 (__ieee754_y0l): Likewise.
1144 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1145 (__ieee754_y1l): Likewise.
1146 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1147 (j1_test): Likewise.
1148 (y0_test): Likewise.
1149 (y1_test): Likewise.
1150
6cbec759
TS
11512013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1152
1153 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1154 variable.
1155
bc16e260
RM
11562013-03-15 Roland McGrath <roland@hack.frob.com>
1157
aefc9b8c
RM
1158 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1159 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1160 zero since it's initialized to EXEC_PAGESIZE.
1161
bc16e260
RM
1162 * sysdeps/unix/sysv/linux/ldsodefs.h
1163 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1164 * sysdeps/generic/ldsodefs.h: ... here.
1165
a57da955
TS
11662013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1167
af00a34d
TS
1168 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1169
495ded2c
TS
1170 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1171 math/test-snan.c.
1172 * math/test-snan.c: Renamed from
1173 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1174 * math/Makefile (tests): Add test-snan.
1175 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1176 test-powerpc-snan.
1177
777b0332
TS
1178 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1179 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1180 functions.
1181 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1182 __builtin_nan family of functions.
1183 * math/libm-test.inc (initialize): Initialize qnan_value with
1184 __builtin_nan family of functions.
1185 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1186 Remove variables.
1187 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1188 Remove functions.
1189 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1190 storage class. Initialize qNaN_var and sNaN_var with
1191 __builtin_nan and __builtin_nans families of functions,
1192 respectively.
1193
64d063b8
TS
1194 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1195 (sqrt_test): Remove duplicate test with qNaN input.
1196 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1197 (round_test, signbit_test, significand_test): Note missing +/-Inf
1198 as well as qNaN tests.
1199
67e971f1
TS
1200 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1201 qNaN_var. Fix a few strings, too.
1202 * math/libm-test.inc (nan_value): Rename to qnan_value.
1203 * math/gen-libm-test.pl (%beautify): Adjust to that.
1204 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1205 * math/test-misc.c (main): Likewise.
1206 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1207 to __qnan_bytes, and __qnan_union, respectively.
1208 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1209 Likewise.
1210 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1211 and lqnanval, respectively.
1212 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1213 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1214 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1215 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1216
64487e12
TS
1217 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1218 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1219 doubles.
1220
e015e27b
TS
1221 * math/test-misc.c (main): Fix copy'n'pastos.
1222 * misc/tst-efgcvt.c (special): Likewise.
1223
a57da955
TS
1224 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1225 Remove declarations.
1226
1e380345
SP
12272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1228
1229 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1230 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1231 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1232 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1233
ef26eece
AZ
12342013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1235
1236 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1237 macro to return vdso values correctly in IFUNC implementations.
1238 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1239 Optimization by using IFUNC.
1240
8cfdb7e0
SP
12412013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1242 Richard Henderson <rth@redhat.com>
1243 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1244
1245 * Makefile.in (bench): New target.
1246 * NEWS: Mention the benchmark framework.
1247 * Rules (bench): Likewise.
1248 (binaries-bench): Generate binaries for functions to
1249 benchmark.
1250 * benchtests/Makefile: New makefile for benchmark tests.
1251 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1252 programs.
1253 * benchtests/exp-inputs: New input file for EXP function.
1254 * benchtests/pow-inputs: New input file for POW function.
1255 * scripts/bench.pl: New script to generate source files for
1256 benchmark programs.
1257
bcda9880
SP
12582013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1259
d22ca8cd
SP
1260 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1261 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1262 computations on mantissa. Use macros for rounding and
1263 division.
1264 (denorm): Likewise.
1265 (__dbl_mp): Likewise.
1266 (add_magnitudes): Likewise.
1267 (sub_magnitudes): Likewise.
1268 (__mul): Likewise.
1269 (__sqr): Likewise.
1270 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1271 powers of two in terms of TWOPOW macro.
1272 (mp_no): Make type of mantissa as MANTISSA_T.
1273 [!RADIXI]: Define RADIXI.
1274 [!TWO52]: Define TWO52.
1275 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1276
bcda9880
SP
1277 * manual/nptl.texi (cindex): Modify threads to pthreads.
1278
06d5adfb
JM
12792013-03-15 Joseph Myers <joseph@codesourcery.com>
1280
1281 * sysdeps/x86_64/preconfigure: Regenerated.
1282
41c7328e
JM
12832013-03-14 Joseph Myers <joseph@codesourcery.com>
1284
1285 [BZ #14155]
1286 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1287 0x1p28 and above.
1288 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1289 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1290 0x1p28 and above.
1291 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1292 * math/libm-test.inc (j0_test): Do not allow one spurious
1293 underflow exception.
1294 (y1_test): Likewise.
1295
e25cfa60
SP
12962013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1297
0409959c
SP
1298 * manual/Makefile (chapters): Add nptl.
1299 * manual/debug.texi (Debugging Support): Add link to Threads
1300 chapter.
1301 * manual/nptl.texi: New file.
1302
e25cfa60
SP
1303 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1304
58a1335e
PB
13052013-03-14 Petr Baudis <pasky@ucw.cz>
1306
1307 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1308 for non-NULL pointer before the memory validity test. Pointed
1309 out by Holger Brunck <holger.brunck@keymile.com>.
1310
9dc7c64f
AS
13112013-03-13 Andreas Schwab <schwab@suse.de>
1312
1313 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1314 instead of .os.
1315
54206aa6
JM
13162013-03-13 Joseph Myers <joseph@codesourcery.com>
1317
1318 * timezone/zic.c: Update from tzcode 2013b.
1319
e98cdb38
CD
13202013-03-12 Carlos O'Donell <carlos@redhat.com>
1321
1322 * manual/install.texi (Configuring and compiling):
1323 Mention i686 and i586.
1324 * INSTALL: Regenerate.
1325
9967e003
RM
13262013-03-12 Roland McGrath <roland@hack.frob.com>
1327
1328 * sysdeps/init_array/elf-init.c: New file.
1329 * csu/elf-init.c
1330 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1331 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1332
1333 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1334 __gmon_start__ as global, but as static with a .preinit_array pointer.
1335 * sysdeps/init_array/gmon-start.c: New file. Use that.
1336 * sysdeps/init_array/crti.S: New file, empty except for comments.
1337 * sysdeps/init_array/crtn.S: Likewise.
1338
e6b5a293 13392013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1340
1341 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1342 definining bcopy.
80f844c9
OB
1343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1344 Remove Prefer_SSE_for_memop.
1345 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1346 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1347 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1349 memset-x86-64.
80f844c9 1350 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1351 Remove bzero, memset ifunc support.
80f844c9
OB
1352 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1353 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1354 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1355 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1356
fb6b0fcb
AS
13572013-03-11 Andreas Schwab <schwab@suse.de>
1358
1359 [BZ #15234]
1360 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1361 by SHLIB_COMPAT.
1362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1363 (GLIBC_2.16): Remove pthread_atfork.
1364
3e6bd4b1
PP
13652013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1366
1367 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1368 (ptestcases.h): Likewise.
1369
222d7f00
RM
13702013-03-08 Roland McGrath <roland@hack.frob.com>
1371
1372 * Makeconfig ($(common-objpfx)config.status): Depend on
1373 sysdeps/*/preconfigure{,.in} too.
1374
1ba4f030
JM
13752013-03-08 Joseph Myers <joseph@codesourcery.com>
1376
a222d91a
JM
1377 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1378 (__free_hook): Use void * instead of __malloc_ptr_t.
1379 (__malloc_hook): Likewise.
1380 (__realloc_hook): Likewise.
1381 (__memalign_hook): Likewise.
1382 (__after_morecore_hook): Likewise.
1383 * malloc/arena.c (save_malloc_hook): Likewise.
1384 (save_free_hook): Likewise.
1385 * malloc/hooks.c (malloc_hook_ini): Likewise.
1386 (realloc_hook_ini): Likewise.
1387 (memalign_hook_ini): Likewise.
1388 * malloc/malloc.c (malloc_hook_ini): Likewise.
1389 (realloc_hook_ini): Likewise.
1390 (memalign_hook_ini): Likewise.
1391 (__free_hook): Likewise.
1392 (__malloc_hook): Likewise.
1393 (__realloc_hook): Likewise.
1394 (__memalign_hook): Likewise.
1395 (__libc_malloc): Likewise.
1396 (__libc_free): Likewise.
1397 (__libc_realloc): Likewise.
1398 (__libc_memalign): Likewise.
1399 (__libc_valloc): Likewise.
1400 (__libc_pvalloc): Likewise.
1401 (__libc_calloc): Likewise.
1402 (__posix_memalign): Likewise.
1403 * malloc/morecore.c (__sbrk): Likewise.
1404 (__default_morecore): Likewise.
1405
5cc45e10
JM
1406 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1407
dd54b864
JM
1408 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1409 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1410 __malloc_ptrdiff_t.
1411
1ba4f030
JM
1412 * malloc/malloc.h (__malloc_size_t): Remove macro.
1413 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1414 __malloc_size_t.
1415 (old_memalign_hook): Likewise.
1416 (old_realloc_hook): Likewise.
1417 (struct hdr): Likewise.
1418 (flood): Likewise.
1419 (mallochook): Likewise.
1420 (memalignhook): Likewise.
1421 (reallochook): Likewise.
1422 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1423 (tr_old_realloc_hook): Likewise.
1424 (tr_old_memalign_hook): Likewise.
1425 (tr_mallochook): Likewise.
1426 (tr_reallochook): Likewise.
1427 (tr_memalignhook): Likewise.
1428
edf66e57
AZ
14292013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1430
1431 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1432 default_ldbl_pack and using as default implementation.
1433 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1434 implementation.
1435 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1436 redundant definition.
1437 (ldbl_insert_mantissa): Likewise.
1438 (ldbl_canonicalize): Likewise.
1439 (ldbl_nearbyint): Likewise.
1440 (ldbl_pack): Rename to ldbl_pack_ppc.
1441 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1442 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1443 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1444
6d9145d8
SP
14452013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1446
1447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1448 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1449 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1450 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1452 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1453 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1454 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1455
4dd4e157
AJ
14562013-03-07 Andreas Jaeger <aj@suse.de>
1457
1458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1459 bits/mman-linux.h.
1460
adbb8027
SP
14612013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1462
ce544b5b
SP
1463 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1464 Include mpa.h and declare __MPEXP.
1465 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1466 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1467 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1468 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1469 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1470 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1471 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1472
4cc149fd
SP
1473 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1474 (__slowpow): Use long double EXPL and LOGL functions to
1475 compute POW.
1476 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1477 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1478 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1479 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1480 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1481 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1482
e6ebd4a7
SP
1483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1484 intermediate variable to calculate exponent.
1485 (__sqr): Likewise.
1486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1487 Likewise.
1488 (__sqr): Likewise.
1489
82a9811d
SP
1490 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1491 [!NO__SQR]: Define __sqr.
1492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1493 and NO__SQR. Remove all code except __mul and __sqr. Include
1494 sysdeps/ieee754/dbl-64/mpa.c.
1495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1496
adbb8027
SP
1497 [BZ #12723]
1498 * posix/Makefile (tests): Add tst-pathconf.
1499 * posix/tst-pathconf.c: New test case.
1500 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1501 _PC_PIPE_BUF.
1502 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1503
39120df9
PF
15042013-03-06 Patsy Franklin <pfrankli@redhat.com>
1505
1506 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1507
67525cb8
AJ
15082013-03-06 Andreas Jaeger <aj@suse.de>
1509
664a9ce4
AJ
1510 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1511 definition via __MAP_ANONYMOUS.
1512
8e39047d
AJ
1513 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1514 it's not part of Linux headers.
1515
67525cb8
AJ
1516 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1517 (MAP_HUGE_MASK): Define.
1518
1519 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1520 Define.
1521 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1522 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1523 Define.
1524 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1525 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1526 Define.
1527 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1529 Define.
1530 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1531
1532 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1533 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1534 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1535 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1536 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1537 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1538
1539 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1540 Handle f2fs.
1541
1542 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1543 Handle f2fs and efivarfs.
1544
1545 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1546 f2fs.
1547
1548 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1549 (EFIVARFS_MAGIC): Add.
1550 (F2FS_LINK_MAX): Add.
1551
e1b42695
PP
15522013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1553
1554 * stdio-common/vfprintf.c: Replace __builtin_expect with
1555 __glibc_unlikely.
1556
2d67d91a
JM
15572013-03-06 Joseph Myers <joseph@codesourcery.com>
1558
1559 [BZ #13550]
1560 * sysdeps/generic/bp-sym.h: Remove file.
1561 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1562 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1563 <bp-sym.h> and <bp-asm.h>.
1564 (__longjmp): Don't use BP_SYM.
1565 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1566 and <bp-asm.h>.
1567 (memcpy): Don't use BP_SYM.
1568 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1569 <bp-sym.h> and <bp-asm.h>.
1570 (memcpy): Don't use BP_SYM.
1571 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1572 <bp-asm.h>.
1573 (memcpy): Don't use BP_SYM.
1574 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1575 <bp-asm.h>.
1576 (memset): Don't use BP_SYM.
1577 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1578 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1579 (__bzero): Don't use BP_SYM.
1580 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1581 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1582 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1583 <bp-sym.h> and <bp-asm.h>.
1584 (memcmp): Don't use BP_SYM. Remove comment about bounded
1585 pointers.
1586 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1587 <bp-sym.h> and <bp-asm.h>.
1588 (memcpy): Don't use BP_SYM.
1589 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1590 <bp-sym.h> and <bp-asm.h>.
1591 (memset): Don't use BP_SYM.
1592 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1593 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1594 (__bzero): Don't use BP_SYM.
1595 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1596 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1597 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1598 <bp-sym.h> and <bp-asm.h>.
1599 (strncmp): Don't use BP_SYM. Remove comment about bounded
1600 pointers.
1601 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1602 <bp-sym.h> and <bp-asm.h>.
1603 (memcpy): Don't use BP_SYM.
1604 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1605 <bp-sym.h> and <bp-asm.h>.
1606 (memset): Don't use BP_SYM.
1607 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1608 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1609 (__bzero): Don't use BP_SYM.
1610 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1611 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1612 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1613 <bp-sym.h> and <bp-asm.h>.
1614 (__memchr): Don't use BP_SYM.
1615 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1616 <bp-sym.h> and <bp-asm.h>.
1617 (memcmp): Don't use BP_SYM. Remove comment about bounded
1618 pointers.
1619 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1620 <bp-sym.h> and <bp-asm.h>.
1621 (memcpy): Don't use BP_SYM.
1622 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1623 <bp-sym.h> and <bp-asm.h>.
1624 (__mempcpy): Don't use BP_SYM.
1625 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1626 <bp-sym.h> and <bp-asm.h>.
1627 (__memrchr): Don't use BP_SYM.
1628 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1629 <bp-sym.h> and <bp-asm.h>.
1630 (memset): Don't use BP_SYM.
1631 (__bzero): Likewise.
1632 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1633 <bp-sym.h> and <bp-asm.h>.
1634 (__rawmemchr): Don't use BP_SYM.
1635 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1636 <bp-sym.h> and <bp-asm.h>.
1637 (__STRCMP): Don't use BP_SYM.
1638 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1639 <bp-sym.h> and <bp-asm.h>.
1640 (strchr): Don't use BP_SYM.
1641 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1642 <bp-sym.h> and <bp-asm.h>.
1643 (__strchrnul): Don't use BP_SYM.
1644 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1645 <bp-sym.h> and <bp-asm.h>.
1646 (strlen): Don't use BP_SYM.
1647 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1648 <bp-sym.h> and <bp-asm.h>.
1649 (strncmp): Don't use BP_SYM. Remove comment about bounded
1650 pointers.
1651 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1652 <bp-sym.h> and <bp-asm.h>.
1653 (__strnlen): Don't use BP_SYM.
1654 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1655 <bp-sym.h> and <bp-asm.h>.
1656 (__GI__setjmp): Don't use BP_SYM.
1657 (_setjmp): Likewise.
1658 (__sigsetjmp): Likewise.
1659 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1660 (L(start_addresses)): Don't use BP_SYM.
1661 (_start): Likewise.
1662 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1663 <bp-asm.h>.
1664 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1665 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1666 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1667 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1668 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1669 <bp-asm.h>.
1670 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1671 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1672 about bounded pointers.
1673 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1674 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1675 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1676 <bp-asm.h>.
1677 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1678 about bounded pointers. Remove GKM FIXME comments.
1679 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1680 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1681 <bp-asm.h>.
1682 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1683 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1684 Remove GKM FIXME comments.
1685 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1686 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1687 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1688 <bp-asm.h>.
1689 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1690 about bounded pointers. Remove GKM FIXME comment.
1691 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1692 and <bp-asm.h>.
1693 (strncmp): Don't use BP_SYM. Remove comment about bounded
1694 pointers.
1695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1696 <bp-sym.h> and <bp-asm.h>.
1697 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1699 <bp-sym.h> and <bp-asm.h>.
1700 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1701 comment.
1702
cdcf361f
PP
17032013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1704
1705 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1706 call free(NULL).
1707
3c4a2b15
DM
17082013-03-05 David S. Miller <davem@davemloft.net>
1709
1710 * po/es.po: Update from translation team.
1711
cdcf361f 17122013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1713
1714 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1715 <bits/mman-linux.h>.
1716 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1717 is fine.
1718 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1719 <bits/mman-linux.h> to end of file.
1720 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1721 is fine.
1722 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1723 <bits/mman-linux.h> to end of file.
1724 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1725 is fine.
1726 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1727 <bits/mman-linux.h> to end of file.
1728
1729 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1730 (MCL_CURRENT, MCL_FUTURE): Define here.
1731
5f67c04f
AK
17322013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1733
8a4473cc 1734 [BZ #15232]
5f67c04f
AK
1735 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1736 attribute_hidden.
1737 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1738
c3e94a95
AK
17392013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1740
1741 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1742 fourth parameter needed for rt_sigprocmask syscall.
1743 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1744 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1745 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1746 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1747 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1748 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1749
cfb6382a
JM
17502013-03-04 Joseph Myers <joseph@codesourcery.com>
1751
1752 [BZ #13550]
1753 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1754 comment about bounded pointers.
1755 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1756 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1757
539d8e01
AJ
17582013-03-04 Andreas Jaeger <aj@suse.de>
1759
1760 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1761 common definitions.
1762
1763 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1764 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1765 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1766 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1767 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1768 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1769
2e167a70 17702013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1771
1772 [BZ #15055]
1773 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1774 __ieee754_sqrl instead of __sqrl.
1775
68508633
JM
17762013-03-01 Joseph Myers <joseph@codesourcery.com>
1777
1778 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1779 * sysdeps/powerpc/fpu_control.h: ... here.
1780 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1781 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1782 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1783 * sysdeps/powerpc/bits/mathinline.h: ... here.
1784
7775448e
RM
17852013-03-01 Roland McGrath <roland@hack.frob.com>
1786
1787 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1788 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1789 to just [NEED_DL_SYSINFO_DSO].
1790 * elf/dl-support.c: Likewise.
1791 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1792 * elf/rtld.c (dl_main): Likewise.
1793 * elf/setup-vdso.h (setup_vdso): Likewise.
1794 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1795 * sysdeps/unix/sysv/linux/dl-sysdep.c
1796 (_dl_discover_osversion): Likewise.
1797
4e9b5995
CD
17982013-03-01 Carlos O'Donell <carlos@redhat.com>
1799
1800 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1801 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1802
e23872c8
SP
18032013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1804
e5c74c63
SP
1805 * NEWS: Mention libm performance improvements and non-x86 PI
1806 futex support.
1807
e23872c8
SP
1808 * csu/libc-start.c (__pthread_initialize_minimal): Change
1809 function arguments.
1810 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1811
b5510883
JM
18122013-02-28 Joseph Myers <joseph@codesourcery.com>
1813
1814 [BZ #13550]
1815 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1816 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1817 <bp-sym.h> and <bp-asm.h>.
1818 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1819 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1820 and <bp-asm.h>.
1821 (memcpy): Don't use BP_SYM.
1822 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1823 <bp-asm.h>.
1824 (__mpn_add_n): Don't use BP_SYM.
1825 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1826 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1827 and <bp-asm.h>.
1828 (__mpn_addmul_1): Don't use BP_SYM.
1829 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1830 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1831 <bp-sym.h>.
1832 (_setjmp): Don't use BP_SYM.
1833 (__novmx_setjmp): Likewise.
1834 (__GI__setjmp): Likewise.
1835 (__vmx_setjmp): Likewise.
1836 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1837 <bp-sym.h>.
1838 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1839 (__bzero): Don't use BP_SYM.
1840 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1841 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1842 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1843 <bp-sym.h> and <bp-asm.h>.
1844 (memcpy): Don't use BP_SYM.
1845 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1846 <bp-sym.h> and <bp-asm.h>.
1847 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1848 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1849 <bp-sym.h> and <bp-asm.h>.
1850 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1851 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1852 <bp-asm.h>.
1853 (__mpn_lshift): Don't use BP_SYM.
1854 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1855 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1856 <bp-asm.h>.
1857 (memset): Don't use BP_SYM.
1858 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1859 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1860 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1861 <bp-asm.h>.
1862 (__mpn_mul_1): Don't use BP_SYM.
1863 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1864 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1865 <bp-sym.h> and <bp-asm.h>.
1866 (memcmp): Don't use BP_SYM.
1867 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1868 <bp-sym.h> and <bp-asm.h>.
1869 (memcpy): Don't use BP_SYM.
1870 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1871 <bp-sym.h> and <bp-asm.h>.
1872 (memset): Don't use BP_SYM.
1873 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1874 <bp-sym.h> and <bp-asm.h>.
1875 (strncmp): Don't use BP_SYM.
1876 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1877 <bp-sym.h> and <bp-asm.h>.
1878 (memcpy): Don't use BP_SYM.
1879 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1880 <bp-sym.h> and <bp-asm.h>.
1881 (memset): Don't use BP_SYM.
1882 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1883 <bp-sym.h> and <bp-asm.h>.
1884 (__memchr): Don't use BP_SYM.
1885 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1886 <bp-sym.h> and <bp-asm.h>.
1887 (memcmp): Don't use BP_SYM.
1888 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1889 <bp-sym.h> and <bp-asm.h>.
1890 (memcpy): Don't use BP_SYM.
1891 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1892 <bp-sym.h> and <bp-asm.h>.
1893 (__mempcpy): Don't use BP_SYM.
1894 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1895 <bp-sym.h> and <bp-asm.h>.
1896 (__memrchr): Don't use BP_SYM.
1897 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1898 <bp-sym.h> and <bp-asm.h>.
1899 (memset): Don't use BP_SYM.
1900 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1901 <bp-sym.h> and <bp-asm.h>.
1902 (__rawmemchr): Don't use BP_SYM.
1903 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1904 <bp-sym.h> and <bp-asm.h>.
1905 (__STRCMP): Don't use BP_SYM.
1906 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1907 <bp-sym.h> and <bp-asm.h>.
1908 (strchr): Don't use BP_SYM.
1909 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1910 <bp-sym.h> and <bp-asm.h>.
1911 (__strchrnul): Don't use BP_SYM.
1912 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1913 <bp-sym.h> and <bp-asm.h>.
1914 (strlen): Don't use BP_SYM.
1915 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1916 <bp-sym.h> and <bp-asm.h>.
1917 (strncmp): Don't use BP_SYM.
1918 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1919 <bp-sym.h> and <bp-asm.h>.
1920 (__strnlen): Don't use BP_SYM.
1921 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1922 <bp-asm.h>.
1923 (__mpn_rshift): Don't use BP_SYM.
1924 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1925 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1926 <bp-sym.h> and <bp-asm.h>.
1927 (__sigsetjmp): Don't use BP_SYM.
1928 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1929 (L(start_addresses)): Don't use BP_SYM.
1930 (_start): Likewise.
1931 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1932 <bp-asm.h>.
1933 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1934 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1935 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1936 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1937 <bp-asm.h>.
1938 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1939 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1940 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1941 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1942 <bp-asm.h>.
1943 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1944 comments.
1945 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1946 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1947 <bp-asm.h>.
1948 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1949 FIXME comments.
1950 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1951 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1952 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1953 <bp-asm.h>.
1954 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1955 comment.
1956 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1957 and <bp-asm.h>.
1958 (strncmp): Don't use BP_SYM,
1959 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1960 <bp-asm.h>.
1961 (__mpn_sub_n): Don't use BP_SYM.
1962 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1963 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1964 and <bp-asm.h>.
1965 (__mpn_submul_1): Don't use BP_SYM.
1966 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1968 <bp-sym.h> and <bp-asm.h>.
1969 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1971 <bp-sym.h> and <bp-asm.h>.
1972 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1973 comment.
1974
8d19fe64
SP
19752013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1976
1977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1978 Use ZK to minimize writes to Z.
1979 (sub_magnitudes): Simplify code a bit.
1980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1981 Use ZK to minimize writes to Z.
1982 (sub_magnitudes): Simplify code a bit.
1983
85bd816a
RM
19842013-02-27 Roland McGrath <roland@hack.frob.com>
1985
1986 * csu/gmon-start.c: Add special exception to license text.
1987
b5977bf2
RH
19882013-02-27 Richard Henderson <rth@redhat.com>
1989
1990 * scripts/config.guess: Update from config.git.
1991 * scripts/config.sub: Likewise.
1992
11d6e2f2
SP
19932013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1994
09c14ed2
SP
1995 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1996
a688864e
SP
1997 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1998
6295157a
SP
1999 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2000
b8de2202
SP
2001 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2002
11d6e2f2
SP
2003 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2004
7e80ddb8
RM
20052013-02-26 Roland McGrath <roland@hack.frob.com>
2006
2007 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2008 [$(build-shared = yes].
7e80ddb8 2009
7da6d9ed
SP
20102013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2011
45f05884
SP
2012 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2013 (__mul): Reduce iterations for calculating mantissa.
2014
2236d359
SP
2015 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2016 MPTWO.
2017 (__mpranred): Likewise.
2018
7da6d9ed
SP
2019 [BZ #15160]
2020 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2021 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2022
b7688c42
PE
20232013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2024
2025 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2026 Define __attribute__.
2027
53a5c423
SP
20282013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2029
2030 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2031 unused.
2032 * posix/regex_internal.h (__attribute): Remove.
2033 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2034 (re_string_context_at): Likewise.
2035 (bitset_not): Use __attribute__ and mark function as possibly
2036 unused.
2037 (bitset_merge): Likewise.
2038 (bitset_mask): Likewise.
2039 (re_string_char_size_at): Likewise.
2040 (re_string_wchar_at): Likewise.
2041 (re_string_elem_size_at): Likewise.
2042
60f5a8b5
SP
20432013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2044
2a983a2e
SP
2045 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2046 code.
2047 (cc32): Likewise.
2048
e69804d1
SP
2049 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2050 (__acr): Likewise.
2051 (__cpy): Likewise.
2052 (norm): Likewise.
2053 (denorm): Likewise.
2054 (__dbl_mp): Likewise.
2055 (add_magnitudes): Likewise.
2056 (sub_magnitudes): Likewise.
2057 (__mul): Likewise.
2058 (__inv): Likewise.
2059
2f22a1e8
SP
2060 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2061 style.
2062
8930ddc7
SP
2063 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2064 style.
2065
dc60cb11
SP
2066 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2067 code.
2068
60f5a8b5
SP
2069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2070 up changes with default code.
2071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2072 Likewise.
2073
b4d1fd33
AM
20742013-02-24 Allan McRae <allan@archlinux.org>
2075
faf6f8bc
AM
2076 * manual/socket.texi (The Internet Namespace): Order menu items
2077 to match that in the file.
2078
b4d1fd33
AM
2079 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2080 node listing of the info page menu.
2081
2366713d
JM
20822013-02-21 Joseph Myers <joseph@codesourcery.com>
2083
2084 [BZ #13550]
2085 * sysdeps/i386/bp-asm.h: Remove file.
2086 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2087 (PARMS): Do not use macros from bp-asm.h.
2088 (S1): Likewise.
2089 (S2): Likewise.
2090 (SIZE): Likewise.
2091 (__mpn_add_n): Do not use BP_SYM
2092 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2093 "bp-asm.h".
2094 (PARMS): Do not use macros from bp-asm.h.
2095 (S1): Likewise.
2096 (SIZE): Likewise.
2097 (__mpn_addmul_1): Do not use BP_SYM
2098 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2099 "bp-asm.h".
2100 (PARMS): Do not use macros from bp-asm.h.
2101 (SIGMSK): Likewise.
2102 (_setjmp): Likewise. Do not use BP_SYM.
2103 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2104 "bp-asm.h".
2105 (PARMS): Do not use macros from bp-asm.h.
2106 (SIGMSK): Likewise.
2107 (setjmp): Likewise. Do not use BP_SYM.
2108 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2109 "bp-asm.h".
2110 (PARMS): Do not use macros from bp-asm.h.
2111 (__frexp): Do not use BP_SYM.
2112 (frexp): Likewise.
2113 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2114 "bp-asm.h".
2115 (PARMS): Do not use macros from bp-asm.h.
2116 (__frexpf): Do not use BP_SYM.
2117 (frexpf): Likewise.
2118 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2119 "bp-asm.h".
2120 (PARMS): Do not use macros from bp-asm.h.
2121 (__frexpl): Do not use BP_SYM.
2122 (frexpl): Likewise.
2123 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2124 "bp-asm.h".
2125 (PARMS): Do not use macros from bp-asm.h.
2126 (__remquo): Do not use BP_SYM.
2127 (remquo): Likewise.
2128 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2129 "bp-asm.h".
2130 (PARMS): Do not use macros from bp-asm.h.
2131 (__remquof): Do not use BP_SYM.
2132 (remquof): Likewise.
2133 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2134 "bp-asm.h".
2135 (PARMS): Do not use macros from bp-asm.h.
2136 (__remquol): Do not use BP_SYM.
2137 (remquol): Likewise.
2138 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2139 "bp-asm.h".
2140 (PARMS): Do not use macros from bp-asm.h.
2141 (DEST): Likewise.
2142 (SRC): Likewise.
2143 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2144 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2145 "bp-asm.h".
2146 (PARMS): Do not use macros from bp-asm.h.
2147 (strlen): Do not use BP_SYM.
2148 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2149 "bp-asm.h".
2150 (PARMS): Do not use macros from bp-asm.h.
2151 (S1): Likewise.
2152 (S2): Likewise.
2153 (SIZE): Likewise.
2154 (__mpn_add_n): Do not use BP_SYM.
2155 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2156 "bp-asm.h".
2157 (PARMS): Do not use macros from bp-asm.h.
2158 (S1): Likewise.
2159 (SIZE): Likewise.
2160 (__mpn_addmul_1): Do not use BP_SYM.
2161 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2162 weak_alias.
2163 (bzero): Likewise.
2164 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2165 "bp-asm.h".
2166 (PARMS): Do not use macros from bp-asm.h.
2167 (S): Likewise.
2168 (SIZE): Likewise.
2169 (__mpn_lshift): Do not use BP_SYM.
2170 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2171 "bp-asm.h".
2172 (PARMS): Do not use macros from bp-asm.h.
2173 (DEST): Likewise.
2174 (SRC): Likewise.
2175 (LEN): Likewise.
2176 (memcpy): Likewise. Do not use BP_SYM.
2177 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2178 libc_hidden_def and weak_alias.
2179 (mempcpy): Do not use BP_SYM in weak_alias.
2180 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2181 "bp-asm.h".
2182 (PARMS): Do not use macros from bp-asm.h.
2183 (DEST): Likewise.
2184 (LEN): Likewise.
2185 [!BZERO_P] (CHR): Likewise.
2186 (memset): Likewise. Do not use BP_SYM.
2187 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2188 "bp-asm.h".
2189 (PARMS): Do not use macros from bp-asm.h.
2190 (S1): Likewise.
2191 (SIZE): Likewise.
2192 (__mpn_mul_1): Do not use BP_SYM.
2193 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2194 "bp-asm.h".
2195 (PARMS): Do not use macros from bp-asm.h.
2196 (S): Likewise.
2197 (SIZE): Likewise.
2198 (__mpn_rshift): Do not use BP_SYM.
2199 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2200 "bp-asm.h".
2201 (PARMS): Do not use macros from bp-asm.h.
2202 (STR): Likewise.
2203 (CHR): Likewise.
2204 (strchr): Likewise. Do not use BP_SYM.
2205 (index): Do not use BP_SYM in weak_alias.
2206 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2207 "bp-asm.h".
2208 (PARMS): Do not use macros from bp-asm.h.
2209 (DEST): Likewise.
2210 (SRC): Likewise.
2211 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2212 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2213 "bp-asm.h".
2214 (PARMS): Do not use macros from bp-asm.h.
2215 (strlen): Do not use BP_SYM.
2216 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2217 "bp-asm.h".
2218 (PARMS): Do not use macros from bp-asm.h.
2219 (S1): Likewise.
2220 (S2): Likewise.
2221 (SIZE): Likewise.
2222 (__mpn_sub_n): Do not use BP_SYM.
2223 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2224 "bp-asm.h".
2225 (PARMS): Do not use macros from bp-asm.h.
2226 (S1): Likewise.
2227 (SIZE): Likewise.
2228 (__mpn_submul_1): Do not use BP_SYM.
2229 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2230 "bp-asm.h".
2231 (PARMS): Do not use macros from bp-asm.h.
2232 (S1): Likewise.
2233 (S2): Likewise.
2234 (SIZE): Likewise.
2235 (__mpn_add_n): Do not use BP_SYM.
2236 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2237 weak_alias.
2238 (bzero): Likewise.
2239 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2240 "bp-asm.h".
2241 (PARMS): Do not use macros from bp-asm.h.
2242 (BLK2): Likewise.
2243 (LEN): Likewise.
2244 (memcmp): Do not use BP_SYM.
2245 (bcmp): Do not use BP_SYM in weak_alias.
2246 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2247 "bp-asm.h".
2248 (PARMS): Do not use macros from bp-asm.h.
2249 (DEST): Likewise.
2250 (SRC): Likewise.
2251 (LEN): Likewise.
2252 (memcpy): Likewise. Do not use BP_SYM.
2253 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2254 "bp-asm.h".
2255 (PARMS): Do not use macros from bp-asm.h.
2256 (DEST): Likewise.
2257 (SRC): Likewise.
2258 (LEN): Likewise.
2259 (memmove): Likewise. Do not use BP_SYM.
2260 * sysdeps/i386/i686/mempcpy.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 (LEN): Likewise.
2266 (__mempcpy): Likewise. Do not use BP_SYM.
2267 (mempcpy): Do not use BP_SYM in weak_alias.
2268 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2269 "bp-asm.h".
2270 (PARMS): Do not use macros from bp-asm.h.
2271 (DEST): Likewise.
2272 (LEN): Likewise.
2273 [!BZERO_P] (CHR): Likewise.
2274 (memset): Likewise. Do not use BP_SYM.
2275 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2276 "bp-asm.h".
2277 (PARMS): Do not use macros from bp-asm.h.
2278 (STR2): Likewise.
2279 (strcmp): Do not use BP_SYM.
2280 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2281 "bp-asm.h".
2282 (PARMS): Do not use macros from bp-asm.h.
2283 (STR): Likewise.
2284 (DELIM): Likewise.
2285 [USE_AS_STRTOK_R] (SAVE): Likewise.
2286 (FUNCTION): Likewise. Do not use BP_SYM.
2287 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2288 aliases.
2289 (strtok_r): Likewise.
2290 (__GI___strtok_r): Likewise.
2291 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2292 (PARMS): Do not use macros from bp-asm.h.
2293 (S): Likewise.
2294 (SIZE): Likewise.
2295 (__mpn_lshift): Do not use BP_SYM.
2296 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2297 (PARMS): Do not use macros from bp-asm.h.
2298 (STR): Likewise.
2299 (CHR): Likewise.
2300 (__memchr): Do not use BP_SYM.
2301 (memchr): Do not use BP_SYM in weak_alias.
2302 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2303 (PARMS): Do not use macros from bp-asm.h.
2304 (BLK2): Likewise.
2305 (LEN): Likewise.
2306 (memcmp): Do not use BP_SYM.
2307 (bcmp): Do not use BP_SYM in weak_alias.
2308 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2309 (PARMS): Do not use macros from bp-asm.h.
2310 (S1): Likewise.
2311 (SIZE): Likewise.
2312 (__mpn_mul_1): Do not use BP_SYM.
2313 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2314 "bp-asm.h".
2315 (PARMS): Do not use macros from bp-asm.h.
2316 (STR): Likewise.
2317 (CHR): Likewise.
2318 (__rawmemchr): Do not use BP_SYM.
2319 (rawmemchr): Do not use BP_SYM in weak_alias.
2320 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2321 (PARMS): Do not use macros from bp-asm.h.
2322 (S): Likewise.
2323 (SIZE): Likewise.
2324 (__mpn_rshift): Do not use BP_SYM.
2325 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2326 (PARMS): Do not use macros from bp-asm.h.
2327 (SIGMSK): Likewise.
2328 (__sigsetjmp): Likewise. Do not use BP_SYM.
2329 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2330 (_start): Do not use BP_SYM.
2331 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2332 (PARMS): Do not use macros from bp-asm.h.
2333 (DEST): Likewise.
2334 (SRC): Likewise.
2335 (__stpcpy): Likewise. Do not use BP_SYM.
2336 (stpcpy): Do not use BP_SYM in weak_alias.
2337 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2338 "bp-asm.h".
2339 (PARMS): Do not use macros from bp-asm.h.
2340 (DEST): Likewise.
2341 (SRC): Likewise.
2342 (LEN): Likewise.
2343 (__stpncpy): Likewise. Do not use BP_SYM.
2344 (stpncpy): Do not use BP_SYM in weak_alias.
2345 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2346 (PARMS): Do not use macros from bp-asm.h.
2347 (STR): Likewise.
2348 (CHR): Likewise.
2349 (strchr): Likewise. Do not use BP_SYM.
2350 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2351 "bp-asm.h".
2352 (PARMS): Do not use macros from bp-asm.h.
2353 (STR): Likewise.
2354 (CHR): Likewise.
2355 (__strchrnul): Likewise. Do not use BP_SYM.
2356 (strchrnul): Do not use BP_SYM in weak_alias.
2357 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2358 "bp-asm.h".
2359 (PARMS): Do not use macros from bp-asm.h.
2360 (STOP): Likewise.
2361 (strcspn): Do not use BP_SYM.
2362 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2363 "bp-asm.h".
2364 (PARMS): Do not use macros from bp-asm.h.
2365 (STR): Likewise.
2366 (STOP): Likewise.
2367 (strpbrk): Likewise. Do not use BP_SYM.
2368 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2369 "bp-asm.h".
2370 (PARMS): Do not use macros from bp-asm.h.
2371 (STR): Likewise.
2372 (CHR): Likewise.
2373 (strrchr): Likewise. Do not use BP_SYM.
2374 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2375 (PARMS): Do not use macros from bp-asm.h.
2376 (SKIP): Likewise.
2377 (strspn): Do not use BP_SYM.
2378 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2379 (PARMS): Do not use macros from bp-asm.h.
2380 (STR): Likewise.
2381 (DELIM): Likewise.
2382 (SAVE): Likewise.
2383 (FUNCTION): Likewise. Do not use BP_SYM.
2384 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2385 aliases.
2386 (strtok_r): Likewise.
2387 (__GI___strtok_r): Likewise.
2388 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2389 (PARMS): Do not use macros from bp-asm.h.
2390 (S1): Likewise.
2391 (S2): Likewise.
2392 (SIZE): Likewise.
2393 (__mpn_sub_n): Do not use BP_SYM.
2394 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2395 "bp-asm.h".
2396 (PARMS): Do not use macros from bp-asm.h.
2397 (S1): Likewise.
2398 (SIZE): Likewise.
2399 (__mpn_submul_1): Do not use BP_SYM.
2400 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2401 <bp-sym.h>.
2402 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2403 and <bp-asm.h>.
2404 (PARMS): Do not use macros from bp-asm.h.
2405 (FLAGS): Likewise.
2406 (PTID): Likewise.
2407 (TLS): Likewise.
2408 (CTID): Likewise.
2409 (__clone): Do not use BP_SYM.
2410 (clone): Do not use BP_SYM in weak_alias.
2411 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2412 and <bp-asm.h>.
2413 (PARMS): Do not use macros from bp-asm.h.
2414 (LEN): Likewise.
2415 (__mmap64): Do not use BP_SYM.
2416 (mmap64): Do not use BP_SYM in weak_alias.
2417 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2418 <bp-sym.h> and <bp-asm.h>.
2419 (PARMS): Do not use macros from bp-asm.h.
2420 (__posix_fadvise64_l64): Do not use BP_SYM.
2421 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2422 (PARMS): Do not use macros from bp-asm.h.
2423 (NSOPS): Likewise.
2424 (semtimedop): Do not use BP_SYM.
2425 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2426 and <bp-asm.h>.
2427
582a3cff
AM
24282013-02-21 Allan McRae <allan@archlinux.org>
2429
2430 * manual/message.texi (Charset conversion in gettext):
2431 Move @end statement to beginning of line.
2432
bab8a695
SP
24332013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2434
80945231
SP
2435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2436 static.
2437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2438 Likewise.
2439
bab8a695
SP
2440 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2441 (denorm): Likewise.
2442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2444
e21d7aa7
AK
24452013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2446
2447 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2448 tail-call to the resolved function if pltexit isn't needed.
2449
4c7a4263
SP
24502013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2451
2452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2453 or Y being zero as being unlikely.
2454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2455 Likewise.
2456
41f49342
CD
24572013-02-20 Carlos O'Donell <carlos@redhat.com>
2458
2459 * manual/nss.texi (System Databases and Name Service Switch):
2460 Remove frobnicate @pxref.
2461
50022a93
TS
24622013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2463
2464 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2465 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2466
08cbd996
PM
24672013-02-20 Petr Machata <pmachata@redhat.com>
2468
2469 * elf/elf.h (R_ARM_TARGET1): New macro.
2470 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2471 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2472 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2473 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2474 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2475 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2476 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2477 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2478 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2479 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2480 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2481 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2482 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2483 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2484 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2485 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2486 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2487 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2488 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2489 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2490 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2491 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2492 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2493 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2494 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2495 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2496 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2497 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2498 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2499 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2500 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2501 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2502 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2503 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2504 (R_ARM_THM_GOT_BREL12): Likewise.
2505 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2506 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2507 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2508 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2509 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2510 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2511 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2512 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2513 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2514
c7b275d6
TS
25152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2516
2517 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2518 __attribute_used__ to __attribute__ ((unused)).
2519
20cd7fb3
SP
25202013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2521
2522 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2523 powerpc mpa.c.
2524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2525 comment formatting.
2526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2527
92945b52
JM
25282013-02-19 Joseph Myers <joseph@codesourcery.com>
2529
2530 [BZ #13550]
2531 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2532 Remove macro.
2533 (ENTER): Remove both macro definitions.
2534 (LEAVE): Likewise.
2535 (CHECK_BOUNDS_LOW): Likewise.
2536 (CHECK_BOUNDS_HIGH): Likewise.
2537 (CHECK_BOUNDS_BOTH): Likewise.
2538 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2539 (RETURN_BOUNDED_POINTER): Likewise.
2540 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2541 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2542 (POP_ERRNO_LOCATION_RETURN): Likewise.
2543 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2544 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2545 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2546 macros.
2547 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2548 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2549 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2550 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2551 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2552 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2553 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2554 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2555 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2556 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2557 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2558 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2559 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2560 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2561 removed macros.
2562 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2563 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2564 macros.
2565 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2566 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2567 * sysdeps/i386/i586/memset.S (memset): Likewise.
2568 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2569 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2570 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2571 macros.
2572 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2573 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2574 Change uses of L(2) to L(out).
2575 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2576 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2577 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2578 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2579 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2580 removed macros.
2581 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2582 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2583 macros.
2584 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2585 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2586 (RETURN): Do not use macro LEAVE.
2587 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2588 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2589 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2590 * sysdeps/i386/i686/memset.S (memset): Likewise.
2591 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2592 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2593 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2594 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2595 Likewise.
2596 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2597 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2598 L(1_2) and L(1_3) into L(1).
2599 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2600 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2601 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2602 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2603 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2604 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2605 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2606 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2607 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2608 macros.
2609 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2610 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2611 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2612 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2613 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2614 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2615 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2616 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2617 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2618 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2619 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2620 * sysdeps/i386/strspn.S (strspn): Likewise.
2621 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2622 conditional code.
2623 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2624 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2625 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2626 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2627 L(1_3) into L(1_1).
2628 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2629 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2630 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2631 macros.
2632 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2633
2389741a
JJ
26342013-02-19 Jakub Jelinek <jakub@redhat.com>
2635
2636 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2637 macro.
2638
2016b3cd
SP
26392013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2640
e4f22324
SP
2641 * math/atest-exp.c (exp_mpn): Remove ROUND.
2642 * math/atest-exp2.c (exp_mpn): Likewise.
2643 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2644
2016b3cd
SP
2645 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2646 * stdlib/tst-tls-atexit-lib.c: Likewise.
2647 * stdlib/tst-tls-atexit.c: Likewise.
2648
4be9b544
MF
26492013-02-18 Mike Frysinger <vapier@gentoo.org>
2650
2651 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2652 and __attribute_alloc_size__.
2653
2f62b9ee
MF
26542013-02-18 Mike Frysinger <vapier@gentoo.org>
2655
2656 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2657 __attribute_alloc_size__.
2658 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2659 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2660
6ff444c4
MF
26612013-02-18 Mike Frysinger <vapier@gentoo.org>
2662
2663 * include/programs/xmalloc.h: New file.
2664 * catgets/gencat.c: Include it.
2665 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2666 * elf/pldd.c: Likewise.
2667 * iconv/iconv_charmap.c: Likewise.
2668 * iconv/iconvconfig.c: Likewise.
2669 * iconv/strtab.c: Likewise.
2670 * locale/programs/locale.c: Likewise.
2671 * locale/programs/localedef.h: Likewise.
2672 * locale/programs/simple-hash.c: Likewise.
2673 * nscd/nscd.h: Likewise.
2674 * nss/makedb.c: Likewise.
2675 * sysdeps/generic/ldconfig.h: Likewise.
2676
be179c8a
SP
26772013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2678
ba384f6e
SP
2679 * Versions.def: Add GLIBC_2.18.
2680 * include/link.h (struct link_map): New member l_tls_dtor_count.
2681 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2682 (__call_tls_dtors): Likewise.
2683 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2684 __cxa_thread_atexit_impl.
2685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2686 Likewise.
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2688 Likewise.
2689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2690 Likewise.
2691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2692 Likewise.
2693 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2695 Likewise.
2696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2697 Likewise.
2698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2700 Likewise.
2701 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2702 (tests): Add test case tst-tls-atexit.
2703 (modules-names): Add shared library for tst-tls-atexit.
2704 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2705 (GLIBC_PRIVATE): Add __call_tls_dtors.
2706 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2707 for libstdc++.
2708 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2709 * stdlib/tst-tls-atexit.c: New test case.
2710 * stdlib/tst-tls-atexit-lib.c: New test case.
2711
ffaa74cf 2712 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2713
be179c8a
SP
2714 * elf/Versions (ld): Add _dl_find_dso_for_object.
2715 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2716 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2717 (dl_open_worker): Use _dl_find_dso_for_object.
2718 * elf/dl-sym.c (do_sym): Likewise.
2719 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2720
f78b5caa
AK
27212013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2722
2723 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2724 Syntactic changes only.
2725 (_dl_runtime_profile): Do a tail-call to the resolved function.
2726
29691210
JM
27272013-02-17 Joseph Myers <joseph@codesourcery.com>
2728
2729 [BZ #13550]
2730 * sysdeps/x86_64/bp-asm.h: Remove file.
2731 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2732 <bp-sym.h> and <bp-asm.h>.
2733 (__clone): Do not use BP_SYM.
2734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2735 <bp-sym.h> and <bp-asm.h>.
2736 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2737 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2738 "bp-asm.h".
2739 (_setjmp): Do not use BP_SYM.
2740 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2741 "bp-asm.h".
2742 (setjmp): Do not use BP_SYM.
2743 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2744 libc_hidden_def.
2745 (mempcpy): Do not use BP_SYM in weak_alias.
2746 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2747 "bp-asm.h".
2748 (strchr): Do not use BP_SYM.
2749 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2750 "bp-asm.h".
2751 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2752 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2753 (_start): Do not use BP_SYM.
2754 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2755 "bp-asm.h".
2756 (strcat): Do not use BP_SYM.
2757 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2758 "bp-asm.h".
2759 (STRCMP): Do not use BP_SYM.
2760 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2761 "bp-asm.h".
2762 (STRCPY): Do not use BP_SYM.
2763 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2764 "bp-asm.h".
2765 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2766 "bp-asm.h".
2767 (FUNCTION): Do not use BP_SYM.
2768 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2769 weak_alias.
2770 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2771
f238fd19
AJ
27722013-02-17 Andreas Jaeger <aj@suse.de>
2773
2774 * time/Versions: Sort entries.
2775 * string/Versions: Likewise.
2776 * resolv/Versions: Likewise.
2777 * posix/Versions: Likewise.
2778 * iconv/Versions: Likewise.
2779 * elf/Versions: Likewise.
2780 * wcsmbs/Versions: Likewise.
2781
bd07f23c 27822013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2783
22af19f9
SP
2784 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2785 loop termination condition.
2786
4709fe76
SP
2787 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2788 variable to calculate EZ.
2789 (__sqr): Likewise.
2d0e0f29
SP
2790
2791 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2792 the lower precision input.
2793
daaa7713
JM
27942013-02-15 Joseph Myers <joseph@codesourcery.com>
2795
2796 [BZ #13550]
2797 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2798 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2799 (run-via-rtld-prefix): Do not handle %-bp tests.
2800 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2801 (all-object-suffixes): Remove .ob.
2802 (bppfx): Remove variable.
2803 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2804 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2805 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2806 [$(build-bounded) = yes] (libtype.ob): Likewise.
2807 * Makerules (elide-routines.ob): Remove variable.
2808 (do-tests-clean): Do not handle *-bp.out.
2809 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2810 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2811 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2812 (tests): Do not include $(tests-bp.out).
2813 (xtests): Do not include $(xtests-bp.out).
2814 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2815 [$(build-bounded) = yes] ($(addprefix
2816 $(objpfx),$(binaries-bounded))): Remove rule.
2817 ($(objpfx)%-bp.out): Remove rule.
2818 * config.make.in (build-bounded): Remove variable.
2819 * crypt/Makefile [$(build-bounded) = yes]
2820 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2821 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2822 append to variable.
2823 [$(build-bounded) = yes] (install-lib): Likewise.
2824 [$(build-bounded) = yes] (generated): Likewise.
2825 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2826 Remove rule.
2827 * intl/Makefile [$(build-bounded) = yes]
2828 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2829 * math/Makefile [$(build-bounded) = yes]
2830 ($(tests:%=$(objpfx)%-bp): Likewise.
2831 * misc/Makefile [$(build-bounded) = yes]
2832 ($(objpfx)tst-tsearch-bp): Likewise.
2833 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2834 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2835 Remove dependency.
2836 * string/Makefile (o-objects.ob): Remove variable.
2837 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2838 (CFLAGS-.ob): Remove variable.
2839 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2840 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2841 both definitions of variable.
2842 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2843 (ASFLAGS-.ob): Remove variable.
2844
e97ed6dd
JM
28452013-02-14 Joseph Myers <joseph@codesourcery.com>
2846
2bdd4ca6
JM
2847 [BZ #13550]
2848 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2849 Remove __BOUNDED_POINTERS__ from condition.
2850 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2851 * string/bits/string2.h [!__NO_STRING_INLINES &&
2852 !__BOUNDED_POINTERS__]: Likewise.
2853 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2854 Likewise.
2855 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2856 Remove conditional code.
2857 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2858 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2859 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2860 condition.
2861
e97ed6dd
JM
2862 [BZ #13550]
2863 * csu/libc-start.c: Do not include <bp-sym.h>.
2864 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2865 * elf/dl-open.c: Do not include <bp-sym.h>.
2866 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2867 * math/fegetenv.c: Do not include <bp-sym.h>.
2868 (fegetenv): Do not use BP_SYM in versioned symbols.
2869 * nptl/sysdeps/pthread/bits/libc-lockP.h
2870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2871 <bp-sym.h>.
2872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2873 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2875 (__pthread_mutex_destroy): Likewise.
2876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2877 (__pthread_mutex_lock): Likewise.
2878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2879 (__pthread_mutex_trylock): Likewise.
2880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2881 (__pthread_mutex_unlock): Likewise.
2882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2883 (__pthread_mutexattr_init): Likewise.
2884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2885 (__pthread_mutexattr_destroy): Likewise.
2886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2887 (__pthread_mutexattr_settype): Likewise.
2888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2889 (__pthread_rwlock_init): Likewise.
2890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2891 (__pthread_rwlock_destroy): Likewise.
2892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2893 (__pthread_rwlock_rdlock): Likewise.
2894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2895 (__pthread_rwlock_tryrdlock): Likewise.
2896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2897 (__pthread_rwlock_wrlock): Likewise.
2898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2899 (__pthread_rwlock_trywrlock): Likewise.
2900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2901 (__pthread_rwlock_unlock): Likewise.
2902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2903 (__pthread_key_create): Likewise.
2904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2905 (__pthread_setspecific): Likewise.
2906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2907 (__pthread_getspecific): Likewise.
2908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2909 Likewise.
2910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2911 (_pthread_cleanup_push_defer): Likewise.
2912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2913 (_pthread_cleanup_pop_restore): Likewise.
2914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2915 (pthread_setcancelstate): Likewise.
2916 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2917 <bp-sym.h>.
2918 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2919 (memchr): Do not use BP_SYM in weak_alias.
2920 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2921 (fegetenv): Do not use BP_SYM in versioned symbols.
2922 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2923 (fesetenv): Do not use BP_SYM in versioned symbols.
2924 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2925 (feupdateenv): Do not use BP_SYM in versioned symbols.
2926 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2927 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2928 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2929 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2930 (open64): Do not use BP_SYM in weak_alias.
2931 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2932 (fegetenv): Do not use BP_SYM in versioned symbols.
2933 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2934 (fesetenv): Do not use BP_SYM in versioned symbols.
2935 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2936 (feupdateenv): Do not use BP_SYM in versioned symbols.
2937 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2938 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2939 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2940 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2941 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2942 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2943 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2944 <bp-sym.h>.
2945 (__libc_start_main): Do not use BP_SYM.
2946
d6752ccd
SP
29472013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2948
cb57ce60
SP
2949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2950 redundant return line.
2951 (norm): Likewise.
2952 (denorm): Likewise.
2953 (dbl_mp): Likewise.
2954 (sub_magnitudes): Likewise.
2955 (__add): Likewise.
2956 (__sub): Likewise.
2957 (__mul): Likewise.
2958 (__inv): Likewise.
2959 (__dvd): Likewise.
2960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2961 (norm): Likewise.
2962 (denorm): Likewise.
2963 (dbl_mp): Likewise.
2964 (sub_magnitudes): Likewise.
2965 (__add): Likewise.
2966 (__sub): Likewise.
2967 (__mul): Likewise.
2968 (__inv): Likewise.
2969 (__dvd): Likewise.
2970
f414520d
SP
2971 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2972 instead of __mul.
2973 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2974 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2975 (cc32): Likewise.
2976
d6752ccd
SP
2977 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2978 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2980 of __mul for squares.
2981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2982 function
2983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2984 Likewise.
2985 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2986 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2987
70d9946a
JM
29882013-02-13 Joseph Myers <joseph@codesourcery.com>
2989
2990 [BZ #13550]
2991 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2992 code.
2993 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2994 prototype or function definition. Rename ubp_* variables and
2995 parameters. Remove argv definitions conditional on
2996 [__BOUNDED_POINTERS__].
2997 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2998 * elf/dl-runtime.c (_dl_fixup): Likewise.
2999 * include/set-hooks.h (RUN_HOOK): Likewise.
3000 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3001 definition.
3002 * string/strcpy.c (strcpy): Do not use __unbounded.
3003 * sysdeps/generic/frame.h (struct layout): Likewise.
3004 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3005 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3006 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3007 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3008 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3009 (__backtrace): Likewise.
3010 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3011 use __ptrvalue.
3012 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3013 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3014 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3015 Likewise.
3016 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3017 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3018 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3019 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3020 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3021 Do not use __unbounded.
3022 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3023 Rename __unboundedrlimits parameter to rlimits in prototype.
3024 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3025 Do not use __unbounded.
3026 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3027 not use __ptrvalue.
3028 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3029 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3030 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3031 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3032 __ptrvalue or __unbounded.
3033 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3034 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3035 use __unbounded.
3036 (__new_msgctl): Do not use __ptrvalue.
3037 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3038 __unbounded.
3039 (__libc_msgrcv): Do not use __ptrvalue.
3040 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3041 startup_info): Do not use __unbounded.
3042 (__libc_start_main): Likewise. Rename ubp_* variables and
3043 parameters. Remove argv definitions conditional on
3044 [__BOUNDED_POINTERS__].
3045 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3046 __ptrvalue.
3047 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3048 use __unbounded.
3049 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3050 or __ptrvalue.
3051 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3052 use __unbounded.
3053 (__new_shmctl): Do not use __ptrvalue.
3054 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3055 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3056 Likewise.
3057 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3058 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3059 (__libc_sigaction): Likewise.
3060 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3061 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3062 Likewise.
3063 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3064
cc7834d6
OB
30652013-02-13 Ondřej Bílka <neleai@seznam.cz>
3066
ffb1ec7b 3067 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3068
3069 * string/mempcpy.c: Implement by calling memcpy.
3070
bdf02814
SP
30712013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3072
c2af38aa
SP
3073 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3074
4e92d59e
SP
3075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3076 evaluation.
3077
909279a5
SP
3078 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3079 values in the mantissa.
3080
bdf02814
SP
3081 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3082 minimize writes to Z.
3083 (sub_magnitudes): Simplify code a bit.
3084
cd525923
RM
30852013-02-12 Roland McGrath <roland@hack.frob.com>
3086
3087 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3088 from the message. The linker prefixes all warnings with that already.
3089
7e2f0d2d
AS
30902013-02-12 Andreas Schwab <schwab@suse.de>
3091
a445af0b
AS
3092 [BZ #15078]
3093 * posix/regexec.c (extend_buffers): Add parameter min_len.
3094 (check_matching): Pass minimum needed length.
3095 (clean_state_log_if_needed): Likewise.
3096 (get_subexp): Likewise.
3097 * posix/Makefile (tests): Add bug-regex34.
3098 (bug-regex34-ENV): Define.
3099 * posix/bug-regex34.c: New file.
3100
7e2f0d2d
AS
3101 [BZ #11561]
3102 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3103 elements compare against the byte sequence of it, not its name.
3104 * posix/Makefile (tests): Add bug-regex35.
3105 (bug-regex35-ENV): Define.
3106 * posix/bug-regex35.c: New file.
3107
a175b684
TV
31082013-02-11 Tom de Vries <tom@codesourcery.com>
3109
3110 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3111 comment.
3112 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3113 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3114 (CHECK_EOL): Add undef.
3115
310998fe 31162013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3117
3118 * bits/stdlib-bsearch.h: New file.
3119 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3120 * stdlib/stdlib.h: Likewise.
41eda41d 3121
8ded91fb
RM
31222013-02-11 Roland McGrath <roland@hack.frob.com>
3123
3124 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3125 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3126 declaration.
3127 * manual/search.texi (Array Search Function): Add missing const in
3128 lfind prototype.
3129 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3130 declaration to use rlim_t.
3131 (Basic Scheduling Functions): Remove erroneous const from
3132 sched_getparam prototype. Remove erroneous * from
3133 sched_get_priority_max and sched_get_priority_min prototypes.
3134 (Resource Usage): Fix summary @comment on vtimes to refer to
3135 sys/vtimes.h rather than vtimes.h.
3136 Add missing *s in vtimes prototype.
3137 (Limits on Resources): Fix ulimit prototype to return long int.
3138 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3139 prototypes to use long int rather than double.
3140 (BSD Random): Fix initstate and setstate to use char *, not void *.
3141 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3142 prototype to make second argument 'struct aiocb64 *const[]'.
3143 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3144 (Status of AIO Operations): Remove erroneous const in aio_return and
3145 aio_return64 prototypes.
3146 (Synchronizing I/O): Fix sync prototype to return void.
3147 * manual/startup.texi (Suboptions): Remove an erroneous const in
3148 getsubopt prototype.
3149 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3150 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3151 use size_t rather than int.
3152 (Scanning All Users): Likewise for getpwent_r.
3153 (Setting Groups): Add missing const to setgroups prototype.
3154 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3155 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3156 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3157 'const void *' rather than 'const char *'.
3158 (Host Address Functions): Likewise for inet_ntop.
3159 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3160 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3161 ssize_t for return value.
3162 (Sending Data): Likewise for send, sendto, sendmsg.
3163 (Socket Option Functions): Add a missing const in setsockopt prototype.
3164 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3165 use wchar_t for the argument.
3166 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3167 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3168 take no arguments.
3169 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3170 double/float/long double for second argument.
3171 Fix return types of significand, significandf, significandl.
3172 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3173 argument in fchmod prototype.
3174 (File Owner): Use uid_t and gid_t in fchown prototype.
3175 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3176 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3177 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3178 use 'const struct dirent **' as argument types to CMP function pointer
3179 argument.
3180 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3181 (File Times): Fix summary magic @comment for struct utimbuf and utime
3182 to refer to utime.h, not time.h.
3183 * manual/string.texi (Argz Functions): Add missing const in
3184 argz_extract and argz_next prototypes.
3185 (Finding Tokens in a String): Likewise for basename.
3186 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3187 (Copying and Concatenation): Fix typo in wmemmove prototype.
3188 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3189 (Signal Stack): Remove erroneous const in sigstack prototype.
3190 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3191 prototype.
3192 (Simple Calendar Time): Likewise for stime.
3193 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3194 prototype.
3195 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3196 say sys/sysctl.h instead.
3197 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3198 and vsyslog prototypes.
3199
fe77fe6d
TV
32002013-02-11 Tom de Vries <tom@codesourcery.com>
3201
3202 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3203 Remove.
3204
3a09b620
RM
32052013-02-11 Roland McGrath <roland@hack.frob.com>
3206
3207 * misc/sys/mman.h: Fix typo in mremap comment.
3208
550a0b89
RM
32092013-02-08 Roland McGrath <roland@hack.frob.com>
3210
3211 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3212 the '\0' terminator.
3213
a2da1673
JM
32142013-02-08 Joseph Myers <joseph@codesourcery.com>
3215
3216 [BZ #13550]
3217 * debug/segfault.c: Don't include <bp-checks.h>.
3218 * sysdeps/generic/bp-checks.h: Remove file.
3219 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3220 (__GETDENTS): Don't use CHECK_N.
3221 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3222 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3223 (__getgroups): Don't use CHECK_N.
3224 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3225 (setgroups): Don't use CHECK_N.
3226 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3227 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3228 (__libc_msgrcv): Don't use CHECK_N.
3229 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3230 (__libc_msgsnd): Don't use CHECK_N.
3231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3232 <bp-checks.h>.
3233 (__libc_pread): Don't use CHECK_N.
3234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3235 include <bp-checks.h>.
3236 (__libc_pread64): Don't use CHECK_N.
3237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3238 include <bp-checks.h>.
3239 (__libc_pwrite): Don't use CHECK_N.
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3241 include <bp-checks.h>.
3242 (__libc_pwrite64): Don't use CHECK_N.
3243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3244 <bp-checks.h>.
3245 (__libc_pread): Don't use CHECK_N.
3246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3247 include <bp-checks.h>.
3248 (__libc_pread64): Don't use CHECK_N.
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3250 include <bp-checks.h>.
3251 (__libc_pwrite): Don't use CHECK_N.
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3253 include <bp-checks.h>.
3254 (__libc_pwrite64): Don't use CHECK_N.
3255 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3256 (do_pread): Don't use CHECK_N.
3257 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3258 (do_pread64): Don't use CHECK_N.
3259 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3260 (do_pwrite): Don't use CHECK_N.
3261 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3262 (do_pwrite64): Don't use CHECK_N.
3263 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3264 (__libc_readv): Don't use CHECK_N.
3265 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3266 (semop): Don't use CHECK_N.
3267 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3268 <bp-checks.h>.
3269 (semtimedop): Don't use CHECK_N.
3270 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3271 (__libc_pread): Don't use CHECK_N.
3272 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3273 <bp-checks.h>.
3274 (__libc_pread64): Don't use CHECK_N.
3275 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3276 <bp-checks.h>.
3277 (__libc_pwrite): Don't use CHECK_N.
3278 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3279 <bp-checks.h>.
3280 (__libc_pwrite64): Don't use CHECK_N.
3281 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3282 <bp-checks.h>.
3283 (__libc_msgrcv): Don't use CHECK_N.
3284 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3285 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3286 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3287 (__libc_writev): Don't use CHECK_N.
3288
b84660a8
RM
32892013-02-08 Roland McGrath <roland@hack.frob.com>
3290
7f3e75f8
RM
3291 * string/strcpy.c: Removed unused variable.
3292
b84660a8
RM
3293 * Makeconfig (+sysdep-includes): Define with := rather than =.
3294 Use an existing include/ subdir of each sysdeps dir before it.
3295
471514d3
CD
32962013-02-08 Carlos O'Donell <carlos@redhat.com>
3297
3298 * nscd/connection.c (register_traced_file): Comment function.
3299 [HAVE_INOTIFY] (union __inev): Define.
3300 [HAVE_INOTIFY] (inotify_check_files): New function.
3301 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3302 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3303 clear_db_cache.
3304 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3305
b2d3c3be
CD
33062013-02-08 Carlos O'Donell <carlos@redhat.com>
3307
3308 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3309 loaded if not already and that a failure is permanent.
3310
b39949d2
CD
33112013-02-08 Carlos O'Donell <carlos@redhat.com>
3312
ddacd1db 3313 [BZ #15006]
b39949d2
CD
3314 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3315 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3316
b2c9eff4
JM
33172013-02-08 Joseph Myers <joseph@codesourcery.com>
3318
f3aae3f3
JM
3319 [BZ #13550]
3320 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3321 (CHECK_1_NULL_OK): Likewise.
3322 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3323 (__fxstat): Do not use CHECK_1.
3324 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3325 <bp-checks.h>.
3326 (___fxstat64): Do not use CHECK_1.
3327 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3328 <bp-checks.h>.
3329 (__fxstatat): Do not use CHECK_1.
3330 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3331 <bp-checks.h>.
3332 (__fxstatat64): Do not use CHECK_1.
3333 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3334 <bp-checks.h>.
3335 (__fxstat): Do not use CHECK_1.
3336 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3337 <bp-checks.h>.
3338 (__fxstatat): Do not use CHECK_1.
3339 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3340 <bp-checks.h>.
3341 (__getresgid): Do not use CHECK_1.
3342 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3343 <bp-checks.h>.
3344 (__getresuid): Do not use CHECK_1.
3345 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3346 <bp-checks.h>.
3347 (__lxstat): Do not use CHECK_1.
3348 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3349 <bp-checks.h>.
3350 (__old_msgctl): Do not use CHECK_1.
3351 (__new_msgctl): Likewise.
3352 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3353 <bp-checks.h>.
3354 (__new_setrlimit): Do not use CHECK_1.
3355 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3356 <bp-checks.h>.
3357 (__old_shmctl): Do not use CHECK_1.
3358 (__new_shmctl): Likewise.
3359 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3360 <bp-checks.h>.
3361 (__xstat): Do not use CHECK_1.
3362 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3363 (__lxstat): Do not use CHECK_1.
3364 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3365 <bp-checks.h>.
3366 (___lxstat64): Do not use CHECK_1.
3367 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3368 (__old_msgctl): Do not use CHECK_1.
3369 (__new_msgctl): Likewise.
3370 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3371 <bp-checks.h>.
3372 (__gettimeofday): Do not use CHECK_1.
3373 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3374 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3375 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3376 <bp-checks.h>.
3377 (__gettimeofday): Do not use CHECK_1.
3378 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3379 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3380 (__new_shmctl): Do not use CHECK_1.
3381 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3382 <bp-checks.h>.
3383 (do_sigtimedwait): Do not use CHECK_1.
3384 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3385 <bp-checks.h>.
3386 (do_sigwaitinfo): Do not use CHECK_1.
3387 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3388 <bp-checks.h>.
3389 (msgctl): Do not use CHECK_1.
3390 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3391 <bp-checks.h>.
3392 (shmctl): Do not use CHECK_1.
3393 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3394 (ustat): Do not use CHECK_1.
3395 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3396 <bp-checks.h>.
3397 (__fxstat): Do not use CHECK_1.
3398 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3399 <bp-checks.h>.
3400 (__fxstatat): Do not use CHECK_1.
3401 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3402 <bp-checks.h>.
3403 (__lxstat): Do not use CHECK_1.
3404 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3405 <bp-checks.h>.
3406 (__xstat): Do not use CHECK_1.
3407 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3408 (__xstat): Do not use CHECK_1.
3409 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3410 (___xstat64): Do not use CHECK_1.
3411
b2c9eff4
JM
3412 [BZ #13550]
3413 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3414 definitions.
3415 (CHECK_BOUNDS_HIGH): Likewise.
3416 * string/strcpy.c: Do not include <bp-checks.h>.
3417 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3418
f1d70dad
RM
34192013-02-07 Roland McGrath <roland@hack.frob.com>
3420
3421 * nscd/nscd-client.h (__nscd_drop_map_ref):
3422 Add __attribute__ ((unused)).
3423 * nis/nss-nisplus.h (niserr2nss): Likewise.
3424
3425 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3426 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3427
3428 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3429 Remove inline keyword.
3430 * include/rounding-mode.h (round_away): Likewise.
3431 * libio/wfileops.c (adjust_wide_data): Likewise.
3432 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3433 (__m128i_strloadu_tolower): Likewise.
3434 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3435 (__m128i_strloadu_tolower): Likewise.
3436 * time/mktime.c (ydhms_diff): Likewise.
3437 * locale/elem-hash.h (elem_hash): Likewise.
3438 * locale/setlocale.c (setdata): Likewise.
3439 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3440 (re_string_wchar_at): Likewise.
3441 (bitset_not, bitset_merge, bitset_mask): Likewise.
3442 [!(__GNUC__ > 3)] (inline): Remove macro.
3443 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3444 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3445 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3446 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3447 * string/memcmp.c (memcmp_bytes): Likewise.
3448 * locale/programs/locarchive.c (compute_hashval): Likewise.
3449 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3450 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3451 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3452 * nss/getent.c (print_rpc, print_protocols): Likewise.
3453 (print_passwd, print_group, print_aliases): Likewise.
3454 * nis/nss-nisplus.h (niserr2nss): Likewise.
3455 * nscd/connections.c (restart_p): Likewise.
3456 Change return type to bool.
3457
eab55bfb
RM
34582013-02-05 Roland McGrath <roland@hack.frob.com>
3459
7bd642f5
RM
3460 * Makeconfig (all-Depend-files): Add existing
3461 $(sorted-subdirs:=/Depend) files.
3462 (all-subdirs): Remove nss.
3463 * sysdeps/unix/inet/Subdirs: Add it here instead.
3464 * hesiod/Depend: New file.
3465
573c29b2
RM
3466 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3467 instead of calling alloca.
3468
b2e25af0
RM
3469 * io/lseek.c (__lseek): Rename to __libc_lseek.
3470 Define __lseek as an alias.
3471
eab55bfb
RM
3472 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3473
9a0d1941
CD
34742013-02-04 Carlos O'Donell <carlos@redhat.com>
3475
3476 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3477 else clause and remove check for non-standard endianness.
3478
b83bbec4
DM
34792013-02-04 David S. Miller <davem@davemloft.net>
3480
3481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3482
6277fdab
JM
34832013-02-04 Joseph Myers <joseph@codesourcery.com>
3484
3485 [BZ #13550]
3486 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3487 (__ubp_memchr): Remove prototype.
3488 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3489 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3490 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3491 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3492 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3493 Remove alias.
3494 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3495 (__ubp_memchr): Likewise.
3496 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3497 (__ubp_memchr): Likewise.
3498 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3499 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3500 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3501 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3502 CHECK_STRING.
3503 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3504 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3505 (__getcwd): Do not use CHECK_STRING.
3506 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3507 <bp-checks.h>.
3508 (__real_chown): Do not use CHECK_STRING.
3509 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3510 <bp-checks.h>.
3511 (fchownat): Do not use CHECK_STRING.
3512 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3513 CHECK_STRING.
3514 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3515 <bp-checks.h>.
3516 (__lchown): Do not use CHECK_STRING.
3517 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3518 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3519 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3520 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3522 include <bp-checks.h>.
3523 (truncate64): Do not use CHECK_STRING.
3524 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3525 <bp-checks.h>.
3526 (__real_chown): Do not use CHECK_STRING.
3527 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3528 <bp-checks.h>.
3529 (__lchown): Do not use CHECK_STRING.
3530 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3531 <bp-checks.h>.
3532 (__chown): Do not use CHECK_STRING.
3533 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3534 <bp-checks.h>.
3535 (truncate64): Do not use CHECK_STRING.
3536 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3537 Likewise.
3538 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3539 (__xmknod): Do not use CHECK_STRING.
3540 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3541 <bp-checks.h>.
3542 (__xmknodat): Do not use CHECK_STRING.
3543 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3544 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3545
903ae060
AS
35462013-02-04 Andreas Schwab <schwab@suse.de>
3547
3548 [BZ #14142]
3549 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3550 * include/netdb.h: Likewise for h_errno.
3551 * elf/tst-stackguard1.c: Include <tls.h>.
3552
542f9466
JK
35532013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3554
3555 * elf/link.h (struct link_map): Extend the l_addr comment.
3556 * include/link.h (struct link_map): Likewise.
3557
e782a927
JM
35582013-02-01 Joseph Myers <joseph@codesourcery.com>
3559
3560 [BZ #13550]
3561 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3562 (BOUNDED_1): Remove macro.
3563 * debug/backtrace.c: Don't include <bp-checks.h>.
3564 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3565 (__backtrace): Likewise.
3566 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3567 <bp-checks.h>.
3568 (__backtrace): Don't use BOUNDED_1.
3569 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3570 <bp-checks.h>.
3571 (__backtrace): Don't use BOUNDED_1.
3572 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3573 (__backtrace): Don't use BOUNDED_1.
3574 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3575 (shmat): Don't use BOUNDED_N.
3576
8cf28c5e
JM
35772013-01-31 Joseph Myers <joseph@codesourcery.com>
3578
3a7ac8a0
JM
3579 [BZ #13550]
3580 * sysdeps/generic/bp-start.h: Remove file.
3581 * csu/libc-start.c: Don't include <bp-start.h>.
3582 (LIBC_START_MAIN): Set up __environ directly instead of using
3583 INIT_ARGV_and_ENVIRON.
3584 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3585 <bp-start.h>.
3586
f3499f95
JM
3587 [BZ #13550]
3588 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3589 definitions.
3590 (CHECK_FCNTL): Likewise.
3591 (CHECK_N_PAGES): Likewise.
3592
32a45bea
JM
3593 [BZ #13550]
3594 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3595 definitions.
3596 (CHECK_SIGSET_NULL_OK): Likewise.
3597 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3598 <bp-checks.h>.
3599 (sigpending): Don't use CHECK_SIGSET.
3600 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3601 <bp-checks.h>.
3602 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3603 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3604 <bp-checks.h>.
3605 (do_sigsuspend): Don't use CHECK_SIGSET.
3606 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3607 use CHECK_SIGSET.
3608 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3609 (do_sigwait): Don't use CHECK_SIGSET.
3610 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3611 use CHECK_SIGSET.
3612 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3613 include <bp-checks.h>.
3614 (sigpending): Don't use CHECK_SIGSET.
3615 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3616 include <bp-checks.h>.
3617 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3618 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3619 <bp-checks.h>.
3620 (sigpending): Don't use CHECK_SIGSET.
3621 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3622 <bp-checks.h>.
3623 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3624
2e8a5c8c
JM
3625 [BZ #13550]
3626 * sysdeps/generic/bp-semctl.h: Remove file.
3627 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3628 <bp-checks.h> and <bp-semctl.h>.
3629 (__old_semctl): Don't use CHECK_SEMCTL.
3630 (__new_semctl): Likewise.
3631 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3632 and <bp-semctl.h>.
3633 (__old_semctl): Don't use CHECK_SEMCTL.
3634 (__new_semctl): Likewise.
3635 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3636 <bp-checks.h> and <bp-semctl.h>.
3637 (__old_semctl): Don't use CHECK_SEMCTL.
3638 (__new_semctl): Likewise.
3639 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3640 <bp-checks.h> and <bp-semctl.h>.
3641 (semctl): Don't use CHECK_SEMCTL.
3642
c2d54929
JM
3643 [BZ #13550]
3644 * Makerules (elide-bp-thunks): Remove variable.
3645 (elide-routines.oS): Don't use $(elide-bp-thunks).
3646 (elide-routines.os): Likewise.
3647 (elide-routines.o): Likewise.
3648 (elide-routines.op): Likewise.
3649 (elide-routines.og): Likewise.
3650 (objects): Don't use $(bp-thunks).
3651 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3652 include.
3653 (common-generated): Do not add s-proto-bp.d.
3654 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3655 (int): Likewise.
3656 (typ): Likewise.
3657 Do not generate makefile rules for bounded-pointer thunks.
3658 * sysdeps/generic/bp-thunks.h: Remove file.
3659 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3660 * sysdeps/unix/s-proto-bp.S: Likewise.
3661
8cf28c5e
JM
3662 [BZ #15062]
3663 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3664 parts of result separately when argument is not close to line from
3665 -i to i and one part of argument is small.
3666 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3667 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3668 * math/libm-test.inc (cacos_test): Add more tests.
3669 (casin_test): Likewise.
3670 (casinh_test): Likewise.
3671 * sysdeps/i386/fpu/libm-test-ulps: Update.
3672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3673
c4e33b8d
DM
36742013-01-31 David S. Miller <davem@davemloft.net>
3675
3676 * po/de.po: Update from translation team.
3677
3b60b421
MK
36782013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3679
3680 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3681
bb931195
TS
36822013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3683
b5a5da23
TS
3684 * configure.in (_AC_PROG_CC_C89): New definition.
3685 * configure: Regenerate.
3686
bb931195
TS
3687 * configure.in (AC_PROG_CPP): New definition.
3688 * configure: Regenerate.
3689
8c53a12c
JM
36902013-01-23 Joseph Myers <joseph@codesourcery.com>
3691
3692 * debug/tst-backtrace.h: New file.
3693 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3694 (ret): Remove variable.
3695 (x): Likewise.
3696 (FAIL): Remove macro.
3697 (NO_INLINE): Likewise.
3698 (fn1): Use match function instead of strstr.
3699 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3700 (ret): Remove variable.
3701 (x): Likewise.
3702 (FAIL): Remove macro.
3703 (NO_INLINE): Likewise.
3704 (fn): Use match function instead of strstr.
3705 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3706 (ret): Remove variable.
3707 (x): Likewise.
3708 (FAIL): Remove macro.
3709 (NO_INLINE): Likewise.
3710 (handle_signal): Use match function instead of strstr.
3711 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3712 (ret): Remove variable.
3713 (x): Likewise.
3714 (FAIL): Remove macro.
3715 (NO_INLINE): Likewise.
3716 (handle_signal): Use match function instead of strstr.
3717
4858fa2a
RM
37182013-01-23 Roland McGrath <roland@hack.frob.com>
3719
3720 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3721
bae8e7f5
DM
37222013-01-23 David S. Miller <davem@davemloft.net>
3723
3724 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3725 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3726 argument of CAS if possible.
3727 * sysdeps/sparc/sparc64/bits/atomic.h
3728 (__arch_compare_and_exchange_val_32_acq): Likewise.
3729 (__arch_compare_and_exchange_val_64_acq): Likewise.
3730
9cbbc4ae
PT
37312013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3732
3733 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3734 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3735 Include <limits.h>.
67b3f58c 3736 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3737
5655a0b5
AC
37382013-01-23 Adam Conrad <adconrad@0c3.net>
3739
3740 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3741 (LDFLAGS-tst-array5): Likewise.
3742
052aff95
JM
37432013-01-23 Joseph Myers <joseph@codesourcery.com>
3744
3745 [BZ #15036]
3746 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3747 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3748 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3749 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3750
7c1e01aa
DM
37512013-01-21 David S. Miller <davem@davemloft.net>
3752
3753 * sysdeps/sparc/backtrace.c: New file.
3754 * sysdeps/sparc/sparc32/backtrace.h: New file.
3755 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3756 * sysdeps/sparc/sparc64/backtrace.h: New file.
3757 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3758 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3759 -funwind-tables.
3760
ab087e0a
AS
37612013-01-21 Andreas Schwab <schwab@suse.de>
3762
3763 [BZ #15020]
3764 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3765 closed its stdout.
3766
ed689c2f
AS
37672013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3768
3769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3770 "mpa2.h".
3771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3772
31d470ac
JM
37732013-01-18 Joseph Myers <joseph@codesourcery.com>
3774 Mark Mitchell <mark@codesourcery.com>
3775 Tom de Vries <tom@codesourcery.com>
3776 Paul Pluzhnikov <ppluzhnikov@google.com>
3777
3778 * debug/tst-backtrace2.c: New file.
3779 * debug/tst-backtrace3.c: Likewise.
3780 * debug/tst-backtrace4.c: Likewise.
3781 * debug/tst-backtrace5.c: Likewise.
3782 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3783 (CFLAGS-tst-backtrace3.c): Likewise.
3784 (CFLAGS-tst-backtrace4.c): Likewise.
3785 (CFLAGS-tst-backtrace5.c): Likewise.
3786 (LDFLAGS-tst-backtrace2): Likewise.
3787 (LDFLAGS-tst-backtrace3): Likewise.
3788 (LDFLAGS-tst-backtrace4): Likewise.
3789 (LDFLAGS-tst-backtrace5): Likewise.
3790 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3791 tst-backtrace4 and tst-backtrace5.
3792
90567f30 37932013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3794 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3795
3796 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3797 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3798 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3799 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3801 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3802 "+r" and remove output regs list as redundant. Add explicit inline
3803 asm to specify register of return val to work around compiler codegen
3804 bug. Remove (int) cast on return value. Add return type parameter to
3805 use in macro so that this macro does not truncate return value for
3806 64-bit values.
3807 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3808 pass to INTERNAL_VSYSCALL_NCS.
3809 (INLINE_VSYSCALL): Add 'long int' as return type to
3810 INTERNAL_VSYSCALL_NCS macro invocation.
3811 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3812 INTERNAL_VSYSCALL_NCS macro invocation.
3813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3814
d3b9ea61
SP
38152013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3816
0b57daeb
SP
3817 [BZ #14496]
3818 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3819 Fix application of SIMD FP exception mask.
3820
caa99d06
SP
3821 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3822 mp_no from a power of two.
3823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3824 __mpexp_twomm1. Use __pow_mp.
3825
d3b9ea61
SP
3826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3827 multiplication.
3828
1dbaee3c
DM
38292013-01-17 David S. Miller <davem@davemloft.net>
3830
3831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3832
728d7b43
JM
38332013-01-17 Joseph Myers <joseph@codesourcery.com>
3834
3835 [BZ #15023]
3836 * include/complex.h: Condition contents on [!_COMPLEX_H].
3837 (__kernel_casinhf): New prototype.
3838 (__kernel_casinh): Likewise.
3839 (__kernel_casinhl): Likewise.
3840 * math/Makefile (libm_calls): Add k_casinh.
3841 * math/k_casinh.c: New file.
3842 * math/k_casinhf.c: Likewise.
3843 * math/k_casinhl.c: Likewise.
3844 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3845 finite nonzero arguments.
3846 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3847 finite nonzero arguments.
3848 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3849 finite nonzero arguments.
3850 * math/s_casinh.c: Do not include <float.h>.
3851 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3852 * math/s_casinhf.c: Do not include <float.h>.
3853 (__casinhf): Move code for finite nonzero arguments to
3854 k_casinhf.c.
3855 * math/s_casinhl.c: Do not include <float.h>.
3856 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3857 redefine.
3858 (__casinhl): Move code for finite nonzero arguments to
3859 k_casinhl.c.
3860 * math/libm-test.inc (cacos_test): Add more tests.
3861 * sysdeps/i386/fpu/libm-test-ulps: Update.
3862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3863
2a26ef3a
PT
38642013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3865
3866 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3867 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3868 [!HAVE_MREMAP]: Remove [defined linux] case.
3869 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3870
a897655d
SP
38712013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3872
3873 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3874
881ebe89 38752013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3876
3877 * elf/elf.h (R_386_SIZE32): New relocation.
3878 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3879 R_386_SIZE32.
3880 (elf_machine_rela): Likewise.
3881 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3882 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3883
59981e9b
JM
38842013-01-17 Joseph Myers <joseph@codesourcery.com>
3885
3886 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3887 (FP_FAST_FMA): Do not define.
3888 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3889 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3890 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3891 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3892 !_SOFT_FLOAT]: Likewise.
3893 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3894 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3895 value.
3896 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3897 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3898 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3899 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3900 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3901 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3902 file.
3903
cfa8054f
AS
39042013-01-16 Andreas Schwab <schwab@suse.de>
3905
3906 [BZ #14327]
3907 * include/stdlib.h (__mktemp): Add declaration.
3908 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3909 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3910
dd930cc5
SP
39112013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3912
881ebe89
SP
3913 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3914 definitions.
3915 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3916 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3917 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3918 definitions here.
3919 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3920 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3921 definitions.
3922 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3923 and ONE.
3924 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3925 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3926 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3927 definitions.
3928 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3929 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3930 definitions.
3931 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3932
dd930cc5
SP
3933 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3934
c19a9f89
DM
39352013-01-15 David S. Miller <davem@davemloft.net>
3936
1aa61767
DM
3937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3938 trunc{,f} to libm-sysdep_routes.
3939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3941 file.
3942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3944 file.
3945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3946 file.
3947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3949 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3950 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3951 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3952 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3953 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3954 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3955
c42d5e98
DM
3956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3957 nearbyint{,f} to libm-sysdep_routes.
3958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3960 New file.
3961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3962 file.
3963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3964 New file.
3965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3966 file.
3967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3969 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3970 file.
3971 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3972 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3973 file.
3974 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3975 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3976 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3977
c19a9f89
DM
3978 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3979 libc_feholdexcept and libc_fesetenv.
3980
357679d2
MF
39812013-01-15 Mike Frysinger <vapier@gentoo.org>
3982
3983 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3984
65a82e3d
DM
39852013-01-14 David S. Miller <davem@davemloft.net>
3986
8b954ab9
DM
3987 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3988 (SPARC_ASM_VIS2_IFUNC): Likewise.
3989 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3991 use of 'siam' instruction.
3992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3993 Likewise.
3994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3995 Likewise.
3996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3997 Likewise.
3998 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3999 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4003 file.
4004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4005 file.
4006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4007 file.
4008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4009 file.
4010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4015 new VIS2 routines.
4016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4019 Likewise.
4020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4021 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4025 routines to libm-sysdep_routines.
4026 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4027
65a82e3d
DM
4028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4029 fdim/fdimf to libm-sysdep_routines.
4030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4031 file.
4032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4034 file.
4035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4038 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4039 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4040 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4041 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4042
e34ab705
SP
40432013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4044
2a91b573
SP
4045 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4046 to optimize copies.
4047
1066a534
SP
4048 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4051
e34ab705
SP
4052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4053 local variable MPTWO.
4054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4055 Likewise.
4056
aba5e596
MF
40572013-01-13 Mike Frysinger <vapier@gentoo.org>
4058
4059 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4060 GLOB_NOESCAPE.
4061
e557e9e5
MF
40622013-01-13 Mike Frysinger <vapier@gentoo.org>
4063
4064 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4065
0428cec9
MF
40662013-01-13 Mike Frysinger <vapier@gentoo.org>
4067
4068 * manual/pattern.texi (glob_t): Document gl_flags.
4069 (glob64_t): Likewise.
4070
8794a964
DM
40712013-01-11 David S. Miller <davem@davemloft.net>
4072
66438c3f
RM
4073 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4074 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4075 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4076 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4077 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4078 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4079 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4080 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4081 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4082 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4083 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4084 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4085 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4086
4ae4244d
DM
4087 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4088 sparc V9 rather than using V8 code.
4089 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4090 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4091
8794a964
DM
4092 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4093 Move to...
4094 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4095 Here.
4096
6270516e
RM
40972013-01-11 Roland McGrath <roland@hack.frob.com>
4098
4099 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4100 not in the main loop.
4101 * configure: Regenerated.
4102
6a57d931
JM
41032013-01-11 Joseph Myers <joseph@codesourcery.com>
4104
4105 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4106 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4107 to just #else.
4108 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4109 [!__GLIBC_HAVE_LONG_LONG] case.
4110 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4111 condition to just #else.
4112 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4113 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4114 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4115 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4116 unconditional.
4117 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4118 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4119 #elif condition to just #else.
4120 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4121 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4122 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4123 #elif condition to just #else.
4124
0e8529e9
SE
41252013-01-11 Steve Ellcey <sellcey@mips.com>
4126
4127 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4128 (EF_MIPS_ARCH_64): Fix value.
4129 (EF_MIPS_ARCH_32R2): New.
4130 (EF_MIPS_ARCH_64R2): New.
4131
740b3dbe
L
41322013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4133
4134 * Makeconfig (+link-pie-before-libc): New.
4135 (+link-pie-after-libc): Likewise.
4136 (+link-pie-tests): Likewise.
4137 (+link-pie): Rewritten.
4138 (link-before-libc): Remove $(config-LDFLAGS).
4139 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4140 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4141 (config-LDFLAGS): Renamed to ...
4142 (rtld-LDFLAGS): This.
4143 (rtld-tests-LDFLAGS): New macro.
4144 (link-libc-rpath-link): Likewise.
4145 (link-libc-tests-rpath-link): Likewise.
4146 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4147 (link-libc): Prepand $(link-libc-rpath-link).
4148 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4149 (test-program-prefix): New macro.
4150 (test-via-rtld-prefix): Likewise.
4151 (test-program-cmd): Likewise.
4152 (host-test-program-cmd): Likewise.
4153 * Makefile ($(common-objpfx)testrun.sh): Replace
4154 $(run-program-prefix) with $(test-program-prefix).
4155 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4156 $(rtld-LDFLAGS).
4157 ($(common-objpfx)shlib.lds): Likewise.
4158 (build-module-helper): Likewise.
4159 ($(common-objpfx)format.lds): Likewise.
4160 * Rules (binaries-pie-tests): New.
4161 (binaries-pie-notests): Likewise.
4162 (binaries-pie): Rewritten.
4163 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4164 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4165 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4166 (make-test-out): Replace $(host-built-program-cmd) with
4167 $(host-test-program-cmd).
4168 * config.make.in (build-hardcoded-path-in-tests): New variable.
4169 * configure.in (--enable-hardcoded-path-in-tests): New configure
4170 option.
4171 (hardcoded_path_in_tests): New AC_SUBST.
4172 * configure: Regenerated.
4173 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4174 $(built-program-cmd) with $(test-program-cmd).
4175 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4176 (test_program_cmd): This.
4177 * elf/Makefile ($(objpfx)order.out): Run test with
4178 $(test-program-prefix).
4179 ($(objpfx)order2.out): Likewise.
4180 ($(objpfx)tst-initorder.out): Likewise.
4181 ($(objpfx)tst-initorder2.out): Likewise.
4182 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4183 $(test-program-cmd).
4184 ($(objpfx)tst-array1-static.out): Likewise.
4185 ($(objpfx)tst-array2.out): Likewise.
4186 ($(objpfx)tst-array3.out): Likewise.
4187 ($(objpfx)tst-array4.out): Likewise.
4188 ($(objpfx)tst-array5.out): Likewise.
4189 ($(objpfx)tst-array5-static.out): Likewise.
4190 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4191 $(test-program-cmd).
4192 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4193 $(run-program-prefix) with $(test-program-prefix).
4194 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4195 (test_program_prefix): This.
4196 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4197 $(run-program-prefix) with $(test-program-prefix).
4198 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4199 (test_program_prefix): This.
4200 * iconvdata/tst-tables.sh: Likewise.
4201 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4202 $(run-program-prefix) with $(test-program-prefix).
4203 ($(objpfx)tst-translit.out): Likewise.
4204 ($(objpfx)tst-gettext2.out): Likewise.
4205 ($(objpfx)tst-gettext4.out): Likewise.
4206 ($(objpfx)tst-gettext6.out): Likewise.
4207 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4208 (test_program_prefix): This.
4209 * intl/tst-gettext2.sh: Likewise.
4210 * intl/tst-gettext4.sh Likewise.
4211 * intl/tst-gettext6.sh: Likewise.
4212 * intl/tst-translit.sh: Likewise.
4213 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4214 with $(test-program-cmd).
4215 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4216 $(run-program-prefix) with $(test-program-prefix).
4217 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4218 (test_program_prefix): This.
4219 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4220 $(run-program-prefix) with $(test-program-prefix).
4221 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4222 (test_program_prefix): This.
4223 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4224 * posix/Makefile ($(objpfx)globtest.out): Replace
4225 $(run-via-rtld-prefix) and $(test-wrapper) with
4226 $(test-program-prefix) and $(test-via-rtld-prefix).
4227 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4228 $(test-program-prefix).
4229 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4230 $(host-test-program-cmd).
4231 (tst-spawn-ARGS): Likewise.
4232 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4233 $(test-program-prefix).
4234 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4235 (test_via_rtld_prefix): This.
4236 (test_wrapper): Renamed to ...
4237 (test_program_prefix): This.
4238 (run_program_prefix): Replaced by test_program_prefix.
4239 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4240 (test_program_prefix): This.
4241 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4242 with $(host-test-program-cmd).
4243 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4244 $(run-program-prefix) with $(test-program-prefix).
4245 ($(objpfx)tst-printf.out): Likewise.
4246 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4247 $(test-program-cmd).
4248 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4249 (test_program_prefix): This.
4250 * stdio-common/tst-unbputc.sh: Likewise.
4251 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4252 $(run-program-prefix) with $(test-program-prefix).
4253 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4254 (test_program_prefix): This.
4255 * string/Makefile ($(objpfx)tst-svc.out): Replace
4256 $(built-program-cmd) with $(test-program-cmd).
4257
c6fe55cf
AJ
42582013-01-11 Andreas Jaeger <aj@suse.de>
4259
4260 [BZ #15003]
4261 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4262 value. Sync with Linux 3.7.
4263
9e6919c8
DM
42642013-01-10 David S. Miller <davem@davemloft.net>
4265
4266 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4267 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4268 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4269
1c9f1a02
RM
42702013-01-10 Roland McGrath <roland@hack.frob.com>
4271
4272 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4273 never set.
4274 * configure: Regenerated.
4275
b9de2dde
DM
42762013-01-10 David S. Miller <davem@davemloft.net>
4277
4278 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4279 sparc V9 rather than using V8 code.
4280 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4281 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4282
e7f68ef4
RM
42832013-01-10 Roland McGrath <roland@hack.frob.com>
4284
4285 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4286 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4287 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4288 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4289 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4290 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4291 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4292 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4293 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4294 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4295 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4296 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4297 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4298 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4299 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4300 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4301 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4302 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4303 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4304 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4305 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4306 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4307 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4308 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4309 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4310 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4311 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4312
5a47cc9c
DM
43132013-01-10 David S. Miller <davem@davemloft.net>
4314
4315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4316
4cf8f209
L
43172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4318
4319 * posix/Makefile (tests-static): New variable.
4320 (tests): Add $(tests-static).
4321 (tst-exec-static-ARGS): New variable.
4322 (tst-spawn-static-ARGS): Likewise.
4323 * posix/tst-exec-static.c: New file.
4324 * posix/tst-spawn-static.c: Likewise.
4325 * posix/tst-exec.c: Support run directly.
4326 * posix/tst-spawn.c: Likewise.
4327
fed0faa1
JM
43282013-01-10 Joseph Myers <joseph@codesourcery.com>
4329
828beb13
JM
4330 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4331 long.
4332 * math/bits/mathcalls.h (llrint): Likewise.
4333 (llround): Likewise.
4334 * stdlib/stdlib.h (struct drand48_data): Likewise.
4335 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4336 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4337 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4338 Likewise.
4339 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4340 Likewise.
4341 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4342 (elf_greg_t): Likewise.
4343 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4344 (__jmp_buf): Likewise.
4345 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4346 definitions.
4347 (llrint): Likewise, for all definitions.
4348 (llrintl): Likewise.
4349
fed0faa1
JM
4350 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4351 Remove [__GNUC__] condition.
4352 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4353 condition to just [__USE_ISOC99].
4354 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4355
1a20cb20
L
43562013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4357
4358 [BZ #14200]
4359 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4360 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4361 defined.
4362 (_POSIX_V6_ILP32_OFF32): Likewise.
4363 (_XBS5_ILP32_OFF32): Likewise.
4364 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4365 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4366
751b85f7
SP
43672013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4368
7490eb81
SP
4369 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4370
751b85f7
SP
4371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4372 doubles __mpexp_twomm1. Adjust usage.
4373 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4374 Remove.
4375
988197f0
AS
43762013-01-10 Andreas Schwab <schwab@suse.de>
4377
4378 [BZ #14964]
4379 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4380 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4381
e83d7298
DM
43822013-01-09 David S. Miller <davem@davemloft.net>
4383
034ed64b 4384 [BZ #15003]
e83d7298
DM
4385 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4386 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4387 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4388 TCP_FASTOPEN): Define.
4389 (tcp_repair_opt): New structure.
4390 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4391 enum values.
4392 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4393 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4394 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4395 (tcp_cookie_transactions): New structure.
4396
d5e0b9bd
AB
43972013-01-09 Anton Blanchard <anton@samba.org>
4398
4399 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4400 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4401 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4402 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4403
0c07e3ea
JM
44042013-01-09 Joseph Myers <joseph@codesourcery.com>
4405
4406 * include/features.h (__USE_ANSI): Remove.
4407
232f7002
RM
44082013-01-09 Roland McGrath <roland@hack.frob.com>
4409
ad98e30c
RM
4410 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4411
232f7002
RM
4412 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4413
950c99ca
SP
44142013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4415
b5792741
SP
4416 * sysdeps/s390/fpu/libm-test-ulps: Update.
4417
47cf2278
SP
4418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4419
950c99ca
SP
4420 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4421 (__acr): Likewise.
4422 (__cpy): Likewise.
4423 (norm): Likewise.
4424 (denorm): Likewise.
4425 (__mp_dbl): Likewise.
4426 (__dbl_mp): Likewise.
4427 (add_magnitudes): Likewise.
4428 (sub_magnitudes): Likewise.
4429 (__add): Likewise.
4430 (__sub): Likewise.
4431 (__mul): Likewise.
4432 (__inv): Likewise.
4433 (__dvd): Likewise.
4434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4435 (__acr): Likewise.
4436 (__cpy): Likewise.
4437 (norm): Likewise.
4438 (denorm): Likewise.
4439 (__mp_dbl): Likewise.
4440 (__dbl_mp): Likewise.
4441 (add_magnitudes): Likewise.
4442 (sub_magnitudes): Likewise.
4443 (__add): Likewise.
4444 (__sub): Likewise.
4445 (__mul): Likewise.
4446 (__inv): Likewise.
4447 (__dvd): Likewise.
4448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4449 (__acr): Likewise.
4450 (__cpy): Likewise.
4451 (norm): Likewise.
4452 (denorm): Likewise.
4453 (__mp_dbl): Likewise.
4454 (__dbl_mp): Likewise.
4455 (add_magnitudes): Likewise.
4456 (sub_magnitudes): Likewise.
4457 (__add): Likewise.
4458 (__sub): Likewise.
4459 (__mul): Likewise.
4460 (__inv): Likewise.
4461 (__dvd): Likewise.
4462
eede9df9
JM
44632013-01-08 Joseph Myers <joseph@codesourcery.com>
4464
4465 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4466 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4467 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4468 2 && __USE_EXTERN_INLINES]: Likewise.
4469
c40ea3d9
AJ
44702013-01-08 Andreas Jaeger <aj@suse.de>
4471
4472 [BZ# 14985]
4473 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4474 Remove.
4475 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4476 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4477
2ccdea26
AB
44782013-01-07 Anton Blanchard <anton@samba.org>
4479
4480 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4481 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4482 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4483 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4484 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4485 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4486 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4487 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4489 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4490 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4491 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4492 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4493 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4494 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4495 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4496 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4497 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4498 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4499 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4500 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4501 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4502 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4503 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4504 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4505 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4506 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4507 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4508 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4509 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4510 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4512 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4513 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4514 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4515 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4516 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4517 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4518 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4519 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4520 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4521 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4522 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4523
a9708fed
JM
45242013-01-07 Joseph Myers <joseph@codesourcery.com>
4525
375607b9
JM
4526 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4527 (__MALLOC_PMT): Likewise.
4528 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4529 [__GNUC__], only on [_LIBC].
4530 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4531 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4532 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4533 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4534 forward declaration.
4535 (realloc_hook_ini): Likewise.
4536 (memalign_hook_ini): Likewise.
4537 (__libc_memalign): Do not use __MALLOC_PMT in variable
4538 declaration.
4539 (__libc_valloc): Likewise.
4540 (__libc_pvalloc): Likewise.
4541 (__libc_calloc): Likewise.
4542 (__posix_memalign): Likewise.
4543
a9708fed
JM
4544 [BZ #14996]
4545 * math/s_casinh.c: Include <float.h>.
4546 (__casinh): Do not do computation with squaring and square root
4547 for large arguments.
4548 * math/s_casinhf.c: Include <float.h>.
4549 (__casinhf): Do not do computation with squaring and square root
4550 for large arguments.
4551 * math/s_casinhl.c: Include <float.h>.
4552 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4553 (__casinhl): Do not do computation with squaring and square root
4554 for large arguments.
4555 * math/libm-test.inc (casin_test): Add more tests.
4556 (casinh_test): Likewise.
4557 * sysdeps/i386/fpu/libm-test-ulps: Update.
4558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4559
afec409a
L
45602013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4561
4562 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4563 (__x86_64_raw_data_cache_size): Likewise.
4564 (__x86_64_data_cache_size_half): Likewise.
4565 (__x86_64_raw_data_cache_size_half): Likewise.
4566 (__x86_64_shared_cache_size): Likewise.
4567 (__x86_64_raw_shared_cache_size): Likewise.
4568 (__x86_64_shared_cache_size_half): Likewise.
4569 (__x86_64_raw_shared_cache_size_half): Likewise.
4570 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4571 to ...
4572 (__x86_data_cache_size): This.
4573 (__x86_64_raw_data_cache_size): Renamed to ...
4574 (__x86_raw_data_cache_size): This.
4575 (__x86_64_data_cache_size_half): Renamed to ...
4576 (__x86_data_cache_size_half): This.
4577 (__x86_64_raw_data_cache_size_half): Renamed to ...
4578 (__x86_raw_data_cache_size_half): This.
4579 (__x86_64_shared_cache_size): Renamed to ...
4580 (__x86_shared_cache_size): This.
4581 (__x86_64_raw_shared_cache_size): Renamed to ...
4582 (__x86_raw_shared_cache_size): This.
4583 (__x86_64_shared_cache_size_half): Renamed to ...
4584 (__x86_shared_cache_size_half): This.
4585 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4586 (__x86_raw_shared_cache_size_half): This.
4587 * sysdeps/x86_64/memcpy.S: Updated.
4588 * sysdeps/x86_64/memset.S: Likewise.
4589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4590 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4591 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4592
0b3986d0
DM
45932013-01-04 David S. Miller <davem@davemloft.net>
4594
4595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4596
e47686e9
AS
45972013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4598
d643bac1
AS
4599 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4600 1 to avoid redefinition warning.
4601 (__USE_GNU): Don't define.
4602 (init_signaling_nan): Protoize.
4603
e47686e9
AS
4604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4605
b18decba
SP
46062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4607
fffb407f
SP
4608 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4610 (__cpymn): Likewise.
4611 (norm): Remove commented code.
4612 (denorm): Likewise.
4613 (__mp_dbl): Likewise.
4614 (__inv): Likewise.
4615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4616 (__cpymn): Likewise.
4617 (norm): Remove commented code.
4618 (denorm): Likewise.
4619 (__mp_dbl): Likewise.
4620 (__inv): Likewise.
4621
b18decba
SP
4622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4623 mp_no value for 1.0 and 2.0.
4624 (norm): Use RADIXI instead of radixi.d.
4625 (denorm): Likewise.
4626 (__mul): Use 0.0 instead of zero.d.
4627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4628 mp_no value for 1.0 and 2.0.
4629 (norm): Use RADIXI instead of radixi.d.
4630 (denorm): Likewise.
4631 (__mul): Use 0.0 instead of zero.d.
4632
cdc1c96f
JM
46332013-01-04 Joseph Myers <joseph@codesourcery.com>
4634
4635 [BZ #14994]
4636 * math/s_casinh.c (__casinh): Reduce finite argument to first
4637 quadrant then set signs of results at the end.
4638 * math/s_casinhf.c (__casinhf): Likewise.
4639 * math/s_casinhl.c (__casinhl): Likewise.
4640 * math/libm-test.inc (casin_test): Add more tests.
4641 (casinh_test): Likewise.
4642 * sysdeps/i386/fpu/libm-test-ulps: Update.
4643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4644
302913e1
SP
46452013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4646
6420d207
SP
4647 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4648
a9e48ab4
SP
4649 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4650
b7837264
SP
4651 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4652 declarations.
4653 (denorm): Likewise.
4654 (__mp_dbl): Likewise.
4655 (__inv): Likewise.
4656
f8af25d2
SP
4657 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4658 and adjust the header comment.
4659
302913e1
SP
4660 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4661 variable name from declaration.
4662
5d7dd1ca
L
46632013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4664
4665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4666 Initialize COMMON_CPUID_INDEX_7 element.
4667 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4668 (CPUID_RTM): Likewise.
4669 (HAS_RTM): Likewise.
4670 (COMMON_CPUID_INDEX_7): New enum.
4671
2f5f40f4
AS
46722013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4673
4674 [BZ #14981]
4675 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4676 size is zero, record memory as freed.
4677
4056f4a0
AJ
46782013-01-03 Andreas Jaeger <aj@suse.de>
4679
4680 * po/ia.po: Add new Interlingua translation.
4681
ab15736f 46822012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4683
4684 * locale/programs/localedef.c: Fix description of '--posix' flag.
4685
568035b7
JM
46862013-01-02 Joseph Myers <joseph@codesourcery.com>
4687
e6898b8d
JM
4688 * NEWS: Update dates in second copyright notice.
4689 * README: Update copyright dates in example.
4690 * manual/libc.texinfo: Update copyright dates.
4691 * scripts/test-installation.pl: Update copyright date in --version
4692 output.
4693
0e2f9562
JM
4694 * hurd/ctty-input.c: Fix copyright notice formatting.
4695 * hurd/ctty-output.c: Likewise.
4696 * hurd/dtable.c: Likewise.
4697 * hurd/hurd-raise.c: Likewise.
4698 * hurd/hurdprio.c: Likewise.
4699 * hurd/msgportdemux.c: Likewise.
4700 * misc/sys/file.h: Likewise.
4701 * misc/sys/ioctl.h: Likewise.
4702 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4703 * sysdeps/mach/hurd/chdir.c: Likewise.
4704 * sysdeps/mach/hurd/fchdir.c: Likewise.
4705 * sysdeps/mach/hurd/rename.c: Likewise.
4706 * sysdeps/mach/hurd/rmdir.c: Likewise.
4707 * sysdeps/mach/hurd/seekdir.c: Likewise.
4708 * sysdeps/mach/hurd/setsid.c: Likewise.
4709 * sysdeps/posix/wait3.c: Likewise.
4710
568035b7
JM
4711 * All files with FSF copyright notices: Update copyright dates
4712 using scripts/update-copyrights.
4713 * intl/plural.c: Regenerated.
4714 * locale/programs/charmap-kw.h: Likewise.
4715 * locale/programs/locfile-kw.h: Likewise.
4716
da08f647
SP
47172013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4718
0f5477af
SP
4719 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4720 four values.
4721
44e0d4c2
SP
4722 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4723 calculation loop and add branch prediction.
4724
4d55b4e5
SP
4725 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4726 check access beyond bounds of m1np.
4727
da08f647
SP
4728 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4729 MPTWO.
4730 (__inv): Remove local variable MPTWO to use the global
4731 constant.
4732 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4733 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4734 variable MPTWO.
4735 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4736 MP3HALFS static const.
4737
8e051029
DM
47382013-01-01 David S. Miller <davem@davemloft.net>
4739
4740 * po/ca.po: Update from translation team.
4741
f4cf5f2d
JM
47422013-01-01 Joseph Myers <joseph@codesourcery.com>
4743
4744 * scripts/update-copyrights: New file.
4745 * Makeconfig: Reformat copyright notice.
4746 * ctype/ctype.h: Likewise.
4747 * debug/swprintf_chk.c: Likewise.
4748 * elf/dl-cache.c: Likewise.
4749 * elf/dl-debug.c: Likewise.
4750 * elf/dl-object.c: Likewise.
4751 * grp/initgroups.c: Likewise.
4752 * hurd/Makefile: Likewise.
4753 * hurd/hurd/signal.h: Likewise.
4754 * hurd/hurdfault.c: Likewise.
4755 * hurd/hurdioctl.c: Likewise.
4756 * hurd/hurdlookup.c: Likewise.
4757 * hurd/intr-msg.c: Likewise.
4758 * iconv/gconv_open.c: Likewise.
4759 * libio/swprintf.c: Likewise.
4760 * locale/lc-ctype.c: Likewise.
4761 * locale/nl_langinfo.c: Likewise.
4762 * mach/Machrules: Likewise.
4763 * mach/Makefile: Likewise.
4764 * malloc/obstack.h: Likewise.
4765 * manual/Makefile: Likewise.
4766 * manual/tsort.awk: Likewise.
4767 * misc/bits/stab.def: Likewise.
4768 * nis/nis_print_group_entry.c: Likewise.
4769 * nis/nis_table.c: Likewise.
4770 * nis/nss_compat/compat-pwd.c: Likewise.
4771 * nis/nss_compat/compat-spwd.c: Likewise.
4772 * po/Makefile: Likewise.
4773 * posix/fnmatch.c: Likewise.
4774 * posix/regex.h: Likewise.
4775 * resolv/Makefile: Likewise.
4776 * resolv/nss_dns/dns-network.c: Likewise.
4777 * resolv/res_hconf.c: Likewise.
4778 * scripts/gen-sorted.awk: Likewise.
4779 * soft-fp/soft-fp.h: Likewise.
4780 * stdio-common/printf.h: Likewise.
4781 * stdlib/monetary.h: Likewise.
4782 * stdlib/random.c: Likewise.
4783 * stdlib/random_r.c: Likewise.
4784 * sysdeps/generic/Makefile: Likewise.
4785 * sysdeps/gnu/Makefile: Likewise.
4786 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4787 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4788 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4793 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4794 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4795 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4796 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4797 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4798 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4799 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4800 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4801 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4802 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4803 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4804 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4806 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4807 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4808 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4809 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4810 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4811 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4812 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4813 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4814 * sysdeps/mach/hurd/errnos.awk: Likewise.
4815 * sysdeps/mach/hurd/fork.c: Likewise.
4816 * sysdeps/mach/hurd/getcwd.c: Likewise.
4817 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4818 * sysdeps/mach/hurd/mmap.c: Likewise.
4819 * sysdeps/mach/hurd/utimes.c: Likewise.
4820 * sysdeps/mach/hurd/xmknod.c: Likewise.
4821 * sysdeps/posix/profil.c: Likewise.
4822 * sysdeps/posix/readdir_r.c: Likewise.
4823 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4824 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4825 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4826 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4828 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4829 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4830 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4832 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4833 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4834 * sysdeps/pthread/lio_listio.c: Likewise.
4835 * sysdeps/sparc/dl-procinfo.h: Likewise.
4836 * sysdeps/unix/i386/sysdep.S: Likewise.
4837 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4838 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4839 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4840 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4842 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4843 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4844 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4845 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4846 * sysdeps/wordsize-32/divdi3.c: Likewise.
4847 * time/sys/time.h: Likewise.
4848 * wcsmbs/Makefile: Likewise.
4849
0549fbba
DM
48502013-01-01 David S. Miller <davem@davemloft.net>
4851
a141f1a7
DM
4852 * po/fr.po: Update from translation team.
4853
0549fbba
DM
4854 * catgets/gencat.c: Update copyright year.
4855 * csu/version.c: Likewise.
4856 * debug/catchsegv.sh: Likewise.
4857 * debug/pcprofiledump.c: Likewise.
4858 * debug/xtrace.sh: Likewise.
4859 * elf/ldconfig.c: Likewise.
4860 * elf/ldd.bash.in: Likewise.
4861 * elf/pldd.c: Likewise.
4862 * elf/sotruss.ksh: Likewise.
4863 * elf/sprof.c: Likewise.
4864 * iconv/iconv_prog.c: Likewise.
4865 * iconv/iconvconfig.c: Likewise.
4866 * locale/programs/locale.c: Likewise.
4867 * locale/programs/localedef.c: Likewise.
4868 * login/programs/pt_chown.c: Likewise.
4869 * malloc/memusage.sh: Likewise.
4870 * malloc/memusagestat.c: Likewise.
4871 * malloc/mtrace.pl: Likewise.
4872 * nscd/nscd.c: Likewise.
4873 * nss/getent.c: Likewise.
4874 * nss/makedb.c: Likewise.
4875 * posix/getconf.c: Likewise.
4876
18ea052c
SP
48772012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4878
4879 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4880 numbers.
4881
9c89fca6
MF
48822012-12-30 Mike Frysinger <vapier@gentoo.org>
4883
4884 * math/bits/mathcalls.h (modf): Use __nonnull.
4885
085ec079
SP
48862012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4887
4888 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4889 (split): Use macro CN instead of the bare value.
4890 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4891 could be used.
4892 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4893 instead of the bare value.
4894 (power1): Likewise.
4895
6d9f97e1
SP
48962012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4897
d63f73be
SP
4898 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4899 __ATAN_TWOM.
4900 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4901
6d9f97e1
SP
4902 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4903 their values.
4904 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4905 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4906 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4907 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4908
4c4febf5
AJ
49092012-12-28 Andreas Jaeger <aj@suse.de>
4910
af5843ef
AJ
4911 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4912 values are from Linux 3.7.
4913
4c4febf5
AJ
4914 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4915 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4916
99136f82
SP
49172012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4918
2f216c3c 4919 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4920 TRUE case.
4921
99136f82
SP
4922 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4923 (norm): Likewise.
4924 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4925 variables with preprocessor constants.
4926 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4927 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4928 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4929
7fffbdff
BH
49302012-12-27 Bruno Haible <bruno@clisp.org>
4931
4932 [BZ #14317]
4933 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4934 only if needed.
4935
b76eb5f0
SP
49362012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4937
31a7fe5c
SP
4938 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4939 and use variable directly.
4940 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4941
b76eb5f0
SP
4942 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4943 MPONE.
4944 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4945 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4946 variable MPONE.
4947 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4948 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4949 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4950 include directive. Remove local variable MPONE.
4951 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4952 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4953 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4954
2c8bfe7d
DM
49552012-12-25 David S. Miller <davem@davemloft.net>
4956
4957 * version.h (RELEASE): Set to "development".
4958 (VERSION): Set to "2.17.90".
4959 * NEWS: Add 2.18 section.
4960
147d03b0
DM
49612012-12-21 David S. Miller <davem@davemloft.net>
4962
4963 * po/hr.po: Update from translation team.
4964
a8ebb2b9
AK
49652012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4966
4967 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4968
95b4f1b6
SE
49692012-12-19 Steve Ellcey <sellcey@mips.com>
4970
b2d94007 4971 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4972
cedb2a90
MS
49732012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4974
4975 * manual/contrib.texi (Contributors): Spelling correction.
4976
bbf527d6
DM
49772012-12-15 David S. Miller <davem@davemloft.net>
4978
4979 * po/ru.po: Update from translation team.
4980
bc38c906
DM
49812012-12-13 David S. Miller <davem@davemloft.net>
4982
85429b1a
DM
4983 * NEWS: Mention IFUNC testsuite enhancements.
4984
d283e353
DM
4985 * po/pl.po: Update from translation team.
4986 * po/bg.po: Likewise.
4987
bc38c906
DM
4988 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4989 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4990
a181b0d7
DM
49912012-12-11 David S. Miller <davem@davemloft.net>
4992
4641d57e
DM
4993 * po/sv.po: Update from translation team.
4994
f7bc6495
DM
4995 * po/vi.po: Update from translation team.
4996
6fc9048f
DM
4997 * po/cs.po: Update from translation team.
4998
a181b0d7
DM
4999 * po/de.po: Update from translation team.
5000 * po/eo.po: Likewise.
5001 * po/nl.po: Likewise.
5002
f70bfe80
SP
50032012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5004
3c8b4190
SP
5005 [BZ #14246]
5006 * manual/argp.texi (Argp Helper Functions): Move node to follow
5007 Argp Parsing State.
5008
f70bfe80
SP
5009 [BZ #14872]
5010 * manual/conf.texi (Limits on File System Capacity): Mention if
5011 terminating null is included in the max size.
5012
188f0adf
AJ
50132012-12-10 Andreas Jaeger <aj@suse.de>
5014
5015 * po/cs.po: Update from translation team.
5016
56e7d3ad
SP
50172012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5018
5019 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5020 void pointer and cast to uintptr_t.
5021 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5022 path.
5023 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5024 * sysdeps/s390/s390-64/memset.S: Likewise.
5025
76f2d2ea 50262012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5027
5028 [BZ #14833]
5029 * menual/message.texi (Message Translation): Fix typos.
5030 (Helper programs for gettext): Likewise.
5031
67cbf9a2
AS
50322012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5033
5034 [BZ #14898]
5035 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5036 Change to -1.
5037
682d0e9a
DM
50382012-12-07 David S. Miller <davem@davemloft.net>
5039
5040 * po/libc.pot: Update.
5041
573cd484
RH
50422012-12-07 Richard Henderson <rth@redhat.com>
5043
7e9da188 5044 [BZ #10114]
573cd484
RH
5045 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5046 normal/normal case to before the switch.
5047 (_FP_DIV): Likewise.
5048
e933a943
MF
50492012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5050 Mike Frysinger <vapier@gentoo.org>
5051
5052 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5053 check for __NR_fadvise64_64.
5054
82123268
CM
50552012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5056
5057 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5058 0, not just to plain "0" as a statement.
5059 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5060 with cw.
5061
d9814526
JM
50622012-12-06 Joseph Myers <joseph@codesourcery.com>
5063
5064 * NEWS: Use sourceware.org in Bugzilla URL.
5065
7728c574
SP
50662012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5067
f16946dd
SP
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5069 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5070
5704bbcb
SP
5071 * stdio-common/tst-put-error.c (do_test): Add newline to the
5072 padded test to ensure flush.
5073
17aa0516
JL
50742012-12-05 Jeff Law <law@redhat.com>
5075
5076 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5077
363313b5
JM
50782012-12-05 Joseph Myers <joseph@codesourcery.com>
5079
effbd42a
JM
5080 * README: Don't refer to ports add-on as distributed separately.
5081 Mention AArch64 in list of systems supported in the ports add-on.
5082
87600365
JM
5083 * LICENSES: Add more non-FSF copyright and license notices.
5084
a0d7066a
JM
5085 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5086 ((unused)).
5087
66ca5a5b
JM
5088 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5089
363313b5
JM
5090 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5091 10000 as width of padded output.
5092
b37984ad
JM
50932012-12-04 Joseph Myers <joseph@codesourcery.com>
5094
9003570a
JM
5095 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5096
b37984ad
JM
5097 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5098 variable LX with __attribute__ ((unused)).
5099 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5100 Likewise.
5101 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5102 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5103 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5104 with __attribute__ ((unused)).
5105
c8df52ec
DM
51062012-12-04 David S. Miller <davem@abraco.davemloft.net>
5107
5108 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5109
b3b099af
JM
51102012-12-04 Joseph Myers <joseph@codesourcery.com>
5111
c33aa6e3
JM
5112 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5113 (CFLAGS-nldbl-acos.c): New variable.
5114 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5115 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5116 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5117 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5118 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5119 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5120 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5121 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5122 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5123 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5124 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5125 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5126 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5127 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5128 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5129 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5130 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5131 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5132 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5133 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5134 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5135 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5136 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5137 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5138 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5139 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5140 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5141 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5142 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5143 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5144 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5145 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5146 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5147 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5148 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5149 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5150 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5151 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5152 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5153 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5154 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5155 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5156 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5157 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5158 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5159 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5160 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5161 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5162 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5163 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5164 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5165 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5166 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5167 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5168 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5169 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5170 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5171 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5172 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5173 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5174 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5175 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5176 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5177 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5178 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5179 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5180 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5181 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5182 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5183 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5184 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5185 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5186 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5187 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5188 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5189 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5190 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5191 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5192 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5193 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5194 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5195 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5196 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5197 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5198 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5199 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5200 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5201 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5202 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5203 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5204 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5205 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5206 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5207 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5208 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5209 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5210 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5211
20f0018d
JM
5212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5213 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5214
b3b099af
JM
5215 [BZ #14914]
5216 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5217 whole low double instead of just low 47 bits when splitting values
5218 into two parts.
5219
029264d1
AM
52202012-12-03 Allan McRae <allan@archlinux.org>
5221
5222 * manual/stdio.texi (Predefined Printf Handlers): Remove
5223 @hsep and @vsep usage.
5224
c9d6789e
MF
52252012-12-03 Mike Frysinger <vapier@gentoo.org>
5226
5227 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5228 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5229
4b7634a5
JL
52302012-12-03 Jeff Law <law@redhat.com>
5231
5232 * time/sys/time.h (settimeofday): Do not mark TV argument
5233 as __nonnull.
5234
eb6cbd24
MF
52352012-12-01 Mike Frysinger <vapier@gentoo.org>
5236
5237 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5238 when currently writing and seek to current position when not.
5239 * libio/Makefile (tests): Remove bug-fclose1.
5240 * libio/bug-fclose1.c: Delete.
5241
f638872a
JM
52422012-12-01 Joseph Myers <joseph@codesourcery.com>
5243
5244 * manual/arith.texi (feenableexcept): Fix typo.
5245 (fedisableexcept): Likewise.
5246
48085d14
RM
52472012-11-30 Roland McGrath <roland@hack.frob.com>
5248
5249 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5250 second, differently-typed declaration, rather than a cast.
5251
1a538b9f
SP
52522012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5253
5254 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5255 * include/rpc/svc.h: ... here.
5256
d07f2ff1 52572012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5258
5259 [BZ #13013]
5260 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5261 depending n and resplen2 to catch cases where answer
5262 equals answerp2.
5263
c93ec1f0
CD
52642012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5265
5266 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5267 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5268
37db69de
MF
52692012-11-29 Mike Frysinger <vapier@gentoo.org>
5270
5271 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5272
e10c4e4f
RM
52732012-11-29 Roland McGrath <roland@hack.frob.com>
5274
5275 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5276
2af1b328
JL
52772012-11-28 Jeff Law <law@redhat.com>
5278
5279 [BZ #13761]
5280 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5281 dataset_temporary. Track alloca usage into alloca_used.
5282 If dataset is large allocate and release it via malloc/free.
5283
111db5b1
FW
52842012-06-04 Florian Weimer <fweimer@redhat.com>
5285
f06cc227 5286 [BZ #14197]
111db5b1
FW
5287 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5288
dd694abd
DM
52892012-11-28 David S. Miller <davem@davemloft.net>
5290
5291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5292
9984dd01
JM
52932012-11-28 Joseph Myers <joseph@codesourcery.com>
5294
5295 [BZ #14803]
5296 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5297 of pi/2 rounded to nearest to 64 bits.
5298 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5299 nearest to 64 bits.
5300 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5301 bits.
5302
14bc93a9
JL
53032012-11-28 Jeff Law <law@redhat.com>
5304 Martin Osvald <mosvald@redhat.com>
5305
5306 [BZ #14889]
5307 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5308 * sunrpc/svc.c: Include time.h.
5309 (__svc_accept_failed): New function.
5310 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5311 any reason other than EINTR, call __svc_accept_failed.
5312 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5313 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5314
e3c6aa3a
AS
53152012-11-28 Andreas Schwab <schwab@suse.de>
5316
5317 * scripts/abilist.awk: Also handle indirect functions in .opd
5318 section.
5319
1bead169
JM
53202012-11-28 Joseph Myers <joseph@codesourcery.com>
5321
5322 [BZ #13881]
5323 * sysdeps/x86/fpu/powl_helper.c: New file.
5324 * sysdeps/x86/fpu/Makefile: Likewise.
5325 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5326 (p3): New object.
5327 (__ieee754_powl): Use __powl_helper for finite arguments except
5328 integer exponents below 8.
5329 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5330 (p3): New object.
5331 (__ieee754_powl): Use __powl_helper for finite arguments except
5332 integer exponents below 8.
5333 * math/libm-test.inc (pow_test): Add more tests and enable some
5334 previously disabled tests.
5335 * sysdeps/i386/fpu/libm-test-ulps: Update.
5336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5337
0817d63d
SP
53382012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5339 Carlos O'Donell <carlos_odonell@mentor.com>
5340
5341 * nss/makedb.c (is_prime): Assert that input is odd and greater
5342 than 4. Note that fact in a comment too.
5343 (next_prime): Add 4 to input.
5344
de2fd463
SP
53452012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5346
5347 [BZ #11741]
5348 * libio/Makefile (tests): Add test case tst-fwrite-error.
5349 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5350 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5351 * libio/tst-fwrite-error.c: New test case.
5352
c515fb51
L
53532012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5354
5355 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5356 before casting to void *.
5357 * include/libc-internal.h (__pointer_type): New macro.
5358 (__integer_if_pointer_type_sub): Likewise.
5359 (__integer_if_pointer_type): Likewise.
5360 (cast_to_integer): Likewise.
5361 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5362 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5363 before casting to atomic64_t.
5364 (atomic_exchange_acq): Likewise.
5365 (__arch_exchange_and_add_body): Likewise.
5366 (__arch_add_body): Likewise.
5367 (atomic_add_negative): Likewise.
5368 (atomic_add_zero): Likewise.
5369
4cf77aa9
JM
53702012-11-26 Joseph Myers <joseph@codesourcery.com>
5371
5372 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5373 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5374 (add_fdes): Likewise.
5375 (linear_search_fdes): Likewise.
5376 (binary_search_unencoded_fdes): Likewise.
5377
d260b3b4
AS
53782012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5379
5380 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5381
67060746
AC
53822012-11-24 Adam Conrad <adconrad@0c3.net>
5383
5384 * configure.in: Autodetect C++ header directories.
5385 * configure: Regenerated.
5386
800938a1
MF
53872012-11-23 Mike Frysinger <vapier@gentoo.org>
5388
5389 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5390
4e6e34e6
AS
53912012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5392
5393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5394
7c7feb47
JM
53952012-11-22 Joseph Myers <joseph@codesourcery.com>
5396
7184dcdf
JM
5397 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5398 LDBL_MANT_DIG == 106]: Disable some tests.
5399 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5400 Likewise.
5401 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5402 Likewise.
5403
0a42601f
JM
5404 [BZ #14871]
5405 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5406 input for small inputs. Return +/- pi/2 for large inputs.
5407 * math/libm-test.inc (atan_test): Add more tests.
5408
79c9b9fe
JM
5409 * sysdeps/generic/unwind-dw2-fde-glibc.c
5410 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5411 __attribute__ ((unused)).
5412
c60d3bf2
JM
5413 [BZ #14645]
5414 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5415 x * y if x and y are nonzero and z is zero.
5416
ef1e0867
JM
5417 [BZ #14811]
5418 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5419 nonzero exponents with absolute value below 0x1p-117 to +/-
5420 0x1p-117.
5421
1468ded3
JM
5422 [BZ #14869]
5423 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5424 up arguments below 2**-450, not just those below 2**-500.
5425 * math/libm-test.inc (hypot_test): Add another test.
5426
8e27e3cc
JM
5427 [BZ #14868]
5428 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5429 Return a+b for ratio over 2**120, not 2**60.
5430 * math/libm-test.inc (hypot_test): Add another test.
5431
c9c0279b
JM
5432 * math/libm-test.inc (clog_test): Use
5433 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5434 (clog10_test): Likewise.
5435
7c7feb47
JM
5436 [BZ #6778]
5437 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5438
fff1530e
AS
54392012-11-22 Andreas Schwab <schwab@suse.de>
5440
5441 * sysdeps/i386/fpu/libm-test-ulps: Update.
5442
94558d30
PT
54432012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5444
5445 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5446 printf output with newline.
5447
7e1be741
L
54482012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5449
6bfea974
L
5450 [BZ #14865]
5451 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5452 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5453 -z nodlopen, -z initfirst and -z execstack support.
5454 * configure: Regenerated.
5455
7e1be741
L
5456 * elf/elf.h (DF_1_NODIRECT): New macro.
5457 (DF_1_IGNMULDEF): Likewise.
5458 (DF_1_NOKSYMS): Likewise.
5459 (DF_1_NOHDR): Likewise.
5460 (DF_1_EDITED): Likewise.
5461 (DF_1_NORELOC): Likewise.
5462 (DF_1_SYMINTPOSE): Likewise.
5463 (DF_1_GLOBAUDIT): Likewise.
5464 (DF_1_SINGLETON): Likewise.
5465 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5466 DT_1_SUPPORTED_MASK bits.
5467 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5468
105ce2ce
CD
54692012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5470
5471 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5472
123be9de
TS
54732012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5474
d072f3f7
TS
5475 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5476 macro.
5477
123be9de
TS
5478 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5479 (sendmmsg): Move declarations...
5480 * socket/sys/socket.h: ... here.
5481 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5482 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5483 include it from...
5484 * socket/recvmmsg.c: ... this new file.
5485 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5486 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5487 definition of __sendmmsg hidden.
5488 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5489 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5490 Move ENOSYS stub into and include it from...
5491 * socket/sendmmsg.c: ... this new file.
5492 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5493 (sysdep_routines): Move recvmmsg and sendmmsg...
5494 * socket/Makefile (routines): ... here.
5495 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5496 (GLIBC_PRIVATE): Add __sendmmsg.
5497 * include/sys/socket.h (__sendmmsg): Add declarations.
5498 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5499 sendmmsg.
5500
cf9a5d18
JM
55012012-11-20 Joseph Myers <joseph@codesourcery.com>
5502
5503 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5504 variable I1 with __attribute__ ((unused)).
5505 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5506
ecd4caf9
JM
55072012-11-19 Joseph Myers <joseph@codesourcery.com>
5508
be14d48f
JM
5509 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5510 DUMMY variables with __attribute__ ((unused)).
5511
ecd4caf9
JM
5512 * bits/byteswap.h: Include <bits/types.h>.
5513 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5514
986cab95
PT
55152012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5516
5517 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5518 string_t. Do not manually set errno.
5519 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5520 length with __strnlen. Make sure to both set errno and return it on
5521 failure.
5522
6d33cc9d
DM
55232012-11-19 David S. Miller <davem@davemloft.net>
5524
5525 With help from Joseph Myers.
5526 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5527 very large arguments properly.
5528 * math/libm-test.inc (atan_test): New tests.
5529 (atan2_test): New tests.
5530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5532
ee663277
JM
55332012-11-19 Joseph Myers <joseph@codesourcery.com>
5534
877f2d8e
JM
5535 [BZ #14856]
5536 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5537 Define to 3.
5538
116fc08a
JM
5539 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5540 [POSIX] (EADDRNOTAVAIL): Likewise.
5541 [POSIX] (EAFNOSUPPORT): Likewise.
5542 [POSIX] (EALREADY): Likewise.
5543 [POSIX] (ECONNABORTED): Likewise.
5544 [POSIX] (ECONNREFUSED): Likewise.
5545 [POSIX] (ECONNRESET): Likewise.
5546 [POSIX] (EDESTADDRREQ): Likewise.
5547 [POSIX] (EDQUOT): Likewise.
5548 [POSIX] (EHOSTUNREACH): Likewise.
5549 [POSIX] (EIDRM): Likewise.
5550 [POSIX] (EISCONN): Likewise.
5551 [POSIX] (ELOOP): Likewise.
5552 [POSIX] (EMULTIHOP): Likewise.
5553 [POSIX] (ENETDOWN): Likewise.
5554 [POSIX] (ENETUNREACH): Likewise.
5555 [POSIX] (ENOBUFS): Likewise.
5556 [POSIX] (ENODATA): Likewise.
5557 [POSIX] (ENOLINK): Likewise.
5558 [POSIX] (ENOMSG): Likewise.
5559 [POSIX] (ENOPROTOOPT): Likewise.
5560 [POSIX] (ENOSR): Likewise.
5561 [POSIX] (ENOSTR): Likewise.
5562 [POSIX] (ENOTCONN): Likewise.
5563 [POSIX] (ENOTSOCK): Likewise.
5564 [POSIX] (EOPNOTSUPP): Likewise.
5565 [POSIX] (EOVERFLOW): Likewise.
5566 [POSIX] (EPROTO): Likewise.
5567 [POSIX] (EPROTONOSUPPORT): Likewise.
5568 [POSIX] (EPROTOTYPE): Likewise.
5569 [POSIX] (ESTALE): Likewise.
5570 [POSIX] (ETIME): Likewise.
5571 [POSIX] (ETXTBSY): Likewise.
5572 [POSIX] (EWOULDBLOCK): Likewise.
5573 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5574 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5575 [POSIX] (SEEK_CUR): Likewise.
5576 [POSIX] (SEEK_END): Likewise.
5577 [POSIX || UNIX98] (mode_t): Do not require.
5578 [POSIX] (off_t): Likewise.
5579 [POSIX] (pid_t): Likewise.
5580 [POSIX] (sys/stat.h): Do not allow header.
5581 [POSIX] (unistd.h): Likewise.
5582 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5583 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5584 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5585 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5586 require.
5587 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5588 sigevent): Specify elements.
5589 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5590 entry.
5591 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5592 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5593
a483863f
JM
5594 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5595 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5596 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5597 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5598 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5599 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5600 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5601 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5602 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5603 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5604 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5605 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5606 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5607 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5608 Likewise.
5609 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5610 Likewise.
5611 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5612 Likewise.
5613 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5614 Likewise.
5615 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5616 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5617 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5618 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5619 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5620 Specify lower bound on value.
5621 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5622 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5623 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5624 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5625 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5626 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5627 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5628 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5629 value.
5630 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5631 as optional.
5632 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5633 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5634 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5635 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5636 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5637 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5638 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5639 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5640 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5641 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5642 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5643 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5644 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5645 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5646 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5647 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5648 entry.
5649 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5650 optional.
5651 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5652 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5653 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5654 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5655 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5656 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5657 Likewise.
5658 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5659 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5660 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5661 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5662 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5663 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5664 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5665 as optional.
5666 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5667 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5668 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5669 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5670 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5671 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5672 specify as optional.
5673 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5674 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5675 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5676 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5677 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5678 [XPG3] (NL_LANGMAX): Likewise.
5679 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5680 [POSIX || XPG3] (NL_NMAX): Likewise.
5681 [POSIX || XPG3] (NL_SETMAX): Likewise.
5682 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5683 [XPG3] (NZERO): Likewise.
5684 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5685 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5686 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5687 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5688 (REG_ERANGE): Expect.
5689 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5690 optional-constant.
5691 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5692 Use (void) in prototype.
5693 [POSIX] (*_t): Allow.
5694 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5695 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5696 (WRDE_BADVAL): Expect.
5697
5ba924e3
JM
5698 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5699 expect.
5700 [XPG3 || XPG4] (O_RSYNC): Likewise.
5701 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5702 Likewise.
5703 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5704 [XPG3 || XPG4] (sigqueue): Likewise.
5705 [XPG3 || XPG4] (sigtimedwait): Likewise.
5706 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5707 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5708 [XPG3 || XPG4] (vsnprintf): Likewise.
5709 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5710 Likewise.
5711 [XPG3 || XPG4] (blksize_t): Likewise.
5712 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5713 Likewise.
5714 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5715 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5716 [XPG3 || XPG4] (struct itimerspec): Likewise.
5717 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5718 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5719 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5720 [XPG3 || XPG4] (clockid_t): Likewise.
5721 [XPG3 || XPG4] (timer_t): Likewise.
5722 [XPG3 || XPG4] (clock_getres): Likewise.
5723 [XPG3 || XPG4] (clock_gettime): Likewise.
5724 [XPG3 || XPG4] (clock_settime): Likewise.
5725 [XPG3 || XPG4] (nanosleep): Likewise.
5726 [XPG3 || XPG4] (timer_create): Likewise.
5727 [XPG3 || XPG4] (timer_delete): Likewise.
5728 [XPG3 || XPG4] (timer_gettime): Likewise.
5729 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5730 [XPG3 || XPG4] (timer_settime): Likewise.
5731 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5732 [XPG3 || XPG4] (getlogin_r): Likewise.
5733 [XPG3 || XPG4] (pread): Likewise.
5734 [XPG3 || XPG4] (pthread_atfork): Likewise.
5735 [XPG3 || XPG4] (pwrite): Likewise.
5736
ee663277
JM
5737 [BZ #14835]
5738 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5739 <bits/siginfo.h>.
5740
942caa16
PT
57412012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5742
e19af380
PT
5743 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5744 finalizing MALLSTREAM.
5745
942caa16
PT
5746 * sysdeps/mach/hurd/syncfs.c: New file.
5747
cfde9b46
SP
57482012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5749
5750 [BZ #14719]
5751 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5752 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5753 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5754 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5755 (_nss_dns_gethostbyname4_r): Likewise.
5756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5757 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5758
f6da27e5
PH
57592012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5760
5761 [BZ #13763]
5762 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5763
6665d4a2
SM
57642012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5765
1f51ee92
SM
5766 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5767 * elf/cache.c (print_entry): Print ",AArch64" for
5768 FLAG_AARCH64_LIB64
5769
6665d4a2
SM
5770 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5771 * elf/cache.c (print_entry): Print ",hard-float" for
5772 FLAG_ARM_LIBHF.
5773
05b227bd
DM
57742012-11-18 David S. Miller <davem@davemloft.net>
5775
5776 With help from Joseph Myers.
5777 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5778 cutoff to 2**-13.
5779 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5780 cutoff to 2**-25.
5781 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5782 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5783 small.
5784 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5785 * math/libm-test.inc (y0_test): New tests.
5786 (y1_test): New tests.
5787 * sysdeps/i386/fpu/libm-test-ulps: Update.
5788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5790
786b0b67
AS
57912012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5792
5793 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5794 64-bit targets.
5795 * configure: Regenerated.
5796
8e18b86d
DM
57972012-11-17 David S. Miller <davem@davemloft.net>
5798
5799 [BZ #14811]
5800 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5801 nonzero exponents with absolute value below 0x1p-128 to +/-
5802 0x1p-128.
5803
531f1ae0
JM
58042012-11-17 Joseph Myers <joseph@codesourcery.com>
5805
12df29e2
JM
5806 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5807
150dc1a0
JM
5808 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5809
531f1ae0
JM
5810 * posix/getconf-speclist.c: New file.
5811 * posix/posix-envs.def: Likewise.
5812 * posix/confstr.c (START_ENV_GROUP): New macro.
5813 (END_ENV_GROUP): Likewise.
5814 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5815 (KNOWN_PRESENT_ENV_STRING): Likewise.
5816 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5817 (UNKNOWN_ENVIRONMENT): Likewise.
5818 (confstr): Include posix-envs.def instead of handling
5819 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5820 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5821 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5822 (END_ENV_GROUP): Likewise.
5823 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5824 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5825 (UNKNOWN_ENVIRONMENT): Likewise.
5826 (__sysconf): Include posix-envs.def instead of handling associated
5827 cases directly here.
5828 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5829 preprocessing getconf-speclist.c rather than running getconf or
5830 generating empty file.
5831
a93f9cbc
PT
58322012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5833
5834 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5835
d64d9f87
AL
58362012-11-16 Andrej Lajovic <natrij@gmail.com>
5837
5838 [BZ #14672]
5839 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5840
447885eb
DM
58412012-11-16 David S. Miller <davem@davemloft.net>
5842
5843 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5844 smaller than LDBL_EPSILON/2.0L, just return xm1.
5845
bcbf9830
L
58462012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5847
5848 * elf/tst-array1.c (init): Set constructor priority to 1000.
5849 (fini): Set destructor priority to 1000.
5850 * elf/tst-array2dep.c: Likewise.
5851
2b766585
SP
58522012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5853
5854 [BZ #11741]
5855 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5856 (_IO_new_file_xsputn): Also return EOF if none of the input
5857 data was written when overflow failed.
5858 * libio/iopadn.c (_IO_padn): Likewise.
5859 * libio/iowpadn.c (_IO_wpadn): Likewise.
5860 * stdio-common/tst-put-error.c: Add copyright notice.
5861 (do_test): Add case for printing padded string.
5862 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5863 _IO_padn returned error.
5864 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5865 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5866 return EOF.
5867
b1848fde
SP
58682012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5869
5870 * libio/libioP.h: Add comment note that the references to C++
5871 bits are now obsolete.
5872
2fd89785
MS
58732012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5874
5875 * math/libm-test.inc (check_complex): Use asprintf.
5876
e3ea5409
JM
58772012-11-14 Joseph Myers <joseph@codesourcery.com>
5878
5879 * debug/pcprofiledump.c (print_version): Update copyright year.
5880 * malloc/memusagestat.c (print_version): Likewise.
5881
2e64d265
L
58822012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5883
5884 [BZ #14831]
5885 * elf/Makefile (tests): Add tst-audit8.
5886 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5887 ($(objpfx)tst-audit8.out): New target.
5888 (tst-audit8-ENV): New variable.
5889 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5890 audit if l_reloc_result is NULL.
5891 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5892 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5893 * elf/tst-audit8.c: New file.
5894
c485e4d2
MS
58952012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5896
5897 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5898 * misc/Makefile (CFLAGS-select.c): Define.
5899 * posix/Makefile (CFLAGS-pause.c): Define.
5900
3a0d900a
DM
59012012-11-13 David S. Miller <davem@davemloft.net>
5902
5903 * crypt/Makefile: Move test targets after toplevel Rules
5904 inclusion. Grab any necessary sysdep routines when linking.
5905 * crypt/md5.c (md5_process_block): Remove define, we will always
5906 name it __md5_process_block.
5907 (md5_finish_ctx): Update md5_process_block call.
5908 (md5_stream): Likewise.
5909 (md5_process_bytes): Likewise.
5910 (md5_process_block): Rename to __md5_process_block and move to ...
5911 * crypt/md5-block.c: ... here.
5912 * crypt/sha256.c (sha256_process_block): Move to ...
5913 * crypt/sha256-block.c: ... here.
5914 * crypt/sha512.c (sha512_process_block): Move to ...
5915 * crypt/sha512-block.c: ... here.
5916 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5917 path.
5918 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5919 * sysdeps/sparc/sparc64/multiarch/Makefile
5920 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5921 crypt subdir.
5922 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5923 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5924 multiarch changes.
5925 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5926 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5927 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5928 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5929 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5930 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5931 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5932 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5933 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5934 file.
5935 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5936 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5937 file.
5938 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5939
8ca89318
JM
59402012-11-13 Joseph Myers <joseph@codesourcery.com>
5941
e27d476a
JM
5942 * timezone/tzselect.ksh: Update from tzcode git revision
5943 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5944 * timezone/zdump.c: Likewise.
5945 * timezone/zic.c: Likewise.
5946 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5947 in TZVERSION setting, not $(PKGVERSION).
5948 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5949 REPORT_BUGS_TO settings.
5950
8ca89318
JM
5951 [BZ #14838]
5952 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5953 macro.
5954
47594329
MS
59552012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5956
5957 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5958 detection to immediately after _FP_ROUND().
5959 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5960 bits are 0.
5961
640ac3f1
DM
59622012-11-11 David S. Miller <davem@davemloft.net>
5963
5964 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5965 inttypes.h
5966 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5967 __close rather than their public counterparts.
5968
3d2577bb
JM
59692012-11-10 Joseph Myers <joseph@codesourcery.com>
5970
5971 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5972 file.
5973 [UNIX98] (sem_timedwait): Do not expect.
5974 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5975 [XPG4 || UNIX98] (sockatmark): Do not expect.
5976 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5977 (clock_getcpuclockid): Do not expect.
5978 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5979 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5980 Do not expect.
5981 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5982 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5983 [UNIX98] (vwscanf): Likewise.
5984 [UNIX98] (vswscanf): Likewise.
5985
fb1ae1ee
JM
59862012-11-09 Joseph Myers <joseph@codesourcery.com>
5987
9ec6f8bd
JM
5988 * timezone/version.h: Remove file.
5989 * timezone/README: Do not refer to version.h.
5990 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5991 $(objpfx)version.h.
5992 ($(objpfx)zdump.o): Likewise.
c3f81911 5993 ($(objpfx)version.h): New target.
9ec6f8bd 5994
0aa8f8a1
JM
5995 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5996 2012i.
5997 * timezone/README: Don't mention modification to tzselect.ksh.
5998 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5999 work on unmodified tzselect.ksh. Substitute version numbers in
6000 tzselect.ksh.
6001
4e87147f
JM
6002 * Makefile (format-me): Remove.
6003 (INSTALL): Adjust indentation. Use commands directly instead of
6004 using $(format-me).
6005
8b748aed
JM
6006 * aclocal.m4 (ACX_PKGVERSION): New macro.
6007 (ACX_BUGURL): Likewise.
6008 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6009 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6010 (REPORT_BUGS_TO): Likewise.
6011 * configure: Regenerated.
6012 * config.h.in (PKGVERSION): New macro.
6013 (REPORT_BUGS_TO): Likewise.
6014 * config.make.in (PKGVERSION): New variable.
6015 (PKGVERSION_TEXI): Likewise.
6016 (REPORT_BUGS_TO): Likewise.
6017 (REPORT_BUGS_TEXI): Likewise.
6018 * Makefile (format-me): Use -I$(common-objpfx)manual.
6019 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6020 ($(common-objpfx)manual/%): New target.
6021 (manual/%): Remove target.
6022 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6023 (print_version): Use PKGVERSION.
6024 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6025 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6026 and REPORT_BUGS_TO.
6027 ($(objpfx)xtrace): Likewise.
6028 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6029 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6030 (print_version): Use PKGVERSION.
6031 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6032 (do_version): Use PKGVERSION.
6033 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6034 REPORT_BUGS_TO.
6035 (common-ldd-rewrite): Likewise.
6036 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6037 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6038 (print_version): Use PKGVERSION.
6039 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6040 * elf/pldd.c (argp_program_bug_address): Remove variable.
6041 (more_help): New function.
6042 (argp): Use more_help.
6043 (print_version): Use PKGVERSION.
6044 * elf/sln.c (main): Use PKGVERSION.
6045 (usage): Use REPORT_BUGS_TO.
6046 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6047 (top level): Use PKGVERSION.
6048 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6049 (print_version): Use PKGVERSION.
6050 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6051 (print_version): Use PKGVERSION.
6052 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6053 (print_version): Use PKGVERSION.
6054 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6055 (print_version): Use PKGVERSION.
6056 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6057 (print_version): Use PKGVERSION.
6058 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6059 (print_version): Use PKGVERSION.
6060 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6061 and BUGURL.
6062 ($(objpfx)memusage): Likewise.
6063 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6064 (do_version): Use PKGVERSION.
6065 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6066 (print_version): Use PKGVERSION.
6067 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6068 ($PKGVERSION): New variable.
6069 ($REPORT_BUGS_TO): Likewise.
6070 (usage): Use $REPORT_BUGS_TO.
6071 (top level): Use $PKGVERSION.
6072 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6073 ($(objpfx)pkgvers.texi): New rule.
6074 ($(objpfx)stamp-pkgvers): Likewise.
6075 * manual/install.texi: Include pkgvers.texi.
6076 (--with-pkgversion): Document new configure option.
6077 (--with-bugurl): Likewise.
6078 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6079 than necessarily for this particular distribution. Use
6080 REPORT_BUGS_TO for where to report bugs.
6081 * INSTALL: Regenerated.
6082 * manual/libc.texinfo: Include pkgvers.texi.
6083 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6084 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6085 (print_version): Use PKGVERSION.
6086 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6087 (print_version): Use PKGVERSION.
6088 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6089 (print_version): Use PKGVERSION.
6090 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6091 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6092 macro.
6093 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6094 (print_version): Use PKGVERSION.
6095 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6096 (print_version): Use PKGVERSION.
6097 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6098 and PKGVERSION.
6099
92e4b6a9
JM
6100 * timezone/checktab.awk: Update from tzcode 2012i.
6101 * timezone/ialloc.c: Likewise.
6102 * timezone/private.h: Likewise.
6103 * timezone/scheck.c: Likewise.
6104 * timezone/tzfile.h: Likewise.
6105 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6106 (TZVERSION): Hardcode tzcode version number.
6107 * timezone/zdump.c: Update from tzcode 2012i.
6108 * timezone/zic.c: Likewise.
6109 * timezone/version.h: New file.
6110 * timezone/README: Describe version.h. Update upstream location.
6111
9bde902c
JM
6112 [BZ #14824]
6113 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6114 (mktemp): Enable declaration.
6115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6116 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6118 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6119 Likewise.
6120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6121 Likewise.
6122 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6123 Likewise.
6124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6125 Likewise.
6126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6127 Likewise.
6128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6129 Likewise.
6130
fb1ae1ee
JM
6131 [BZ #14821]
6132 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6133 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6134 for copies of such integer values.
6135 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6136 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6137
2c1adbcb
AJ
61382012-11-09 Andreas Jaeger <aj@suse.de>
6139
6140 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6141 definitions and declarations that are provided by
6142 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6143
d0f8457e
AK
61442012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6145
3a235abb 6146 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6147 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6148 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6149 definition.
6150
57241e26
MS
61512012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6152
6153 * elf/elf.h: Update comment before AArch64 relocations.
6154
60e8270d
DM
61552012-11-07 David S. Miller <davem@davemloft.net>
6156
6157 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6158 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6159 (__start_context): Declare.
6160 (__makecontext_ret): Delete.
6161 (__makecontext): Hook up __start_context instead of
6162 __makecontext_ret.
6163 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6164 (sysdep_routines): Add __start_context when in stdlib.
6165
0fbb0fbc
JM
61662012-11-07 Joseph Myers <joseph@codesourcery.com>
6167
6168 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6169 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6170 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6171 hardcoded "nm".
6172 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6173 (READELF): New variable. Use it instead of hardcoded "readelf".
6174
eb48db7e
L
61752012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6176
6177 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6178 * sysdeps/x86/Makefile: Here.
6179 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6180 * sysdeps/x86/tst-xmmymm.sh: This.
6181
05bcf62a
JM
61822012-11-07 Joseph Myers <joseph@codesourcery.com>
6183
c4b6cf53
JM
6184 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6185 expectations.
6186 [UNIX98] (pthread_barrier_t): Do not expect.
6187 [UNIX98] (pthread_barrierattr_t): Likewise.
6188 [UNIX98] (pthread_spinlock_t): Likewise.
6189 [UNIX98] (pthread_barrier_destroy): Likewise.
6190 [UNIX98] (pthread_barrier_init): Likewise.
6191 [UNIX98] (pthread_barrier_wait): Likewise.
6192 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6193 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6194 [UNIX98] (pthread_barrierattr_init): Likewise.
6195 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6196 [UNIX98] (pthread_getcpuclockid): Likewise.
6197 [UNIX98] (pthread_mutex_timedlock): Likewise.
6198 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6199 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6200 [UNIX98] (pthread_sigmask): Likewise.
6201 [UNIX98] (pthread_spin_destroy): Likewise.
6202 [UNIX98] (pthread_spin_init): Likewise.
6203 [UNIX98] (pthread_spin_lock): Likewise.
6204 [UNIX98] (pthread_spin_trylock): Likewise.
6205 [UNIX98] (pthread_spin_unlock): Likewise.
6206 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6207 Do not expect.
6208 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6209 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6210 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6211 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6212 [XPG3 || XPG4] (pthread_key_t): Likewise.
6213 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6214 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6215 [XPG3 || XPG4] (pthread_once_t): Likewise.
6216 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6217 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6218 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6219 [XPG3 || XPG4] (pthread_t): Likewise.
6220
cbe6e120
JM
6221 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6222 not expect.
6223 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6224
1b126443
JM
6225 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6226 Change function return type to int.
6227
b961a573
JM
6228 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6229 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6230 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6231 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6232 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6233 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6234 [!POSIX] (posix_madvise): Likewise.
6235 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6236 && !UNIX98].
6237 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6238 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6239 (mode_t): Likewise.
6240 (posix_mem_offset): Likewise.
6241 (posix_typed_mem_get_info): Likewise.
6242 (posix_typed_mem_open): Likewise.
6243
9e188909
JM
6244 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6245 Change condition to [XOPEN2K8].
6246
05bcf62a
JM
6247 * conform/conformtest.pl: Preprocess allow-header data with -x c
6248 instead of from stdin.
6249 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6250 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6251 [C99-based standards] (cerfc): Likewise.
6252 [C99-based standards] (cexp2): Likewise.
6253 [C99-based standards] (cexpm1): Likewise.
6254 [C99-based standards] (clog10): Likewise.
6255 [C99-based standards] (clog1p): Likewise.
6256 [C99-based standards] (clog2): Likewise.
6257 [C99-based standards] (clgamma): Likewise.
6258 [C99-based standards] (ctgamma): Likewise.
6259 [C99-based standards] (cerff): Likewise.
6260 [C99-based standards] (cerfcf): Likewise.
6261 [C99-based standards] (cexp2f): Likewise.
6262 [C99-based standards] (cexpm1f): Likewise.
6263 [C99-based standards] (clog10f): Likewise.
6264 [C99-based standards] (clog1pf): Likewise.
6265 [C99-based standards] (clog2f): Likewise.
6266 [C99-based standards] (clgammaf): Likewise.
6267 [C99-based standards] (ctgammaf): Likewise.
6268 [C99-based standards] (cerfl): Likewise.
6269 [C99-based standards] (cerfcl): Likewise.
6270 [C99-based standards] (cexp2l): Likewise.
6271 [C99-based standards] (cexpm1l): Likewise.
6272 [C99-based standards] (clog10l): Likewise.
6273 [C99-based standards] (clog1pl): Likewise.
6274 [C99-based standards] (clog2l): Likewise.
6275 [C99-based standards] (clgammal): Likewise.
6276 [C99-based standards] (ctgammal): Likewise.
6277 * conform/data/inttypes.h-data [C99-based standards]: Include
6278 stdint.h-data. Remove all expectations for stdint.h contents.
6279 [C99-based standards] (PRI*): Do not allow.
6280 [C99-based standards] (SCN*): Likewise.
6281 [C99-based standards] (*_t): Likewise.
6282 [C99-based-standards] (PRId8): Expect macro.
6283 [C99-based-standards] (PRIi8): Likewise.
6284 [C99-based-standards] (PRIo8): Likewise.
6285 [C99-based-standards] (PRIu8): Likewise.
6286 [C99-based-standards] (PRIx8): Likewise.
6287 [C99-based-standards] (PRIX8): Likewise.
6288 [C99-based-standards] (SCNd8): Likewise.
6289 [C99-based-standards] (SCNi8): Likewise.
6290 [C99-based-standards] (SCNo8): Likewise.
6291 [C99-based-standards] (SCNu8): Likewise.
6292 [C99-based-standards] (SCNx8): Likewise.
6293 [C99-based-standards] (PRIdLEAST8): Likewise.
6294 [C99-based-standards] (PRIiLEAST8): Likewise.
6295 [C99-based-standards] (PRIoLEAST8): Likewise.
6296 [C99-based-standards] (PRIuLEAST8): Likewise.
6297 [C99-based-standards] (PRIxLEAST8): Likewise.
6298 [C99-based-standards] (PRIXLEAST8): Likewise.
6299 [C99-based-standards] (SCNdLEAST8): Likewise.
6300 [C99-based-standards] (SCNiLEAST8): Likewise.
6301 [C99-based-standards] (SCNoLEAST8): Likewise.
6302 [C99-based-standards] (SCNuLEAST8): Likewise.
6303 [C99-based-standards] (SCNxLEAST8): Likewise.
6304 [C99-based-standards] (PRIdFAST8): Likewise.
6305 [C99-based-standards] (PRIiFAST8): Likewise.
6306 [C99-based-standards] (PRIoFAST8): Likewise.
6307 [C99-based-standards] (PRIuFAST8): Likewise.
6308 [C99-based-standards] (PRIxFAST8): Likewise.
6309 [C99-based-standards] (PRIXFAST8): Likewise.
6310 [C99-based-standards] (SCNdFAST8): Likewise.
6311 [C99-based-standards] (SCNiFAST8): Likewise.
6312 [C99-based-standards] (SCNoFAST8): Likewise.
6313 [C99-based-standards] (SCNuFAST8): Likewise.
6314 [C99-based-standards] (SCNxFAST8): Likewise.
6315 [C99-based-standards] (PRId16): Likewise.
6316 [C99-based-standards] (PRIi16): Likewise.
6317 [C99-based-standards] (PRIo16): Likewise.
6318 [C99-based-standards] (PRIu16): Likewise.
6319 [C99-based-standards] (PRIx16): Likewise.
6320 [C99-based-standards] (PRIX16): Likewise.
6321 [C99-based-standards] (SCNd16): Likewise.
6322 [C99-based-standards] (SCNi16): Likewise.
6323 [C99-based-standards] (SCNo16): Likewise.
6324 [C99-based-standards] (SCNu16): Likewise.
6325 [C99-based-standards] (SCNx16): Likewise.
6326 [C99-based-standards] (PRIdLEAST16): Likewise.
6327 [C99-based-standards] (PRIiLEAST16): Likewise.
6328 [C99-based-standards] (PRIoLEAST16): Likewise.
6329 [C99-based-standards] (PRIuLEAST16): Likewise.
6330 [C99-based-standards] (PRIxLEAST16): Likewise.
6331 [C99-based-standards] (PRIXLEAST16): Likewise.
6332 [C99-based-standards] (SCNdLEAST16): Likewise.
6333 [C99-based-standards] (SCNiLEAST16): Likewise.
6334 [C99-based-standards] (SCNoLEAST16): Likewise.
6335 [C99-based-standards] (SCNuLEAST16): Likewise.
6336 [C99-based-standards] (SCNxLEAST16): Likewise.
6337 [C99-based-standards] (PRIdFAST16): Likewise.
6338 [C99-based-standards] (PRIiFAST16): Likewise.
6339 [C99-based-standards] (PRIoFAST16): Likewise.
6340 [C99-based-standards] (PRIuFAST16): Likewise.
6341 [C99-based-standards] (PRIxFAST16): Likewise.
6342 [C99-based-standards] (PRIXFAST16): Likewise.
6343 [C99-based-standards] (SCNdFAST16): Likewise.
6344 [C99-based-standards] (SCNiFAST16): Likewise.
6345 [C99-based-standards] (SCNoFAST16): Likewise.
6346 [C99-based-standards] (SCNuFAST16): Likewise.
6347 [C99-based-standards] (SCNxFAST16): Likewise.
6348 [C99-based-standards] (PRId32): Likewise.
6349 [C99-based-standards] (PRIi32): Likewise.
6350 [C99-based-standards] (PRIo32): Likewise.
6351 [C99-based-standards] (PRIu32): Likewise.
6352 [C99-based-standards] (PRIx32): Likewise.
6353 [C99-based-standards] (PRIX32): Likewise.
6354 [C99-based-standards] (SCNd32): Likewise.
6355 [C99-based-standards] (SCNi32): Likewise.
6356 [C99-based-standards] (SCNo32): Likewise.
6357 [C99-based-standards] (SCNu32): Likewise.
6358 [C99-based-standards] (SCNx32): Likewise.
6359 [C99-based-standards] (PRIdLEAST32): Likewise.
6360 [C99-based-standards] (PRIiLEAST32): Likewise.
6361 [C99-based-standards] (PRIoLEAST32): Likewise.
6362 [C99-based-standards] (PRIuLEAST32): Likewise.
6363 [C99-based-standards] (PRIxLEAST32): Likewise.
6364 [C99-based-standards] (PRIXLEAST32): Likewise.
6365 [C99-based-standards] (SCNdLEAST32): Likewise.
6366 [C99-based-standards] (SCNiLEAST32): Likewise.
6367 [C99-based-standards] (SCNoLEAST32): Likewise.
6368 [C99-based-standards] (SCNuLEAST32): Likewise.
6369 [C99-based-standards] (SCNxLEAST32): Likewise.
6370 [C99-based-standards] (PRIdFAST32): Likewise.
6371 [C99-based-standards] (PRIiFAST32): Likewise.
6372 [C99-based-standards] (PRIoFAST32): Likewise.
6373 [C99-based-standards] (PRIuFAST32): Likewise.
6374 [C99-based-standards] (PRIxFAST32): Likewise.
6375 [C99-based-standards] (PRIXFAST32): Likewise.
6376 [C99-based-standards] (SCNdFAST32): Likewise.
6377 [C99-based-standards] (SCNiFAST32): Likewise.
6378 [C99-based-standards] (SCNoFAST32): Likewise.
6379 [C99-based-standards] (SCNuFAST32): Likewise.
6380 [C99-based-standards] (SCNxFAST32): Likewise.
6381 [C99-based-standards] (PRId64): Likewise.
6382 [C99-based-standards] (PRIi64): Likewise.
6383 [C99-based-standards] (PRIo64): Likewise.
6384 [C99-based-standards] (PRIu64): Likewise.
6385 [C99-based-standards] (PRIx64): Likewise.
6386 [C99-based-standards] (PRIX64): Likewise.
6387 [C99-based-standards] (SCNd64): Likewise.
6388 [C99-based-standards] (SCNi64): Likewise.
6389 [C99-based-standards] (SCNo64): Likewise.
6390 [C99-based-standards] (SCNu64): Likewise.
6391 [C99-based-standards] (SCNx64): Likewise.
6392 [C99-based-standards] (PRIdLEAST64): Likewise.
6393 [C99-based-standards] (PRIiLEAST64): Likewise.
6394 [C99-based-standards] (PRIoLEAST64): Likewise.
6395 [C99-based-standards] (PRIuLEAST64): Likewise.
6396 [C99-based-standards] (PRIxLEAST64): Likewise.
6397 [C99-based-standards] (PRIXLEAST64): Likewise.
6398 [C99-based-standards] (SCNdLEAST64): Likewise.
6399 [C99-based-standards] (SCNiLEAST64): Likewise.
6400 [C99-based-standards] (SCNoLEAST64): Likewise.
6401 [C99-based-standards] (SCNuLEAST64): Likewise.
6402 [C99-based-standards] (SCNxLEAST64): Likewise.
6403 [C99-based-standards] (PRIdFAST64): Likewise.
6404 [C99-based-standards] (PRIiFAST64): Likewise.
6405 [C99-based-standards] (PRIoFAST64): Likewise.
6406 [C99-based-standards] (PRIuFAST64): Likewise.
6407 [C99-based-standards] (PRIxFAST64): Likewise.
6408 [C99-based-standards] (PRIXFAST64): Likewise.
6409 [C99-based-standards] (SCNdFAST64): Likewise.
6410 [C99-based-standards] (SCNiFAST64): Likewise.
6411 [C99-based-standards] (SCNoFAST64): Likewise.
6412 [C99-based-standards] (SCNuFAST64): Likewise.
6413 [C99-based-standards] (SCNxFAST64): Likewise.
6414 [C99-based-standards] (PRIdMAX): Likewise.
6415 [C99-based-standards] (PRIiMAX): Likewise.
6416 [C99-based-standards] (PRIoMAX): Likewise.
6417 [C99-based-standards] (PRIuMAX): Likewise.
6418 [C99-based-standards] (PRIxMAX): Likewise.
6419 [C99-based-standards] (PRIXMAX): Likewise.
6420 [C99-based-standards] (SCNdMAX): Likewise.
6421 [C99-based-standards] (SCNiMAX): Likewise.
6422 [C99-based-standards] (SCNoMAX): Likewise.
6423 [C99-based-standards] (SCNuMAX): Likewise.
6424 [C99-based-standards] (SCNxMAX): Likewise.
6425 [C99-based-standards] (PRIdPTR): Likewise.
6426 [C99-based-standards] (PRIiPTR): Likewise.
6427 [C99-based-standards] (PRIoPTR): Likewise.
6428 [C99-based-standards] (PRIuPTR): Likewise.
6429 [C99-based-standards] (PRIxPTR): Likewise.
6430 [C99-based-standards] (PRIXPTR): Likewise.
6431 [C99-based-standards] (SCNdPTR): Likewise.
6432 [C99-based-standards] (SCNiPTR): Likewise.
6433 [C99-based-standards] (SCNoPTR): Likewise.
6434 [C99-based-standards] (SCNuPTR): Likewise.
6435 [C99-based-standards] (SCNxPTR): Likewise.
6436 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6437 allow.
6438 * conform/data/stdint.h-data: Update comments to clarify
6439 requirements.
6440 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6441 type.
6442 [C99-based standards] (INT8_MAX): Likewise.
6443 [C99-based standards] (INT16_MIN): Likewise.
6444 [C99-based standards] (INT16_MAX): Likewise.
6445 [C99-based standards] (INT32_MIN): Likewise.
6446 [C99-based standards] (INT32_MAX): Likewise.
6447 [C99-based standards] (INT64_MIN): Likewise.
6448 [C99-based standards] (INT64_MAX): Likewise.
6449 [C99-based standards] (UINT8_MAX): Likewise.
6450 [C99-based standards] (UINT16_MAX): Likewise.
6451 [C99-based standards] (UINT32_MAX): Likewise.
6452 [C99-based standards] (UINT64_MAX): Likewise.
6453 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6454 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6455 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6456 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6457 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6458 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6459 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6460 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6461 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6462 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6463 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6464 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6465 [C99-based standards] (INT_FAST8_MIN): Likewise.
6466 [C99-based standards] (INT_FAST8_MAX): Likewise.
6467 [C99-based standards] (INT_FAST16_MIN): Likewise.
6468 [C99-based standards] (INT_FAST16_MAX): Likewise.
6469 [C99-based standards] (INT_FAST32_MIN): Likewise.
6470 [C99-based standards] (INT_FAST32_MAX): Likewise.
6471 [C99-based standards] (INT_FAST64_MIN): Likewise.
6472 [C99-based standards] (INT_FAST64_MAX): Likewise.
6473 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6474 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6475 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6476 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6477 [C99-based standards] (INTPTR_MIN): Likewise.
6478 [C99-based standards] (INTPTR_MAX): Likewise.
6479 [C99-based standards] (UINTPTR_MAX): Likewise.
6480 [C99-based standards] (INTMAX_MIN): Likewise.
6481 [C99-based standards] (INTMAX_MAX): Likewise.
6482 [C99-based standards] (UINTMAX_MAX): Likewise.
6483 [C99-based standards] (PTRDIFF_MIN): Likewise.
6484 [C99-based standards] (PTRDIFF_MAX): Likewise.
6485 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6486 [C99-based standards] (SIZE_MAX): Likewise.
6487 [C99-based standards] (WCHAR_MAX): Likewise.
6488 [C99-based standards] (WINT_MAX): Likewise.
6489 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6490 constraint on value.
6491 [C99-based standards] (WCHAR_MIN): Likewise.
6492 [C99-based standards] (WINT_MIN): Likewise.
6493 [C99-based standards] (*_t): Allow.
6494 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6495 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6496 Include math.h-data and complex.h-data. Remove all expectations
6497 of math.h and complex.h contents.
6498 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6499 at end of line.
6500 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6501 (struct tm): Expect tag.
6502 [C99-based-standards] (wcstof): Expect function.
6503 [C99-based-standards] (wcstold): Likewise.
6504 [C99-based-standards] (wcstoll): Likewise.
6505 [C99-based-standards] (wcstoull): Likewise.
6506 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6507 macro-int-constant. Specify type.
6508 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6509 constraint on value.
6510 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6511 Specify type.
6512 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6513 Specify value.
6514 [ISO C standards]: Do not allow headers.
6515 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6516 wcs[abcdefghijklmnopqrstuvwxyz]*.
6517 [ISO C standards] (*_t): Do not allow.
6518 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6519 Expect function.
6520 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6521 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6522 Specify type.
6523 [ISO C standards]: Do not allow headers.
6524 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6525 is[abcdefghijklmnopqrstuvwxyz]*.
6526 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6527 to[abcdefghijklmnopqrstuvwxyz]*.
6528 [ISO C standards] (*_t): Do not allow.
6529 * conform/data/stdalign.h-data: New file.
6530 * conform/data/stdbool.h-data: Likewise.
6531 * conform/data/stdnoreturn.h-data: Likewise.
6532
7514feb8
RM
65332012-11-07 Roland McGrath <roland@hack.frob.com>
6534
6535 [BZ #14815]
6536 * manual/filesys.texi (Directory Entries): Typo fix.
6537 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6538
19b2ecfc
MS
65392012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6540
6541 * elf/elf.h (EM_AARCH64): New macro.
6542 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6543 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6544 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6545 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6546 (R_AARCH64_TLSDESC): Likewise.
6547 (NT_ARM_TLS): Likewise.
6548 (NT_ARM_HW_BREAK): Likewise.
6549 (NT_ARM_HW_WATCH): Likewise.
6550
60e235ee
JM
65512012-11-07 Joseph Myers <joseph@codesourcery.com>
6552
6553 [BZ #14811]
6554 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6555 (__ieee754_powl): Saturate nonzero exponents with absolute value
6556 below 0x1p-79 to +/- 0x1p-79.
6557 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6558 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6559 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6560 nonzero exponents with absolute value below 0x1p-32 to +/-
6561 0x1p-32.
6562 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6563 (__ieee754_powl): Saturate nonzero exponents with absolute value
6564 below 0x1p-79 to +/- 0x1p-79.
6565 * math/libm-test.inc (pow_test): Add more tests.
6566
0ab234b7
AK
65672012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6568
6569 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6570 _dl_s390_cap_flags with kernel. Increase string length.
6571 (_dl_s390_platforms): Add z196 and zEC12.
6572
45832f74
JM
65732012-11-07 Joseph Myers <joseph@codesourcery.com>
6574
6575 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6576 Change XOPEN21K to XOPEN2K.
6577
19218757
MK
65782012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6579
6580 * string/memmove.c: Use memcpy when possible.
6581
c5f45721
AJ
65822012-11-06 Andreas Jaeger <aj@suse.de>
6583
6584 * po/eo.po: Update from translation team.
6585
82477c28
JM
65862012-11-06 Joseph Myers <joseph@codesourcery.com>
6587
6588 [BZ #14793]
6589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6590 exponent and small x and y exponents, scale x or y up. Increase
6591 by 2 the exponent used in scaling up.
6592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6593 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6594 * math/libm-test.inc (fma_test): Add more tests.
6595 (fma_test_towardzero): Likewise.
6596 (fma_test_downward): Likewise.
6597 (fma_test_upward): Likewise.
6598
99252c8c
JM
65992012-11-05 Joseph Myers <joseph@codesourcery.com>
6600
acfa885f
JM
6601 [BZ #14805]
6602 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6603 fenv_t *.
6604
99252c8c
JM
6605 [BZ #14801]
6606 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6607 namespace for names of struct fields.
6608 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6609 fenv_t fields.
6610 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6611 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6612
d6d98dea
ST
66132012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6614
6615 [BZ #3665]
6616 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6617
e10bb107
TS
66182012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6619
6620 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6621 PTR_DEMANGLE.
6622
6623 [BZ #5246]
6624 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6625 PTR_DEMANGLE.
6626
a0c2940d
JM
66272012-11-04 Joseph Myers <joseph@codesourcery.com>
6628
6629 [BZ #14797]
6630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6631 definitely overflow as x * y not x * y + z.
6632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6633 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6634 * math/libm-test.inc (fma_test): Add more tests.
6635 (fma_test_towardzero): Likewise.
6636 (fma_test_downward): Likewise.
6637 (fma_test_upward): Likewise.
6638
b830319d
TS
66392012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6640
6641 [BZ #157]
6642
6643 * include/stub-tag.h: Remove file.
6644 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6645 '#include' of it.
6646 * manual/maint.texi (Porting): Don't reference it.
6647 * Makerules ($(objpfx)stubs): Likewise.
6648 * dirent/closedir.c: Don't include <stub-tag.h>.
6649 * dirent/dirfd.c: Likewise.
6650 * dirent/fdopendir.c: Likewise.
6651 * dirent/getdents.c: Likewise.
6652 * dirent/getdents64.c: Likewise.
6653 * dirent/opendir.c: Likewise.
6654 * dirent/readdir.c: Likewise.
6655 * dirent/readdir64.c: Likewise.
6656 * dirent/readdir64_r.c: Likewise.
6657 * dirent/readdir_r.c: Likewise.
6658 * dirent/rewinddir.c: Likewise.
6659 * dirent/seekdir.c: Likewise.
6660 * dirent/telldir.c: Likewise.
6661 * gmon/profil.c: Likewise.
6662 * grp/setgroups.c: Likewise.
6663 * inet/if_index.c: Likewise.
6664 * io/access.c: Likewise.
6665 * io/chdir.c: Likewise.
6666 * io/chmod.c: Likewise.
6667 * io/chown.c: Likewise.
6668 * io/close.c: Likewise.
6669 * io/dup.c: Likewise.
6670 * io/dup2.c: Likewise.
6671 * io/dup3.c: Likewise.
6672 * io/euidaccess.c: Likewise.
6673 * io/faccessat.c: Likewise.
6674 * io/fchdir.c: Likewise.
6675 * io/fchmod.c: Likewise.
6676 * io/fchmodat.c: Likewise.
6677 * io/fchown.c: Likewise.
6678 * io/fchownat.c: Likewise.
6679 * io/fcntl.c: Likewise.
6680 * io/flock.c: Likewise.
6681 * io/fstatfs.c: Likewise.
6682 * io/fstatfs64.c: Likewise.
6683 * io/fstatvfs.c: Likewise.
6684 * io/fstatvfs64.c: Likewise.
6685 * io/futimens.c: Likewise.
6686 * io/fxstat.c: Likewise.
6687 * io/fxstat64.c: Likewise.
6688 * io/fxstatat.c: Likewise.
6689 * io/fxstatat64.c: Likewise.
6690 * io/getcwd.c: Likewise.
6691 * io/isatty.c: Likewise.
6692 * io/lchmod.c: Likewise.
6693 * io/lchown.c: Likewise.
6694 * io/link.c: Likewise.
6695 * io/linkat.c: Likewise.
6696 * io/lseek.c: Likewise.
6697 * io/lseek64.c: Likewise.
6698 * io/lxstat64.c: Likewise.
6699 * io/mkdir.c: Likewise.
6700 * io/mkdirat.c: Likewise.
6701 * io/mkfifo.c: Likewise.
6702 * io/mkfifoat.c: Likewise.
6703 * io/open.c: Likewise.
6704 * io/open64.c: Likewise.
6705 * io/openat.c: Likewise.
6706 * io/openat64.c: Likewise.
6707 * io/pipe.c: Likewise.
6708 * io/pipe2.c: Likewise.
6709 * io/poll.c: Likewise.
6710 * io/posix_fadvise.c: Likewise.
6711 * io/posix_fadvise64.c: Likewise.
6712 * io/posix_fallocate.c: Likewise.
6713 * io/posix_fallocate64.c: Likewise.
6714 * io/read.c: Likewise.
6715 * io/readlink.c: Likewise.
6716 * io/readlinkat.c: Likewise.
6717 * io/rmdir.c: Likewise.
6718 * io/sendfile.c: Likewise.
6719 * io/sendfile64.c: Likewise.
6720 * io/statfs.c: Likewise.
6721 * io/statfs64.c: Likewise.
6722 * io/statvfs.c: Likewise.
6723 * io/statvfs64.c: Likewise.
6724 * io/symlink.c: Likewise.
6725 * io/symlinkat.c: Likewise.
6726 * io/ttyname.c: Likewise.
6727 * io/ttyname_r.c: Likewise.
6728 * io/umask.c: Likewise.
6729 * io/unlink.c: Likewise.
6730 * io/unlinkat.c: Likewise.
6731 * io/utime.c: Likewise.
6732 * io/utimensat.c: Likewise.
6733 * io/write.c: Likewise.
6734 * io/xmknod.c: Likewise.
6735 * io/xmknodat.c: Likewise.
6736 * io/xstat.c: Likewise.
6737 * io/xstat64.c: Likewise.
6738 * login/getpt.c: Likewise.
6739 * login/grantpt.c: Likewise.
6740 * login/unlockpt.c: Likewise.
6741 * math/e_acoshl.c: Likewise.
6742 * math/e_acosl.c: Likewise.
6743 * math/e_asinl.c: Likewise.
6744 * math/e_atan2l.c: Likewise.
6745 * math/e_atanhl.c: Likewise.
6746 * math/e_coshl.c: Likewise.
6747 * math/e_expl.c: Likewise.
6748 * math/e_fmodl.c: Likewise.
6749 * math/e_gammal_r.c: Likewise.
6750 * math/e_hypotl.c: Likewise.
6751 * math/e_j0l.c: Likewise.
6752 * math/e_j1l.c: Likewise.
6753 * math/e_jnl.c: Likewise.
6754 * math/e_lgammal_r.c: Likewise.
6755 * math/e_log10l.c: Likewise.
6756 * math/e_log2l.c: Likewise.
6757 * math/e_logl.c: Likewise.
6758 * math/e_powl.c: Likewise.
6759 * math/e_rem_pio2l.c: Likewise.
6760 * math/e_sinhl.c: Likewise.
6761 * math/e_sqrtl.c: Likewise.
6762 * math/fclrexcpt.c: Likewise.
6763 * math/fedisblxcpt.c: Likewise.
6764 * math/feenablxcpt.c: Likewise.
6765 * math/fegetenv.c: Likewise.
6766 * math/fegetexcept.c: Likewise.
6767 * math/fegetround.c: Likewise.
6768 * math/feholdexcpt.c: Likewise.
6769 * math/fesetenv.c: Likewise.
6770 * math/fesetround.c: Likewise.
6771 * math/feupdateenv.c: Likewise.
6772 * math/fgetexcptflg.c: Likewise.
6773 * math/fraiseexcpt.c: Likewise.
6774 * math/fsetexcptflg.c: Likewise.
6775 * math/ftestexcept.c: Likewise.
6776 * math/k_cosl.c: Likewise.
6777 * math/k_rem_pio2l.c: Likewise.
6778 * math/k_sinl.c: Likewise.
6779 * math/k_tanl.c: Likewise.
6780 * math/s_asinhl.c: Likewise.
6781 * math/s_atanl.c: Likewise.
6782 * math/s_cbrtl.c: Likewise.
6783 * math/s_erfl.c: Likewise.
6784 * math/s_expm1l.c: Likewise.
6785 * math/s_log1pl.c: Likewise.
6786 * math/s_tanhl.c: Likewise.
6787 * misc/acct.c: Likewise.
6788 * misc/brk.c: Likewise.
6789 * misc/chflags.c: Likewise.
6790 * misc/chroot.c: Likewise.
6791 * misc/fchflags.c: Likewise.
6792 * misc/fgetxattr.c: Likewise.
6793 * misc/flistxattr.c: Likewise.
6794 * misc/fremovexattr.c: Likewise.
6795 * misc/fsetxattr.c: Likewise.
6796 * misc/fsync.c: Likewise.
6797 * misc/ftruncate.c: Likewise.
6798 * misc/futimes.c: Likewise.
6799 * misc/futimesat.c: Likewise.
6800 * misc/getdomain.c: Likewise.
6801 * misc/getdtsz.c: Likewise.
6802 * misc/gethostid.c: Likewise.
6803 * misc/gethostname.c: Likewise.
6804 * misc/getloadavg.c: Likewise.
6805 * misc/getpagesize.c: Likewise.
6806 * misc/getsysstats.c: Likewise.
6807 * misc/getxattr.c: Likewise.
6808 * misc/gtty.c: Likewise.
6809 * misc/ioctl.c: Likewise.
6810 * misc/lgetxattr.c: Likewise.
6811 * misc/listxattr.c: Likewise.
6812 * misc/llistxattr.c: Likewise.
6813 * misc/lremovexattr.c: Likewise.
6814 * misc/lsetxattr.c: Likewise.
6815 * misc/lutimes.c: Likewise.
6816 * misc/madvise.c: Likewise.
6817 * misc/mincore.c: Likewise.
6818 * misc/mlock.c: Likewise.
6819 * misc/mlockall.c: Likewise.
6820 * misc/mmap.c: Likewise.
6821 * misc/mprotect.c: Likewise.
6822 * misc/msync.c: Likewise.
6823 * misc/munlock.c: Likewise.
6824 * misc/munlockall.c: Likewise.
6825 * misc/munmap.c: Likewise.
6826 * misc/preadv.c: Likewise.
6827 * misc/preadv64.c: Likewise.
6828 * misc/ptrace.c: Likewise.
6829 * misc/pwritev.c: Likewise.
6830 * misc/pwritev64.c: Likewise.
6831 * misc/readv.c: Likewise.
6832 * misc/reboot.c: Likewise.
6833 * misc/remap_file_pages.c: Likewise.
6834 * misc/removexattr.c: Likewise.
6835 * misc/revoke.c: Likewise.
6836 * misc/select.c: Likewise.
6837 * misc/setdomain.c: Likewise.
6838 * misc/setegid.c: Likewise.
6839 * misc/seteuid.c: Likewise.
6840 * misc/sethostid.c: Likewise.
6841 * misc/sethostname.c: Likewise.
6842 * misc/setregid.c: Likewise.
6843 * misc/setreuid.c: Likewise.
6844 * misc/setxattr.c: Likewise.
6845 * misc/sstk.c: Likewise.
6846 * misc/stty.c: Likewise.
6847 * misc/swapoff.c: Likewise.
6848 * misc/swapon.c: Likewise.
6849 * misc/sync.c: Likewise.
6850 * misc/syncfs.c: Likewise.
6851 * misc/syscall.c: Likewise.
6852 * misc/truncate.c: Likewise.
6853 * misc/ualarm.c: Likewise.
6854 * misc/usleep.c: Likewise.
6855 * misc/ustat.c: Likewise.
6856 * misc/utimes.c: Likewise.
6857 * misc/vhangup.c: Likewise.
6858 * misc/writev.c: Likewise.
6859 * posix/_exit.c: Likewise.
6860 * posix/alarm.c: Likewise.
6861 * posix/execve.c: Likewise.
6862 * posix/fexecve.c: Likewise.
6863 * posix/fork.c: Likewise.
6864 * posix/fpathconf.c: Likewise.
6865 * posix/getaddrinfo.c: Likewise.
6866 * posix/getegid.c: Likewise.
6867 * posix/geteuid.c: Likewise.
6868 * posix/getgid.c: Likewise.
6869 * posix/getgroups.c: Likewise.
6870 * posix/getlogin.c: Likewise.
6871 * posix/getlogin_r.c: Likewise.
6872 * posix/getpgid.c: Likewise.
6873 * posix/getpid.c: Likewise.
6874 * posix/getppid.c: Likewise.
6875 * posix/getresgid.c: Likewise.
6876 * posix/getresuid.c: Likewise.
6877 * posix/getsid.c: Likewise.
6878 * posix/getuid.c: Likewise.
6879 * posix/glob64.c: Likewise.
6880 * posix/nanosleep.c: Likewise.
6881 * posix/pathconf.c: Likewise.
6882 * posix/pause.c: Likewise.
6883 * posix/posix_madvise.c: Likewise.
6884 * posix/pread.c: Likewise.
6885 * posix/pread64.c: Likewise.
6886 * posix/pwrite.c: Likewise.
6887 * posix/pwrite64.c: Likewise.
6888 * posix/sched_getaffinity.c: Likewise.
6889 * posix/sched_getp.c: Likewise.
6890 * posix/sched_gets.c: Likewise.
6891 * posix/sched_primax.c: Likewise.
6892 * posix/sched_primin.c: Likewise.
6893 * posix/sched_rr_gi.c: Likewise.
6894 * posix/sched_setaffinity.c: Likewise.
6895 * posix/sched_setp.c: Likewise.
6896 * posix/sched_sets.c: Likewise.
6897 * posix/sched_yield.c: Likewise.
6898 * posix/setgid.c: Likewise.
6899 * posix/setlogin.c: Likewise.
6900 * posix/setpgid.c: Likewise.
6901 * posix/setresgid.c: Likewise.
6902 * posix/setresuid.c: Likewise.
6903 * posix/setsid.c: Likewise.
6904 * posix/setuid.c: Likewise.
6905 * posix/sleep.c: Likewise.
6906 * posix/spawni.c: Likewise.
6907 * posix/sysconf.c: Likewise.
6908 * posix/times.c: Likewise.
6909 * posix/wait.c: Likewise.
6910 * posix/wait3.c: Likewise.
6911 * posix/wait4.c: Likewise.
6912 * posix/waitpid.c: Likewise.
6913 * resolv/gai_sigqueue.c: Likewise.
6914 * resource/getpriority.c: Likewise.
6915 * resource/getrlimit.c: Likewise.
6916 * resource/getrusage.c: Likewise.
6917 * resource/nice.c: Likewise.
6918 * resource/setpriority.c: Likewise.
6919 * resource/setrlimit.c: Likewise.
6920 * resource/ulimit.c: Likewise.
6921 * rt/aio_cancel.c: Likewise.
6922 * rt/aio_fsync.c: Likewise.
6923 * rt/aio_read.c: Likewise.
6924 * rt/aio_sigqueue.c: Likewise.
6925 * rt/aio_suspend.c: Likewise.
6926 * rt/aio_write.c: Likewise.
6927 * rt/clock_getres.c: Likewise.
6928 * rt/clock_gettime.c: Likewise.
6929 * rt/clock_nanosleep.c: Likewise.
6930 * rt/clock_settime.c: Likewise.
6931 * rt/lio_listio.c: Likewise.
6932 * rt/mq_close.c: Likewise.
6933 * rt/mq_getattr.c: Likewise.
6934 * rt/mq_notify.c: Likewise.
6935 * rt/mq_open.c: Likewise.
6936 * rt/mq_receive.c: Likewise.
6937 * rt/mq_send.c: Likewise.
6938 * rt/mq_setattr.c: Likewise.
6939 * rt/mq_timedreceive.c: Likewise.
6940 * rt/mq_timedsend.c: Likewise.
6941 * rt/mq_unlink.c: Likewise.
6942 * rt/shm_open.c: Likewise.
6943 * rt/shm_unlink.c: Likewise.
6944 * rt/timer_create.c: Likewise.
6945 * rt/timer_delete.c: Likewise.
6946 * rt/timer_getoverr.c: Likewise.
6947 * rt/timer_gettime.c: Likewise.
6948 * rt/timer_settime.c: Likewise.
6949 * setjmp/__longjmp.c: Likewise.
6950 * setjmp/setjmp.c: Likewise.
6951 * signal/kill.c: Likewise.
6952 * signal/killpg.c: Likewise.
6953 * signal/raise.c: Likewise.
6954 * signal/sigaction.c: Likewise.
6955 * signal/sigaltstack.c: Likewise.
6956 * signal/sigblock.c: Likewise.
6957 * signal/sigignore.c: Likewise.
6958 * signal/sigintr.c: Likewise.
6959 * signal/signal.c: Likewise.
6960 * signal/sigpause.c: Likewise.
6961 * signal/sigpending.c: Likewise.
6962 * signal/sigqueue.c: Likewise.
6963 * signal/sigreturn.c: Likewise.
6964 * signal/sigset.c: Likewise.
6965 * signal/sigsetmask.c: Likewise.
6966 * signal/sigstack.c: Likewise.
6967 * signal/sigsuspend.c: Likewise.
6968 * signal/sigtimedwait.c: Likewise.
6969 * signal/sigvec.c: Likewise.
6970 * signal/sigwait.c: Likewise.
6971 * signal/sigwaitinfo.c: Likewise.
6972 * signal/sysv_signal.c: Likewise.
6973 * socket/accept.c: Likewise.
6974 * socket/accept4.c: Likewise.
6975 * socket/bind.c: Likewise.
6976 * socket/connect.c: Likewise.
6977 * socket/getpeername.c: Likewise.
6978 * socket/getsockname.c: Likewise.
6979 * socket/getsockopt.c: Likewise.
6980 * socket/isfdtype.c: Likewise.
6981 * socket/listen.c: Likewise.
6982 * socket/recv.c: Likewise.
6983 * socket/recvfrom.c: Likewise.
6984 * socket/recvmsg.c: Likewise.
6985 * socket/send.c: Likewise.
6986 * socket/sendmsg.c: Likewise.
6987 * socket/sendto.c: Likewise.
6988 * socket/setsockopt.c: Likewise.
6989 * socket/shutdown.c: Likewise.
6990 * socket/sockatmark.c: Likewise.
6991 * socket/socket.c: Likewise.
6992 * socket/socketpair.c: Likewise.
6993 * stdio-common/ctermid.c: Likewise.
6994 * stdio-common/cuserid.c: Likewise.
6995 * stdio-common/remove.c: Likewise.
6996 * stdio-common/rename.c: Likewise.
6997 * stdio-common/renameat.c: Likewise.
6998 * stdio-common/tempname.c: Likewise.
6999 * stdlib/getcontext.c: Likewise.
7000 * stdlib/makecontext.c: Likewise.
7001 * stdlib/setcontext.c: Likewise.
7002 * stdlib/swapcontext.c: Likewise.
7003 * stdlib/system.c: Likewise.
7004 * streams/fattach.c: Likewise.
7005 * streams/fdetach.c: Likewise.
7006 * streams/getmsg.c: Likewise.
7007 * streams/getpmsg.c: Likewise.
7008 * streams/putmsg.c: Likewise.
7009 * streams/putpmsg.c: Likewise.
7010 * sysdeps/unix/bsd/getpt.c: Likewise.
7011 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7012 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7013 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7015 Likewise.
7016 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7017 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7018 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7019 * sysvipc/msgctl.c: Likewise.
7020 * sysvipc/msgget.c: Likewise.
7021 * sysvipc/msgrcv.c: Likewise.
7022 * sysvipc/msgsnd.c: Likewise.
7023 * sysvipc/semctl.c: Likewise.
7024 * sysvipc/semget.c: Likewise.
7025 * sysvipc/semop.c: Likewise.
7026 * sysvipc/semtimedop.c: Likewise.
7027 * sysvipc/shmat.c: Likewise.
7028 * sysvipc/shmctl.c: Likewise.
7029 * sysvipc/shmdt.c: Likewise.
7030 * sysvipc/shmget.c: Likewise.
7031 * termios/tcdrain.c: Likewise.
7032 * termios/tcflow.c: Likewise.
7033 * termios/tcflush.c: Likewise.
7034 * termios/tcgetattr.c: Likewise.
7035 * termios/tcgetpgrp.c: Likewise.
7036 * termios/tcsendbrk.c: Likewise.
7037 * termios/tcsetattr.c: Likewise.
7038 * termios/tcsetpgrp.c: Likewise.
7039 * time/adjtime.c: Likewise.
7040 * time/clock.c: Likewise.
7041 * time/getitimer.c: Likewise.
7042 * time/gettimeofday.c: Likewise.
7043 * time/setitimer.c: Likewise.
7044 * time/settimeofday.c: Likewise.
7045 * time/stime.c: Likewise.
7046 * time/time.c: Likewise.
7047
70482012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7049
a20492cf
PT
7050 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7051 /usr/old/bin.
7052
72e182e3
PT
7053 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7054 instead of spaces.
7055 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7056
fbeafede
JM
70572012-11-03 Joseph Myers <joseph@codesourcery.com>
7058
5b5b04d6
JM
7059 [BZ #14796]
7060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7061 FE_TONEAREST before applying Dekker multiplication and Knuth
7062 addition. Clear inexact exceptions and check for exact zero
7063 results afterwards.
7064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7065 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7066 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7067 * math/libm-test.inc (fma_test): Add more tests.
7068 (fma_test_towardzero): Likewise.
7069 (fma_test_downward): Likewise.
7070 (fma_test_upward): Likewise.
7071 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7072 function.
7073 (libc_fesetround): New macro.
7074 (libc_fesetroundf): Likewise.
7075 (libc_fesetroundl): Likewise.
7076 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7077 function.
7078 (libc_fesetround_387): Likewise.
7079 (libc_fesetroundf): New macro.
7080 (libc_fesetround): Likewise.
7081 (libc_fesetroundl): Likewise.
7082 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7083 function.
7084 (libc_fesetroundf): New macro.
7085 (libc_fesetround): Likewise.
7086 (libc_fesetroundl): Likewise.
7087 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7088 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7089 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7090 libm_hidden_ver.
7091 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7092 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7093 libm_hidden_def.
7094 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7095 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7096 libm_hidden_ver.
7097 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7098 libm_hidden_def.
7099
fbeafede
JM
7100 [BZ #3439]
7101 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7102 integer constant usable in #if and use that to give value to enum
7103 constant.
7104 (FE_DIVBYZERO): Likewise.
7105 (FE_UNDERFLOW): Likewise.
7106 (FE_OVERFLOW): Likewise.
7107 (FE_INVALID): Likewise.
7108 (FE_INVALID_SNAN): Likewise.
7109 (FE_INVALID_ISI): Likewise.
7110 (FE_INVALID_IDI): Likewise.
7111 (FE_INVALID_ZDZ): Likewise.
7112 (FE_INVALID_IMZ): Likewise.
7113 (FE_INVALID_COMPARE): Likewise.
7114 (FE_INVALID_SOFTWARE): Likewise.
7115 (FE_INVALID_SQRT): Likewise.
7116 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7117 (FE_TONEAREST): Likewise.
7118 (FE_TOWARDZERO): Likewise.
7119 (FE_UPWARD): Likewise.
7120 (FE_DOWNWARD): Likewise.
7121 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7122 (FE_DIVBYZERO): Likewise.
7123 (FE_OVERFLOW): Likewise.
7124 (FE_UNDERFLOW): Likewise.
7125 (FE_INEXACT): Likewise.
7126 (FE_TONEAREST): Likewise.
7127 (FE_DOWNWARD): Likewise.
7128 (FE_UPWARD): Likewise.
7129 (FE_TOWARDZERO): Likewise.
7130 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7131 (FE_UNDERFLOW): Likewise.
7132 (FE_OVERFLOW): Likewise.
7133 (FE_DIVBYZERO): Likewise.
7134 (FE_INVALID): Likewise.
7135 (FE_TONEAREST): Likewise.
7136 (FE_TOWARDZERO): Likewise.
7137 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7138 (FE_OVERFLOW): Likewise.
7139 (FE_UNDERFLOW): Likewise.
7140 (FE_DIVBYZERO): Likewise.
7141 (FE_INEXACT): Likewise.
7142 (FE_TONEAREST): Likewise.
7143 (FE_TOWARDZERO): Likewise.
7144 (FE_UPWARD): Likewise.
7145 (FE_DOWNWARD): Likewise.
7146 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7147 (FE_DIVBYZERO): Likewise.
7148 (FE_OVERFLOW): Likewise.
7149 (FE_UNDERFLOW): Likewise.
7150 (FE_INEXACT): Likewise.
7151 (FE_TONEAREST): Likewise.
7152 (FE_DOWNWARD): Likewise.
7153 (FE_UPWARD): Likewise.
7154 (FE_TOWARDZERO): Likewise.
7155
105ca950
CM
71562012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7157
7158 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7159
a542b389
AS
71602012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7161
7162 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7163 commands. Quote $PWD.
7164 (blacklist_exports): Don't use remove_newlines. Replace "declare
7165 -x" by "export".
7166 (remove_newlines): Remove.
7167
f62c8abc
L
71682012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7169
7170 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7171 * stdlib/stdlib.h (atof): Moved to ...
7172 * include/bits/stdlib-float.h: Here. New file.
7173 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7174 * stdlib/bits/stdlib-float.h: New file.
7175 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7176 -mno-sse -mno-mmx.
7177 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7178 <xmmintrin.h>.
7179
0155d5b2
JM
71802012-11-02 Joseph Myers <joseph@codesourcery.com>
7181
a68d0680
JM
7182 * conform/conformtest.pl (@headers): Add fenv.h.
7183 * conform/data/fenv.h-data: New file.
7184 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7185 include of <math/fenv.h>.
7186
caf7f573
JM
7187 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7188 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7189 && !UNIX98]. Enables tests for XOPEN2K8.
7190 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7191 POSIX2008]: Likewise.
7192
6c073ad6
JM
7193 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7194 (struct rusage): Do not expect type or its members.
7195
0155d5b2
JM
7196 [BZ #3439]
7197 * math/math.h (FP_NAN): Define macro to integer constant usable in
7198 #if and use that to give value to enum constant.
7199 (FP_INFINITE): Likewise.
7200 (FP_ZERO): Likewise.
7201 (FP_SUBNORMAL): Likewise.
7202 (FP_NORMAL): Likewise.
7203
b5dcacb4
AS
72042012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7205
7206 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7207 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7208 arguments.
7209
f7934be8
RM
72102012-11-02 Roland McGrath <roland@hack.frob.com>
7211
7212 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7213 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7214 autoconf-time if not.
7215 * configure.in: Remove AC_PREREQ.
7216
d7d08bde
TMQMF
72172012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7218
7219 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7220 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7221 of the internal implementation.
7222
dcdae19a
JM
72232012-11-02 Joseph Myers <joseph@codesourcery.com>
7224
7225 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7226 except include of <misc/sys/syslog.h>.
7227
d6cffd3e
AS
72282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7229
7230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7231 function returns with a NULL context exit with zero.
7232
b3563932
TMQMF
72332012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7234
7235 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7236
b288a93d
L
72372012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7238
7239 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7240 (run_program_cmd): This.
7241 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7242 (tst_langinfo): New variable. Use it.
7243
a2421a68
SAS
72442012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7245
7246 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7247 floating point opcodes.
7248
6f796e1b
TS
72492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7250
7402596b
TS
7251 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7252 variable.
7253
d0d4f868
TS
7254 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7255
6f796e1b
TS
7256 * sysdeps/mach/hurd/powerpc: Remove directory.
7257 * sysdeps/mach/powerpc: Likewise.
7258
4da224a2
AS
72592012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7260
7261 * scripts/check-local-headers.sh: Ignore c++ headers.
7262
341dd673
TS
72632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7264
7265 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7266 __libc_cleanup_region_start argument.
7267
473611b2
JM
72682012-11-01 Joseph Myers <joseph@codesourcery.com>
7269
7270 [BZ #14784]
7271 [BZ #14785]
7272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7273 x * y using scaling, not as x * y + z.
7274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7276 * math/libm-test.inc (fma_test): Add more tests.
7277 (fma_test_towardzero): Likewise.
7278 (fma_test_downward): Likewise.
7279 (fma_test_upward): Likewise.
7280
4078da3d
TS
72812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7282
7283 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7284
903252aa
JM
72852012-10-31 Joseph Myers <joseph@codesourcery.com>
7286
7287 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7288 New variable.
7289
cbc818d0
TS
72902012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7291
7292 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7293
5a03cb1e
AS
72942012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7295
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7297 Fix sort order.
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7299 Likewise.
7300
90aff2ff
TMQMF
73012012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7302
7303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7304 Fix the order of the list for glibc 2.17.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7306 Likewise.
7307
1818fcb7
AS
73082012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7309
7310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7311
ef82f4da
JM
73122012-10-31 Joseph Myers <joseph@codesourcery.com>
7313
16a0e2ec
JM
7314 [BZ #14610]
7315 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7316 for low part of x being zero before using __atanl (y).
7317 * math/libm-test.inc (atan2_test): Add another test.
7318
0eb69512
JM
7319 * manual/install.texi (Configuring and compiling): Document
7320 general use of test-wrapper and test-wrapper-env.
7321 * INSTALL: Regenerated.
7322
ef82f4da
JM
7323 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7324 (__fma): Do not extract and scale down low bits on after-rounding
7325 systems when result rounded to normal precision would have normal
7326 exponent.
7327 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7328 (__fmal): Do not extract and scale down low bits on after-rounding
7329 systems when result rounded to normal precision would have normal
7330 exponent.
7331 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7332 (__fmal): Do not extract and scale down low bits on after-rounding
7333 systems when result rounded to normal precision would have normal
7334 exponent.
7335 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7336 macro.
7337 (fma_test): Add more tests.
7338 (fma_test_towardzero): Likewise.
7339 (fma_test_downward): Likewise.
7340 (fma_test_upward): Likewise.
7341
954ef0d9
L
73422012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7343
7344 * sysdeps/i386/tininess.h: Renamed to ...
7345 * sysdeps/x86/tininess.h: This.
7346 * sysdeps/x86_64/tininess.h: Removed.
7347
df61ffb2
JM
73482012-10-30 Joseph Myers <joseph@codesourcery.com>
7349
7350 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7351 input. Use $(build-program-cmd).
7352 ($(objpfx)tst-array1-static.out): Likewise.
7353 ($(objpfx)tst-array2.out): Likewise.
7354 ($(objpfx)tst-array3.out): Likewise.
7355 ($(objpfx)tst-array4.out): Likewise.
7356 ($(objpfx)tst-array5.out): Likewise.
7357 ($(objpfx)tst-array5-static.out): Likewise.
7358
01767843
CM
73592012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7360
47cc1490
CM
7361 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7362 if defined.
7363
01767843
CM
7364 * nss/nsswitch.h (nss_interface_function): Provide new
7365 macro for use with NSS functions.
7366 * grp/initgroups.c: Use new macro.
7367 * nss/getXXbyYY.c: Likewise.
7368 * nss/getXXbyYY_r.c: Likewise.
7369 * nss/getXXent.c: Likewise.
7370 * nss/getXXent_r.c: Likewise.
7371 * sysdeps/posix/getaddrinfo.c: Likewise.
7372
8321aa97
AJ
73732012-10-30 Andreas Jaeger <aj@suse.de>
7374
7375 * po/ru.po: Update Russion translation from translation project.
7376
2a27fd6d
JM
73772012-10-30 Joseph Myers <joseph@codesourcery.com>
7378
8627a232
JM
7379 [BZ #14152]
7380 [BZ #14783]
7381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7382 result and shift together with sticky bit instead of replicating
7383 round-to-nearest rounding.
7384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7385 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7386 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7387 missing underflow exceptions.
7388 (fma_test_towardzero): Add more tests.
7389 (fma_test_downward): Likewise.
7390 (fma_test_upward): Likewise.
7391
2a27fd6d
JM
7392 [BZ #14047]
7393 * sysdeps/generic/tininess.h: New file.
7394 * sysdeps/i386/tininess.h: Likewise.
7395 * sysdeps/sh/tininess.h: Likewise.
7396 * sysdeps/x86_64/tininess.h: Likewise.
7397 * stdlib/tst-strtod-underflow.c: Likewise.
7398 * stdlib/tst-tininess.c: Likewise.
7399 * stdlib/strtod_l.c: Include <tininess.h>.
7400 (round_and_return): Do not set errno for exact underflow cases.
7401 Force an underflow exception when setting errno for underflow.
7402 Determine underflow based on rounding to normal precision if
7403 TININESS_AFTER_ROUNDING.
7404 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7405 ERANGE for exact underflow cases.
7406 * stdlib/Makefile (tests): Add tst-tininess and
7407 tst-strtod-underflow.
7408 ($(objpfx)tst-tininess): Use $(link-libm).
7409 ($(objpfx)tst-strtod-underflow): Likewise.
7410
e7170363
AJ
74112012-10-30 Andreas Jaeger <aj@suse.de>
7412
e5088dc6
AJ
7413 [BZ#14767]
7414 * elf/Makefile (tests): Remove conditional for have-initfini-array
7415 since this is now always required and the variable does not exist
7416 anymore.
7417 (tests-static): Likewise.
7418 (modules-names): Likewise.
7419
e7170363 7420 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7421
7422 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7423 merged with constructor/destructor.
7424 (init_array): Likewise.
7425 * elf/tst-array2dep.c (fini_array): Likewise.
7426 (init_array): Likewise.
7427
60457d8a
MF
74282012-10-29 Mike Frysinger <vapier@gentoo.org>
7429
7430 * manual/message.texi: Delete @cartouche tags.
7431
8bece752
PT
74322012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7433
94ce799f
PT
7434 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7435 EOPNOTSUPP.
7436 * sysdeps/mach/hurd/fsync.c: Likewise.
7437
8bece752
PT
7438 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7439 [_POSIX_REALTIME_SIGNALS]: Change condition to
7440 [_POSIX_REALTIME_SIGNALS > 0].
7441
86ebe6b1
AJ
74422012-10-27 Andreas Jaeger <aj@suse.de>
7443
7444 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7445 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7447 [__WORDSIZE != 64]: Likewise.
7448
54399c08
L
74492012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7450
7451 * iconvdata/tst-table.sh: Remove ${SHELL}.
7452 * iconvdata/tst-tables.sh: Likewise.
7453
e2211bed
DM
74542012-10-25 David S. Miller <davem@davemloft.net>
7455
7456 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7457 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7458 of strtoull.
7459
f303f97c
DM
7460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7461 ifunc-impl-list.c
7462 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7463 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7464 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7465 file.
7466
1e9d84cd
RM
74672012-10-25 Roland McGrath <roland@hack.frob.com>
7468
7469 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7470 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7471 __getdirentries.
7472
df381762
JM
74732012-10-25 Joseph Myers <joseph@codesourcery.com>
7474 Jim Blandy <jimb@codesourcery.com>
7475
7476 * scripts/cross-test-ssh.sh: New file.
7477 * manual/install.texi (Configuring and compiling): Document use of
7478 cross-test-ssh.sh.
7479 * INSTALL: Regenerated.
7480
bff64913
PT
74812012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7482
7483 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7484 EOPNOTSUPP.
7485
25fe8932
JM
74862012-10-25 Joseph Myers <joseph@codesourcery.com>
7487
7488 * Makeconfig (run-program-prefix): Fix comment.
7489
cc1290d0
JM
74902012-10-24 Joseph Myers <joseph@codesourcery.com>
7491 Jim Blandy <jimb@codesourcery.com>
7492
7493 * Makeconfig (test-wrapper): New variable,
7494 (test-wrapper-env): Likewise.
7495 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7496 (run-built-tests): Define to yes.
7497 (run-program-prefix): Use $(test-wrapper).
7498 (built-program-cmd): Likewise.
7499 * Rules (make-test-out): Use $(test-wrapper-env) and
7500 $(host-built-program-cmd).
7501 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7502 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7503 tst-pathopt.sh.
7504 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7505 $(test-wrapper-env) to tst-rtld-load-self.sh.
7506 ($(objpfx)order2.out): Use $(test-wrapper).
7507 ($(objpfx)tst-initorder.out): Likewise.
7508 ($(objpfx)tst-initorder2.out): Likewise.
7509 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7510 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7511 (test_wrapper_env): New variable. Use it to run ld.so.
7512 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7513 Use it to run ld.so.
7514 (test_wrapper_env): Likewise.
7515 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7516 $(test-wrapper) to run-iconv-test.sh.
7517 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7518 (ICONV): Use $test_wrapper.
7519 * posix/Makefile ($(objpfx)globtest.out): Pass
7520 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7521 globtest.sh, not $(run-program-prefix).
7522 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7523 (test_wrapper): Likewise.
7524 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7525 set together with run_via_rtld_prefix.
7526 (run_program_prefix): Define in terms of test_wrapper and
7527 run_via_rtld_prefix.
7528
6e6249d0
RM
75292012-10-24 Roland McGrath <roland@hack.frob.com>
7530
7531 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7532 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7533 Targets removed.
7534
7535 [BZ #14743]
7536 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7537 Declare __clock_getres, __clock_gettime, __clock_settime,
7538 __clock_nanosleep, and __clock_getcpuclockid.
7539 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7540 Remove librt_hidden_def (clock_gettime).
7541 * sysdeps/unix/clock_gettime.c: Likewise.
7542 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7543 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7544 * rt/clock_getres.c: Define __clock_getres as an alias.
7545 * sysdeps/posix/clock_getres.c: Likewise.
7546 * rt/clock_settime.c: Define __clock_settime as an alias.
7547 * sysdeps/unix/clock_settime.c: Likewise.
7548 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7549 * sysdeps/unix/clock_nanosleep.c: Likewise.
7550 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7551 * rt/clock-compat.c: New file.
7552 * rt/Makefile (librt-routines): Add clock-compat and move
7553 $(clock-routines) to ...
7554 (routines): ... here, new variable.
7555 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7556 Don't add get_clockfreq here.
7557 * rt/Versions (libc: GLIBC_2.17): New version set.
7558 Add clock_* symbols here.
7559 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7560 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7561 (GLIBC_2.17): Add clock_* symbols.
7562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7564 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7566 Likewise.
7567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7568 Likewise.
7569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7573 * NEWS: Mention the move.
7574
7575 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7576 Use __open, __read, __close rather than their public counterparts.
7577 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7578 (__get_clockfreq_via_cpuinfo): Likewise.
7579 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7580 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7581
7582 * config.h.in (HAVE_IFUNC): New #undef.
7583 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7584 was successful.
7585 * configure: Regenerated.
7586
0cae3f4b
MF
75872012-10-24 Mike Frysinger <vapier@gentoo.org>
7588
7589 * configure.in: Move READELF check to start of file.
7590 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7591 libc_cv_asm_gnu_indirect_function in the process.
7592 * configure: Regenerated.
7593
8175a253
MF
75942012-10-24 Mike Frysinger <vapier@gentoo.org>
7595
7596 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7597 send the output to /dev/null.
7598 (libc_cv_cc_with_libunwind): Likewise.
7599 (libc_cv_as_noexecstack): Likewise.
7600 * configure: Regenerate.
7601
0708a7d1
JM
76022012-10-24 Joseph Myers <joseph@codesourcery.com>
7603
10b40d85
JM
7604 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7605
0708a7d1
JM
7606 * posix/globtest.sh (TMPDIR): Do not set.
7607 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7608 (testout): Likewise.
7609
9fddec1a
AJ
76102012-10-24 Andreas Jaeger <aj@suse.de>
7611
3a8db22f
AJ
7612 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7613 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7614 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7615 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7616 posix_fadvise64, posix_fallocate64.
7617
9fddec1a
AJ
7618 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7619 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7620 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7621 Likewise.
7622 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7623 Likewise.
7624 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7625
7626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7627 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7628 <bits/fcntl-linux.h>.
7629 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7630
7631 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7632 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7633 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7634 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7635 [__WORDSIZE != 64]: Likewise.
7636
ebfd1bbd
JM
76372012-10-23 Joseph Myers <joseph@codesourcery.com>
7638
03ac099f
JM
7639 * Makeconfig (run-built-tests): New variable.
7640 * Rules [$(cross-compiling) = yes]: Change condition to
7641 [$(run-built-tests) = no].
7642 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7643 to [$(run-built-tests) = yes].
7644 * elf/Makefile [$(cross-compiling) = no]: Likewise
7645 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7646 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7647 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7648 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7649 * io/Makefile [$(cross-compiling) = no]: Likewise.
7650 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7651 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7652 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7653 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7654 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7655 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7656 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7657 * string/Makefile [$(cross-compiling) = no]: Likewise.
7658
ebfd1bbd
JM
7659 * posix/Makefile ($(objpfx)globtest.out): Pass
7660 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7661 $(rtld-installed-name).
7662 * posix/globtest.sh (elf_objpfx): Remove variable.
7663 (rtld_installed_name): Likewise.
7664 (library_path): Likewise.
7665 (run_program_prefix): New variable. Use for running globtest
7666 binary.
7667
166bca24
JB
76682012-10-23 Jim Blandy <jimb@codesourcery.com>
7669 Joseph Myers <joseph@codesourcery.com>
7670
7671 * Makeconfig (host-built-program-cmd): New variable.
7672 * elf/Makefile (tst-stackguard1-ARGS): Use
7673 $(host-built-program-cmd).
7674 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7675 (tst-spawn-ARGS): Likewise.
7676 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7677
88866099
JM
76782012-10-23 Joseph Myers <joseph@codesourcery.com>
7679 Jim Blandy <jimb@codesourcery.com>
7680
7681 * Makeconfig (run-via-rtld-prefix): New variable.
7682 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7683 (built-program-cmd): Likewise.
7684
b4b4c296
AJ
76852012-10-22 Andreas Jaeger <aj@suse.de>
7686
7687 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7688 __O_RSYNC if it exists, otherwise to O_SYNC.
7689
6fb54a22
JB
76902012-10-22 Jim Blandy <jimb@codesourcery.com>
7691 Joseph Myers <joseph@codesourcery.com>
7692
7693 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7694 /dev/null.
7695 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7696 from /dev/null
7697 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7698 /dev/null.
7699
481b90b9
AJ
77002012-10-22 Andreas Jaeger <aj@suse.de>
7701
2a0e2669
AJ
7702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7703 Define always.
7704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7705
76e38f9a
AJ
7706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7707 bits/fcntl-linux.h.
7708
7cd37b43
AJ
7709 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7710 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7711
481b90b9
AJ
7712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7713 to __O_LARGEFILE.
7714 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7715 to __O_LARGEFILE.
7716
aba75984
JB
77172012-10-21 Jim Blandy <jimb@codesourcery.com>
7718 Joseph Myers <joseph@codesourcery.com>
7719
7720 * config.make.in (NM): New variable.
7721
88d4247f
AJ
77222012-10-21 Andreas Jaeger <aj@suse.de>
7723
7724 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7725 definitions and declarations that are provided by
7726 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7727
f2eed205
L
77282012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7729
7730 [BZ #14683]
7731 * elf/Makefile (tests-static): Add tst-leaks1-static.
7732 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7733 ($(objpfx)tst-leaks1-static): New rule.
7734 ($(objpfx)tst-leaks1-static-mem): Likewise.
7735 (tst-leaks1-static-ENV): New macro.
7736 * elf/dl-open.c (dl_open_worker): Check the main application
7737 only if SHARED is defined.
7738 * elf/tst-leaks1-static.c: New file.
7739
335e6931
AJ
77402012-10-20 Andreas Jaeger <aj@suse.de>
7741
7742 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7743 generic values for Linux.
7744 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7745 and declarations that are provided by <bits/fcntl-linux.h> and
7746 include <bits/fcntl-linux.h>.
7747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7748 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7749
ac5c94d3
RM
77502012-10-20 Roland McGrath <roland@hack.frob.com>
7751
7752 * io/fcntl.h: Move include of <bits/types.h> to the top and
7753 include it unconditionally.
7754
de54b33a
L
77552012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7756
228cfb01
L
7757 * wcsmbs/Makefile (tests-ifunc): New variable.
7758 (tests): Add $(tests-ifunc).
7759 * wcsmbs/test-wcschr-ifunc.c: New file.
7760 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7761 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7762 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7763 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7764 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7765
69f07e5f
L
7766 * string/Makefile (tests-ifunc): New variable.
7767 (tests): Add $(tests-ifunc).
7768 * string/test-memccpy.c (TEST_NAME): New macro.
7769 * string/test-memchr.c (TEST_NAME): Likewise.
7770 * string/test-memcmp.c (TEST_NAME): Likewise.
7771 * string/test-memcpy.c (TEST_NAME): Likewise.
7772 * string/test-memmem.c (TEST_NAME): Likewise.
7773 * string/test-memmove.c (TEST_NAME): Likewise.
7774 * string/test-memset.c (TEST_NAME): Likewise.
7775 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7776 * string/test-stpcpy.c (TEST_NAME): Likewise.
7777 * string/test-stpncpy.c (TEST_NAME): Likewise.
7778 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7779 * string/test-strcasestr.c (TEST_NAME): Likewise.
7780 * string/test-strcat.c (TEST_NAME): Likewise.
7781 * string/test-strchr.c (TEST_NAME): Likewise.
7782 * string/test-strcmp.c(TEST_NAME): Likewise.
7783 * string/test-strcpy.c (TEST_NAME): Likewise.
7784 * string/test-strcspn.c (TEST_NAME): Likewise.
7785 * string/test-strlen.c (TEST_NAME): Likewise.
7786 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7787 * string/test-strncmp.c (TEST_NAME): Likewise.
7788 * string/test-strncpy.c (TEST_NAME): Likewise.
7789 * string/test-strnlen.c (TEST_NAME): Likewise.
7790 * string/test-strpbrk.c (TEST_NAME): Likewise.
7791 * string/test-strrchr.c (TEST_NAME): Likewise.
7792 * string/test-strspn.c (TEST_NAME): Likewise.
7793 * string/test-strstr.c (TEST_NAME): Likewise.
7794 * string/test-bcopy-ifunc.c: New file.
7795 * string/test-bzero-ifunc.c: Likewise.
7796 * string/test-memccpy-ifunc.c: Likewise.
7797 * string/test-memchr-ifunc.c: Likewise.
7798 * string/test-memcmp-ifunc.c: Likewise.
7799 * string/test-memcpy-ifunc.c: Likewise.
7800 * string/test-memmem-ifunc.c: Likewise.
7801 * string/test-memmove-ifunc.c: Likewise.
7802 * string/test-mempcpy-ifunc.c: Likewise.
7803 * string/test-memset-ifunc.c: Likewise.
7804 * string/test-rawmemchr-ifunc.c: Likewise.
7805 * string/test-stpcpy-ifunc.c: Likewise.
7806 * string/test-stpncpy-ifunc.c: Likewise.
7807 * string/test-strcasecmp-ifunc.c: Likewise.
7808 * string/test-strcasestr-ifunc.c: Likewise.
7809 * string/test-strcat-ifunc.c: Likewise.
7810 * string/test-strchr-ifunc.c: Likewise.
7811 * string/test-strchrnul-ifunc.c: Likewise.
7812 * string/test-strcmp-ifunc.c: Likewise.
7813 * string/test-strcpy-ifunc.c: Likewise.
7814 * string/test-strcspn-ifunc.c: Likewise.
7815 * string/test-strlen-ifunc.c: Likewise.
7816 * string/test-strncasecmp-ifunc.c: Likewise.
7817 * string/test-strncat-ifunc.c: Likewise.
7818 * string/test-strncmp-ifunc.c: Likewise.
7819 * string/test-strncpy-ifunc.c: Likewise.
7820 * string/test-strnlen-ifunc.c: Likewise.
7821 * string/test-strpbrk-ifunc.c: Likewise.
7822 * string/test-strrchr-ifunc.c: Likewise.
7823 * string/test-strspn-ifunc.c: Likewise.
7824 * string/test-strstr-ifunc.c: Likewise.
7825
de54b33a
L
7826 * debug/Makefile (tests-ifunc): New variable.
7827 (tests): Add $(tests-ifunc).
7828 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7829 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7830 * debug/test-stpcpy_chk-ifunc.c: New file.
7831 * debug/test-strcpy_chk-ifunc.c: Likewise.
7832
88481c16
SP
78332012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7834
7835 [BZ #13601]
7836 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7837 header is not read in.
7838
135948bd
JM
78392012-10-19 Joseph Myers <joseph@codesourcery.com>
7840
89f1c388
JM
7841 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7842 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7843 directly. Pass built executable to script as
7844 $(built-program-cmd).
7845 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7846 $testprogram without using LD_LIBRARY_PATH and $ldso.
7847
e40a0d21
JM
7848 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7849 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7850 $(rtld-installed-name).
7851 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7852 (rtld_installed_name): Likewise.
7853 (library_path): Likewise.
7854 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7855 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7856 $(run-program-prefix) to tst-tables.sh.
7857 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7858 it to run tst-table-from and tst-table-to.
7859 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7860 Pass it to tst-table.sh.
7861 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7862 $(run-program-prefix) to tst-gettext.sh.
7863 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7864 tst-translit.sh.
7865 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7866 tst-gettext2.sh.
7867 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7868 to run tst-gettext.
7869 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7870 to run tst-gettext2.
7871 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7872 to run tst-translit.
7873 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7874 $(run-program-prefix) to tst-mtrace.sh.
7875 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7876 to run tst-mtrace.
7877 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7878 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7879 $(rtld-installed-name).
7880 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7881 (rtld_installed_name): Likewise.
7882 (run_program_prefix): New variable. Use it to run wordexp-test.
7883
728e272a
JM
7884 * Makeconfig (ARCH): Remove all definitions.
7885 (machine): Likewise.
7886 [ARCH]: Remove conditional code.
7887 [!objdir]: Give error.
7888 [!objdir] (objpfx): Remove.
7889 [!objdir] (common-objpfx): Likewise.
7890 [!objdir] (common-objdir): Likewise.
7891 * configure.in (config_makefile): Remove. Hardcode Makefile in
7892 AC_CONFIG_FILES call.
7893 * configure: Regenerated.
7894
d528cdcf
JM
7895 [BZ #13888]
7896 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7897 or TMPDIR.
7898 (testout): Likewise.
7899
135948bd
JM
7900 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7901 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7902 $(rtld-installed-name).
7903 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7904 (rtld_installed_name): Likwise.
7905 (runit): Remove function.
7906 (run_getconf): New variable, Use it for running getconf binary.
7907
38c78296
L
79082012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7909
7910 [BZ #14716]
7911 * string/test-memmem.c (check_result): New function.
7912 (do_one_test): Use it.
7913 (check1): New function.
7914 (test_main): Use it.
7915
d077f65f
MT
79162012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7917
7918 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7919
ced52c71
JM
79202012-10-18 Joseph Myers <joseph@codesourcery.com>
7921
7922 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7923 (_G_LSEEK64): Likewise.
7924 (_G_MMAP64): Likewise.
7925 (_G_FSTAT64): Likewise.
7926 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7927 (_G_LSEEK64): Likewise.
7928 (_G_MMAP64): Likewise.
7929 (_G_FSTAT64): Likewise.
7930 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7931 unconditional. Call __mmap64 directly.
7932 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7933 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7934 __lseek64 directly.
7935 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7936 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7937 __mmap64 directly.
7938 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7939 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7940 __lseek64 directly.
7941 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7942 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7943 __lseek64 directly.
7944 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7945 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7946 __lseek64 directly.
7947 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7948 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7949 __fxstat64 directly.
7950 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7951 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7952 unconditional.
7953 (freopen64) [!_G_OPEN64]: Remove conditional code.
7954 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7955 unconditional.
7956 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7957 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7958 unconditional.
7959 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7960 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7961 unconditional.
7962 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7963 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7964 unconditional.
7965 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7966 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7967 unconditional.
7968 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7969 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7970 unconditional.
7971 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7972 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7973 unconditional.
7974 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7975
b741de23
SP
79762012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7977
7978 [BZ #12140]
7979 * manual/memory.texi (Malloc Tunable Parameters): Add note
7980 about free list pointers overwriting some perturb bytes.
7981 Wording suggested by Roland McGrath.
7982
f9b9d9c9
JM
79832012-10-17 Joseph Myers <joseph@codesourcery.com>
7984
7985 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7986 (lgamma_test): Likewise.
7987 (tgamma_test): Likewise.
7988
172a631a
FW
79892012-10-16 Florian Weimer <fweimer@redhat.com>
7990
7991 [BZ #14700]
7992 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7993 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7994
e9f37252
MK
79952012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7996
7997 * NEWS: Mention BZ #14716.
7998 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7999 when removing AVAILABLE1_USES_J macro.
8000
d394eb74
L
80012012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8002
8003 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8004 (__bswap_64): __uint64_t for unsigned 64-bit int.
8005
ca38dc17
AS
80062012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8007
8008 * include/string.h (memmem): Declare libc hidden alias.
8009 * string/memmem.c (memmem): Define libc hidden alias.
8010 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8011 __read, __close instead of open, read, close.
8012
9a387d1f
L
80132012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8014
ac49ecaf
L
8015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8016 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8017 global and hidden.
8018 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8019 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8020 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8021 Likewise.
8022 (__rawmemchr_sse2): Likewise.
8023 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8024 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8025 (__strchr_sse2): Likewise.
8026 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8027 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8028 (__strcasecmp_sse2): Likewise.
8029 (__strncasecmp_sse2): Likewise.
8030 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8031 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8032 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8033 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8034 (__strrchr_sse2): Likewise.
8035 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8036 ifunc-impl-list.c.
8037 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8038 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8039 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8040 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8041 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8042 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8043 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8044 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8045 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8046 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8047 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8048 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8049 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8050 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8051 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8052 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8053 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8054 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8055 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8056 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8057 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8058 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8059 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8060 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8061 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8062 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8063 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8064 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8065 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8066 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8067
b090e8ea
L
8068 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8069 global and hidden.
8070 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8071 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8072 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8073 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8074 Likewise.
8075 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8076 Likewise.
8077 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8078 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8079 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8080 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8081 ifunc-impl-list.c.
8082 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8083 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8084 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8085 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8086 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8087 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8088 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8089 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8090 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8091 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8092 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8093 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8094 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8095 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8096 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8097 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8098 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8099 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8100 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8101 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8102 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8103 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8104 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8105 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8106 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8107 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8108 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8109 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8110 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8111 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8112 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8113 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8114 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8115 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8116 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8117 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8118 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8119 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8120 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8121 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8122 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8123
11dd4af6
L
8124 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8125 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8126 * include/ifunc-impl-list.h: New file.
8127 * misc/ifunc-impl-list.c: Likewise.
8128 * misc/Makefile (routines): Add ifunc-impl-list.
8129 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8130 * string/test-string.h: Include <ifunc-impl-list.h>.
8131 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8132 impl_array): New variables.
8133 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8134 are defined.
8135 (test_init): Call __libc_ifunc_impl_list to initialize
8136 func_list if TEST_IFUNC and TEST_NAME are defined.
8137
9a387d1f
L
8138 * string/Makefile (strop-tests): Add bcopy and bzero.
8139 * string/test-bcopy.c: New file.
8140 * string/test-bzero.c: Likewise.
8141 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8142 defined.
8143 * string/test-memset.c: Support bzero test if TEST_BZERO is
8144 defined.
8145 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8146 __libc_memmove.
8147 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8148 __libc_memset.
8149 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8150 of memset.
8151
472371b9
JM
81522012-10-10 Joseph Myers <joseph@codesourcery.com>
8153
1e4a9536
JM
8154 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8155 * configure: Regenerated.
8156
d173d12e
JM
8157 * Makeconfig (+link-static-before-libc): Don't include
8158 $(link-static-libc).
8159
472371b9
JM
8160 * libio/libio.h (_IO_pos_t): Remove.
8161
89a3ad0b
AO
81622012-10-10 Alexandre Oliva <aoliva@redhat.com>
8163
8164 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8165 McGrath.
8166
e7451425
AO
81672012-10-10 Alexandre Oliva <aoliva@redhat.com>
8168
8169 * crypt/crypt-entry.c: Include fips-private.h.
8170 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8171 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8172 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8173 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8174
4ba74a35
AO
81752012-10-10 Alexandre Oliva <aoliva@redhat.com>
8176
8177 * crypt/crypt-private.h: Include stdbool.h.
8178 (_ufc_setup_salt_r): Return bool.
8179 * crypt/crypt-entry.c: Include errno.h.
8180 (__crypt_r): Return NULL with EINVAL for bad salt.
8181 * crypt/crypt_util.c (bad_for_salt): New.
8182 (_ufc_setup_salt_r): Check that salt is long enough and within
8183 the specified alphabet.
8184 * crypt/badsalttest.c: New file.
8185 * crypt/Makefile (tests): Add it.
8186 ($(objpfx)badsalttest): New.
8187
f96f1242
MK
81882012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8189
8190 * NEWS: Add entry for BZ #14602.
8191
0e8e0c1c
JM
81922012-10-09 Joseph Myers <joseph@codesourcery.com>
8193
8194 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8195 type-generic.
8196 * math/libm-test.inc: Update comment listing what functions and
8197 macros are tested.
8198 (isgreater_test): New function.
8199 (isgreaterequal_test): Likewise.
8200 (isless_test): Likewise.
8201 (islessequal_test): Likewise.
8202 (islessgreater_test): Likewise.
8203 (isunordered_test): Likewise.
8204 (main): Call the new functions.
8205
273edc5e
RM
82062012-10-09 Roland McGrath <roland@hack.frob.com>
8207
b8493de0
RM
8208 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8209 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8210 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8211 * sysdeps/i386/configure: Regenerated.
8212 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8213 * sysdeps/mach/configure: Regenerated.
8214 * sysdeps/mach/hurd/configure: Regenerated.
8215 * sysdeps/powerpc/configure: Regenerated.
8216 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8217 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8218 * sysdeps/s390/s390-32/configure: Regenerated.
8219 * sysdeps/s390/s390-64/configure: Regenerated.
8220 * sysdeps/sh/configure: Regenerated.
8221 * sysdeps/sparc/configure: Regenerated.
8222 * sysdeps/unix/sysv/linux/configure: Regenerated.
8223 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8224 * sysdeps/x86_64/configure: Regenerated.
8225
273edc5e
RM
8226 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8227 defined. Don't check if MAP is NULL.
8228
c8450f70
JM
82292012-10-09 Joseph Myers <joseph@codesourcery.com>
8230
8231 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8232 (_G_stat64): Likewise.
8233 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8234 (_G_stat64): Likewise.
8235 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8236 instead of struct _G_stat64.
8237 * libio/fileops.c (mmap_remap_check): Likewise.
8238 (decide_maybe_mmap): Likewise.
8239 (_IO_new_file_seekoff): Likewise.
8240 (_IO_file_stat): Likewise.
8241 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8242 _G_off64_t.
8243 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8244 instead of struct _G_stat64.
8245 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8246
57e605ba
MK
82472012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8248
8249 [BZ #14602]
8250 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8251 Replace with ...
8252 (CHECK_EOL): New macro.
8253 (two_way_short_needle): Check beginning of haystack for EOL. Use
8254 CHECK_EOL.
8255 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8256 Replace with CHECK_EOL.
8257 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8258 Replace with CHECK_EOL.
8259
ef1bb361
JM
82602012-10-08 Joseph Myers <joseph@codesourcery.com>
8261
8262 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8263 type-generic.
8264 * math/libm-test.inc: Update comment listing what functions and
8265 macros are tested.
8266 (finite_test): New function.
8267 (isinf_test): Likewise.
8268 (isnan_test): Likewise.
8269 (fpclassify_test): Test subnormal input.
8270 (isfinite_test): Likewise.
8271 (isnormal_test): Likewise.
8272 (main): Call the new functions.
8273
55f11534
JN
82742012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8275
8276 [BZ #14660]
8277 * Makerules (%.dynsym): Force C locale when running
8278 $(OBJDUMP) --dynamic-syms.
8279
1ab29350
AS
82802012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8281
8282 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8283 <stdint.h>.
8284
f1ecb7ef
DM
82852012-10-06 David S. Miller <davem@davemloft.net>
8286
8287 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8288 upper 32-bits of the length value in %o2 since we use branch-on-register
8289 tests which consider the entire 64-bit register.
8290
5d41d91a
L
82912012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8292
8293 * string/test-strstr.c (check2): Add a test for page boundary.
8294
3baddb72
DM
82952012-10-05 David S. Miller <davem@davemloft.net>
8296
8297 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8298 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8299 file.
8300 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8301 sysdep_routines.
8302 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8303 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8304 and bzero when HWCAP_SPARC_CRYPTO is present.
8305
9cee5585
L
83062012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8307
d7e0dab9
L
8308 [BZ #14602]
8309 * string/test-strstr.c (check2): New function.
8310 (test_main): Call check2.
8311
03759f47
L
8312 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8313 and bug-strchr1.
8314 * string/bug-strcasestr1.c (do_test): Moved to ...
8315 * string/test-strcasestr.c (check1): Here. New function.
8316 (do_one_test): Break out result checking code into ...
8317 (check_result): This. New function.
8318 (do_one_test): Call check_result.
8319 (test_main): Call check1.
8320 * string/bug-strchr1.c (do_test): Moved to ...
8321 * string/test-strchr.c (check1): Here. New function.
8322 (do_one_test): Break out result checking code into ...
8323 (check_result): This. New function.
8324 (do_one_test): Call check_result.
8325 (test_main): Call check1.
8326 * string/bug-strstr1.c (main): Moved to ...
046f153e 8327 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8328 (do_one_test): Break out result checking code into ...
8329 (check_result): This. New function.
8330 (do_one_test): Call check_result.
8331 (test_main): Call check1.
8332 * string/bug-strcasestr1.c: Removed.
8333 * string/bug-strchr1.c: Likewise.
8334 * string/bug-strstr1.c: Likewise.
8335
53cea63e
L
8336 * elf/Makefile (dl-routines): Add hwcaps.
8337 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8338 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8339 (_dl_important_hwcaps): Moved to ...
8340 * elf/dl-hwcaps.c: Here. New file.
8341 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8342
9cee5585 8343 [BZ #14557]
bb859b06
L
8344 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8345 if IS_IN_rtld isn't defined.
8346
9cee5585
L
8347 * elf/dl-support.c (_dl_sysinfo_map): New.
8348 Include "get-dynamic-info.h" and "setup-vdso.h".
8349 (_dl_non_dynamic_init): Call setup_vdso.
8350 * elf/dynamic-link.h: Don't include <assert.h>.
8351 (elf_get_dynamic_info): Moved to ...
8352 * elf/get-dynamic-info.h: Here. New file.
8353 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8354 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8355 * elf/setup-vdso.h: Here. New file.
8356 * elf/rtld.c: Include "setup-vdso.h".
8357 (dl_main): Call setup_vdso.
8358
23c31b76
JM
83592012-10-05 Joseph Myers <joseph@codesourcery.com>
8360
28234b07
JM
8361 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8362 creal in comment listing functions tested. List finite, isinf,
8363 isnan, isless, islessequal, isgreater, isgreaterequal,
8364 islessgreater, isunordered, lgamma_r and pow10 as functions and
8365 macros not tested. Mention which functions not tested are aliases
8366 for other functions. Fix typo. Note that signs of NaNs are not
8367 tested.
8368
23c31b76
JM
8369 * scripts/config.guess: Update from config.git.
8370 * scripts/config.sub: Likewise.
8371
9043e228
RM
83722012-10-04 Roland McGrath <roland@hack.frob.com>
8373
8374 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8375 * misc/madvise.c (madvise): Renamed to __madvise.
8376 Make madvise a weak alias.
8377 * include/sys/mman.h: Declare __madvise.
8378 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8379 * sysdeps/unix/syscalls.list
8380 (madvise): Make __madvise the strong name, and madvise a weak alias.
8381 * sysdeps/unix/sysv/linux/syscalls.list
8382 (madvise, mmap): Remove redundant entries.
8383 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8384 * malloc/malloc.c (mtrim): Likewise.
8385 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8386
f57f8055
RM
83872012-10-03 Roland McGrath <roland@hack.frob.com>
8388
8389 * sysdeps/mach/hurd/dl-cache.c: File removed.
8390 * config.h.in (USE_LDCONFIG): New #undef.
8391 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8392 * configure: Regenerated.
8393 * elf/Makefile (dl-routines): Add dl-cache only under
8394 [$(use-ldconfig) = yes].
8395 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8396 cache on [USE_LDCONFIG].
8397 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8398 [USE_LDCONFIG].
8399 * elf/rtld.c (dl_main): Likewise.
8400
5bb0c10a
PT
84012012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8402
8403 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8404 _SC_LEVEL4_CACHE_LINESIZE.
8405
010188c6
RM
84062012-10-03 Roland McGrath <roland@hack.frob.com>
8407
8408 * sysdeps/unix/bsd/confstr.h: File removed.
8409
b6c5ec07
AO
84102012-10-02 Alexandre Oliva <aoliva@redhat.com>
8411
8412 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8413 sys/sdt-config.h.
8414
408223d4
RM
84152012-10-02 Roland McGrath <roland@hack.frob.com>
8416
8417 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8418 Make 'mapoff' field ElfW(Off) rather than off_t.
8419
bb9510dc
DL
84202012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8421
fc997c6e
DL
8422 * nscd/Makefile: Remove nscd-cflags and all its users.
8423 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8424 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8425
bb9510dc
DL
8426 [BZ #10631]
8427 * malloc.c (malloc_printerr): Clarify error message.
8428
05699367
L
84292012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8430
8431 [BZ #14648]
8432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8433 Set bit_FMA_Usable if FMA is supported.
8434 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8435 macro.
8436 (bit_FMA4_Usable): Updated.
8437 (index_FMA_Usable): New macro.
8438 (CPUID_FMA): Likewise
8439 (HAS_FMA): Defined with bit_FMA_Usable.
8440
51367701
RM
84412012-10-01 Roland McGrath <roland@hack.frob.com>
8442
8443 * bits/types.h (__swblk_t): Type removed.
8444 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8445 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8446 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8447 (__SWBLK_T_TYPE): Likewise.
8448 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8449 (__SWBLK_T_TYPE): Likewise.
8450 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8451 (__SWBLK_T_TYPE): Likewise.
8452 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8453 (__SWBLK_T_TYPE): Likewise.
8454
4d57bf63 84552012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8456 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8457
8458 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8459 (xdr_mapname): Use YPMAXMAP as maxsize.
8460 (xdr_peername): Use YPMAXPEER as maxsize.
8461 (xdr_keydat): Use YPAXRECORD as maxsize.
8462 (xdr_valdat): Use YPMAXRECORD as maxsize.
8463
93c65d43
RM
84642012-10-01 Roland McGrath <roland@hack.frob.com>
8465
497a03d6
RM
8466 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8467
93c65d43
RM
8468 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8469 * csu/init-first.c: ... here.
8470 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8471 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8472 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8473 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8474 * sysdeps/i386/init-first.c: File removed.
8475 * sysdeps/sh/init-first.c: File removed.
8476
bec749fd
JM
84772012-10-01 Joseph Myers <joseph@codesourcery.com>
8478
8479 [BZ #14645]
8480 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8481 if x * y might underflow to zero and z is zero.
8482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8483 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8484 * math/libm-test.inc (min_subnorm_value): New variable.
8485 (fma_test): Add more tests.
8486 (fma_test_towardzero): Likewise.
8487 (fma_test_downward): Likewise
8488 (fma_test_upward): Likewise.
8489 (initialize): Set min_subnorm_value.
8490
8ec5b013
JM
84912012-09-29 Joseph Myers <joseph@codesourcery.com>
8492
8493 [BZ #14638]
8494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8495 0 + 0.
8496 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8497 mode for addition resulting in exact zero.
8498 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8500 exact 0 + 0.
8501 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8502 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8503 * math/libm-test.inc (fma_test): Add more tests.
8504 (fma_test_towardzero): New function.
8505 (fma_test_downward): Likewise.
8506 (fma_test_upward): Likewise.
8507 (main): Call the new functions.
8508
b1fa802e
DM
85092012-09-28 David S. Miller <davem@davemloft.net>
8510
8511 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8512
d3b9fd9e
RM
85132012-09-28 Roland McGrath <roland@hack.frob.com>
8514
ea4d37b3
RM
8515 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8516 instead of SIGALRM.
8517
ac51c949
RM
8518 * sysdeps/gnu/_G_config.h: Moved to ...
8519 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8520 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8521 * sysdeps/generic/_G_config.h: ... here.
8522
28c195f7
RM
8523 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8524
848917f9
RM
8525 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8526
6bacf05b
RM
8527 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8528 Conditionalize target on [libnss_test1.so-version].
8529
91363dbb
RM
8530 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8531
cc87f7d8
RM
8532 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8533 (elfobjdir): Move out of conditionals.
8534
b1c608fe
RM
8535 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8536 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8537 (__nss_lookup_function): Conditionalize label remove_from_tree on
8538 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8539
1d9a6d96
DM
85402012-09-28 David S. Miller <davem@davemloft.net>
8541
8542 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8543 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8544 file.
8545 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8546 sysdep_routines.
8547 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8549 when HWCAP_SPARC_CRYPTO is present.
8550
72581615
PT
85512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8552
8553 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8554
715a900c
JL
85552012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8556
8557 [BZ #6530]
8558 * stdio-common/vfprintf.c (process_string_arg): Revert
8559 2000-07-22 change.
8560
85612011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8562
8563 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8564 for testcase.
8565 * stdio-common/tst-sprintf.c: Include <locale.h>
8566 (main): Test sprintf's handling of incomplete multibyte
8567 characters.
8568
9bac1d86
L
85692012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8570
8571 * elf/dl-runtime.c (VERSYMIDX): Removed.
8572 * elf/dl-version.c (VERSYMIDX): Likewise.
8573 * elf/do-rel.h (VERSYMIDX): Likewise.
8574 (VALIDX): Likewise.
8575 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8576 * elf/rtld.c (VALIDX): Likewise.
8577 (ADDRIDX): Likewise.
9bac1d86
L
8578 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8579 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8580 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8581 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8582 (VALIDX): Likewise.
8583 (ADDRIDX): Likewise.
9bac1d86 8584
b31606c0
PT
85852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8586
8587 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8588
11541177
JL
85892012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8590
8591 [BZ #11438]
8592 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8593 to global scope.
8594 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8595 addresses are in the same scope as 192.0.2/24.
8596 * posix/gai.conf: Document new scope table defaults.
8597
adb26fae
SP
85982012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8599
8600 [BZ #5298]
8601 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8602 for ftell. Compute offsets from write pointers instead.
8603 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8604
4573c6b0
SP
86052012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8606
8607 [BZ #14543]
8608 * libio/Makefile (tests): New test case tst-fseek.
8609 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8610 combination works in wide mode.
8611 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8612 state when the external buffer state changes.
8613
aa9bbfe6
DM
86142012-09-27 David S. Miller <davem@davemloft.net>
8615
8616 [BZ #14376]
8617 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8618 pass reloc->r_addend in as the 'high' argument to
8619 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8620
784421e7
DM
8621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8622
c39bc8b8
PT
86232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8624
8625 * rt/tst-aio2.c: Include <pthread.h>.
8626 * rt/tst-aio3.c: Likewise.
8627
1ccc2399
SE
86282012-09-27 Steve Ellcey <sellcey@mips.com>
8629
8630 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8631
31ed4153
L
86322012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8633
25f5f885
L
8634 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8635 contents on [SHARED].
31ed4153 8636
b7bfe116
MP
86372012-09-26 Marek Polacek <polacek@redhat.com>
8638
8639 [BZ #14530]
8640 [BZ #13741]
8641 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8642 for C++ and GCC <4.3 as well as for non GCC compilers.
8643
43c4edba
MT
86442012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8645
8646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8647
6a1bf82f
RM
86482012-09-25 Roland McGrath <roland@hack.frob.com>
8649
8650 * Makefile.in (all, install): Declare with .PHONY.
8651 Reported by Michael Hope <michael.hope@linaro.org>.
8652
8ad11b9a
TMQMF
86532012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8654
8655 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8656 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8657 system header.
8658 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8659 Likewise.
8660 (sydep_routines): Add the new and the internal functions.
8661 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8662 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8664 (GLIBC_2.17): Add the new function.
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8666 (GLIBC_2.17): Likewise.
8667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8668 (GLIBC_2.17): Likewise.
8669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8670 (GLIBC_2.17): Likewise.
8671 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8672
7e2fca8d
AM
86732012-09-25 Alan Modra <amodra@gmail.com>
8674
8675 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8676 Add release barrier before setting once_control to say
8677 initialisation is done. Add hints on lwarx. Use macro in
8678 place of isync.
8679 (clear_once_control): Add release barrier.
8680
b87c4b24
JM
86812012-09-25 Joseph Myers <joseph@codesourcery.com>
8682
d032e0d2
JM
8683 [BZ #13629]
8684 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8685 specially.
8686 * math/s_clog10.c (__clog10): Likewise.
8687 * math/s_clog10f.c (__clog10f): Likewise.
8688 * math/s_clog10l.c (__clog10l): Likewise.
8689 * math/s_clogf.c (__clogf): Likewise.
8690 * math/s_clogl.c (__clogl): Likewise.
8691 * math/Makefile (libm-calls): Add x2y2m1.
8692 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8693 (__x2y2m1): Likewise.
8694 (__x2y2m1l): Likewise.
8695 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8696 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8699 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8700 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8701 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8702 * sysdeps/i386/fpu/libm-test-ulps: Update.
8703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8704
b87c4b24
JM
8705 [BZ #14621]
8706 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8707 int as type of variable DEPTH.
8708 (glob): Use size_t instead of int as type of variables NEWCOUNT
8709 and OLD_PATHC.
8710
6d3bf199
LD
87112012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8712
22bf5c17
LD
8713 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8714 Add s_sincosf-sse2.
8715 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8716 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8717 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8718 macros for using routine as __sincosf_ia32.
8719 Use macro for function declaration and weak_alias.
8720 * sysdeps/i386/fpu/libm-test-ulps: Update.
8721
8722 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8724
8725 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8726 subnormal argument.
8727 * math/s_cexpf.c (__cexpf): Likewise.
8728 * math/s_csinf.c (__csinf): Likewise.
8729 * math/s_csinhf.c (__csinhf): Likewise.
8730 * math/s_ctanf.c (__ctanf): Likewise.
8731 * math/s_ctanhf.c (__ctanhf): Likewise.
8732 * math/s_ccosh.c (__ccoshf): Likewise.
8733 * math/s_cexp.c (__cexpl): Likewise.
8734 * math/s_csin.c (__csin): Likewise.
8735 * math/s_csinh.c (__csinh): Likewise.
8736 * math/s_ctan.c (__ctan): Likewise.
8737 * math/s_ctanh.c (ctanh): Likewise.
8738 * math/s_ccoshl.c (__ccoshl): Likewise.
8739 * math/s_cexpl.c (__cexpl): Likewise.
8740 * math/s_csinl.c (__csinl): Likewise.
8741 * math/s_csinhl.c (__csinhl): Likewise.
8742 * math/s_ctanl.c (__ctanl): Likewise.
8743 * math/s_ctanhl.c (__ctanhl): Likewise.
8744
203e5603
JM
87452012-09-25 Joseph Myers <joseph@codesourcery.com>
8746
8747 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8748 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8749 (_IO_off_t): Define to __off_t, not _G_off_t.
8750 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8751 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8752 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8753 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8754 type of __dummy and __dummy2 fields.
8755 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8756 (_G_ssize_t): Likewise.
8757 (_G_off_t): Likewise.
8758 (_G_pid_t): Likewise.
8759 (_G_uid_t): Likewise.
8760 (_G_wchar_t): Likewise.
8761 (_G_wint_t): Likewise.
8762 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8763 (_G_ssize_t): Likewise.
8764 (_G_off_t): Likewise.
8765 (_G_pid_t): Likewise.
8766 (_G_uid_t): Likewise.
8767 (_G_wchar_t): Likewise.
8768 (_G_wint_t): Likewise.
8769 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8770 (_G_ssize_t): Likewise.
8771 (_G_off_t): Likewise.
8772 (_G_pid_t): Likewise.
8773 (_G_uid_t): Likewise.
8774 (_G_wchar_t): Likewise.
8775 (_G_wint_t): Likewise.
8776
9fab36eb
SP
87772012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8778
8779 * malloc/arena.c: Include malloc-sysdep.h.
8780 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8781 is sufficient to shrink the heap or an unmap is needed.
8782 * sysdeps/generic/malloc-sysdep.h: New file. Define
8783 new function check_may_shrink_heap.
8784 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8785 new function check_may_shrink_heap.
8786
2b4f00d1
SP
87872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8788
8789 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8790 comments.
8791
9a9028b1
DL
87922012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8793
57c69bef
DL
8794 * catgets/test-gencat.sh: Add "set -e".
8795 * elf/tst-pathopt.sh: Likewise.
8796 * grp/tst_fgetgrent.sh: Likewise.
8797 * iconvdata/run-iconv-test.sh: Likewise.
8798 * intl/tst-gettext.sh: Likewise.
8799 * intl/tst-gettext2.sh: Likewise.
8800 * intl/tst-gettext4.sh: Likewise.
8801 * intl/tst-gettext6.sh: Likewise.
8802 * intl/tst-translit.sh: Likewise.
8803 * io/ftwtest-sh: Likewise.
8804 * libio/test-freopen.sh: Likewise.
8805 * malloc/tst-mtrace.sh: Likewise.
8806 * posix/globtest.sh: Likewise.
8807 * posix/tst-getconf.sh: Likewise.
8808 * posix/wordexp-tst.sh: Likewise.
8809 * stdio-common/tst-printf.sh: Likewise.
8810 * stdio-common/tst-unbputc.sh: Likewise.
8811 * stdlib/tst-fmtmsg.sh: Likewise.
8812 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8813 * catgets/Makefile: Do not specify -e option when running
8814 testsuite shell scripts.
8815 * elf/Makefile: Likewise.
8816 * grp/Makefile: Likewise.
8817 * iconvdata/Makefile: Likewise.
8818 * intl/Makefile: Likewise.
8819 * io/Makefile: Likewise.
8820 * libio/Makefile: Likewise.
8821 * malloc/Makefile: Likewise.
8822 * posix/Makefile: Likewise.
8823 * stdio-common/Makefile: Likewise.
8824 * stdlib/Makefile: Likewise.
8825 * sysdeps/x86_64/Makefile: Likewise.
8826
9a9028b1
DL
8827 * io/ftwtest-sh: Add copyright header.
8828 * posix/globtest.sh: Likewise.
8829 * posix/tst-getconf.sh: Likewise.
8830 * posix/wordexp-tst.sh: Likewise.
8831 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8832
ced6f16e
L
88332012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8834
94b32c39
L
8835 [BZ #13679]
8836 * Makeconfig (+link): Defined as $(+link-static) if
8837 $(build-shared) isn't yes.
8838 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8839 isn't yes.
8840 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8841
189e935b
L
8842 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8843
ced6f16e
L
8844 [BZ #14562]
8845 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8846 new chunk size with MALLOC_ALIGN_MASK.
8847
a9f8e53a
JM
88482012-09-24 Joseph Myers <joseph@codesourcery.com>
8849
8850 [BZ #5044]
8851 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8852 <rounding-mode.h>.
8853 (__printf_fphex): Determine rounding using get_rounding_mode and
8854 round_away.
8855 * stdio-common/tst-printf-round.c (struct hex_test): New
8856 structure.
8857 (hex_tests): New variable.
8858 (test_hex_in_one_mode): New function.
8859 (do_test): Also run tests for hex float output.
8860
43153109
JM
88612012-09-21 Joseph Myers <joseph@codesourcery.com>
8862
8863 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8864 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8865 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8866 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8867 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8868 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8869 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8870 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8871
8a26625d
JM
88722012-09-20 Joseph Myers <joseph@codesourcery.com>
8873
8874 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8875 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8876 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8877 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8878
f3fd569c
DL
88792012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8880
8881 [BZ #14579]
8882 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8883 mode only.
8884 * elf/tst-rtld-load-self.sh: New test.
8885 * elf/Makefile: Run it.
8886
63bbedd4
JM
88872012-09-18 Joseph Myers <joseph@codesourcery.com>
8888
8889 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8890 (tst-writev-ENV): Remove.
8891 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8892
626f8b6a
CM
88932012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8894
8895 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8896
b7aaa4d6
JM
88972012-09-17 Joseph Myers <joseph@codesourcery.com>
8898
8899 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8900 unconditional.
8901 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8902 Likewise.
8903 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8904 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8905 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8906 Likewise.
8907
65513990
L
89082012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8909
8910 [BZ #14587]
8911 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8912 * config.make.in (have-cpp-asm-debuginfo): Removed.
8913 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8914 * configure: Regenerated.
8915
784761be
JM
89162012-09-14 Joseph Myers <joseph@codesourcery.com>
8917
8918 [BZ #5044]
8919 * stdio-common/printf_fp.c: Include <stdbool.h> and
8920 <rounding-mode.h>.
8921 (___printf_fp): Determine rounding using get_rounding_mode and
8922 round_away.
8923 * stdio-common/tst-printf-round.c: New file.
8924 * stdio-common/Makefile (tests): Add tst-printf-round.
8925 (link-libm): New variable.
8926 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8927
9503345f
L
89282012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8929
8930 [BZ #14576]
8931 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8932 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8933 Likewise.
8934 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8935 Likewise.
8936
ad35fc00
JM
89372012-09-13 Joseph Myers <joseph@codesourcery.com>
8938
8939 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8940 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8941 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8942 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8943
6c9b0f68
JM
89442012-09-12 Joseph Myers <joseph@codesourcery.com>
8945
8946 [BZ #14518]
8947 * include/rounding-mode.h: New file.
8948 * sysdeps/generic/get-rounding-mode.h: Likewise.
8949 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8950 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8951 (MAX_VALUE): New macro.
8952 (MIN_VALUE): Likewise.
8953 (overflow_value): New function.
8954 (underflow_value): Likewise.
8955 (round_and_return): Use overflow_value and underflow_value to
8956 determine return values in overflow and underflow cases. Use
8957 round_away to determine rounding depending on rounding mode.
8958 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8959 determine return values in overflow and underflow cases.
8960 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8961 (struct test_results): New structure.
8962 (struct test): Use struct test_results to store expected results
8963 for all rounding modes.
8964 (TEST): Include expected results for all rounding modes.
8965 (test_in_one_mode): New function.
8966 (do_test): Use test_in_one_mode to compute and check results.
8967 Check results for all rounding modes.
8968 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8969 $(link-libm).
8970
19fcedd5
AM
89712012-12-09 Allan McRae <allan@archlinux.org>
8972
1e9d84cd 8973 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8974
8bbfd2f1
JM
89752012-09-11 Joseph Myers <joseph@codesourcery.com>
8976
8977 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8978 (_G_int32_t): Likewise.
8979 (_G_uint16_t): Likewise.
8980 (_G_uint32_t): Likewise.
8981 (_G_HAVE_BOOL): Likewise.
8982 (_G_HAVE_ATEXIT): Likewise.
8983 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8984 (_G_HAVE_IO_FILE_OPEN): Likewise.
8985 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8986 (_G_int32_t): Likewise.
8987 (_G_uint16_t): Likewise.
8988 (_G_uint32_t): Likewise.
8989 (_G_HAVE_BOOL): Likewise.
8990 (_G_HAVE_ATEXIT): Likewise.
8991 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8992 (_G_HAVE_IO_FILE_OPEN): Likewise.
8993 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8994 (_G_int32_t): Likewise.
8995 (_G_uint16_t): Likewise.
8996 (_G_uint32_t): Likewise.
8997 (_G_HAVE_BOOL): Likewise.
8998 (_G_HAVE_ATEXIT): Likewise.
8999 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9000 (_G_HAVE_IO_FILE_OPEN): Likewise.
9001
b1dc5912
L
90022012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9003
9004 * csu/libc-tls.c: Update copyright years.
9005
0e886ef9
JM
90062012-09-10 Joseph Myers <joseph@codesourcery.com>
9007
28361c5e
JM
9008 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9009 [!_G_USING_THUNKS]: Remove conditional code.
9010 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9011 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9012
0e886ef9
JM
9013 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9014 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9015 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9016 (_G_VTABLE_LABEL_PREFIX): Likewise.
9017 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9018 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9019 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9020 (_G_VTABLE_LABEL_PREFIX): Likewise.
9021 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9022 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9023 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9024 (_G_VTABLE_LABEL_PREFIX): Likewise.
9025 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9026
bcba7aa2
L
90272012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9028
9029 * libio/Makefile: Include ../Makeconfig before tests.
9030 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9031 only if $(build-shared) is yes.
9032
06585ee8
L
9033 * iconv/gconv_db.c: Update copyright years.
9034
80ccd52c
LD
90352012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9036
9037 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9038 unwind info if defined PIC. Fix special cases description.
9039 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9040
9041 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9042 DP_HI_MASK entry.
9043 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9044
691bc9c1
L
90452012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9046
3d9b46b3
L
9047 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9048
de2139a9
L
9049 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9050 is NULL.
9051
5ca78dd0
L
9052 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9053 (LDLIBS-tst-chk4): This.
9054 (LDFLAGS-tst-chk5): Renamed to ...
9055 (LDLIBS-tst-chk5): This.
9056 (LDFLAGS-tst-chk6): Renamed to ...
9057 (LDLIBS-tst-chk6): This.
9058 (LDFLAGS-tst-lfschk4): Renamed to ...
9059 (LDLIBS-tst-lfschk4): This.
9060 (LDFLAGS-tst-lfschk5): Renamed to ...
9061 (LDLIBS-tst-lfschk5): This.
9062 (LDFLAGS-tst-lfschk6): Renamed to ...
9063 (LDLIBS-tst-lfschk6): This.
9064
691bc9c1
L
9065 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9066 on $(common-objpfx)soversions.mk.
9067
65cafb1c
JM
90682012-09-07 Joseph Myers <joseph@codesourcery.com>
9069
9070 [BZ #10014]
9071 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9072 example host name.
9073
c78ab094
SP
90742012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9075
9076 * malloc/arena.c (arena_get_retry): New function that gets
9077 another arena for the caller to try its request on.
9078 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9079 current arena cannot fulfill the request.
9080 (__libc_memalign): Likewise.
9081 (__libc_memalign): Likewise.
9082 (__libc_pvalloc): Likewise.
9083 (__libc_calloc): Likewise.
9084
01f49f59
JT
90852012-09-05 John Tobey <john.tobey@gmail.com>
9086
9087 [BZ #13542]
9088 * manual/arith.texi (Operations on Complex): Fix description
9089 of carg branch cut.
9090
4c23fed5
JM
90912012-09-06 Joseph Myers <joseph@codesourcery.com>
9092
1d3c8572
JM
9093 [BZ #10014]
9094 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9095 host name.
9096
4c23fed5
JM
9097 [BZ #10038]
9098 * manual/memory.texi (Memory): Make order of menu items match
9099 order of sections.
9100
04570aaa
L
91012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9102
9103 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9104 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9105 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9106
b80af2f4
L
91072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9108
9109 * csu/libc-tls.c (static_dtv): Renamed to ...
9110 (_dl_static_dtv): This. Make it global.
9111 (_dl_initial_dtv): Removed.
9112 (__libc_setup_tls): Updated.
9113 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9114 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9115 DL_INITIAL_DTV.
9116
2abe9f15
PM
91172012-09-06 Petr Machata <pmachata@redhat.com>
9118
9119 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9120 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9121 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9122 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9123
0948c3af
L
91242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9125
9126 [BZ #14545]
9127 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9128 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9129 freeing dtv[-1].
9130
a5055ad1
L
91312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9132
9133 [BZ #14544]
9134 * Makeconfig (link-static-before-libc): Replace $(+prector)
9135 with $(+prectorT).
9136 (link-static-after-libc): Replace $(+postctor) with
9137 $(+postctorT).
9138 (link-bounded): Replace $(+prector)/$(+postctor) with
9139 $(+prectorT)/$(+postctorT).
9140 (+prectorT): New macro.
9141 (+postctorT): Likewise.
9142
ed8c2ecd
JM
91432012-09-06 Joseph Myers <joseph@codesourcery.com>
9144
9145 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9146 (round_str): Handle values above the maximum for IBM long double
9147 as inexact.
9148 * stdlib/tst-strtod-round.c (tests): Regenerated.
9149
14c996c8
AK
91502012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9151
9152 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9153 assembler flag.
9154 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9155 zarch_nohighgprs around the zarch optimized routines.
9156 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9157 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9158 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9159 for zarch.
9160
430d6ce6
DM
91612012-09-05 David S. Miller <davem@davemloft.net>
9162
9163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9164
ff04dda4
DM
9165 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9166 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9167 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9168 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9169 entries.
9170
24d4e01b
AO
91712012-09-05 Alexandre Oliva <aoliva@redhat.com>
9172
9173 * malloc/arena.c: Fold copyright years.
9174 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9175
61d58174
AO
91762012-09-05 Alexandre Oliva <aoliva@redhat.com>
9177
9178 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9179
20196a5e
AO
91802012-09-05 Alexandre Oliva <aoliva@redhat.com>
9181
9182 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9183
5c447383
AO
91842012-09-05 Alexandre Oliva <aoliva@redhat.com>
9185
9186 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9187 change internal state upon failure.
9188
fad64255
AO
91892012-09-05 Alexandre Oliva <aoliva@redhat.com>
9190
9191 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9192 * malloc/memusage.c (mmap): Likewise.
9193 (mmap64, mremap): Likewise. Adjust name in comment.
9194
1ffb8c90
SP
91952012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9196
9197 * libio/fileops.c: Fix typos in comments.
9198 * libio/oldfileops.c: Likewise.
9199 * libio/wfileops.c: Likewise.
9200
6ef9cc37
SP
92012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9202
9203 [BZ #1349]
9204 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9205 (tst-malloc-usable-ENV): Set environment for test case.
9206 * malloc/hooks.c (malloc_check_get_size): New function to get
9207 requested size.
9208 * malloc/malloc.c (musable): Use malloc_check_get_size.
9209 * malloc/tst-malloc-usable.c: New test case.
9210
4d038ae3
AS
92112012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9212
9213 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9214
c4e85184
AM
92152012-09-05 Allan McRae <allan@archlinux.org>
9216
b9dafc56 9217 [BZ #13966]
c4e85184
AM
9218 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9219 determine header location.
9220 * configure: Regenerated.
9221
e1343020
AS
92222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9223
9224 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9225 float format.
9226 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9227 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9228 format.
e1343020
AS
9229 (test): Regenerate.
9230
0a9f1987
DM
92312012-09-04 David S. Miller <davem@davemloft.net>
9232
9233 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9234 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9235 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9236
29237804
FW
92372012-09-04 Florian Weimer <fweimer@redhat.com>
9238
9239 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9240 failures.
9241
edb3cb88
FW
9242 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9243
60160d83
JM
92442012-09-04 Joseph Myers <joseph@codesourcery.com>
9245
9246 [BZ #9914]
9247 * libio/iogetdelim.c: Include <limits.h>.
9248 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9249 + len + 1 would overflow.
9250
bcd6c8dc
AJ
92512012-09-03 Andreas Jaeger <aj@suse.de>
9252
9253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9254 * sysdeps/i386/fpu/libm-test-ulps: Update.
9255
4ffffbd2
LD
92562012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9257
9258 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9259 Add s_sinf-sse2, s_conf-sse2.
9260
9261 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9262 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9263 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9264 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9265
9266 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9267 for using routine as __sinf_ia32.
9268 Use macro for function declaration and weak_alias.
9269 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9270 for using routine as __cosf_ia32.
9271 Use macro for function declaration and weak_alias.
9272
9273 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9274 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9275
9276 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9277 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9279
9280 * math/libm-test.inc (cos_test): Add more test cases.
9281 (sin_test): Likewise.
9282 (sincos_test): Likewise.
9283
511fa286
AK
92842012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9285
9286 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9287 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9288 hidden.
9289 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9290
5f30cfec
L
92912012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9292
9293 [BZ #14538]
9294 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9295 first element of the GOT.
9296 (elf_machine_load_address): Return the difference between
9297 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9298
0786794f
AM
92992012-09-01 Allan McRae <allan@archlinux.org>
9300
5f30cfec
L
9301 [BZ #13412]
9302 * configure.in (AWK): Require gawk version 3.0 or later.
9303 * configure: Regenerated.
0786794f 9304
26889eac
JM
93052012-09-01 Joseph Myers <joseph@codesourcery.com>
9306
9307 * sysdeps/unix/sysv/linux/kernel-features.h
9308 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9309 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9310 [__NR_clock_getres]: Make code unconditional.
9311 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9312 (clock_getcpuclockid): Remove code left unreachable by removal of
9313 conditionals.
9314 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9315 code unconditional.
9316 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9317 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9318 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9319 Make code unconditional.
9320 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9321 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9322 * sysdeps/unix/sysv/linux/clock_settime.c
9323 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9324 conditional code.
9325 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9326 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9327
d22e28b0
L
93282012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9329
9330 [BZ #14476]
9331 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9332 scripts/test-installation.pl.
9333
9334 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9335 and $ld_so_version if it is set.
9336
050af9c4
SP
93372012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9338
9339 [BZ #14516]
9340 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9341 failure if reading from procfs failed.
9342 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9343
ad845c0b
JM
93442012-08-27 Joseph Myers <joseph@codesourcery.com>
9345
9346 * sysdeps/unix/sysv/linux/kernel-features.h
9347 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9348 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9349 Remove conditional code.
9350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9351 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9352 Remove conditional code.
9353 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9354 * sysdeps/unix/sysv/linux/i386/fxstat.c
9355 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9357 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9358 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9360 * sysdeps/unix/sysv/linux/i386/lxstat.c
9361 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9362 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9363 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9364 Remove conditional code.
9365 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9366 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9367 Remove conditional code.
9368 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9369 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9370 <kernel-features.h>.
9371 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9372 Remove.
9373 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9374 Remove conditional code.
9375 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9376 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9377 Remove conditional.
9378
5dbf56af
MF
93792012-08-27 Mike Frysinger <vapier@gentoo.org>
9380
9381 [BZ #5400]
9382 * NEWS: Add fixed bug number.
9383
d6e70f43
JM
93842012-08-27 Joseph Myers <joseph@codesourcery.com>
9385
7efb4737
JM
9386 [BZ #14519]
9387 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9388 underflowing exponent in case of negative sign.
9389 * stdlib/tst-strtod-round-data: Add more tests.
9390 * stdlib/tst-strtod-round.c (tests): Regenerated.
9391
af92131a
JM
9392 [BZ #3479]
9393 * stdlib/strtod_l.c (NDIG): Remove.
9394 (HEXNDIG): Likewise.
9395 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9396 smallest representable value.
9397 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9398 lie within an exact representation of 1/2 ulp of the result.
9399 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9400 unconditionally.
9401 (TENS_P9_IDX): Define unconditionally.
9402 (TENS_P9_SIZE): Likewise.
9403 (TENS_P10_IDX): Likewise.
9404 (TENS_P10_SIZE): Likewise.
9405 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9406 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9407 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9408 entries for 10^2^13 and 10^2^14.
9409 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9410 (TENS_P13_IDX): Define.
9411 (TENS_P13_SIZE): Likewise.
9412 (TENS_P14_IDX): Likewise.
9413 (TENS_P14_SIZE): Likewise.
9414 (_fpioconst_pow10): Change array size to
9415 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9416 unconditional.
9417 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9418 1024]: Add entries for 10^2^13 and 10^2^14.
9419 [LAST_POW10 > _LAST_POW10]: Remove #error.
9420 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9421 (_fpioconst_pow10): Change array size to
9422 FPIOCONST_POW10_ARRAY_SIZE.
9423 * stdlib/gen-fpioconst.c: New file.
9424 * stdlib/gen-tst-strtod-round.c: Likewise.
9425 * stdlib/tst-strtod-round-data: Likewise.
9426 * stdlib/tst-strtod-round.c: Likewise.
9427 * stdlib/Makefile (tests): Add tst-strtod-round.
9428
d6e70f43
JM
9429 [BZ #14459]
9430 * stdlib/strtod_l.c: Include <stdint.h>.
9431 (NDEBUG): Do not define.
9432 (round_and_return): Change EXPONENT parameter to type intmax_t.
9433 Rearrange calculations to avoid internal overflow possibilities.
9434 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9435 Rearrange calculations to avoid internal overflow possibilities.
9436 Assert that number fits inside MPNSIZE limbs.
9437 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9438 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9439 calculations and add assertions to avoid internal overflow
9440 possibilities. Add casts to avoid signed/unsigned operations.
9441 * stdlib/tst-strtod-overflow.c: New file.
9442 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9443
1f529f7d
MP
94442012-08-25 Marek Polacek <polacek@redhat.com>
9445
9446 * time/time.h: Fix some typos in comments.
9447
59a629f1
RM
94482012-08-23 Roland McGrath <roland@hack.frob.com>
9449
9450 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9451 * posix/tst-rfc3484-2.c: Likewise.
9452 * posix/tst-rfc3484-3.c: Likewise.
9453
d3bafbc9
SM
94542012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9455
9456 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9457 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9458
4efcc022
JM
94592012-08-23 Joseph Myers <joseph@codesourcery.com>
9460
9461 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9462 #include of fxstatat64.c.
9463
3cc3ef96
RM
94642012-08-22 Roland McGrath <roland@hack.frob.com>
9465
f04e2132
RM
9466 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9467 * shadow/getspent_r.c: Likewise.
9468 * shadow/getspnam.c: Likewise.
9469 * shadow/getspnam_r.c: Likewise.
9470 * gshadow/getsgent.c: Likewise.
9471 * gshadow/getsgent_r.c: Likewise.
9472 * gshadow/getsgnam.c: Likewise.
9473 * gshadow/getsgnam_r.c: Likewise.
9474 * inet/getnetbyad.c: Likewise.
9475 * inet/getnetbyad_r.c: Likewise.
9476 * inet/getnetbynm.c: Likewise.
9477 * inet/getnetbynm_r.c: Likewise.
9478 * inet/getnetent.c: Likewise.
9479 * inet/getnetent_r.c: Likewise.
9480 * inet/getproto.c: Likewise.
9481 * inet/getproto_r.c: Likewise.
9482 * inet/getprtent.c: Likewise.
9483 * inet/getprtent_r.c: Likewise.
9484 * inet/getprtname.c: Likewise.
9485 * inet/getprtname_r.c: Likewise.
9486 * inet/getrpcbyname.c: Likewise.
9487 * inet/getrpcbyname_r.c: Likewise.
9488 * inet/getrpcbynumber.c: Likewise.
9489 * inet/getrpcbynumber_r.c: Likewise.
9490 * inet/getrpcent.c: Likewise.
9491 * inet/getrpcent_r.c: Likewise.
9492 * inet/getaliasent.c: Likewise.
9493 * inet/getaliasent_r.c: Likewise.
9494 * inet/getaliasname.c: Likewise.
9495 * inet/getaliasname_r.c: Likewise.
9496 * nscd/getgrgid_r.c: Likewise.
9497 * nscd/getgrnam_r.c: Likewise.
9498 * nscd/gethstbyad_r.c: Likewise.
9499 * nscd/gethstbynm3_r.c: Likewise.
9500 * nscd/getpwnam_r.c: Likewise.
9501 * nscd/getpwuid_r.c: Likewise.
9502 * nscd/getsrvbynm_r.c: Likewise.
9503 * nscd/getsrvbypt_r.c: Likewise.
9504 * nscd/gai.c: Likewise.
9505
c53d909c
RM
9506 * configure.in (build_nscd): New substituted variable, set
9507 by --disable-build-nscd and defaults to $use_nscd.
9508 * configure: Regenerated.
9509 * config.make.in (build-nscd): New substituted variable.
9510 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9511 Change conditional to require [$(build-nscd) = yes] as well.
9512 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9513
3cc3ef96
RM
9514 [BZ# 13696]
9515 * configure.in (use_nscd): New substituted variable, set by
9516 --disable-nscd. If enabled, define USE_NSCD.
9517 * configure: Regenerated.
9518 * config.h.in: Add USE_NSCD.
9519 * config.make.in (use-nscd): New substituted variable.
9520 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9521 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9522 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9523 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9524 (CFLAGS-getgrnam_r.c): Likewise.
9525 (CFLAGS-initgroups.c): Likewise.
9526 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9527 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9528 Variables removed.
9529 * inet/getnetgrent_r.c
9530 (nscd_setnetgrent): New function, broken out of ...
9531 (setnetgrent): ... here. Call it.
9532 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9533 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9534 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9535 * nscd/Makefile (routines, aux): Move definitions after include of
9536 Makeconfig. Conditionalize on [$(use-nscd) != no].
9537 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9538 Conditionalize on [USE_NSCD].
9539 (is_nscd, nscd_init_cb): Likewise.
9540 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9541 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9542 * nss/nss_db/db-init.c: Likewise.
9543 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9544 [USE_NSCD].
9545 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9546 (make_request): Use it.
9547 (cache_valid_p): New function.
9548 (__check_pf): Use it.
9549 * NEWS: Add item for --disable-nscd.
9550
07e51550
DL
95512012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9552
9553 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9554 to support sed >= 4.2.1-20-ga9bf076.
9555 * configure: Regenerated.
9556
35a5b08b
RM
95572012-08-22 Roland McGrath <roland@hack.frob.com>
9558
9559 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9560 Conditionalize whole body on [IREL].
9561
8479f23a
JL
95622012-08-22 Jeff Law <law@redhat.com>
9563
9564 [BZ #14505]
9565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9566 if the family is PF_UNSPEC.
9567
48da0b21
MF
95682012-08-22 Mike Frysinger <vapier@gentoo.org>
9569
9570 * Makerules (lib-version): Rename from V.
9571 (install-lib-nosubdir): Change V to lib-version.
9572
15d0da8c
WS
95732012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9574
9575 [BZ #14252]
9576 * powerpc32/power6/wcschr.c: New file.
9577 * powerpc32/power6/wcscpy.c: New file.
9578 * powerpc32/power6/wcsrchr.c: New file.
9579 * powerpc64/power6/wcschr.c: New file.
9580 * powerpc64/power6/wcscpy.c: New file.
9581 * powerpc64/power6/wcsrchr.c: New file.
9582
bcca0895
MK
95832012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9584
9585 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9586 (two_way_short_needle): Use it.
5a4aaa33
RM
9587 * string/strstr.c (AVAILABLE1_USES_J): Define.
9588 * string/strcasestr.c: Likewise.
99677e57
MK
9589
9590 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9591 array references.
9592 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9593
400726de
MK
9594 [BZ #11607]
9595 * NEWS: Add an entry.
9596 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9597 define their defaults.
9598 (two_way_short_needle): Detect end-of-string on-the-fly.
9599 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9600 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9601 * string/bug-strcasestr1.c: New test.
9602 * string/Makefile: Run it.
9603
20a71f2c
MK
96042012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9605
9606 [BZ #11607]
9607 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9608 the first character.
9609
21ad0558
RM
96102012-08-21 Roland McGrath <roland@hack.frob.com>
9611
9612 * csu/elf-init.c (__libc_csu_irel): Function removed.
9613 * csu/libc-start.c (apply_irel): New function.
9614 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9615
0e1d9911
JM
96162012-08-21 Joseph Myers <joseph@codesourcery.com>
9617
9618 * sysdeps/unix/sysv/linux/kernel-features.h
9619 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9620 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9621 <kernel-features.h>.
9622 [__NR_fadvise64_64]: Make code unconditional.
9623 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9624 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9625 !__NR_fadvise64_64)]: Likewise.
9626 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9627 !__NR_fadvise64_64))]: Likewise.
9628 [__NR_fadvise64]: Make code unconditional.
9629 [!__NR_fadvise64]: Remove conditional code.
9630 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9631 <kernel-features.h>.
9632 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9633 unconditional.
9634 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9635 conditional code.
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9637 not include <kernel-features.h>.
9638 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9639 unconditional.
9640 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9641 conditional code.
9642 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9643 include <kernel-features.h>.
9644 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9645 unconditional.
9646 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9647 conditional code.
9648
14a50c9d
WS
96492012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9650
9651 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9652 slight instruction rearrangements per scrollpipe analysis.
9653 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9654
c0f4faf0
RM
96552012-08-20 Roland McGrath <roland@hack.frob.com>
9656
696da859
RM
9657 * manual/syslog.texi (syslog; vsyslog, closelog):
9658 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9659 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9660
c0f4faf0
RM
9661 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9662 DSOCAPS to match condition on defining it.
9663
348363b2
JM
96642012-08-20 Joseph Myers <joseph@codesourcery.com>
9665
a35cbf28
JM
9666 * sysdeps/unix/sysv/linux/kernel-features.h
9667 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9669 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9670 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9672 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9673 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9675 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9676 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9677
445f7ecd
JM
9678 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9679 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9680
348363b2
JM
9681 * sysdeps/unix/sysv/linux/kernel-features.h
9682 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9683 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9684 unconditional.
9685 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9686 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9687 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9688 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9689 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9690 Make code unconditional.
9691 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9692 (__mmap64) [!__NR_mmap2]: Likewise.
9693 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9694 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9695 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9696 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9697 [__NR_mmap2]: Make code unconditional.
9698 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9699 (__mmap64) [!__NR_mmap2]: Likewise.
9700
bc5bc0e5
AK
97012012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9702
9703 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9704
88d506de
AJ
97052012-08-18 Andreas Jaeger <aj@suse.de>
9706
9707 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9708
493387d2
MF
97092012-08-18 Mike Frysinger <vapier@gentoo.org>
9710
9711 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9712 * include/unistd.h (__have_sock_cloexec): Likewise.
9713 (__have_pipe2): Likewise.
9714 (__have_dup3): Likewise.
9715
a277af22
MF
97162012-08-18 Mike Frysinger <vapier@gentoo.org>
9717
9718 [BZ #9685]
9719 * include/unistd.h (__have_pipe2): Change define into an extern int.
9720 (__have_dup3): Likewise.
9721 * socket/have_sock_cloexec.c: Include fcntl.h.
9722 (__have_pipe2): New variable.
9723 (__have_dup3): Likewise.
9724
fdab8fd3
MF
97252012-08-17 Mike Frysinger <vapier@gentoo.org>
9726
9727 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9728
31035e80
MP
97292012-08-17 Marek Polacek <polacek@redhat.com>
9730
9731 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9732 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9733
3bd9e993
RM
97342012-08-17 Roland McGrath <roland@hack.frob.com>
9735
c91c505f
RM
9736 * configure.in: Add AC_SUBST for sysheaders.
9737 * configure: Regenerated.
9738 * config.make.in (sysheaders): New substituted variable.
9739
7c6f9d53
RM
9740 * sysdeps/unix/mkfifo.c: Moved ...
9741 * sysdeps/posix/mkfifo.c: ... here.
9742 * sysdeps/unix/mkfifoat.c: Moved ...
9743 * sysdeps/posix/mkfifoat.c: ... here.
9744
9745 * sysdeps/unix/utime.c: Moved ...
9746 * sysdeps/posix/utime.c: ... here.
9747
9748 * sysdeps/unix/time.c: Moved ...
9749 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9750 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9751 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9752
9753 * sysdeps/unix/nice.c: Moved ...
9754 * sysdeps/posix/nice.c: ... here.
9755
9756 * sysdeps/unix/alarm.c: Moved ...
9757 * sysdeps/posix/alarm.c: ... here.
9758
3bd9e993
RM
9759 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9760
d1f09384
JL
97612012-08-17 Jeff Law <law@redhat.com>
9762
9763 * intl/Makefile (codeset_mo): New variable.
9764 ($(codeset_mo)): New target.
9765 (tst-codeset.out): Depend on that. Remove explicit rule.
9766 (tst-gettext3.out, tst-gettext5.out): Likewise.
9767 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9768 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9769 * intl/tst-codeset.sh: Remove.
9770 * intl/tst-gettext3.sh: Likewise.
9771 * intl/tst-gettext5.sh: Likewise.
9772
2ae1ae5c
RM
97732012-08-17 Roland McGrath <roland@hack.frob.com>
9774
c31fdb83
RM
9775 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9776 * sysdeps/unix/syscalls.list: ... here.
9777
a0844057
RM
9778 * sysdeps/posix/getaddrinfo.c
9779 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9780 (gaiconf_init, gaiconf_reload): Use them.
9781 [!_STATBUF_ST_NSEC]
9782 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9783 Define using time_t rather than struct timespec.
9784
750c1f2a
RM
9785 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9786 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9787 Macros removed.
9788 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9789 [!NO_THREADS].
9790 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9791 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9792 Likewise.
9793
2ae1ae5c
RM
9794 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9795 __libc_cleanup_push argument.
9796
e66a42f5
RM
9797 * bits/param.h: New file.
9798 * misc/sys/param.h: New file.
9799 * include/sys/param.h: New file.
9800 * misc/Makefile (headers): Add bits/param.h.
9801 * sysdeps/generic/sys/param.h: File removed.
9802 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9803 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9804 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9805 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9806
b7c08a66
RM
9807 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9808 last change.
9809
b2e1c562
RM
9810 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9811 [_IO_MTSAFE_IO].
9812 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9813 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9814 New macros.
9815
c75ccd4c
RM
9816 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9817 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9818 rather than -D_IO_MTSAFE_IO conditionally.
9819 * stdio-common/Makefile (CPPFLAGS): Likewise.
9820 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9821 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9822 Use $(libio-mtsafe).
9823 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9824 of -D_IO_MTSAFE_IO.
9825 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9826 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9827 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9828 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9829 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9830 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9831 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9832 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9833 (CFLAGS-fread_u_chk.c): Likewise.
9834 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9835 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9836 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9837 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9838 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9839 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9840 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9841 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9842 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9843
9844 * libio/Makefile: Test [$(libc-reentrant) = yes]
9845 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9846
9847 * Makeconfig
9848 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9849 * sysdeps/pthread/configure: File removed.
9850 * sysdeps/pthread/Makeconfig: New file.
9851 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9852 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9853
d9195db8
GB
98542012-08-16 Gary Benson <gbenson@redhat.com>
9855
9856 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9857 unmapping the first object in a namespace.
9858
86466cd9
RM
98592012-08-16 Roland McGrath <roland@hack.frob.com>
9860
9861 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9862 (__internal_setnetgrent): ... this. Add internal_function to
9863 definition. Add libc_hidden_def.
9864 (setnetgrent): Update caller.
9865 (internal_endnetgrent): Renamed to ...
9866 (__internal_endnetgrent): ... this. Add internal_function to
9867 definition. Add libc_hidden_def.
9868 (endnetgrent): Update caller.
9869 (internal_getnetgrent_r): Renamed to ...
9870 (__internal_getnetgrent_r): ... this. Add internal_function to
9871 definition. Add libc_hidden_def.
9872 (__getnetgrent_r): Update caller.
9873 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9874
c3c8283c
JM
98752012-08-16 Joseph Myers <joseph@codesourcery.com>
9876
9877 * stdlib/longlong.h: Update from GCC.
9878
db1ee0a8
RM
98792012-08-16 Roland McGrath <roland@hack.frob.com>
9880
9881 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9882 on _QL, which is set by umul_ppmm but never used.
9883 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9884 variables, which are set by GMP macros but never used.
9885 * stdio-common/_itowa.c (_itowa): Likewise.
9886 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9887 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9888
30f69637
CD
98892012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9890
9891 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9892 struct La_sh_regs is not constant.
9893 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9894 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9895 and struct La_sparc64_regs are not constant.
9896
93a78ac4
JM
98972012-08-16 Joseph Myers <joseph@codesourcery.com>
9898
9899 * sysdeps/unix/sysv/linux/kernel-features.h
9900 (__ASSUME_POSIX_TIMERS): Remove.
9901 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9902 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9903 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9904 Make code unconditional.
9905 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9906 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9907 Make code unconditional.
9908 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9909 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9910 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9911 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9912 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9913 Make code unconditional.
9914 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9915 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9916 (__libc_missing_posix_timers): Remove.
9917
dd924cd7
RM
99182012-08-15 Roland McGrath <roland@hack.frob.com>
9919
4b4f2771
RM
9920 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9921 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9922
601c888b
RM
9923 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9924
176790a7
RM
9925 * elf/dl-sym.c: Include <stdlib.h>.
9926
329bc018
RM
9927 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9928 constants, which avoids warnings in 32-bit builds.
9929
e04e272d
RM
9930 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9931 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9932
952bf94a
RM
9933 * misc/lseek.c: File moved to ...
9934 * io/lseek.c: ... here.
9935
7c99b50a
RM
9936 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9937
dd924cd7
RM
9938 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9939 shifting LEN more than 31 bits at once.
9940
b3f479a8
LD
99412012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9942
9943 [BZ #14195]
8c4ae0d4
RM
9944 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9945 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9946 * string/test-strncasecmp.c (check1): Renamed to...
9947 (bz12205): ...this.
9948 (bz14195): Add new testcase for two empty input strings and N > 0.
9949 (test_main): Call new testcase, adapt for renamed function.
9950
9c55864e
AJ
99512012-08-15 Andreas Jaeger <aj@suse.de>
9952
9953 [BZ #14090]
9954 * crypt/md5test2.c: New test, based on test supplied by Serge
9955 Belyshev <belyshev@depni.sinp.msu.ru>.
9956 * crypt/Makefile (xtests): Add md5test-giant..
9957 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9958
02dcb6c5
PE
99592012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9960
9961 [BZ #14090]
9962 * crypt/md5.c (md5_process_block): Don't assume the buffer
9963 length is less than 2**32.
9964 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9965 length is less than 2**64.
9966
a3f95dcc
RM
99672012-08-15 Roland McGrath <roland@hack.frob.com>
9968
be75d758
RM
9969 * string/str-two-way.h: Include <sys/param.h>.
9970 (MAX): Macro removed.
9971
7312ca90
RM
9972 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9973 Move #define and #undef of memmove to just before and after
9974 including <string.h>.
9975
9a0a5486
RM
9976 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9977 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9978 and after including <string.h>. Move declarations of
9979 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9980 to before #include "string/memmove.c".
9981
67cc348d
RM
9982 * include/dirent.h: Declare __getdirentries.
9983
a3f95dcc
RM
9984 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9985 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9986
ca98e171
MF
99872012-08-14 Mike Frysinger <vapier@gentoo.org>
9988
9989 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9990 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9991 * sysdeps/i386/configure: Regenerated.
9992 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9993 STABS_CURRENT_FILE, and STABS_FUN.
9994 (END): Remove call to STABS_FUN_END.
9995 (STABS_CURRENT_FILE1): Delete.
9996 (STABS_CURRENT_FILE): Likewise.
9997 (STABS_FUN): Likewise.
9998 (STABS_FUN_END): Likewise.
9999 (STABS_FUN2): Likewise.
10000 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10001 * sysdeps/x86_64/configure: Regenerated.
10002
5908bf46
RM
100032012-08-14 Roland McGrath <roland@hack.frob.com>
10004
10005 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10006 * elf/dl-lookup.c: Likewise.
5908bf46 10007
f2c05b9e
JM
100082012-08-14 Joseph Myers <joseph@codesourcery.com>
10009
10010 * sysdeps/unix/sysv/linux/kernel-features.h
10011 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10012 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10013 unconditionally.
10014 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10015 unconditionally.
10016 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10017 condition on __ASSUME_CLONE_THREAD_FLAGS.
10018
e11f5155
AJ
100192012-08-14 Andreas Jaeger <aj@suse.de>
10020
10021 * sysdeps/i386/fpu/libm-test-ulps: Update.
10022
51a9ba86
MK
100232012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10024
2fdd4f78
AJ
10025 * include/atomic.h (atomic_exchange_and_add): Split into ...
10026 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10027 New atomic macros.
51a9ba86 10028
ba6cba9e
MT
100292012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10030
10031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10032
42443a47
JL
100332012-08-13 Jeff Law <law@redhat.com>
10034
10035 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10036 null byte in the output string.
10037
121dce05
JM
100382012-08-10 Joseph Myers <joseph@codesourcery.com>
10039
10040 * sysdeps/unix/sysv/linux/kernel-features.h
10041 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10042 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10043 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10044 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10045 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10046 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10047 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10048
bf51f568
JL
100492012-08-09 Jeff Law <law@redhat.com>
10050
10051 [BZ #13939]
10052 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10053 When avoid_arena is set, don't retry in the that arena. Pick the
10054 next one, whatever it might be.
10055 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10056 (arena_lock): Pass in new parameter to arena_get2.
10057 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10058 arena_get2.
10059 (__libc_malloc): Unify retrying after main arena failure with
10060 __libc_memalign version.
10061 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10062
f85fa270
L
100632012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10064
10065 [BZ #14166]
10066 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10067 to __redirect_strstr.
10068 (__strstr_sse42): Use typeof __redirect_strstr.
10069 (__strstr_ia32): Likewise.
10070 (__libc_strstr): New prototype.
10071 (strstr): Renamed to ...
10072 (__libc_strstr): This.
10073 (strstr): New strong alias of __libc_strstr.
10074 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10075 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10076 __redirect_time.
10077 Include <time.h>.
10078 (__libc_time): New prototype.
10079 (time_ifunc): Replace time with __libc_time.
10080 (time): New strong alias and hidden definition of __libc_time.
10081 (__GI_time): Remove strong alias.
10082 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10083 Include <stddef.h>.
10084 (memmove): Redefined to __redirect_memmove.
10085 (__memmove_sse2): Use typeof __redirect_memmove.
10086 (__memmove_ssse3): Likewise.
10087 (__memmove_ssse3_back): Likewise.
10088 (__libc_memmove): New prototype.
10089 (memmove): Renamed to ...
10090 (__libc_memmove): This.
10091 (memmove): New strong alias of __libc_memmove.
10092
33b4a91e
MS
100932012-08-08 Mark Salter <msalter@redhat.com>
10094
10095 * elf/elf.h
10096 (R_MN10300_TLS_GD): Define.
10097 (R_MN10300_TLS_LD): Likewise.
10098 (R_MN10300_TLS_LDO): Likewise.
10099 (R_MN10300_TLS_GOTIE): Likewise.
10100 (R_MN10300_TLS_IE): Likewise.
10101 (R_MN10300_TLS_LE): Likewise.
10102 (R_MN10300_TLS_DTPMOD): Likewise.
10103 (R_MN10300_TLS_DTPOFF): Likewise.
10104 (R_MN10300_TLS_TPOFF): Likewise.
10105 (R_MN10300_SYM_DIFF): Likewise.
10106 (R_MN10300_ALIGN): Likewise.
10107 (R_MN10300_NUM): Update.
10108
b36137f1
JM
101092012-08-08 Joseph Myers <joseph@codesourcery.com>
10110
10111 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10112 Remove.
10113
cdd915fd
RM
101142012-08-08 Roland McGrath <roland@hack.frob.com>
10115
a2433aac
RM
10116 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10117
cdd915fd
RM
10118 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10119 sysdeps/unix -> sysdeps/posix move.
10120 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10121
bf9b740a
AM
101222012-08-07 Allan McRae <allan@archlinux.org>
10123
10124 [BZ #14303]
10125 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10126 (SUNOS_CPP): Likewise.
10127 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10128 not found.
10129 (open_input): Call CPP using execvp.
10130
93df14ee
JM
101312012-08-07 Joseph Myers <joseph@codesourcery.com>
10132
10133 * sysdeps/unix/sysv/linux/kernel-features.h
10134 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10135 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10136 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10137 (__ASSUME_WAITID_SYSCALL): Likewise.
10138 * sysdeps/unix/sysv/linux/dl-execstack.c
10139 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10140 code unconditional.
10141 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10142 conditional code.
10143 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10144 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10145 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10146 code.
10147 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10148 unconditional.
10149 [__ASSUME_WAITID_SYSCALL]: Likewise.
10150 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10151
d34689de
RM
101522012-08-07 Roland McGrath <roland@hack.frob.com>
10153
a281decc
RM
10154 * sysdeps/unix/closedir.c: Renamed to ...
10155 * sysdeps/posix/closedir.c: ... here.
10156 * sysdeps/unix/dirfd.c: Renamed to ...
10157 * sysdeps/posix/dirfd.c: ... here.
10158 * sysdeps/unix/dirstream.h: Renamed to ...
10159 * sysdeps/posix/dirstream.h: ... here.
10160 * sysdeps/unix/fdopendir.c: Renamed to ...
10161 * sysdeps/posix/fdopendir.c: ... here.
10162 * sysdeps/unix/opendir.c: Renamed to ...
10163 * sysdeps/posix/opendir.c: ... here.
10164 * sysdeps/unix/readdir.c: Renamed to ...
10165 * sysdeps/posix/readdir.c: ... here.
10166 * sysdeps/unix/readdir_r.c: Renamed to ...
10167 * sysdeps/posix/readdir_r.c: ... here.
10168 * sysdeps/unix/rewinddir.c: Renamed to ...
10169 * sysdeps/posix/rewinddir.c: ... here.
10170 * sysdeps/unix/seekdir.c: Renamed to ...
10171 * sysdeps/posix/seekdir.c: ... here.
10172 * sysdeps/unix/telldir.c: Renamed to ...
10173 * sysdeps/posix/telldir.c: ... here.
10174 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10175 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10176 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10177 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10178
22895b47
RM
10179 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10180 * bits/fcntl.h: ... here.
10181
707a53b6
RM
10182 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10183 not 0.
10184 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10185 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10186 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10187 (struct flock): Move l_start, l_len to the beginning.
10188 Use __pid_t for l_pid.
10189 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10190 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10191 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10192 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10193 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10194 [__USE_LARGEFILE64] (struct flock64): New type.
10195 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10196
f0bd3e25
RM
10197 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10198 * bits/dirent.h: ... here.
10199
d34689de
RM
10200 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10201 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10202
6dad2c06
JM
102032012-08-07 Joseph Myers <joseph@codesourcery.com>
10204
10205 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10206 Change from 2.6.0 to 2.6.16.
10207 * sysdeps/unix/sysv/linux/configure: Regenerated.
10208 * sysdeps/unix/sysv/linux/kernel-features.h
10209 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10210 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10211 version.
10212 (__ASSUME_UTIMES): Likewise.
10213 (__ASSUME_CLONE_STOPPED): Remove.
10214 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10215 architectures, not kernel version.
10216 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10217 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10218 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10219 (__ASSUME_WAITID_SYSCALL): Likewise.
10220 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10221 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10222 * README: State 2.6.16 as minimum Linux kernel version. Do not
10223 refer to older versions.
10224
03af9520
RM
102252012-08-06 Roland McGrath <roland@hack.frob.com>
10226
8e49df1d
RM
10227 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10228 Define alphasort64 as an alias.
10229 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10230 Define versionsort64 as an alias.
10231 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10232 Define scandir64 as an alias.
10233 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10234 Define scandirat64 as an alias.
10235 * dirent/alphasort64.c (alphasort64):
10236 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10237 * dirent/versionsort64.c: Likewise.
10238 * dirent/scandir64.c: Likewise.
10239 * dirent/scandirat64.c: Likewise.
10240 * sysdeps/wordsize-64/alphasort.c: File removed.
10241 * sysdeps/wordsize-64/alphasort64.c: File removed.
10242 * sysdeps/wordsize-64/scandir.c: File removed.
10243 * sysdeps/wordsize-64/scandir64.c: File removed.
10244 * sysdeps/wordsize-64/scandirat.c: File removed.
10245 * sysdeps/wordsize-64/scandirat64.c: File removed.
10246 * sysdeps/wordsize-64/versionsort.c: File removed.
10247 * sysdeps/wordsize-64/versionsort64.c: File removed.
10248 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10249 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10250 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10251 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10252 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10253 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10254 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10255 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10256
10257 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10258 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10259 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10260 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10261 [defined __arch64__ || defined __sparcv9]
10262 (__INO_T_MATCHES_INO64_T): New macro.
10263 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10264 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10265 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10266 * sysdeps/unix/sysv/linux/bits/dirent.h
10267 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10268 (_DIRENT_MATCHES_DIRENT64): New macro.
10269
03af9520
RM
10270 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10271 Define lockf64 as an alias.
10272 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10273 Define fseeko64 as an alias.
10274 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10275 Define ftello64 as an alias.
10276 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10277 Define _IO_fgetpos64 and fgetpos64 as aliases.
10278 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10279 Define _IO_fsetpos64 and fsetpos64 as aliases.
10280 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10281 Conditionalize body on this.
10282 * libio/fseeko64.c: Likewise.
10283 * libio/ftello64.c: Likewise.
10284 * libio/iofgetpos64.c: Likewise.
10285 * libio/iofsetpos64.c: Likewise.
10286 * sysdeps/wordsize-64/lockf.c: File removed.
10287 * sysdeps/wordsize-64/lockf64.c: File removed.
10288 * sysdeps/wordsize-64/fseeko.c: File removed.
10289 * sysdeps/wordsize-64/fseeko64.c: File removed.
10290 * sysdeps/wordsize-64/ftello.c: File removed.
10291 * sysdeps/wordsize-64/ftello64.c: File removed.
10292 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10293 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10294 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10295 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10296 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10297 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10298 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10299 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10300 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10301 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10302 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10303 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10304 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10305 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10306
10307 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10308 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10309 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10310 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10311 [defined __arch64__ || defined __sparcv9]
10312 (__OFF_T_MATCHES_OFF64_T): New macro.
10313 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10314 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10315 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10316 (__OFF_T_MATCHES_OFF64_T): New macro.
10317
c5757acd
L
103182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10319
10320 * stdlib/secure-getenv.c (__secure_getenv): Replace
10321 GLIBC_2_16 with GLIBC_2_17.
10322
3a31811e
L
103232012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10324
10325 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10326 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10327
faa2bccb
DM
103282012-08-03 David S. Miller <davem@davemloft.net>
10329
10330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10331
85fe1997
JM
103322012-08-03 Joseph Myers <joseph@codesourcery.com>
10333
10334 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10335 Remove.
10336 (__ASSUME_CORRECT_SI_PID): Likewise.
10337 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10338 (__ASSUME_TMPFS_NAME): Likewise.
10339 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10340 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10341 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10342 (HAVE_AUX_SECURE): Make definition unconditional.
10343 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10344 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10345
4f75b7a0
RM
103462012-08-03 Roland McGrath <roland@hack.frob.com>
10347
10348 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10349 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10350 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10351 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10352 __eloop_threshold instead of SYMLOOP_MAX.
10353
10354 * sysdeps/generic/eloop-threshold.h: New file.
10355 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10356 of MAXSYMLINKS.
10357 * elf/chroot_canon.c (chroot_canon): Likewise.
10358
7aab07e4
JM
103592012-08-03 Joseph Myers <joseph@codesourcery.com>
10360
10361 [BZ #13717]
10362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10363 Change to 2.6.0 everywhere.
10364 * sysdeps/unix/sysv/linux/configure: Regenerated.
10365 * sysdeps/unix/sysv/linux/kernel-features.h
10366 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10367 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10368 kernel versions.
10369 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10370 (__ASSUME_FUTEX_REQUEUE): Remove.
10371 (__ASSUME_STATFS64): Define unconditionally.
10372 (__ASSUME_AT_SECURE): Likewise.
10373 (__ASSUME_CORRECT_SI_PID): Likewise.
10374 (__ASSUME_TGKILL): Define without depending on kernel version for
10375 i386.
10376 (__ASSUME_UTIMES): Likewise.
10377 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10378 kernel version.
10379 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10380 (__ASSUME_TMPFS_NAME): Likewise.
10381 * README: Update reference to Linux kernel versions.
10382
b67e9372
MP
103832012-08-02 Marek Polacek <polacek@redhat.com>
10384
1f529f7d 10385 [BZ# 14150]
b67e9372
MP
10386 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10387 libc_cv_asm_type_prefix with %.
10388 * configure: Regenerated.
d2441631
RM
10389 * include/libc-symbols.h: Remove comment about
10390 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10391 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10392 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10393 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10394 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10395 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10396 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10397 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10398 * elf/tst-unique2mod1.c: Likewise.
10399 * elf/tst-unique1mod2.c: Likewise.
10400 * elf/tst-unique1mod1.c: Likewise.
10401 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10402 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10403 Replace ASM_TYPE_DIRECTIVE with .type.
10404 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10405 * sysdeps/i386/sysdep.h: Likewise.
10406 * sysdeps/x86_64/sysdep.h: Likewise.
10407 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10409 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10410 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10411 * sysdeps/powerpc/powerpc32/sysdep.h:
10412 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10413 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10414 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10415 * sysdeps/i386/fpu/e_powf.S: Likewise.
10416 * sysdeps/i386/fpu/e_expl.S: Likewise.
10417 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10418 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10419 * sysdeps/i386/fpu/e_pow.S: Likewise.
10420 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10421 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10422 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10423 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10424 * sysdeps/i386/fpu/e_log2.S: Likewise.
10425 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10426 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10427 * sysdeps/i386/fpu/e_powl.S: Likewise.
10428 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10429 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10430 * sysdeps/i386/fpu/e_logl.S: Likewise.
10431 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10432 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10433 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10434 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10435 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10436 * sysdeps/i386/fpu/e_log.S: Likewise.
10437 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10438 * sysdeps/i386/fpu/e_logf.S: Likewise.
10439 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10440 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10441 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10442 * sysdeps/i386/fpu/e_log10.S: Likewise.
10443 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10444 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10445 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10446 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10447 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10448 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10449 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10450 * sysdeps/i386/i686/strtok.S: Likewise.
10451 * sysdeps/i386/i386-mcount.S: Likewise.
10452 * sysdeps/i386/strtok.S: Likewise.
10453 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10454 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10455 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10456 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10457 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10458 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10459 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10460 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10461 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10462 * sysdeps/x86_64/_mcount.S: Likewise.
10463 * sysdeps/x86_64/strtok.S: Likewise.
10464 * sysdeps/sh/_mcount.S: Likewise.
10465
2747bf9a
RM
104662012-08-01 Roland McGrath <roland@hack.frob.com>
10467
10468 * libio/iofopen.c: Include <fcntl.h>.
10469 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10470 (_IO_fopen64, fopen64): Define as aliases.
10471 * libio/iofopen64.c: Include <fcntl.h>.
10472 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10473 Conditionalize body on this.
10474 * sysdeps/wordsize-64/iofopen.c: File removed.
10475 * sysdeps/wordsize-64/iofopen64.c: File removed.
10476
3fb791b8
MP
104772012-08-01 Marek Polacek <polacek@redhat.com>
10478
10479 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10480 Use dlfcn directly instead of a variable.
10481 (binfmt-subdir): Do not define.
10482 (dlfcn): Likewise.
10483
a9f1039f
JM
104842012-08-01 Joseph Myers <joseph@codesourcery.com>
10485
23bddc06
JM
10486 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10487 Remove all definitions.
10488 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10489 <kernel-features.h>.
10490 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10491 (miss_F_GETOWN_EX): Remove all definitions.
10492 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10493 macro definition.
10494 [!__ASSUME_FCNTL64]: Remove conditional code.
10495 [__ASSUME_FCNTL64]: Make code unconditional.
10496 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10497 <kernel-features.h>.
10498 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10499 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10500 (lockf64) [__NR_fcntl64]: Make code unconditional.
10501 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10502
a9f1039f
JM
10503 * sysdeps/unix/sysv/linux/kernel-features.h
10504 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10505 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10506 Make code unconditional.
10507 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10508 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10510 [__NR_vfork]: Make code unconditional.
10511 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10512 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10514 [__NR_vfork]: Make code unconditional.
10515 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10516 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10517
09c0ee5f
RM
105182012-08-01 Roland McGrath <roland@hack.frob.com>
10519
48aec5b9
RM
10520 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10521 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10522
cd97c966
RM
10523 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10524 Define mkstemp64 as an alias.
3f55550c
RM
10525 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10526 Define mkstemps64 as an alias.
cd97c966
RM
10527 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10528 Define mkostemp64 as an alias.
b8625cfc
RM
10529 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10530 Define mkostemps64 as an alias.
cd97c966
RM
10531 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10532 Conditionalize body on this.
10533 * misc/mkostemp64.c: Likewise.
b8625cfc 10534 * misc/mkostemps64.c: Likewise.
3f55550c 10535 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10536 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10537 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10538 * sysdeps/wordsize-64/mkostemp.c: File removed.
10539 * sysdeps/wordsize-64/mkstemp.c: File removed.
10540 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10541 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10542 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10543 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10544
09c0ee5f
RM
10545 [BZ #14138]
10546 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10547 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10548 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10549 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10550
10551 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10552 compat_symbol macros from <shlib-compat.h> rather than the underlying
10553 default_symbol_version and symbol_version macros, so that DEFAULT
10554 lines in shlib-versions are respected.
10555 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10556
7e66ee51
FW
105572012-08-01 Florian Weimer <fweimer@redhat.com>
10558
10559 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10560 Declare with warn_unused_result.
10561 (setgid, setregid, setegid, setresgid): Likewise.
10562 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10563 Likewise.
10564 * WUR-REPORT: Remove set*id functions.
10565
d2a54255
PT
105662012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10567
10568 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10569
7ecdb005
RM
105702012-07-31 Roland McGrath <roland@hack.frob.com>
10571
789bd351
RM
10572 * include/sys/socket.h (__libc_accept, __libc_accept4):
10573 Add attribute_hidden.
10574 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10575
40ce302d
RM
10576 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10577 use of PTR_MANGLE.
10578 * inet/getnetgrent_r.c (setup): Likewise.
10579
7ecdb005
RM
10580 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10581
e2eabb2c
DM
105822012-07-31 David S. Miller <davem@davemloft.net>
10583
10584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10585
d0419dbf
JM
105862012-07-31 Joseph Myers <joseph@codesourcery.com>
10587
10588 [BZ #13629]
10589 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10590 value between 1.0 and 2.0 and smaller part has absolute value less
10591 than 1.0.
10592 * math/s_clog10.c (__clog10): Likewise.
10593 * math/s_clog10f.c (__clog10f): Likewise.
10594 * math/s_clog10l.c (__clog10l): Likewise.
10595 * math/s_clogf.c (__clogf): Likewise.
10596 * math/s_clogl.c (__clogl): Likewise.
10597 * math/libm-test.inc (clog_test): Add more tests.
10598 (clog10_test): Likewise.
10599 * sysdeps/i386/fpu/libm-test-ulps: Update.
10600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10601
2bc13872
FW
106022012-07-31 Florian Weimer <fweimer@redhat.com>
10603
10604 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10605 Exit with zero in case no suitable GID is found, and write a
10606 message to standard error.
10607
bea9b193
RM
106082012-07-30 Roland McGrath <roland@hack.frob.com>
10609
10610 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10611 rather than to 1.
10612 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10613 (MAXPATHLEN): Removed.
10614 (NOGROUP, NODEV): New macros.
10615 (setbit, clrbit, isset, isclr): New macros.
10616 (howmany, roundup, powerof2): New macros.
10617 (DEV_BSIZE): New macro.
10618
10619 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10620 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10621
10622 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10623 definition on [!__NO_LONG_DOUBLE_MATH].
10624
10625 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10626 PTR_MANGLE and PTR_DEMANGLE.
10627
10628 * socket/accept4.c (accept4): Rename to __libc_accept4.
10629 Define accept4 as a weak alias.
10630
10631 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10632 on [_DIRENT_HAVE_D_TYPE].
10633 * io/ftw.c (ftw_dir): Likewise.
10634
10635 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10636
10637 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10638
10639 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10640 Use the BSD numbers rather than the arbitrary ones we had.
10641 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10642 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10643 (SIGXCPU, SIGXFSZ): New macros.
10644 (_NSIG): Now 32.
10645
10646 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10647 initializer on [_LIBC_REENTRANT].
10648
10649 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10650 definitions inside [_POSIX_MAPPED_FILES].
10651
10652 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10653
10654 * dirent/opendir.c: Include <fcntl.h>.
10655
10656 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10657 (__libc_getspecific): Likewise.
10658 (__libc_key_create): Likewise.
10659
10660 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10661 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10662 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10663 (tmpfile64): Define as alias.
10664 * sysdeps/wordsize-64/tmpfile.c: File removed.
10665 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10666 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10667 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10668
10669 * stdio-common/vfscanf.c: Include <stdbool.h>.
10670 * nss/makedb.c: Likewise.
10671 * stdio-common/_i18n_number.h: Likewise.
10672 * argp/argp-help.c: Likewise.
10673 * posix/wordexp.c: Likewise.
10674 * sysdeps/posix/spawni.c: Likewise.
10675 * nss/nss_files/files-initgroups.c: Likewise.
10676 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10677 * nss/nss_files/files-initgroups.c: Likewise.
10678 * nss/nss_db/db-netgrp.c: Likewise.
10679 * nss/nss_db/db-initgroups.c: Likewise.
10680 * io/fchmodat.c: Include <sys/stat.h>.
10681
10682 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10683 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10684
10685 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10686 [HAVE_MMAP].
10687
10688 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10689 Add multiple inclusion protection.
10690
e5abc686
DM
106912012-07-27 David S. Miller <davem@davemloft.net>
10692
10693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10694
815e6fa3
GB
106952012-07-27 Gary Benson <gbenson@redhat.com>
10696
10697 [BZ #14298]
10698 * elf/rtld.c: Include <stap-probe.h>.
10699 (dl_main): Added static probes "init_start" and "init_complete".
10700 * elf/dl-load.c: Include <stap-probe.h>.
10701 (lose): Take new parameter "nsid".
10702 Added static probe "map_failed".
10703 (_dl_map_object_from_fd): Pass namespace id to lose.
10704 Added static probe "map_start".
10705 (open_verify): Pass namespace id to lose.
10706 * elf/dl-open.c: Include <stap-probe.h>.
10707 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10708 and "reloc_complete".
10709 * elf/dl-close.c: Include <stap-probe.h>.
10710 (_dl_close_worker): Added static probes "unmap_start" and
10711 "unmap_complete".
10712 * elf/rtld-debugger-interface.txt: New file documenting the above.
10713
9f98c16c
RM
107142012-07-26 Roland McGrath <roland@hack.frob.com>
10715
10716 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10717 rather than a string variable.
10718 * sunrpc/rpc_main.c (h_output): Likewise.
10719 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10720
f3c22df3
PT
107212012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10722
10723 * inet/check_native.c: New file.
10724
3129cfc6
JM
107252012-07-26 Joseph Myers <joseph@codesourcery.com>
10726
da865e95
JM
10727 [BZ #13629]
10728 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10729 if larger part has absolute value 1.0.
10730 * math/s_clog10.c (__clog10): Likewise.
10731 * math/s_clog10f.c (__clog10f): Likewise.
10732 * math/s_clog10l.c (__clog10l): Likewise.
10733 * math/s_clogf.c (__clogf): Likewise.
10734 * math/s_clogl.c (__clogl): Likewise.
10735 * math/libm-test.inc (clog_test): Add more tests.
10736 (clog10_test): Likewise.
10737 * sysdeps/i386/fpu/libm-test-ulps: Update.
10738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10739
3129cfc6
JM
10740 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10741 (pltexit): Likewise.
10742 (La_regs): Likewise.
10743 (La_retval): Likewise.
10744 (int_retval): Likewise.
10745 Update #error for removed macros to refer only to definitions in
10746 tst-audit.h.
10747 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10748 macro.
10749 (pltexit): Likewise.
10750 (La_regs): Likewise.
10751 (La_retval): Likewise.
10752 (int_retval): Likewise.
10753 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10754 macro.
10755 (pltexit): Likewise.
10756 (La_regs): Likewise.
10757 (La_retval): Likewise.
10758 (int_retval): Likewise.
10759 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10760 macro.
10761 (pltexit): Likewise.
10762 (La_regs): Likewise.
10763 (La_retval): Likewise.
10764 (int_retval): Likewise.
10765 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10766 macro.
10767 (pltexit): Likewise.
10768 (La_regs): Likewise.
10769 (La_retval): Likewise.
10770 (int_retval): Likewise.
10771 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10772 macro.
10773 (pltexit): Likewise.
10774 (La_regs): Likewise.
10775 (La_retval): Likewise.
10776 (int_retval): Likewise.
10777 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10778 macro.
10779 (pltexit): Likewise.
10780 (La_regs): Likewise.
10781 (La_retval): Likewise.
10782 (int_retval): Likewise.
10783 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10784 macro definitions in tst-audit.h.
10785 * sysdeps/i386/tst-audit.h: New file.
10786 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10787 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10788 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10789 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10790 * sysdeps/sh/tst-audit.h: Likewise.
10791 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10792 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10793 * sysdeps/x86_64/tst-audit.h: Likewise.
10794
bfc07087
AJ
107952012-07-26 Andreas Jaeger <aj@suse.de>
10796
b1b2aaf8
AJ
10797 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10798 ptrace.
10799
10800 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10801 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10802 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10803 PTRACE_O_MASK.
10804 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10805 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10806 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10807
bfc07087
AJ
10808 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10809 value.
10810
10811 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10812 _sigsys.
10813 (si_call_addr, si_syscall, si_arch): Define new macro.
10814 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10815 _sigsys.
10816 (si_call_addr, si_syscall, si_arch): Define new marcro.
10817 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10818 _sigsys.
10819 (si_call_addr, si_syscall, si_arch): Define new macro.
10820 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10821 _sigsys.
10822 (si_call_addr, si_syscall, si_arch): Define new macro.
10823
89b4b02f
JM
108242012-07-25 Joseph Myers <joseph@codesourcery.com>
10825
10826 [BZ #13717]
10827 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10828 Change to 2.4.21 where previously 2.4.1.
10829 * sysdeps/unix/sysv/linux/configure: Regenerated.
10830 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10831 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10832 Linux kernel version.
10833 (__ASSUME_STD_AUXV): Remove.
10834 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10835 kernel version.
10836 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10837 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10838 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10839 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10840 (__ASSUME_NETLINK_SUPPORT): Likewise.
10841 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10842 (__no_netlink_support): Remove conditional definition.
10843 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10844 Remove.
10845 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10846 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10847 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10848 (if_nameindex_ioctl): Remove.
10849 (if_nameindex_netlink): Do not handle __no_netlink_support.
10850 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10851 code.
10852 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10853 Remove conditional code.
10854 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10855 code.
10856 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10857 unconditional.
10858 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10859 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10860 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10861 Remove.
10862 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10863 [!__ASSUME_STD_AUXV]: Remove conditional code.
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10865 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10866 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10868 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10869 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10870 code.
10871 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10873 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10874 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10875 conditional code.
10876 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10878 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10879 code.
10880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10881 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10882 conditional code.
10883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10884 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10885 code unconditional.
10886 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10887 conditional code.
10888 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10889 unconditional.
10890 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10891 conditional code.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10893 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10894 unconditional.
10895 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10896 conditional code.
10897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10898 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10899 code unconditional.
10900 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10901 conditional code.
10902 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10903 unconditional.
10904 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10905 conditional code.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10907 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10908 code unconditional.
10909 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10910 conditional code.
10911 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10912 unconditional.
10913 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10914 conditional code.
10915
842a39cd
AS
109162012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10917
10918 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10919 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10920 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10921 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10922 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10923 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10924 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10925 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10926 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10927 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10928 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10929 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10930 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10931 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10932 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10933 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10934 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10935 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10936 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10937 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10938 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10939 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10940 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10941
84b3fd84
FW
109422012-07-25 Florian Weimer <fweimer@redhat.com>
10943
10944 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10945 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10946 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10947 Introduce __libc_secure_getenv.
0c7936d5
FW
10948 * stdlib/Versions (2.17): Add secure_getenv
10949 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10950 * stdlib/secure-getenv.c: Rename __secure_getenv to
10951 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10952 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10953 * stdlib/tst-secure-getenv.c: New.
10954 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10955 * manual/startup.texi (Environment Access): Document
10956 secure_getenv.
84b3fd84
FW
10957 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10958 __libc_secure_getenv.
10959 * inet/ruserpass.c (ruserpass): Likewise.
10960 * malloc/mtrace.c (mtrace): Likewise.
10961 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10962 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10963 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10964 * sysdeps/posix/tempname.c: Likewise. Evaluate
10965 HAVE_SECURE_GETENV.
10966 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10967 __secure_getenv to __libc_secure_getenv.
84b3fd84 10968 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10970 Likewise.
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10972 Likewise.
10973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10975 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10980
56e49b71
JM
109812012-07-25 Joseph Myers <joseph@codesourcery.com>
10982
10983 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10984 (struct La_i86_retval): Likewise.
10985 (struct La_x86_64_regs): Likewise.
10986 (struct La_x86_64_retval): Likewise.
10987 (struct La_x32_regs): Likewise.
10988 (struct La_x32_retval): Likewise.
10989 (struct La_ppc32_regs): Likewise.
10990 (struct La_ppc32_retval): Likewise.
10991 (struct La_ppc64_regs): Likewise.
10992 (struct La_ppc64_retval): Likewise.
10993 (struct La_sh_regs): Likewise.
10994 (struct La_sh_retval): Likewise.
10995 (struct La_s390_32_regs): Likewise.
10996 (struct La_s390_32_retval): Likewise.
10997 (struct La_s390_64_regs): Likewise.
10998 (struct La_s390_64_retval): Likewise.
10999 (struct La_sparc32_regs): Likewise.
11000 (struct La_sparc32_retval): Likewise.
11001 (struct La_sparc64_regs): Likewise.
11002 (struct La_sparc64_retval): Likewise.
11003 (struct audit_ifaces): Remove architecture-specific pltenter and
11004 pltexit members.
11005 * sysdeps/i386/ldsodefs.h: New file.
11006 * sysdeps/powerpc/ldsodefs.h: Likewise.
11007 * sysdeps/s390/ldsodefs.h: Likewise.
11008 * sysdeps/sh/ldsodefs.h: Likewise.
11009 * sysdeps/sparc/ldsodefs.h: Likewise.
11010 * sysdeps/x86_64/ldsodefs.h: Likewise.
11011
354691b7
MP
110122012-07-25 Marek Polacek <polacek@redhat.com>
11013
11014 [BZ #6808]
11015 * math/libm-test.inc (yn_test): Add another test.
11016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11017 to ERANGE when the result is +-Inf.
11018 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11019 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11020 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11021 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11022
bf9e2071
JM
110232012-07-24 Joseph Myers <joseph@codesourcery.com>
11024
11025 * conform/data/time.h-data (NULL): Use macro-constant. Require
11026 equal to 0.
11027 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11028 clock_t.
11029 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11030
57633811
TS
110312012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11032
11033 * configure.in <sysdeps resolving>: Correct printing
11034 Implies_before.
11035 * configure: Regenerate.
11036
c23c33b0
TS
110372012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11038
11039 * math/w_ilogb.c: Include <limits.h>.
11040 * math/w_ilogbl.c: Likewise.
11041
b5982523
JM
110422012-07-20 Joseph Myers <joseph@codesourcery.com>
11043
11044 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11045 va_copy. Document allowing for unavailable va_copy only as
11046 pre-C99 compatibility.
11047 * manual/string.texi (Copying and Concatenation): Use va_copy
11048 instead of __va_copy in concat example.
11049
ac4ea442
PT
110502012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11051
11052 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11053 (__sendto): Use create_address_port. Initialize APORT and deallocate
11054 it if not null.
11055
f98eafbd
PT
11056 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11057 with O_NOLINK passed to __file_name_lookup.
11058
898c7aab
PT
11059 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11060 with O_NOLINK passed to __file_name_lookup.
11061
0ced335a
PT
11062 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11063 negative N or less than NGIDS.
11064
b3404dbd
PT
11065 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11066 type to string_t. Set ERANGE as errno and return it if NAME is not big
11067 enough. Use memcpy instead of strncpy.
11068
0f48659e
JM
110692012-07-20 Joseph Myers <joseph@codesourcery.com>
11070
11071 * elf/Makefile (check-data): Remove.
11072 (localplt.data): New vpath directive.
11073 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11074 instead of $(check-data).
11075 * scripts/data/localplt-generic.data: Move to ...
11076 * sysdeps/generic/localplt.data: ... here.
11077 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11078 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11079 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11081 ... here.
11082 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11084 ... here.
11085 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11087 ... here.
11088 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11090 ... here.
11091 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11093 ... here.
11094 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11096 ... here.
11097
d37cbdaa
AZ
110982012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11099
11100 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11101 PPC32 and PPC64 files.
11102 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11103 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11104
46f85fc2
AK
111052012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11106
11107 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11108 __makecontext_ret to ...
11109 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11110 ... here and call exit if uc_link is NULL. New file.
11111 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11112 __makecontext_ret.S.
11113 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11114 __makecontext_ret to ...
11115 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11116 ... here and call exit if uc_link is NULL. New file.
11117 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11118 __makecontext_ret.S.
11119
08f43f9b
AK
111202012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11121
11122 * elf/elf.h (R_390_IRELATIVE): New definition.
11123 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11124 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11125 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11126 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11127 (elf_machine_lazy_rel): Likewise.
11128 * sysdeps/s390/dl-irel.h: New file.
11129 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11130 * sysdeps/s390/s390-64/memset.S: New asm code.
11131 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11132 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11133 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11134 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11135 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11136 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11137 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11138 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11139 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11140 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11141 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11142 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11143 * sysdeps/s390/s390-32/memset.S: New asm code.
11144 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11145
3b05db33
MP
111462012-07-17 Marek Polacek <polacek@redhat.com>
11147
11148 [BZ #14349]
11149 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11150 * sysdeps/s390/s390-64/configure.in: Likewise.
11151 * sysdeps/sparc/configure.in: Likewise.
11152 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11153 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11154 * sysdeps/i386/configure.in: Likewise.
11155 * sysdeps/x86_64/configure.in: Likewise.
11156 * sysdeps/sh/configure.in: Likewise.
11157 * sysdeps/s390/s390-32/configure: Regenerated.
11158 * sysdeps/s390/s390-64/configure: Likewise.
11159 * sysdeps/x86_64/configure: Likewise.
11160 * sysdeps/sh/configure: Likewise.
11161 * sysdeps/powerpc/powerpc64/configure: Likewise.
11162 * sysdeps/powerpc/powerpc32/configure: Likewise.
11163 * sysdeps/sparc/configure: Likwise.
11164 * sysdeps/i386/configure: Likewise.
11165
a66877c6
MP
11166 * elf/dl-open.c: Comment fixes.
11167
cfc82fd8
JM
111682012-07-17 Joseph Myers <joseph@codesourcery.com>
11169
bd29910a
JM
11170 * Makefile [CXX] (check-data): Remove.
11171 [CXX] (c++-types.data): New vpath directive.
11172 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11173 vpath. Do not allow for C++ type data being missing.
11174 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11175 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11176 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11177 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11178 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11179 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11180 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11182 ... here.
11183 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11185 ... here.
11186 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11188 ... here.
11189 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11191 ... here.
11192 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11194 ... here.
11195 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11197 ... here.
11198 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11200 ... here.
11201 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11203
cfc82fd8
JM
11204 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11205 definitions to architecture-specific files.
11206 (TLS_IE): Likewise.
11207 (TLS_LD): Likewise.
11208 (TLS_GD): Likewise.
11209 * sysdeps/i386/tls-macros.h: New file.
11210 * sysdeps/powerpc/tls-macros.h: Likewise.
11211 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11212 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11213 * sysdeps/sh/tls-macros.h: Likewise.
11214 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11215 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11216 * sysdeps/x86_64/tls-macros.h: Likewise.
11217
f7db3170
TS
112182012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11219
07cbfc23
TS
11220 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11221 zero value for regular exit case.
11222
f7db3170
TS
11223 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11224 (__start_context): Preserve zero value for regular exit case.
11225
dc97c227
TS
112262012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11227 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11228
11229 * manual/setjmp.texi (setcontext): Clarify normal process
11230 termination when uc_link is the null pointer.
11231 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11232 exit call.
11233
d0cd7d02
AS
112342012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11235
11236 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11237 preprocessor. Test for each exception mask separately.
11238
dd318934
AJ
112392012-07-16 Andreas Jaeger <aj@suse.de>
11240
11241 * po/ru.po: Update from translation team.
11242
8048311a
JM
112432012-07-15 Joseph Myers <joseph@codesourcery.com>
11244
11245 * conform/data/string.h-data (NULL): Use macro-constant. Require
11246 equal to 0.
11247 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11248 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11249 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11250 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11251 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11252
b637d46e
AJ
112532012-07-13 Andreas Jaeger <aj@suse.de>
11254
11255 * po/fr.po: Update from translation team.
11256
541428fe
MP
112572012-07-12 Marek Polacek <polacek@redhat.com>
11258
11259 [BZ #14173]
11260 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11261 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11262 loop condition.
11263
ec332e94
JM
112642012-07-12 Joseph Myers <joseph@codesourcery.com>
11265
11266 [BZ #13717]
11267 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11268 Change to 2.4.1 where previously 2.4.0.
11269 * sysdeps/unix/sysv/linux/configure: Regenerated.
11270 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11271 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11272 version.
11273 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11274 (__ASSUME_AT_CLKTCK): Remove.
11275 (__ASSUME_AT_PAGESIZE): Likewise.
11276 (__ASSUME_AT_XID): Likewise.
11277 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11278 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11279 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11280 unconditionally.
11281 (HAVE_AUX_PAGESIZE): Likewise.
11282 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11283 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11284 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11285
7b6e99be
JB
112862012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11287
11288 [BZ #14307]
11289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11290 the temporary buffer used to invoke __gethostbyname2_r,
11291 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11292 host_data / struct gaih_addrtuple.
11293 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11294 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11295 header file nss/nsswitch.h.
11296 * nss/nsswitch.h (global scope): Add definition of implementation
11297 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11298 resolv/nss_dns/dns-host.c).
11299
608404eb
AJ
113002012-07-11 Andreas Jaeger <aj@suse.de>
11301
11302 * po/fr.po: Update from translation team.
11303
71220aca
AJ
11304 * po/sv.po: Update from translation team
11305 * po/fr.po: Another update from translation team.
11306
28cfe843
AZ
113072012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11308
11309 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11310 for subnormals or multiply small sinh result by itself.
11311 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11313
6b90f981
DM
113142012-07-11 David S. Miller <davem@davemloft.net>
11315
11316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11317
c6825772
AS
113182012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11319
11320 [BZ #14347]
11321 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11322 (INTERNAL_MARK): Shift it here.
11323
7b8e0d49
MP
113242012-07-10 Marek Polacek <polacek@redhat.com>
11325
11326 [BZ #14151]
11327 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11328 libc_cv_asm_global_directive with .globl.
11329 * configure: Regenerated.
11330 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11331 with .globl.
11332 * sysdeps/i386/configure: Regenerated.
11333 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11334 with .globl.
11335 * sysdeps/x86_64/configure: Regenerated.
11336 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11337 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11338 * elf/tst-unique2mod2.c: Likewise.
11339 * elf/tst-unique2mod1.c: Likewise.
11340 * elf/tst-unique1mod2.c: Likewise.
11341 * elf/tst-unique1mod1.c: Likewise.
11342 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11343 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11344 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11345 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11346 * sysdeps/mach/sysdep.h: Likewise.
11347 * sysdeps/i386/sysdep.h: Likewise.
11348 * sysdeps/i386/i386-mcount.S: Likewise.
11349 * sysdeps/x86_64/_mcount.S: Likewise.
11350 * sysdeps/x86_64/sysdep.h: Likewise.
11351 * sysdeps/sh/_mcount.S: Likewise.
11352 * sysdeps/sh/sysdep.h: Likewise.
11353 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11354 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11355 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11356 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11357 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11358 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11359 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11360 * locale/localeinfo.h: Likewise.
11361 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11362 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11363
6c55cda3
RM
113642012-07-09 Roland McGrath <roland@hack.frob.com>
11365
11366 [BZ #14336]
11367 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11368 system".
11369 * manual/message.texi (The Uniforum approach): Likewise.
11370 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11371 (glibc iconv Implementation): Likewise.
11372
638a572e
JM
113732012-07-09 Joseph Myers <joseph@codesourcery.com>
11374
11375 [BZ #14337]
11376 * math/s_clog.c (__clog): Avoid scaling a value down where that
11377 could result in underflow.
11378 * math/s_clog10.c (__clog10): Likewise.
11379 * math/s_clog10f.c (__clog10f): Likewise.
11380 * math/s_clog10l.c (__clog10l): Likewise.
11381 * math/s_clogf.c (__clogf): Likewise.
11382 * math/s_clogl.c (__clogl): Likewise.
11383 * math/libm-test.inc (clog_test): Add more tests.
11384 (clog10_test): Likewise.
11385 * sysdeps/i386/fpu/libm-test-ulps: Update.
11386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11387
261f4859
AS
113882012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11389
0abaf3e4
AS
11390 [BZ #14283]
11391 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11392 by 7 not 8 to examine high bit of fractional part.
11393
261f4859
AS
11394 [BZ #14042]
11395 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11396 for call to __mcount_internal.
11397 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11398 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11399 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11400
f17ac40d
JM
114012012-07-06 Joseph Myers <joseph@codesourcery.com>
11402
9ad63c23
JM
11403 [BZ #14154]
11404 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11405 approximation for values within 0x1p-13f of an odd multiple of
11406 pi/4.
11407 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11408 exception. Add more tests.
11409 * sysdeps/i386/fpu/libm-test-ulps: Update.
11410
f17ac40d
JM
11411 [BZ #6778]
11412 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11413 inputs and return -1 for them. Do not check for +Inf in case not
11414 reachable for +Inf.
11415 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11416 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11417 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11418 and return -1 for them. Do not check for +Inf in case not
11419 reachable for +Inf.
11420 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11421 define.
11422 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11423 and return -1 for them. Do not check for +Inf in case not
11424 reachable for +Inf.
11425 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11426 spurious underflow.
11427 * sysdeps/i386/fpu/libm-test-ulps: Update.
11428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11429
fb21f89b
MF
114302012-07-06 Mike Frysinger <vapier@gentoo.org>
11431
11432 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11433
cdfe2c5e
JM
114342012-07-05 Joseph Myers <joseph@codesourcery.com>
11435
11436 [BZ #14157]
11437 [BZ #14331]
11438 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11439 could result in spurious underflow. Scale down values above
11440 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11441 * math/s_csqrtf.c (__csqrtf): Likewise.
11442 * math/s_csqrtl.c (__csqrtl): Likewise.
11443 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11444 spurious underflow.
11445 * sysdeps/i386/fpu/libm-test-ulps: Update.
11446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11447
70d35b67
AS
114482012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11449
704bc459
AS
11450 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11451 xopen-msg.sed.
11452 * catgets/xopen-msg.awk: New file.
11453 * catgets/xopen-msg.sed: Removed.
11454
70d35b67
AS
11455 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11456 po2text.sed.
11457 * intl/po2test.awk: New file.
11458 * intl/po2test.sed: Removed.
11459
ca61cf32
JM
114602012-07-04 Joseph Myers <joseph@codesourcery.com>
11461
11462 [BZ #14328]
11463 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11464 or multiply small sinh result by itself.
11465 * math/s_ctanf.c (__ctanf): Likewise.
11466 * math/s_ctanh.c (__ctanh): Likewise.
11467 * math/s_ctanhf.c (__ctanhf): Likewise.
11468 * math/s_ctanhl.c (__ctanhl): Likewise.
11469 * math/s_ctanl.c (__ctanl): Likewise.
11470 * math/libm-test.inc (ctan_test_tonearest): New function.
11471 (ctan_test_towardzero): Likewise.
11472 (ctan_test_downward): Likewise.
11473 (ctan_test_upward): Likewise.
11474 (ctanh_test_tonearest): Likewise.
11475 (ctanh_test_towardzero): Likewise.
11476 (ctanh_test_downward): Likewise.
11477 (ctanh_test_upward): Likewise.
11478 (main): Call these new functions.
11479 * sysdeps/i386/fpu/libm-test-ulps: Update.
11480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11481
ca48a46a
MF
114822012-07-03 Mike Frysinger <vapier@gentoo.org>
11483
11484 * .gitignore: Delete /ports entry.
11485
9d63d37d
AJ
114862012-07-03 Andreas Jaeger <aj@suse.de>
11487
11488 * po/bg.po: Update from translation team.
11489 * po/cs.po: Likewise.
11490 * po/de.po: Likewise.
11491 * po/hr.po: Likewise.
11492 * po/nl.pl: Likewise.
11493 * po/pl.po: Likewise.
11494 * po/vi.po: Likewise.
11495
370ca3d2
JM
114962012-07-03 Joseph Myers <joseph@codesourcery.com>
11497
95f5a9a8
JM
11498 * Makeconfig [!+link] (+link-before-libc): New variable.
11499 [!+link] (+link-after-libc): Likewise.
11500 [!+link] (+link-tests): Likewise.
11501 [!+link] (+link): Define in terms of $(+link-before-libc) and
11502 $(+link-after-libc).
11503 [!+link-static] (+link-static-before-libc): New variable.
11504 [!+link-static] (+link-static-after-libc): Likewise.
11505 [!+link-static] (+link-static-tests): Likewise.
11506 [!+link-static] (+link-static): Define in terms of
11507 $(+link-static-before-libc) and $(+link-static-after-libc).
11508 [build-shared] (link-libc-before-gnulib): New variable.
11509 [build-shared] (link-libc-tests): Likewise.
11510 [build-shared] (link-libc): Define in terms of
11511 $(link-libc-before-gnulib).
11512 [!build-shared] (link-libc-tests): New variable.
11513 (link-libc-static-tests): New variable.
11514 [!gnulib] (gnulib-arch): New variable.
11515 [!gnulib] (gnulib-tests): Likewise.
11516 [!gnulib] (static-gnulib-arch): Likewise.
11517 [!gnulib] (static-gnulib-tests): Likewise.
11518 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11519 Define with "=" instead of ":=".
11520 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11521 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11522 * Rules (binaries-all-notests): New variable.
11523 (binaries-all-tests): Likewise.
11524 (binaries-static-notests): Likewise.
11525 (binaries-static-tests): Likewise.
11526 (binaries-all): Define using $(binaries-all-notests) and
11527 $(binaries-all-tests).
11528 (binaries-static): Define using $(binaries-static-notests) and
11529 $(binaries-static-tests).
11530 (binaries-shared-tests): New variable.
11531 (binaries-shared-notests): Likewise.
11532 (binaries-shared): Remove variable.
11533 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11534 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11535 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11536 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11537 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11538 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11539 * elf/Makefile (sln-modules): New variable.
11540 (extra-objs): Add $(sln-modules:=.o).
11541 (ldconfig-modules): Add static-stubs.
11542 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11543 * elf/static-stubs.c: New file.
11544
7a845b2c
JM
11545 [BZ #14283]
11546 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11547 by 7 not 8 to examine high bit of fractional part. Use volatile
11548 variables when splitting into final array of floats if
11549 __FLT_EVAL_METHOD__ != 0.
11550 * math/libm-test.inc (cos_test): Add another test.
11551 (sin_test): Likewise.
11552 * sysdeps/i386/fpu/libm-test-ulps: Update.
11553
e2283f38
JM
11554 [BZ #14273]
11555 * math/libm-test.inc (cosh_test): Add more tests.
11556
370ca3d2
JM
11557 * version.h (RELEASE): Set to "development".
11558 (VERSION): Set to "2.16.90".
11559
ee9247c3
CD
115602012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11561
11562 * NEWS: Update copyright. Remove last-updated date.
11563 Mention math library bug fixes and timezone data changes.
11564 * README: Mention GNU/Hurd, x32, and HPPA support status.
11565
4648c381
TS
115662012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11567
11568 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11569
aac78a43
AJ
115702012-06-27 Andreas Jaeger <aj@suse.de>
11571
11572 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11573
ed3dbfad
AJ
115742012-06-25 Andreas Jaeger <aj@suse.de>
11575
11576 * sysdeps/s390/fpu/libm-test-ulps: Update.
11577
4d0ee855
AS
115782012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11579 Thomas Schwinge <thomas@codesourcery.com>
11580
11581 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11582 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11583 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11584 fanotify_mark.
11585
af1bce34
TS
115862012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11587
a9fa33ba
TS
11588 * sysdeps/mach/start.c: Remove file.
11589 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11590 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11591 * sysdeps/sh/init-first.c: Likewise.
11592
58f902b8
TS
11593 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11594 registers for frame unwinding purposes, add CFI directives.
11595 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11596 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11597 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11598 Likewise.
11599
1518f58b
TS
11600 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11601 __fortify_fail returning.
11602 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11603
db9b5059
TS
11604 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11605 sysdeps/sh/____longjmp_chk.S.
11606 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11607 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11608 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11609 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11610
967705fe
TS
11611 * sysdeps/sh/abort-instr.h: New file.
11612 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11613 process in case exit returns.
11614
a9def8c4
TS
11615 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11616 initialize the GOT register before use.
11617
2a649725
TS
11618 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11619 calculation of ARGC > 4.
11620
af1bce34
TS
11621 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11622 meaningful names to some local labels.
11623
d230f50a
KK
116242012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11625 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11626
11627 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11628 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11629 (__arch_compare_and_exchange_val_16_acq): Likewise.
11630 (__arch_compare_and_exchange_val_32_acq): Likewise.
11631 (atomic_exchange_and_add): Fix gUSA sequence.
11632 (atomic_add): Likewise.
11633 (atomic_add_negative): Likewise.
11634 (atomic_add_zero): Likewise.
11635 (atomic_bit_test_set): Likewise.
11636
0479b305
AS
116372012-06-22 Andreas Schwab <schwab@redhat.com>
11638
11639 [BZ #13579]
11640 * include/link.h (struct link_map): Add l_free_initfini.
11641 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11642 l_initfini.
11643 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11644 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11645 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11646 set.
11647
0e3933b9
CD
116482012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11649
11650 * configure.in: Use AC_LANG_SOURCE.
11651 * configure: Regenerate.
11652
4248b1b1
RM
116532012-06-22 Roland McGrath <roland@hack.frob.com>
11654
11655 * configure.in (libc_cv_localstatedir): New substituted variable.
11656 * configure: Regenerated.
11657 * config.make.in (localstatedir): New variable, substituted from
11658 libc_cv_localstatedir.
11659 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11660 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11661 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11662 * sysdeps/gnu/configure: Regenerated.
11663
006dd861
JL
116642012-06-21 Jeff Law <law@redhat.com>
11665
11666 [BZ #14277]
11667 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11668 free. Simplify list management for _LIBC case.
11669
79662d42
JM
116702012-06-21 Joseph Myers <joseph@codesourcery.com>
11671
b7abb4bf
JM
11672 [BZ #14273]
11673 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11674 Clear sign bit of 64-bit integer value before comparing against
11675 overflow value.
11676
79662d42
JM
11677 * sysdeps/mach/configure: Regenerated.
11678
1f150908
L
116792012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11680
11681 [BZ #14278]
11682 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11683
28363bbf
JL
116842012-06-21 Jeff Law <law@redhat.com>
11685
11686 [BZ #13882]
11687 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11688 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11689 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11690 * elf/dl-open.c (dl_open_worker): Likewise.
11691
09615db4
CD
116922012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11693
11694 * scripts/list-sources.sh: Scan PORTS for translations.
11695 * po/libc.pot: Regenerated.
11696
2174c6dd
AJ
116972012-06-21 Andreas Jaeger <aj@suse.de>
11698
11699 [BZ #12194]
11700 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11701 warning.
11702 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11703 * bits/byteswap-16.h (__bswap_16): Likewise.
11704 * bits/byteswap.h (__bswap_constant_16): Likewise.
11705
3ee947b1
L
117062012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11707
11708 [BZ #14117]
a2f34833
L
11709 * sysdeps/i386/fpu_control.h: Removed.
11710 * sysdeps/x86_64/fpu_control.h: Moved to ...
11711 * sysdeps/x86/fpu_control.h: Here.
11712
3ee947b1
L
11713 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11714 (_FPU_SETCW): Likewise.
11715
ed1825f8
L
117162012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11717
25f1282a
L
11718 [BZ #14117]
11719 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11720 * sysdeps/x86/fpu/bits/mathinline.h: This.
11721 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11722
ed1825f8
L
11723 [BZ #14050]
11724 [BZ #14117]
11725 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11726 functions if __x86_64__ is defined.
11727
36d54b74
CLT
117282012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11729
11730 * string/endian.h: Add !__ASSEMBLER__ condition for including
11731 conversion interfaces.
11732
10285c21
JM
117332012-06-15 Joseph Myers <joseph@codesourcery.com>
11734
11735 [BZ #14241]
11736 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11737 of ABS(x) in calculating zero to negative powers other than odd
11738 integers.
11739 * math/libm-test.inc (pow_test): Add more tests.
11740
06c5abbd
AJ
117412012-06-15 Andreas Jaeger <aj@suse.de>
11742
11743 * manual/contrib.texi (Contributors): Update entry of Liubov
11744 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11745 Machado Filho.
11746
a3aeac40
CH
117472012-06-15 Cyril Hrubis <metan@ucw.cz>
11748
11749 * string/string.h: Add __wur to GNU version of strerror_r.
11750
49bdf4c1
L
117512012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11752
11753 [BZ #14229]
11754 * string/Makefile (tests): Add tst-strtok_r.
11755 * string/tst-strtok_r.c: New file.
11756 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11757 RAX_LP/RDX_LP on SAVE_PTR.
11758
834f9b8d
RM
117592012-06-14 Roland McGrath <roland@hack.frob.com>
11760
11761 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11762
75fa1921
JM
117632012-06-14 Joseph Myers <joseph@codesourcery.com>
11764
11765 * libm_test.inc (csqrt_test): Allow more spurious underflow
11766 exceptions.
11767 (j0_test): Likewise.
11768 (j1_test): Likewise.
11769 (y0_test): Likewise.
11770 (y1_test): Likewise.
11771
771766df
CD
117722012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11773
11774 * po/Makefile (libc.pot): Use UTF-8 charset.
11775
ceb9e56b
PP
117762012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11777
11778 [BZ #14210]
11779 Suppress sign-conversion warning from FD_SET.
11780 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11781 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11782 not unsigned long int.
11783 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11784
ddb28975
L
117852012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11786
11787 [BZ #14050]
11788 [BZ #14117]
11789 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11790 __extern_always_inline instead of __extern_inline.
11791 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11792 (__signbit): Likewise.
11793 (__signbitl): Support C++ namespace.
11794 (lrintf): New inline function.
11795 (lrint): Likewise.
11796 (llrintf): Likewise.
11797 (llrint): Likewise.
11798 (fmaxf): Likewise.
11799 (fmax): Likewise.
11800 (fminf): Likewise.
11801 (fmin): Likewise.
11802 (rint): Likewise.
11803 (rintf): Likewise.
11804 (ceil): Likewise.
11805 (ceilf): Likewise.
11806 (floor): Likewise.
11807 (floorf): Likewise.
11808 (nearbyint): Likewise.
11809 (nearbyintf): Likewise.
11810
d7b4fb26
TS
118112012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11812
11813 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11814 non-default versions.
11815
eb55f5c2
RM
118162012-06-11 Roland McGrath <roland@hack.frob.com>
11817
11818 [BZ #14218]
11819 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11820
366af02c
TS
118212012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11822
99ff6e5c
TS
11823 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11824 (FE_UPWARD, FE_DOWNWARD): Don't define.
11825 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11826 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11827
366af02c
TS
11828 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11829 reading it.
11830 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11831 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11832
793ea851
KK
118332012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11834
11835 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11836 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11837 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11838 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11839
a728a38f
L
118402012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11841
11842 [BZ #14117]
c08010c7
L
11843 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11844 * sysdeps/i386/fpu/Implies: New file.
11845 * sysdeps/x86_64/fpu/Implies: Likewise.
11846 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11847 * sysdeps/x86/fpu/bits/fenv.h: This.
11848
a728a38f
L
11849 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11850 __SSE_MATH__.
11851
6e230d11
SP
118522012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11853
11854 [BZ #14134]
11855 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11856 character 0xffff that matches the last element of the
11857 conversion table.
11858
1b671feb
AZ
118592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11860
11861 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11862 fmodl commit.
11863
6043738b
AZ
118642012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11865
11866 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11867 values higher than 25.6283.
11868
34ae0b32
AZ
118692012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11870
11871 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11872 subnormal exponent extraction and add some __builtin_expect.
11873 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11874 Fix for subnormal mantissa calculation.
11875
1214ec8f
MF
118762012-06-04 Mike Frysinger <vapier@gentoo.org>
11877
11878 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11879 cpu2 is -1 and errno is not ENOSYS.
11880
f3d1f93c
L
118812012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11882
11883 [BZ #14117]
0e4a3cd7
L
11884 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11885 * sysdeps/x86/bits/string.h: This.
11886 * sysdeps/x86_64/bits/string.h: Removed.
11887
6704c645
L
11888 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11889 if not compiling for x86-64, but compiling for >= i486.
11890
48495318
L
11891 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11892 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11893
14adcbfc
L
11894 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11895 New macro from Linux kernel 3.4.0.
11896 (FP_XSTATE_MAGIC2): Likewise.
11897 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11898 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11899 (struct _fpx_sw_bytes): New struct.
11900 (struct _xsave_hdr): Likewise.
11901 (struct _ymmh_state): Likewise.
11902 (struct _xstate): Likewise.
11903
68e408ab
L
11904 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11905 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11906 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11907 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11908 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11909 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11910
f3d1f93c
L
11911 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11912 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11913 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11914 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11915 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11916 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11917
d9dc34cd
TMQMF
119182012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11919
11920 [BZ #13743]
11921 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11922 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11923 (sysdep_headers): Include sys/platform/ppc.h.
11924 * sysdeps/powerpc/test-gettimebase.c: Test for
11925 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11926 * manual/Makefile (appendices): Include platform.texi.
11927 * manual/contrib.texi (Contributors): Update @node pointers.
11928 * manual/maint.texi (Maintenance): Likewise.
11929 (Platform): New node.
11930 * manual/platform.texi: New file. Document the new features.
11931
4af3879c
SP
119322012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11933 Jakub Jelinek <jakub@redhat.com>
11934
11935 [BZ #14188]
11936 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11937 where __builtin_expect is unavailable.
11938
2fd6ff13
DM
119392012-06-03 David S. Miller <davem@davemloft.net>
11940
11941 * stdlib/longlong.h: Updated from GCC.
11942
173f7220
AS
119432012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11944
11945 [BZ #14042]
11946 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11947 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11948 __mcount_internal.
11949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11950 (GLIBC_2.16): Likewise.
11951
f34a1c6f
L
119522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11953
11954 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11955
88a4576f
JM
119562012-06-01 Joseph Myers <joseph@codesourcery.com>
11957
ea32bcdd
JM
11958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11959 (default-abi): New variable.
11960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11961 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11962 variable.
11963 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11964 Likewise.
11965 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11966 Likewise.
11967 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11968 Likewise.
11969
88a4576f
JM
11970 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11971 definition. Document in comment.
11972
402fe938
DM
119732012-06-01 David S. Miller <davem@davemloft.net>
11974
11975 * stdlib/longlong.h: Updated from GCC.
11976
3553723f
L
119772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11978
11979 [BZ #14117]
3bd872c4
L
11980 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11981 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11982 sys/debugreg.h sys/io.h here.
11983 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11984 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11985 sys/io.h.
11986 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11987 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11988 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11989 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11990 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11991 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11992
3553723f
L
11993 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11994 Define only if __x86_64__ is defined.
11995
4842e4fe
JM
119962012-06-01 Joseph Myers <joseph@codesourcery.com>
11997
c5bfe3d5
JM
11998 [BZ #14048]
11999 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12000 Use int64_t for variable i.
12001 * math/libm-test.inc (fmod_test): Add more tests.
12002
4842e4fe
JM
12003 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12004 z computation is not scheduled after fetestexcept.
12005 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12006 Use math_force_eval instead of asm to ensure calculation scheduled
12007 before exception test.
12008 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12009 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12010
efb73488
AJ
120112012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12012
12013 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12014 computation is not scheduled after fetestexcept.
12015
29bcce7c
L
120162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12017
12018 [BZ #14117]
12019 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12020 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12021
73a68f94
AZ
120222012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12023
12024 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12025 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12026
67b6df78
L
120272012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12028
edf2933a 12029 [BZ #14117]
ebc64a18
L
12030 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12031 <bits/wordsize.h>.
12032 (__WCHAR_MIN): Support __WORDSIZE == 64.
12033 (__WCHAR_MAX): Likewise.
12034
edf2933a
L
12035 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12036 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12037
57c6cf40
L
12038 [BZ #14183]
12039 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12040 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12041
67b6df78 12042 [BZ #14117]
8eb6281e
L
12043 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12044 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12045
aac639f4
L
12046 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12047 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12048
67b6df78
L
12049 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12050 Defined to 1 if __x86_64__ isn't defined.
12051 (_STAT_VER_LINUX_OLD): New.
12052 (st_atime): Remove duplicate.
12053 (st_mtime): Likewise.
12054 (st_ctime): Likewise.
12055
1c2cfe81
DM
120562012-05-31 David S. Miller <davem@davemloft.net>
12057
12058 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12059 entries.
12060
5be8418c
AS
120612012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12062
e7725326
AS
12063 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12064 gen-libm-test.pl.
12065
5be8418c
AS
12066 [BZ #14132]
12067 * elf/dl-reloc.c: Include <_itoa.h>.
12068 (_dl_reloc_bad_type): Remove use of INTUSE.
12069 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12070 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12071 * stdio-common/psiginfo.c (psiginfo): Likewise.
12072 * stdio-common/psignal.c (psignal): Likewise.
12073 * string/strsignal.c (strsignal): Likewise.
12074 * include/signal.h (_sys_siglist): Declare hidden proto.
12075 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12076 INTVARDEF with libc_hidden_data_def.
12077 * stdio-common/itoa-udigits.c: Likewise.
12078 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12079 (_itoa_lower_digits_internal): Remove declaration.
12080 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12081 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12082 (_sys_sigabbrev_internal): Remove aliases.
12083 (_sys_siglist): Define hidden alias.
12084
507352f1
MT
120852012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12086
12087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12088 bits/sysctl.h.
12089
42bbb1c3
L
120902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12091
12092 [BZ #14117]
6bd784b6
L
12093 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12094 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12095
8bca20f0
L
12096 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12097 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12098 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12099 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12100 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12101 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12102
f9e890a9
L
12103 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12104 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12105 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12106
471101a1
L
12107 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12108 with __addr.
12109 (insw): Likewise.
12110 (insl): Likewise.
12111 (outsb): Likewise.
12112 (outsw): Likewise.
12113 (outsl): Likewise.
12114
6451c862
L
12115 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12116 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12117 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12118
a254b8c9
L
12119 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12120 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12121 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12122 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12123 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12124 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12125
b8dfdd92
L
12126 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12127 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12128
578cd270
L
12129 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12130 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12131
de662f5f
L
12132 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12133 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12134 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12135
25653439
L
12136 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12137 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12138 to ...
12139 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12140
6bad24a0
L
12141 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12142 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12143 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12144
42bbb1c3
L
12145 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12146 for x86-64.
12147 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12148
2d10d547
JM
121492012-05-31 Joseph Myers <joseph@codesourcery.com>
12150
12151 * math/math.h (M_El): Use two more decimal places.
12152 (M_LOG2El): Likewise.
12153 (M_LOG10El): Likewise.
12154 (M_LN2l): Likewise.
12155 (M_LN10l): Likewise.
12156 (M_PIl): Likewise.
12157 (M_PI_2l): Likewise.
12158 (M_PI_4l): Likewise.
12159 (M_1_PIl): Likewise.
12160 (M_2_PIl): Likewise.
12161 (M_2_SQRTPIl): Likewise.
12162 (M_SQRT2l): Likewise.
12163 (M_SQRT1_2l): Likewise.
12164
f230c29b
DM
121652012-05-31 David S. Miller <davem@davemloft.net>
12166
12167 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12168 values between float registers.
12169 * sysdeps/sparc/sparc64/memset.S: Likewise.
12170 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12171
fed806c3
MF
121722012-05-31 Mike Frysinger <vapier@gentoo.org>
12173
12174 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12175 -D_FORTIFY_SOURCE=1.
12176 (CPPFLAGS-tst-longjmp_chk.c): Define.
12177 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12178 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12179 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12180 CFLAGS-tst-wchar-h.c.
12181
30917259
MP
121822012-05-31 Marek Polacek <polacek@redhat.com>
12183
12184 [BZ #14132]
12185 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12186 __endmntent_internal): Remove declaration.
12187 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12188 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12189 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12190
1c58d5dc
DM
121912012-05-30 David S. Miller <davem@davemloft.net>
12192
12193 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12194 (___Q_simulate_exceptions): Use real FP ops rather than writing
12195 into the %fsr.
12196 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12197 Likewise.
12198
7dc00e0d
L
121992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12200
12201 [BZ #14117]
0bd53985
L
12202 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12203 * sysdeps/x86/bits/xtitypes.h: This.
12204
3a257e66
L
12205 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12206 * sysdeps/x86/bits/wordsize.h: This.
12207
62f62904
L
12208 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12209 * sysdeps/x86/bits/huge_vall.h: This.
12210
404fe9d9
L
12211 * sysdeps/i386/bits/select.h: Removed.
12212 * sysdeps/x86_64/bits/select.h: Renamed to ...
12213 * sysdeps/x86/bits/select.h: This.
12214
d48d0446
L
12215 * sysdeps/i386/bits/setjmp.h: Removed.
12216 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12217 * sysdeps/x86/bits/setjmp.h: This.
12218
7dc00e0d
L
12219 * sysdeps/i386/bits/mathdef.h: Removed.
12220 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12221 * sysdeps/x86/bits/mathdef.h: This.
12222
03277f8f
AS
122232012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12224
12225 [BZ #14132]
12226 * include/sys/socket.h (__connect_internal)
12227 (__libc_sa_len_internal): Remove declaration.
12228 (__connect, __libc_sa_len): Declare hidden_proto.
12229 (SA_LEN): Remove use of INTUSE.
12230 * socket/connect.c: Add libc_hidden_def.
12231 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12232 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12233 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12234 alias.
12235 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12236 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12237 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12238 of adding _internal alias.
12239
13764867
L
122402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12241
12242 [BZ #14117]
6bd97696
L
12243 * sysdeps/i386/bits/link.h: Removed.
12244 * sysdeps/i386/bits/linkmap.h: Likewise.
12245 * sysdeps/x86_64/bits/link.h: Renamed to ...
12246 * sysdeps/x86/bits/link.h: This.
12247 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12248 * sysdeps/x86/bits/linkmap.h: This.
12249
f726f0bb
L
12250 * sysdeps/i386/bits/endian.h: Removed.
12251 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12252 * sysdeps/x86/bits/endian.h: This.
12253
13764867
L
12254 * sysdeps/i386/bits/byteswap.h: Removed.
12255 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12256 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12257 * sysdeps/x86/bits/byteswap.h: This.
12258 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12259 * sysdeps/x86/bits/byteswap-16.h: This.
12260 * sysdeps/i386/Implies: Add x86.
12261 * sysdeps/x86_64/Implies: Likewise.
12262
ae251b0b
DM
122632012-05-30 David S. Miller <davem@davemloft.net>
12264
12265 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12266 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12267 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12268 (FP_TRAPPING_EXCEPTIONS): Define.
12269 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12270 (FP_TRAPPING_EXCEPTIONS): Define.
12271 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12272 subnormals only when inexact has been signalled or underflow
12273 exceptions are enabled.
12274 (_FP_PACK_CANONICAL): Likewise.
12275
d5c90867
L
122762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12277
12278 [BZ #14183]
12279 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12280 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12281
63f1549e
RH
122822012-05-30 Richard Henderson <rth@twiddle.net>
12283
8d8f2279
RH
12284 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12285 with #ifndef NOT_IN_libc.
12286
63f1549e
RH
12287 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12288 marked to avoid plt entry.
12289
0ab0291b
L
122902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12291
12292 [BZ #14112]
12293 * Makeconfig (default-abi): New macro.
12294 (abi-includes): Likewise.
12295 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12296 $(abi-$(default-abi)-lib-soname) for soname if defined.
12297 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12298 abi-variants.
12299 * Makefile (installed-stubs): Likewise.
12300 * include/stubs-biarch.h: Removed.
12301 * scripts/lib-names.awk: Only handle one library at a time.
12302 * scripts/soversions.awk: Remove WORDSIZE support.
12303 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12304 entries.
12305 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12306 Removed.
12307 (syscall-list-default-condition): Likewise.
12308 (syscall-list-default-condition): Likewise.
12309 (syscall-list-includes): Likewise.
12310 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12311 syscall-list-* with abi-*. Handle undefined abi-variants.
12312 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12313 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12314 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12315 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12316 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12317 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12318 Removed.
12319 (syscall-list-32-options): Likewise.
12320 (syscall-list-32-condition): Likewise.
12321 (syscall-list-64-options): Likewise.
12322 (syscall-list-64-condition): Likewise.
12323 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12324 macro.
12325 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12326 Renamed to ...
12327 (abi-*): This.
12328 (abi-64-ld-soname): New macro.
12329 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12330 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12331 Renamed to ...
12332 (abi-*): This.
12333 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12334 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12335
4da0431d
JM
123362012-05-30 Joseph Myers <joseph@codesourcery.com>
12337
3a85279c
JM
12338 * sysdeps/unix/sysv/linux/kernel-features.h
12339 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12340 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12341 include <kernel-features.h>.
12342 [!__NR_ftruncate64]: Remove conditional code.
12343 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12344 [__NR_ftruncate64]: Make code unconditional.
12345 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12346 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12347 include <kernel-features.h>.
12348 [!__NR_ftruncate64]: Remove conditional code.
12349 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12350 [__NR_ftruncate64]: Make code unconditional.
12351 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12353 include <kernel-features.h>.
12354 [!__NR_ftruncate64]: Remove conditional code.
12355 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12356 [__NR_ftruncate64]: Make code unconditional.
12357 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12359 include <kernel-features.h>.
12360 [!__NR_ftruncate64]: Remove conditional code.
12361 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12362 [__NR_ftruncate64]: Make code unconditional.
12363 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12364
4da0431d
JM
12365 * configure.in (libc_cv_fpie): Weaken to a compile test using
12366 LIBC_TRY_CC_OPTION.
12367 * configure: Regenerated.
12368
11ef492c
AK
123692012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12370
12371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12375 Refreshed.
12376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12382 Refreshed.
12383
d66ef399
DM
123842012-05-27 David S. Miller <davem@davemloft.net>
12385
12386 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12387 (___Q_zero): New.
12388 (__Q_simulate_exceptions): Return void. Change to simulate
12389 exceptions by writing into the %fsr.
12390 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12391 (__Qp_handle_exceptions): Likewise.
12392 (numbers): Delete.
12393 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12394 __Qp_handle_exceptions.
12395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12396 __Qp_handle_exceptions.
12397 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12398 as unused and give dummy FP_RND_NEAREST initializer.
12399 (FP_INHIBIT_RESULTS): Define.
12400 (___Q_simulate_exceptions): Update declaration.
12401 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12402 formatting.
12403 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12404 as unused and give dummy FP_RND_NEAREST initializer.
12405 (__Qp_handle_exceptions): Update declaration.
12406 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12407 formatting.
12408
04fb54b5
TS
124092012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12410
12411 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12412 the temporary FPU control word.
12413 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12414 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12415 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12416 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12417 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12418 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12419 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12420 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12421 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12422 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12423 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12424
3f99608f
KK
124252012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12426
12427 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12428 fields.
12429
65a4de4e
CLT
124302012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12431
12432 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12433 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12434 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12435 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12436 Likewise.
12437 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12438 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12439 Likewise.
12440
15749d40
UD
124412012-05-27 Ulrich Drepper <drepper@gmail.com>
12442
12443 * po/h.po: Update from translation team.
12444
25dbcb27
AS
124452012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12446
3d3f8e55
AS
12447 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12448
25dbcb27
AS
12449 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12450 handling of denormals.
12451 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12452 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12453 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12454 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12455 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12456 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12457 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12458 Likewise.
12459
7ad47a80 124602012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12461
12462 [BZ #14152]
12463 * math/libm-test.inc (fma_test): Don't always expect underflow
12464 exception.
12465
9c6ea9fa
SP
124662012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12467
12468 [BZ #12416]
12469 * elf/tst-execstack.c: Include stackinfo.h.
12470 (do_test): Adjust test case to ensure that pthread_getattr_np
12471 behaviour remains the same after marking stack executable.
12472
a8239222
JM
124732012-05-25 Joseph Myers <joseph@codesourcery.com>
12474
12475 * sysdeps/unix/sysv/linux/kernel-features.h
12476 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12477 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12478 kernel-features.h.
12479 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12480 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12481 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12482 kernel-features.h.
12483 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12484 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12485
918b5606
L
124862012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12487
12488 * configure.in: Define the default includes to being none.
12489 * configure: Regenerated.
12490
3a097cc7
RM
124912012-05-25 Roland McGrath <roland@hack.frob.com>
12492
8422c9a5
RM
12493 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12494 * sysdeps/x86_64/setjmp.S: Likewise.
12495 * sysdeps/i386/bsd-setjmp.S: Likewise.
12496 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12497 * sysdeps/i386/setjmp.S: Likewise.
12498 * sysdeps/i386/__longjmp.S: Likewise.
12499 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12500 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12501
3a097cc7
RM
12502 * include/stap-probe.h: New file.
12503 * configure.in: Handle --enable-systemtap.
12504 * configure: Regenerated.
12505 * config.h.in (USE_STAP_PROBE): New #undef.
12506 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12507 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12508 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12509
21708942
JM
125102012-05-25 Joseph Myers <joseph@codesourcery.com>
12511
12512 [BZ #13717]
12513 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12514 to 2.4.0 where earlier.
12515 * sysdeps/unix/sysv/linux/configure: Regenerated.
12516 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12517 <kernel-features.h>.
12518 [__ASSUME_32BITUIDS]: Make code unconditional.
12519 [!__ASSUME_32BITUIDS]: Remove conditional code.
12520 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12521 <kernel-features.h>.
12522 [__ASSUME_32BITUIDS]: Make code unconditional.
12523 [!__ASSUME_32BITUIDS]: Remove conditional code.
12524 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12525 [__ASSUME_32BITUIDS]: Make code unconditional.
12526 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12527 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12528 <kernel-features.h>.
12529 [__ASSUME_32BITUIDS]: Make code unconditional.
12530 [!__ASSUME_32BITUIDS]: Remove conditional code.
12531 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12532 <kernel-features.h>.
12533 [__ASSUME_32BITUIDS]: Make code unconditional.
12534 [!__ASSUME_32BITUIDS]: Remove conditional code.
12535 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12536 <kernel-features.h>.
12537 [__ASSUME_32BITUIDS]: Make code unconditional.
12538 [!__ASSUME_32BITUIDS]: Remove conditional code.
12539 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12540 <kernel-features.h>.
12541 [__ASSUME_32BITUIDS]: Make code unconditional.
12542 [!__ASSUME_32BITUIDS]: Remove conditional code.
12543 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12544 <kernel-features.h>.
12545 [__ASSUME_32BITUIDS]: Make code unconditional.
12546 [!__ASSUME_32BITUIDS]: Remove conditional code.
12547 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12548 <kernel-features.h>.
12549 [__ASSUME_32BITUIDS]: Make code unconditional.
12550 [!__ASSUME_32BITUIDS]: Remove conditional code.
12551 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12552 <kernel-features.h>.
12553 [__ASSUME_32BITUIDS]: Make code unconditional.
12554 [!__ASSUME_32BITUIDS]: Remove conditional code.
12555 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12556 <kernel-features.h>.
12557 [__ASSUME_32BITUIDS]: Make code unconditional.
12558 [!__ASSUME_32BITUIDS]: Remove conditional code.
12559 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12560 <kernel-features.h>.
12561 [__ASSUME_32BITUIDS]: Make code unconditional.
12562 [!__ASSUME_32BITUIDS]: Remove conditional code.
12563 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12564 <kernel-features.h>.
12565 [__ASSUME_32BITUIDS]: Make code unconditional.
12566 [!__ASSUME_32BITUIDS]: Remove conditional code.
12567 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12568 <kernel-features.h>.
12569 [__NR_setresgid] (__setresgid): Do not declare.
12570 [__ASSUME_32BITUIDS]: Make code unconditional.
12571 [!__ASSUME_32BITUIDS]: Remove conditional code.
12572 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12573 <kernel-features.h>.
12574 [__NR_setresuid] (__setresuid): Do not declare.
12575 [__ASSUME_32BITUIDS]: Make code unconditional.
12576 [!__ASSUME_32BITUIDS]: Remove conditional code.
12577 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12578 <kernel-features.h>.
12579 [__ASSUME_32BITUIDS]: Make code unconditional.
12580 [!__ASSUME_32BITUIDS]: Remove conditional code.
12581 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
12618 (__ASSUME_SETRESUID_SYSCALL): Remove.
12619 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12620 (__ASSUME_32BITUIDS): Likewise.
12621 (__ASSUME_LDT_WORKS): Likewise.
12622 (__ASSUME_O_DIRECTORY): Likewise.
12623 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12624 architecture but not kernel version.
12625 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12626 (__ASSUME_MMAP2_SYSCALL): Likewise.
12627 (__ASSUME_STAT64_SYSCALL): Likewise.
12628 (__ASSUME_IPC64): Likewise.
12629 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12630 <kernel-features.h>.
12631 [__ASSUME_32BITUIDS]: Make code unconditional.
12632 [!__ASSUME_32BITUIDS]: Remove conditional code.
12633 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12634 <kernel-features.h>.
12635 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12636 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12637 132096]: Remove conditional code.
12638 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12639 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
12648 <kernel-features.h>.
12649 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12650 unconditional.
12651 (__setresgid): Do not declare.
12652 [__ASSUME_32BITUIDS]: Make code unconditional.
12653 [!__ASSUME_32BITUIDS]: Remove conditional code.
12654 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12655 <kernel-features.h>.
12656 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12657 unconditional.
12658 (__setresuid): Do not declare.
12659 [__ASSUME_32BITUIDS]: Make code unconditional.
12660 [!__ASSUME_32BITUIDS]: Remove conditional code.
12661 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12662 <kernel-features.h>.
12663 [__ASSUME_32BITUIDS]: Make code unconditional.
12664 [!__ASSUME_32BITUIDS]: Remove conditional code.
12665 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12666 <kernel-features.h>.
12667 [__ASSUME_32BITUIDS]: Make code unconditional.
12668 [!__ASSUME_32BITUIDS]: Remove conditional code.
12669
a386f1cc
RH
126702012-05-25 Richard Henderson <rth@twiddle.net>
12671
12672 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12673 dl_hwcap to ifunc resolver.
12674 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12675 elf_ifunc_invoke.
12676 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12677 dl_hwcap to ifunc resolver.
12678 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12679
b6550497
JM
126802012-05-24 Joseph Myers <joseph@codesourcery.com>
12681
12682 [BZ #14153]
12683 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12684 for |x| <= 2**-26, not 2**-57.
12685 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12686 exception.
12687
b0bc23a1
JL
126882012-05-24 Jeff Law <law@redhat.com>
12689
12690 * stdio-common/Makefile (tests): Add bug25.
12691 * stdio-common/bug25.c: New test.
12692
347c92e9
L
126932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12694
12695 [BZ #13576]
12696 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12697 multiple of MALLOC_ALIGNMENT in size.
12698 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12699
6bcc8b3f
JM
127002012-05-24 Joseph Myers <joseph@codesourcery.com>
12701
12702 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12703 Require >= 256.
12704 (FILENAME_MAX): Use macro-int-constant.
12705 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12706 (_IOFBF): Use macro-int-constant.
12707 (_IOLBF): Likewise.
12708 (_IONBF): Likewise.
12709 (SEEK_CUR): Likewise.
12710 (SEEK_END): Likewise.
12711 (SEEK_SET): Likewise.
12712 (TMP_MAX): Likewise.
12713 (EOF): Use macro-int-constant. Require < 0.
12714 (NULL): Use macro-constant. Require == 0.
12715 (stdin): Require type to be FILE *.
12716 (stdout): Likewise.
12717 (stderr): Likewise.
12718 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12719 macro-int-constant.
12720 (EXIT_SUCCESS): Likewise.
12721 (NULL): Use macro-constant. Require == 0.
12722 (RAND_MAX): Use macro-int-constant.
12723 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12724 [C99-based standards] (strtof): Require function.
12725 [C99-based standards] (strtold): Likewise.
12726 [C99-based standards] (strtoll): Likewise.
12727 [C99-based standards] (strtoull): Likewise.
12728 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12729 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12730 [ISO || ISO99 || ISO11] (math.h): Likewise.
12731 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12732 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12733 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12734
d18ea0c5
AS
127352012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12736
12737 [BZ #14132]
56d25bb8
AS
12738 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12739 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12740 * intl/dgettext.c (DCGETTEXT): Likewise.
12741 * intl/gettext.c (DCGETTEXT): Likewise.
12742 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12743 * posix/regex_internal.h (gettext): Likewise.
12744 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12745 Remove declaration.
12746 * include/argz.h (__argz_count_internal)
12747 (__argz_stringify_internal): Remove declaration.
12748 (__argz_count, __argz_stringify): Declare hidden proto.
12749 * intl/dcgettext.c: Remove use of INTDEF.
12750 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12751 * string/argz-stringify.c: Likewise.
12752 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12753 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12754 Declare hidden proto.
d18ea0c5
AS
12755 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12756 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12757 Declare hidden proto.
12758 * include/stdio.h (__asprintf_internal): Don't declare.
12759 (__asprintf): Don't define as macro. Declare hidden proto.
12760 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12761 (__fsetlocking): Declare hidden proto.
12762 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12763 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12764 hidden proto.
12765 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12766 (_IO_setlinebuf): Remove use of INTUSE.
12767 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12768 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12769 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12770 Remove declaration.
12771 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12772 (_IO_do_flush): Remove use of INTUSE.
12773 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12774 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12775 (_IO_adjust_column, _IO_least_wmarker)
12776 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12777 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12778 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12779 (_IO_default_doallocate, _IO_wdefault_doallocate)
12780 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12781 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12782 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12783 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12784 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12785 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12786 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12787 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12788 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12789 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12790 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12791 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12792 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12793 proto.
12794 (_IO_flush_all_internal, _IO_adjust_column_internal)
12795 (_IO_default_uflow_internal, _IO_default_finish_internal)
12796 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12797 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12798 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12799 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12800 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12801 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12802 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12803 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12804 (_IO_file_close_internal, _IO_file_close_it_internal)
12805 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12806 (_IO_file_init_internal, _IO_file_attach_internal)
12807 (_IO_file_fopen_internal, _IO_file_read_internal)
12808 (_IO_file_sync_internal, _IO_file_seek_internal)
12809 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12810 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12811 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12812 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12813 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12814 (_IO_list_all_internal, _IO_link_in_internal)
12815 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12816 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12817 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12818 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12819 (_IO_do_write_internal, _IO_padn_internal)
12820 (_IO_getline_info_internal, _IO_getline_internal)
12821 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12822 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12823 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12824 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12825 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12826 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12827 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12828 with libc_hidden_ver, remove use of INTUSE.
12829 * libio/genops.c: Likewise.
12830 * libio/freopen.c: Likewise.
12831 * libio/freopen64.c: Likewise.
12832 * libio/iofclose.c: Likewise.
12833 * libio/iofdopen.c: Likewise.
12834 * libio/iofflush.c: Likewise.
12835 * libio/iofflush_u.c: Likewise.
12836 * libio/iofgets.c: Likewise.
12837 * libio/iofgets_u.c: Likewise.
12838 * libio/iofopen.c: Likewise.
12839 * libio/iofopncook.c: Likewise.
12840 * libio/iofread.c: Likewise.
12841 * libio/iofread_u.c: Likewise.
12842 * libio/ioftell.c: Likewise.
12843 * libio/iofwrite.c: Likewise.
12844 * libio/iogetline.c: Likewise.
12845 * libio/iogets.c: Likewise.
12846 * libio/iogetwline.c: Likewise.
12847 * libio/iopadn.c: Likewise.
12848 * libio/iopopen.c: Likewise.
12849 * libio/ioseekoff.c: Likewise.
12850 * libio/ioseekpos.c: Likewise.
12851 * libio/iosetbuffer.c: Likewise.
12852 * libio/iosetvbuf.c: Likewise.
12853 * libio/ioungetc.c: Likewise.
12854 * libio/ioungetwc.c: Likewise.
12855 * libio/iovdprintf.c: Likewise.
12856 * libio/iovsprintf.c: Likewise.
12857 * libio/iovsscanf.c: Likewise.
12858 * libio/memstream.c: Likewise.
12859 * libio/obprintf.c: Likewise.
12860 * libio/oldfileops.c: Likewise.
12861 * libio/oldiofclose.c: Likewise.
12862 * libio/oldiofdopen.c: Likewise.
12863 * libio/oldiofopen.c: Likewise.
12864 * libio/oldiopopen.c: Likewise.
12865 * libio/oldstdfiles.c: Likewise.
12866 * libio/putc.c: Likewise.
12867 * libio/setbuf.c: Likewise.
12868 * libio/setlinebuf.c: Likewise.
12869 * libio/stdfiles.c: Likewise.
12870 * libio/strops.c: Likewise.
12871 * libio/vasprintf.c: Likewise.
12872 * libio/vscanf.c: Likewise.
12873 * libio/vsnprintf.c: Likewise.
12874 * libio/vswprintf.c: Likewise.
12875 * libio/wfiledoalloc.c: Likewise.
12876 * libio/wfileops.c: Likewise.
12877 * libio/wgenops.c: Likewise.
12878 * libio/wmemstream.c: Likewise.
12879 * libio/wstrops.c: Likewise.
12880 * libio/__fpurge.c: Likewise.
12881 * libio/__fsetlocking.c: Likewise.
12882 * assert/assert.c: Likewise.
12883 * debug/fgets_chk.c: Likewise.
12884 * debug/fgets_u_chk.c: Likewise.
12885 * debug/fread_chk.c: Likewise.
12886 * debug/fread_u_chk.c: Likewise.
12887 * debug/gets_chk.c: Likewise.
12888 * debug/obprintf_chk.c: Likewise.
12889 * debug/vasprintf_chk.c: Likewise.
12890 * debug/vdprintf_chk.c: Likewise.
12891 * debug/vsnprintf_chk.c: Likewise.
12892 * debug/vsprintf_chk.c: Likewise.
12893 * malloc/mtrace.c: Likewise.
12894 * misc/error.c: Likewise.
12895 * misc/syslog.c: Likewise.
12896 * stdio-common/asprintf.c: Likewise.
12897 * stdio-common/fxprintf.c: Likewise.
12898 * stdio-common/getw.c: Likewise.
12899 * stdio-common/isoc99_fscanf.c: Likewise.
12900 * stdio-common/isoc99_scanf.c: Likewise.
12901 * stdio-common/isoc99_vfscanf.c: Likewise.
12902 * stdio-common/isoc99_vscanf.c: Likewise.
12903 * stdio-common/isoc99_vsscanf.c: Likewise.
12904 * stdio-common/printf-prs.c: Likewise.
12905 * stdio-common/printf_fp.c: Likewise.
12906 * stdio-common/printf_fphex.c: Likewise.
12907 * stdio-common/printf_size.c: Likewise.
12908 * stdio-common/putw.c: Likewise.
12909 * stdio-common/scanf.c: Likewise.
12910 * stdio-common/sprintf.c: Likewise.
12911 * stdio-common/tmpfile.c: Likewise.
12912 * stdio-common/vfprintf.c: Likewise.
12913 * stdio-common/vfscanf.c: Likewise.
12914 * stdlib/strfmon_l.c: Likewise.
12915 * sunrpc/openchild.c: Likewise.
12916 * sunrpc/xdr_stdio.c: Likewise.
12917 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12918 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12919
d6c33fda
RM
129202012-05-24 Roland McGrath <roland@hack.frob.com>
12921
c1487492
RM
12922 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12923
12924 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12925 in the third column, to generate for the shared library an IFUNC
12926 that uses _dl_vdso_vsym.
12927 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12928 * Makeconfig (object-suffixes-noshared): New variable.
12929
12930 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12931 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12932 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12933 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12934
d6c33fda
RM
12935 [BZ #14132]
12936 * include/sys/time.h (__gettimeofday): Remove macro.
12937 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12938 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12939 Remove INTDEF.
12940 (__gettimeofday): Add libc_hidden_def.
12941 (gettimeofday): Add libc_hidden_weak.
12942 * sysdeps/mach/gettimeofday.c: Likewise.
12943 * sysdeps/posix/gettimeofday.c: Likewise.
12944 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12945 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12946 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12947 (__gettimeofday_internal): Remove strong_alias.
12948 (__gettimeofday): Add libc_hidden_def.
12949 (gettimeofday): Add libc_hidden_weak.
12950 * sysdeps/unix/syscalls.list (gettimeofday):
12951 Remove __gettimeofday_internal alias.
12952
b5a2bbe6
L
129532012-05-24 Daniel Jacobowitz <drow@false.org>
12954 H.J. Lu <hongjiu.lu@intel.com>
12955
12956 [BZ #12495]
12957 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12958 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12959 (largebin_index_32_big): New.
12960 (largebin_index): Use it for 16-byte alignment.
12961 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12962 correction with front_misalign.
12963
cfba4fda
L
129642012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12965
7f907421
L
12966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12968 Likewise.
12969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12970 Likewise.
12971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12972 Likewise.
12973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12974 Likewise.
12975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12976 Likewise.
12977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12978 Likewise.
12979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12980 Likewise.
12981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12982 Likewise.
12983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12984 Likewise.
12985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12986 Likewise.
12987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12988 Likewise.
12989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12990 Likewise.
12991
cfba4fda
L
12992 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12993 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12994
80bad0cc
JM
129952012-05-24 Joseph Myers <joseph@codesourcery.com>
12996
7a25eb06
JM
12997 [BZ #10846]
12998 [BZ #14036]
12999 * math/libm-test.inc (exp_test): Add test from bug 14036.
13000 (pow_test): Add test from bug 10846.
13001
795405f9
JM
13002 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13003 and other flags.
13004 (special_function): Do not include flags in test name.
13005 (parse_args): Likewise.
13006 * sysdeps/i386/fpu/libm-test-ulps: Update.
13007 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13008 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13009 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13011
80bad0cc
JM
13012 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13013 exceptions.
13014 * math/libm-test.inc ("Philosophy"): Update comment about
13015 exception testing.
13016 (UNDERFLOW_EXCEPTION): New macro.
13017 (UNDERFLOW_EXCEPTION_OK): Likewise.
13018 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13019 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13020 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13021 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13022 (INVALID_EXCEPTION_OK): Update value.
13023 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13024 (OVERFLOW_EXCEPTION_OK): Likewise.
13025 (IGNORE_ZERO_INF_SIGN): Likewise.
13026 (test_exceptions): Handle underflow exceptions.
13027 (acos_test): Update for underflow exception expectations.
13028 (cexp_test): Likewise.
13029 (clog_test): Likewise.
13030 (clog10_test): Likewise.
13031 (csqrt_test): Likewise.
13032 (ctan_test): Likewise.
13033 (ctanh_test): Likewise.
13034 (exp_test): Likewise.
13035 (exp10_test): Likewise.
13036 (exp2_test): Likewise.
13037 (expm1_test): Likewise.
13038 (fma_test): Likewise.
13039 (j0_test): Likewise.
13040 (jn_test): Likewise.
13041 (nexttoward_test): Likewise.
13042 (pow_test): Likewise.
13043 (scalbn_test): Likewise.
13044 (scalbln_test): Likewise.
13045 (tan_test): Likewise.
13046 (y1_test): Likewise.
13047 * sysdeps/i386/fpu/libm-test-ulps: Update.
13048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13049
9e0e3d0b
DM
130502012-05-23 David S. Miller <davem@davemloft.net>
13051
13052 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13053 (__libc_sigaction): Remove unused local variables.
13054
ccd0a08f
L
130552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13056
13057 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13058
62bdf9a6
PE
130592012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13060
f8591f80
PE
13061 mktime: avoid signed integer overflow
13062 * time/mktime.c (__mktime_internal): Do not mishandle the case
13063 where diff == INT_MIN.
13064
94c7d826
PE
13065 mktime: simplify computation of average
13066 * time/mktime.c (ranged_convert): Use new time_t_avg function
13067 instead of rolling our own (probably-slower) code.
13068
ce73d683
PE
13069 mktime: do not assume signed right shift propagates sign bit
13070 * time/mktime.c (isdst_differ): New static function.
13071 (__mktime_internal): No need to normalize tm_isdst now.
13072 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13073 tm_isdst values.
13074
72a22e59
PE
13075 mktime: merge another wrapv change from gnulib
13076 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13077 from some compilers.
13078
68605433
PE
13079 mktime: remove incorrect attempt at unusual arithmetics
13080 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13081 The code didn't really work on such machines anyway.
13082 (TYPE_MINIMUM): Assume two's complement.
13083 (twos_complement_arithmetic): Verify that long_int and time_t
13084 are two's complement (or unsigned, in the latter case).
13085
03cf7fe3
PE
13086 mktime: check signed shifts on long_int and time_t, too
13087 * time/mktime.c (SHR): Check that shifts work as desired
13088 on the types long_int and time_t too, as SHR is used on
13089 such types.
13090
f04dfbc2
PE
13091 mktime: do not assume 'long' is wide enough
13092 * time/mktime.c (verify): Move decl up.
13093 (long_int): New type.
13094 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13095 to remove assumption in the code that 'long' is wide enough to
13096 store year values. This assumption is not true on x32 and on
13097 some non-glibc platforms.
13098
62bdf9a6
PE
13099 mktime: merge wrapv change from gnulib
13100 * time/mktime.c (WRAPV): New macro.
13101 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13102 (guess_time_tm, __mktime_internal): Do not assume that signed
13103 integer overflow wraps around; modern compilers generate code
13104 where this assumption is no longer valid.
13105
5e292e4f
L
131062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13107
13108 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13109 Replace "jmp L(pseudo_end)" with "ret".
13110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13111 Likewise.
13112
8caf8c87
AJ
131132012-05-23 Andreas Jaeger <aj@suse.de>
13114
13115 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13116 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13117
1a09dc56
AJ
131182012-05-23 Andreas Jaeger <aj@suse.de>
13119 Maximilian Attems <max@stro.at>
13120
13121 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13122 New macros.
13123
1c87aba0
L
131242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13125
13126 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13127 code so that pseudo_end is just ret and the stack pointer is
13128 correct also for static library in error case.
13129
40e45bd5
JM
131302012-05-23 Joseph Myers <joseph@codesourcery.com>
13131
c2670533
JM
13132 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13133 move to syscalls.list.
13134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13138
40e45bd5
JM
13139 * manual/install.texi (Running make install): Do not mention Linux
13140 kernel version for which pt_chown is not needed.
13141 (Linux): Do not mention problems with nscd with 2.0 kernels.
13142 * INSTALL: Regenerated.
13143
be08eda5
AJ
131442012-05-23 Andreas Jaeger <aj@suse.de>
13145
13146 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13147 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13148 macro.
13149 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13150 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13151 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13152 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13153 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13154 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13155 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13156 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13157 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13158 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13159 * sysdeps/unix/sysv/linux/bits/in.h
13160 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13161
a6a056bb
RM
131622012-05-22 Roland McGrath <roland@hack.frob.com>
13163
13164 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13165 (PREPARE_VERSION): Just use assert instead, it will be elided
13166 under [NDEBUG] anyway.
13167
c9009328
L
131682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13169
13170 * sysdeps/unix/sysv/linux/Makefile: Include
13171 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13172 (sysdep_routines): Remove sysctl.
c9009328
L
13173 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13174 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13175 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13176 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13177 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13178
73338355
AJ
131792012-05-22 Andreas Jaeger <aj@suse.de>
13180
13181 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13182 that pseudo_end is just ret and the stack pointer is correct also
13183 for static library in error case.
13184
d44638b0
PP
131852012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13186
13187 [BZ #14122]
13188 * nss/nsswitch.c (defconfig_entries): New variable.
13189 (__nss_database_lookup): Don't leak defconfig entries.
13190 (nss_parse_service_list): Don't leak on error paths.
13191 (free_database_entries): New function.
13192 (free_defconfig): New function.
13193 (free_mem): Move common code to free_database_entries.
13194
31a39bd8
L
131952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13196
da0331a8
L
13197 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13198 Add arch_prctl.
13199 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13200
31a39bd8
L
13201 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13202 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13204 New macro.
13205 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13206 (INTERNAL_SYSCALL_TYPES): Likewise.
13207 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13208 (LOAD_REGS_TYPES_[1-6]): Likewise.
13209 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13210 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13211
45470df3
AZ
132122012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13213
13214 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13215 copysignl for GLIBC_2_0.
13216 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13217 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13218 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13219 logbl for GLIBC_2_0.
13220 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13221 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13222
98a61bcb
L
132232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13224
a4f6e481
L
13225 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13226 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13227
f63d5db6
L
13228 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13229 Use "neg %eax".
13230
98a61bcb
L
13231 * time/mktime.c: Update copyright years.
13232
95770f14
PE
132332012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13234
6226efbd
PE
13235 mktime: merge comment-quoting-style change from gnulib
13236 * time/mktime.c: Quote 'like this' in comments.
13237 The GNU coding standards suggest that we no longer quote `like this',
13238 as "`" and "'" are typically rendered asymmetrically nowadays.
13239 The typical gnulib style is to quote 'like this' when quoting
13240 code, and "like this" when quoting English.
13241
b99e4f78
PE
13242 * time/mktime.c (compile-command): Add "-I.".
13243
643e01e6
PE
13244 mktime: merge mktime-internal.h change from gnulib
13245 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13246
2554247d
PE
13247 mktime: merge time_r change from gnulib
13248 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13249
826dd0ab
PE
13250 mktime: merge DEBUG change from gnulib
13251 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13252 case system <time.h> has a #define.
13253
bd83aabe
PE
13254 mktime: merge <sys/types.h> change from gnulib
13255 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13256 since <time.t> is now guaranteed to define time_t.
13257
95770f14
PE
13258 mktime: merge HAVE_CONFIG_H change from gnulib
13259 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13260
5e1a27a9
L
132612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13262
0e44a77e
L
13263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13264 Use "neg %eax".
13265
5e1a27a9
L
13266 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13267 __rlim_t cast.
13268 (struct rusage): Use anonymous union to pad each field to
13269 __syscall_slong_t.
13270
46259bec
DM
132712012-05-21 David S. Miller <davem@davemloft.net>
13272
13273 * Makefules (o-iterator): Remove .s cases.
13274 (compile-command.s): Delete.
13275 (COMPILE.s): Delete.
13276 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13277
59f0c22e
JM
132782012-05-21 Joseph Myers <joseph@codesourcery.com>
13279
13280 * configure.in (libc_cv_predef_stack_protector): Only consider
13281 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13282 * configure: Regenerated.
13283
20c07380
L
132842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13285
bbb3154b
L
13286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13287 New macro. Use R*LP on int and pointer.
13288 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13289 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13290 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13291 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13292
20c07380
L
13293 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13294 [__WORDSIZE_TIME64_COMPAT32] instead of
13295 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13296 (struct utmp): Likewise.
13297 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13298 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13299 Renamed to ...
13300 (__WORDSIZE_TIME64_COMPAT32): This.
13301 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13302 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13303 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13304 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13305 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13306 (__WORDSIZE_TIME64_COMPAT32): New macro.
13307
d8d1017e
AJ
133082012-05-21 Andreas Jaeger <aj@suse.de>
13309
13310 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13311 only if [SHARED]. Add prototype for __wcschr_ia32.
13312
6c7fb145
RM
133132012-05-21 Roland McGrath <roland@hack.frob.com>
13314
13315 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13316 of %rbp unmolested in the jmp_buf while mangling the low bits.
13317 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13318 unmolested high bits of %rbp while demangling the low bits.
13319 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13320
66274218
AJ
133212012-05-21 Andreas Jaeger <aj@suse.de>
13322
07c58f8f
AJ
13323 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13324 * sunrpc/svc_simple.c: Use it for registerrpc.
13325 * sunrpc/xcrypt.c: Use it for passwd2des.
13326
66274218
AJ
13327 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13328
61f65140
L
133292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13330
13331 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13332 Don't define if [__SYSCALL_WORDSIZE != 32].
13333 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13334 New macro.
13335
5fefb436
AJ
133362012-05-21 Bruno Haible <bruno@clisp.org>
13337 Andreas Jaeger <aj@suse.de>
13338
13339 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13340 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13341 inptr and inend for must_buffer_ch.
13342 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13343 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13344 * stdio-common/Makefile (tests): Remove bug15.
13345 (bug15-ENV): Remove macro.
13346 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13347 anymore.
13348
d8e272ab
AJ
133492012-05-19 Andreas Jaeger <aj@suse.de>
13350 Roland McGrath <roland@hack.frob.com>
13351
13352 * manual/contrib.texi: Completely rewritten. It contains now an
13353 alphabetical list of contributors and their contributions.
13354
4a56a162
RH
133552012-05-21 Richard Henderson <rth@twiddle.net>
13356
13357 * misc/getauxval.c (__getauxval): Use unsigned long int.
13358 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13359 (getauxval): Use unsigned long int.
13360
d024d23c
L
133612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13362
13363 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13364
cbc00a03
RM
133652012-05-21 Roland McGrath <roland@hack.frob.com>
13366
13367 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13368 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13369 __alignof__ (long double).
13370
478143fa
AZ
133712012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13372
13373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13374
c7683a6d
RH
133752012-05-20 Richard Henderson <rth@twiddle.net>
13376
13377 * misc/getauxval.c: New file.
13378 * misc/sys/auxv.h: New file.
13379 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13380 (routines): Add getauxval.
13381 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13382 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13383 * elf/dl-sysdep.c (_dl_auxv): Remove.
13384 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13385 * elf/dl-support.c (_dl_auxv): New variable.
13386 (_dl_aux_init): Initialize it.
13387 * manual/startup.texi (Auxiliary Vector): New node.
13388 * sysdeps/generic/bits/hwcap.h: New file.
13389 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13390 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13391 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13392 * sysdeps/sparc/sysdep.h: ... here. Include it.
13393 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13394 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13396 Update.
c7683a6d
RH
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13400 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13405
a6f1845d
AZ
134062012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13407
13408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13409
cbcbe830
DM
134102012-05-19 David S. Miller <davem@davemloft.net>
13411
13412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13413
e0b16cc2
JM
134142012-05-19 Joseph Myers <joseph@codesourcery.com>
13415
13416 [BZ #14123]
13417 * math/s_ccosh.c: Include <float.h>
13418 (__ccosh): Avoid internal overflow calculating sinh and cosh
13419 values before multiplying by sin and cos values.
13420 * math/s_ccoshf.c: Likewise.
13421 * math/s_ccoshl.c: Likewise.
13422 * math/s_csin.c: Likewise.
13423 * math/s_csinf.c: Likewise.
13424 * math/s_csinl.c: Likewise.
13425 * math/s_csinh.c: Likewise.
13426 * math/s_csinhf.c: Likewise.
13427 * math/s_csinhl.c: Likewise.
13428 * math/libm-test.inc (ccos_test): Add more tests.
13429 (ccosh_test): Likewise.
13430 (csin_test): Likewise.
13431 (csinh_test): Likewise.
13432 * sysdeps/i386/fpu/libm-test-ulps: Update.
13433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13434
6ad13e08
L
134352012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13436
f66f0ce8
L
13437 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13438 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13439
6ad13e08
L
13440 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13441
b1d072a7
JM
134422012-05-19 Joseph Myers <joseph@codesourcery.com>
13443
13444 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13445 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13446 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13447 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13448 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13449 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13450 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13451 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13452 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13453 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13454 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13455 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13456 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13457 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13458 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13459 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13460 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13461 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13462 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13463 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13464 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13465 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13466 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13467 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13468 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13469 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13470 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13471 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13472 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13473 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13474 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13475
9eae47cb
AJ
134762012-05-18 Andreas Jaeger <aj@suse.de>
13477
13478 * csu/.gitignore: Delete.
13479
bb07f69f
L
134802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13481
13482 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13483 (timex): Use __syscall_slong_t.
13484
e6bdb741
AJ
134852012-05-18 Andreas Jaeger <aj@suse.de>
13486 Carlos O'Donell <carlos_odonell@mentor.com>
13487
13488 * manual/install.texi (Configuring and compiling): Update
13489 description about files modified in the source directory.
d6c33fda 13490 * INSTALL: Regenerated.
e6bdb741 13491
1b74487e
L
134922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13493
13494 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13495 value. Use "or" to set return value to -1.
13496 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13497 negate return value.
13498
a88b64b9
TMQMF
134992012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13500
13501 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13502 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13503 failure if the compiler has Graphite support disabled.
13504 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13505 Likewise.
13506 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13507 CFLAGS-memmove.c): Likewise.
13508 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13509 Likewise.
13510
3707636e
L
135112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13512
610b8622
L
13513 * sysdeps/x86_64/x32/_itoa.h: New file.
13514
7cd195df
L
13515 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13516 getdents system call only if kernel and user dirents have the
13517 same d_ino and d_off.
13518
94b07d20
L
13519 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13520 LLONG_MAX != LONG_MAX.
13521 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13522 (_fitoa_word): Likewise.
13523
18298070
L
13524 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13525 years.
13526 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13527 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13528 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13529
553c7ea4
L
13530 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13531 include <bits/wordsize.h>. Check __x86_64__ instead of
13532 __WORDSIZE.
13533 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13534 if __x86_64__ is defined. Use anonymous union on fpstate.
13535
3707636e
L
13536 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13537 anonymous union.
13538
b53ef01a
AS
135392012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13540
37fb1dc0
AS
13541 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13542 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13543 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13544 Refer to _rtld_local_ro instead of _rtld_global_ro.
13545 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13546 Likewise.
13547 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13548 Likewise.
13549 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13550 Likewise.
13551 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13552 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13553 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13554
b53ef01a
AS
13555 * sysdeps/powerpc/powerpc32/dl-machine.c
13556 (__elf_machine_runtime_setup) [PROF]: Don't reference
13557 _dl_prof_resolve.
13558
7a185db2
AJ
135592012-05-18 Andreas Jaeger <aj@suse.de>
13560
13561 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13562 function only available for GCCs before 3.4 since GCC 3.4
13563 introduced a builtin.
13564 (lrint): Likewise.
13565 (llrintf): Likewise.
13566 (llrint): Likewise.
13567 (fmaxf): Likewise.
13568 (fmax): Likewise.
13569 (fminf): Likewise.
13570 (fmin): Likewise.
13571 (rint): Likewise.
13572 (rintf): Likewise.
13573 (nearbyint): Likewise.
13574 (nearbyintf): Likewise.
13575 (ceil): Likewise.
13576 (ceilf): Likewise.
13577 (floor): Likewise.
13578 (floorf): Likewise.
13579
3e5aef87
L
135802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13581
428bd707
L
13582 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13583 on both fields and cast pointer to __syscall_ulong_t.
13584
3e5aef87
L
13585 * bits/types.h (__fsword_t): New type.
13586 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13587 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13588 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13589 (__FSWORD_T_TYPE): Likewise.
13590 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13591 (__FSWORD_T_TYPE): Likewise.
13592 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13593 (__FSWORD_T_TYPE): Likewise.
13594 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13595 (__FSWORD_T_TYPE): Likewise.
13596 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13597 __SWORD_TYPE with __fsword_t.
13598 (statfs64): Likewise.
13599
1ba7c3dc
DM
136002012-05-17 David S. Miller <davem@davemloft.net>
13601
13602 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13603
59910343
AJ
136042012-05-17 Andreas Jaeger <aj@suse.de>
13605
13606 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13607 warning.
13608
2e4c1e9e
L
136092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13610
13611 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13612
de7f5ce7
AJ
136132012-05-17 Andreas Jaeger <aj@suse.de>
13614
13615 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13616 when it is used.
13617
286abc3d
CM
136182012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13619
13620 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13621
477cc68e
L
136222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13623
13624 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13625 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13626
1a0994f5
CD
136272012-05-17 Andreas Jaeger <aj@suse.de>
13628 Carlos O'Donell <carlos_odonell@mentor.com>
13629
13630 [BZ #14059]
13631 * sysdeps/x86_64/multiarch/init-arch.h
13632 (bit_YMM_Usable): Rename to...
13633 (bit_AVX_Usable): ... this.
13634 (bit_FMA4_Usable): New macro.
13635 (bit_XMM_state): New macro.
13636 (bit_YMM_state): New macro.
13637 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13638 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13639 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13640 (CPUID_OSXSAVE): New macro.
13641 (CPUID_AVX): New macro.
13642 (CPUID_FMA4): New macro.
13643 (index_YMM_Usable): Rename to...
13644 (index_AVX_Usable): ... this.
13645 (HAS_AVX): Use HAS_ARCH_FEATURE.
13646 (HAS_FMA4): Likewise.
13647 (HAS_YMM_USABLE): Remove.
13648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13649 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13650 are present.
13651 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13652 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13653 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13654 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13655 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13656
0af797de
CM
136572012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13658
13659 * math/libm-test.c: Support platforms without multiple rounding modes.
13660 * math/bug-nextafter.c: Support platforms without FP exceptions.
13661 * math/bug-nexttoward.c: Likewise.
13662 * math/test-fenv.c: Likewise.
13663 * math/test-misc.c: Likewise.
13664 * stdlib/bug-getcontext.c: Likewise.
13665
e39745ff
AJ
136662012-05-17 Andreas Jaeger <aj@suse.de>
13667
13668 * manual/examples/search.c (critter_cmp): Change signature to
13669 avoid warnings.
13670 * manual/string.texi (Collation Functions): Likewise.
13671
48970aba
L
136722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13673
13674 * bits/types.h: Fold copyright years.
13675 * bits/typesizes.h: Likewise.
13676 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13679 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13680 * time/time.h: Likewise.
13681
bedee953
PP
136822012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13683
13684 [BZ #208]
13685 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13686 in instead of returning them. Return void.
13687 (__libc_mallinfo): Accumulate over all arenas.
13688 (__malloc_stats): Adjust for change in int_mallinfo interface.
13689
61653dfb
RM
136902012-05-16 Roland McGrath <roland@hack.frob.com>
13691
30b99d79
RM
13692 [BZ #10375]
13693 * configure.in (NM): Add AC_CHECK_TOOL for it.
13694 (libc_extra_cflags): New substituted variable.
13695 Check for -fstack-protector being used implicitly.
13696 * configure: Regenerated.
13697 * config.make.in (config-extra-cflags): New variable,
13698 gets @libc_extra_cflags@.
13699 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13700
61653dfb
RM
13701 [BZ #10375]
13702 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13703 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13704 * configure: Regenerated.
13705 * config.make.in (CPPUNDEFS): New substituted variable.
13706 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13707 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13708 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13709
661768bb
L
137102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13711
13712 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13713 (mq_attr): Use __syscall_slong_t.
13714
d4261567
L
137152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13716
13717 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13718 Check __x86_64__ instead of __WORDSIZE.
13719 (_STAT_VER_LINUX): Likewise.
13720 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13721 __syscall_ulong_t and __syscall_slong_t.
13722 (stat64): Likewise.
13723
cf3ff365
L
137242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13725
13726 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13727
76cf3e4d
L
137282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13729
13730 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13731
a637753a
L
137322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13733
13734 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13735 __syscall_ulong_t.
13736
d5e05119
L
13737 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13738 include <bits/wordsize.h>. Check __x86_64__ instead of
13739 __WORDSIZE.
13740 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13741 defined.
13742 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13743
f62ee380
L
13744 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13745 include <bits/wordsize.h>. Check __x86_64__ instead of
13746 __WORDSIZE.
13747 (user_regs_struct): Use "__extension__ unsigned long long"
13748 instead of "unsigned long" if __x86_64__ is defined.
13749 (user): Likewise. Pad after pointer field if __ILP32__ is
13750 defined.
13751
4e124ced
JM
137522012-05-16 Joseph Myers <joseph@codesourcery.com>
13753
6a3951a0
JM
13754 * configure.in (makeinfo): Require version 4.5 or later. Allow
13755 versions 5 to 9.
13756 * configure: Regenerated.
13757 * manual/install.texi (texinfo): Increase version requirement to
13758 4.5 or later.
13759 * INSTALL: Regenerated.
13760
4e124ced
JM
13761 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13762
953ca31a
L
137632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13764
13765 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13766
617aca05
L
13767 * sysdeps/x86_64/x32/ffs.c: New file.
13768
5762f7ae
L
13769 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13770 __syscall_ulong_t.
13771 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13772 defined. Use __syscall_ulong_t.
13773 (shminfo): Use __syscall_ulong_t.
13774 (shm_info): Likewise.
13775
a26b6856
L
13776 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13777 __syscall_ulong_t.
13778
cb2b9ef7
L
13779 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13780 <bits/wordsize.h>.
13781 (msgqnum_t): Use __syscall_ulong_t.
13782 (msglen_t): Likewise.
13783 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13784 __syscall_ulong_t.
13785
34683bb0
L
13786 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13787 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13788
84a68786
L
13789 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13790
48baa5f1
L
13791 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13792 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13793
180be88b
L
13794 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13795 __syscall_slong_t.
13796
5e90c8ad
L
13797 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13798 include <bits/wordsize.h>. Check __x86_64__ instead of
13799 __WORDSIZE.
13800
23dfb58b
L
13801 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13802 "unsigned long long int" if __x86_64__ is defined.
13803 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13804
ce5d54b0
L
13805 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13806 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13807 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13808
13dc9eac
L
13809 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13810 <stdint.h>.
13811 (GET_PC): Cast to uintptr_t first.
13812 (GET_FRAME): Likewise.
13813 (GET_STACK): Likewise.
13814
a7895d15
L
13815 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13816 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13817 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13818 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13819 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13820 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13821 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13822 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13823 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13824 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13825 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13826 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13827 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13828 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13829 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13830 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13831 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13832 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13833 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13834 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13835 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13836 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13837 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13838 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13839 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13840 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13841 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13842 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13843 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13844
656416c9
AS
138452012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13846
5bd66283
AS
13847 * Makerules (+depfiles): Also collect depfiles from .oS in
13848 $(extra-objs).
13849 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13850 .oS, $(libnldbl-routines)).
13851
656416c9
AS
13852 * Makerules (native-compile-mkdep-flags): Define.
13853 * sunrpc/Makefile (extra-objs): Add $(addprefix
13854 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13855 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13856 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13857 calling $(make-target-directory).
13858
a46f2169
L
138592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13860
13861 * bits/types.h (__snseconds_t): Removed.
13862 * time/time.h (struct timespec): Replace __snseconds_t with
13863 __syscall_slong_t.
13864 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13865 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13866 Likewise.
13867 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13868 (__SNSECONDS_T_TYPE): Likewise.
13869 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13870 (__SNSECONDS_T_TYPE): Likewise.
13871 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13872 (__SNSECONDS_T_TYPE): Likewise.
13873
6af6528b
L
138742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13875
13876 * sysdeps/mach/hurd/bits/typesizes.h
13877 (__SYSCALL_SLONG_TYPE): New macro.
13878 (__SYSCALL_ULONG_TYPE): Likewise.
13879
de986b56
L
138802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13881
13882 * bits/types.h (__syscall_slong_t): New type.
13883 (__syscall_ulong_t): Likewise.
13884
13885 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13886 (__SYSCALL_ULONG_TYPE): Likewise.
13887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13888 (__SYSCALL_SLONG_TYPE): Likewise.
13889 (__SYSCALL_ULONG_TYPE): Likewise.
13890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13891 (__SYSCALL_SLONG_TYPE): Likewise.
13892 (__SYSCALL_ULONG_TYPE): Likewise.
13893 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13894 (__SYSCALL_SLONG_TYPE): Likewise.
13895 (__SYSCALL_ULONG_TYPE): Likewise.
13896
85736dc7
L
138972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13898
13899 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13900 Add sigaltstack-offsets.sym.
13901 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13902 <sigaltstack-offsets.h>.
13903 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13904 longjmp_msg pointer.
13905 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13906 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13907 signal stack.
13908 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13909
cc03b296
JM
139102012-05-15 Joseph Myers <joseph@codesourcery.com>
13911
a9538892
JM
13912 * elf/stackguard-macros.h: Remove file.
13913 * sysdeps/generic/stackguard-macros.h: New file.
13914 * sysdeps/i386/stackguard-macros.h: Likewise.
13915 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13916 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13917 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13918 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13919 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13920 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13921 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13922 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13923 <elf/stackguard-macros.h>.
13924
cc03b296
JM
13925 [BZ #14109]
13926 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13927 __aligned__ in attribute.
13928 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13929 (gregset_t): Likewise.
13930
93171016
L
139312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13932
13933 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13934 * sysdeps/x86_64/64/Implies-after: Here. New file.
13935 * sysdeps/x86_64/x32/Implies-after: New file.
13936
d86813a0
L
139372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13938
13939 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13940 and access return value for _dl_profile_fixup. Use R10_LP to
13941 load frame size.
13942
2953ec75
L
139432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13944
13945 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13946
3b550e9e
L
139472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13948
13949 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13950 * sysdeps/x86_64/x32/sysdep.h: New file.
13951
eda41706
L
139522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13953
13954 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13955 * sysdeps/x86_64/setjmp.S: Likewise.
13956
9ea01d93
AZ
139572012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13958
13959 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13960 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13961 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13962 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13963 remove unused global constant.
13964
02a91938
CM
139652012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13966
13967 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13968 include of <not-cancel.h>.
13969
6540185f
RM
139702012-05-15 Roland McGrath <roland@hack.frob.com>
13971
13972 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13973
509072a0
AJ
139742012-05-15 Jeff Law <law@redhat.com>
13975 Andreas Jaeger <aj@suse.de>
13976
13977 [BZ #13594]
13978 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13979 out from...
13980 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13981 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13982 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13983 code changing __hst_map_handle.map.
13984
ba75122d
RM
139852012-05-15 Roland McGrath <roland@hack.frob.com>
13986
13987 * configure.in (sysnames): Look for Implies-before and Implies-after
13988 files.
13989 * configure: Regenerated.
13990
890d8bd8
L
139912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13992
13993 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13994 8-byte data alignment with LP_SIZE alignment.
13995
f6ee6623
L
139962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13997
13998 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13999 into R10_LP.
14000
ea2626f6
L
140012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14002
14003 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14004
085f715e
L
140052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14006
14007 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14008 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14009 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14010 Likewise.
14011 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14012
be8498fc
L
140132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14014
14015 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14016 (stackinfo_sub_sp): Likewise.
14017
70bc83b9
L
140182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14019
14020 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14021 RAX_LP.
14022
9bc0b730
L
140232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14024
14025 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14026 into R*_LP.
14027
6d2850e7
L
140282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14029
14030 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14031 sizes into R*_LP.
14032
3cb84561
L
140332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14034
14035 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14036
54e2ed81
L
140372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14038
14039 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14040 into R11_LP and load __x86_64_shared_cache_size_half into
14041 R8_LP.
14042
8a17f349
L
140432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14044
14045 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14046 R8_LP.
14047
777b1eea
AZ
140482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14049
14050 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14051 logb for POWER7.
14052 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14053 logbf for POWER7.
14054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14055 logbl for POWER7.
14056 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14057 powerpc32/power7/fpu/s_logb.c via #include.
14058 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14059 powerpc32/power7/fpu/s_logbf.c via #include.
14060 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14061 powerpc32/power7/fpu/s_logbl.c via #include.
14062
d20d4ac2
JM
140632012-05-15 Joseph Myers <joseph@codesourcery.com>
14064
14065 * README.libm: Remove file.
14066
6cdef1ab
L
140672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14068
14069 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14070 count for x32. Use R*_LP and omit operand-size suffix.
14071
0b254d8f
L
140722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14073
14074 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14075 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14076 * sysdeps/x86_64/x32/shlib-versions: New file.
14077
ceb809dc
RM
140782012-05-14 Roland McGrath <roland@hack.frob.com>
14079
14080 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14081 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14082 Use _dl_fatal_printf instead.
14083
37f1abd4
JM
140842012-05-14 Joseph Myers <joseph@codesourcery.com>
14085
14086 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14087 set if not set by the user. Do not allow for being unset.
14088 * sysdeps/unix/sysv/linux/configure: Regenerated.
14089
11de3a33
L
140902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14091
14092 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14093 the `q' suffix from lea and replace .quad with ASM_ADDR.
14094
e02f153a
L
140952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14096
14097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14098 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14099 instead of $17.
14100 (PTR_DEMANGLE): Likewise.
14101
520ae0fd
L
141022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14103
14104 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14105 (LP_OP): Likewise.
14106 (ASM_ADDR): Likewise.
14107 (RAX_LP): Likewise.
14108 (RBP_LP): Likewise.
14109 (RBX_LP): Likewise.
14110 (RCX_LP): Likewise.
14111 (RDI_LP): Likewise.
14112 (RSI_LP): Likewise.
14113 (RSP_LP): Likewise.
14114 (R8_LP): Likewise.
14115 (R9_LP): Likewise.
14116 (R10_LP): Likewise.
14117 (R10_LP): Likewise.
14118 (R11_LP): Likewise.
14119 (R12_LP): Likewise.
14120 (R13_LP): Likewise.
14121 (R14_LP): Likewise.
14122 (R15_LP): Likewise.
14123
b985be81
L
141242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14125
14126 * sysdeps/x86_64/x32/dl-machine.h: New file.
14127
6a4888ff
AJ
141282012-05-14 Andreas Jaeger <aj@suse.de>
14129
14130 * manual/Makefile (subdir): Remove export of subdir.
14131 (all): Remove target.
14132 (.PHONY): Remove all from list.
14133 (mkinstalldirs): Remove.
14134 (.PHONY): Remove installdirs from list.
14135 ($(inst_infodir)/libc.info): Use make-target-directory.
14136 (installdirs): Remove.
14137 (subdir_%): Remove.
14138 (glibc-targets): Remove.
14139 (lib): Remove.
14140 (stubs): Remove.
14141 ($(objpfx)stubs ../po/manual.pot): Remove.
14142 ($(objpfx)stamp%): Remove.
14143 (make-target-directory): Remove.
14144 (subdir_install): Remove.
14145 (routines): Remove.
14146 (aux): Remove.
14147 (sources): Remove.
14148 (objects): Remove.
14149 (headers): Remove.
14150
14151 [BZ #13750]
14152 * manual/.gitignore: Remove, it's not needed anymore.
14153 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14154 all files in it.
14155 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14156 directory.
14157 (texis): Renamed to $(objpfx)texis.
14158 (texis-path): New, contains path to generated files.
14159 (chapters.%): Use texis-path for complete path, add extra argument
14160 libc-texinfo.sh.
14161 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14162 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14163 (summary,texi, stamp-summary): Use complete path of
14164 files. Generate files in build dir.
14165 (dir-add.texi): Build in build dir.
14166 (libm-err.texi,stamp-libm-err): Likewise.
14167 (version.texi, stamp-version): Likewise.
14168 (.%c.texi): Likewise.
14169 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14170 (mostlyclean): Remove target.
14171 (realclean): Remove target.
14172 (generated): Add new variable with contents from mostlyclean and
14173 realclean, remove entries duplicated in common-mostlyclean, add
14174 stamp-libm-err and stamp-version.
14175 (generated-dirs): Add libc directory.
14176 ($(inst_infodir)/libc.info): Install files from build dir.
14177
14178 * manual/install.texi (Configuring and compiling): Adjust since
14179 the info files are not part of the tar ball anymore.
14180
7ac77294
AJ
141812012-05-14 Andreas Jaeger <aj@suse.de>
14182
14183 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14184 variable.
14185
ffb7875d
JM
141862012-05-14 Joseph Myers <joseph@codesourcery.com>
14187
14188 [BZ #13717]
14189 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14190 to 2.2.0 where earlier.
14191 * sysdeps/unix/sysv/linux/configure: Regenerated.
14192 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14193 Remove conditional code.
14194 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14195 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14196 Remove conditional code.
14197 [!__NR_lchown]: Likewise.
14198 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14199 [__NR_lchown]: Likewise.
14200 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14201 comment referencing __ASSUME_LCHOWN_SYSCALL.
14202 * sysdeps/unix/sysv/linux/i386/sigaction.c
14203 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14204 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14205 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14206 Remove conditional code.
14207 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14208 (__protocol_available): Remove #if 0 code.
14209 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14210 conditional code.
14211 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14212 * sysdeps/unix/sysv/linux/kernel-features.h
14213 (__ASSUME_GETCWD_SYSCALL): Don't define.
14214 (__ASSUME_REALTIME_SIGNALS): Likewise.
14215 (__ASSUME_PREAD_SYSCALL): Likewise.
14216 (__ASSUME_PWRITE_SYSCALL): Likewise.
14217 (__ASSUME_POLL_SYSCALL): Likewise.
14218 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14219 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14220 non-SPARC.
14221 (__ASSUME_SIOCGIFNAME): Don't define.
14222 (__ASSUME_MSG_NOSIGNAL): Likewise.
14223 (__ASSUME_SENDFILE): Define unconditionally.
14224 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14225 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14226 conditional code.
14227 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14228 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14229 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14230 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14231 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14232 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14233 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14235 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14236 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14238 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14241 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14242 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14244 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14247 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14250 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14253 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14256 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14258 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14259 Remove conditional code.
14260 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14261 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14262 Remove conditional code.
14263 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14264 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14265 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14266 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14267 Remove conditional code.
14268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14269 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14270 Remove conditional code.
14271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14272 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14273 Remove conditional code.
14274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14275 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14276 Remove conditional code.
14277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14278 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14279 Remove conditional code.
14280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14281 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14282 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14284 * sysdeps/unix/sysv/linux/sigaction.c
14285 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14286 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14287 * sysdeps/unix/sysv/linux/sigpending.c
14288 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14289 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14290 * sysdeps/unix/sysv/linux/sigprocmask.c
14291 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14292 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14293 * sysdeps/unix/sysv/linux/sigsuspend.c
14294 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14295 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14296 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14297 (__libc_missing_rt_sigs): Remove.
14298 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14299 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14300 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14301 Remove conditional code.
14302 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14303 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14304 return 1.
14305 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14306 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14307 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14308 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14309
1bfb7291
AJ
143102012-05-14 Andreas Jaeger <aj@suse.de>
14311
caae5a81
AJ
14312 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14313 it's not used in glibc.
14314 (__coshm1): Likewise.
14315 (__acosh1p): Likewise.
14316 (__sgn): Likewise.
14317
1bfb7291
AJ
14318 * manual/string.texi (Copying and Concatenation): Add missing
14319 variable in concat example.
14320 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14321
c044d724
L
143222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14323
144c5467 14324 [BZ #14103]
c044d724
L
14325 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14326 __builtin_clzl with __builtin_clzll.
14327
2523c62b
L
143282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14329
14330 [BZ #14104]
14331 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14332 libc_freeres_ptr.
14333
d7bb4c42
LD
143342012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14335
14336 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14337 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14338 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14339 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14340
9dc4e1fb
MF
143412012-05-14 Mike Frysinger <vapier@gentoo.org>
14342
14343 * NEWS: Update ia64 info.
14344
c7df0112
AS
143452012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14346
14347 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14348 used as bcopy.
14349
dc70356c
TS
143502012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14351
14352 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14353 * sysdeps/unix/syscalls.list (dup3): Likewise.
14354 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14355 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14356
9fb1a21f
L
143572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14358
14359 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14360 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14361
4822a2a5
L
143622012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14363
14364 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14365 thread pointer.
14366 (TLS_IE): Use mov/add instead of movq/addq to load thread
14367 pointer.
14368 (TLS_GD_PREFIX): New.
14369 (TLS_GD): Use it.
14370
842b81d6
DM
143712012-05-11 David S. Miller <davem@davemloft.net>
14372
14373 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14374 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14375 (_FPU_SETCW): Likewise.
14376
1cf463cd
L
143772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14378
14379 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14380 is 32-byte aligned.
14381
60cc4a18
AS
143822012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14383
14384 [BZ #11837]
14385 * iconvdata/gb18030.c: Update tables.
14386 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14387 characters specially.
14388 (BODY for TO_LOOP): Add encoding of missing ranges.
14389
febb44a4
TS
143902012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14391
14392 [BZ #13673]
14393 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14394 * sysdeps/mach/hurd/dup3.c: Likewise.
14395 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14396 * sysdeps/powerpc/memmove.c:: Likewise.
14397
0a10fb9e
L
143982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14399
14400 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14401 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14402
df8a552f
L
144032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14404
14405 * elf/elf.h (R_X86_64_RELATIVE64): New.
14406 (R_X86_64_NUM): Updated.
14407 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14408 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14409 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14410 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14411 tst-quad1pie tst-quad2pie
14412 (modules-names): Add tst-quadmod1 tst-quadmod2.
14413 ($(objpfx)tst-quad1): New dependency.
14414 ($(objpfx)tst-quad2): Likewise.
14415 ($(objpfx)tst-quad1pie): Likewise.
14416 ($(objpfx)tst-quad2pie): Likewise.
14417 * sysdeps/x86_64/tst-quad1.c: New file.
14418 * sysdeps/x86_64/tst-quad1pie.c: New file.
14419 * sysdeps/x86_64/tst-quad2.c: Likewise.
14420 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14421 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14422 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14423 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14424 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14425
f34d6f84
ST
144262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14427
f42d41d1
ST
14428 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14429 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14430 * streams/stropts.h (t_scalar_t): Define type.
14431
3c3571fc
ST
14432 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14433 (_PATH_PRESERVE): Set to "/var/lib".
14434 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14435
61f06bd3
ST
14436 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14437 instead of int.
14438
918d4d71
ST
14439 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14440 if __dir_mkfile succeeded.
14441
f34d6f84
ST
14442 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14443 checking for _hurd_dtablesize. Unlock it right after having
14444 finished _hurd_dtable allocation.
14445
10589b4a
TS
144462012-05-10 Thomas Schwinge <thomas@schwinge.name>
14447
674cdbc7
TS
14448 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14449 * sysdeps/mach/hurd/configure: Regenerated.
14450 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14451 special-casing to...
14452 * sysdeps/gnu/configure.in: ... this new file.
14453 * sysdeps/unix/sysv/linux/configure: Regenerated.
14454 * sysdeps/gnu/configure: New generated file.
14455
8e41b99f
TS
14456 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14457 for Linux: use nsec instead of usec, as well as:
14458 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14459 members of type struct timespec.
14460 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14461 New macros.
14462 (struct stat64): Likewise.
14463 (_STATBUF_ST_NSEC): New macro.
14464 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14465
10589b4a
TS
14466 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14467 __strtoul_internal rather than strtoul.
14468
63643c85
PT
144692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14470
14471 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14472 and reject them.
14473
3faebe6a
ST
144742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14475
14476 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14477 which preserves existing values.
14478 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14479
c6474b07
PT
144802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14481
14482 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14483 TIMEOUT values. Return EINVAL for NFDS values either negative or
14484 greater than FD_SETSIZE.
14485
1043890b
ST
144862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14487
14488 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14489 allocated, call __vm_protect to finish enabling the existing space, and
14490 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14491 allocate the remainder.
14492
37ed8b9b
PT
144932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14494
14495 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14496 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14497
db653660
ST
144982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14499
37ed8b9b
PT
14500 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14501 sysdeps/mach/hurd/readlink.c.
b29d4053 14502
db653660
ST
14503 * posix/tst-sysconf.c (posix_options): Only use
14504 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14505 _POSIX_SYNCHRONIZED_IO when they are defined
14506 * sysdeps/mach/hurd/bits/posix_opt.h:
14507 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14508 (_XOPEN_REALTIME): Undefine macro.
14509 (_XOPEN_REALTIME_THREADS): Undefine macro.
14510 (_XOPEN_SHM): Undefine macro.
14511 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14512 macro to -1.
14513 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14514 macro to -1.
14515 (_POSIX_ASYNC_IO): Undefine macro.
14516 (_POSIX_PRIORITIZED_IO): Undefine macro.
14517 (_POSIX_SPIN_LOCKS): Define macro to -1.
14518
ee16e894
ST
14519 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14520 SA_NODEFER, SA_RESETHAND.
14521 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14522 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14523 F_DUPFD_CLOEXEC.
14524
6103ae3b
TS
145252012-05-10 Thomas Schwinge <thomas@schwinge.name>
14526
14527 * elf/Makefile (pldd-modules): Define unconditionally.
14528
80b4e5f3
TS
145292012-05-10 Thomas Schwinge <thomas@schwinge.name>
14530
14531 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14532
edadcbd6
ST
145332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14534
14535 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14536 Return ENOENT when name is empty.
14537 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14538
80694780
TS
145392012-05-10 Thomas Schwinge <thomas@schwinge.name>
14540
1792c087
TS
14541 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14542
80694780
TS
14543 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14544
6b645f0d
ST
145452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14546
80694780
TS
14547 Fix mlock in all cases except non-readable pages.
14548 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14549 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14550
6b645f0d
ST
14551 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14552 (__mkdir): When path is `/', just fail with EEXIST.
14553 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14554
e468f8a3
TS
145552012-05-10 Thomas Schwinge <thomas@schwinge.name>
14556
14557 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14558 <sys/uio.h> (for writev).
14559 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14560 and <sys/param.h> (for MIN).
14561
a4186cff
PT
145622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14563
14564 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14565 REQUESTED_TIME. Properly set the remaining time and return EINTR
14566 if interrupted.
14567
510bbf14
TS
145682012-05-10 Thomas Schwinge <thomas@schwinge.name>
14569
14570 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14571 Depend on against $(link-rpcuserlibs).
14572
5d5722e8
ST
145732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14574
a4186cff
PT
14575 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14576 (__libc_stack_end): Do not use attribute_relro.
14577 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14578 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14579 to libthread-provided value.
a4186cff
PT
14580 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14581 attribute_relro.
5d5722e8 14582
37233df9
TS
145832012-05-10 Thomas Schwinge <thomas@schwinge.name>
14584
be971a2b
TS
14585 [BZ #3748]
14586 * bits/libc-lock.h (__libc_once_get): New macro.
14587 * sysdeps/mach/bits/libc-lock.h: Likewise.
14588 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14589 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14590 instead of using implementation details.
14591
37233df9
TS
14592 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14593 * libio/freopen.c: Likewise.
14594 * libio/freopen64.c: Likewise.
14595 * misc/syslog.c: Likewise.
14596 * nscd/connections.c: Likewise.
14597 * nscd/netgroupcache.c: Likewise.
14598 * sysdeps/posix/getcwd.c: Likewise.
14599
38de94a5
RM
146002012-05-10 Roland McGrath <roland@hack.frob.com>
14601
14602 * math/w_ilogbf.c: Add #include <limits.h>.
14603
67530489
ST
146042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14605
a4186cff 14606 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14607 path instead of returning without unlocking.
14608
67530489
ST
14609 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14610 immediate-write ioctls.
14611 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14612
5aa3a74a
TS
146132012-05-10 Thomas Schwinge <thomas@schwinge.name>
14614
18bad2ae
TS
14615 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14616 __builtin_frame_address instead of making assumptions about the
14617 location of the return address relative to DATA. Force early load of
14618 the return address.
14619 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14620 __builtin_frame_address.
14621
5aa3a74a
TS
14622 dup3 for GNU Hurd.
14623 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14624 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14625 implement dup3 and do some further code clean-ups.
14626 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14627 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14628
ecd0de9a
ST
146292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14630
cd9fa985
ST
14631 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14632
a4186cff
PT
14633 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14634 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14635 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14636 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14637 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14638 d->port.lock.
802ca5a5 14639
a4186cff
PT
14640 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14641 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14642 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14643
bcf55240
TS
146442012-05-10 Thomas Schwinge <thomas@schwinge.name>
14645
6960eb42
TS
14646 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14647 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14648 definitions.
14649
eb43375f
TS
14650 accept4 for GNU Hurd.
14651 * include/sys/socket.h (__libc_accept4): New prototype.
14652 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14653 to implement __libc_accept4.
14654 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14655 __libc_accept4.
14656 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14657
bcf55240
TS
14658 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14659 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14660 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14661 signal-defines.sym.
14662
6178c55b
ST
146632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14664
a4186cff 14665 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14666
6f080c2f
TS
146672012-05-10 Thomas Schwinge <thomas@schwinge.name>
14668
14669 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14670 assertion on O_CLOEXEC flag.
14671 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14672 * hurd/intern-fd.c: Likewise.
14673 * hurd/port2fd.c: Likewise.
14674
bcfe3a54
ST
146752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14676
14677 [BZ #3906]
14678 * bits/in.h (IPV6_PKTINFO): Define new macro.
14679 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14680
89c9aa49
AZ
146812012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14682
14683 [BZ #13954]
14684 [BZ #13955]
14685 [BZ #13956]
14686 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14687 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14688 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14689 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14690 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14691 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14692 * math/libm-test.inc (logb_test) : Additional logb tests.
14693
021db4be
AJ
146942012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14695 Andreas Jaeger <aj@suse.de>
14696
14697 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14698 * configure: Regenerated.
14699 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14700 * config.make.in (link-obsolete-rpc): New substituted variable.
14701 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14702 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14703 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14704 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14705 so that libc.a contains the symbols.
14706 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14707 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14708 * sunrpc/auth_none.c: Likewise.
14709 * sunrpc/auth_unix.c: Likewise.
14710 * sunrpc/authdes_prot.c: Likewise.
14711 * sunrpc/authuxprot.c: Likewise.
14712 * sunrpc/clnt_gen.c: Likewise.
14713 * sunrpc/clnt_perr.c: Likewise.
14714 * sunrpc/clnt_raw.c: Likewise.
14715 * sunrpc/clnt_simp.c: Likewise.
14716 * sunrpc/clnt_tcp.c: Likewise.
14717 * sunrpc/clnt_udp.c: Likewise.
14718 * sunrpc/clnt_unix.c: Likewise.
14719 * sunrpc/des_crypt.c: Likewise.
14720 * sunrpc/des_soft.c: Likewise.
14721 * sunrpc/get_myaddr.c: Likewise.
14722 * sunrpc/key_call.c: Likewise.
14723 * sunrpc/key_prot.c: Likewise.
14724 * sunrpc/netname.c: Likewise.
14725 * sunrpc/pm_getmaps.c: Likewise.
14726 * sunrpc/pm_getport.c: Likewise.
14727 * sunrpc/pmap_clnt.c: Likewise.
14728 * sunrpc/pmap_prot.c: Likewise.
14729 * sunrpc/pmap_prot2.c: Likewise.
14730 * sunrpc/pmap_rmt.c: Likewise.
14731 * sunrpc/publickey.c: Likewise.
14732 * sunrpc/rpc_cmsg.c: Likewise.
14733 * sunrpc/rpc_common.c: Likewise.
14734 * sunrpc/rpc_dtable.c: Likewise.
14735 * sunrpc/rpc_prot.c: Likewise.
14736 * sunrpc/rpc_thread.c: Likewise.
14737 * sunrpc/rtime.c: Likewise.
14738 * sunrpc/svc.c: Likewise.
14739 * sunrpc/svc_auth.c: Likewise.
14740 * sunrpc/svc_raw.c: Likewise.
14741 * sunrpc/svc_run.c: Likewise.
14742 * sunrpc/svc_tcp.c: Likewise.
14743 * sunrpc/svc_udp.c: Likewise.
14744 * sunrpc/svc_unix.c: Likewise.
14745 * sunrpc/svcauth_des.c: Likewise.
14746 * sunrpc/xcrypt.c: Likewise.
14747 * sunrpc/xdr.c: Likewise.
14748 * sunrpc/xdr_array.c: Likewise.
14749 * sunrpc/xdr_float.c: Likewise.
14750 * sunrpc/xdr_intXX_t.c: Likewise.
14751 * sunrpc/xdr_mem.c: Likewise.
14752 * sunrpc/xdr_rec.c: Likewise.
14753 * sunrpc/xdr_ref.c: Likewise.
14754 * sunrpc/xdr_sizeof.c: Likewise.
14755 * sunrpc/xdr_stdio.c: Likewise.
14756
b5c086a2
RM
147572012-05-10 Roland McGrath <roland@hack.frob.com>
14758
14759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14760 change. Update copyright years.
14761
6d74dd09
JM
147622012-05-10 Joseph Myers <joseph@codesourcery.com>
14763
14764 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14765
28e72501
MK
147662012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14767 Joseph Myers <joseph@codesourcery.com>
14768 Paul Pluzhnikov <ppluzhnikov@google.com>
14769
14770 [BZ #14012]
14771 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14772 requiring rpcgen.
14773 [cross-compiling] (extra-libs): Likewise.
14774 [cross-compiling] (extra-libs-others): Likewise.
14775 [cross-compiling] (librpcsvc-routines): Likewise.
14776 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14777 [cross-compiling] (omit-deps): Likewise.
14778 (sunrpc-CPPFLAGS): New variable.
14779 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14780 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14781 (cross-rpcgen-objs): New variable.
14782 (extra-objs): Append $(cross-rpcgen-objs).
14783 ($(cross-rpcgen-objs)): New rule.
14784 ($(objpfx)cross-rpcgen): Likewise.
14785 (rpcgen-cmd): Define to use $(built-program-file). Expand
14786 comment.
14787 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14788 ($(objpfx)x%.stmp): Likewise.
14789 * sunrpc/proto.h [IS_IN_build] (_): Define.
14790 [IS_IN_build] (_libc_intl_domainname): Likewise.
14791
c8c59454
L
147922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14793
14794 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14795 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14796 and R_X86_64_TPOFF64.
14797
6f27cd16
JM
147982012-05-10 Joseph Myers <joseph@codesourcery.com>
14799
14800 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14801 sysdeps/unix/sysv/syscalls.list.
14802 (stime): Likewise.
14803 (utime): Likewise.
14804 * sysdeps/unix/sysv/syscalls.list: Remove file.
14805
02467e1c
PE
148062012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14807
14808 [BZ #3440]
14809 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14810 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14811 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14812 (__LC_IDENTIFICATION): Make these macros useful in #if
14813 expressions, as required by C99.
14814
da392631
AS
148152012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14816
14817 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14818 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14819 after this.
14820
8115f29b
L
148212012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14822
14823 * stdlib/longlong.h: Updated from GCC.
14824
bdd74070
AJ
148252012-05-09 Andreas Jaeger <aj@suse.de>
14826
edfe0dbe
AJ
14827 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14828 default is first entry.
14829 (run_mode): Set type.
14830 (main): Remove informal message about syslog.
14831 (options): Fix typo.
14832
bcfe3a54
ST
14833 [BZ #14053]
14834 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14835 to asm.
bcfe3a54
ST
14836 (lrint): Likewise.
14837 (llrintf): Likewise.
14838 (llrint): Likewise.
14839 (rint): Likewise.
14840 (rintf): Likewise.
14841 (nearbyint): Likewise.
14842 (nearbyintf): Likewise.
bdd74070 14843
91d8d69e
AJ
148442012-05-09 Andreas Jaeger <aj@suse.de>
14845 Pedro Alves <palves@redhat.com>
14846
14847 * nscd/nscd.c (run_mode): Use enum.
14848 (main): Cleanup coding style issue.
14849
bb90b80b
AJ
148502012-05-09 Alexandre Oliva <aoliva@redhat.com>
14851 Andreas Jaeger <aj@suse.de>
14852
bcfe3a54
ST
14853 * nscd/nscd.c (go_background): Replaced with...
14854 (run_mode): ... this.
bb90b80b 14855 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14856 (options): Add -F --foreground.
14857 (main): Implement it.
14858 (parse_opt): Parse it.
bb90b80b 14859
1a4b75a1
AJ
148602012-05-09 Andreas Jaeger <aj@suse.de>
14861
14862 [BZ #14083]
14863 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14864 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14865 -Wconversion warning.
14866 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14867 Likewise.
14868
b1cc2472
JM
148692012-05-09 Joseph Myers <joseph@codesourcery.com>
14870
14871 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14872 == 0.
14873 (LC_ALL): Use macro-int-constant.
14874 (LC_COLLATE): Likewise.
14875 (LC_CTYPE): Likewise.
14876 (LC_MESSAGES): Likewise.
14877 (LC_MONETARY): Likewise.
14878 (LC_NUMERIC): Likewise.
14879 (LC_TIME): Likewise.
14880 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14881 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14883 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14884 Specify type.
14885 [C99-based standards] (float_t): Expect type.
14886 [C99-based standards] (double_t): Expect type.
14887 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14888 type.
14889 [C99-based standards] (HUGE_VALL): Likewise.
14890 [C99-based standards] (INFINITY): Likewise.
14891 [C99-based standards] (NAN): Likewise.
14892 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14893 [C99-based standards] (FP_NAN): Likewise.
14894 [C99-based standards] (FP_NORMAL): Likewise.
14895 [C99-based standards] (FP_SUBNORMAL): Likewise.
14896 [C99-based standards] (FP_ZERO): Likewise.
14897 [C99-based standards] (FP_FAST_FMA): Use
14898 optional-macro-int-constant. Specify type. Require == 1.
14899 [C99-based standards] (FP_FAST_FMAF): Likewise.
14900 [C99-based standards] (FP_FAST_FMAL): Likewise.
14901 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14902 [C99-based standards] (FP_ILOGBNAN): Likewise.
14903 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14904 Specify type.
14905 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14906 [C99-based standards] (math_errhandling): Specify type.
14907 [ISO99 || ISO11] (signgam): Do not allow.
14908 [non-C99-based standards] (copysignf): Do not allow.
14909 [non-C99-based standards] (exp2f): Likewise.
14910 [non-C99-based standards] (log2f): Likewise.
14911 [non-C99-based standards] (modff): Allow.
14912 [non-C99-based standards] (erff): Do not allow.
14913 [non-C99-based standards] (erfcf): Likewise.
14914 [non-C99-based standards] (gammaf): Likewise.
14915 [non-C99-based standards] (hypotf): Likewise.
14916 [non-C99-based standards] (j0f): Likewise.
14917 [non-C99-based standards] (j1f): Likewise.
14918 [non-C99-based standards] (jnf): Likewise.
14919 [non-C99-based standards] (lgammaf): Likewise.
14920 [non-C99-based standards] (tgammaf): Likewise.
14921 [non-C99-based standards] (y0f): Likewise.
14922 [non-C99-based standards] (y1f): Likewise.
14923 [non-C99-based standards] (ynf): Likewise.
14924 [non-C99-based standards] (isnanf): Likewise.
14925 [non-C99-based standards] (acoshf): Likewise.
14926 [non-C99-based standards] (asinhf): Likewise.
14927 [non-C99-based standards] (atanhf): Likewise.
14928 [non-C99-based standards] (cbrtf): Likewise.
14929 [non-C99-based standards] (expm1f): Likewise.
14930 [non-C99-based standards] (ilogbf): Likewise.
14931 [non-C99-based standards] (log1pf): Likewise.
14932 [non-C99-based standards] (logbf): Likewise.
14933 [non-C99-based standards] (nextafterf): Likewise.
14934 [non-C99-based standards] (remainderf): Likewise.
14935 [non-C99-based standards] (rintf): Likewise.
14936 [non-C99-based standards] (scalbf): Likewise.
14937 [non-C99-based standards] (copysignl): Likewise.
14938 [non-C99-based standards] (exp2l): Likewise.
14939 [non-C99-based standards] (log2l): Likewise.
14940 [non-C99-based standards] (modfl): Allow.
14941 [non-C99-based standards] (erfl): Do not allow.
14942 [non-C99-based standards] (erfcl): Likewise.
14943 [non-C99-based standards] (gammal): Likewise.
14944 [non-C99-based standards] (hypotl): Likewise.
14945 [non-C99-based standards] (j0l): Likewise.
14946 [non-C99-based standards] (j1l): Likewise.
14947 [non-C99-based standards] (jnl): Likewise.
14948 [non-C99-based standards] (lgammal): Likewise.
14949 [non-C99-based standards] (tgammal): Likewise.
14950 [non-C99-based standards] (y0l): Likewise.
14951 [non-C99-based standards] (y1l): Likewise.
14952 [non-C99-based standards] (ynl): Likewise.
14953 [non-C99-based standards] (isnanl): Likewise.
14954 [non-C99-based standards] (acoshl): Likewise.
14955 [non-C99-based standards] (asinhl): Likewise.
14956 [non-C99-based standards] (atanhl): Likewise.
14957 [non-C99-based standards] (cbrtl): Likewise.
14958 [non-C99-based standards] (expm1l): Likewise.
14959 [non-C99-based standards] (ilogbl): Likewise.
14960 [non-C99-based standards] (log1pl): Likewise.
14961 [non-C99-based standards] (logbl): Likewise.
14962 [non-C99-based standards] (nextafterl): Likewise.
14963 [non-C99-based standards] (remainderl): Likewise.
14964 [non-C99-based standards] (rintl): Likewise.
14965 [non-C99-based standards] (scalbl): Likewise.
14966 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14967 [non-C99-based standards] (FP_*): Do not allow.
14968 [C99-based standards] (FP_*): Change to
14969 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14970 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14971 allow.
14972 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14973 (SIG_ERR): Likewise.
14974 [X/Open-based standards] (SIG_HOLD): Likewise.
14975 (SIG_IGN): Likewise.
14976 (SIGABRT): Use macro-int-constant. Specify type. Require
14977 positive value.
14978 (SIGFPE): Likewise.
14979 (SIGILL): Likewise.
14980 (SIGINT): Likewise.
14981 (SIGSEGV): Likewise.
14982 (SIGTER): Likewise.
14983 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14984 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14985 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14986 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14987 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14988 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14989 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14990 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14991 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14992 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14993 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14994 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14995 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14996 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14997 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14998 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14999 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15000 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15001 [X/Open-based standards] (SIGTRAP): Likewise.
15002 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15003 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15004 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15005 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15006 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15007 allow.
15008
b9f1922d
IW
150092012-05-08 Ian Wienand <ianw@vmware.com>
15010
15011 [BZ #14080]
15012 * time/tzset.c (__tzset_parse_tz): Update default rules for
15013 daylight time changes in the Energy Policy Act of 2005.
15014
1db86e88
AJ
150152012-05-09 Andreas Jaeger <aj@suse.de>
15016
15017 [BZ #13983]
15018 * elf/ldconfig.c (parse_conf): Change string to make clear that
15019 ldconfig only issued a warning if ld.so.conf does not exist.
15020
dee4a4e3
DM
150212012-05-08 David S. Miller <davem@davemloft.net>
15022
ee0db190
DM
15023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15024 movxtod instead of popping the value on the stack.
15025
dee4a4e3
DM
15026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15027
6a43ec98
CD
150282012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15029
15030 * config.h.in: Add HAVE_ARM_PCS_VFP.
15031
05c2c961
RMG
150322012-05-08 Roland Mc Grath <roland@hack.frob.com>
15033
bcfe3a54
ST
15034 [BZ #13979]
15035 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15036 checking but the checks are disabled for any reason.
05c2c961 15037
4b30f61a
L
150382012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15039
15040 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15041 and ELF64_R_TYPE with ELFW(R_TYPE).
15042
eee2bc67
JM
150432012-05-08 Joseph Myers <joseph@codesourcery.com>
15044
7ea5391a
JM
15045 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15046 (ulimit): Likewise.
15047
eee2bc67
JM
15048 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15049 (settimeofday): Likewise.
15050
abb66a67
MF
150512012-05-08 Mike Frysinger <vapier@gentoo.org>
15052
15053 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15054 a struct th_u2 inside the union, and move tu_block/tu_code into
15055 a new th_u3 union of tu_block/tu_code inside of that. Move
15056 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15057 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15058 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15059 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15060 (th_stuff): Change to th_u1.tu_stuff.
15061 (th_data): Define.
15062 (th_msg): Change to th_u1.th_u2.tu_data.
15063
7f18b530
DM
150642012-05-07 David S. Miller <davem@davemloft.net>
15065
05760585
DM
15066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15067
7f18b530
DM
15068 [BZ #14074]
15069 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15070 (SETUP_PIC_REG): Use it.
15071 (SETUP_PIC_REG_LEAF): Use it.
15072
495fd99f
JM
150732012-05-07 Joseph Myers <joseph@codesourcery.com>
15074
15075 [BZ #13885]
15076 [BZ #13923]
15077 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15078 USE_AS_EXPM1L.
15079 (EXPL_FINITE): Likewise.
15080 (FLDLOG): Likewise.
15081 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15082 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15083 e_expl.S.
15084 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15085 USE_AS_EXPM1L.
15086 (EXPL_FINITE): Likewise.
15087 (FLDLOG): Likewise.
15088 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15089 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15090 e_expl.S.
15091 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15092 test of -max_value argument for long double.
15093 * sysdeps/i386/fpu/libm-test-ulps: Update.
15094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15095
6693d694
DM
150962012-05-06 David S. Miller <davem@davemloft.net>
15097
15098 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15099 quad soft-float symbols whose references which are compiler
15100 generated.
15101 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15102
6c23e11c
JM
151032012-05-06 Joseph Myers <joseph@codesourcery.com>
15104
d8b82cad
JM
15105 [BZ #13884]
15106 [BZ #13914]
15107 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15108 USE_AS_EXP10L.
15109 (EXPL_FINITE): Likewise.
15110 (FLDLOG): Likewise.
15111 (c0): Likewise.
15112 (c1): Likewise.
15113 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15114 Adjust comments for base varying.
15115 (__expl_finite): Change alias to EXPL_FINITE.
15116 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15117 e_expl.S.
15118 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15119 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15120 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15121 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15122 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15123 USE_AS_EXP10L.
15124 (EXPL_FINITE): Likewise.
15125 (FLDLOG): Likewise.
15126 (c0): Likewise.
15127 (c1): Likewise.
15128 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15129 Adjust comments for base varying.
15130 (__expl_finite): Change alias to EXPL_FINITE.
15131 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15132 tests for bugs.
15133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15134
6c23e11c
JM
15135 [BZ #14064]
15136 * math/libm-test.inc (check_float_internal): Correct ulp
15137 calculation for subnormal expected results.
15138
29ba805c
AJ
151392012-05-06 Andreas Jaeger <aj@suse.de>
15140
15141 * Makeconfig (+math-flags): New, set to -frounding-math.
15142 (+cflags): Add +math-flags so that all of glibc gets compiled with
15143 it.
15144
15145 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15146
7b17aeda
JM
151472012-05-05 Joseph Myers <joseph@codesourcery.com>
15148
5779f134
JM
15149 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15150 Disable one test.
15151
41498f4d
JM
15152 [BZ #13787]
15153 [BZ #13922]
15154 [BZ #14036]
15155 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15156 (__ieee754_expl): Allow for and saturate large arguments.
15157 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15158 (u_threshold): Likewise.
15159 (__exp): Call __ieee754_exp before checking for overflow and
15160 underflow.
15161 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15162 (u_threshold): Likewise.
15163 (__expf): Call __ieee754_expf before checking for overflow and
15164 underflow.
15165 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15166 (u_threshold): Likewise.
15167 (__expl): Call __ieee754_expl before checking for overflow and
15168 underflow.
15169 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15170 (__ieee754_expl): Allow for and saturate large arguments.
15171 * math/libm-test.inc (exp_test): Add another test. Do not allow
15172 missing overflow exception on overflow.
15173 (expm1_test): Do not allow missing overflow exception on overflow.
15174
6698b8bf
JM
15175 * sysdeps/i386/fpu/e_expl.c: Move to ...
15176 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15177 rather than using inline asm.
15178 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15179 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15180 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15181
7b17aeda
JM
15182 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15183 (nice): Likewise.
15184 (poll): Likewise.
15185 (signal): Likewise.
15186 (time): Likewise.
15187 (times): Likewise.
15188
f7c85819
JM
151892012-05-04 Joseph Myers <joseph@codesourcery.com>
15190
15191 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15192 sysdeps/unix/common/syscalls.list.
15193 (fchmod): Likewise.
15194 (fchown): Likewise.
15195 (ftruncate): Likewise.
15196 (getrusage): Likewise.
15197 (gettimeofday): Likewise.
15198 (setpgid): Likewise.
15199 (setregid): Likewise.
15200 (setreuid): Likewise.
15201 (sigaction): Likewise.
15202 (truncate): Likewise.
15203 (vhangup): Likewise.
15204 * sysdeps/unix/common/syscalls.list: Remove file.
15205 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15206 * sysdeps/unix/sysv/linux/Implies: Likewise.
15207
336270d0
L
152082012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15209
15210 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15212 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15213 Moved to ...
15214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15215 Here.
15216 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15217 to ...
15218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15219 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15220 to ...
15221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15222 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15223 to ...
15224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15225 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15226 to ...
15227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15228 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15229 to ...
15230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15231 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15232 to ...
15233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15234 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15235 to ...
15236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15237 Here.
15238 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15239 to ...
15240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15241 Here.
15242 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15243 to ...
15244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15245 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15246 Moved to ...
15247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15248 Here.
15249 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15250 to ...
15251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15252
d128e450
JM
152532012-05-04 Joseph Myers <joseph@codesourcery.com>
15254
fa8ee516
JM
15255 * sysdeps/unix/common/bits/dirent.h: Remove file.
15256 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15257
d128e450
JM
15258 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15259 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15260 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15261 * sysdeps/unix/bsd/isatty.c: Likewise.
15262 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15263 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15264 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15265
ff8faaf0 152662012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15267
62881be4 15268 [BZ #13563]
31dc8730
AZ
15269 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15270 long double comparison inaccuracies.
15271 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15273
6fef930c
AS
152742012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15275
15276 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15278
8f203e6c
JM
152792012-05-04 Joseph Myers <joseph@codesourcery.com>
15280
15281 [BZ #14049]
15282 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15283 nonzero digits before rounding a hex value.
15284 * stdlib/tst-strtod.c (tests): Add another test.
15285
5197d9c2
AK
152862012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15287
15288 * sysdeps/s390/fpu/libm-test-ulps: Update.
15289
f0c1dedf
AJ
152902012-05-03 Andreas Jaeger <aj@suse.de>
15291
15292 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15293 does not get optimized out.
15294 (malloc_opt_barrier): New.
15295
a65ef2ae 152962012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15297 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15298
2b942cb7 15299 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15300 intermediate file deletion.
2b942cb7 15301 (generated): Add .symlist files.
a65ef2ae 15302
54b71e02
JM
153032012-05-03 Joseph Myers <joseph@codesourcery.com>
15304
15305 [BZ #13775]
15306 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15307 Redirect under this condition.
15308 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15309 [__USE_GNU] (__dprintf_chk): Not under this condition.
15310 [__USE_GNU] (__vdprintf_chk): Likewise.
15311 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15312 under this condition.
15313 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15314 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15315 [__USE_XOPEN2K8] (vdprintf): Likewise.
15316 [__USE_GNU] (__dprintf_chk): Not under this condition.
15317 [__USE_GNU] (__vdprintf_chk): Likewise.
15318 [__USE_GNU] (dprintf): Likewise.
15319 [__USE_GNU] (vdprintf): Likewise.
15320
d3dfcc41
RM
153212012-05-03 Roland McGrath <roland@hack.frob.com>
15322
15323 * elf/Makefile (common-generated): Set this instead of generated for
15324 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15325 $(all-built-dso)-derived lists.
15326
7ac30cc5
AJ
153272012-05-03 Andreas Jaeger <aj@suse.de>
15328
0c51e550
AJ
15329 * sysdeps/i386/fpu/libm-test-ulps: Update.
15330
7ac30cc5
AJ
15331 * FAQ: Removed.
15332 * FAQ.in: Likewise.
15333 * scripts/gen-FAQ.pl: Likewise.
15334 * manual/install.texi (Installation): Point to online location of
15335 FAQ.
15336 * Makefile (files-for-dist): Remove FAQ.
15337 (FAQ): Remove.
15338
d4c2917f
AM
153392012-05-02 Allan McRae <allan@archlinux.org>
15340
15341 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15342 (LDFLAGS-reldepmod5.so): Likewise.
15343 (LDFLAGS-reldep6mod1.so): Likewise.
15344 (LDFLAGS-reldep6mod4.so): Likewise.
15345 (LDFLAGS-reldep8mod3.so): Likewise.
15346 (LDFLAGS-unload4mod1.so): Likewise.
15347 (LDFLAGS-unload4mod2.so): Likewise.
15348 (LDFLAGS-tst-initorder): Likewise.
15349 (LDFLAGS-tst-initordera2.so): Likewise.
15350 (LDFLAGS-tst-initordera3.so): Likewise.
15351 (LDFLAGS-tst-initordera4.so): Likewise.
15352 (LDFLAGS-tst-initorderb2.so): Likewise.
15353 (LDFLAGS-noload): Likewise.
15354 (LDFLAGS-next): Likewise.
15355 (LDFLAGS-order2mod1.so): Likewise.
15356 (LDFLAGS-order2mod2.so): Likewise.
15357 (LDFLAGS-tst-initorder2): Likewise.
15358 (LDFLAGS-tst-initorder2a.so): Likewise.
15359 (LDFLAGS-tst-initorder2b.so): Likewise.
15360 (LDFLAGS-tst-initorder2c.so): Likewise.
15361 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15362
d77f993f
DM
153632012-05-02 David S. Miller <davem@davemloft.net>
15364
15365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15366
171a70b4
PP
153672012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15368
15369 [BZ #14055]
15370 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15371
0be196ad
AJ
153722012-05-02 Andreas Jaeger <aj@suse.de>
15373
15374 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15375 since we manipulate rounding mode.
15376 (CPPFLAGS-test-idouble.c): Likewise.
15377 (CPPFLAGS-test-ifloat.c): Likewise.
15378 (CFLAGS-test-ldouble.c): Likewise.
15379 (CFLAGS-test-double.c): Likewise.
15380 (CFLAGS-test-float.c): Likewise.
15381 (CFLAGS-test-misc.c): Likewise.
15382 (CFLAGS-test-test-fenv.c): Likewise.
15383
4f9d04aa
AZ
153842012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15385
2b942cb7
RM
15386 [BZ #2550]
15387 [BZ #2570]
15388 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15389 comparisons to determine direction to adjust input.
4f9d04aa 15390
82a79e7d
RM
153912012-05-01 Roland McGrath <roland@hack.frob.com>
15392
f5a01ca9
RM
15393 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15394 output to the target.
15395
90fe4186
RM
15396 * scripts/localplt.awk: New file.
15397 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15398 (check-localplt-CFLAGS): Variable removed.
15399 ($(all-built-dso:=.jmprel)): New static pattern rule.
15400 (generated): Add those targets.
15401 (localplt-built-dso): New variable.
15402 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15403
15404 * elf/check-localplt.c: File removed.
15405
82397ed6
RM
15406 * scripts/check-execstack.awk: New file.
15407 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15408 (check-execstack-CFLAGS): Variable removed.
15409 ($(objpfx)check-execstack.h): Target removed.
15410 ($(objpfx)execstack-default): New target.
15411 (generated): Add that instead of check-execstack.h.
15412 ($(all-built-dso:=.phdr)): New static pattern rule.
15413 (generated): Add those targets.
15414 * elf/check-execstack.c: File removed.
15415
82a79e7d
RM
15416 * scripts/check-textrel.awk: New file.
15417 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15418 (check-textrel-CFLAGS): Variable removed.
15419 (all-built-dso): Use := to define.o
15420 ($(all-built-dso:=.dyn)): New static pattern rule.
15421 (generated): Add those targets.
15422 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15423 * config.make.in (READELF): New substituted variable.
15424 * elf/check-textrel.c: File removed.
15425
62fde54f 154262012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15427
615605c9
JM
15428 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15429 allow.
15430 * conform/data/ctype.h-data [C99-based standards] (isblank):
15431 Expect function.
15432 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15433 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15434 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15435 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15436 Specify type. Require positive value.
15437 (EILSEQ): Likewise.
15438 (ERANGE): Likewise.
15439 [ISO || POSIX] (EILSEQ): Do not expect.
15440 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15441 Specify type. Require positive value.
15442 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15443 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15444 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15445 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15446 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15447 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15448 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15449 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15450 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15451 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15452 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15453 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15454 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15455 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15456 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15457 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15458 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15459 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15460 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15461 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15462 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15463 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15464 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15465 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15466 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15467 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15468 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15469 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15470 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15471 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15472 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15473 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15474 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15475 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15476 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15477 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15478 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15479 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15480 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15481 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15482 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15483 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15484 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15485 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15486 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15487 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15488 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15489 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15490 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15491 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15492 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15493 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15494 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15495 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15496 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15497 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15498 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15499 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15500 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15501 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15502 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15503 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15504 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15505 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15506 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15507 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15508 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15509 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15510 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15511 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15512 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15513 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15514 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15515 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15516 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15517 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15518 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15519 Require >= 2.
15520 (FLT_ROUNDS): Expect as macro, not constant.
15521 (FLT_MANT_DIG): Use macro-int-constant.
15522 (DBL_MANT_DIG): Likewise.
15523 (LDBL_MANT_DIG): Likewise.
15524 (FLT_DIG): Likewise.
15525 (DBL_DIG): Likewise.
15526 (LDBL_DIG): Likewise.
15527 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15528 (DBL_MIN_EXP): Likewise.
15529 (LDBL_MIN_EXP): Likewise.
15530 (FLT_MAX_EXP): Use macro-int-constant.
15531 (DBL_MAX_EXP): Likewise.
15532 (LDBL_MAX_EXP): Likewise.
15533 (FLT_MAX_10_EXP): Likewise.
15534 (DBL_MAX_10_EXP): Likewise.
15535 (LDBL_MAX_10_EXP): Likewise.
15536 (FLT_MAX): Use macro-constant.
15537 (DBL_MAX): Likewise.
15538 (LDBL_MAX): Likewise.
15539 (FLT_EPSILON): Use macro-constant. Give upper bound.
15540 (DBL_EPSILON): Likewise.
15541 (LDBL_EPSILON): Likewise.
15542 (FLT_MIN): Likewise.
15543 (DBL_MIN): Likewise.
15544 (LDBL_MIN): Likewise.
15545 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15546 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15547 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15548 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15549 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15550 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15551 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15552 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15553 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15554 [ISO11] (FLT_TRUE_MIN): Likewise.
15555 [ISO11] (LDBL_TRUE_MIN): Likewise.
15556 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15557 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15558 (SCHAR_MIN): Use macro-int-constant. Specify type.
15559 (SCHAR_MAX): Likewise.
15560 (UCHAR_MAX): Likewise.
15561 (CHAR_MIN): Likewise.
15562 (CHAR_MAX): Likewise.
15563 (MB_LEN_MAX): Use macro-int-constant.
15564 (SHRT_MIN): Use macro-int-constant. Specify type.
15565 (SHRT_MAX): Likewise.
15566 (USHRT_MAX): Likewise.
15567 (INT_MAX): Likewise.
15568 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15569 bound negative.
15570 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15571 bound with "U".
15572 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15573 bound with "L".
15574 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15575 bound negative. Suffix upper bound with "L".
15576 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15577 bound with "UL".
15578 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15579 Specify type.
15580 [C99-based standards] (LLONG_MAX): Likewise.
15581 [C99-based standards] (ULLONG_MAX): Likewise.
15582 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15583 == 0.
15584 [ISO11] (max_align_t): Require type.
15585 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15586
c9140a62
JM
15587 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15588 from $CFLAGS, without defining away __attribute__ calls.
15589 (checknamespace): Use $CFLAGS_namespace.
15590
9af0bf29
JM
15591 * conform/conformtest.pl (@keywords): Only include C99 keywords
15592 for standards based on C99 or C11.
15593
343222a2
JM
15594 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15595 Disable tests.
15596 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15597 UNIX98]: Likewise.
15598
661f8cf0
JM
15599 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15600 usability of symbols in #if.
15601
ee74b9cb
JM
15602 * conform/conformtest.pl: If macro or constant types start
15603 "promoted:", expect the symbol to be of the following type
15604 promoted by the integer promotions.
62fde54f 15605
aafc49b3
JM
15606 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15607 in one place. Also handle "macro-constant".
15608
fefdf574
JM
15609 * conform/conformtest.pl: Only accept expected macro values with
15610 "==". Parse all "macro" lines in one place.
15611 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15612
f2d922fe
JM
15613 * conform/conformtest.pl: Handle braced types on "constant" lines
15614 instead of handling "typed-constant".
15615 * conform/data/signal.h-data: Use "constant" instead of
15616 "typed-constant".
15617
d22956c9
JM
15618 * conform/conformtest.pl: Handle "optional-" at start of lines in
15619 one place rather than duplicating several cases. Handle each
15620 format of "macro" line with initial "optional-".
15621
028e2e38
JM
15622 * conform/conformtest.pl: Only accept expected constant or
15623 optional-constant values with "==". Parse all "constant" lines in
15624 one place. Parse all "optional-constant" lines in one place.
15625 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15626 * conform/data/fmtmsg.h-data: Likewise.
15627 * conform/data/netinet/in.h-data: Likewise.
15628 * conform/data/tar.h-data: Likewise.
15629 * conform/data/limits.h-data: Use "==" form on "constant" and
15630 "optional-constant" lines.
15631
1b8f2850
JM
15632 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15633 Use -std=c99 for XOPEN2K.
15634 (@knownproblems): Remove.
15635 (newtoken): Don't check %isknown.
15636
a05a144b
JM
15637 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15638 Do not expect macro.
15639 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15640 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15641 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15642 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15643 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15644 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15645 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15646 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15647 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15648 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15649 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15650 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15651 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15652 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15653 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15654 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15655 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15656 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15657 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15658 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15659 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15660 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15661 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15662 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15663 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15664 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15665 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15666 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15667 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15668 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15669 [XPG3] (acosh): Likewise.
15670 [XPG3] (asinh): Likewise.
15671 [XPG3] (atanh): Likewise.
15672 [XPG3] (cbrt): Likewise.
15673 [XPG3] (expm1): Likewise.
15674 [XPG3] (ilogb): Likewise.
15675 [XPG3] (log1p): Likewise.
15676 [XPG3] (logb): Likewise.
15677 [XPG3] (nextafter): Likewise.
15678 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15679 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15680 [XPG3] (remainder): Likewise.
15681 [XPG3] (rint): Likewise.
15682 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15683 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15684 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15685 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15686 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15687 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15688 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15689 [UNIX98 || XOPEN2K] (scalb): Expect.
15690 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15691 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15692 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15693 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15694 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15695 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15696 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15697 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15698 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15699 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15700 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15701 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15702 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15703 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15704 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15705 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15706 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15707 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15708 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15709 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15710 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15711 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15712 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15713 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15714 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15715 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15716 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15717 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15718 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15719 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15720 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15721 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15722 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15723 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15724 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15725 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15726 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15727 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15728 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15729 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15730 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15731 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15732 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15733 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15734 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15735 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15736 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15737 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15738 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15739 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15740 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15741 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15742 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15743 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15744 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15745 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15746 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15747 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15748 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15749 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15750 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15751 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15752 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15753 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15754 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15755 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15756 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15757 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15758 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15759 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15760 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15761 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15762 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15763 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15764 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15765 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15766 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15767 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15768 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15769 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15770 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15771 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15772 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15773 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15774 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15775 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15776 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15777 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15778 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15779 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15780 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15781 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15782 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15783 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15784 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15785 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15786 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15787 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15788 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15789 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15790 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15791 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15792 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15793 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15794 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15795 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15796 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15797 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15798 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15799 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15800 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15801 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15802 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15803 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15804 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15805 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15806 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15807 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15808 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15809 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15810 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15811 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15812 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15813 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15814 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15815 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15816 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15817 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15818 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15819 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15820 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15821 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15822 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15823 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15824 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15825 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15826 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15827
73c5ebe3
JM
15828 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15829 _XOPEN_SOURCE_EXTENDED for XPG4.
15830
39c33b6c
JM
15831 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15832
62fde54f
JM
15833 * Makeconfig (localtime): Remove variable.
15834 (inst_localtime-file): Likewise.
15835
0741d64c
AS
158362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15837
15838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15839 Update.
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15841 Update.
15842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15843 Update.
15844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15845 Update.
15846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15847 Update.
15848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15849 Update.
15850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15851 Update.
15852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15853 Update.
15854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15855 Update.
15856
7cb029ee
JM
158572012-05-01 Joseph Myers <joseph@codesourcery.com>
15858
15859 [BZ #2550]
15860 [BZ #2570]
15861 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15862 comparisons to determine direction to adjust input.
15863 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15864 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15865 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15866 Likewise.
15867 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15868 Likewise.
15869 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15870 Likewise.
15871 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15872 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15873 Likewise.
15874 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15875 Likewise.
15876 * math/libm-test.inc (nexttoward_test): Add more tests.
15877
412bd966
AS
158782012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15879
15880 [BZ #14040]
15881 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15882 in version GLIBC_2.1, not GLIBC_2.0.
15883 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15884 Likewise.
15885
9568c0c2
JM
158862012-04-30 Joseph Myers <joseph@codesourcery.com>
15887
adfbc8ac
JM
15888 [BZ #13942]
15889 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15890 (1 - x) * (1 + x).
15891 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15892 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15893 * math/libm-test.inc (acos_test): Add more tests.
15894 (asin_test): Likewise.
15895 * sysdeps/i386/fpu/libm-test-ulps: Update.
15896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15897
5ba3cc69
JM
15898 [BZ #14034]
15899 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15900 of square root.
15901 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15902 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15903 * math/libm-test.inc (acos_test_tonearest): New function.
15904 (acos_test_towardzero): Likewise.
15905 (acos_test_downward): Likewise.
15906 (acos_test_upward): Likewise.
15907 (asin_test_tonearest): Likewise.
15908 (asin_test_towardzero): Likewise.
15909 (asin_test_downward): Likewise.
15910 (asin_test_upward): Likewise.
15911 (main): Call the new functions.
15912 * sysdeps/i386/fpu/libm-test-ulps: Update.
15913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15914
9568c0c2
JM
15915 [BZ #13884]
15916 [BZ #13924]
15917 * math/e_exp10.c: Include <float.h>.
15918 (__ieee754_exp10): Handle underflow here rather than multiplying
15919 large negative argument by M_LN10.
15920 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15921 of __ieee754_expf.
15922 * math/e_exp10l.c: Include <float.h>.
15923 (__ieee754_exp10l): Handle underflow here rather than multiplying
15924 large negative argument by M_LN10l.
15925 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15926 spurious overflow exception on underflow.
15927
5ac3ea17
MP
159282012-04-29 Marek Polacek <polacek@redhat.com>
15929
15930 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15931 (__fortify_function): New macro.
15932 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15933 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15934 __extern_always_inline.
15935 * libio/bits/stdio2.h: Likewise.
15936 * libio/bits/stdio.h: Likewise.
15937 * string/string.h: Likewise.
15938 * string/bits/string3.h: Likewise.
15939 * include/stdio.h: Likewise.
15940 * stdlib/bits/stdlib.h: Likewise.
15941 * stdlib/stdlib.h: Likewise.
15942 * rt/bits/mqueue2.h: Likewise.
15943 * rt/mqueue.h: Likewise.
15944 * posix/bits/unistd.h: Likewise.
15945 * posix/unistd.h: Likewise.
15946 * io/bits/poll2.h: Likewise.
15947 * io/bits/fcntl2.h: Likewise.
15948 * io/fcntl.h: Likewise.
15949 * io/sys/poll.h: Likewise.
15950 * misc/bits/syslog.h: Likewise.
15951 * misc/bits/syslog-ldbl.h: Likewise.
15952 * misc/sys/syslog.h: Likewise.
15953 * socket/bits/socket2.h: Likewise.
15954 * socket/sys/socket.h: Likewise.
15955 * debug/tst-chk1.c: Likewise.
15956 * wcsmbs/bits/wchar2.h: Likewise.
15957 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15958 * wcsmbs/wchar.h: Likewise.
15959
ecf0ebfb
AJ
159602012-04-29 Andreas Jaeger <aj@suse.de>
15961
15962 * Makerules (tests): Remove enable-check-abi protection.
15963 (check-abi-warn): Remove.
15964 (check-abi-%): Remove check-abi-warn usage.
15965
15966 * configure.in: Remove check-abi configure option.
15967 * configure: Regenerated.
15968 * config.make.in (enable-check-abi): Remove.
15969
6d5c57fa
AS
159702012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15971
24c5d07e 15972 [BZ #14033]
ded5180a
AS
15973 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15974 double functions to double *_finite functions.
15975
7e0d315d
AS
15976 [BZ #13941]
15977 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15978 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15979 LDBL_MIN_EXP.
15980 * stdio-common/Makefile (tests): Add tst-sprintf3.
15981 * stdio-common/tst-sprintf3.c: New file.
15982
6d5c57fa
AS
15983 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15984 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15985
0749ff8b
JM
159862012-04-28 Joseph Myers <joseph@codesourcery.com>
15987
15988 * conform/conformtest.pl: Remove duplicate typed-constant
15989 handling.
15990
8dbd5d7b
DM
159912012-04-28 David S. Miller <davem@davemloft.net>
15992
15993 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15994 (check-abi-%): Remove AWK script prerequisite and explicit
15995 abilist directory.
15996 (check-abi): Rewrite to just diff the symlist with the abilist.
15997 (config-tls, config-abi-config): Delete, no longer used.
15998 (update-abi-%): Remove AWK script and explicit abilist directory.
15999 (update-abi): Rewrite to simply compare and conditionally copy the
16000 symlist and the sysdep abilist file. Remove update-abi-config
16001 checks.
16002 * abilist/ld.abilist: Remove.
16003 * abilist/libBrokenLocale.abilist: Remove.
16004 * abilist/libanl.abilist: Remove.
16005 * abilist/libcrypt.abilist: Remove.
16006 * abilist/libdl.abilist: Remove.
16007 * abilist/librt.abilist: Remove.
16008 * abilist/libthread_db.abilist: Remove.
16009 * abilist/libutil.abilist: Remove.
16010 * scripts/extract-abilist.awk: Remove.
16011 * scripts/merge-abilist.awk: Remove.
16012 * sysdeps/generic/libcidn.abilist: New file.
16013 * sysdeps/generic/libnss_compat.abilist: New file.
16014 * sysdeps/generic/libnss_db.abilist: New file.
16015 * sysdeps/generic/libnss_dns.abilist: New file.
16016 * sysdeps/generic/libnss_files.abilist: New file.
16017 * sysdeps/generic/libnss_hesiod.abilist: New file.
16018 * sysdeps/generic/libnss_nis.abilist: New file.
16019 * sysdeps/generic/libnss_nisplus.abilist: New file.
16020 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16021 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16022 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16023 file.
16024 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16025 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16026 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16027 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16028 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16029 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16030 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16031 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16032 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16033 file.
16034 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16035 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16036 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16037 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16038 file.
16039 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16040 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16041 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16042 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16043 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16044 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16045 file.
16046 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16047 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16048 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16049 file.
16050 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16052 New file.
16053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16054 New file.
16055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16056 New file.
16057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16058 New file.
16059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16060 New file.
16061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16062 New file.
16063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16064 New file.
16065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16066 New file.
16067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16068 New file.
16069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16070 New file.
16071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16072 New file.
16073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16074 New file.
16075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16076 New file.
16077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16078 file.
16079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16080 New file.
16081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16082 New file.
16083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16084 file.
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16086 New file.
16087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16088 New file.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16090 file.
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16092 New file.
16093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16094 New file.
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16096 New file.
16097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16098 New file.
16099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16100 New file.
16101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16102 New file.
16103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16105 file.
16106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16107 New file.
16108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16109 file.
16110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16111 file.
16112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16113 file.
16114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16115 file.
16116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16117 file.
16118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16119 New file.
16120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16121 file.
16122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16123 file.
16124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16125 New file.
16126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16127 file.
16128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16130 file.
16131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16132 New file.
16133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16134 file.
16135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16136 file.
16137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16138 file.
16139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16140 file.
16141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16142 file.
16143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16144 New file.
16145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16146 file.
16147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16148 file.
16149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16150 New file.
16151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16152 file.
16153 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16154 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16155 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16156 file.
16157 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16158 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16159 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16160 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16161 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16162 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16163 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16164 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16165 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16166 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16169 file.
16170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16171 New file.
16172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16173 file.
16174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16175 file.
16176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16177 file.
16178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16179 file.
16180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16181 file.
16182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16183 New file.
16184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16185 New file.
16186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16187 file.
16188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16189 New file.
16190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16191 file.
16192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16194 file.
16195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16196 New file.
16197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16198 file.
16199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16200 file.
16201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16202 file.
16203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16204 file.
16205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16206 file.
16207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16208 New file.
16209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16210 New file.
16211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16212 file.
16213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16214 New file.
16215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16216 file.
16217
41d73a1b
JM
162182012-04-28 Joseph Myers <joseph@codesourcery.com>
16219
16220 * conform/conformtest.pl: Fix typo in handling typed-constant from
16221 allow-header.
16222
28aeeda4
JM
162232012-04-27 Joseph Myers <joseph@codesourcery.com>
16224
adae8f5e
JM
16225 * README: Cut down references to pre-2.6 Linux kernels and
16226 Linuxthreads. Update lists of configurations in libc and ports
16227 and sort alphabetically. Say "or newer" with Linux kernel version
16228 requirements.
16229
28aeeda4
JM
16230 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16231
a462cb63
RA
162322012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16233
16234 [BZ #887]
16235 * math/libm-test.inc (logb_test_downward): New test to expose
16236 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16237 rounding mode.
16238
6ad3493e
JM
162392012-04-27 Joseph Myers <joseph@codesourcery.com>
16240
16241 [BZ #14027]
16242 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16243 to be done.
16244 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16245 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16246
2ce4f015
JM
162472012-04-26 Joseph Myers <joseph@codesourcery.com>
16248
5aeb141a
JM
16249 * sysdeps/unix/i386/brk.S: Remove file.
16250 * sysdeps/unix/i386/dl-brk.S: Likewise.
16251 * sysdeps/unix/i386/pipe.S: Likewise.
16252 * sysdeps/unix/i386/sigreturn.S: Likewise.
16253 * sysdeps/unix/i386/syscall.S: Likewise.
16254 * sysdeps/unix/i386/vfork.S: Likewise.
16255 * sysdeps/unix/i386/wait.S: Likewise.
16256
7143acae
JM
16257 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16258 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16259
2ce4f015
JM
16260 * configure.in (arm*-none*): Do not allow without
16261 --enable-hacker-mode.
16262 (netbsd*): Remove case setting base_os.
16263 (386bsd*): Likewise.
16264 (freebsd*): Likewise.
16265 (bsdi*): Likewise.
16266 (osf*): Likewise.
16267 (sunos*): Likewise.
16268 (ultrix*): Likewise.
16269 (newsos*): Likewise.
16270 (dynix*): Likewise.
16271 (*bsd*): Likewise.
16272 (sysv*): Likewise.
16273 (isc*): Likewise.
16274 (esix*): Likewise.
16275 (sco*): Likewise.
16276 (minix*): Likewise.
16277 (irix4*): Likewise.
16278 (irix6*): Likewise.
16279 (solaris[2-9]*): Likewise.
16280 (none): Likewise.
16281 * configure: Regenerated.
16282
0ac229c8
AZ
162832012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16284
16285 [BZ #11521]
16286 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16287 overflow or cancellation in calculating denominator.
16288 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16289 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16290 down expression to avoid unexpected rounding in newer GCCs.
16291 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16292
33f244f4
DM
162932012-04-26 David S. Miller <davem@davemloft.net>
16294
16295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16296 long-double compat symbols.
16297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16310
cfa1f3e8
DM
163112012-04-25 David S. Miller <davem@davemloft.net>
16312
16313 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16314 HWCAP_* values only after the memory barriers have been defined.
16315 (atomic_full_barrier): Define.
16316 (atomic_read_barrier): Define.
16317 (atomic_write_barrier): Define.
16318
6e236b92
SP
163192012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16320
16321 * shlib-versions: Add libgcc_s version information.
16322 * sysdeps/generic/libgcc_s.h: Remove.
16323 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16324 libgcc_s.h.
16325 * sysdeps/gnu/unwind-resume.c: Likewise.
16326 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16327
aab39a09
DM
163282012-04-25 David S. Miller <davem@davemloft.net>
16329
16330 * sysdeps/unix/sparc/brk.S: Delete.
16331 * sysdeps/unix/sparc/dl-brk.S: Delete.
16332 * sysdeps/unix/sparc/pipe.S: Delete.
16333 * sysdeps/unix/sparc/sysdep.S: Delete.
16334 * sysdeps/unix/sparc/sysdep.h: Delete.
16335 * sysdeps/unix/sparc/vfork.S: Delete.
16336 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16337 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16338 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16339 ret_ERRVAL, r0, r1, MOVE): Define.
16340 (JUMPTARGET): Remove.
16341 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16342 sysdeps/unix/sparc/sysdep.h
16343 (ENTRY, END): Remove.
16344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16345
a3cc4f48
JM
163462012-04-25 Joseph Myers <joseph@codesourcery.com>
16347
2ed8cda2
JM
16348 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16349 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16350 -DIS_IN_build.
16351
35d76d59
JM
16352 * timezone/README: Update upstream location and email address for
16353 tzcode and tzdata.
16354 * timezone/zdump.c: Update from tzcode 2012b.
16355 * timezone/zic.c: Likewise.
16356
a3cc4f48
JM
16357 * configure.in (libc_cv_as_needed): Remove test.
16358 * configure: Regenerated.
16359 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16360 conditional definition.
16361 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16362 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16363 * config.make.in (have-as-needed): Remove variable.
16364
ceab42c3
SP
163652012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16366 Paul Pluzhnikov <ppluzhnikov@google.com>
16367
16368 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16369 strings correctly.
16370
3ce2865f
CLT
163712012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16372
16373 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16374 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16375 * sysdeps/sh/strlen.S: Likewise.
16376
f37e0d68
JM
163772012-04-24 Joseph Myers <joseph@codesourcery.com>
16378
ae186e9a
JM
16379 * sysdeps/unix/fork.S: Remove file.
16380 * sysdeps/unix/i386/fork.S: Likewise.
16381 * sysdeps/unix/sparc/fork.S: Likewise.
16382
b96914af
JM
16383 * sysdeps/unix/system.c: Remove file.
16384 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16385
f37e0d68
JM
16386 * sysdeps/unix/getegid.S: Remove file.
16387 * sysdeps/unix/geteuid.S: Likewise.
16388
87ef29ca
RM
163892012-04-24 Roland McGrath <roland@hack.frob.com>
16390
83bcd236
RM
16391 * scripts/check-localplt.awk: New file.
16392 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16393 of diff.
16394 * scripts/data/localplt-generic.data: Add a comment.
16395
87ef29ca
RM
16396 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16397 NODE when __dir_mkfile failed.
16398 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16399 Reported by Ludovic Courtès <ludo@gnu.org>.
16400
e5a6e567
AJ
164012012-04-24 Andreas Jaeger <aj@suse.de>
16402
16403 * Makerules (common-clean): Also remove gen-as-const-headers
16404 files.
16405
c1820385
JM
164062012-04-24 Joseph Myers <joseph@codesourcery.com>
16407
16408 * Makerules (native-compile): Do not change working directory for
16409 build. Use $(OUTPUT_OPTION) in command.
16410 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16411
94e02fc4
AZ
164122012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16413
16414 [BZ #13886]
16415 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16416 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16417 * math/libm-test.inc (floor_test): Add more tests.
16418 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16419
3a533ca3
JM
164202012-04-24 Joseph Myers <joseph@codesourcery.com>
16421
940ab4b3
JM
16422 * sysdeps/unix/getdents.c: Remove file.
16423 * sysdeps/unix/sysv/getdents.c: Likewise.
16424 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16425
90e037bd
JM
16426 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16427 sysdeps/unix/mman/syscalls.list.
16428 (mmap): Likewise.
16429 (mprotect): Likewise.
16430 (msync): Likewise.
16431 (munmap): Likewise.
16432 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16433 * sysdeps/unix/mman/syscalls.list: Remove.
16434 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16435
3a533ca3
JM
16436 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16437 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16438 * configure: Regenerated.
16439 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16440 $(libgcc_s_suffix).
16441 * config.make.in (libgcc_s_suffix): Remove variable.
16442
1ad743de
JM
164432012-04-23 Joseph Myers <joseph@codesourcery.com>
16444
4ad451e2
JM
16445 * sysdeps/unix/sysv/gethostname.c: Move to ...
16446 * sysdeps/posix/gethostname.c: ... here.
16447
5e37ce39
JM
16448 * sysdeps/unix/execve.S: Remove file.
16449
1ad743de
JM
16450 * sysdeps/unix/_exit.S: Remove file.
16451
4e681b5b
AJ
164522012-04-23 Andreas Jaeger <aj@suse.de>
16453
16454 [BZ #13739]
16455 * manual/Makefile: Remove make dist support, there's no
16456 need for a stand-alone documentation tar ball.
16457 (TEXI2DVI): Define always, it's not in Makeconfig.
16458 (dist): Removed.
16459 (tar-it): Removed.
16460 (edition): Removed.
16461 (glibc-doc-$(edition).tar): Removed
16462 (%.Z): Removed.
16463 (%.gz): Removed.
16464 (%.uu): Removed.
16465 (ETAGS): Remove, it's in Makeconfig.
16466 (move-if-change): Remove, it's in Makeconfig.
16467
38686a03 164682012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16469
16470 [BZ #13970]
16471 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16472 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16473 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16474 (strtod_l, strtof_l, strtold_l): Remove __wur.
16475 It is not necessarily an error to ignore strtol's return value.
16476 One can reliably look at the stored endptr to decide whether
16477 the number had valid syntax.
16478
7c0616fa
AJ
164792012-04-21 Andreas Jaeger <aj@suse.de>
16480
803cb6b7 16481 [BZ #13739]
7c0616fa
AJ
16482 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16483
b0fe253f
JM
164842012-04-21 Joseph Myers <joseph@codesourcery.com>
16485
16486 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16487 * sysdeps/unix/sysv/Versions: Remove file.
16488
8280f22d
MT
164892012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16490
16491 [BZ #13927]
16492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16493
75ce411f 164942012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16495
16496 [BZ #7064]
16497 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16498 version from __vm86.
16499
097d59fa
JM
165002012-04-20 Joseph Myers <joseph@codesourcery.com>
16501
a90f3bcb
JM
16502 * sysdeps/unix/common/lxstat.c: Remove file.
16503 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16504
edc7ea78
JM
16505 * sysdeps/unix/sysv/Makefile: Remove file.
16506
cb78c221
JM
16507 * sysdeps/unix/sysv/direct.h: Remove file.
16508
efa6a45f
JM
16509 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16510 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16511 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16512 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16513 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16514 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16515 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16516
9c9f2d0c
JM
16517 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16518
4541c83b
JM
16519 * sysdeps/unix/xmknod.c: Remove file.
16520 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16521
f5d153a0
JM
16522 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16523
aa746595
JM
16524 * sysdeps/unix/sysv/i386/time.S: Remove file.
16525
cce5905e
JM
16526 * sysdeps/unix/fxstat.c: Remove file.
16527 * sysdeps/unix/xstat.c: Likewise.
16528 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16529
37fa3841
JM
16530 * sysdeps/unix/sysv/sigaction.c: Remove file.
16531
ff1962a3
JM
16532 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16533 (sysdep_headers): Remove variable.
16534 [termio.h not in sysdep_headers] (generated): Likewise.
16535 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16536 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16537 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16538 * sysdeps/unix/sysv/tcflow.c: Likewise.
16539 * sysdeps/unix/sysv/tcflush.c: Likewise.
16540 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16541 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16542 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16543 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16544 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16545
e7740d31
JM
16546 * sysdeps/unix/siglist.c: Remove file.
16547
ee06f18b
JM
16548 * sysdeps/unix/getppid.S: Remove file.
16549
097d59fa
JM
16550 * sysdeps/unix/mkdir.c: Remove file.
16551 * sysdeps/unix/rmdir.c: Likewise.
16552
ff3d51ec
AS
165532012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16554
16555 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16556 ERR_MAX value.
16557 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16558 errlist-compat value.
16559
50f81fd7
DM
165602012-04-18 David S. Miller <davem@davemloft.net>
16561
16562 * sysdeps/generic/memcopy.h (reg_char): Delete.
16563 * debug/strcat_chk.c: Use char, not reg_char.
16564 * debug/strcpy_chk.c: Likewise.
16565 * debug/strncat_chk.c: Likewise.
16566 * debug/strncpy_chk.c: Likewise.
16567 * string/memchr.c: Likewise.
16568 * string/memrchr.c: Likewise.
16569 * string/rawmemchr.c: Likewise.
16570 * string/strcat.c: Likewise.
16571 * string/strchr.c: Likewise.
16572 * string/strchrnul.c: Likewise.
16573 * string/strcmp.c: Likewise.
16574 * string/strcpy.c: Likewise.
16575 * string/strncat.c: Likewise.
16576 * string/strncmp.c: Likewise.
16577 * string/strncpy.c: Likewise.
16578
8ff41c46
WS
165792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16580
16581 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16582 __builtin_memcopy is called when src and dest ranges are known to not
16583 overlap.
16584
6b652f46
WS
165852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16586
16587 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16588 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16589 fwd_align_merge macro call.
16590 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16591 bwd_align_merge macro call.
16592 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16593
b282631e
WS
165942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16595
16596 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16597 bwd_align_merge macros.
16598 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16599 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16600 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16601
95aa737c
DM
166022012-04-18 David S. Miller <davem@davemloft.net>
16603
16604 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16605
7a99a614
AJ
166062012-04-18 Andreas Jaeger <aj@suse.de>
16607
16608 [BZ# 6794]
16609 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16610 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16611 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16612
16613 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16614 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16615 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16616
16617 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16618 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16619 Adjust for changed ldbl-128 files.
16620
16621 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16622 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16623 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16624
e5270c23
DM
166252012-04-17 David S. Miller <davem@davemloft.net>
16626
16627 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16628
fb5e92c9
AS
166292012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16630
16631 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16632 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16633 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16634 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16635 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16636 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16637
76da7265
AZ
166382012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16639
16640 [BZ #6794]
16641 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16642 * math/libm-test.inc: Add ilogb errno and exception tests.
16643 * math/w_ilogb.c: New file: ilogb wrapper.
16644 * math/w_ilogbf.c: New file: ilogbf wrapper.
16645 * math/w_ilogbl.c: New file: ilogbl wrapper.
16646 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16647 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16648 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16649 exception being thrown with 0.0 as argument.
16650 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16651 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16652 exception being thrown with 0.0 as argument.
16653 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16654 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16655 exception being thrown with 0.0 as argument.
16656 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16657 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16658 exception being thrown with 0.0 as argument.
16659 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16660 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16661 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16662 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16663 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16664 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16665 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16666 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16667 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16668
0396e69d
PB
166692012-04-17 Petr Baudis <pasky@ucw.cz>
16670
16671 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16672 with altivec.
16673
750b5926
MP
166742012-04-16 Marek Polacek <polacek@redhat.com>
16675
16676 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16677
751728a1
MP
166782012-04-16 Marek Polacek <polacek@redhat.com>
16679
16680 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16681 operands of fdivp instruction.
16682
34a27407
L
166832012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16684
16685 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16686 * elf/tst-auditmod3b.c: Likewise.
16687 * elf/tst-auditmod4b.c: Likewise.
16688 * elf/tst-auditmod5b.c: Likewise.
16689 * elf/tst-auditmod6b.c: Likewise.
16690 * elf/tst-auditmod6c.c: Likewise.
16691 * elf/tst-auditmod7b.c: Likewise.
16692 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16693 * sysdeps/x86_64/preconfigure.in: Likewise.
16694 * sysdeps/x86_64/preconfigure: Regenerated.
16695
7e73e17d
L
166962012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16697
16698 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16699 __ILP32__.
16700
c7a6ab72
AB
167012012-04-13 Antoine Balestrat <merkil33@gmail.com>
16702
16703 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16704 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16705
a9e8e0e0
CL
167062012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16707
16708 [BZ #13973]
16709 * locale/iso-639.def: Fix gl language name. Spotted by
16710 Yaron Shahrabani.
16711
ec98af7d
RM
167122012-04-12 Roland McGrath <roland@hack.frob.com>
16713
16714 [BZ #2074]
16715 * libio/libio.h (__io_write_fn): Update comment.
16716
247c3ede
PB
167172012-04-12 Petr Baudis <pasky@ucw.cz>
16718
16719 [BZ #2074]
16720 * stdio.texi (Hook Functions): The user provided writer function
16721 is not allowed to return -1.
16722
55939d6d
DM
167232012-04-11 David S. Miller <davem@davemloft.net>
16724
16725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16726
90020f5a
MF
167272012-04-11 Mike Frysinger <vapier@gentoo.org>
16728
16729 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16730 Add a leading slash to rtkaio.
16731
288f9098
JM
167322012-04-11 Jim Meyering <meyering@redhat.com>
16733
90020f5a
MF
16734 [BZ #11959]
16735 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16736 It is not necessarily an error to ignore fwrite's return
16737 value. One can reliably use ferror to test for errors after
16738 the fact.
288f9098 16739
4be2b570
L
167402012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16741
16742 * bits/types.h (__snseconds_t): New type.
16743 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16744
16745 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16746 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16747 (__SNSECONDS_T_TYPE): Likewise.
16748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16749 (__SNSECONDS_T_TYPE): Likewise.
16750 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16751 (__SNSECONDS_T_TYPE): Likewise.
16752
288f9098 167532012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16754
16755 [BZ #2636]
16756 * manual/time.texi (Processor Time): Return type of times is
16757 elapsed real time since an arbitrary point in the past.
16758 (CPU Time): Move CLK_TCK from here...
16759 (Processor Time): ...to here. Correct description.
16760 * manual/conf.texi (Constants for Sysconf): Correct description of
16761 _SC_CLK_TCK.
16762
d7dd4413
DM
167632012-04-10 David S. Miller <davem@davemloft.net>
16764
16765 [BZ #13967]
16766 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16767 where the is a gap between DT_REL(A) and DT_JMPREL.
16768
b46068fc
L
167692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16770
16771 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16772 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16773 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16774
73d65cc3
SP
167752012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16776
16777 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16778 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16779 (dl_main): Handle --inhibit-cache.
16780 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16781 _dl_inhibit_cache.
16782 * elf/dl-load.c (_dl_map_object): Use it.
16783 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16784
bcc8d661
JM
167852012-04-09 Joseph Myers <joseph@codesourcery.com>
16786
8f9a2fae
JM
16787 [BZ #13872]
16788 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16789 (__ieee754_powl): Saturate large exponents rather than testing for
16790 overflow of y*log2(x).
16791 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16792 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16793 exceptions.
16794
bcc8d661
JM
16795 [BZ #11521]
16796 * math/s_ctan.c: Include <float.h>.
16797 (__ctan): Avoid internal overflow or cancellation in calculating
16798 denominator.
16799 * math/s_ctanf.c: Likewise.
16800 * math/s_ctanl.c: Likewise.
16801 * math/s_ctanh.c: Likewise.
16802 * math/s_ctanhf.c: Likewise.
16803 * math/s_ctanhl.c: Likewise.
16804 * math/libm-test.inc (ctan_test): Add more tests.
16805 (ctanh_test): Likewise.
16806 * sysdeps/i386/fpu/libm-test-ulps: Update.
16807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16808
823fbbb4
AJ
168092012-04-09 Andreas Jaeger <aj@suse.de>
16810
03879793
AJ
16811 [BZ #6894]
16812 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16813 is an optional BSD extension.
16814
823fbbb4
AJ
16815 [BZ #10254]
16816 * manual/stdio.texi (Opening Streams): Document additional fopen
16817 parameters.
16818
8de131cb
RM
168192012-04-09 Roland McGrath <roland@hack.frob.com>
16820
16821 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16822 %eax without telling the compiler.
16823
c0ed9d7d
CD
168242012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16825
16826 [BZ # 13963]
16827 * manual/install.texi: Use sourceware.org.
16828
c483f6b4
JM
168292012-04-09 Joseph Myers <joseph@codesourcery.com>
16830
d7dd9453
JM
16831 [BZ #13873]
16832 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16833 (__ieee754_pow): Generate overflow and underflow using huge*huge
16834 and tiny*tiny rather than just returning constant infinity or zero
16835 for large exponents.
16836 * math/libm-test.inc (pow_test): Require overflow exceptions for
16837 applicable cases of large exponents.
16838
c483f6b4
JM
16839 [BZ #706]
16840 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16841 (__ieee754_pow): Use iterative multiplication algorithm only for
16842 integer exponents with absolute value below 1024. Check for odd
16843 integer exponents when using algorithm for real exponents.
16844 * math/libm-test.inc (pow_test): Add more tests.
16845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16846
d2de7579
JM
168472012-04-08 Joseph Myers <joseph@codesourcery.com>
16848
16849 [BZ #13705]
16850 * math/libm-test.inc (exp_test): Do not allow overflow exception
16851 on underflow test.
16852
f77f1232
AJ
168532012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16854
16855 [BZ #13705]
16856 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16857 instead of __kernel_standard_f.
16858
3884932b
MF
168592012-04-08 Mike Frysinger <vapier@gentoo.org>
16860
16861 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16862 * sysdeps/x86_64/memset_chk.S: Likewise.
16863
54472e9c
AJ
168642012-04-08 Andreas Jaeger <aj@suse.de>
16865
6ab0fbfc
AJ
16866 [BZ #10153]
16867 * manual/startup.texi (Environment Access): Describe return value
16868 for putenv and setenv.
16869
61efba8c
AJ
16870 [BZ #6895]
16871 * manual/filesys.texi (Directory Entries): Add description for
16872 DT_LNK.
16873
95c3f29a
AJ
16874 [BZ #6890]
16875 * manual/filesys.texi (Directory Entries): Clarify that it's file
16876 system not operating system in the description of DT_UNKNOWN.
16877
54472e9c
AJ
16878 [BZ #6578]
16879 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16880
624254b1
SC
168812012-04-08 Stephen Compall <s11@member.fsf.org>
16882
16883 [BZ #6649]
16884 * manual/llio.texi (Opening and Closing Files): Add cross
16885 reference to explain mode argument.
16886
1e4920e0
MF
168872012-04-07 Mike Frysinger <vapier@gentoo.org>
16888
16889 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16890 * sysdeps/x86_64/memset_chk.S: Likewise.
16891
5ed848f3
DM
168922012-04-07 David S. Miller <davem@davemloft.net>
16893
16894 * elf/elf.h (R_SPARC_WDISP10): Define.
16895 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16896 R_SPARC_SIZE32.
16897 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16898 R_SPARC_SIZE64 and R_SPARC_H34.
16899
96154cd8
CD
169002012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16901
16902 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16903 conditions and remove no longer applicable assertion.
16904
9904dc47
L
169052012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16906
16907 * bits/byteswap.h: Include <features.h>.
16908 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16909 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16910
f8887d0a
L
169112012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16912
16913 * bits/byteswap.h (__bswap_16): Removed.
16914 Include <bits/byteswap-16.h> to get __bswap_16.
16915 * sysdeps/i386/bits/byteswap.h: Likewise.
16916 * sysdeps/s390/bits/byteswap.h: Likewise.
16917 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16918 * bits/byteswap-16.h: New file.
16919 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16920 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16921 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16922 * string/Makefile (headers): Add bits/byteswap-16.h.
16923
62470f60
PP
169242012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16925
16926 [BZ #13895]
16927 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16928 extra indirection.
16929 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16930 * nss/tst-nss-static.c: New.
16931
4dad7bab
RM
169322012-04-06 Robert Millan <rmh@gnu.org>
16933
16934 [BZ #6486]
16935 * manual/llio.texi (File Position Primitive): lseek
16936 refers to WHENCE when it really means OFFSET.
16937
e9142a17
AJ
169382012-04-06 Andreas Jaeger <aj@suse.de>
16939
2c040eff
AJ
16940 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16941 strncmp declarations.
16942
e9142a17
AJ
16943 * abilist/libc.abilist: Add __poll and __ppoll.
16944
ff9f1c5f
DM
169452012-04-05 David S. Miller <davem@davemloft.net>
16946
dcd2ae90
DM
16947 * scripts/check-local-headers.sh: Accept a host triplet in the
16948 path matched by the exclude regexp.
16949
993eb054
DM
16950 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16951 definition.
16952 * sysdeps/powerpc/powerpc32/dl-machine.h
16953 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16954 * sysdeps/s390/s390-32/dl-machine.h
16955 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16956 * sysdeps/sparc/sparc32/dl-machine.h
16957 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16958 * sysdeps/sparc/sparc64/dl-machine.h
16959 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16960
ff9f1c5f
DM
16961 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16962 lazy binding.
48e2e132 16963 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16964 undefined symbol errors.
16965
48e2e132 16966 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16967 DT_NEEDED entries.
16968
e80d6f94
MM
169692012-04-05 Michael Matz <matz@suse.de>
16970
16971 [BZ #13592]
16972 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16973
349fa79f
AJ
169742012-04-05 Andreas Jaeger <aj@suse.de>
16975
16976 [BZ #13908]
16977 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16978 comment.
16979
f402708f
KK
169802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16981
16982 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16983 which ROUND is no valid rounding mode.
16984
2ecccfc9
KK
169852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16986
16987 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16988 read again.
16989 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16990
8a53f50f
KK
169912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16992
16993 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16994 an exception using FPU order intentionally.
16995
169962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16997
16998 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16999 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17000 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17001 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17002
d653abb7
SJ
170032012-04-05 Simon Josefsson <simon@josefsson.org>
17004
17005 [BZ #12340]
17006 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17007 EINVAL when BUFLEN is too smal.
17008
c3b1bf7d
TS
170092012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17010
17011 [BZ #13553]
17012 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17013 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17014
b1aa60f3
AJ
170152012-04-03 Andreas Jaeger <aj@suse.de>
17016
c3b1bf7d 17017 [BZ #13938]
67f60a26
AJ
17018 * manual/setjmp.texi (System V contexts): Fix sentence.
17019
b1aa60f3
AJ
17020 [BZ #13926]
17021 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17022 New macro for this case.
17023 [!__GNUC__] (__bswap_64): New inline function for this case.
17024 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17025 * bits/byteswap.h: Likewise.
17026 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17027 ull, guard with __GLIBC_HAVE_LONG_LONG.
17028
17029 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17030 __GLIBC_HAVE_LONG_LONG.
17031
17032 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17033 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17034
39c59c35
TMQMF
170352012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17036
17037 [BZ #13691]
17038 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17039 inptr and inend, rather than using last_ch.
17040
135ffda8
DM
170412012-04-02 David S. Miller <davem@davemloft.net>
17042
17043 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17044 * stdio-common/printf-parse.h (read_int): Change return type to
17045 'int', return -1 on INT_MAX overflow.
17046 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17047 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17048 overflows INT_MAX. Check for overflow of in-format-string precision
17049 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17050 SIZE_MAX not INT_MAX for integer overflow test.
17051 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17052 skip the construct in the format string but do not record anything.
17053 * stdio-common/bug22.c: Adjust to test both width/prevision
17054 INT_MAX overflow as well as total length INT_MAX overflow. Check
17055 explicitly for proper errno values.
17056
228c019e
TS
170572012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17058
302cadd3
TS
17059 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17060 CHAR_MAX.
17061 * string/test-strcmp.c [! WIDE]: Likewise.
17062 * time/tst-mktime2.c: Likewise for INT_MAX.
17063 * string/test-string.h: #include <sys/param.h> for MIN.
17064
228c019e
TS
17065 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17066 * sysdeps/i386/init-first.c (init): Likewise.
17067 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17068 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17069 * sysdeps/sh/init-first.c (init): Likewise.
17070
cfa633f5
UD
170712012-04-01 Ulrich Drepper <drepper@gmail.com>
17072
17073 * po/ru.po: Update from translation team.
d1635ef8 17074 * po/vi.po: Likewise.
cfa633f5 17075
6cd0a5ea
SP
170762012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17077
17078 * resolv/nss_dns/dns-host.c: Merge copyright years.
17079
4b43400f
LD
170802012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17081
17082 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17083 Optimize memcpy with prefetch if
17084 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17085 src, dst pointers have unequal 16 byte alignments.
17086
48c41d04
SP
170872012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17088
17089 [BZ #13928]
17090 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17091 from a CNAME entry and return the minimum ttl for the query.
17092 (gaih_getanswer_slice): Likewise.
17093
b8dc394d
JL
170942012-03-30 Jeff Law <law@redhat.com>
17095
17096 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17097 due to long keys.
17098 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17099 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17100
2f5a5ed0
JL
17101 * resolv/nss_dns/dns-host.c: Update copyright year.
17102
1d39e359
UD
171032012-03-30 Ulrich Drepper <drepper@gmail.com>
17104
c030f70c 17105 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17106 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17107
1d39e359
UD
17108 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17109 comments for sendmmsg.
17110
171112012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17112
17113 [BZ #13691]
17114 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17115 with only 1 character between 0x0041 and 0x01b0.
17116 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17117 * wcsmbs/tst-mbsnrtowcs.c: New file.
17118
20fde227
DM
171192012-03-29 David S. Miller <davem@davemloft.net>
17120
17121 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17122 small copies by hand.
17123
984a4237
JL
171242012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17125
17126 [BZ #13761]
17127 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17128 _nss_compat_initgroups_dyn): Fall back to malloc/free
17129 for large group memberships.
17130
18c9d62b
DM
171312012-03-28 David S. Miller <davem@davemloft.net>
17132
88d85d4f
DM
17133 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17134 that branches into memcpy.
17135 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17136 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17137 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17138 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17139 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17140 bits.
17141 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17142 implementation too.
17143 * sysdeps/sparc/mempcpy.S: New file.
17144
e5aa83e1
DM
17145 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17146 the IFUNC routine in the libc case.
17147 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17148
88570753
DM
17149 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17150 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17151 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17152 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17153 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17154 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17155 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17156 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17157
249d7567
DM
17158 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17159 loop to 256 bytes instead of 64 bytes and fix test signedness.
17160
18c9d62b
DM
17161 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17162 * sysdeps/sparc/sparc32/Makefile: rather than here...
17163 * sysdeps/sparc/sparc64/Makefile: and here.
17164
05f3d1f6
UD
171652012-03-28 Ulrich Drepper <drepper@gmail.com>
17166
17167 * malloc/mallocbug.c: Avoid warnings about unused variables.
17168
86ae07a8
JL
171692012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17170
17171 [BZ #13760]
17172 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17173 in the right place. Discard and retry query if response is
17174 larger than input buffer size.
17175
41bf21a1
JM
171762012-03-28 Joseph Myers <joseph@codesourcery.com>
17177
d6270972
JM
17178 [BZ #369]
17179 [BZ #2678]
17180 [BZ #3866]
17181 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17182 x for large integer exponent.
17183 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17184 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17185 sign of result as needed afterwards.
17186 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17187 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17188 result for underflowing pow the same as for overflow.
17189 (__kernel_standard_l): Handle powl overflow and underflow here
17190 rather than calling __kernel_standard.
17191 * math/libm-test.inc (pow_test): Add more tests.
17192
414fca03 17193 [BZ #3868]
41bf21a1
JM
17194 [BZ #13879]
17195 [BZ #13910]
17196 [BZ #13911]
17197 [BZ #13912]
17198 [BZ #13913]
17199 [BZ #13915]
17200 [BZ #13916]
17201 [BZ #13917]
17202 [BZ #13918]
17203 [BZ #13919]
17204 [BZ #13920]
17205 [BZ #13921]
17206 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17207 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17208 (__kernel_standard_l): New function.
17209 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17210 __kernel_standard.
17211 * math/w_acosl.c (__acosl): Likewise.
17212 * math/w_asinl.c (__asinl): Likewise.
17213 * math/w_atan2l.c (__atan2l): Likewise.
17214 * math/w_atanhl.c (__atanhl): Likewise.
17215 * math/w_coshl.c (__coshl): Likewise.
17216 * math/w_exp10l.c (__exp10l): Likewise.
17217 * math/w_exp2l.c (__exp2l): Likewise.
17218 * math/w_fmodl.c (__fmodl): Likewise.
17219 * math/w_hypotl.c (__hypotl): Likewise.
17220 * math/w_j0l.c (__j0l, __y0l): Likewise.
17221 * math/w_j1l.c (__j1l, __y1l): Likewise.
17222 * math/w_jnl.c (__jnl, __ynl): Likewise.
17223 * math/w_lgammal.c (__lgammal): Likewise.
17224 * math/w_log10l.c (__log10l): Likewise.
17225 * math/w_log2l.c (__log2l): Likewise.
17226 * math/w_logl.c (__logl): Likewise.
17227 * math/w_powl.c (__powl): Likewise.
17228 * math/w_remainderl.c (__remainderl): Likewise.
17229 * math/w_scalbl.c (sysv_scalbl): Likewise.
17230 * math/w_sinhl.c (__sinhl): Likewise.
17231 * math/w_sqrtl.c (__sqrtl): Likewise.
17232 * math/w_tgammal.c (__tgammal): Likewise.
17233 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17234 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17235 * math/libm-test.inc (acos_test): Add more tests.
17236 (acosh_test): Likewise.
17237 (asin_test): Likewise.
17238 (atanh_test): Likewise.
17239 (exp_test): Likewise.
17240 (exp10_test): Likewise.
17241 (exp2_test): Likewise.
17242 (expm1_test): Likewise.
17243 (lgamma_test): Likewise.
17244 (log_test): Likewise.
17245 (log10_test): Likewise.
17246 (log1p_test): Likewise.
17247 (log2_test): Likewise.
17248 (pow_test): Do not allow some spurious overflow exceptions.
17249 (sqrt_test): Add more tests.
17250 (tgamma_test): Likewise.
17251 (y0_test): Likewise.
17252 (y1_test): Likewise.
17253 (yn_test): Likewise.
17254
dd62fda6
AB
172552012-03-27 Anton Blanchard <anton@samba.org>
17256
17257 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17258 MAP_HUGETLB.
17259 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17260 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17261 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17262
1e3cdfda
AJ
172632012-03-27 David S. Miller <davem@davemloft.net>
17264
b855ab85
DM
17265 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17266
1e3cdfda
AJ
17267 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17268 have-as-vis3 check.
17269
172702012-03-27 Andreas Jaeger <aj@suse.de>
17271
17272 * sysdeps/x86_64/elf/configure.in: Moved to ...
17273 * sysdeps/x86_64/configure.in: ... here.
17274 * sysdeps/x86_64/elf/start.S: Moved to ...
17275 * sysdeps/x86_64/start.S: ... here.
17276 * sysdeps/x86_64/elf/configure: Delete.
17277
17278 * sysdeps/x86_64/configure.in: Merge contents from
17279 sysdeps/i386/configure.in (without i686 check).
17280
17281 * sysdeps/i386/elf/Versions: Merge into ...
17282 * sysdeps/i386/Versions: ... this.
17283 * sysdeps/i386/elf/Versions: Delete file.
17284 * sysdeps/i386/elf/start.S: Moved to ...
17285 * sysdeps/i386/start.S: ...here.
17286 * sysdeps/i386/elf/configure.in: Merge into...
17287 * sysdeps/i386/configure.in: ...here.
17288 * sysdeps/i386/elf/configure.in: Delete file.
17289 * sysdeps/i386/elf/configure: Delete file.
17290
17291 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17292 * debug/backtracesyms.c: ... here.
17293 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17294 * debug/backtracesymsfd.c: ... here.
17295 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17296 * sysdeps/generic/ifunc-sel.h: ... here.
17297
17298 * sysdeps/unix/i386/start.c: Delete file.
17299 * sysdeps/unix/sparc/start.c: Delete file.
17300 * sysdeps/unix/start.c: Delete file.
17301
17302 * sysdeps/sh/elf/configure.in: Moved to ...
17303 * sysdeps/sh/configure.in: ... here.
17304 * sysdeps/sh/elf/start.S: Moved to ...
17305 * sysdeps/sh/start.S: ... here.
17306 * sysdeps/sh/elf/configure: Delete file.
17307
17308 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17309 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17310 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17311 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17312 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17313 * sysdeps/powerpc/powerpc64/start.S: here.
17314 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17315 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17316 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17317 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17318 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17319
17320 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17321 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17322 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17323 * sysdeps/powerpc/powerpc32/start.S: ... here.
17324 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17325 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17326 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17327
17328 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17329 * sysdeps/powerpc/ifunc-sel.h: ... here.
17330 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17331 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17332
17333 * sysdeps/sparc/elf/configure.in: Moved to ...
17334 * sysdeps/sparc/configure.in: ... here.
17335 * sysdeps/sparc/elf/configure: Delete file.
17336 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17337 * sysdeps/sparc/sparc32/start.S: ... here.
17338 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17339 * sysdeps/sparc/sparc64/start.S: ... here.
17340 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17341 * sysdeps/sparc/sparc32/Makefile: ... this.
17342 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17343 * sysdeps/sparc/sparc64/Makefile: ... this.
17344
17345 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17346 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17347 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17348 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17349 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17350 * sysdeps/s390/s390-32/setjmp.S: ... here.
17351 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17352 * sysdeps/s390/s390-32/configure.in: ... here.
17353 * sysdeps/s390/s390-32/elf/configure: Delete file.
17354 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17355 * sysdeps/s390/s390-32/start.S: ... here.
17356
17357 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17358 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17359 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17360 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17361 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17362 * sysdeps/s390/s390-64/setjmp.S: ... here.
17363 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17364 * sysdeps/s390/s390-64/configure.in: ... here
17365 * sysdeps/s390/s390-64/elf/configure: Delete file.
17366 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17367 * sysdeps/s390/s390-64/start.S: ... here.
17368 * sysdeps/s390/s390-64/elf/configure: Delete.
17369
17370 * configure.in: Remove support for elf directories in sysdeps.
17371
17372 * configure: Regenerated.
17373 * sysdeps/i386/configure: Regenerated.
17374 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17375 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17376 * sysdeps/s390/s390-32/configure: Regenerated.
17377 * sysdeps/s390/s390-64/configure: Regenerated.
17378 * sysdeps/sh/configure: Regenerated.
17379 * sysdeps/sparc/configure: Regenerated.
17380 * sysdeps/x86_64/configure: Regenerated.
17381
a3f61311
AS
173822012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17383
c876e002
AS
17384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17385
a3f61311
AS
17386 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17387 denormal result into account.
17388
ac4c54f0
RM
173892012-03-25 Roland McGrath <roland@hack.frob.com>
17390
17391 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17392 Reported by Allan McRae <allan@archlinux.org>.
17393
6a9b9c02
JL
173942012-03-23 Jeff Law <law@redhat.com>
17395
17396 * nss/getnssent.c (__nss_getent): Fix typo.
17397
4c42a0c1
DM
173982012-03-23 David S. Miller <davem@davemloft.net>
17399
17400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17401
1532c7ac
L
174022012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17403
17404 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17405 to pad to uint64_t for each field.
17406 (dl_tls_index): Replace unsigned long with uint64_t.
17407
3ff42526
PP
174082012-03-23 Daniel Jacobowitz <dmj@google.com>
17409 Paul Pluzhnikov <ppluzhnikov@google.com>
17410
17411 [BZ #6528]
17412 * grp/Makefile (otherlibs): Don't set it.
17413 * inet/Makefile (otherlibs): Likewise.
17414 * login/Makefile (otherlibs): Likewise.
17415 * nscd/Makefile (otherlibs): Likewise.
17416 * posix/Makefile (otherlibs): Likewise.
17417 * pwd/Makefile (otherlibs): Likewise.
17418 * rt/Makefile (otherlibs): Likewise.
17419 * sunrpc/Makefile (otherlibs): Likewise.
17420 * nss/Makefile (otherlibs): Likewise.
17421 Add libnss_files to routines and static-only-routines.
17422 ($(objpfx)getent): Remove rule.
17423 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17424 static-only-routines.
17425
7c69cd14
JM
174262012-03-22 Joseph Myers <joseph@codesourcery.com>
17427
17428 [BZ #13892]
17429 * math/s_cexp.c: Include <float.h>.
17430 (__cexp): Handle exp result overflowing not necessarily
17431 overflowing both real and imaginary parts of result.
17432 * math/s_cexpf.c: Likewise.
17433 * math/s_cexpl.c: Likewise.
17434 * math/libm-test.inc (cexp_test): Add more tests.
17435 * sysdeps/i386/fpu/libm-test-ulps: Update.
17436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17437
81b035fe
L
174382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17439
17440 * include/link.h (ELFW): New macro.
17441 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17442 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17443
1da7940c
L
174442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17445
17446 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17447 with uint64_t.
17448
b749dbb9
L
174492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17450
17451 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17452 declaration.
17453 (struct La_x32_retval): Likewise.
17454
2ff87f3f
L
174552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17456
17457 * sysdeps/x86_64/preconfigure.in: New file.
17458 * sysdeps/x86_64/preconfigure: New generated file.
17459
c0df8e69
JM
174602012-03-22 Joseph Myers <joseph@codesourcery.com>
17461
48e44791
JM
17462 [BZ #13824]
17463 * math/e_exp2l.c: Include <float.h>.
17464 (__ieee754_exp2l): Handle overflow and underflow cases
17465 separately. Only pass fractional part of argument to
17466 __ieee754_expl.
17467 * math/libm-test.inc (exp2_test): Add more tests.
17468
c0df8e69
JM
17469 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17470 negating x to take absolute value.
17471 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17472 Likewise.
17473 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17474 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17475 Likewise.
17476 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17477 computing low part if x was negated.
17478 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17479
c8e43ba7
L
174802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17481
17482 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17483 la_x32_gnu_pltexit.
17484 (pltexit): Cast int_retval to ptrdiff_t.
17485 * elf/tst-auditmod3b.c: Likewise.
17486 * elf/tst-auditmod4b.c: Likewise.
17487 * elf/tst-auditmod5b.c: Likewise.
17488 * elf/tst-auditmod6b.c: Likewise.
17489 * elf/tst-auditmod6c.c: Likewise.
17490 * elf/tst-auditmod7b.c: Likewise.
17491
17492 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17493 and x32_gnu_pltexit.
17494
17495 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17496 __ELF_NATIVE_CLASS.
17497 (La_x32_regs): New macro.
17498 (La_x32_retval): Likewise.
17499 (la_x32_gnu_pltenter): New function prototype.
17500 (la_x32_gnu_pltexit): Likewise.
17501
7998fa78
AS
175022012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17503
dcb33988
AS
17504 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17505 exponent.
17506
233fc563
AS
17507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17508
7998fa78
AS
17509 * configure.in (libc_cv_cc_nofma): Check for option to disable
17510 generation of FMA instructions.
17511 * configure: Regenerate.
17512 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17513 * sysdeps/ieee754/dbl-64/Makefile: New file.
17514 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17515 Remove brandred-fma4.
17516 (CFLAGS-brandred-fma4.c): Remove.
17517 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17518 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17519 define.
17520 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17521 define.
17522
8e95c99a
L
175232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17524
17525 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17526 LLONG_MAX != LONG_MAX.
17527 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17528 (_fitoa_word): Likewise.
17529 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17530 LLONG_MAX != LONG_MAX.
17531 * stdio-common/_itowa.h: Include <_itoa.h>.
17532 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17533 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17534 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17535 only if not defined.
17536 (_ITOA_WORD_TYPE): Likewise.
17537 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17538 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17539
6f4db457
DM
175402012-03-21 David S. Miller <davem@davemloft.net>
17541
17542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17543
7785fe5a
L
175442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17545
17546 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17547 of x86_64 when setting libc_cv_slibdir, libdir and
17548 libc_cv_localedir.
17549 * sysdeps/unix/sysv/linux/configure: Regenerated.
17550
4535cd55
JM
175512012-03-21 Joseph Myers <joseph@codesourcery.com>
17552
17553 * manual/lang.texi (Old Varargs): Remove section.
17554 (How Variadic): Update menu.
17555 (va_start): Do not mention varargs.h.
17556
17228132
TS
175572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17558 Joseph Myers <joseph@codesourcery.com>
17559
17560 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17561 link test.
17562 * configure: Regenerated.
17563
8149f976
TS
175642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17565
05f3d1f6
UD
17566 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17567 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17568 conformtest.pl
8149f976 17569
1a4ac776
JM
175702012-03-21 Joseph Myers <joseph@codesourcery.com>
17571
be22ce65
JM
17572 * NOTES: Remove.
17573 * Makefile (files-for-dist): Remove NOTES.
17574 (NOTES): Remove rule.
17575 * README: Don't refer to NOTES.
17576 * manual/creature.texi: Don't include macros.texi.
17577 * manual/intro.texi (creature.texi): Remove comment referring to
17578 NOTES.
17579
40b601fb
JM
17580 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17581 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17582 * configure: Regenerated.
17583 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17584 LIBC_TRY_CC_OPTION.
17585 (libc_cv_as_i686): Likewise.
17586 (libc_cv_cc_avx): Likewise.
17587 (libc_cv_cc_sse2avx): Likewise.
17588 (libc_cv_cc_fma4): Likewise.
17589 (libc_cv_cc_novzeroupper): Likewise.
17590 * sysdeps/i386/configure: Regenerated.
17591
1a4ac776
JM
17592 [BZ #13883]
17593 * sysdeps/i386/fpu/s_cexp.S: Remove.
17594 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17595 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17596 * math/libm-test.inc (cexp_test): Add more tests.
17597 * sysdeps/i386/fpu/libm-test-ulps: Update.
17598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17599
a458e7fe
AM
176002012-03-21 Allan McRae <allan@archlinux.org>
17601
17602 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17603
0cb7efc5
JM
176042012-03-21 Joseph Myers <joseph@codesourcery.com>
17605
17606 [BZ #13871]
17607 * math/w_exp2.c: Do not include <float.h>.
17608 (o_threshold, u_threshold): Remove.
17609 (__exp2): Calculate result before checking finiteness and calling
17610 __kernel_standard.
17611 * math/w_exp2f.c: Likewise.
17612 * math/w_exp2l.c: Likewise.
17613 * math/libm-test.inc (exp2_test): Require overflow exception for
17614 1e6 input.
2460d3aa
JM
17615
17616 [BZ #3866]
17617 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17618 range of signed 64-bit integers before using fistpll. Remove
17619 checks for whether integers fit in mantissa bits.
17620 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17621 the range of signed 32-bit integers before using fistpl. Remove
17622 checks for whether integers fit in mantissa bits.
17623 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17624 (__ieee754_powl): Test for y outside the range of signed 64-bit
17625 integers before using fistpll. Reduce 64-bit values to 63-bit
17626 ones as needed.
17627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17628 divide-by-zero is raised for zero to large negative powers.
17629 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17630 (__ieee754_powl): Test for y outside the range of signed 64-bit
17631 integers before using fistpll. Reduce 64-bit values to 63-bit
17632 ones as needed.
17633 * math/libm-test.inc (pow_test): Add more tests.
17634
eb96ffb0
L
176352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17636
17637 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17638 <stdio-common/_itoa.h>.
17639 * debug/segfault.c: Likewise.
17640 * elf/dl-cache.c: Likewise.
17641 * elf/dl-minimal.c: Likewise.
17642 * elf/dl-misc.c: Likewise.
17643 * elf/dl-sysdep.c: Likewise.
17644 * elf/dl-version.c: Likewise.
17645 * elf/rtld.c: Likewise.
17646 * hurd/hurdsock.c: Likewise.
17647 * hurd/lookup-retry.c: Likewise.
17648 * malloc/malloc.c: Likewise.
17649 * malloc/mtrace.c: Likewise.
17650 * nscd/nscd_getgr_r.c: Likewise.
17651 * nscd/nscd_getpw_r.c: Likewise.
17652 * nscd/nscd_getserv_r.c: Likewise.
17653 * posix/getopt_init.c: Likewise.
17654 * posix/wordexp.c: Likewise.
17655 * stdio-common/_itoa.c: Likewise.
17656 * stdio-common/printf_fphex.c: Likewise.
17657 * stdio-common/vfprintf.c: Likewise.
17658 * string/_strerror.c: Likewise.
17659 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17660 * sysdeps/i386/i686/hp-timing.h: Likewise.
17661 * sysdeps/mach/_strerror.c: Likewise.
17662 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17663 * sysdeps/mach/hurd/sethostid.c: Likewise.
17664 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17665 * sysdeps/mach/xpg-strerror.c: Likewise.
17666 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17667 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17668 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17669 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17670 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17671 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17672 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17673 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17674 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17675 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17676 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17677 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17678 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17679 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17680 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17681 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17682 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17683 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17684 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17685 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17686 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17687
17688 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17689
17690 * stdio-common/_itoa.h: Moved to ...
17691 * sysdeps/generic/_itoa.h: Here.
17692
17693 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17694
17695 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17696 instead of "_itoa.h" and "_itowa.h".
17697 * stdio-common/vfprintf.: Likewise.
17698
d1af992d
L
176992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17700
17701 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17702 <bits/wordsize.h>.
17703 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17704 (__signbit): Likwise.
17705 (llrintf): Likwise.
17706 (llrint): Likwise.
17707
114883e0
L
177082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17709
17710 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17711 __WORDSIZE != 64.
17712
c135cc1b
JM
177132012-03-20 Joseph Myers <joseph@codesourcery.com>
17714
17715 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17716 OVERFLOW_EXCEPTION_OK.
17717 * math/libm-test.inc ("Philosophy"): Update comment about
17718 exception testing.
17719 (OVERFLOW_EXCEPTION): Define.
17720 (OVERFLOW_EXCEPTION_OK): Likewise.
17721 (INVALID_EXCEPTION_OK): Renumber.
17722 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17723 (IGNORE_ZERO_INF_SIGN): Likewise.
17724 (test_exceptions): Handle FE_OVERFLOW.
17725 (exp10_test): Expect overflow exceptions.
17726 (exp2_test): Likewise.
17727 (expm1_test): Likewise.
17728 (nextafter_test): Likewise.
17729 (pow_test): Likewise.
17730 (scalbn_test): Likewise.
17731 (scalbln_test): Likewise.
17732
95443d88
L
177332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17734
17735 * sysdeps/x86_64/bits/atomic.h
17736 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17737 64bit integer.
17738 (atomic_exchange_acq): Likewise.
17739 (__arch_exchange_and_add_body): Likewise.
17740 (__arch_add_body): Likewise.
17741 (atomic_add_negative): Likewise.
17742 (atomic_add_zero): Likewise.
17743
490df6c4
L
177442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17745
c2722551 17746 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17747 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17748
5e52b189
L
177492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17750
17751 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17752 Check __x86_64__ instead of __WORDSIZE.
17753
a9879d4c
L
177542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17755
17756 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17757
5df98260
DM
177582012-03-19 David S. Miller <davem@davemloft.net>
17759
e1497744
DM
17760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17761
5df98260
DM
17762 * sysdeps/sparc/fpu/fenv_private.h: New file.
17763 * sysdeps/sparc/fpu/math_private.h: Use it.
17764 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17765 Remove.
17766 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17767 (libc_feholdexcept_setroundl): Remove.
17768 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17769 Remove.
17770 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17771 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17772
b4c35121
L
177732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17774
17775 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17776 int64_t instead of long int.
17777 (INSERT_WORDS64): Likwise.
17778
56965fd7
L
177792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17780
17781 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17782 _Unwind_GetCFA return to _Unwind_Ptr first.
17783
83d1aec8
JM
177842012-03-19 Joseph Myers <joseph@codesourcery.com>
17785
1897ad44
JM
17786 [BZ #13629]
17787 * math/s_clog.c: Include <float.h>.
17788 (__clog): Scale large or subnormal inputs.
17789 * math/s_clogf.c: Likewise.
17790 * math/s_clogl.c: Likewise.
17791 * math/s_clog10.c: Include <float.h>.
17792 (M_LOG10_2): Define.
17793 (__clog10): Scale large or subnormal inputs.
17794 * math/s_clog10f.c: Likewise.
17795 * math/s_clog10l.c: Likewise.
17796 * math/libm-test.inc (clog_test): Add more tests.
17797 (clog10_test): Likewise.
17798 * sysdeps/i386/fpu/libm-test-ulps: Update.
17799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17800
7726d6a9
JM
17801 [BZ #11451]
17802 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17803 x and y.
17804 * math/libm-test.inc (atan2_test): Add another test.
17805
83d1aec8
JM
17806 * Makerules (common-objdir-compile): Remove.
17807 * sysdeps/unix/Makefile (config-generated): Do not add
17808 $(unix-generated) to variable.
17809 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17810 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17811 Remove rule.
17812 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17813 Likewise.
17814 [generic bits/local_lim.h] (before-compile): Do not append to
17815 variable.
17816 [generic bits/local_lim.h] (common-generated): Likewise.
17817 [generic sys/param.h] (before-compile): Do not append to variable.
17818 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17819 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17820 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17821 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17822 include.
17823 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17824 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17825 [generic sys/param.h] ($(addprefix
17826 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17827 [generic sys/param.h] (common-generated): Do not append to
17828 variable.
17829 [generic sys/param.h] (sysdep_headers): Likewise.
17830 [generic bits/errno.h] (before-compile): Do not append to
17831 variable.
17832 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17833 rule.
17834 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17835 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17836 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17837 [generic bits/errno.h] (common-generated): Do not append to
17838 variable.
17839 [generic bits/ioctls.h] (before-compile): Do not append to
17840 variable.
17841 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17842 rule.
17843 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17844 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17845 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17846 rule.
17847 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17848 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17849 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17850 [generic bits/ioctls.h] (common-generated): Do not append to
17851 variable.
17852 [generic sys/syscall.h] (syscall.h): Remove variable.
17853 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17854 rule.
17855 [generic sys/syscall.h] (before-compile): Do not append to
17856 variable.
17857 [generic sys/syscall.h] (common-generated): Likewise.
17858 * sysdeps/unix/errnos-tmpl.c: Remove file.
17859 * sysdeps/unix/errnos.awk: Likewise.
17860 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17861 * sysdeps/unix/ioctls.awk: Likewise.
17862 * sysdeps/unix/mk-local_lim.c: Likewise.
17863 * sysdeps/unix/snarf-ioctls: Likewise.
17864
4851a949
RH
178652012-03-19 Richard Henderson <rth@twiddle.net>
17866
bd37f2ee
RH
17867 * sysdeps/i386/fpu/fenv_private.h: New file.
17868 * sysdeps/i386/fpu/math_private.h: Use it.
17869 (math_opt_barrier, math_force_eval): Remove.
17870 (libc_feholdexcept_setround_53bit): Remove.
17871 (libc_feupdateenv_53bit): Remove.
17872 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17873 (math_opt_barrier, math_force_eval): Remove.
17874 (libc_feholdexcept): Remove.
17875 (libc_feholdexcept_setround): Remove.
17876 (libc_fetestexcept, libc_fesetenv): Remove.
17877 (libc_feupdateenv_test): Remove.
17878 (libc_feupdateenv, libc_feholdsetround): Remove.
17879 (libc_feresetround): Remove.
17880
d0adc922
RH
17881 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17882 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17883
0fe0f1f8
RH
17884 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17885 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17886 (libc_feupdateenv_testl): New.
17887 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17888 (libc_feupdateenv_testf): New.
17889 (libc_feupdateenv): Use libc_feupdateenv_test.
17890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17891 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17892
eb92c487
RH
17893 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17894 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17895 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17896 (libc_feresetround_noex): New.
17897 (libc_feresetround_noexf): New.
17898 (libc_feresetround_noexl): New.
17899 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17900 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17901 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17902 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17903 SET_RESTORE_ROUND.
17904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17905 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17906 (__cos): Likewise.
17907 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17908 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17909 SET_RESTORE_ROUND_NOEX.
17910 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17911 SET_RESTORE_ROUND_NOEXF.
17912 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17913 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17914 (libc_feholdsetroundf): New.
17915 (libc_feresetround, libc_feresetroundf): New.
17916
7d2e8012
RH
17917 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17918 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17919 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17920
b4dabbb4
RH
17921 * sysdeps/generic/math_private.h: Include <fenv.h>.
17922 (default_libc_feholdexcept): New.
17923 (default_libc_feholdexcept_setround): New.
17924 (default_libc_fesetenv, default_libc_feupdateenv): New.
17925 (libc_feholdexcept): Only define if undefined.
17926 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17927 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17928 (libc_feholdexcept_setroundl): Likewise.
17929 (libc_feholdexcept_setround_53bit): Likewise.
17930 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17931 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17932 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17933 (libc_feupdateenv_53bit): Likewise.
17934 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17935 (libc_feholdexcept): Convert from macro to inline function.
17936 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17937 (libc_fesetenv, libc_feupdateenv): Likewise.
17938
4851a949
RH
17939 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17940 not previously defined.
17941 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17942 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17943 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17944 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17945 * sysdeps/ieee754/flt-32/math_private.h: New file.
17946 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17947 math_private.h below SET_FLOAT_WORD.
17948 (__isnan, __isinf_ns, __finite): Remove.
17949 (__isnanf, __isinf_nsf, __finitef): Remove.
17950
e79d442e
AS
179512012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17952
17953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17954
90b80344
DM
179552012-03-17 David S. Miller <davem@davemloft.net>
17956
17957 [BZ #6471]
17958 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17959 for 2.16.
17960
edc21804
DM
179612012-03-16 David S. Miller <davem@davemloft.net>
17962
77e927af
DM
17963 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17964 warnings.
17965
374976dd
DM
17966 [BZ #6471]
17967 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17968 properly.
17969 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17970 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17971 sysdep_routines when subdir is sysvipc.
17972 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17973 __getshmlba helper.
17974
edc21804
DM
17975 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17976
473c3ef3
L
179772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17978
17979 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17980 [__LP64__].
17981
eb0f39b6
L
179822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17983
17984 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17985 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17986 (__lround): Renamed to ...
17987 (__llround): This. Replace long int with long long int.
17988 Define lround functions as aliases of llround functions.
17989 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17990
6b6cd74b
L
179912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17992
17993 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17994 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17995 adresses to uintptr_t. Replace "long int" and "unsigned long
17996 int" with "greg_t" on va_arg.
17997
f1a77b01
L
179982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17999
18000 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18001 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18002
18003 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18004 Move e_machine check before EI_CLASS check. Handle x32
18005 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18006 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18007 SKIP_EM_IA_64 and include
18008 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18009
18010 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18011 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18012 (add_system_dir): New macro.
18013
18014 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18015 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18016
11b90b9f
JM
180172012-03-16 Joseph Myers <joseph@codesourcery.com>
18018
c36e1d23
JM
18019 [BZ #2551]
18020 [BZ #2552]
18021 [BZ #2553]
18022 [BZ #2554]
18023 [BZ #2562]
18024 [BZ #2563]
18025 [BZ #2565]
18026 [BZ #2566]
18027 [BZ #2576]
18028 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18029 (y0): Likewise.
18030 * math/w_j0f.c (j0f): Likewise.
18031 (y0f): Likewise.
18032 * math/w_j0l.c (__j0l): Likewise.
18033 (__y0l): Likewise.
18034 * math/w_j1.c (j1): Likewise.
18035 (y1): Likewise.
18036 * math/w_j1f.c (j1f): Likewise.
18037 (y1f): Likewise.
18038 * math/w_j1l.c (__j1l): Likewise.
18039 (__y1l): Likewise.
18040 * math/w_jn.c (jn): Likewise.
18041 (yn): Likewise.
18042 * math/w_jnf.c (jnf): Likewise.
18043 (ynf): Likewise.
18044 * math/w_jnl.c (__jnl): Likewise.
18045 (__ynl): Likewise.
18046 * math/libm-test.inc (j0_test): Add more tests.
18047 (j1_test): Likewise.
18048 (jn_test): Likewise. Add trailing semicolon to existing test.
18049 (y0_test): Likewise.
18050 (y1_test): Likewise.
18051 * sysdeps/i386/fpu/libm-test-ulps: Update.
18052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18053
11b90b9f
JM
18054 [BZ #13851]
18055 [BZ #13854]
18056 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18057 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18058 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18059 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18060 (__tanl): Set errno for infinite argument.
18061 * sysdeps/i386/fpu/mptan.c: Remove.
18062 * sysdeps/i386/fpu/s_tan.S: Likewise.
18063 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18064 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18065 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18066 * math/libm-test.inc (tan_test): Add more tests and enable more
18067 tests for double and long double.
18068 * sysdeps/i386/fpu/libm-test-ulps: Update.
18069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18070
6a1bd2a1
JK
180712012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18072
18073 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18074 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18075
10a803e0
RM
180762012-03-16 Roland McGrath <roland@hack.frob.com>
18077
18078 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18079 * configure.in: Use it for both main tree and add-ons.
18080 * configure: Regenerated.
18081
f196c7f7
L
180822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18083
18084 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18085
8848d99d
JM
180862012-03-16 Joseph Myers <joseph@codesourcery.com>
18087
96cbe7f4
JM
18088 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18089 in comment.
18090
8848d99d
JM
18091 [BZ #13851]
18092 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18093 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18094 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18095 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18096 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18097 infinite argument.
18098 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18099 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18100 != 0 for prec == 2.
18101 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18102 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18103 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18104 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18105 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18106 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18107 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18108 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18109 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18110 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18111 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18112 * math/libm-test.inc (cos_test): Add more tests and enable more
18113 tests for long double.
18114 (sin_test): Likewise.
18115 (sincos_test): Likewise.
18116 * sysdeps/i386/fpu/libm-test-ulps: Update.
18117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18118
dd7f4703
DM
181192012-03-16 David S. Miller <davem@davemloft.net>
18120
18121 * sysdeps/sparc/fpu/math_private.h: New file.
18122
006f1daa
DM
181232012-03-15 David S. Miller <davem@davemloft.net>
18124
c0c83bc8
DM
18125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18126 file.
e6a62e18 18127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18129 file.
e6a62e18
DM
18130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18135 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18136 sysdep routines.
18137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18138
88cb87d9
DM
18139 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18140 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18141
006f1daa 18142 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18144 sparc-ifunc.h
006f1daa 18145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18147 Likewise.
18148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18149 Likewise.
006f1daa
DM
18150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18154 Likewise.
006f1daa
DM
18155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18160 Likewise.
18161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18162 Likewise.
006f1daa
DM
18163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18181 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18182 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18184 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18185 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18187
11e0098e
AS
181882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18189
18190 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18191 scaling.
18192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18193
e85b09d0
AJ
181942012-03-15 Andreas Jaeger <aj@suse.de>
18195
18196 [BZ #13852]
18197 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18198 ieee754/flt-32 implementation for sin, cos and sincos.
18199 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18200 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18201 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18202 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18203 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18204 ieee754/flt-32 implementation for tan.
18205
18206 * math/libm-test.inc (cos_test): Enable some large input tests for
18207 float as well
18208 (sin_test): Likewise.
18209 (sincos_test): Likewise.
18210 (tan_test): Add tests for large input.
18211
18212 * sysdeps/i386/fpu/libm-test-ulps: Update.
18213
81c64153
AJ
182142012-03-15 Andreas Jaeger <aj@suse.de>
18215
18216 [BZ #13658]
18217 * math/libm-test.inc (cos_test): Add more test cases.
18218 (sin_test): Likewise.
18219 (sincos_test): Likewise.
18220
7bbfa5c6
AJ
182212012-03-15 Andreas Jaeger <aj@suse.de>
18222
18223 [BZ #13837]
18224 * math/libm-test.inc (cos_test): Add a test case for large input
18225 value.
18226 (sin_test): Likewise.
18227 (sincos_test): Likewise.
18228
182292012-03-15 Andreas Jaeger <aj@suse.de>,
18230 Joseph Myers <joseph@codesourcery.com>
18231
18232 [BZ #13658]
0671f479 18233 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18234 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18235 * sysdeps/i386/fpu/branred.c: Likewise.
18236 * sysdeps/i386/fpu/dosincos.c: Likewise.
18237 * sysdeps/i386/fpu/mpa.c: Likewise.
18238 * sysdeps/i386/fpu/s_cos.S: Likewise.
18239 * sysdeps/i386/fpu/s_sin.S: Likewise.
18240 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18241 * sysdeps/i386/fpu/sincos32.c: Likewise.
18242
18243 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18244 Define.
18245 (libc_feupdateenv_53bit): Define.
18246 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18247 Define.
18248 (libc_feupdateenv_53bit): Define.
18249
18250 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18251 53 bit (without extend i386 double precision).
18252
18253 * math/libm-test.inc (sincos_test): Add tests for large input.
18254 (sin): Likewise.
18255 (cos): Likewise.
18256
18257 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18258
9cad04ea
AS
182592012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18260
18261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18262
f7062b9a
DM
182632012-03-15 David S. Miller <davem@davemloft.net>
18264
18265 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18266 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18267 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18268 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18281 file.
f7062b9a 18282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18284 file.
f7062b9a 18285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18287 file.
f7062b9a 18288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18290 file.
f7062b9a
DM
18291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18292 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18293 fmin/fmax sysdep routines.
18294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18295
7bd951ff
DM
182962012-03-14 David S. Miller <davem@davemloft.net>
18297
559398ab
DM
18298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18302 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18303 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18304 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18305 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18306 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18318 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18319 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18320 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18321 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18322 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18323 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18324 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18326 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18327 routines.
18328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18329 file.
559398ab 18330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18332 file.
559398ab 18333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18335 file.
559398ab 18336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18338 file.
559398ab 18339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18341 file.
559398ab 18342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18344 file.
18345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18346 file.
18347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18348 file.
18349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18350 file.
18351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18352 New file.
18353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18354 file.
18355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18356 file.
559398ab 18357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18359 file.
559398ab 18360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18362 file.
559398ab 18363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18365 file.
559398ab 18366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18368 VIS3 routines.
559398ab
DM
18369
18370 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18371 New file.
18372
5a1c1e32
DM
18373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18374
eae47a36
DM
18375 * sysdeps/sparc/configure.in: New file.
18376 * sysdeps/sparc/configure: Generate.
18377 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18378 * configure: Regenerate.
18379 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18380 * config.make.in (have-as-vis3): New.
18381 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18382 available use -Av9d instead of -Av9a.
18383 * sysdeps/sparc/sparc64/Makefile: Likewise.
18384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18386 New file.
18387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18388 file.
18389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18390 New file.
18391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18392 file.
eae47a36
DM
18393 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18394 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18395 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18396 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18398
c0c83bc8
DM
18399 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18400 fzeros/fnegs to load 0x80000000 into a float register instead of
18401 using the stack.
7bd951ff
DM
18402 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18403
bd951ccb
JM
184042012-03-14 Joseph Myers <joseph@codesourcery.com>
18405
18406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18407 bits/syscall.h.
18408 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18409 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18410 ($(inst_includedir)/bits/syscall.h): Remove rule.
18411 ($(objpfx)bits/syscall.d): Include instead of
18412 $(objpfx)syscall-list.d.
18413 (generated): Change syscall-list.h and syscall-list.d to
18414 bits/syscall.h and bits/syscall.d.
18415
bb4e6db2
RM
184162012-03-14 Roland McGrath <roland@hack.frob.com>
18417
18418 [BZ #13846]
18419 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18420
aa4a2ae1
JM
184212012-03-14 Joseph Myers <joseph@codesourcery.com>
18422
e456826d
JM
18423 [BZ #13841]
18424 * math/s_csqrt.c: Include <float.h>.
18425 (__csqrt): Scale large or subnormal inputs.
18426 * math/s_csqrtf.c: Likewise.
18427 * math/s_csqrtl.c: Likewise.
18428 * math/libm-test.inc (csqrt_test): Add more tests.
18429 * sysdeps/i386/fpu/libm-test-ulps: Update.
18430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18431
aa4a2ae1
JM
18432 [BZ #13840]
18433 * math/libm-test.inc (hypot_test): Add more tests.
18434
7c10fd35
DM
184352012-03-13 David S. Miller <davem@davemloft.net>
18436
18437 [BZ #13840]
18438 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18439 double-precision for the calculation instead of scaling.
18440
f453b98b
JM
184412012-03-13 Joseph Myers <joseph@codesourcery.com>
18442
18443 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18444 manipulate bits before adding and subtracting TWO52[sx].
18445 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18446 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18447 Likewise.
18448 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18449
09a3453f
DM
184502012-03-13 David S. Miller <davem@davemloft.net>
18451
8e59da90
DM
18452 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18453 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18455 rtld-global-offsets.h
18456 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18457
2a8ab7f2
DM
18458 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18459 large parameters.
18460
10f62770
DM
18461 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18462
5f0bdb18
DM
18463 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18464 'err' in the ifdef scope in which it is actually used.
18465
09a3453f
DM
18466 * nss/nss_db/db-init.c: Include string.h
18467
b4b2eb5e
DM
184682012-03-12 David S. Miller <davem@davemloft.net>
18469
98bb2f1c
DM
18470 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18471 masking out of the most significant byte of random value used.
18472 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18473 Fix coding style in previous change.
18474
b4b2eb5e
DM
18475 * sysdeps/unix/sysv/linux/kernel-features.h
18476 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18477 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18478 expression.
18479 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18480 later.
18481
6e226b09
DM
184822012-03-11 David S. Miller <davem@davemloft.net>
18483
a1bcbd40
DM
18484 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18485 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18486 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18487 for 'resultvar' otherwise things get truncated on 64-bit.
18488
cb9d6174
DM
18489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18490 Fix masking out of the most significant byte of random value used.
18491
6e226b09
DM
18492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18493
058c132d
AS
184942012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18495
18496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18497
2d2cd515
DM
184982012-03-09 David S. Miller <davem@davemloft.net>
18499
18500 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18501 variables with appropriate CPP guards.
18502 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18503 frame pointer, not the stack pointer. Correct layout comments. Fix test
18504 on resulting framesize and the management of the outregs buffer for pltexit.
18505 Preserve floating point return values across _dl_call_pltexit call.
18506 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18507 framesize and the management of the outregs buffer for pltexit.
18508 Preserve floating point return values across _dl_call_pltexit
18509 call.
18510 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18511 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18512 (print_exit): Fix format string for return register value.
18513
9a07f9d0
JM
185142012-03-10 Joseph Myers <joseph@codesourcery.com>
18515
18516 * sunrpc/Makefile (others): Add rpcgen.
18517 ($(objpfx)rpcgen): Remove special build rule and dependency on
18518 libc.
18519 * sunrpc/rpcgen.c: New file.
18520
547b5e30
PE
185212012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18522
c524201a
PE
18523 [BZ #13673]
18524 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18525 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18526 * sysdeps/i386/crti.S: Likewise.
18527 * sysdeps/i386/crtn.S: Likewise.
18528 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18529 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18530 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18531 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18532 * sysdeps/sh/crti.S: Likewise.
18533 * sysdeps/sh/crtn.S: Likewise.
18534 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18535
7b6235f2
PE
18536 [BZ #13673]
18537 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18538 with URL.
18539 * locale/programs/locfile-kw.gperf: Likewise.
18540 * locale/programs/charmap-kw.h: Regenerated.
18541 * locale/programs/locfile-kw.h: Likewise.
18542
547b5e30
PE
18543 [BZ #13673]
18544 * intl/plural.y: Replace FSF snail mail address with URL.
18545 * intl/plural.c: Regenerated.
18546
5f0a5dae
RH
185472012-03-09 Richard Henderson <rth@twiddle.net>
18548
18549 * include/math_private.h: Remove file.
18550 * math/math_private.h: Move file ...
18551 * sysdeps/generic/math_private.h: ... here.
18552
b8c03620
RH
18553 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18554 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18555 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18556
4e234f5d 18557 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18558 and <math_private.h>.
18559 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18560 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18561 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18562 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18563 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18564 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18565 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18567 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18568 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18570 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18571 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18573 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18574 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18575 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18576 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18577 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18578 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18581 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18582 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18583 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18584 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18585 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18588 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18589 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18590 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18591 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18592 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18593 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18594 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18595 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18596 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18597 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18598 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18599 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18600 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18601 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18602 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18603 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18604 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18605 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18606 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18607 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18608 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18609 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18610 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18611 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18612 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18613 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18614 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18615 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18616 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18617 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18618 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18619 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18620 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18621 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18622 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18623 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18624 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18625 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18626 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18627 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18628 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18629 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18630 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18631 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18632 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18633 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18634 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18635 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18636 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18637 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18638 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18639 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18640 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18641 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18642 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18643 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18644 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18645 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18646 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18647 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18648 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18649 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18650 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18651 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18652 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18653 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18654 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18655 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18656 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18657 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18658 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18659 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18660 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18661 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18662 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18663 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18664 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18665 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18666 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18667 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18668 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18669 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18670 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18671 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18672 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18673 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18674 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18675 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18676 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18677 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18678 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18679 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18680 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18681 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18682 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18683 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18684 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18685 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18686 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18687 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18688 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18689 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18690 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18691 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18692 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18693 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18694 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18695 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18696 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18697 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18698 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18699 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18700 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18701 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18702 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18703 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18704 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18705 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18706 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18707 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18708 * sysdeps/ieee754/k_standard.c: Likewise.
18709 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18710 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18711 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18712 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18713 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18714 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18715 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18716 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18717 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18718 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18719 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18720 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18721 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18722 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18723 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18724 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18725 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18726 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18727 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18728 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18729 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18730 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18731 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18734 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18735 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18736 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18737 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18738 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18743 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18744 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18747 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18748 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18749 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18754 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18755 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18759 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18760 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18761 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18765 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18824 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18828 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18829 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18831 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18836 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18840 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18841 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18849 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18850 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18851 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18853 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18854 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18855 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18856 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18857 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18858 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18859 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18860 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18861 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18862 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18863 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18864 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18865 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18866 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18867 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18868 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18869 * sysdeps/ieee754/s_lib_version.c: Likewise.
18870 * sysdeps/ieee754/s_matherr.c: Likewise.
18871 * sysdeps/ieee754/s_signgam.c: Likewise.
18872 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18873 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18874 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18875 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18876 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18877 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18878 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18879 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18880 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18881 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18882 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18883 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18884 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18885 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18886 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18887 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18888 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18889 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18890 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18891 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18892 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18893
1991fa03
JM
188942012-03-09 Joseph Myers <joseph@codesourcery.com>
18895
18896 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18897 * sunrpc/rpc_main.c: Likewise.
18898 * sunrpc/rpc_svcout.c: Likewise.
18899
60d6f5a6
DM
189002012-03-09 David S. Miller <davem@davemloft.net>
18901
18902 * include/math_private.h: New file.
18903
4962050e
JM
189042012-03-09 Joseph Myers <joseph@codesourcery.com>
18905
02a6f887
JM
18906 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18907 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18908 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18909 from <bits/socket_type.h>.
18910 (enum __socket_type): Don't define here.
18911 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18913 bits/socket_type.h.
18914
c6e013c1
JM
18915 [BZ #13566]
18916 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18917 checking __USE_GNU.
18918
4962050e
JM
18919 * Makerules ($(inst_includedir)/%.h): New rule.
18920 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18921 (install-others): Remove variable setting.
18922 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18923
38842f45
RH
189242012-03-08 Richard Henderson <rth@twiddle.net>
18925
67bb6da6
RH
18926 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18927 from macro to inline function; merge with the
18928 !__LIBC_INTERNAL_MATH_INLINES version.
18929 (__ieee754_sqrtf): Likewise.
18930
15194b4b
RH
18931 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18932 to inline function.
18933 (__rintf, __floor, __floorf): Likewise.
18934
64e21ede
RH
18935 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18936 macro to inline function.
18937 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18938
38842f45
RH
18939 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18940 not <math/math_private.h>.
18941
c64bf5fe
DM
189422012-03-08 David S. Miller <davem@davemloft.net>
18943
18944 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18945 copyright year.
18946 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18947
82d86f28
TS
189482012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18949
18950 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18951 normalization.
18952 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18953 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18954
aea5d727
UD
189552012-03-08 Ulrich Drepper <drepper@gmail.com>
18956
18957 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18958 be defined individually, they must be defined as a block. Define
18959 S for printing a string instead of hidint the different by using a
18960 macro for adding the 'l'.
18961 * stdio-common/tst-fphex-wide.c: Adjust.
18962
70bca0a3
MP
189632012-03-07 Marek Polacek <polacek@redhat.com>
18964
18965 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18966
65b81130
MP
189672012-03-08 Marek Polacek <polacek@redhat.com>
18968
18969 [BZ #13806]
18970 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18971 * stdio-common/tst-fphex.c: Define a few macros to make the
18972 test reusable. Use them.
18973 * stdio-common/tst-fphex-wide.c: New file.
18974
07037eeb
JM
189752012-03-08 Joseph Myers <joseph@codesourcery.com>
18976
a7a93d50
JM
18977 [BZ #6911]
18978 * manual/macros.texi (gnusystems): New macro.
18979 (nongnusystems): Likewise.
18980 (gnulinuxhurdsystems): Likewise.
18981 (gnuhurdsystems): Likewise..
18982 (gnulinuxsystems): Likewise.
18983 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18984 variants of the GNU system, not "GNU system".
18985 * manual/conf.texi: Likewise.
18986 * manual/errno.texi: Likewise. Update example of errno macro
18987 expansion.
18988 * manual/filesys.texi: Likewise.
18989 (getumask): Document as specific to GNU/Hurd.
18990 * manual/install.texi: Likewise. Reword some references to
18991 GNU/Linux.
18992 * manual/intro.texi: Likewise.
18993 * manual/io.texi: Likewise.
18994 (File Name Portability): Detail which constraints are inapplicable
18995 to all GNU systems and which are only inapplicable to GNU/Hurd.
18996 * manual/job.texi: Likewise.
18997 * manual/llio.texi: Likewise.
18998 (O_NOCTTY): Document as present on GNU/Linux.
18999 * manual/maint.texi: Likewise.
19000 * manual/memory.texi: Likewise.
19001 * manual/pattern.texi: Likewise.
19002 * manual/pipe.texi: Likewise.
19003 * manual/process.texi: Likewise.
19004 * manual/resource.texi: Likewise.
19005 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19006 child on GNU/Hurd.
19007 * manual/setjmp.texi: Likewise.
19008 * manual/signal.texi: Likewise.
19009 * manual/startup.texi: Likewise.
19010 * manual/stdio.texi: Likewise.
19011 * manual/terminal.texi: Likewise.
19012 (ONLCR): Document as POSIX.
19013 (OXTABS): Document availability on GNU/Linux as XTABS.
19014 (ONOEOT): Document availability separately from other bits.
19015 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19016 * manual/time.texi: Likewise.
19017 * manual/users.texi: Likewise.
19018 * INSTALL: Regenerated.
19019 * sysdeps/gnu/errlist.c: Regenerated.
19020
07037eeb
JM
19021 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19022 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19023 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19024 puts.
19025 * configure: Regenerated.
19026
d1d3431a
JM
190272012-03-07 Joseph Myers <joseph@codesourcery.com>
19028
af6a1e37
JM
19029 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19030 default includes instead of AC_HEADER_CHECK.
19031 * sysdeps/i386/configure: Regenerated.
19032
d1d3431a
JM
19033 [BZ #10716]
19034 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19035 * math/s_cacoshf.c (__cacoshf): Likewise.
19036 * math/s_cacoshl.c (__cacoshl): Likewise.
19037 * math/s_casinh.c (__casinh): Set signs of result from argument.
19038 * math/s_casinhf.c (__casinhf): Likewise.
19039 * math/s_casinhl.c (__casinhl): Likewise.
19040 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19041 (casinh_test): Add more tests.
19042 * sysdeps/i386/fpu/libm-test-ulps: Update.
19043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19044
482ff4da
UD
190452012-03-07 Ulrich Drepper <drepper@gmail.com>
19046
872fda05
UD
19047 * po/zh_TW.po: Update from translation team.
19048
a4300c7a
UD
19049 * login/Makefile (distribute): Remove variable.
19050 * catgets/Makefile: Likewise.
19051 * mach/Makefile: Likewise.
19052 * malloc/Makefile: Likewise.
19053 * misc/Makefile: Likewise.
19054 * iconv/Makefile: Likewise.
19055 * nscd/Makefile: Likewise.
19056 * hurd/Makefile: Likewise.
19057 * manual/Makefile: Likewise.
19058 * locale/Makefile: Likewise.
19059 * intl/Makefile: Likewise.
19060 * conform/Makefile: Likewise.
19061 * nss/Makefile: Likewise.
19062 * time/Makefile: Likewise.
19063 * soft-fp/Makefile: Likewise.
19064 * dirent/Makefile: Likewise.
19065 * gmon/Makefile: Likewise.
19066 * po/Makefile: Likewise.
19067 * rt/Makefile: Likewise.
19068 * socket/Makefile: Likewise.
19069 * math/Makefile: Likewise.
19070 * signal/Makefile: Likewise.
19071 * debug/Makefile: Likewise.
19072 * elf/Makefile: Likewise.
19073 * timezone/Makefile: Likewise.
19074 * stdlib/Makefile: Likewise.
19075 * iconvdata/Makefile: Likewise.
19076 * sunrpc/Makefile: Likewise.
19077 * io/Makefile: Likewise.
19078 * argp/Makefile: Likewise.
19079 * inet/Makefile: Likewise.
19080 * hesiod/Makefile: Likewise.
19081 * grp/Makefile: Likewise.
19082 * csu/Makefile: Likewise.
19083 * wctype/Makefile: Likewise.
19084 * crypt/Makefile: Likewise.
19085 * libio/Makefile: Likewise.
19086 * string/Makefile: Likewise.
19087 * nis/Makefile: Likewise.
19088 * resolv/Makefile: Likewise.
19089 * stdio-common/Makefile: Likewise.
19090 * wcsmbs/Makefile: Likewise.
19091 * dlfcn/Makefile: Likewise.
19092 * posix/Makefile: Likewise.
19093
3b7c4e74 19094 [BZ #6959]
482ff4da
UD
19095 * timezone/Makefile: Don't install timezone files, just the programs
19096 and scripts.
19097
f72ed77d
UD
190982012-03-06 Ulrich Drepper <drepper@gmail.com>
19099
a000466f
UD
19100 * nss/databases.def: Add missing gshadow entry.
19101
f72ed77d
UD
19102 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19103
a53b7a4e
MP
191042012-03-06 Marek Polacek <polacek@redhat.com>
19105
19106 [BZ #13726]
19107 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19108 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19109 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19110 * stdio-common/tst-long-dbl-fphex.c: New file.
19111
e9258400
DM
191122012-03-06 David S. Miller <davem@davemloft.net>
19113
19114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19115 (set_obp_int): New function.
19116 (get_obp_int): New function.
19117 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19118 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19119 Avoid unused variable warnings on 'val' and use builtin_expect.
19120 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19121 __builtin_expect.
e9258400
DM
19122 (INLINE_CLONE_SYSCALL): Likewise.
19123
3bd2c723
DM
191242012-03-05 David S. Miller <davem@davemloft.net>
19125
19126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19127
bbb78d03
AS
191282012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19129
884c5db4
AS
19130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19131
bbb78d03
AS
19132 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19133 only for |x| >= 40.
19134 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19135
1c9f702a 191362012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19137
19138 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19139 Replace gettimeofday with __vdso_gettimeofday.
19140
7be16f82
RM
19141 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19142 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19143 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19144
19145 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19146 time with __vdso_time.
19147
ed58a00f
JM
191482012-03-05 Joseph Myers <joseph@codesourcery.com>
19149
19150 * manual/lang.texi (size_t): Note types to which size_t may be
19151 equivalent with the GNU C Library, but do not describe when
19152 differences between them are significant.
19153
30ee4ced
AJ
191542012-03-05 Andreas Jaeger <aj@suse.de>
19155
19156 * sysdeps/i386/fpu/libm-test-ulps: Update.
19157
b7cd39e8
JM
191582012-03-05 Joseph Myers <joseph@codesourcery.com>
19159
19160 [BZ #3976]
19161 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19162 (__ieee754_pow): Save and restore rounding mode and use
19163 round-to-nearest for main computations.
19164 * math/libm-test.inc (pow_test_tonearest): New function.
19165 (pow_test_towardzero): Likewise.
19166 (pow_test_downward): Likewise.
19167 (pow_test_upward): Likewise.
19168 (main): Call the new functions.
19169 * sysdeps/i386/fpu/libm-test-ulps: Update.
19170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19171
19172 [BZ #3976]
19173 * math/libm-test.inc (cosh_test_tonearest): New function.
19174 (cosh_test_towardzero): Likewise.
19175 (cosh_test_downward): Likewise.
19176 (cosh_test_upward): Likewise.
19177 (sinh_test_tonearest): Likewise.
19178 (sinh_test_towardzero): Likewise.
19179 (sinh_test_downward): Likewise.
19180 (sinh_test_upward): Likewise.
19181 (main): Call the new functions.
19182 * sysdeps/i386/fpu/libm-test-ulps: Update.
19183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19184
6c6a98c9
TV
191852012-03-05 Tom de Vries <tom@codesourcery.com>
19186
19187 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19188 default stack guard is set in last bytes.
19189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19190
21bb2d2e 191912012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19192
21bb2d2e 19193 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19194
21bb2d2e
AJ
19195 [BZ #13656]
19196 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19197 possibly allocate from heap instead of stack.
19198 * stdio-common/bug-vfprintf-nargs.c: New file.
19199 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19200
c6922934
AS
192012012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19202
19203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19204
bc957d53
MP
192052012-03-03 Marek Polacek <polacek@redhat.com>
19206
19207 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19208 * math/math_private.h: Likewise.
19209 * stdlib/tst-strtod.c: Likewise.
19210 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19211 * sysdeps/x86_64/bits/atomic.h: Likewise.
19212
6358490d
DM
192132012-03-02 David S. Miller <davem@davemloft.net>
19214
19215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19219 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19220 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19221 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19222 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19223
01ae168d
RM
192242012-03-02 Roland McGrath <roland@hack.frob.com>
19225
d9a17c07
RM
19226 [BZ #13792]
19227 * manual/examples/README: New file, says the example source files
19228 can be used under GPL>=2.
19229 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19230 line containing just "*/".
19231 * manual/examples/add.c: Add copyright header (GPL>=2).
19232 * manual/examples/argp-ex1.c: Likewise.
19233 * manual/examples/argp-ex2.c: Likewise.
19234 * manual/examples/argp-ex3.c: Likewise.
19235 * manual/examples/argp-ex4.c: Likewise.
19236 * manual/examples/atexit.c: Likewise.
19237 * manual/examples/db.c: Likewise.
19238 * manual/examples/dir.c: Likewise.
19239 * manual/examples/dir2.c: Likewise.
19240 * manual/examples/execinfo.c: Likewise.
19241 * manual/examples/filecli.c: Likewise.
19242 * manual/examples/filesrv.c: Likewise.
19243 * manual/examples/fmtmsgexpl.c: Likewise.
19244 * manual/examples/genpass.c: Likewise.
19245 * manual/examples/inetcli.c: Likewise.
19246 * manual/examples/inetsrv.c: Likewise.
19247 * manual/examples/isockad.c: Likewise.
19248 * manual/examples/longopt.c: Likewise.
19249 * manual/examples/memopen.c: Likewise.
19250 * manual/examples/memstrm.c: Likewise.
19251 * manual/examples/mkfsock.c: Likewise.
19252 * manual/examples/mkisock.c: Likewise.
19253 * manual/examples/mygetpass.c: Likewise.
19254 * manual/examples/pipe.c: Likewise.
19255 * manual/examples/popen.c: Likewise.
19256 * manual/examples/rprintf.c: Likewise.
19257 * manual/examples/search.c: Likewise.
19258 * manual/examples/select.c: Likewise.
19259 * manual/examples/setjmp.c: Likewise.
19260 * manual/examples/sigh1.c: Likewise.
19261 * manual/examples/sigusr.c: Likewise.
19262 * manual/examples/stpcpy.c: Likewise.
19263 * manual/examples/strdupa.c: Likewise.
19264 * manual/examples/strftim.c: Likewise.
19265 * manual/examples/strncat.c: Likewise.
19266 * manual/examples/subopt.c: Likewise.
19267 * manual/examples/swapcontext.c: Likewise.
19268 * manual/examples/termios.c: Likewise.
19269 * manual/examples/testopt.c: Likewise.
19270 * manual/examples/testpass.c: Likewise.
19271 * manual/examples/timeval_subtract.c: Likewise.
19272
01ae168d
RM
19273 [BZ #13792]
19274 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19275 function to ...
19276 * manual/timeval_subtract.c.texi: ... here, new file.
19277
49efa33d
DM
192782012-03-02 David S. Miller <davem@davemloft.net>
19279
19280 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19281
28afd92d
JM
192822012-03-02 Joseph Myers <joseph@codesourcery.com>
19283
804360ed
JM
19284 [BZ #3976]
19285 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19286 (__sin): Save and restore rounding mode and use round-to-nearest
19287 for all computations.
19288 (__cos): Save and restore rounding mode and use round-to-nearest
19289 for all computations.
19290 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19291 <fenv.h>.
19292 (tan): Save and restore rounding mode and use round-to-nearest for
19293 all computations.
19294 * math/libm-test.inc (cos_test_tonearest): New function.
19295 (cos_test_towardzero): Likewise.
19296 (cos_test_downward): Likewise.
19297 (cos_test_upward): Likewise.
19298 (sin_test_tonearest): Likewise.
19299 (sin_test_towardzero): Likewise.
19300 (sin_test_downward): Likewise.
19301 (sin_test_upward): Likewise.
19302 (tan_test_tonearest): Likewise.
19303 (tan_test_towardzero): Likewise.
19304 (tan_test_downward): Likewise.
19305 (tan_test_upward): Likewise.
19306 (main): Call the new functions.
19307 * sysdeps/i386/fpu/libm-test-ulps: Update.
19308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19309
a6d06d7b
JM
19310 [BZ #10135]
19311 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19312 small n, then large n, before computing and testing k+n.
19313 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19314 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19315 Likewise.
19316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19317 Likewise.
19318 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19319 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19320 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19321 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19322 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19323 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19324 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19325 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19326 * math/libm-test.inc (scalbn_test): Add more tests.
19327 (scalbln_test): Likewise.
19328
07e12bb3
JM
19329 * manual/filesys.texi (mode_t): Describe constraints on size and
19330 signedness, not exact equivalence to a particular type.
19331 (ino_t): Likewise.
19332 (ino64_t): Likewise.
19333 (dev_t): Likewise.
19334 (nlink_t): Likewise.
19335 (blkcnt_t): Likewise.
19336 (blkcnt64_t): Likewise.
19337 * manual/llio.texi (off_t): Likewise.
19338
28afd92d
JM
19339 [BZ #3976]
19340 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19341 (__ieee754_exp): Save and restore rounding mode and use
19342 round-to-nearest for all computations.
19343 * math/libm-test.inc (exp_test_tonearest): New function.
19344 (exp_test_towardzero): Likewise.
19345 (exp_test_downward): Likewise.
19346 (exp_test_upward): Likewise.
19347 (main): Call the new functions.
19348 * sysdeps/i386/fpu/libm-test-ulps: Update.
19349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19350
b1eeb65d
CD
193512012-03-01 Chris Demetriou <cgd@google.com>
19352
19353 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19354 have predictable order.
19355
53362a4b
DM
193562012-03-01 David S. Miller <davem@davemloft.net>
19357
3c969083
DM
19358 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19359
759707de
DM
19360 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19361 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19362 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19363 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19364
dfdb8ff2
DM
19365 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19366 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19367 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19369 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19370 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19371 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19372 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19373 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19374
ead89f96
DM
19375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19376
7f66bd07
DM
19377 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19378 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19379 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19380
53362a4b
DM
19381 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19382 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19383 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19384 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19385 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19386 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19387 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19388 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19389 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19390 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19391 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19392 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19394 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19395 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19397 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19398 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19399 * sysdeps/sparc/elf/configure: Regenerated.
19400
7b1902cb
JM
194012012-03-01 Joseph Myers <joseph@codesourcery.com>
19402
bec039bc
JM
19403 * configure.in (AS, LD): Require binutils 2.20 or later.
19404 * configure: Regenerated.
19405 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19406 as required minimum version.
19407 * INSTALL: Regenerated.
19408
7b1902cb
JM
19409 [BZ #2541]
19410 [BZ #4108]
19411 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19412 before squaring exponent.
19413 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19414 bottom long double and 27 bits of top long double before squaring
19415 exponent.
19416 * math/libm-test.inc (erfc_test): Add more tests.
19417 * sysdeps/i386/fpu/libm-test-ulps: Update.
19418 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19420
f775c276
KT
194212012-03-01 Kai Tietz <ktietz@redhat.com>
19422
19423 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19424 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19425 containing bit-fields.
19426 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19427 * soft-fp/single.h (_FP_UNION_S): Likewise.
19428 * soft-fp/double.h (_FP_UNION_D): Likewise.
19429
5b8a4d4a
JM
194302012-02-29 Joseph Myers <joseph@codesourcery.com>
19431
0bab47b6
JM
19432 [BZ #13786]
19433 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19434 not include ../strcmp.S.
19435 [USE_AS_STRNCASECMP_L]: Likewise.
19436 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19437 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19438 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19439 (__strncasecmp_l_ia32): Define as alias to
19440 __strncasecmp_l_nonascii.
19441
0fcad3e2
JM
19442 [BZ #5794]
19443 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19444 * sysdeps/i386/fpu/libm-test-ulps: Update.
19445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19446
5b8a4d4a
JM
19447 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19449
8fdceb2e
JL
194502012-02-29 Jeff Law <law@redhat.com>
19451
19452 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19453 out of bounds read.
19454
1f393a11
MP
194552012-02-29 Marek Polacek <polacek@redhat.com>
19456
19457 [BZ #13706]
19458 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19459 * elf/Makefile: Add rules to run tst-unused-dep.out.
19460
8847f037
DM
194612012-02-28 David S. Miller <davem@davemloft.net>
19462
19463 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19464 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19465 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19466 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19467 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19468 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19469
169d7f11
JM
194702012-02-29 Joseph Myers <joseph@codesourcery.com>
19471
19472 * math/libm-test.inc (llround_test): Move one test from
19473 lround_test. Use TEST_f_L in moved test.
19474 (lround_test): Move misplaced test to llround_test. Add testcase
19475 from bug 2561.
19476
39adf059
UD
194772012-02-28 Ulrich Drepper <drepper@gmail.com>
19478
19479 * sysdeps/x86_64/fpu/e_expf.S: New file.
19480 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19481
71b5d1c5
SB
194822012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19483
19484 [BZ #13637]
19485 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19486 of remain_len that may cause incomplete multi-byte character and
19487 false match.
19488 * posix/bug-regex33.c: New file.
19489 * posix/Makefile (tests): Add bug-regex33.
19490
1f77f049
JM
194912012-02-28 Joseph Myers <joseph@codesourcery.com>
19492
19493 * manual/macros.texi: New file.
19494 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19495 * manual/libc.texinfo: Include macros.texi.
19496 * manual/creatute.texi: Likewise.
19497 * manual/install.texi: Likewise.
19498 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19499 @glibcadj{} in references to the GNU C Library.
19500 * manual/charset.texi: Likewise.
19501 * manual/conf.texi: Likewise.
19502 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19503 when not using those macros.
19504 * manual/creature.texi: Likewise.
19505 * manual/crypt.texi: Likewise.
19506 * manual/errno.texi: Likewise.
19507 * manual/filesys.texi: Likewise.
19508 * manual/header.texi: Likewise.
19509 * manual/install.texi: Likewise.
19510 * manual/intro.texi: Likewise.
19511 * manual/io.texi: Likewise.
19512 * manual/job.texi: Likewise.
19513 * manual/lang.texi: Likewise.
19514 * manual/libc.texiinfo: Likewise.
19515 * manual/llio.texi: Likewise.
19516 * manual/locale.texi: Likewise.
19517 * manual/maint.texi: Likewise.
19518 * manual/math.texi: Likewise.
19519 * manual/memory.texi: Likewise.
19520 * manual/message.texi: Likewise.
19521 * manual/nss.texi: Likewise.
19522 * manual/pattern.texi: Likewise.
19523 * manual/process.texi: Likewise.
19524 * manual/resource.texi: Likewise.
19525 * manual/search.texi: Likewise.
19526 * manual/setjmp.texi: Likewise.
19527 * manual/signal.texi: Likewise.
19528 * manual/socket.texi: Likewise.
19529 * manual/startup.texi: Likewise.
19530 * manual/stdio.texi: Likewise.
19531 * manual/string.texi: Likewise.
19532 * manual/sysinfo.texi: Likewise.
19533 * manual/syslog.texi: Likewise.
19534 * manual/terminal.texi: Likewise.
19535 * manual/time.texi: Likewise.
19536 * manual/users.texi: Likewise.
19537 * INSTALL: Regenerated.
19538 * NOTES: Regenerated.
d40c5d54 19539 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19540
450bf206
AS
195412012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19542
19543 * include/dirent.h: Include <dirstream.h> before
19544 <dirent/dirent.h>.
19545
741a235b
DM
195462012-02-28 David S. Miller <davem@davemloft.net>
19547
19548 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19549 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19550 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19551 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19552
d6b5aa58
DM
195532012-02-27 David S. Miller <davem@davemloft.net>
19554
1aff59a3
DM
19555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19557 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19558 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19559
d6b5aa58
DM
19560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19561 frame pointer instead of stack pointer relative arg slot.
19562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19563 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19564 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19565
433f48bf
CD
195662012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19567
19568 [BZ #3992]
19569 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19570
d674b76d
DM
195712012-02-27 David S. Miller <davem@davemloft.net>
19572
19573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19577 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19578 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19579 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19580 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19581
0e7727f7
JM
195822012-02-27 Joseph Myers <joseph@codesourcery.com>
19583
19584 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19585 later. Allow versions 5-9.
43be4ca2 19586 * configure: Regenerated.
0e7727f7
JM
19587 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19588 required minimum version and 4.6 as recommended version. Do not
19589 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19590 * INSTALL: Regenerated.
0e7727f7 19591
a78bc654
DM
195922012-02-27 David S. Miller <davem@davemloft.net>
19593
428d5830
DM
19594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19598 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19599 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19600 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19601 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19602
a78bc654
DM
19603 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19604 manipulate bits before adding and subtracting TWO112[sx].
19605 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19606
4579f81c
RM
196072012-02-27 Roland McGrath <roland@hack.frob.com>
19608
36c8acb4
RM
19609 [BZ #13775]
19610 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19611 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19612 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19613 being in POSIX, because they are in 1003.1-2008.
19614
84ad622b
RM
19615 * rt/tst-aio.c: Include <fcntl.h>.
19616 * rt/tst-aio7.c: Likewise.
19617 * rt/tst-aio64.c: Likewise.
19618
4579f81c
RM
19619 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19620
abd923db
JM
196212012-02-27 Joseph Myers <joseph@codesourcery.com>
19622
19623 * manual/install.texi (--with-headers): Describe headers as
19624 interface headers, not private headers.
19625 (Specific advice for GNU/Linux systems): Describe use of headers
19626 from "make headers_install", not private headers from older
19627 kernels.
43be4ca2 19628 * INSTALL: Regenerated.
abd923db
JM
19629 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19630 Change to 2.6.19.
19631 * sysdeps/unix/sysv/linux/configure: Regenerated.
19632
6664049b
JM
19633 * manual/llio.texi (fclean): Remove documentation.
19634
bb8b6697
JM
19635 * manual/Makefile (libc-texi-generated): New variable. Include
19636 version.texi.
19637 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19638 $(libc-texi-generated), not duplicated list of files.
19639 (version.texi, stamp-version): New rules.
19640 (realclean): Remove $(libc-texi-generated), not individual files
19641 from that list. Do not remove dir-add.texinfo.
19642 * manual/libc.texinfo: Comment out uses of edition numbers and
19643 references to printed manual. Remove last-updated dates.
19644 (EDITION): Comment out.
19645 (ISBN): Likewise.
19646 (VERSION, UPDATED): Remove.
19647 (version.texi): Include.
19648
12e5c3b9
AS
196492012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19650
19651 * sysdeps/posix/spawni.c: Include <signal.h>.
19652 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19653 * sysdeps/pthread/aio_fsync.c: Likewise.
19654
4efeffc1 196552012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19656
ba63ba08
UD
19657 * conform/Makefile (tests): Run only when not cross-compiling and
19658 when fast-check is not defined.
19659
d94a4670
UD
19660 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19661 * conform/data/limits.h-data: Fixes for POSIX2008.
19662 * conform/run-conformtest.sh: Run all tests.
19663 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19664 headers.
19665 * include/bits/dlfcn.h: Likewise.
19666 * include/langinfo.h: Likewise.
19667 * include/monetary.h: Likewise.
19668 * include/sys/poll.h: Likewise.
19669
19670 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19671 for __USE_GNU.
19672 * posix/spawn.h: Define __need_sigset_t.
19673 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19674 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19675 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19676 to get sigevent_t only.
19677 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19678 only for __USE_GNU.
19679 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19680 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19681 process_vm_writev only for __USE_GNU.
19682 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19683
19684 * conform/Makefile: For now ignore errors from run-conformtest.
19685 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19686 POSIX to avoid namespace pollution. Don't prepend headers.
19687 * conform/data/aio.h-data: Fixes for POSIX testing.
19688 * conform/data/fcntl.h-data: Likewise.
19689 * conform/data/glob.h-data: Likewise.
19690 * conform/data/grp.h-data: Likewise.
19691 * conform/data/pthread.h-data: Likewise.
19692 * conform/data/pwd.h-data: Likewise.
19693 * conform/data/signal.h-data: Likewise.
19694 * conform/data/spawn.h-data: Likewise.
19695 * conform/data/stdio.h-data: Likewise.
19696 * conform/data/stdlib.h-data: Likewise.
19697 * conform/data/stropts.h-data: Likewise.
19698 * conform/data/sys/mman.h-data: Likewise.
19699 * conform/data/sys/stat.h-data: Likewise.
19700 * conform/data/sys/types.h-data: Likewise.
19701 * conform/data/sys/wait.h-data: Likewise.
19702 * conform/data/time.h-data: Likewise.
19703 * conform/data/unistd.h-data: Likewise.
19704 * conform/data/utime.h-data: Likewise.
19705
19706 * io/sys/stat.h: fchmod was always in POSIX.
19707 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19708 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19709 * rt/aio.h: Define __need_timespec before including <time.h>.
19710 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19711 struct. Add forward declaration of pthread_attr_t and use it in
19712 sigevent.
19713 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19714 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19715 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19716 always remove CLK_TCK definition.
19717
c20105c3
AS
197182012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19719
19720 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19721
7a270350
UD
197222012-02-25 Ulrich Drepper <drepper@gmail.com>
19723
31341567
UD
19724 * conform/run-conformtest.sh: New file.
19725 * conform/Makefile: Run run-conformtest for tests.
19726 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19727 support.
19728
19729 * conform/data/uchar.h-data: New file.
19730 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19731 * conform/data/arpa/inet.h-data: Likewise.
19732 * conform/data/assert.h-data: Likewise.
19733 * conform/data/complex.h-data: Likewise.
19734 * conform/data/cpio.h-data: Likewise.
19735 * conform/data/ctype.h-data: Likewise.
19736 * conform/data/dirent.h-data: Likewise.
19737 * conform/data/dlfcn.h-data: Likewise.
19738 * conform/data/errno.h-data: Likewise.
19739 * conform/data/fcntl.h-data: Likewise.
19740 * conform/data/float.h-data: Likewise.
19741 * conform/data/fmtmsg.h-data: Likewise.
19742 * conform/data/fnmatch.h-data: Likewise.
19743 * conform/data/ftw.h-data: Likewise.
19744 * conform/data/glob.h-data: Likewise.
19745 * conform/data/grp.h-data: Likewise.
19746 * conform/data/iconv.h-data: Likewise.
19747 * conform/data/inttypes.h-data: Likewise.
19748 * conform/data/langinfo.h-data: Likewise.
19749 * conform/data/libgen.h-data: Likewise.
19750 * conform/data/limits.h-data: Likewise.
19751 * conform/data/locale.h-data: Likewise.
19752 * conform/data/math.h-data: Likewise.
19753 * conform/data/monetary.h-data: Likewise.
19754 * conform/data/mqueue.h-data: Likewise.
19755 * conform/data/ndbm.h-data: Likewise.
19756 * conform/data/net/if.h-data: Likewise.
19757 * conform/data/netdb.h-data: Likewise.
19758 * conform/data/netinet/in.h-data: Likewise.
19759 * conform/data/nl_types.h-data: Likewise.
19760 * conform/data/poll.h-data: Likewise.
19761 * conform/data/pthread.h-data: Likewise.
19762 * conform/data/pwd.h-data: Likewise.
19763 * conform/data/regex.h-data: Likewise.
19764 * conform/data/sched.h-data: Likewise.
19765 * conform/data/search.h-data: Likewise.
19766 * conform/data/semaphore.h-data: Likewise.
19767 * conform/data/setjmp.h-data: Likewise.
19768 * conform/data/signal.h-data: Likewise.
19769 * conform/data/spawn.h-data: Likewise.
19770 * conform/data/stdarg.h-data: Likewise.
19771 * conform/data/stdio.h-data: Likewise.
19772 * conform/data/stdlib.h-data: Likewise.
19773 * conform/data/string.h-data: Likewise.
19774 * conform/data/strings.h-data: Likewise.
19775 * conform/data/stropts.h-data: Likewise.
19776 * conform/data/sys/ipc.h-data: Likewise.
19777 * conform/data/sys/mman.h-data: Likewise.
19778 * conform/data/sys/msg.h-data: Likewise.
19779 * conform/data/sys/resource.h-data: Likewise.
19780 * conform/data/sys/select.h-data: Likewise.
19781 * conform/data/sys/sem.h-data: Likewise.
19782 * conform/data/sys/shm.h-data: Likewise.
19783 * conform/data/sys/socket.h-data: Likewise.
19784 * conform/data/sys/stat.h-data: Likewise.
19785 * conform/data/sys/statvfs.h-data: Likewise.
19786 * conform/data/sys/time.h-data: Likewise.
19787 * conform/data/sys/timeb.h-data: Likewise.
19788 * conform/data/sys/times.h-data: Likewise.
19789 * conform/data/sys/types.h-data: Likewise.
19790 * conform/data/sys/uio.h-data: Likewise.
19791 * conform/data/sys/un.h-data: Likewise.
19792 * conform/data/sys/utsname.h-data: Likewise.
19793 * conform/data/sys/wait.h-data: Likewise.
19794 * conform/data/syslog.h-data: Likewise.
19795 * conform/data/tar.h-data: Likewise.
19796 * conform/data/termios.h-data: Likewise.
19797 * conform/data/utime.h-data: Likewise.
19798 * conform/data/utmpx.h-data: Likewise.
19799 * conform/data/varargs.h-data: Likewise.
19800 * conform/data/wchar.h-data: Likewise.
19801 * conform/data/wctype.h-data: Likewise.
19802 * conform/data/wordexp.h-data: Likewise.
19803
19804 * include/stropts.h: New file.
19805 * include/uchar.h: New file.
19806 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19807 * include/assert.h: Likewise.
19808 * include/ctype.h: Likewise.
19809 * include/dirent.h: Likewise.
19810 * include/dlfcn.h: Likewise.
19811 * include/fcntl.h: Likewise.
19812 * include/fnmatch.h: Likewise.
19813 * include/glob.h: Likewise.
19814 * include/grp.h: Likewise.
19815 * include/libio.h: Likewise.
19816 * include/locale.h: Likewise.
19817 * include/math.h: Likewise.
19818 * include/net/if.h: Likewise.
19819 * include/netdb.h: Likewise.
19820 * include/netinet/in.h: Likewise.
19821 * include/pthread.h: Likewise.
19822 * include/pwd.h: Likewise.
19823 * include/regex.h: Likewise.
19824 * include/sched.h: Likewise.
19825 * include/search.h: Likewise.
19826 * include/setjmp.h: Likewise.
19827 * include/signal.h: Likewise.
19828 * include/stdio.h: Likewise.
19829 * include/stdlib.h: Likewise.
19830 * include/string.h: Likewise.
19831 * include/sys/cdefs.h: Likewise.
19832 * include/sys/mman.h: Likewise.
19833 * include/sys/msg.h: Likewise.
19834 * include/sys/resource.h: Likewise.
19835 * include/sys/select.h: Likewise.
19836 * include/sys/socket.h: Likewise.
19837 * include/sys/stat.h: Likewise.
19838 * include/sys/statvfs.h: Likewise.
19839 * include/sys/time.h: Likewise.
19840 * include/sys/times.h: Likewise.
19841 * include/sys/uio.h: Likewise.
19842 * include/sys/utsname.h: Likewise.
19843 * include/sys/wait.h: Likewise.
19844 * include/termios.h: Likewise.
19845 * include/time.h: Likewise.
19846 * include/ulimit.h: Likewise.
19847 * include/unistd.h: Likewise.
19848 * include/utime.h: Likewise.
19849 * include/wchar.h: Likewise.
19850 * include/wctype.h: Likewise.
19851 * include/wordexp.h: Likewise.
19852
19853 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19854
7a270350
UD
19855 * time/time.h: TIME_UTC must be a macro.
19856 Make timespec_get available for ISO C11 only as well.
19857
7724defc
UD
198582012-02-24 Ulrich Drepper <drepper@gmail.com>
19859
19860 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19861 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19862
6b1d1d46
JM
198632012-02-24 Joseph Myers <joseph@codesourcery.com>
19864
19865 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19866
0f8bbd69
JM
198672012-02-24 Joseph Myers <joseph@codesourcery.com>
19868
19869 * manual/texinfo.tex: Update to version 2012-01-19.16.
19870
66ab80bc
JM
198712012-02-24 Joseph Myers <joseph@codesourcery.com>
19872
19873 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19874
74981cc5
RM
198752012-02-24 Roland McGrath <roland@hack.frob.com>
19876
ee968201
RM
19877 [BZ #13738]
19878 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19879 * manual/fdl-1.3.texi: New file.
19880 * manual/fdl-1.1.texi: File removed.
19881
74981cc5
RM
19882 [BZ #13738]
19883 * manual/libc.texinfo (FDL_VERSION): New @set.
19884 Use it for mention of FDL in cover text.
19885 (Documentation License): Use it in @include file name.
19886
7bb764bc
JM
198872012-02-22 Joseph Myers <joseph@codesourcery.com>
19888 Roland McGrath <roland@hack.frob.com>
19889
19890 [BZ #5461]
19891 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19892 not LONG_LONG_MAX and LONG_LONG_MIN.
19893 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19894 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19895 name.
19896 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19897
6cbeae47
JM
198982012-02-22 Joseph Myers <joseph@codesourcery.com>
19899
19900 [BZ #2547]
19901 [BZ #11365]
19902 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19903 manipulate bits before adding and subtracting TWO23[sx].
19904 * math/libm-test.inc (nearbyint_test): Add more tests.
19905
fe45ce09
JM
199062012-02-22 Joseph Myers <joseph@codesourcery.com>
19907
19908 [BZ #2548]
19909 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19910 bits before adding and subtracting TWO23[sx].
19911 * math/libm-test.inc (rint_test): Add more tests.
19912 (rint_test_tonearest): Likewise.
19913 (rint_test_towardzero): Likewise.
19914 (rint_test_downward): Likewise.
19915 (rint_test_upward: Likewise.
19916
ff3b3d82
JM
199172012-02-22 Joseph Myers <joseph@codesourcery.com>
19918
19919 [BZ #10110]
19920 * include/stdc-predef.h: New file. Extracted from features.h.
19921 * include/features.h: Include stdc-predef.h.
19922 * Makefile (headers): Add stdc-predef.h.
19923 * CONFORMANCE (Compiler limitations): Update.
19924
ef0aab35
JM
199252012-02-22 Joseph Myers <joseph@codesourcery.com>
19926
19927 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19928
58639409
DM
199292012-02-21 David S. Miller <davem@davemloft.net>
19930
19931 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19932 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19933
c0e70b25
DM
199342012-02-20 David S. Miller <davem@davemloft.net>
19935
19936 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19937 using a normal save/restore sequence, rather than allocating a
19938 dummy stack frame just to store a frame pointer and restore.
19939 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19940
fb06851d
JM
199412012-02-21 Joseph Myers <joseph@codesourcery.com>
19942
19943 * manual/install.texi: Fix stray word in line-wrapped comment.
19944
7a8b71c3
DM
199452012-02-20 David S. Miller <davem@davemloft.net>
19946
d510c123
DM
19947 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19948 both binutils and gcc support GOTDATA.
19949
0722d7c2
DM
19950 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19951 "rd %pc" in the PIC register setup sequences.
19952
3d2b3019
DM
19953 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19954 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19955 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19956 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19957 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19958 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19959 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19960 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19961 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19962 (SYSCALL_ERROR_HANDLER): Likewise.
19963 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19964 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19965 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19966 (SYSCALL_ERROR_HANDLER): Likewise.
19967
c80098a9
DM
19968 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19969 (HAVE_GCC_GOTDATA): New.
19970 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19971 relocation support in both binutils and gcc.
19972 * sysdeps/sparc/elf/configure: Regenerate.
19973
3a2545a0
DM
19974 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19975 * sysdeps/sparc/sparc32/elf/configure: Delete.
19976 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19977 * sysdeps/sparc/sparc64/elf/configure: Delete.
19978 * sysdeps/sparc/elf/configure.in: New file.
19979 * sysdeps/sparc/elf/configure: Generate.
19980
7a8b71c3
DM
19981 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19982 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19983 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19984 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19985 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19986
f1e86fca
JM
199872012-02-21 Joseph Myers <joseph@codesourcery.com>
19988
19989 * manual/install.texi: Do not mention specific glibc version
19990 numbers.
19991 * manual/libc.texinfo (VERSION, UPDATED): Update.
19992 (@copying): Use @copyright{} and range of years.
19993
0e7dfaef
JM
199942012-02-21 Joseph Myers <joseph@codesourcery.com>
19995
19996 [BZ #13695]
19997 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19998 [crti.S not in sysdirs] (generated): Do not append.
19999 [crti.S not in sysdirs] (omit-deps): Likewise.
20000 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20001 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20002 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20003 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20004 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20005 Likewise.
20006 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20007 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20008 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20009 * csu/defs.awk: Remove file.
20010 * sysdeps/generic/initfini.c: Likewise.
20011 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20012 variable.
20013 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20014 Likewise.
20015
599af3ca
JM
200162012-02-20 Joseph Myers <joseph@codesourcery.com>
20017
20018 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20019 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20020 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20021 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20022 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20023 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20024 <bits/epoll.h>.
20025 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20026 (__EPOLL_PACKED): Define to empty if not defined by
20027 <bits/epoll.h>.
20028 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20030 bits/epoll.h.
20031
0e499750
JM
200322012-02-20 Joseph Myers <joseph@codesourcery.com>
20033
20034 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20035 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20036 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20037 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20038 <bits/timerfd.h>.
20039 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20041 bits/timerfd.h.
20042
5ad91f6e
JM
200432012-02-20 Joseph Myers <joseph@codesourcery.com>
20044
20045 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20046 in C locale.
20047 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20048 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20049 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20051
06b99b02
AJ
200522012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20053
20054 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20055 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20056
7638c0fd
AS
200572012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20058
20059 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20060 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20061 defined.
20062 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20063 Likewise.
20064 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20065 entry for 2.16.
20066
92221550
AJ
200672012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20068
20069 * math/w_acos.c: Use non-signaling floating-point comparisons.
20070 * math/w_acosf.c: Likewise.
20071 * math/w_acosh.c: Likewise.
20072 * math/w_acoshf.c: Likewise.
20073 * math/w_acoshl.c: Likewise.
20074 * math/w_acosl.c: Likewise.
20075 * math/w_asin.c: Likewise.
20076 * math/w_asinf.c: Likewise.
20077 * math/w_asinl.c: Likewise.
20078 * math/w_atanh.c: Likewise.
20079 * math/w_atanhf.c: Likewise.
20080 * math/w_atanhl.c: Likewise.
20081 * math/w_exp2.c: Likewise.
20082 * math/w_exp2f.c: Likewise.
20083 * math/w_exp2l.c: Likewise.
20084 * math/w_j0.c: Likewise.
20085 * math/w_j0f.c: Likewise.
20086 * math/w_j0l.c: Likewise.
20087 * math/w_j1.c: Likewise.
20088 * math/w_j1f.c: Likewise.
20089 * math/w_j1l.c: Likewise.
20090 * math/w_jn.c: Likewise.
20091 * math/w_jnf.c: Likewise.
20092 * math/w_log.c: Likewise.
20093 * math/w_log10.c: Likewise.
20094 * math/w_log10f.c: Likewise.
20095 * math/w_log10l.c: Likewise.
20096 * math/w_log2.c: Likewise.
20097 * math/w_log2f.c: Likewise.
20098 * math/w_log2l.c: Likewise.
20099 * math/w_logf.c: Likewise.
20100 * math/w_logl.c: Likewise.
20101 * math/w_sqrt.c: Likewise.
20102 * math/w_sqrtf.c: Likewise.
20103 * math/w_sqrtl.c: Likewise.
20104 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20105 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20106 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20107 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20108 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20109
ebaf36eb
JM
201102012-02-19 Joseph Myers <joseph@codesourcery.com>
20111
20112 [BZ #9739]
20113 * manual/string.texi (strnlen): Use correct parameter name in
20114 equivalent expression.
20115
71c254a6
JM
201162012-02-19 Joseph Myers <joseph@codesourcery.com>
20117
20118 [BZ #11174]
20119 * manual/users.texi (seteuid): Consistently use neweuid for
20120 argument name.
20121
16d2c631
JM
201222012-02-19 Joseph Myers <joseph@codesourcery.com>
20123
20124 [BZ #13704]
20125 * manual/nss.texi (Services in the NSS configuration): Correct
20126 list of services in example configuration file.
20127
cd837b09
NB
201282012-02-19 Nick Bowler <nbowler@draconx.ca>
20129
20130 [BZ #11322]
20131 * manual/arith.texi: Remove statements about negative zero
20132 behaving identically to zero.
20133
02c4bbad
JM
201342012-02-18 Joseph Myers <joseph@codesourcery.com>
20135
20136 [BZ #5993]
20137 * manual/install.texi: Do not document upgrading from libc5.
20138
366842e7
JM
201392012-02-18 Joseph Myers <joseph@codesourcery.com>
20140
20141 [BZ #4596]
20142 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20143
dd54084d
DM
201442012-02-18 David S. Miller <davem@davemloft.net>
20145
20146 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20147 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20148 %o7 across the call.
20149 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20150 instead.
20151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20152 SETUP_PIC_REG_LEAF.
20153 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20154 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20155 * sysdeps/sparc/crtn.S: Likewise.
20156
2bcc53a3
UD
201572012-02-17 Ulrich Drepper <drepper@gmail.com>
20158
20159 * aout/Makefile: Remove.
20160
09c093b5
RK
201612012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20162
20163 [BZ #13058]
20164 * manual/examples/argp-ex1.c (main): Format definition in GNU
20165 style.
20166 * manual/examples/argp-ex2.c (main): Likewise.
20167 * manual/examples/argp-ex3.c (main): Likewise.
20168 * manual/examples/argp-ex4.c (main): Likewise.
20169 * manual/examples/longopt.c (main): Use new-style prototype
20170 definition.
20171 * manual/examples/strncat.c (main): Specify return type and use
20172 (void) for arguments.
20173 * manual/examples/subopt.c (main): Use char **argv argument.
20174
2ee633a2
JM
201752012-02-17 Joseph Myers <joseph@codesourcery.com>
20176
20177 [BZ #5077]
20178 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20179 rounding modes.
20180
0520adde
FB
201812012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20182
20183 [BZ #6907]
20184 * manual/string.texi (strchr): Change when strchrnul is
20185 recommended.
20186
3f4081cd
DGM
201872012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20188
20189 [BZ #174]
20190 * manual/locale.texi (setlocale): Document LOCPATH.
20191
d1b10e78
JM
201922012-02-17 Joseph Myers <joseph@codesourcery.com>
20193
20194 [BZ #10210]
20195 * manual/process.texi (execle): Move @dots{} before last argument.
20196
79c6869c
PB
201972012-02-17 Paul Bolle <pebolle@tiscali.nl>
20198
20199 [BZ #12047]
20200 * manual/charset.texi (Generic Charset Conversion): Fix typo
20201 (LC_TYPE -> LC_CTYPE).
20202
cc6e48bc
NB
202032012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20204
20205 [BZ #5805]
20206 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20207 (scalbnf): Likewise.
20208 (scalbnl): Likewise.
20209 (scalbln): Likewise.
20210 (scalblnf): Likewise.
20211 (scalblnl): Likewise.
20212 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20213 (vwarnx): Likewise.
20214 (verr): Likewise.
20215 (verrx): Likewise.
20216 * manual/filesys.texi (telldir): Use braces around return type.
20217 * manual/llio.texi (mmap): Add space after comma.
20218 (mmap64): Likewise.
20219 * manual/math.texi (jn): Use @var{} on parameter names.
20220 (jnf): Likewise.
20221 (jnl): Likewise.
20222 (yn): Likewise.
20223 (ynf): Likewise.
20224 (ynl): Likewise.
20225 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20226 line.
20227 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20228 "...".
20229 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20230 (sched_get_priority_max): Likewise.
20231 * manual/signal.texi (sigvec): Add space after comma.
20232 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20233 names.
20234 (if_indextoname): Likewise.
20235 (if_freenameindex): Likewise.
20236 (sendto): Use ',' instead of '.' in prototype.
20237 * manual/startup.texi (syscall): Use @dots{} instead of literal
20238 "...".
20239 * manual/stdio.texi (__fpending): Separate initial words of
20240 paragraph from @deftypefun line.
20241 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20242 "...".
20243 (vsyslog): Use @var{} on parameter names.
20244 * manual/terminal.texi (stty): Use @var{} on parameter names.
20245 * manual/users.texi (getutmp): Use @var{} on parameter names.
20246 (getutmpx): Likewise.
20247
5b23062f
JM
202482012-02-17 Joseph Myers <joseph@codesourcery.com>
20249
20250 [BZ #6884]
20251 * manual/stdio.texi (fopen): Fix typos in description of
20252 ",ccs=STRING".
20253
8dee4833
AJ
202542012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20255
20256 [BZ #4026]
20257 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20258 get clock_id definition.
20259
9078ce93
TS
202602012-02-17 Thomas Schwinge <thomas@schwinge.name>
20261
20262 [BZ #4822]
20263 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20264 (madvise): Cast every argument to void on its own.
20265
3835c55f
JM
202662012-02-17 Joseph Myers <joseph@codesourcery.com>
20267
20268 [BZ #9902]
20269 * manual/startup.texi (Exit Status): Fix typo.
20270
35c47e37
JM
202712012-02-17 Joseph Myers <joseph@codesourcery.com>
20272
20273 [BZ #10140]
20274 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20275 * manual/examples/argp-ex2.c: Likewise.
20276 * manual/examples/argp-ex3.c: Likewise.
20277
e3b69ca7
RH
202782012-02-16 Richard Henderson <rth@redhat.com>
20279
20280 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20281 * sysdeps/s390/s390-32/initfini.c: Remove.
20282 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20283 * sysdeps/s390/s390-64/initfini.c: Remove.
20284
df83af67
KK
202852012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20286
20287 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20288 compiler output for sysdeps/generic/initfini.c.
20289 * sysdeps/sh/elf/initfini.c: Remove file.
20290
f63f3380
DM
202912012-02-16 David S. Miller <davem@davemloft.net>
20292
fb59b3a4
DM
20293 [BZ #11494]
20294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20295
f63f3380
DM
20296 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20297 * sysdeps/sparc/crti.S: New file.
20298 * sysdeps/sparc/crtn.S: New file.
20299 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20300 * sysdeps/sparc/sparc64/Makefile: Likewise.
20301
df6a4a4a
MF
203022012-02-15 Mike Frysinger <vapier@gentoo.org>
20303
6dd8f3dc 20304 [BZ #3335]
df6a4a4a
MF
20305 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20306
1cac7236
RM
203072012-02-15 Roland McGrath <roland@hack.frob.com>
20308
d2c736f8
RM
20309 [BZ #4822]
20310 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20311
1cac7236
RM
20312 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20313 (write, read, close): Likewise.
20314 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20315
8e475601
JM
203162012-02-15 Joseph Myers <joseph@codesourcery.com>
20317
20318 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20319 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20320 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20321 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20322 <bits/signalfd.h>.
20323 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20325 bits/signalfd.h.
20326
ed656b40
MP
203272012-02-14 Marek Polacek <polacek@redhat.com>
20328
20329 * sysdeps/x86_64/crti.S: New file.
20330 * sysdeps/x86_64/crtn.S: New file.
20331 * sysdeps/x86_64/elf/initfini.c: Remove file.
20332
2a979d3a
JM
203332012-02-13 Joseph Myers <joseph@codesourcery.com>
20334
20335 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20336 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20337 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20338 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20339 <bits/inotify.h>.
20340 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20342 bits/inotify.h.
20343
2a418ac3
JM
203442012-02-13 Joseph Myers <joseph@codesourcery.com>
20345
20346 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20347 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20348 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20349 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20350 <bits/eventfd.h>.
20351 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20353 bits/eventfd.h.
20354
fb779be7
TS
203552012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20356
e19e83c5
RM
20357 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20358 __feraiseexcept instead of feraiseexcept.
7c35ffed 20359
fb779be7
TS
20360 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20361 nanosleep invocations.
20362 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20363 strings, and add error checking for a nanosleep invocations.
20364
59ba27a6
PE
203652012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20366
20367 Replace FSF snail mail address with URLs, as per GNU coding standards.
20368 Most of the snail mail addresses were wrong anyway, and omitting
20369 them makes the source code easier to maintain. Almost all of the
20370 changes are to license notices and to locale LC_IDENTIFICATION
20371 addresses, except for this one:
20372 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20373 not its snail mail address.
20374
57b957eb
RH
203752012-02-09 Richard Henderson <rth@twiddle.net>
20376
af850b1c
RH
20377 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20378 of kernel-features.h.
20379
57b957eb
RH
20380 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20381
6b73181a
MP
203822012-02-08 Marek Polacek <polacek@redhat.com>
20383
20384 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20385 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20386 * sysdeps/gnu/_G_config.h: Likewise.
20387 * sysdeps/generic/_G_config.h: Likewise.
20388
26ecc33a
AS
203892012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20390
6c6dbc63
AS
20391 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20392 tests.
20393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20394
e216c012
AS
20395 * sysdeps/powerpc/powerpc32/crti.S: New file.
20396 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20397 * sysdeps/powerpc/powerpc64/crti.S: New file.
20398 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20399
26ecc33a
AS
20400 * Makeconfig (have-initfini): Don't set.
20401 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20402 * configure.in (nopic_initfini): Don't substitute.
20403 * config.h.in (HAVE_INITFINI): Don't #undef.
20404 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20405 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20406
3add8e13
JM
204072012-02-08 Joseph Myers <joseph@codesourcery.com>
20408
20409 Support crti.S and crtn.S provided directly by architectures.
20410 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20411 [crti.S in sysdirs] (omit-deps): Likewise.
20412 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20413 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20414 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20415 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20416 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20417 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20418 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20419 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20420 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20421 compiler output for sysdeps/generic/initfini.c.
20422 * sysdeps/i386/elf/Makefile: Remove file.
20423 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20424
a22f12b4
MP
204252012-02-07 Marek Polacek <polacek@redhat.com>
20426
20427 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20428 * sysdeps/gnu/_G_config.h: Likewise.
20429 * sysdeps/mach/hurd/_G_config.h: Likewise.
20430
148cf100
MP
204312012-02-07 Marek Polacek <polacek@redhat.com>
20432
20433 * math/Makefile (tests): Add tst-CMPLX2.
20434 * math/tst-CMPLX2.c: New file.
20435
cfdc0dd7
AS
204362012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20437
84ba42c4
AS
20438 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20439
cfdc0dd7
AS
20440 * math/libm-test.inc (jn_test): Add missing L suffix.
20441
622c86f4
MP
204422012-02-06 Marek Polacek <polacek@redhat.com>
20443
20444 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20445 * sysdeps/i386/fpu/e_powf.S: Likewise.
20446 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20447 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20448 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20449 * sysdeps/i386/fpu/e_pow.S: Likewise.
20450 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20451 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20452 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20453 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20454 * sysdeps/i386/fpu/e_log2.S: Likewise.
20455 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20456 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20457 * sysdeps/i386/fpu/e_powl.S: Likewise.
20458 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20459 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20460 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20461 * sysdeps/i386/fpu/e_logl.S: Likewise.
20462 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20463 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20464 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20465 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20466 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20467 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20468 * sysdeps/i386/fpu/e_log.S: Likewise.
20469 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20470 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20471 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20472 * sysdeps/i386/fpu/e_logf.S: Likewise.
20473 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20474 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20475 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20476 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20477 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20478 * sysdeps/i386/fpu/e_log10.S: Likewise.
20479 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20480 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20481 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20482 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20483 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20484 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20485 * sysdeps/i386/asm-syntax.h: Likewise.
20486 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20487 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20488 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20489 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20490 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20491 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20492 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20493 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20494 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20495 * sysdeps/powerpc/sysdep.h: Likewise.
20496 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20497 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20498
d4a54ac6
JM
204992012-02-06 Joseph Myers <joseph@codesourcery.com>
20500
20501 [BZ #411]
20502 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20503
314054ea
JM
205042012-02-06 Joseph Myers <joseph@codesourcery.com>
20505
20506 * sysdeps/i386/sysdep.h: Include <features.h>.
20507 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20508 version.
20509
d8e0ca50
JM
205102012-02-05 Joseph Myers <joseph@codesourcery.com>
20511
20512 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20513 Define.
20514 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20515 LOAD_PIC_REG_STR.
20516
b1da7dd9
JM
205172012-02-03 Joseph Myers <joseph@codesourcery.com>
20518
20519 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20520 (SETUP_PIC_REG): Use GET_PC_THUNK.
20521 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20522 macro.
20523
9a1d9254
JM
205242012-02-03 Joseph Myers <joseph@codesourcery.com>
20525
20526 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20527 for non-PIC compilation.
20528 (SETUP_PIC_REG): Add .p2align directive.
20529 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20530 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20531 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20532 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20533 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20534 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20535 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20536 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20537 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20538 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20539 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20540 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20541 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20542 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20543 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20544 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20545 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20546 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20547 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20548 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20549 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20550 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20551 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20552 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20553 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20554 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20555 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20556 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20557 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20558 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20559 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20560 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20561 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20562 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20563 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20564 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20565 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20566 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20567 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20568 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20569 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20570
65dc3b75
JM
205712012-02-03 Joseph Myers <joseph@codesourcery.com>
20572
20573 * math/tst-CMPLX.c: Include <stdio.h>.
20574
d55bf177
JM
205752012-01-31 Joseph Myers <joseph@codesourcery.com>
20576
20577 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20578 float.
20579 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20580 * sysdeps/sparc/bits/mathdef.h: Likewise.
20581
69db4f8f
MP
205822012-01-31 Marek Polacek <polacek@redhat.com>
20583
20584 * libio/libio.h: Don't define _PARAMS.
20585 * locale/programs/config.h: Don't define PARAMS.
20586 * stdlib/strtol_l.c: Likewise.
20587 (__strtol_l): Remove PARAMS from the prototype.
20588
41b81892
UD
205892012-01-31 Ulrich Drepper <drepper@gmail.com>
20590
3b49edc0
UD
20591 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20592 names. Just use the correct names. Remove unnecessary wrapper
20593 functions.
20594 * malloc/arena.c: Likewise.
20595 * malloc/hooks.c: Likewise.
20596
41b81892
UD
20597 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20598 ARENA_TEST says not to. Simplify test for creation of a new arena.
20599 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20600
27a25b6e
UD
206012012-01-30 Ulrich Drepper <drepper@gmail.com>
20602
20603 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20604 into tail calls.
20605 (update_get_addr): New function.
20606 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20607 GET_ADDR_MODULE parameter.
20608
c8a89e7d
JM
206092012-01-30 Joseph Myers <joseph@codesourcery.com>
20610
20611 * crypt/cert.c: Remove __STDC__ conditionals.
20612 * crypt/crypt-entry.c: Likewise.
20613 * crypt/crypt_util.c: Likewise.
20614 * libio/filedoalloc.c: Likewise.
20615 * libio/fileops.c: Likewise.
20616 * libio/genops.c: Likewise.
20617 * libio/iofclose.c: Likewise.
20618 * libio/iofdopen.c: Likewise.
20619 * libio/iofopen.c: Likewise.
20620 * libio/iofopen64.c: Likewise.
20621 * libio/iogetdelim.c: Likewise.
20622 * libio/iopopen.c: Likewise.
20623 * libio/obprintf.c: Likewise.
20624 * libio/oldfileops.c: Likewise.
20625 * libio/oldiofclose.c: Likewise.
20626 * libio/oldiofdopen.c: Likewise.
20627 * libio/oldiofopen.c: Likewise.
20628 * libio/oldiopopen.c: Likewise.
20629 * libio/wfiledoalloc.c: Likewise.
20630 * libio/wgenops.c: Likewise.
20631 * locale/programs/xmalloc.c: Likewise.
20632 * misc/syslog.c: Likewise.
20633 * stdio-common/xbug.c: Likewise.
20634 * string/memchr.c: Likewise.
20635 * string/memcmp.c: Likewise.
20636 * string/memrchr.c: Likewise.
20637 * string/rawmemchr.c: Likewise.
20638 * sysdeps/posix/getcwd.c: Likewise.
20639 * time/strftime_l.c: Likewise.
20640
3b100462
JM
206412012-01-30 Joseph Myers <joseph@codesourcery.com>
20642
20643 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20644 * config.make.in (config-cflags-sse2avx): Define.
20645 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20646 Fix typo.
20647
607998af
CM
206482012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20649
20650 * scripts/config.guess: Update from upstream config git repository.
20651 * scripts/config.sub: Likewise.
20652
3601428f
CM
206532012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20654
3ac8b282
CM
20655 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20656 (EM_NUM): Update.
20657 (R_TILEPRO_*, R_TILEGX_*): New macros.
20658
e034841e
CM
20659 * scripts/firstversions.awk: Fix bug in version range handling.
20660
540d7568
CM
20661 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20662
3601428f
CM
20663 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20664
463de862
CM
20665 * include/sys/epoll.h: New file.
20666 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20667 libc_hidden_def.
20668
73139a76
UD
206692012-01-28 Ulrich Drepper <drepper@gmail.com>
20670
96bc5b45
UD
20671 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20672 Avoid unnecessary __WORDSIZE == 64 test.
20673 (fmaxf): Use VEX format if possible.
20674 (fmax): Likewise.
20675 (fminf): Likewise.
20676 (fmin): Likewise.
20677
56f6f6a2
UD
20678 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20679 * math/math_private.h: Remove libc_fegetround* and
20680 libc_fesetround*.
20681 * sysdeps/i386/configure.in: Check for -msse2avx.
20682 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20683 also if SSE2AVX is defined.
20684 Remove libc_fegetround* and libc_fesetround*.
20685 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20686 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20687 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20688 of HAS_YMM_USABLE.
20689 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20690 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20691 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20692 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20693 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20694
73139a76
UD
20695 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20696
d73f93a4
AZ
206972012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20698
20699 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20700 size is not set.
20701 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20702
6ee65ed6
UD
207032012-01-27 Ulrich Drepper <drepper@gmail.com>
20704
20705 [BZ #13618]
20706 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20707 relocation.
20708 * Makeconfig (libm): Define.
20709 * elf/Makefile: Add rules to build and run tst-relsort1.
20710 * elf/tst-relsort1.c: New file.
20711 * elf/tst-relsort1mod1.c: New file.
20712 * elf/tst-relsort1mod2.c: New file.
20713
8db21882
JM
207142012-01-27 Joseph Myers <joseph@codesourcery.com>
20715
20716 * math/s_ldexp.c: Remove __STDC__ conditionals.
20717 * math/s_ldexpf.c: Likewise.
20718 * math/s_ldexpl.c: Likewise.
20719 * math/s_nextafter.c: Likewise.
20720 * math/s_nexttowardf.c: Likewise.
20721 * math/s_significand.c: Likewise.
20722 * math/s_significandf.c: Likewise.
20723 * math/s_significandl.c: Likewise.
20724 * math/w_jnl.c: Likewise.
20725 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20726 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20727 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20728 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20729 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20730 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20731 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20732 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20733 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20734 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20735 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20736 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20737 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20738 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20739 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20740 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20741 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20742 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20743 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20744 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20745 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20746 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20747 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20748 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20749 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20750 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20751 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20752 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20753 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20754 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20755 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20756 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20757 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20758 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20759 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20760 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20761 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20762 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20763 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20764 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20765 * sysdeps/ieee754/k_standard.c: Likewise.
20766 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20767 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20768 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20769 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20770 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20771 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20772 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20773 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20774 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20775 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20776 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20777 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20778 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20779 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20780 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20781 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20782 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20783 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20784 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20785 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20786 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20787 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20788 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20789 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20790 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20791 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20792 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20793 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20794 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20795 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20796 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20797 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20798 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20799 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20800 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20801 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20802 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20803 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20804 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20805 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20806 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20807 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20808 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20809 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20810 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20811 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20812 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20813 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20814 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20815 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20816 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20817 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20818 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20819 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20820 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20821 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20822 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20823 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20824 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20825 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20826 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20827 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20828 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20829 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20830 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20831 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20832 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20833 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20834 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20835 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20836 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20837 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20838 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20839 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20840 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20841 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20842 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20843 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20844 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20845 * sysdeps/ieee754/s_matherr.c: Likewise.
20846 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20847 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20848 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20849 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20850
965a54a4
JM
208512012-01-26 Joseph Myers <joseph@codesourcery.com>
20852
20853 * crypt/md5.h: Remove __STDC__ conditionals.
20854 * libio/libioP.h: Likewise.
20855 * locale/programs/config.h: Likewise.
20856 * sysdeps/generic/sysdep.h: Likewise.
20857 * sysdeps/i386/asm-syntax.h: Likewise.
20858 * sysdeps/s390/asm-syntax.h: Likewise.
20859 * sysdeps/unix/sysdep.h: Likewise.
20860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20862
7071ad79
JM
208632012-01-26 Joseph Myers <joseph@codesourcery.com>
20864
20865 * libio/libio.h: Remove __STDC__ conditionals.
20866 * malloc/obstack.h: Likewise.
20867 * math/complex.h: Likewise.
20868 * math/math.h: Likewise.
20869 * sysdeps/generic/_G_config.h: Likewise.
20870 * sysdeps/gnu/_G_config.h: Likewise.
20871 * sysdeps/mach/hurd/_G_config.h: Likewise.
20872 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20873 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20874 * sysdeps/sparc/bits/mathdef.h: Likewise.
20875
afc5ed09
UD
208762012-01-26 Ulrich Drepper <drepper@gmail.com>
20877
20878 [BZ #13583]
20879 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20880 Clean up HAS_* macros.
afc5ed09 20881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20882 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20883 possible.
20884 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20885 HAS_AVX.
20886 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20887 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20888 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20889 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20890 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20891
bdb6de1d
JM
208922012-01-25 Joseph Myers <joseph@codesourcery.com>
20893
20894 * elf/tst-unique3.cc (gets): Remove declaration.
20895 * elf/tst-unique3lib.cc (gets): Likewise.
20896 * elf/tst-unique3lib2.cc (gets): Likewise.
20897 * elf/tst-unique4.cc (gets): Likewise.
20898
b15549e6
UD
208992012-01-24 Ulrich Drepper <drepper@gmail.com>
20900
20901 * include/stdio.h: Add C++ protection. Add gets declarations and
20902 definitions.
20903 * debug/tst-chk1.c: Don't declare gets here.
20904 * stdio-common/tst-gets.c: Likewise.
20905
a037381f
JM
209062012-01-24 Joseph Myers <joseph@codesourcery.com>
20907
20908 * posix/glob: Remove directory.
20909
f1d4aa75
JM
209102012-01-24 Joseph Myers <joseph@codesourcery.com>
20911
20912 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20913
81c0c964
PT
209142012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20915
20916 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20917 of the non-standard EPFNOSUPPORT.
20918
0ea698ae
ST
209192011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20920
20921 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20922 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20923 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20924
d220b117
UD
209252012-01-21 Ulrich Drepper <drepper@gmail.com>
20926
20927 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20928
3e1aa84e
UD
209292012-01-20 Ulrich Drepper <drepper@gmail.com>
20930
20931 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20932 transient errors.
20933 * nscd/grpcache.c (cache_addgr): Likewise.
20934 * nscd/hstcache.c (cache_addhst): Likewise.
20935 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20936 * nscd/pwdcache.c (cache_addpw): Likewise.
20937 * nscd/servicescache.c (cache_addserv): Likewise.
20938
400aa020
UD
209392012-01-16 Ulrich Drepper <drepper@gmail.com>
20940
d77e7869
UD
20941 * malloc/malloc.c: Various cleanups.
20942 * malloc/hooks.c: Likewise.
20943
400aa020
UD
20944 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20945 * stdlib/bug-fmtmsg1.c: New file.
20946
20947 * stdlib/fmtmsg.c (init): Add missing unlock.
20948 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20949
e0a309cf
MP
209502012-01-12 Marek Polacek <polacek@redhat.com>
20951
20952 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20953 and _GNU_SOURCE.
20954
929d11c7
WS
209552012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20956
20957 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20958 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20959 macro to ensure uniqueness of label name.
20960 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20961 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20962
41d0e869
UD
209632012-01-11 Ulrich Drepper <drepper@gmail.com>
20964
0cc5ed3b
UD
20965 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20966
41d0e869
UD
20967 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20968 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20969 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20971
a47a831a
UD
209722012-01-10 Ulrich Drepper <drepper@gmail.com>
20973
daa891c0
UD
20974 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20975
20976 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20977 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20978 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20979
e58ef0f2
UD
20980 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20981
a47a831a 20982 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20983 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20984 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20985 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20986
20987 * math/bits/math-finite.h: Add ldexp support.
20988
a0bfc9c7
MP
209892012-01-10 Marek Polacek <polacek@redhat.com>
20990
20991 * locale/programs/localedef.h (show_archive_content): Add noreturn
20992 attribute.
20993
d6e97a1d
UD
209942012-01-09 Ulrich Drepper <drepper@gmail.com>
20995
20996 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20997
d5835c26
UD
209982012-01-08 Ulrich Drepper <drepper@gmail.com>
20999
e5f484c6
UD
21000 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21001
d5835c26
UD
21002 * io/Makefile (headers): Add bits/poll2.h.
21003
d1f741e9
WS
210042011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21005
21006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21007 typo #include statement.
21008
ec09c1c4
UD
210092012-01-08 Ulrich Drepper <drepper@gmail.com>
21010
21011 * include/sys/cdefs.h: Define __attribute_alloc_size.
21012 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21013 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21014 * elf/pldd.c: Likewise.
21015 * iconv/iconv_charmap.c: Likewise.
21016 * iconv/iconvconfig.c: Likewise.
21017 * iconv/strtab.c: Likewise.
21018 * locale/programs/locale.c: Likewise.
21019 * locale/programs/localedef.h: Likewise.
21020 * locale/programs/simple-hash.c: Likewise.
21021 * nscd/nscd.h: Likewise.
21022 * nss/makedb.c: Likewise.
21023 * sysdeps/generic/ldconfig.h: Likewise.
21024 * locale/programs/localedef.c: Remove xmalloc prototype.
21025 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21026
20b38e03
PP
210272012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21028
21029 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21030 appropriate.
21031
a0da5fe1
UD
210322012-01-08 Ulrich Drepper <drepper@gmail.com>
21033
1d5a644a 21034 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21035 * math/tst-CMPLX.c: New file.
1d5a644a 21036
8784a6db
UD
21037 * math/complex.h (CMPLXL): Fix typo.
21038
d9a216c0
UD
21039 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21040 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21041 GLIBC_2.16.
21042 * debug/tst-chk1.c: Add poll and ppoll tests.
21043 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21044 * include/sys/poll.h: Add hidden proto for ppoll.
21045 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21046 * sysdeps/mach/hurd/ppoll.c: Likewise.
21047 * io/ppoll.c: Likewise.
21048 * debug/poll_chk.c: New file.
21049 * debug/ppoll_chk.c: New file.
21050 * include/bits/poll2.h: New file.
21051 * io/bits/poll2.h: New file.
21052
ac097f5c
UD
21053 [BZ #1350]
21054 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21055
2119dcfa
UD
21056 * configure.in: static is always set to yes. Remove.
21057 * config.make.in: Don't set build-static.
21058 * Makeconfig: Remove use of build-static.
21059 * dlfcn/Makefile: Likewise.
21060 * elf/Makefile: Likewise.
21061 * math/Makefile: Likewise.
21062 * misc/Makefile: Likewise.
21063 * nptl/Makefile: Likewise.
21064 * sysdeps/mach/hurd/Makefile: Likewise.
21065
121766a9
UD
21066 * configure.in: PWD_P is not used anymore.
21067 * config.make.in: Remove PWD_P entry.
21068
51a1d39c 21069 * configure.in: Remove last remnants of RANLIB.
8720d066 21070 No need to check for signed size_t anymore.
215f4bdc
UD
21071 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21072 and IA-64.
3857022a 21073 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21074 * aclocal.m4: Likewise.
21075
d3ed7225
UD
21076 * wcsmbs/mbrtoc16.c: Implement using towc function.
21077 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21078 * wcsmbs/wcsmbsload.c: Likewise.
21079 * iconv/gconv_simple.c: Likewise.
21080 * iconv/gconv_int.h: Likewise.
21081 * iconv/gconv_builtin.h: Likewise.
21082 * iconv/iconv_prog.c: Remove CHAR16 handling.
21083
21084 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21085
21086 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21087
a0da5fe1
UD
21088 * configure.in: Remove --with-elf and --enable-bounded options.
21089 Dont set base_machine for ia64. More non-ELF conditions removed.
21090 Remove testing and setting of leading underscore information.
21091 * config.make.in (build-bounded): Set to no.
21092 * config.h.in: Remove NO_UNDERSCORES entry.
21093 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21094 them.
21095 * csu/start.c: Remove !NO_UNDERSCORE code.
21096 * locale/localeinfo.h: Likewise.
21097 * sysdeps/generic/machine-gmon.h: Likewise.
21098 * sysdeps/generic/sysdep.h: Likewise.
21099 * sysdeps/i386/sysdep.h: Likewise.
21100 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21101 * sysdeps/mach/sysdep.h: Likewise.
21102 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21103 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21104 * sysdeps/sh/sysdep.h: Likewise.
21105 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21106 * sysdeps/unix/i386/sysdep.S: Likewise.
21107 * sysdeps/unix/sparc/start.c: Likewise.
21108 * sysdeps/unix/sparc/sysdep.S: Likewise.
21109 * sysdeps/unix/sparc/sysdep.h: Likewise.
21110 * sysdeps/unix/start.c: Likewise.
21111 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21112 * sysdeps/x86_64/sysdep.h: Likewise.
21113
df78418a
UD
211142012-01-07 Ulrich Drepper <drepper@gmail.com>
21115
a784e502
UD
21116 [BZ #13553]
21117 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21118 for non-gcc.
21119 * argp/argp-fmtstream.h: Use const instead __const.
21120 * argp/argp.h: Likewise.
21121 * assert/assert.h: Likewise.
21122 * bits/fenv.h: Likewise.
21123 * bits/sched.h: Likewise.
21124 * bits/sigset.h: Likewise.
21125 * bits/sigthread.h: Likewise.
21126 * catgets/nl_types.h: Likewise.
21127 * conform/data/pthread.h-data: Likewise.
21128 * crypt/crypt-private.h: Likewise.
21129 * crypt/crypt.h: Likewise.
21130 * crypt/crypt_util.c: Likewise.
21131 * ctype/ctype.h: Likewise.
21132 * debug/execinfo.h: Likewise.
21133 * debug/mbsnrtowcs_chk.c: Likewise.
21134 * debug/mbsrtowcs_chk.c: Likewise.
21135 * debug/wcsnrtombs_chk.c: Likewise.
21136 * debug/wcsrtombs_chk.c: Likewise.
21137 * debug/wcstombs_chk.c: Likewise.
21138 * dirent/dirent.h: Likewise.
21139 * dlfcn/dlfcn.h: Likewise.
21140 * elf/neededtest4.c: Likewise.
21141 * grp/grp.h: Likewise.
21142 * gshadow/gshadow.h: Likewise.
21143 * iconv/gconv.h: Likewise.
21144 * iconv/gconv_int.h: Likewise.
21145 * iconv/gconv_simple.c: Likewise.
21146 * iconv/iconv.h: Likewise.
21147 * iconv/loop.c: Likewise.
21148 * iconv/skeleton.c: Likewise.
21149 * include/aio.h: Likewise.
21150 * include/aliases.h: Likewise.
21151 * include/argz.h: Likewise.
21152 * include/arpa/inet.h: Likewise.
21153 * include/assert.h: Likewise.
21154 * include/dirent.h: Likewise.
21155 * include/dlfcn.h: Likewise.
21156 * include/execinfo.h: Likewise.
21157 * include/fcntl.h: Likewise.
21158 * include/fenv.h: Likewise.
21159 * include/glob.h: Likewise.
21160 * include/grp.h: Likewise.
21161 * include/libintl.h: Likewise.
21162 * include/mntent.h: Likewise.
21163 * include/netdb.h: Likewise.
21164 * include/pwd.h: Likewise.
21165 * include/rpc/netdb.h: Likewise.
21166 * include/sched.h: Likewise.
21167 * include/search.h: Likewise.
21168 * include/shadow.h: Likewise.
21169 * include/signal.h: Likewise.
21170 * include/stdio.h: Likewise.
21171 * include/stdlib.h: Likewise.
21172 * include/string.h: Likewise.
21173 * include/sys/socket.h: Likewise.
21174 * include/sys/stat.h: Likewise.
21175 * include/sys/statfs.h: Likewise.
21176 * include/sys/statvfs.h: Likewise.
21177 * include/sys/syslog.h: Likewise.
21178 * include/sys/time.h: Likewise.
21179 * include/sys/uio.h: Likewise.
21180 * include/time.h: Likewise.
21181 * include/unistd.h: Likewise.
21182 * include/utmp.h: Likewise.
21183 * include/wchar.h: Likewise.
21184 * include/wctype.h: Likewise.
21185 * inet/aliases.h: Likewise.
21186 * inet/arpa/inet.h: Likewise.
21187 * inet/netinet/ether.h: Likewise.
21188 * inet/netinet/in.h: Likewise.
21189 * intl/libintl.h: Likewise.
21190 * io/bits/fcntl2.h: Likewise.
21191 * io/fcntl.h: Likewise.
21192 * io/ftw.h: Likewise.
21193 * io/sys/poll.h: Likewise.
21194 * io/sys/stat.h: Likewise.
21195 * io/sys/statfs.h: Likewise.
21196 * io/sys/statvfs.h: Likewise.
21197 * io/utime.h: Likewise.
21198 * libio/bits/stdio.h: Likewise.
21199 * libio/bits/stdio2.h: Likewise.
21200 * libio/libio.h: Likewise.
21201 * libio/libioP.h: Likewise.
21202 * libio/stdio.h: Likewise.
21203 * locale/lc-ctype.c: Likewise.
21204 * locale/locale.h: Likewise.
21205 * login/utmp.h: Likewise.
21206 * malloc/arena.c: Likewise.
21207 * malloc/malloc.c: Likewise.
21208 * malloc/malloc.h: Likewise.
21209 * malloc/mcheck.c: Likewise.
21210 * malloc/mtrace.c: Likewise.
21211 * math/bits/mathcalls.h: Likewise.
21212 * math/fenv.h: Likewise.
21213 * math/math_private.h: Likewise.
21214 * misc/bits/error.h: Likewise.
21215 * misc/bits/syslog.h: Likewise.
21216 * misc/err.h: Likewise.
21217 * misc/error.h: Likewise.
21218 * misc/fstab.h: Likewise.
21219 * misc/mntent.h: Likewise.
21220 * misc/regexp.h: Likewise.
21221 * misc/search.h: Likewise.
21222 * misc/sgtty.h: Likewise.
21223 * misc/sys/mman.h: Likewise.
21224 * misc/sys/syslog.h: Likewise.
21225 * misc/sys/uio.h: Likewise.
21226 * misc/sys/xattr.h: Likewise.
21227 * misc/ttyent.h: Likewise.
21228 * nis/rpcsvc/ypclnt.h: Likewise.
21229 * nss/nss.h: Likewise.
21230 * posix/bits/unistd.h: Likewise.
21231 * posix/fnmatch.h: Likewise.
21232 * posix/glob.h: Likewise.
21233 * posix/sched.h: Likewise.
21234 * posix/spawn.h: Likewise.
21235 * posix/sys/wait.h: Likewise.
21236 * posix/unistd.h: Likewise.
21237 * posix/wordexp.h: Likewise.
21238 * pwd/pwd.h: Likewise.
21239 * resolv/netdb.h: Likewise.
21240 * resource/sys/resource.h: Likewise.
21241 * rt/aio.h: Likewise.
21242 * rt/bits/mqueue2.h: Likewise.
21243 * rt/mqueue.h: Likewise.
21244 * shadow/shadow.h: Likewise.
21245 * signal/signal.h: Likewise.
21246 * socket/send.c: Likewise.
21247 * socket/sendto.c: Likewise.
21248 * socket/sys/socket.h: Likewise.
21249 * stdio-common/printf.h: Likewise.
21250 * stdlib/bits/stdlib.h: Likewise.
21251 * stdlib/fmtmsg.h: Likewise.
21252 * stdlib/monetary.h: Likewise.
21253 * stdlib/stdlib.h: Likewise.
21254 * stdlib/ucontext.h: Likewise.
21255 * streams/stropts.h: Likewise.
21256 * string/argz.h: Likewise.
21257 * string/bits/string2.h: Likewise.
21258 * string/string.h: Likewise.
21259 * string/strings.h: Likewise.
21260 * sunrpc/rpc/auth.h: Likewise.
21261 * sunrpc/rpc/auth_des.h: Likewise.
21262 * sunrpc/rpc/clnt.h: Likewise.
21263 * sunrpc/rpc/netdb.h: Likewise.
21264 * sunrpc/rpc/pmap_clnt.h: Likewise.
21265 * sunrpc/rpc/xdr.h: Likewise.
21266 * sysdeps/generic/inttypes.h: Likewise.
21267 * sysdeps/generic/net/if.h: Likewise.
21268 * sysdeps/generic/sys/swap.h: Likewise.
21269 * sysdeps/gnu/net/if.h: Likewise.
21270 * sysdeps/gnu/utmpx.h: Likewise.
21271 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21272 * sysdeps/i386/i486/bits/string.h: Likewise.
21273 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21274 * sysdeps/s390/bits/string.h: Likewise.
21275 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21276 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21277 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21278 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21279 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21280 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21281 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21282 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21283 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21284 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21285 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21286 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21287 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21288 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21289 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21290 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21291 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21293 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21294 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21295 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21296 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21297 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21298 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21299 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21300 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21301 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21302 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21303 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21304 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21305 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21306 * sysvipc/sys/ipc.h: Likewise.
21307 * sysvipc/sys/msg.h: Likewise.
21308 * sysvipc/sys/sem.h: Likewise.
21309 * sysvipc/sys/shm.h: Likewise.
21310 * termios/termios.h: Likewise.
21311 * time/sys/time.h: Likewise.
21312 * time/time.h: Likewise.
21313 * wcsmbs/bits/wchar2.h: Likewise.
21314 * wcsmbs/uchar.h: Likewise.
21315 * wcsmbs/wchar.h: Likewise.
21316 * wctype/wctype.h: Likewise.
21317
0269750c
UD
21318 [BZ #13551]
21319 * Makeconfig: Remove all but ELF support including AIX support.
21320 * Makerules: Likewise.
21321 * config.h.in: Likewise.
21322 * config.make.in: Likewise.
21323 * configure: Likewise.
21324 * configure.in: Likewise.
21325 * csu/Makefile: Likewise.
21326 * csu/version.c: Likewise.
21327 * debug/Makefile: Likewise.
21328 * dlfcn/Makefile: Likewise.
21329 * elf/Makefile: Likewise.
21330 * extra-lib.mk: Likewise.
21331 * iconv/Makefile: Likewise.
21332 * include/libc-symbols.h: Likewise.
21333 * include/shlib-compat.h: Likewise.
21334 * resolv/Makefile: Likewise.
21335 * resolv/res_libc.c: Likewise.
21336 * rt/Makefile: Likewise.
21337 * sysdeps/i386/asm-syntax.h: Likewise.
21338 * sysdeps/i386/sysdep.h: Likewise.
21339 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21340 * sysdeps/mach/sysdep.h: Likewise.
21341 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21342 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21343 * sysdeps/s390/asm-syntax.h: Likewise.
21344 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21345 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21346 * sysdeps/sh/sysdep.h: Likewise.
21347 * sysdeps/unix/sparc/sysdep.h: Likewise.
21348 * sysdeps/wordsize-32/divdi3.c: Likewise.
21349 * sysdeps/x86_64/sysdep.h: Likewise.
21350
00bbd29b
UD
21351 * argp/Versions: Remove _argp_unlock_xxx.
21352
21353 [BZ #13559]
21354 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21355 * abilist/libBrokenLocale.abilist: Likewise.
21356 * abilist/libanl.abilist: Likewise.
21357 * abilist/libc.abilist: Likewise.
21358 * abilist/libcrypt.abilist: Likewise.
21359 * abilist/libdl.abilist: Likewise.
21360 * abilist/libm.abilist: Likewise.
21361 * abilist/libnsl.abilist: Likewise.
21362 * abilist/libpthread.abilist: Likewise.
21363 * abilist/libresolv.abilist: Likewise.
21364 * abilist/librt.abilist: Likewise.
21365 * abilist/libthread_db.abilist: Likewise.
21366 * abilist/libutil.abilist: Likewise.
21367 * abilist/libnss_db.abilist: New file.
21368
21369 * scripts/abilist.awk: Add support for indirect functions.
21370
a2693a0e
UD
21371 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21372
3f05895f
UD
21373 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21374
ecb6fb48
UD
21375 * shlib-versions: Remove entries for ports architectures.
21376
664f8cb9
UD
21377 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21378 files in ports.
21379 * elf/stackguard-macros.h: Remove support for IA-64.
21380 * elf/tst-auditmod1.c: Likewise.
21381 * sysdeps/generic/ldsodefs.h: Likewise.
21382
7ae81d88
UD
21383 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21384 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21385 configure files.
21386
bdeba135
UD
21387 [BZ #13552]
21388 * configure.in: Remove --enable-omitfp support.
21389 * FAQ.in: Adjust.
21390 * config.make.in: Likewise.
21391 * Makeconfig: Likewise.
21392 * manual/install.texi: Likewise.
21393
d75a0a62
UD
21394 In case anyone cares, the IA-64 architecture could move to ports.
21395 * sysdeps/ia64/*: Removed.
21396 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21397 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21398
dcc9756b
UD
21399 [BZ #13555]
21400 * configure.in: Remove entries for unsupported architectures.
21401
d3761ebc 21402 [BZ #13533]
9954432e
UD
21403 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21404 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21405 routines.
21406 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21407 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21408 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21409 fall back to using wcrtomb.
21410 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21411 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21412 renaming.
21413 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21414 * wcsmbs/tst-c16c32-1.c: New file.
21415
21416 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21417 local variable.
21418
c3a87236
UD
21419 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21420
28926a1b
UD
21421 * elf/tst-unique3.cc: Add explicit declaration of gets.
21422 * elf/tst-unique3lib.cc: Likewise.
21423 * elf/tst-unique3lib2.cc: Likewise.
21424 * elf/tst-unique4.cc: Likewise.
21425
df78418a
UD
21426 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21427
8ecd6b2a
JM
214282012-01-06 Joseph Myers <joseph@codesourcery.com>
21429
21430 [BZ #13566]
21431 * assert/assert.h (static_assert): Don't define for C++.
21432 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21433 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21434
9f115170
UD
214352012-01-03 Ulrich Drepper <drepper@gmail.com>
21436
5e0d0300
UD
21437 * iconv/loop.c (single loop): Fix assertion in storing of
21438 remaining bytes.
21439
9f115170
UD
21440 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21441
81fb02b0
UD
214422012-01-01 Ulrich Drepper <drepper@gmail.com>
21443
21444 * posix/getconf.c: Update copyright year.
21445 * nss/getent.c: Likewise.
a316c1f6 21446 * nss/makedb.c: Likewise.
81fb02b0
UD
21447 * iconv/iconvconfig.c: Likewise.
21448 * iconv/iconv_prog.c: Likewise.
21449 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21450 * elf/pldd.c: Likewise.
21451 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21452 * catgets/gencat.c: Likewise.
21453 * csu/version.c: Likewise.
21454 * elf/ldd.bash.in: Likewise.
21455 * elf/sprof.c (print_version): Likewise.
21456 * locale/programs/locale.c: Likewise.
21457 * locale/programs/localedef.c: Likewise.
a316c1f6 21458 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21459 * nscd/nscd.c (print_version): Likewise.
21460 * debug/xtrace.sh: Likewise.
21461 * malloc/memusage.sh: Likewise.
21462 * malloc/mtrace.pl: Likewise.
21463 * debug/catchsegv.sh: Likewise.
21464
2ba92745
JJ
214652011-12-30 Jakub Jelinek <jakub@redhat.com>
21466
21467 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21468 pure attribute.
21469
dadebdae
UD
214702011-12-24 Ulrich Drepper <drepper@gmail.com>
21471
d3761ebc 21472 [BZ #13533]
db6af3eb
UD
21473 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21474 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21475 transformations.
21476 * iconv/gconv_int.h: Likewise.
21477 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21478 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21479 from libc for GLIBC_2.16.
21480 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21481 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21482 * wcsmbs/uchar.h: Really define mbstate_t.
21483 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21484 * wcsmbs/c16rtomb.c: New file.
21485 * wcsmbs/mbrtoc16.c: New file.
21486 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21487 for C/POSIX locale.
21488 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21489 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21490
dadebdae
UD
21491 * wcsmbs/wchar.h: Add missing __restrict.
21492
67371b56
UD
214932011-12-23 Ulrich Drepper <drepper@gmail.com>
21494
74033a25
UD
21495 [BZ #13532]
21496 * time/Makefile (routines): Add timespec_get.
21497 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21498 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21499 timespec for ISO C11.
21500 * time/timespec_get.c: New file.
21501 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21502 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21503
380d7e87
UD
21504 [BZ #13531]
21505 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21506 * stdlib/stdlib.h: Declare aligned_alloc.
21507 * Versions.def: Add GLIBC_2.16 for libc.
21508 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21509
4e9e7a35
UD
21510 [BZ 13527]
21511 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21512 ISO C11.
21513
380d7e87 21514 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21515 code.
21516
03a71829
UD
21517 [BZ #13528]
21518 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21519
839e283e
UD
21520 [BZ #13529]
21521 * assert/assert.h (static_assert): Define.
21522
ce5294e2 21523 * version.h: Update for 2.16 development version.
90fa7312 21524
8d44e150 21525 [BZ #13526]
d7809905
UD
21526 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21527 _ISOC11_SOURCE.
21528
c0da14cd
UD
21529 * version.h (RELEASE): Bump for 2.15 release.
21530 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21531
530a3249
MP
21532 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21533 Patch by Marek Polacek <mpolacek@redhat.com>.
21534
67371b56
UD
21535 * bits/byteswap.h: Protect long long constants with __extension__.
21536 * sysdeps/i386/bits/byteswap.h: Likewise.
21537 * sysdeps/ia64/bits/byteswap.h: Likewise.
21538 * sysdeps/s390/bits/byteswap.h: Likewise.
21539 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21540
15db4de1
LD
215412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21542
21543 [BZ #13540]
bbe315ea
LD
21544 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21545 destination buffer.
15db4de1
LD
21546 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21547
2b2596b1
MP
215482011-12-23 Marek Polacek <polacek@redhat.com>
21549
21550 * elf/dl-addr.c (determine_info): Add inline keyword.
21551 * elf/tst-auditmod4b.c (check_avx): Likewise.
21552 * elf/tst-auditmod6b.c (check_avx): Likewise.
21553 * elf/tst-auditmod6c.c (check_avx): Likewise.
21554 * elf/tst-auditmod7b.c (check_avx): Likewise.
21555
70c6c246
UD
215562011-12-23 Ulrich Drepper <drepper@gmail.com>
21557
21558 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21559 !__SSE_MATH__.
21560
c044cf14
LD
215612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21562
15db4de1 21563 [BZ #13540]
c044cf14
LD
21564 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21565 processing for last bytes.
21566
6b13d9d9
BH
215672011-08-06 Bruno Haible <bruno@clisp.org>
21568
d455f537
BH
21569 [BZ #13061]
21570 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21571 U+0385, not to U+1FEE.
21572
6b13d9d9
BH
21573 [BZ #13062]
21574 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21575 entry for U+00A5 U+0301.
21576
db910efd
UD
215772011-12-22 Ulrich Drepper <drepper@gmail.com>
21578
27deeafc
UD
21579 [BZ #13166]
21580 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21581 buffer for the output is too small.
21582
aed9d171
UD
21583 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21584 optimization.
21585
db910efd
UD
21586 [BZ #13185]
21587 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21588 SSE flags if possible.
21589
2bd779ae
LD
215902011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21591
e7f9dac3 21592 [BZ #13540]
2bd779ae
LD
21593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21594 processing for last bytes.
21595
154bfc16
JM
215962011-12-22 Joseph Myers <joseph@codesourcery.com>
21597
21598 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21599 (syscall-list-default-options, syscall-list-default-condition)
21600 (syscall-list-includes): Define.
21601 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21602 list of ABIs and options and #if conditions for each ABI. Do not
21603 handle common syscalls between ABIs specially.
21604 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21605 Remove.
21606 (syscall-list-variants, syscall-list-32bit-options)
21607 (syscall-list-32bit-condition, syscall-list-64bit-options)
21608 (syscall-list-64bit-condition): Define.
21609 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21610 (syscall-list-variants, syscall-list-32bit-options)
21611 (syscall-list-32bit-condition, syscall-list-64bit-options)
21612 (syscall-list-64bit-condition): Define.
21613 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21614 Remove.
21615 (syscall-list-variants, syscall-list-32bit-options)
21616 (syscall-list-32bit-condition, syscall-list-64bit-options)
21617 (syscall-list-64bit-condition): Define.
21618 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21619 Remove.
21620 (syscall-list-variants, syscall-list-32bit-options)
21621 (syscall-list-32bit-condition, syscall-list-64bit-options)
21622 (syscall-list-64bit-condition): Define.
21623
21eaf3a5
UD
216242011-12-22 Ulrich Drepper <drepper@gmail.com>
21625
16c6f992
UD
21626 * locale/iso-639.def: Add brx entry.
21627
41043168
UD
21628 [BZ #13328]
21629 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21630 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21631
21eaf3a5
UD
21632 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21633 __feraiseexcept_renamed.
21634
e3a851a2
UD
216352011-12-21 Ulrich Drepper <drepper@gmail.com>
21636
4920765e
UD
21637 [BZ #13538]
21638 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21639 EPOLLET with unsigned values.
21640 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21641 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21642
e3a851a2
UD
21643 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21644 to large cancellation.
21645 * math/s_cacoshf.c: Likewise.
21646 * math/s_cacoshl.c: Likewise.
21647
b27e24b8
RK
216482011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21649
21650 [BZ #13305]
aebefeee 21651 [BZ #12786]
b27e24b8
RK
21652 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21653 * math/s_cacoshf.c: Likewise.
21654 * math/s_cacoshl.c: Likewise.
21655
ee190f67
UD
216562011-12-21 Ulrich Drepper <drepper@gmail.com>
21657
21658 [BZ #13439]
21659 * iconv/gconv.h: Define __GCONV_SWAP.
21660 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21661 * iconvdata/utf-16.c: Likewise.
21662 * iconvdata/utf-32.c: Likewise.
21663
707f25df
AS
216642011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21665
21666 [BZ #13524]
21667 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21668 numerator after shifting it by one limb.
21669
d2daaa1e
RÁE
216702011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21671
21672 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21673 under [__USE_EXTERN_INLINES].
21674
a4647e72
UD
216752011-12-17 Ulrich Drepper <drepper@gmail.com>
21676
21677 [BZ #13446]
21678 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21679
f0b264f1
AZ
216802011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21681
21682 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21683 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21684 optimized code.
21685 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21686 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21687 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21688 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21689 for strncasecmp/strncasecmp_l compilation.
21690 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21691 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21692
8ef4f244
MP
216932011-12-08 Marek Polacek <mpolacek@redhat.com>
21694
21695 [BZ #13484]
21696 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21697 of __asm__.
21698
97ac2654
UD
216992011-12-17 Ulrich Drepper <drepper@gmail.com>
21700
21701 [BZ #13506]
21702 * time/tzfile.c (__tzfile_read): Check values from file header.
21703
91d2a845
WS
217042011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21705
21706 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21707 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21708 * powerpc/powerpc32/dl-start.S: Likewise.
21709 * powerpc/powerpc32/elf/start.S: Likewise.
21710 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21711 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21712 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21713 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21714 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21715 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21716 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21717 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21718 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21719 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21720 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21721 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21722 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21723 * powerpc/powerpc32/memset.S: Likewise.
21724 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21725 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21726 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21727 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21728 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21729 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21730 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21731 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21732 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21733 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21734 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21735 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21736 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21737
a1267ba1
AZ
217382011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21739
21740 * math/libm-test.inc: Added more nearbyint tests.
21741 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21742 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21743 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21744 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21745
ad8ac1bd
RL
217462011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21747
21748 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21749 FD_CLOEXEC.
21750
1d3e4b61
UD
217512011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21752
21753 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21754 Add wcscpy-ssse3 wcscpy-c.
21755 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21756 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21757 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21758 * sysdeps/x86_64/wcschr.S: New file.
21759 * sysdeps/x86_64/wcsrchr.S: New file.
21760 * string/test-strcmp.c: Remove checking of wcscmp function for
21761 wrong alignments.
21762 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21763 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21764 wcsrchr-sse2 wcsrchr-c.
21765 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21766 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21767 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21768 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21769 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21770 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21771 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21772 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21773 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21774 * wcsmbc/wcschr.c (WCSCHR): New macro.
21775
5b330a2d
UD
217762011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21777
21778 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21779 * wcsmbs/test-wcsrchr.c: New file.
21780 * string/test-strrchr.c: Add wcsrchr support.
21781 (WIDE): New macro.
21782 * wcsmbs/test-wcscpy.c: New file.
21783 * string/test-strcpy.c: Add wcscpy support.
21784 (WIDE): New macro.
26428b7c 21785
f039c043
UD
217862011-12-10 Ulrich Drepper <drepper@gmail.com>
21787
21788 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21789 the inner loop.
21790
850fb039
AS
217912011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21792
21793 [BZ #13472]
21794 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21795
4efbd5cb
UD
217962011-12-04 Ulrich Drepper <drepper@gmail.com>
21797
52ff5dd0 21798 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21799 Minor optimizations.
52ff5dd0 21800
4efbd5cb
UD
21801 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21802 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21803 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21804
8a426e12
UD
218052011-12-03 Ulrich Drepper <drepper@gmail.com>
21806
aff2453d
UD
21807 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21808 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21809 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21810 for gcc to avoid warnings.
21811 * inet/Makefile (tests): Add tst-checks.
21812 * inet/tst-checks.c: New file.
21813
21814 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21815 warning.
21816
21817 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21818 __wmemcmp_sse2.
21819
21820 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21821 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21822
8a426e12
UD
21823 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21824
9bea3473
UD
218252011-12-02 Ulrich Drepper <drepper@gmail.com>
21826
3a965496
UD
21827 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21828 problem.
21829
9bea3473
UD
21830 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21831
f101631b
UD
218322011-11-29 Joseph Myers <joseph@codesourcery.com>
21833
21834 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21835 conditional on GCC version.
21836 (__arch_compare_and_exchange_val_8_acq)
21837 (__arch_compare_and_exchange_val_16_acq)
21838 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21839 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21840 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21841
a98275aa
UD
218422011-12-02 Joseph Myers <joseph@codesourcery.com>
21843
21844 * sysdeps/sh/backtrace.c: New file.
21845
d4cc29a2
AS
218462011-12-02 Andreas Schwab <schwab@redhat.com>
21847
21848 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21849 parenthesis.
21850
6257af2d
AS
218512011-12-01 Andreas Schwab <schwab@redhat.com>
21852
21853 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21854 falling back to utime.
21855
b5f44c1a
AS
218562011-11-30 Andreas Schwab <schwab@redhat.com>
21857
21858 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21859 expectations for float.
21860
f3a6cc0a
AS
218612011-11-29 Andreas Schwab <schwab@redhat.com>
21862
21863 * locale/weight.h (findidx): Add parameter len.
21864 * locale/weightwc.h (findidx): Likewise.
21865 * posix/fnmatch_loop.c (FCT): Adjust caller.
21866 * posix/regcomp.c (build_equiv_class): Likewise.
21867 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21868 * posix/regexec.c (check_node_accept_bytes): Likewise.
21869 * string/strcoll_l.c (STRCOLL): Likewise.
21870 * string/strxfrm_l.c (STRXFRM): Likewise.
21871
9d65ea3a
UD
218722011-11-17 Ulrich Drepper <drepper@gmail.com>
21873
21874 * Makefile.in: Remove CVSOPT handling.
21875 * configure.in: Remove use of AC_REVISION.
21876 * iconvdata/Makefile (distribute): No need to filter out CVS.
21877 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21878 handling.
21879
5583a086
AS
218802011-11-16 Andreas Schwab <schwab@redhat.com>
21881
21882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21883 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21884 [USE_AS_STRNCASECMP_L]: Likewise.
21885 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21886 NO_TLS_DIRECT_SEG_REFS.
21887 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21888 Fix argument offsets for non-PIC.
21889 [USE_AS_STRNCASECMP_L]: Likewise.
21890 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21891 NO_TLS_DIRECT_SEG_REFS.
21892
d62a8200
UD
218932011-11-15 Ulrich Drepper <drepper@gmail.com>
21894
9d65ea3a 21895 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21896 O_CLOEXEC.
21897 * locale/loadlocale.c (_nl_load_locale): Likewise.
21898
09f93bd3
AS
218992011-11-15 Andreas Schwab <schwab@redhat.com>
21900
446514f9
AS
21901 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21902 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21903 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21904 (SYSCALL_GETTIME): Set errno on error.
21905
09f93bd3
AS
21906 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21907 count references to noai6ai_cached.
21908
312be3f9
UD
219092011-11-15 Ulrich Drepper <drepper@gmail.com>
21910
21911 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21912
21913 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21914 FD_CLOEXEC for /proc/self/maps.
21915
21916 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21917 FD_CLOEXEC for /proc/meminfo.
21918
21919 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21920 gai.conf.
21921
21922 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21923 FD_CLOEXEC for given file.
21924
21925 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21926
21927 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21928 FD_CLOEXEC for /etc/hosts.
21929 (_gethtent): Likewise.
21930
21931 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21932
21933 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21934 cancellation and set FD_CLOEXEC for /etc/netgroup.
21935
21936 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21937 reading /etc/publickey.
21938
21939 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21940 allow cancellation when reading /etc/group.
21941
21942 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21943 cancellation.
21944 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21945
21946 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21947 when using data file.
21948
21949 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21950
21951 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21952 (write_nis_obj): Use "c" and "e" in fopen.
21953
21954 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21955
21956 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21957
21958 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21959
21960 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21961
21962 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21963 locale.alias.
21964
21965 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21966
21967 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21968
21969 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21970
21971 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21972 file parsing and set FD_CLOEXEC.
21973
82af0fa8
UD
219742011-11-14 Ulrich Drepper <drepper@gmail.com>
21975
21976 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21977
a5fb313c
AS
219782011-11-14 Andreas Schwab <schwab@redhat.com>
21979
21980 * malloc/arena.c (arena_get2): Don't call reused_arena when
21981 _int_new_arena failed.
21982
6abf3465
UD
219832011-11-14 Ulrich Drepper <drepper@gmail.com>
21984
21985 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21986 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21987 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21988 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21989 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21990 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21991 to compile strcasecmp and strncasecmp.
21992 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21993 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21994
21995 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21996
76e3966e
UD
219972011-11-13 Ulrich Drepper <drepper@gmail.com>
21998
21999 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22000 locale-defines.sym to gen-as-const-headers.
22001 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22002 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22003 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22004 to compile strcasecmp and strncasecmp.
22005 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22006 strcasecmp_l and strncasecmp_l.
22007 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22008 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22009 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22010 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22011 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22012 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22013 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22014 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22015 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22016 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22017 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22018
ab26144e
UD
220192011-11-12 Ulrich Drepper <drepper@gmail.com>
22020
7edb22ef
UD
22021 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22022 result of SYSDEP_GETTIME_CPU to retval.
22023 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22024 parameter list to macro. Remove trailing semicolon. Adjust users.
22025
9694fc44
UD
22026 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22027 variable.
22028
8ad89ef8
UD
22029 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22030 mantissa words.
22031 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22032
0c822ef9
UD
22033 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22034 from unused variable.
22035
874e0564
UD
22036 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22037 DWARF definitions.
22038 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22039 for assembling.
22040
3a2edc79
UD
22041 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22042 over namespaces.
22043
f3c2577f
UD
22044 * sunrpc/rpc_prot.c (rejected): Fix case value.
22045
294ce126
UD
22046 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22047 unsigned long long int to avoid warnings in shift.
22048
5e2b63c6
UD
22049 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22050 of use of trans.
22051 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22052 variable tmp.
22053
e7f4b08e
UD
22054 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22055 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22056 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22057
ab26144e
UD
22058 * nis/nis_table.c (nis_list): Use variable of correct type for
22059 result of __follow_path call.
22060
8a6d5255
AZ
220612011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22062
22063 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22064 of math functions ceil, trunc, floor, round, and sqrt, when
22065 avaliable on the platform.
22066 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22067 name clash.
22068 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22069 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22070 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22071
aaddc98c
MP
220722011-10-30 Marek Polacek <mpolacek@redhat.com>
22073
22074 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22075 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22076
95b7042b
RM
220772011-11-11 Roland McGrath <roland@hack.frob.com>
22078
22079 * include/unistd.h: Fix __readlink return type.
22080 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22081
57769839
UD
220822011-11-11 Ulrich Drepper <drepper@gmail.com>
22083
22084 * stdlib/ucontext.h: Undo last change for makecontext.
22085
edc5984d
AS
220862011-11-11 Andreas Schwab <schwab@redhat.com>
22087
98591e58
AS
22088 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22089
edc5984d
AS
22090 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22091 * setjmp/setjmp.h: Mark functions as non-leaf.
22092 * setjmp/bits/setjmp2.h: Likewise.
22093 * stdlib/ucontext.h: Likewise.
22094
77cdc054
AS
220952011-11-10 Andreas Schwab <schwab@redhat.com>
22096
22097 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22098 (reused_arena): Don't check arena limit.
22099 (arena_get2): Atomically check arena limit.
22100
fe72eebd
UD
221012011-11-08 Ulrich Drepper <drepper@gmail.com>
22102
5f078c32
UD
22103 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22104 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22105
fe72eebd
UD
22106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22107 instructions.
22108
ae1bc2fa
AS
221092011-11-07 Andreas Schwab <schwab@redhat.com>
22110
7583a88d
AS
22111 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22112 handler when locking.
22113
ae1bc2fa
AS
22114 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22115 Fix size of allocated buffer.
22116
10fb0bfa
AS
221172011-11-04 Andreas Schwab <schwab@redhat.com>
22118
998832a4
AS
22119 [BZ #10103]
22120 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22121 declarations for long double functions.
22122 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22123
10fb0bfa
AS
22124 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22125
3d7ba52b
AS
221262011-11-03 Andreas Schwab <schwab@redhat.com>
22127
a9ae54a1
AS
22128 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22129 installed.
22130
3d7ba52b
AS
22131 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22132 is disabled.
22133
bc8db248
ST
221342011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22135
22136 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22137
45b96dd6
AS
221382011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22139
647776f6
AS
22140 * include/alloca.h (stackinfo_alloca_round): Define.
22141 (extend_alloca): Use it.
22142 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22143 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22144 here.
22145
d91a8b93
AS
22146 * scripts/check-local-headers.sh: Ignore libaudit.h.
22147
45b96dd6
AS
22148 * nscd/Makefile (extra-objs): Make recursively expanded.
22149
432d41ce
UD
221502011-11-01 Ulrich Drepper <drepper@gmail.com>
22151
34372fc6
UD
22152 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22153 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22154
fadb59f8
UD
22155 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22156 * posix/tst-rfc3484-2.c: Likewise.
22157 * posix/tst-rfc3484-3.c: Likewise.
22158
78239589
UD
22159 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22160 process_vm_writev.
22161 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22162 process_vm_writev.
22163 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22164 process_vm_writev from libc using GLIBC_2.15 version.
22165
432d41ce
UD
22166 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22167
02f9c6cf
PP
221682011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22169
22170 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22171 stack usage.
22172
3a2c0242
UD
221732011-10-31 Ulrich Drepper <drepper@gmail.com>
22174
f4ec4833
UD
22175 [BZ #13367]
22176 * nss/getent.c (initgroups_keys): Show error message in case no group
22177 names are given.
22178
3a2c0242
UD
22179 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22180 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22181 __bump_nl_timestamp.
22182 * nscd/connections (nscd_init): When host database is served open
22183 netlink socket and request notification about configuration changes.
22184 (main_loop_poll): Track netlink file descriptor and bump timestamp
22185 in case data becomes available.
22186 (main_loop_epoll): Likewise.
22187 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22188 (database_pers_head): Add extra_data fileds.
22189 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22190 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22191 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22192 Adjust caller.
22193 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22194 in6ai data, call __free_in6ai.
22195 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22196 Add -DHAVE_NETLINK.
22197 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22198 interface information. Reuse previous data if netlink timestamp
22199 is not changed.
22200 (__bump_nl_timestamp): New function.
22201 (__free_in6ai): New function.
22202
636064eb
UD
222032011-10-30 Ulrich Drepper <drepper@gmail.com>
22204
22205 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22206 close_not_cancel_no_status here.
22207 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22208
9beb2334
UD
222092011-10-29 Ulrich Drepper <drepper@gmail.com>
22210
6ef76f3b
UD
22211 [BZ #13276]
22212 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22213 return value.
22214
0ffc4f3e 22215 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22216 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22217 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22218
cb95113e
UD
222192011-07-03 Andreas Jaeger <aj@suse.de>
22220
22221 [BZ #10709]
22222 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22223 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22224 * math/libm-test.inc (sin_test): Add test case.
22225
a1b560ff
UD
222262011-10-29 Ulrich Drepper <drepper@gmail.com>
22227
c9aaface
UD
22228 [BZ #13337]
22229 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22230 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22231
d272e7f1
UD
22232 * elf/chroot_canon.c (chroot_canon): Cleanups.
22233
1bc33071
UD
22234 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22235
1760874d
TJ
22236 [BZ #13335]
22237 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22238 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22239
51d91b18
UD
22240 * string/test-strchr.c: Make usable for strchrnul testing.
22241 * string/test-strchrnul.c: New file.
22242 * string/Makefile (strop-tests): Add strchrnul.
22243
a1b560ff 22244 * po/it.po: Update from translation team.
b611fb81 22245 * po/es.po: Likewise.
a1b560ff 22246
a5b81e1f
UD
222472011-10-28 Ulrich Drepper <drepper@gmail.com>
22248
fd52bc6d
UD
22249 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22250 the three constants needed as parameters. Drop the others.
22251 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22252 __m128i_strloadu_tolower.
52e4b9eb
UD
22253 Create and initialize variable zero and use it in all the places
22254 where _mm_setzero_si128 was used.
fd52bc6d 22255
a5b81e1f
UD
22256 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22257 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22258 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22259 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22260 anymore.
22261 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22262 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22263 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22264 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22265 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22266 __mpranred, __mptan.
22267 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22268 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22269 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22270 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22271 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22272 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22273 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22274 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22275 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22276
b4343346
AS
222772011-10-28 Andreas Schwab <schwab@redhat.com>
22278
0c92d8a8
AS
22279 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22280 redefine if SHARED.
22281 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22282
b4343346
AS
22283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22284 wide char related routines to wcsmbs subdir.
22285
3871f58f
AS
222862011-10-27 Andreas Schwab <schwab@redhat.com>
22287
22288 [BZ #13344]
22289 * misc/sys/cdefs.h (__THROWNL): Define.
22290 * posix/unistd.h: Use __THREADNL instead of __THREAD
22291 for memory synchronization functions.
22292
94d44d9f
RM
222932011-10-26 Roland McGrath <roland@hack.frob.com>
22294
21b64b15 22295 [BZ #13349]
94d44d9f
RM
22296 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22297 doesn't exist.
22298 * manual/stdio.texi (Obstack Streams): Node removed.
22299
f6ce9294
AS
223002011-10-26 Andreas Schwab <schwab@redhat.com>
22301
80479147
AS
22302 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22303 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22304 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22305
f6ce9294
AS
22306 * math/math_private.h (math_force_eval): Allow non-addressable
22307 arguments.
22308 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22309
618280a1
UD
223102011-10-25 Ulrich Drepper <drepper@gmail.com>
22311
e0016b11
UD
22312 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22313 file is not needed.
22314
22315 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22316 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22317 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22318 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22319 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22320 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22321 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22322 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22323 Add AVX variants.
22324 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22325 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22326 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22327 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22328 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22329 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22330 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22331 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22332 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22333 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22334 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22335 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22336 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22337 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22338 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22339 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22340 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22341 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22342 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22343
22344 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22345 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22346
618280a1
UD
22347 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22348 place. Use VEX encoding when compiling for AVX.
22349
37822576
AS
223502011-10-25 Andreas Schwab <schwab@redhat.com>
22351
1f1e1947
AS
22352 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22353 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22354
37822576
AS
22355 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22356
31ea014d
UD
223572011-10-25 Ulrich Drepper <drepper@gmail.com>
22358
d7826aa1 22359 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22360 useless if() expression.
d7826aa1
UD
22361 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22362 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22363 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22364 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22365 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22366 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22367 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22368 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22369 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22370 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22371 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22372 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22373 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22374 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22375 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22376 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22377 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22378 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22379 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22380
31ea014d
UD
22381 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22382
16437fec
AS
223832011-10-25 Andreas Schwab <schwab@redhat.com>
22384
22385 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22386 condition.
22387 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22388
31d3cc00
UD
223892011-10-25 Ulrich Drepper <drepper@gmail.com>
22390
22391 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22392 .text section. Avoid duplicate constants.
22393 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22394 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22395 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22397 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22399 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22400 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22401 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22402 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22403 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22404 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22405 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22406 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22407 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22408 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22409 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22410 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22411 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22412 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22413 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22414 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22415 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22416 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22417 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22418 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22419 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22420 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22421 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22422 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22423 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22424 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22425 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22426 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22427 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22428 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22429 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22430 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22431 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22432 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22433 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22434 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22435 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22436 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22437 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22438
58985aa9
UD
224392011-10-24 Ulrich Drepper <drepper@gmail.com>
22440
202c9deb
UD
22441 * sysdeps/x86_64/dla.h: Move to ...
22442 * sysdeps/x86_64/fpu/dla.h: ...here.
22443 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22444 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22445
af968f62
UD
22446 * config.make.in: Add have-mfma4 entry.
22447 * configure.in: Substitute libc_cv_cc_fma4.
22448 * math/Makefile (dbl-only-routines): Add sincostab.
22449 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22450 Use __sincostab not sincos.
22451 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22452 name is a macro.
22453 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22455 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22457 using __copysign.
22458 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22459 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22460 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22461 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22462 and __inv.
22463 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22464 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22465 __copysign.
22466 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22467 define aliases when function name is a macro.
22468 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22469 sysdeps/ieee754/dbl-64/sincos.tbl.
22470 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22471 fma4-enabled routines.
22472 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22473 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22474 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22475 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22476 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22477 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22478 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22479 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22480 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22481 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22482 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22483 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22484 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22485 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22486 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22487 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22488 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22489 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22490 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22491 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22492 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22493 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22494 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22495 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22496 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22497 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22498 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22499 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22500 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22501 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22502
58985aa9
UD
22503 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22504 rename.
22505 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22506 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22507 * sysdeps/ieee754/dbl-64/e_atan2.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/halfulp.c: Likewise.
22511 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22512 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22513
a201fbcf
AS
225142011-10-24 Andreas Schwab <schwab@redhat.com>
22515
22516 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22517
fc2ee42a
LD
225182011-10-23 Ulrich Drepper <drepper@gmail.com>
22519
bb3129bd
UD
22520 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22521
0275fff8
UD
22522 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22523 prediction.
22524 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22525
2fa2ae85
UD
22526 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22527 Remove unused variable magic_bits.
22528 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22529
fc2ee42a
LD
22530 * string/strnlen.c: Define and use STRNLEN macro.
22531 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22532 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22533 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22534 * wcsmbs/wcslen.c: Define and use WCSLEN.
22535 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22536 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22537 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22538 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22539 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22540 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22541 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22542
ce7dd29f
LD
225432011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22544
22545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22546 strnlen-sse2-no-bsf.
22547 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22548 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22549 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22550 Add strnlen support.
22551 (USE_AS_STRNLEN): New macro.
22552 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22553 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22554 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22555 * sysdeps/x86_64/wcslen.S: New file.
22556
979c70a3
MZ
225572011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22558
22559 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22560 XMM-moves are used for copying on small sizes.
22561
2d09f82f
LD
225622011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22563
22564 * wcsmbs/Makefile (strop-tests): Add wcschr.
22565 * wcsmbs/test-wcschr.c: New file.
22566 * string/test-strchr.c: Update.
22567 Add wcschr support.
22568 (WIDE): New macro.
22569
619fccca
LD
225702011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22571
2d09f82f 22572 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22573 * wcsmbs/test-wcslen.c: New file.
22574 * string/test-strlen.c: Update.
22575 Add wcslen support.
22576 (WIDE): New macro.
22577
09f699ea
UD
225782011-10-23 Ulrich Drepper <drepper@gmail.com>
22579
22580 * po/it.po: Update from translation team.
22581
95584d3b
LD
225822011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22583
22584 * sysdeps/x86_64/wcscmp.S: Update.
22585 Fix wrong comparison semantics.
22586 wcscmp shall use signed comparison not unsigned.
22587 Don't use substraction to avoid overflow bug.
22588 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22589 * wcsmbc/wcscmp.c: Likewise.
22590 * string/test-strcmp.c: Likewise.
22591 Add new tests to check cases with negative values.
22592
c8b3296b
UD
225932011-10-23 Ulrich Drepper <drepper@gmail.com>
22594
22595 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22596 * sysdeps/x86_64/dla.h: ...here. New file.
22597 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22602 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22603 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22604 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22606
246ad57a
AS
226072011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22608
22609 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22610 __ynl_finite aliases.
22611
a1a87169
UD
226122011-10-22 Ulrich Drepper <drepper@gmail.com>
22613
0d355eb7
UD
22614 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22615
a1a87169
UD
22616 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22617 define DLA_FMA.
22618 [DLA_FMA] (EMULV): Use DLA_FMA.
22619 [DLA_FMA] (MUL12): Use EMULV.
22620 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22621 that are not needed.
22622 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22629
ee2aafe0
AS
226302011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22631
22632 * math/s_nan.c: Undef __nan.
22633 * math/s_nanf.c: Undef __nanf.
22634 * math/s_nanl.c: Undef __nanl.
22635 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22636 "math_private.h".
22637
bc62c2fb
UD
226382011-10-22 Ulrich Drepper <drepper@gmail.com>
22639
77425c63
UD
22640 * math/s_catan.c: Add branch predictions.
22641 * math/s_catanf.c: Likewise.
22642 * math/s_catanh.c: Likewise.
22643 * math/s_catanhf.c: Likewise.
22644 * math/s_catanhl.c: Likewise.
22645 * math/s_catanl.c: Likewise.
22646 * math/s_cexp.c: Likewise.
22647 * math/s_cexpf.c: Likewise.
22648 * math/s_cexpl.c: Likewise.
22649 * math/s_clog.c: Likewise.
22650 * math/s_clog10.c: Likewise.
22651 * math/s_clog10f.c: Likewise.
22652 * math/s_clog10l.c: Likewise.
22653 * math/s_clogf.c: Likewise.
22654 * math/s_clogl.c: Likewise.
22655 * math/s_csqrt.c: Likewise.
22656 * math/s_csqrtf.c: Likewise.
22657 * math/s_csqrtl.c: Likewise.
22658 * math/s_ctanf.c: Likewise.
22659 * math/s_ctanh.c: Likewise.
22660 * math/s_ctanhf.c: Likewise.
22661 * math/s_ctanhl.c: Likewise.
22662 * math/s_ctanl.c: Likewise.
22663
bc62c2fb
UD
22664 * math/math_private.h: Define __nan, __nanf, __nanl.
22665 * math/s_cacosh.c: Include <math_private.h>.
22666 * math/s_cacoshl.c: Likewise.
22667 * math/s_casinh.c: Likewise.
22668 * math/s_casinhf.c: Likewise.
22669 * math/s_casinhl.c: Likewise.
22670 * math/s_ccos.c: Rely entire on ccosh.
22671 * math/s_ccosf.c: Rely entire on ccoshf.
22672 * math/s_ccosl.c: Rely entirely on ccoshl.
22673 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22674 Remove tests for FE_INVALID.
22675 * math/s_ccoshf.c: Likewise.
22676 * math/s_ccoshl.c: Likewise.
22677 * math/s_csin.c: Likewise.
22678 * math/s_csinf.c: Likewise.
22679 * math/s_csinh.c Likewise.
22680 * math/s_csinhf.c: Likewise.
22681 * math/s_csinhl.c: Likewise.
22682 * math/s_csinl.c: Likewise.
22683 * math/s_ctan.c: Likewise.
22684 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22685 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22686 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22687
8ec250a4
UD
226882011-10-21 Ulrich Drepper <drepper@gmail.com>
22689
c196fed8
UD
22690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22691 compilation problems.
22692
8ec250a4
UD
22693 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22694 __builtin_expect.
22695
8d4f46c6
UD
226962011-10-20 Ulrich Drepper <drepper@gmail.com>
22697
ed72b654
UD
22698 * sysdeps/i386/configure.in: Test for -mfma4 option.
22699 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22700 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22701 COMMON_CPUID_INDEX_80000001.
22702 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22703 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22704 use it if FMA3 is not supported.
22705 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22706
8d4f46c6
UD
22707 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22708 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22709
d45c60c2
AS
227102011-10-20 Andreas Schwab <schwab@redhat.com>
22711
22712 [BZ #12892]
22713 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22714 it would create a cycle with a link time dependency.
22715
d9a4d2ab
UD
227162011-10-19 Ulrich Drepper <drepper@gmail.com>
22717
855d1560
UD
22718 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22719 instruction.
22720 * string/Makefile (strop-tests): Add rawmemchr.
22721 * string/test-rawmemchr.c: New file.
22722
d9a4d2ab
UD
22723 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22724 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22725 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22726 when compiling str{,n}casecmp and when AVX is available. Hook up
22727 new optimized code in initializers.
22728
8f3b1ffe
AS
227292011-10-19 Andreas Schwab <schwab@redhat.com>
22730
22731 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22732 __feraiseexcept instead of feraiseexcept.
22733
d38f1dba
UD
227342011-10-18 Ulrich Drepper <drepper@gmail.com>
22735
d9a8d0ab
UD
22736 * math/math_private.h: Define defaults for libc_fetestexcept and
22737 libc_feupdateenv.
22738 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22739 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22740 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22741 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22742 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22743 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22744 libc_fetestexcept and libc_feupdateenv.
22745
4855e3dd
UD
22746 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22747 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22748 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22749 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22750 libc_feholdexcept_setround.
22751
581d30e3
UD
22752 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22753 Add s_nearbyint-c and s_nearbyintf-c.
22754 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22755 nearbyintf inlines.
22756 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22757 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22758 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22759 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22760
d38f1dba
UD
22761 * math/math_private.h: Define defaults for libc_fegetround,
22762 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22763 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22764 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22765 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22766 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22767 standard functions.
22768 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22769 Remove comments and hacks for old compiler versions.
22770 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22771 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22772 libc_feholdexceptl.
22773
caa6c9d8
AS
227742011-10-18 Andreas Schwab <schwab@redhat.com>
22775
22776 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22777 (__feraiseexcept_renamed): Add __NTH.
22778 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22779 namespace violations.
22780
97c066e6
UD
227812011-10-17 Ulrich Drepper <drepper@gmail.com>
22782
99ce7b04
UD
22783 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22784
1004d182
UD
22785 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22786
228a984d
UD
22787 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22788 recently added interfaces.
22789 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22790
c8553a6a
UD
22791 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22792 about macro parameter expansion.
22793
ed22dcf6
UD
22794 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22795 __NO_MATH_INLINES is defined. Cleanups.
22796
22797 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22798 and __floorf is target has SSE4.1.
22799 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22800 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22801 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22802 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22803
b171c137
UD
22804 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22805 name.
22806 (floorf): Likewise.
22807
97c066e6
UD
22808 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22809
629f62ef
AS
228102011-10-17 Andreas Schwab <schwab@redhat.com>
22811
49a43d80
AS
22812 * misc/sys/cdefs.h: Fix last change.
22813
629f62ef
AS
22814 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22815 database lookup.
22816
e453f6cd
UD
228172011-10-16 Ulrich Drepper <drepper@gmail.com>
22818
aa78043a
UD
22819 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22820
ad0f5cad
UD
22821 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22822 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22823 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22824 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22825 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22826 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22827 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22828 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22829 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22830 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22831 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22832 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22833 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22834 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22835 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22836 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22837 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22838 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22839 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22840 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22841 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22842 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22843
22844 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22845 ceil, ceilf, floor, floorf.
22846
22847 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22848 Perform IRELATIVE relocations last.
22849
e453f6cd
UD
22850 * elf/do-rel.h: Add another parameter nrelative, replacing the
22851 local variable with the same name. Change name of the function
22852 to end in Rel or Rela (uppercase).
22853 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22854 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22855 elf_dynamic_do_##reloc function.
22856
fd5bdc09
UD
228572011-10-15 Ulrich Drepper <drepper@gmail.com>
22858
79b195b5
UD
22859 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22860 is sufficient, at least on modern CPUs.
22861
d4a28569
UD
22862 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22863
b61099b5
UD
22864 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22865 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22866
bcf01e6d
UD
22867 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22868 __expl_finite.
22869 * math/bits/math-finite.h: Add entries for exp.
22870 * math/e_expl.c: Add __*_finite alias.
22871 * sysdeps/i386/fpu/e_exp.S: Likewise.
22872 * sysdeps/i386/fpu/e_expf.S: Likewise.
22873 * sysdeps/i386/fpu/e_expl.c: Likewise.
22874 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22875 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22876 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22877 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22878 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22879 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22880 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22881
ba1a0d59
UD
22882 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22883 is sufficient, at least on modern CPUs.
22884
fd5bdc09
UD
22885 * ctype/ctype-info.c (__ctype_init): Define.
22886 * include/ctype.h (__ctype_init): Declare.
22887 (__ctype_b_loc): The variable is always initialized.
22888 (__ctype_toupper_loc): Likewise.
22889 (__ctype_tolower_loc): Likewise.
22890 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22891 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22892
7872cfb0
AS
228932011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22894
b468825a
AS
22895 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22896
7872cfb0
AS
22897 * configure.in: Also look in $cxxmachine/include for C++ system
22898 headers.
22899
be13f7bf
LD
229002011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22901
22902 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22903 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22904 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22905 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22906 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22907 (USE_AS_WMEMCMP): New macro.
22908 Fixing indents.
22909 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22910 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22911 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22912 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22913 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22914 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22915 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22916 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22917 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22918 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22919 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22920 (USE_AS_WMEMCMP): New macro.
22921 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22922 * sysdeps/string/test-memcmp.c: Update.
22923 Fix simple_wmemcmp.
22924 Add new tests.
22925 * wcsmbs/wmemcmp.c: Update.
22926 (WMEMCMP): New macro.
22927 Fix overflow bug.
22928
556a2007
AJ
229292011-10-12 Andreas Jaeger <aj@suse.de>
22930
22931 [BZ #13268]
22932 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22933
538faaa7
UD
229342011-10-15 Ulrich Drepper <drepper@gmail.com>
22935
ab6737ff
UD
22936 * libio/iofwide.c (do_length): Avoid warning.
22937
538faaa7
UD
22938 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22939
396a21b1
UD
229402011-10-14 Ulrich Drepper <drepper@gmail.com>
22941
cdf2901f
UD
22942 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22943
38ad40ce
UD
22944 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22945 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22946 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22947 * sysdeps/i386/i686/fpu/e_log.S: New file.
22948 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22949 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22950
396a21b1
UD
22951 * ctype/ctype.h: Add support for inlined isXXX functions when
22952 compiling C++ code.
22953
6b1f68c9
AS
229542011-10-14 Andreas Schwab <schwab@redhat.com>
22955
349290c0
AS
22956 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22957
6b1f68c9
AS
22958 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22959
f2282d42
RM
229602011-10-13 Roland McGrath <roland@hack.frob.com>
22961
22962 [BZ #13291]
22963 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22964
5298ffa8
AS
229652011-10-13 Andreas Schwab <schwab@redhat.com>
22966
714fad23
AS
22967 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22968 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22969 feraiseexcept.
22970
81dcc7fb
AS
22971 * sysdeps/x86_64/memrchr.S: Check for zero size.
22972
5298ffa8
AS
22973 * string/stratcliff.c: Add memrchr tests.
22974
951fbcec
LD
229752011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22976
22977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22978 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22979 rawmemchr-sse2 rawmemchr-sse2-bsf.
22980 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22981 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22982 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22983 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22984 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22985 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22986 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22987 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22988 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22989 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22990 * string/memrchr.c (MEMRCHR): New macro.
22991
0ac5ae23
UD
229922011-10-12 Ulrich Drepper <drepper@gmail.com>
22993
22994 Add integration with gcc's -ffinite-math-only and optimize wrapper
22995 functions in libm.
22996 * Versions.def: Define GLIBC_2.15 version for libm.
22997 * math/Makefile (headers): Add bits/math-finite.h.
22998 * math/bits/math-finite.h: New file.
22999 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23000 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23001 * math/e_acoshl.c: Add __*_finite alias.
23002 * math/e_acosl.c: Likewise.
23003 * math/e_asinl.c: Likewise.
23004 * math/e_atan2l.c: Likewise.
23005 * math/e_atanhl.c: Likewise.
23006 * math/e_coshl.c: Likewise.
23007 * math/e_exp10.c: Likewise.
23008 * math/e_exp10f.c: Likewise.
23009 * math/e_exp10l.c: Likewise.
23010 * math/e_exp2l.c: Likewise.
23011 * math/e_fmodl.c: Likewise.
23012 * math/e_gammal_r.c: Likewise.
23013 * math/e_hypotl.c: Likewise.
23014 * math/e_j0l.c: Likewise.
23015 * math/e_j1l.c: Likewise.
23016 * math/e_jnl.c: Likewise.
23017 * math/e_lgammal_r.c: Likewise.
23018 * math/e_log10l.c: Likewise.
23019 * math/e_log2l.c: Likewise.
23020 * math/e_logl.c: Likewise.
23021 * math/e_powl.c: Likewise.
23022 * math/e_sinhl.c: Likewise.
23023 * math/e_sqrtl.c: Likewise.
23024 * math/e_scalb.c: Completely rewritten and optimized.
23025 * math/e_scalbf.c: Likewise.
23026 * math/e_scalbl.c: Likewise.
23027 * math/w_acos.c: Likewise.
23028 * math/w_acosf.c: Likewise.
23029 * math/w_acosl.c: Likewise.
23030 * math/w_acosh.c: Likewise.
23031 * math/w_acoshf.c: Likewise.
23032 * math/w_acoshl.c: Likewise.
23033 * math/w_asin.c: Likewise.
23034 * math/w_asinf.c: Likewise.
23035 * math/w_asinl.c: Likewise.
23036 * math/w_atan2.c: Likewise.
23037 * math/w_atan2f.c: Likewise.
23038 * math/w_atan2l.c: Likewise.
23039 * math/w_atanh.c: Likewise.
23040 * math/w_atanhf.c: Likewise.
23041 * math/w_atanhl.c: Likewise.
23042 * math/w_exp10.c: Likewise.
23043 * math/w_exp10f.c: Likewise.
23044 * math/w_exp10l.c: Likewise.
23045 * math/w_fmod.c: Likewise.
23046 * math/w_fmodf.c: Likewise.
23047 * math/w_fmodl.c: Likewise.
23048 * math/w_j0.c: Likewise.
23049 * math/w_j0f.c: Likewise.
23050 * math/w_j0l.c: Likewise.
23051 * math/w_j1.c: Likewise.
23052 * math/w_j1f.c: Likewise.
23053 * math/w_j1l.c: Likewise.
23054 * math/w_jn.c: Likewise.
23055 * math/w_jnf.c: Likewise.
23056 * math/w_log.c: Likewise.
23057 * math/w_logf.c: Likewise.
23058 * math/w_logl.c: Likewise.
23059 * math/w_log10.c: Likewise.
23060 * math/w_log10f.c: Likewise.
23061 * math/w_log10l.c: Likewise.
23062 * math/w_log2.c: Likewise.
23063 * math/w_log2f.c: Likewise.
23064 * math/w_log2l.c: Likewise.
23065 * math/w_pow.c: Likewise.
23066 * math/w_powf.c: Likewise.
23067 * math/w_powl.c: Likewise.
23068 * math/w_remainder.c: Likewise.
23069 * math/w_remainderf.c: Likewise.
23070 * math/w_remainderl.c: Likewise.
23071 * math/w_scalb.c: Likewise.
23072 * math/w_scalbf.c: Likewise.
23073 * math/w_scalbl.c: Likewise.
23074 * math/w_sqrt.c: Likewise.
23075 * math/w_sqrtf.c: Likewise.
23076 * math/w_sqrtl.c: Likewise.
23077 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23078 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23079 used.
23080 * math/math_private.h: Declare __kernel_standard_f.
23081 * math/w_cosh.c: Remove cruft and optimize a bit.
23082 * math/w_coshf.c: Likewise.
23083 * math/w_coshl.c: Likewise.
23084 * math/w_exp2.c: Likewise.
23085 * math/w_exp2f.c: Likewise.
23086 * math/w_exp2l.c: Likewise.
23087 * math/w_hypot.c: Likewise.
23088 * math/w_hypotf.c: Likewise.
23089 * math/w_hypotl.c: Likewise.
23090 * math/w_lgamma.c: Likewise.
23091 * math/w_lgamma_r.c: Likewise.
23092 * math/w_lgammaf.c: Likewise.
23093 * math/w_lgammaf_r.c: Likewise.
23094 * math/w_lgammal.c: Likewise.
23095 * math/w_lgammal_r.c: Likewise.
23096 * math/w_sinh.c: Likewise.
23097 * math/w_sinhf.c: Likewise.
23098 * math/w_sinhl.c: Likewise.
23099 * math/w_tgamma.c: Likewise.
23100 * math/w_tgammaf.c: Likewise.
23101 * math/w_tgammal.c: Likewise.
23102 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23103 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23104 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23105 Minor optimizations. Pretty printing. Remove cruft.
23106 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23107 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23108 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23109 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23110 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23111 * sysdeps/i386/fpu/e_asin.S: Likewise.
23112 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23113 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23114 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23115 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23116 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23117 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23118 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23119 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23120 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23121 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23122 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23123 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23124 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23125 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23126 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23127 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23128 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23129 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23130 * sysdeps/i386/fpu/e_log.S: Likewise.
23131 * sysdeps/i386/fpu/e_log10.S: Likewise.
23132 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23133 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23134 * sysdeps/i386/fpu/e_log2.S: Likewise.
23135 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23136 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23137 * sysdeps/i386/fpu/e_logf.S: Likewise.
23138 * sysdeps/i386/fpu/e_logl.S: Likewise.
23139 * sysdeps/i386/fpu/e_pow.S: Likewise.
23140 * sysdeps/i386/fpu/e_powf.S: Likewise.
23141 * sysdeps/i386/fpu/e_powl.S: Likewise.
23142 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23143 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23144 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23145 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23146 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23147 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23148 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23149 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23150 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23151 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23152 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23154 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23155 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23156 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23157 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23158 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23159 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23160 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23161 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23162 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23163 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23164 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23165 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23172 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23173 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23174 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23175 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23176 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23177 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23178 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23179 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23180 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23181 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23182 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23183 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23184 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23185 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23186 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23187 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23188 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23189 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23190 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23191 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23192 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23193 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23194 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23195 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23196 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23197 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23198 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23199 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23200 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23201 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23202 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23203 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23204 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23205 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23206 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23207 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23208 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23209 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23210 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23211 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23212 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23213 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23214 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23215 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23216 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23217 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23218 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23219 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23220 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23221 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23222 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23223 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23225 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23226 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23227 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23228 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23229 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23230 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23231 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23232 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23233 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23234 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23235 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23236 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23237 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23238 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23239 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23240 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23241 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23242 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23243 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23244 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23245 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23246 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23247 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23248 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23249 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23250 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23251 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23252 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23253 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23254 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23255 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23256 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23257 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23258 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23259 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23260 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23261 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23262 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23263 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23264 (__isnanf): Likewise.
23265 (__isinf_ns): Likewise.
23266 (__isinf_nsf): Likewise.
23267 (__finite): Likewise.
23268 (__finitef): Likewise.
23269 (__ieee754_sqrt): Define as macro.
23270 (__ieee754_sqrtf): Define as macro.
23271 (__ieee754_sqrtl): Define as macro.
23272 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23273 inlined copy.
23274 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23275 __FINITE_MATH_ONLY__ consistent.
23276 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23277
12cc2fcd
AS
232782011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23279
a843a204
AS
23280 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23281 of rawmemchr.
23282
12cc2fcd
AS
23283 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23284
c853acd5
UD
232852011-10-09 Ulrich Drepper <drepper@gmail.com>
23286
23287 * po/ja.po: Update from translation team.
23288
c658d255
RM
232892011-10-08 Roland McGrath <roland@hack.frob.com>
23290
110946e4
RM
23291 * locale/programs/locarchive.c (prepare_address_space): New function.
23292 (create_archive, enlarge_archive, open_archive): Use it.
23293
50604220
RM
23294 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23295 inside [SHARED], where it is used.
23296
c658d255
RM
23297 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23298
23299 * nss/getent.c (netgroup_keys): Remove unused variable.
23300 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23301
6a621eb7
UD
233022011-10-08 Ulrich Drepper <drepper@gmail.com>
23303
7edb55ce
UD
23304 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23305 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23306 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23307 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23308 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23309 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23310 * math/Makefile (libm-calls): Add s_isinf_ns.
23311 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23312 * math/multc3.c: Likewise.
23313 * math/s_casin.c: Likewise.
23314 * math/s_casinf.c: Likewise.
23315 * math/s_casinl.c: Likewise.
23316 * math/s_ccos.c: Likewise.
23317 * math/s_ccosf.c: Likewise.
23318 * math/s_ccosl.c: Likewise.
23319 * math/s_ctan.c: Likewise.
23320 * math/s_ctanf.c: Likewise.
23321 * math/s_ctanh.c: Likewise.
23322 * math/s_ctanhf.c: Likewise.
23323 * math/s_ctanhl.c: Likewise.
23324 * math/s_ctanl.c: Likewise.
23325 * math/w_fmod.c: Likewise.
23326 * math/w_fmodf.c: Likewise.
23327 * math/w_fmodl.c: Likewise.
23328 * math/w_remainder.c: Likewise.
23329 * math/w_remainderf.c: Likewise.
23330 * math/w_remainderl.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23332 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23333 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23334 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23335 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23336 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23337 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23338 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23339
187da0ae
UD
23340 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23341 of the number.
23342 * stdio-common/printf_fphex.c: Likewise.
23343 * stdio-common/printf_size.c: Likewise.
23344
9277c064
UD
23345 * math/e_exp10.c: Include math_private.h using <...> not "...".
23346 * math/e_exp10f.c: Likewise.
23347 * math/e_exp10l.c: Likewise.
23348 * math/e_exp2l.c: Likewise.
23349 * math/e_j0l.c: Likewise.
23350 * math/e_j1l.c: Likewise.
23351 * math/e_jnl.c: Likewise.
23352 * math/e_lgammal_r.c: Likewise.
23353 * math/e_rem_pio2l.c: Likewise.
23354 * math/e_scalb.c: Likewise.
23355 * math/e_scalbf.c: Likewise.
23356 * math/e_scalbl.c: Likewise.
23357 * math/k_cosl.c: Likewise.
23358 * math/k_sinl.c: Likewise.
23359 * math/k_tanl.c: Likewise.
23360 * math/s_cacoshf.c: Likewise.
23361 * math/s_catan.c: Likewise.
23362 * math/s_catanf.c: Likewise.
23363 * math/s_catanh.c: Likewise.
23364 * math/s_catanhf.c: Likewise.
23365 * math/s_catanhl.c: Likewise.
23366 * math/s_catanl.c: Likewise.
23367 * math/s_ccosh.c: Likewise.
23368 * math/s_ccoshf.c: Likewise.
23369 * math/s_ccoshl.c: Likewise.
23370 * math/s_cexp.c: Likewise.
23371 * math/s_cexpf.c: Likewise.
23372 * math/s_cexpl.c: Likewise.
23373 * math/s_clog.c: Likewise.
23374 * math/s_clog10.c: Likewise.
23375 * math/s_clog10f.c: Likewise.
23376 * math/s_clog10l.c: Likewise.
23377 * math/s_clogf.c: Likewise.
23378 * math/s_clogl.c: Likewise.
23379 * math/s_csin.c: Likewise.
23380 * math/s_csinf.c: Likewise.
23381 * math/s_csinh.c: Likewise.
23382 * math/s_csinhf.c: Likewise.
23383 * math/s_csinhl.c: Likewise.
23384 * math/s_csinl.c: Likewise.
23385 * math/s_csqrt.c: Likewise.
23386 * math/s_csqrtf.c: Likewise.
23387 * math/s_csqrtl.c: Likewise.
23388 * math/s_ctan.c: Likewise.
23389 * math/s_ctanf.c: Likewise.
23390 * math/s_ctanh.c: Likewise.
23391 * math/s_ctanhf.c: Likewise.
23392 * math/s_ctanhl.c: Likewise.
23393 * math/s_ctanl.c: Likewise.
23394 * math/s_ldexp.c: Likewise.
23395 * math/s_ldexpf.c: Likewise.
23396 * math/s_ldexpl.c: Likewise.
23397 * math/s_significand.c: Likewise.
23398 * math/s_significandf.c: Likewise.
23399 * math/s_significandl.c: Likewise.
23400 * math/w_acos.c: Likewise.
23401 * math/w_acosf.c: Likewise.
23402 * math/w_acosh.c: Likewise.
23403 * math/w_acoshf.c: Likewise.
23404 * math/w_acoshl.c: Likewise.
23405 * math/w_acosl.c: Likewise.
23406 * math/w_asin.c: Likewise.
23407 * math/w_asinf.c: Likewise.
23408 * math/w_asinl.c: Likewise.
23409 * math/w_atan2.c: Likewise.
23410 * math/w_atan2f.c: Likewise.
23411 * math/w_atan2l.c: Likewise.
23412 * math/w_atanh.c: Likewise.
23413 * math/w_atanhf.c: Likewise.
23414 * math/w_atanhl.c: Likewise.
23415 * math/w_cosh.c: Likewise.
23416 * math/w_coshf.c: Likewise.
23417 * math/w_coshl.c: Likewise.
23418 * math/w_dremf.c: Likewise.
23419 * math/w_exp10.c: Likewise.
23420 * math/w_exp10f.c: Likewise.
23421 * math/w_exp10l.c: Likewise.
23422 * math/w_exp2.c: Likewise.
23423 * math/w_exp2f.c: Likewise.
23424 * math/w_fmod.c: Likewise.
23425 * math/w_fmodf.c: Likewise.
23426 * math/w_fmodl.c: Likewise.
23427 * math/w_hypot.c: Likewise.
23428 * math/w_hypotf.c: Likewise.
23429 * math/w_hypotl.c: Likewise.
23430 * math/w_j0.c: Likewise.
23431 * math/w_j0f.c: Likewise.
23432 * math/w_j0l.c: Likewise.
23433 * math/w_j1.c: Likewise.
23434 * math/w_j1f.c: Likewise.
23435 * math/w_j1l.c: Likewise.
23436 * math/w_jn.c: Likewise.
23437 * math/w_jnf.c: Likewise.
23438 * math/w_jnl.c: Likewise.
23439 * math/w_lgamma.c: Likewise.
23440 * math/w_lgamma_r.c: Likewise.
23441 * math/w_lgammaf.c: Likewise.
23442 * math/w_lgammaf_r.c: Likewise.
23443 * math/w_lgammal.c: Likewise.
23444 * math/w_lgammal_r.c: Likewise.
23445 * math/w_log.c: Likewise.
23446 * math/w_log10.c: Likewise.
23447 * math/w_log10f.c: Likewise.
23448 * math/w_log10l.c: Likewise.
23449 * math/w_log2.c: Likewise.
23450 * math/w_log2f.c: Likewise.
23451 * math/w_log2l.c: Likewise.
23452 * math/w_logf.c: Likewise.
23453 * math/w_logl.c: Likewise.
23454 * math/w_pow.c: Likewise.
23455 * math/w_powf.c: Likewise.
23456 * math/w_powl.c: Likewise.
23457 * math/w_remainder.c: Likewise.
23458 * math/w_remainderf.c: Likewise.
23459 * math/w_remainderl.c: Likewise.
23460 * math/w_scalb.c: Likewise.
23461 * math/w_scalbf.c: Likewise.
23462 * math/w_scalbl.c: Likewise.
23463 * math/w_sinh.c: Likewise.
23464 * math/w_sinhf.c: Likewise.
23465 * math/w_sinhl.c: Likewise.
23466 * math/w_sqrt.c: Likewise.
23467 * math/w_sqrtf.c: Likewise.
23468 * math/w_sqrtl.c: Likewise.
23469 * math/w_tgamma.c: Likewise.
23470 * math/w_tgammaf.c: Likewise.
23471 * math/w_tgammal.c: Likewise.
23472
6a621eb7
UD
23473 * po/ja.po: Update from translation team.
23474
bf582445
AJ
234752011-09-29 Andreas Jaeger <aj@suse.de>
23476
f9efbf3a
AJ
23477 [BZ #13179]
23478 * sunrpc/netname.c (netname2host): Fix logic.
23479
bf582445
AJ
23480 [BZ #6779]
23481 [BZ #6783]
23482 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23483 correctly.
23484 * math/w_remainder.c (__remainder): Likewise.
23485 * math/w_remainderf.c (__remainderf): Likewise.
23486 * math/libm-test.inc (remainder_test): Add test cases.
23487
48693bea
AK
234882011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23489
23490 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23491 sdiv_qrnnd.
23492
42622229
LD
234932011-10-07 Ulrich Drepper <drepper@gmail.com>
23494
23495 * string/test-memcmp.c: Avoid unncessary #defines.
23496 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23497
093ecf92
LD
234982011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23499
23500 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23501 Use new sse2 version for core i3 - i7 as it's faster
23502 than sse42 version.
23503 (bit_Prefer_PMINUB_for_stringop): New.
23504 * sysdeps/x86_64/rawmemchr.S: Update.
23505 Replace with faster SSE2 version.
23506 * sysdeps/x86_64/memrchr.S: New file.
23507 * sysdeps/x86_64/memchr.S: Update.
23508 Replace with faster SSE2 version.
23509
fde56e5c
MP
235102011-09-12 Marek Polacek <mpolacek@redhat.com>
23511
23512 * elf/dl-load.c (lose): Add cast to avoid warning.
23513
21fd49a9
UD
235142011-10-07 Ulrich Drepper <drepper@gmail.com>
23515
5a06e643
UD
23516 * po/ca.po: Update from translation team.
23517
684ae515
UD
23518 * inet/getnetgrent_r.c: Hook up nscd.
23519 * nscd/Makefile (routines): Add nscd_netgroup.
23520 (nscd-modules): Add netgroupcache.
23521 (CFLAGS-netgroupcache.c): Define.
23522 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23523 (cache_search): Add const to second parameter.
23524 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23525 INNETGR.
23526 (dbs): Add netgrdb entry.
23527 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23528 (verify_persistent_db): Handle netgrdb.
23529 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23530 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23531 GETFDNETGR.
23532 (netgroup_response_header): Define.
23533 (innetgroup_response_header): Define.
23534 (datahead): Add netgroup_response_header and innetgroup_response_header
23535 elements.
23536 * nscd/nscd.conf: Add entries for netgroup cache.
23537 * nscd/nscd.h (dbtype): Add netgrdb.
23538 (_PATH_NSCD_NETGROUP_DB): Define.
23539 (netgroup_iov_disabled): Declare.
23540 (xmalloc, xcalloc, xrealloc): Move declarations here.
23541 (cache_search): Adjust prototype.
23542 Add netgroup-related prototypes.
23543 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23544 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23545 (__nscd_innetgr): Declare.
23546 * nscd/selinux.c (perms): Use access_vector_t as element type and
23547 add netgroup-related initializers.
23548 * nscd/netgroupcache.c: New file.
23549 * nscd/nscd_netgroup.c: New file.
23550 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23551 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23552 For four parameters use innetgr.
23553 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23554 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23555 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23556 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23557
21fd49a9
UD
23558 * nscd/connections.c (register_traced_file): Don't register file
23559 for disabled databases.
23560
054c0457
UD
235612011-10-06 Ulrich Drepper <drepper@gmail.com>
23562
32b63198
UD
23563 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23564
054c0457
UD
23565 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23566 from tree and freeing node.
23567
64031225
JO
235682011-09-25 Jiri Olsa <jolsa@redhat.com>
23569
23570 * nss/nsswitch.c (__nss_database_lookup): Handle
23571 nss_parse_service_list out of memory case.
23572
0490345c
JO
235732011-09-15 Jiri Olsa <jolsa@redhat.com>
23574
23575 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23576 out of memory case.
23577
3a62d00d
AS
235782011-10-04 Andreas Schwab <schwab@redhat.com>
23579
23580 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23581 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23582 pass it down.
23583 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23584 elf_machine_rela, elf_machine_lazy_rel.
23585 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23586 (ELF_DYNAMIC_DO_REL): Likewise.
23587 (ELF_DYNAMIC_DO_RELA): Likewise.
23588 (ELF_DYNAMIC_RELOCATE): Likewise.
23589 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23590 to ELF_DYNAMIC_DO_REL.
23591 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23592 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23593 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23594 elf_machine_rela.
23595 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23596 skip_ifunc, don't call ifunc function if non-zero.
23597 (elf_machine_rela): Likewise.
23598 (elf_machine_lazy_rel): Likewise.
23599 (elf_machine_lazy_rela): Likewise.
23600 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23601 (elf_machine_lazy_rel): Likewise.
23602 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23603 Likewise.
23604 (elf_machine_lazy_rel): Likewise.
23605 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23606 Likewise.
23607 (elf_machine_lazy_rel): Likewise.
23608 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23609 (elf_machine_lazy_rel): Likewise.
23610 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23611 (elf_machine_lazy_rel): Likewise.
23612 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23613 (elf_machine_lazy_rel): Likewise.
23614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23615 (elf_machine_lazy_rel): Likewise.
23616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23617 (elf_machine_lazy_rel): Likewise.
23618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23619 (elf_machine_lazy_rel): Likewise.
23620
68577918
UD
236212011-09-28 Ulrich Drepper <drepper@gmail.com>
23622
23623 * nss/nss_files/files-init.c (_nss_files_init): Use static
23624 initialization for all the *_traced_file variables.
23625
68822d74
AS
236262011-09-28 Andreas Schwab <schwab@redhat.com>
23627
23628 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23629
2056100b
RM
236302011-09-27 Roland McGrath <roland@hack.frob.com>
23631
23632 [BZ #13226]
23633 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23634
32c76b63
AS
236352011-09-27 Andreas Schwab <schwab@redhat.com>
23636
23637 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23638 Reread the line before reparsing it.
23639
bf972c9d
AS
236402011-09-26 Andreas Schwab <schwab@redhat.com>
23641
23642 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23643
e057a1b5
JM
236442011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23645 Maxim Kuvyrkov <maxim@codesourcery.com>
23646 Joseph Myers <joseph@codesourcery.com>
23647
23648 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23649 if needed for __stack_chk_guard.
23650
bc7e1c36
RM
236512011-09-19 Roland McGrath <roland@hack.frob.com>
23652
ecb1482f
RM
23653 * sysdeps/posix/spawni.c (script_execute): Always define it.
23654 It will be optimized away if unused.
23655 (maybe_script_execute): New function.
23656 (__spawni): Call it.
23657
bc7e1c36
RM
23658 * Makerules: Don't include tls.make.
23659 (config-tls): Always set to thread.
23660 * tls.make.c: File removed.
23661
1c3b002b
MF
236622011-09-19 Mike Frysinger <vapier@gentoo.org>
23663
23664 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23665 * config.make.in (CPPFLAGS-config): New substituted variable.
23666
2840865d
UD
236672011-09-15 Ulrich Drepper <drepper@gmail.com>
23668
88738eb6
UD
23669 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23670
cbf645a6 23671 [BZ #13192]
2840865d
UD
23672 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23673 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23674
b402e91a
RM
236752011-09-15 Roland McGrath <roland@hack.frob.com>
23676
23677 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23678 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23680 (CALL_FAIL): Likewise.
23681 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23682 (CALL_FAIL): Macro removed.
23683 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23684
4c1a1f71
UD
236852011-09-15 Ulrich Drepper <drepper@gmail.com>
23686
23687 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23688 for __FINITE_MATH_ONLY__ == 1.
23689
edc121be
AS
236902011-09-15 Andreas Schwab <schwab@redhat.com>
23691
23692 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23693 __ieee754_sqrt instead of sqrt.
23694 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23695 __ieee754_sqrtf instead of sqrtf.
23696 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23697 __floorf instead of floorf.
23698 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23699 __floorf, __truncf instead of floorf, truncf.
23700
cd205654
UD
237012011-09-14 Ulrich Drepper <drepper@gmail.com>
23702
ee4d0315
UD
23703 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23704
cd205654
UD
23705 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23706 __extern_always_inline.
23707 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23708 32-bit.
23709
48b67d71
AS
237102011-09-14 Andreas Schwab <schwab@redhat.com>
23711
23712 * elf/rtld.c (dl_main): Also relocate in dependency order when
23713 doing symbol dependency testing.
23714
1ae12c75
AS
237152011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23716
23717 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23718 Always define `refsym'.
23719
995a80df
AS
237202011-09-13 Andreas Schwab <schwab@redhat.com>
23721
e529793b
AS
23722 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23723 (__FD_ELT): Renamed from __FDELT.
23724 * misc/bits/select2.h (__FD_ELT): Likewise.
23725 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23726 __FD_MASK instead of __FDELT, __FDMASK.
23727 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23728 Likewise.
23729 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23730 Likewise.
23731
52d4fef8
AS
23732 * elf/Makefile (gen-ldd): Fix pattern.
23733
995a80df
AS
23734 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23735 (init_tls): Likewise.
23736
8682f8b0
UD
237372011-09-12 Ulrich Drepper <drepper@gmail.com>
23738
23739 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23740
de82006d
AS
237412011-09-12 Andreas Schwab <schwab@redhat.com>
23742
a7c8e6a1
AS
23743 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23744 `struct cmsghdr *' instead of `void *'.
23745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23746 Likewise.
23747
0f31fe77
AS
237482011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23749
23750 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23751 if non-absolute.
23752 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23753 ldd_rewrite_script.
0f31fe77 23754
32b4c839
UD
237552011-09-11 Ulrich Drepper <drepper@gmail.com>
23756
83cd1420
UD
23757 * configure.in: Remove --with-tls option.
23758 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23759 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23760 out in case it is missing.
23761 * sysdeps/ia64/elf/configure.in: Likewise.
23762 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23763 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23764 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23765 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23766 * sysdeps/sh/elf/configure.in: Likewise.
23767 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23768 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23769 * sysdeps/x86_64/elf/configure.in: Likewise.
23770 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23771 * sysdeps/mach/hurd/tls.h: Likewise.
23772
633f745d
UD
23773 [BZ #13067]
23774 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23775
f318beb8
UD
23776 [BZ #13090]
23777 * configure.in: Fix use of AC_INIT.
23778
32b4c839
UD
23779 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23780
3ce1f295
UD
237812011-09-10 Ulrich Drepper <drepper@gmail.com>
23782
bb016596
UD
23783 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23784 __set_errno.
8e58439c
UD
23785 * malloc/hooks.c: Likewise.
23786
aebae053 23787 [BZ #11929]
02d46fc4
UD
23788 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23789 variables statically.
23790 (narenas): Initialize.
23791 (list_lock): Initialize.
bb016596
UD
23792 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23793 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23794 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23795 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23796 Add initializers to main_arena and mp_.
23797 (malloc_state): Remove pagesize member. Change all users to use
23798 GLRO(dl_pagesize).
23799
23800 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23801 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23802 is always initialized.
23803
22a89187
UD
23804 * malloc/malloc.c: Removed unused configurations and dead code.
23805 * malloc/arena.c: Likewise.
23806 * malloc/hooks.c: Likewise.
02d46fc4 23807 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23808
d063d164
UD
23809 * include/tls.h: Removed. USE___THREAD must always be defined.
23810 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23811 * elf/dl-libc.c: Likewise.
23812 * elf/dl-tsd.c: Likewise.
23813 * include/errno.h: Likewise.
23814 * include/netdb.h: Likewise.
23815 * include/resolv.h: Likewise.
23816 * inet/herrno-loc.c: Likewise.
23817 * inet/herrno.c: Likewise.
23818 * malloc/arena.c: Likewise.
23819 * malloc/hooks.c: Likewise.
23820 * malloc/malloc.c: Likewise.
23821 * resolv/res-state.c: Likewise.
23822 * resolv/res_libc.c: Likewise.
23823 * sysdeps/i386/dl-machine.h: Likewise.
23824 * sysdeps/ia64/dl-machine.h: Likewise.
23825 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23826 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23827 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23828 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23829 * sysdeps/sh/dl-machine.h: Likewise.
23830 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23831 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23832 * sysdeps/unix/i386/sysdep.S: Likewise.
23833 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23834 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23835 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23836 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23837 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23838 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23839 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23840 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23841 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23843 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23844 * sysdeps/x86_64/dl-machine.h: Likewise.
23845 * tls.make.c: Likewise.
23846
3ce1f295
UD
23847 * configure.in: Remove --with-__thread option. Make tests for
23848 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23849 tls_model attribute fail if no support is available. Remove
23850 USE_IN_LIBIO.
23851 * Makeconfig: Adjust for dropped configure option. All features are
23852 now mandatory.
23853 * Makerules: Likewise.
23854 * Versions.def: Likewise.
23855 * argp/argp-fmtstream.c: Likewise.
23856 * argp/argp-fmtstream.h: Likewise.
23857 * argp/argp-help.c: Likewise.
23858 * assert/assert.c: Likewise.
23859 * config.h.in: Likewise.
23860 * config.make.in: Likewise.
23861 * configure: Likewise.
23862 * configure.in: Likewise.
23863 * csu/Versions: Likewise.
23864 * csu/init.c: Likewise.
23865 * elf/tst-audit2.c: Likewise.
23866 * elf/tst-tls10.c: Likewise.
23867 * elf/tst-tls10.h: Likewise.
23868 * elf/tst-tls11.c: Likewise.
23869 * elf/tst-tls12.c: Likewise.
23870 * elf/tst-tls14.c: Likewise.
23871 * elf/tst-tlsmod11.c: Likewise.
23872 * elf/tst-tlsmod12.c: Likewise.
23873 * elf/tst-tlsmod13.c: Likewise.
23874 * elf/tst-tlsmod13a.c: Likewise.
23875 * elf/tst-tlsmod14a.c: Likewise.
23876 * elf/tst-tlsmod15b.c: Likewise.
23877 * elf/tst-tlsmod16a.c: Likewise.
23878 * elf/tst-tlsmod16b.c: Likewise.
23879 * elf/tst-tlsmod7.c: Likewise.
23880 * elf/tst-tlsmod8.c: Likewise.
23881 * elf/tst-tlsmod9.c: Likewise.
23882 * gmon/gmon.c: Likewise.
23883 * grp/fgetgrent_r.c: Likewise.
23884 * grp/putgrent.c: Likewise.
23885 * hurd/fopenport.c: Likewise.
23886 * include/libc-symbols.h: Likewise.
23887 * include/tls.h: Likewise.
23888 * intl/gettextP.h: Likewise.
23889 * intl/loadinfo.h: Likewise.
23890 * locale/global-locale.c: Likewise.
23891 * locale/localeinfo.h: Likewise.
23892 * mach/devstream.c: Likewise.
23893 * malloc/arena.c: Likewise.
23894 * malloc/set-freeres.c: Likewise.
23895 * misc/err.c: Likewise.
23896 * misc/getttyent.c: Likewise.
23897 * misc/mntent_r.c: Likewise.
23898 * posix/getopt.c: Likewise.
23899 * posix/wordexp.c: Likewise.
23900 * pwd/fgetpwent_r.c: Likewise.
23901 * resolv/Versions: Likewise.
23902 * resolv/res_hconf.c: Likewise.
23903 * shadow/fgetspent_r.c: Likewise.
23904 * shadow/putspent.c: Likewise.
23905 * stdio-common/printf_fphex.c: Likewise.
23906 * stdio-common/tmpfile.c: Likewise.
23907 * stdlib/abort.c: Likewise.
23908 * stdlib/fmtmsg.c: Likewise.
23909 * sunrpc/auth_unix.c: Likewise.
23910 * sunrpc/clnt_perr.c: Likewise.
23911 * sunrpc/clnt_tcp.c: Likewise.
23912 * sunrpc/clnt_udp.c: Likewise.
23913 * sunrpc/clnt_unix.c: Likewise.
23914 * sunrpc/openchild.c: Likewise.
23915 * sunrpc/svc_simple.c: Likewise.
23916 * sunrpc/svc_tcp.c: Likewise.
23917 * sunrpc/svc_udp.c: Likewise.
23918 * sunrpc/svc_unix.c: Likewise.
23919 * sunrpc/xdr.c: Likewise.
23920 * sunrpc/xdr_array.c: Likewise.
23921 * sunrpc/xdr_rec.c: Likewise.
23922 * sunrpc/xdr_ref.c: Likewise.
23923 * sunrpc/xdr_stdio.c: Likewise.
23924
1248c1c4
PB
239252011-09-09 Ulrich Drepper <drepper@gmail.com>
23926
23927 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23928
239292011-07-03 Andreas Jaeger <aj@suse.de>
23930
23931 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23932 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23933 regenerate with gen-libm-tests.pl.
23934
239352010-05-12 Petr Baudis <pasky@suse.cz>
23936
23937 [BZ #11589]
23938 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23939 around j0() zero points by switching to j1().
23940 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23941 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23942 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23943 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23944
f22e1074
UD
239452011-09-09 Ulrich Drepper <drepper@gmail.com>
23946
f19009c1
UD
23947 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23948 instead of 0.
23949 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23950 instead of 0.
f19009c1
UD
23951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23952 Patch in part by Pavel Roskin <proski@gnu.org>.
23953
3f8cc204
UD
23954 [BZ #13138]
23955 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23956 realloc.
23957 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23958 Free memory block if necessary.
23959
f22e1074
UD
23960 [BZ #12847]
23961 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23962 be NULL. Don't lock in this case.
23963
0a2349f9
RM
239642011-09-09 Roland McGrath <roland@hack.frob.com>
23965
23966 * elf/elf.h (ELFOSABI_GNU): New macro.
23967 (ELFOSABI_LINUX): Define to that.
23968
f3cdd467
DZ
239692011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23970
23971 * string/strncat.c (strncat): Undef the symbol in case it has been
23972 defined in bits/string.h.
23973
74718d13
UD
239742011-09-09 Ulrich Drepper <drepper@gmail.com>
23975
633e9e0f
UD
23976 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23977
0a2349f9 23978 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23979 link map.
23980
f9924780
AJ
239812011-08-17 Andreas Jaeger <aj@suse.de>
23982
23983 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23984
7f5517aa
PP
239852011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23986 Ian Lance Taylor <iant@google.com>
23987
23988 * math/libm-test.inc (lround_test): New testcase.
23989 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23990
762011fe
UD
239912011-09-08 Ulrich Drepper <drepper@gmail.com>
23992
92963737
UD
23993 * Makefile: Remove support for automatic cvs check-ins.
23994 * Makerules: Likewise.
23995 * config.make.in: Likewise.
23996 * configure.in: Likewise.
23997 * intl/Makefile: Likewise.
23998 * locale/Makefile: Likewise.
23999 * po/Makefile: Likewise.
24000 * posix/Makefile: Likewise.
24001 * sysdeps/gnu/Makefile: Likewise.
24002 * sysdeps/mach/hurd/Makefile: Likewise.
24003 * sysdeps/sparc/sparc32/Makefile: Likewise.
24004
b0727fd8
JS
24005 [BZ #13118]
24006 * posix/Makefile (bug-regex32-ENV): Define.
24007 Patch by John Stanley <jpsinthemix@verizon.net>.
24008
a0f33f99
UD
24009 * misc/Makefile (headers): Add bits/select2.h.
24010 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24011 * misc/bits/select2.h: New file.
24012 * include/bits/select2.h: New file.
24013 * debug/Makefile (routines): Add fdelt_chk.
24014 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24015 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24016 FD_ISSET.
24017 * debug/fdelt_chk.c: New file.
24018
762011fe
UD
24019 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24020 * wcsmbs/test-wmemcmp.c: Likewise.
24021 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24022 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24023
240242011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24025
24026 * string/Makefile (strop-tests): Add memcmp.
24027 * string/test-wmemcmp.c: New file.
24028 * string/test-memcmp.c: Add wmemcmp support.
24029
7f513ec8
RM
240302011-09-08 Roland McGrath <roland@hack.frob.com>
24031
0442afb4
RM
24032 [BZ #13153]
24033 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24034 2011-07-19 change.
24035
7f513ec8
RM
24036 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24037 garbage value in a __mach_port_mod_refs call in the cases of the
24038 task-self and thread-self ports.
24039
a12b2239
ST
240402011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24041
24042 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24043
610f9ab4
AS
240442011-09-08 Andreas Schwab <schwab@redhat.com>
24045
7f513ec8 24046 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24047
48882a1a
LD
240482011-09-07 Ulrich Drepper <drepper@gmail.com>
24049
b49865be
UD
24050 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24051
fdc86bc9
UD
24052 * elf/dl-libc.c (dlerror_run): Pass back error code from
24053 dl_catch_error.
24054
c966526a
UD
24055 [BZ #13123]
24056 * elf/dl-load.c (lose): Free l_origin if it is valid.
24057
48882a1a
LD
24058 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24059 names.
24060 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24061 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24062 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24063 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24064 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24065 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24066
77a2a8b4
AZ
240672011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24068
24069 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24070 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24071 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24072 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24073 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24074 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24075 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24076 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24077 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24078 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24079
24f579d8
AM
240802011-08-15 Alan Modra <amodra@gmail.com>
24081
24082 [BZ #13092]
24083 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24084 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24085 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24086 ppc_mcount to static-only-routines.
24087 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24088 __mcount_internal.
24089 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24090 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24091
3d4837df
UD
240922011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24093
24094 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24095 for finite and infinity parameters.
24096
22700377
WS
240972011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24098
24099 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24100 and add nop instructions for throughput optimization.
24101 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24102
5025581e
WS
241032011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24104
24105 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24106 aligned copy for power7 with vector-scalar instructions.
24107 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24108
08a300c9
L
241092011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24110
24111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24112 AVX check.
24113
59178ef9
AS
241142011-09-07 Andreas Schwab <schwab@redhat.com>
24115
24116 [BZ #13144]
24117 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24118 last change.
24119
e38ba7ab
UD
241202011-09-07 Ulrich Drepper <drepper@gmail.com>
24121
24122 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24123 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24124 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24125 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24126 clock_gettime.
24127
d53a73ac
UD
241282011-09-06 Ulrich Drepper <drepper@gmail.com>
24129
fc8bffcc
UD
24130 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24131 Forgot to demangle the pointer.
24132
ceaa0c5d
UD
24133 * sysdeps/i386/sysdep.h: Define atom_text_section.
24134 * sysdeps/x86_64/sysdep.h: Likewise.
24135 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24136 section with atom_text_section.
24137 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24138 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24139 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24140 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24141 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24142
a77d3c17
UD
24143 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24144 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24145 already be defined. Change to take two parameters and don't assign
24146 result to variable. Adjust all users.
24147 Define INTERNAL_GETTIME if not already defined.
24148 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24149 call.
24150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24151 HAVE_CLOCK_GETTIME_VSYSCALL.
24152 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24153
d53a73ac
UD
24154 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24155 gettimeofday vsyscall, just use time.
24156
a8f84144
AS
241572011-09-06 Andreas Schwab <schwab@redhat.com>
24158
24159 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24160 <errno.h>.
24161
ef606249
UD
241622011-09-06 Ulrich Drepper <drepper@gmail.com>
24163
24164 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24165 syscall on x86-64.
24166 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24167 syscall.
24168 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24169 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24170 syscall if possible.
24171
6585cb60
UD
241722011-09-05 Ulrich Drepper <drepper@gmail.com>
24173
24174 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24175 e_ident. Don't pass to find_mapsXX.
24176 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24177
a5f524e4
LD
241782011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24179
24180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24181 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24182 * sysdeps/x86_64/multiarch/strchr.S: Update.
24183 Check bit_slow_BSF bit.
24184 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24185 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24186 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24187
554881ef
UD
241882011-09-05 Ulrich Drepper <drepper@gmail.com>
24189
d96de963
UD
24190 [BZ #13134]
24191 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24192 before glibc 2.15.
24193 (tryshell): Define.
24194 (__spawni): Change last parameter to be flag. Test
24195 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24196 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24197 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24198 * posix/spawni.c: Likewise.
24199 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24200 * posix/spawnp.c: Likewise. Change normal version to use
24201 SPAWN_XFLAGS_USE_PATH.
24202 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24203 SPAWN_XFLAGS_TRY_SHELL.
24204
d48e5868
UD
24205 [BZ #13150]
24206 * posix/glob.h: Remove gcc 1.x support.
24207
554881ef
UD
24208 [BZ #13068]
24209 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24210
693fb948
LD
242112011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24212
24213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24214 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24215 strrchr-sse2-bsf
24216 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24217 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24218 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24219 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24220 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24221 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24222
1b48c537
UD
242232011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24224
49d42c37
UD
24225 * sysdeps/x86_64/wcscmp.S: New file.
24226
1b48c537
UD
24227 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24228 wcscmp-c wcscmp-sse2
24229 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24230 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24231 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24232 * wcsmbs/wcscmp.c: Allow renaming.
24233
15c95c5d
DM
242342011-09-05 David S. Miller <davem@davemloft.net>
24235
24236 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24237 stack slot, rather than the struct return pointer slot.
24238 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24239 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24241 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24242
2f0ad8f3
UD
242432011-09-05 Ulrich Drepper <drepper@gmail.com>
24244
d88ae418
UD
24245 * po/ja.po: Update from translation team.
24246
2f0ad8f3
UD
24247 [BZ #13144]
24248 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24249 kernel in 64-bit binaries.
24250
5f4318d1
DM
242512011-09-01 David S. Miller <davem@davemloft.net>
24252
24253 * elf/elf.h (HWCAP_SPARC_*): Move to..
24254 * sysdeps/sparc/sysdep.h: this new file and add new values.
24255 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24256 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24257 _DL_HWCAP_COUNT to 24.
24258 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24259 entries.
24260 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24261 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24262 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24263 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24264 instead of magic constants.
24265 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24266
3ba57516
DM
242672011-08-31 David S. Miller <davem@davemloft.net>
24268
24269 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24271 Reimplement to do errno handling inline.
24272 (SYSCALL_ERROR_HANDLER): New macro.
24273 (__SYSCALL_STRING): Do not do errno handling in asm.
24274 (__CLONE_SYSCALL_STRING): Delete.
24275 (__INTERNAL_SYSCALL_STRING): Delete.
24276 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24277 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24278 (PSEUDO): Reimplement to do errno handling inline.
24279 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24280 (SYSCALL_ERROR_HANDLER): New macro.
24281 (__SYSCALL_STRING): Do not do errno handling in asm.
24282 (__CLONE_SYSCALL_STRING): Delete.
24283 (__INTERNAL_SYSCALL_STRING): Delete.
24284 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24285 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24286 i386.
24287 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24288 (inline_syscall*): Add 'err' argument.
24289 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24290 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24291 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24292 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24293
24294 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24295 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24296
2bc17433
AS
242972011-08-30 Andreas Schwab <schwab@redhat.com>
24298
24299 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24300
fbeb5f4d
JO
243012011-08-29 Jiri Olsa <jolsa@redhat.com>
24302
24303 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24304 directive.
24305
ad69cc26
DM
243062011-08-24 David S. Miller <davem@davemloft.net>
24307
24308 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24309
39dd69df
AS
243102011-08-24 Andreas Schwab <schwab@redhat.com>
24311
24312 * elf/Makefile: Add rules to build and run unload8 test.
24313 * elf/unload8.c: New file.
24314 * elf/unload8mod1.c: New file.
24315 * elf/unload8mod1x.c: New file.
24316 * elf/unload8mod2.c: New file.
24317 * elf/unload8mod3.c: New file.
24318
24319 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24320 it wasn't used.
24321
2c0b250a
DM
243222011-08-23 David S. Miller <davem@davemloft.net>
24323
24324 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24325 subtract stack bias.
24326 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24327 %sp not %fp in calculations.
24328 (_JMPBUF_UNWINDS_ADJ): Likewise.
24329
22044b48
DM
24330 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24331 (aio_suspend): Call it to force an exception region around the
24332 AIO_MISC_WAIT() invocation.
24333
2cae4995
AS
243342011-08-23 Andreas Schwab <schwab@redhat.com>
24335
24336 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24337 backslash.
24338
873a772e
AJ
243392011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24340
24341 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24342 protection macro.
24343 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24344 and <dl-machine.h>.
24345 (Elf64_FuncDesc): Remove.
24346
25ad0df1
DM
243472011-08-22 David S. Miller <davem@davemloft.net>
24348
24349 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24350 sigaltstack check, add missing cfi directives.
24351 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24352 missing cfi directives, and sigaltstack handling.
24353
e888bcbe
AS
243542011-08-16 Andreas Schwab <schwab@redhat.com>
24355
24356 [BZ #11724]
24357 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24358 object is seen twice.
24359 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24360
24361 * elf/Makefile (distribute): Add tst-initorder2.c.
24362 (tests): Add tst-initorder2.
24363 (modules-names): Add tst-initorder2a tst-initorder2b
24364 tst-initorder2c tst-initorder2d. Add rules to build them.
24365 ($(objpfx)tst-initorder2.out): New rule.
24366 * elf/tst-initorder2.c: New file.
24367 * elf/tst-initorder2.exp: New file.
24368
87162f46
AS
243692011-08-22 Andreas Schwab <schwab@redhat.com>
24370
70538b7f
AS
24371 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24372
f55ffe58
AS
24373 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24374 dependencies back to end of function.
24375
87162f46
AS
24376 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24377 $(elfobjdir)/ld.so.
24378
91b392a4
UD
243792011-08-21 Ulrich Drepper <drepper@gmail.com>
24380
24381 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24382 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24383 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24384 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24385 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24386 of __vdso_gettimeofday.
24387 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24388 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24389 attribute_hidden.
24390 (_libc_vdso_platform_setup): Remove initialization of
24391 __vdso_gettimeofday and __vdso_time.
24392
5c43483f
UD
243932011-08-20 Ulrich Drepper <drepper@gmail.com>
24394
775a77e7
UD
24395 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24396 and fgetc_unlocked.
24397 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24398 getc_unlocked.
89f447ed 24399
49c74ba9
UD
24400 * elf/dl-open.c (add_to_global): Report additions to the global scope
24401 for LD_DEBUG=scopes.
24402 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24403 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24404
5c43483f
UD
24405 [BZ #13114]
24406 * stdio-common/Makefile (tests): Add bug24.
24407 * stdio-common/bug24.c: New file.
24408
a101b025
AJ
244092011-08-19 Andreas Jaeger <aj@suse.de>
24410
24411 [BZ #13114]
24412 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24413 non-existant file when using close-on-exec mode.
24414
c88f1766
UD
244152011-08-20 Ulrich Drepper <drepper@gmail.com>
24416
0276a718
UD
24417 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24418 the very first instruction.
24419
c88f1766
UD
24420 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24421 the CFI state in the end.
24422 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24423 inclusion of dl-trampoline.h.
24424 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24425
51ccffa0
AS
244262011-08-19 Andreas Schwab <schwab@redhat.com>
24427
94d7165f
AS
24428 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24429 expectations for long double.
24430
51ccffa0
AS
24431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24432 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24433
fd708658 244342011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24435
24436 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24437 artificual limit depends upon the system page size.
24438
44f0a71e
UD
244392011-08-17 Ulrich Drepper <drepper@gmail.com>
24440
24441 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24442 * resolv/Makefile: Define CFLAGS-libresolv.
24443
8de79a24
AS
244442011-08-17 Andreas Schwab <schwab@redhat.com>
24445
24446 * nss/makedb.c (compute_tables): Make variables used in nested
24447 function static.
24448
27724598
UD
244492011-08-17 Ulrich Drepper <drepper@gmail.com>
24450
c5305d88
UD
24451 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24452 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24453 if buffer was too small.
24454
27724598
UD
24455 * elf/pldd.c (main): Attach to all threads in the process.
24456 Rewrite /proc handling to use *at functions.
24457
076fe015
UD
244582011-08-16 Ulrich Drepper <drepper@gmail.com>
24459
174baab3
UD
24460 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24461 specifies first scope to show.
24462 (dl_open_worker): Update callers. Move printing scope of new
24463 object to before the relocation.
44f0a71e 24464 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24465 * sysdeps/generic/ldsodefs.h: Update declaration.
24466
076fe015
UD
24467 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24468 string for the scope number.
24469
a60df2c3
UD
244702011-08-14 Ulrich Drepper <drepper@gmail.com>
24471
24472 * nscd/servicescache.c (cache_addserv): Make sure written is always
24473 initialized.
24474
5e4287d1
RM
244752011-08-14 Roland McGrath <roland@hack.frob.com>
24476
85ae0589
RM
24477 * sysdeps/i386/i486/bits/atomic.h
24478 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24479 statement expression, so as to suppress "set but not used" warning.
24480 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24481
69f63097
RM
24482 * string/strncat.c (STRNCAT): Use prototype definition.
24483
675456ef
RM
24484 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24485 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24486 -Iprograms here.
24487 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24488 (localedef-modules): Add localedef.
24489 (locale-modules): Add locale.
24490
5e4287d1
RM
24491 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24492 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24493 to avoid a warning.
24494
9c96ff23
DM
244952011-08-14 David S. Miller <davem@davemloft.net>
24496
24497 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24498 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24499
f9ddf089
UD
245002011-08-13 Ulrich Drepper <drepper@gmail.com>
24501
44f0a71e 24502 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24503 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24504 * elf/rtld.c (dl_main): Set l_name of vDSO.
24505 Call _dl_show_scope when DL_DEBUG_SCOPES.
24506 (process_dl_debug): Recognize scopes flag and also set it for all.
24507 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24508 Declare _dl_show_scope.
24509
1dc27704
UD
24510 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24511 (do_dlopen): Pass caller_dlopen to dl_open.
24512 (__libc_dlopen_mode): Initialize caller_dlopen.
24513
f9ddf089
UD
24514 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24515 of libc. Make tolower call locale-independent. Optimize a bit by
24516 using isdigit instead of isalnum.
24517 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24518
9ac533d3
UD
245192011-08-12 Ulrich Drepper <drepper@gmail.com>
24520
24521 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24522 was a dependency or dynamically loaded.
24523
89edf2e9
UD
245242011-08-11 Ulrich Drepper <drepper@gmail.com>
24525
8e999d29
UD
24526 * intl/l10nflist.c: Allow architecture-specific pop function.
24527 * sysdeps/x86_64/l10nflist.c: New file.
24528
89edf2e9
UD
24529 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24530 classification.
24531
14d96785
AS
245322011-08-10 Andreas Schwab <schwab@redhat.com>
24533
24534 * include/dirent.h: Add libc_hidden_proto for scandirat and
24535 scandirat64. Don't declare __scandirat64.
24536 * dirent/scandirat.c: Add libc_hidden_def.
24537 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24538 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24539
6761ac04
DM
245402011-08-10 David S. Miller <davem@davemloft.net>
24541
24542 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24543 enum.
24544 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24545 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24546 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24547
c55fbd1e
UD
245482011-08-09 Ulrich Drepper <drepper@gmail.com>
24549
24550 * Versions.def [libc]: Add GLIBC_2.15.
24551 * dirent/Makefile (routines): Add scandirat and scandirat64.
24552 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24553 GLIBC_2.15.
24554 * dirent/dirent.h: Declare scandirat and scandirat64.
24555 * dirent/scandirat.c: New file.
24556 * dirent/scandirat64.c: New file.
24557 * sysdeps/wordsize-64/scandirat.c: New file.
24558 * sysdeps/wordsize-64/scandirat64.c: New file.
24559 * dirent/opendir.c: Define opendirat.
24560 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24561 using scandirat.
24562 * dirent/scandir64.c: Adjust for scandir.c change.
24563 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24564 __scandirat64, and __scandir_cancel_handler.
24565 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24566 additional parameter and use openat instead of open (outside of ld.so).
24567 Add new __opendir as wrapper around __opendirat.
24568 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24569 here without requiring old scandirat implementation.
24570
879165f2
UD
245712011-08-08 Ulrich Drepper <drepper@gmail.com>
24572
24573 * dirent/scandir.c (cancel_handler): Renamed to
24574 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24575 defined. Adjust users.
24576 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24577 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24578
cb7e923b
UD
245792011-08-04 Ulrich Drepper <drepper@gmail.com>
24580
16292edd
UD
24581 * string/test-string.h (IMPL): Use __STRING to expand name and then
24582 stringify it.
24583
cb7e923b
UD
24584 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24585 of cleanups.
24586
cff82933
LD
245872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24588
24589 * string/Makefile: Update.
24590 (strop-tests): Append strncat.
24591 * string/test-wcscmp.c: New file.
24592 New comprehensive test for wcscmp.
24593 * string/test-strcmp.c: Update.
24594 (WIDE): New define.
24595
9be9bfcc
AS
245962011-07-22 Andreas Schwab <schwab@redhat.com>
24597
24598 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24599 line.
24600
2e96f1c7
AS
246012011-07-26 Andreas Schwab <schwab@redhat.com>
24602
24603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24604 encoding to ACE if AI_IDN.
24605
85188888
JJ
246062011-08-01 Jakub Jelinek <jakub@redhat.com>
24607
24608 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24609 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24610
5fa16e9b
LD
246112011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24612
24613 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24614 Fix overflow bug in strncat.
24615 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24616
24617 * string/test-strncat.c: Update.
24618 Add new tests for checking overflow bugs.
24619
246202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24621
24622 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24623 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24624 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24625 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24626 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24627 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24628 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24629 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24630 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24631
24632 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24633 (USE_AS_STRCAT): Define.
24634 Add strcat and strncat support.
24635 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24636
8c1a459f
AS
246372011-07-25 Andreas Schwab <schwab@redhat.com>
24638
24639 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24640 __n bigger than INT_MAX+1.
24641 (__strncmp_g): Likewise.
24642
bba33c28
UD
246432011-07-23 Ulrich Drepper <drepper@gmail.com>
24644
798be72d
UD
24645 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24646 * libio/stido.h: Likewise.
24647
8accd4dc
UD
24648 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24649 (AF_NFC): Define.
24650 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24651 (AF_NFC): Define.
24652
cbff0d96
UD
24653 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24654 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24655 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24656 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24657 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24658
9191c04a
UD
24659 [BZ #13021]
24660 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24661 installed.
24662
bba33c28
UD
24663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24664 typo.
24665 (_dl_x86_64_save_sse): Likewise.
24666
90f139dd
UD
246672011-07-22 Ulrich Drepper <drepper@gmail.com>
24668
1aae088a
UD
24669 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24670 OSXSAVE.
24671 (_dl_x86_64_save_sse): Likewise.
24672
8e2045f5
UD
24673 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24674
90f139dd
UD
24675 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24676
1d002f25
AS
246772011-07-21 Andreas Schwab <schwab@redhat.com>
24678
24679 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24680 change.
24681 (_dl_x86_64_save_sse): Use correct AVX check.
24682
21137f89
UD
246832011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24684
24685 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24686 bug in strncpy/strncat.
24687 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24688
a65c0b7a
UD
246892011-07-21 Ulrich Drepper <drepper@gmail.com>
24690
24691 * string/tester.c (test_strcat): Add tests for different alignments
24692 of source and destination.
24693 (test_strncat): Likewise.
24694
6986b98a
UD
246952011-07-20 Ulrich Drepper <drepper@gmail.com>
24696
90bb2039
UD
24697 [BZ #12852]
24698 * posix/glob.c (glob): Check passed in values before using them in
24699 expressions to avoid some overflows.
24700 (glob_in_dir): Likewise.
24701
5644ef54
UD
24702 [BZ #13007]
24703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24704 check for AVX enablement so that we don't crash with old kernels and
24705 new hardware.
24706 * elf/tst-audit4.c: Add same checks here.
24707 * elf/tst-audit6.c: Likewise.
24708
24709 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24710
bfc9dc9b
AS
247112011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24712
24713 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24714
702e64bb
UD
247152011-07-20 Ulrich Drepper <drepper@gmail.com>
24716
24717 * po/cs.po: Update from translation team.
24718 * po/bg.po: Likewise.
24719
295e904f
MP
247202011-07-12 Marek Polacek <mpolacek@redhat.com>
24721
24722 * misc/sys/cdefs.h: Add support for const attribute.
24723 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24724 to gnu_dev_{major,minor,makedev} functions.
24725
3ff94596
MP
247262011-07-20 Marek Polacek <mpolacek@redhat.com>
24727
24728 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24729
28b59fca
AS
247302011-07-20 Andreas Schwab <schwab@redhat.com>
24731
24732 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24733 strlen results.
24734
19df733e
AK
247352011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24736
24737 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24738 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24739 register in order to avoid conflicts with the soft frame pointer
24740 being held in r11 when necessary.
24741 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24742 (INTERNAL_VSYSCALL_NCS): Likewise.
24743
c8835729
MP
247442011-07-14 Marek Polacek <mpolacek@redhat.com>
24745
24746 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24747 * elf/dl-fini.c (_dl_fini): Adjust caller.
24748 * elf/dl-close.c (_dl_close_worker): Likewise.
24749 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24750
b902330c
MP
247512011-07-15 Marek Polacek <mpolacek@redhat.com>
24752
8991e135
MP
24753 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24754 "aux_cache->nlibs < 0".
24755
b902330c
MP
24756 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24757 in the reload-count case.
24758
99710781
LD
247592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24760
24761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24762 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24763 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24764 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24765 * sysdeps/x86_64/multiarch/strcat.S: New file.
24766 * sysdeps/x86_64/multiarch/strncat.S: New file.
24767 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24768 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24769 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24770 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24771 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24772 (USE_AS_STRCAT): Define.
24773 Add strcat and strncat support.
24774 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24775 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24776 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24777 * string/strncat.c: Update.
24778 (USE_AS_STRNCAT): Define.
24779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24780 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24781 and i7.
24782 * sysdeps/x86_64/multiarch/init-arch.h
24783 (bit_Prefer_PMINUB_for_stringop): New.
24784 (index_Prefer_PMINUB_for_stringop): Likewise.
24785 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24786 bit_Prefer_PMINUB_for_stringop.
24787
7dc6bd90
UD
247882011-07-19 Ulrich Drepper <drepper@gmail.com>
24789
24790 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24791 buffer64.
24792 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24793 of casting of buffer.
24794 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24795 buffer32 and buffer64.
24796 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24797 writes instead of casting of buffer.
24798 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24799 buffer32.
24800 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24801 casting of buffer.
24802
e0e72284
AS
248032011-07-19 Andreas Schwab <schwab@redhat.com>
24804
24805 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24806
feb1eb0b
UD
248072011-07-19 Ulrich Drepper <drepper@gmail.com>
24808
24809 * nscd/nscd.c (termination_handler): Don't do anything for a database
24810 if it has not yet been initialized.
24811
298711ff
UD
248122011-07-18 Ulrich Drepper <drepper@gmail.com>
24813
24814 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24815
248162011-07-15 Marek Polacek <mpolacek@redhat.com>
24817
24818 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24819
f9d68389
UD
248202011-07-18 Ulrich Drepper <drepper@gmail.com>
24821
24822 * po/nl.po: Update from translation team.
24823 * po/sv.po: Likewise.
24824
db290cf5
RM
248252011-07-16 Roland McGrath <roland@hack.frob.com>
24826
24827 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24828 now disallowed by GCC.
5c550700 24829
fd5e21c7
RM
24830 * configure.in (use-default-link): Default to yes if a test -shared
24831 link meets our qualifications.
24832 * configure: Regenerated.
24833
5c550700
RM
24834 * config.make.in (output-format): New variable.
24835 * configure.in: Check for ld --print-output-format support.
24836 * configure: Regenerated.
24837 * Makerules ($(common-objpfx)format.lds)
24838 [$(output-format) != unknown]: Just use $(output-format),
24839 instead of the linker-script munging.
24840
9fa2c032
RM
248412011-07-14 Roland McGrath <roland@hack.frob.com>
24842
a6928d51
RM
24843 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24844 of $(common-objpfx)shlib.lds.
24845 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24846
661607b3
RM
24847 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24848 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24849
9fa2c032
RM
24850 * configure.in (-z relro check): Adjust test code to add a large
24851 writable data section after it.
24852 * configure: Regenerated.
24853
defe9061
RM
248542011-07-11 Roland McGrath <roland@hack.frob.com>
24855
24856 * configure.in (-z relro check): Fix test code to make the variable
24857 truly const.
24858 * configure: Regenerated.
24859
319b9ad4
UD
248602011-07-11 Ulrich Drepper <drepper@gmail.com>
24861
24862 * nscd/nscd.h (struct traced_file): Define.
24863 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24864 elements. Add traced_files.
24865 (inotify_fd): Declare.
24866 (register_traced_file): Declare.
24867 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24868 (inotify_fd): Export.
24869 (resolv_conf_descr): Remove.
24870 (nscd_init): Move inotify descriptor creation to main.
24871 Don't register files for notification here.
24872 (register_traced_file): New function.
24873 (invalidate_cache): Don't use reset_res to determine whether to call
24874 res_init, go through the list of registered files.
24875 (main_loop_poll): The inotify descriptors are now stored in the
24876 structures for the traced files.
24877 (main_loop_epoll): Likewise
24878 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24879 to __nss_disable_nscd.
24880 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24881 for a database anymore. Check the records for all the registered
24882 files instead.
24883 * nss/Makefile (libnss_files-routines): Add files-init.
24884 (libnss_db-routines): Add db-init.
24885 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24886 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24887 * nss/nss_db/db-init.c: New file.
24888 * nss/nss_files/files-init.c: New file.
24889 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24890 __nss_lookup_function.
24891 (__nss_lookup_function): Call nss_load_library.
24892 (nss_load_all_libraries): New function.
24893 (__nss_disable_nscd): Take parameter with callback function for files
24894 to register. Set is_nscd. Load all the DSOs for the NSS modules
24895 used for the cached services.
24896 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24897 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24898 options for features to all the files in nscd.
24899
24900 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24901
23bee3e8
RM
249022011-07-10 Roland McGrath <roland@hack.frob.com>
24903
24904 * csu/elf-init.c (__libc_csu_init): Comment typo.
24905
46a5b7f0
UD
249062011-07-09 Ulrich Drepper <drepper@gmail.com>
24907
24908 * po/pl.po: Update from translation team.
24909 * po/ja.po: Likewise.
24910 * po/ru.po: Likewise.
24911 * po/ko.po: Likewise.
24912 * po/fr.po: Likewise.
24913
d30cf5bb
RM
249142011-07-09 Roland McGrath <roland@hack.frob.com>
24915
113ddea4
RM
24916 * configure.in (.ctors/.dtors header and trailer check):
24917 Use an empirical test on a built program.
24918 * configure: Regenerated.
24919
574920b4
RM
24920 * configure.in (-z relro check): Use an empirical test on a built DSO.
24921 Detect, but do not require, on ia64.
24922 * configure: Regenerated.
24923
d30cf5bb
RM
24924 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24925 Update tests that use readelf to use $READELF instead.
24926 * configure: Regenerated.
24927
8538fdb3
UD
249282011-07-08 Ulrich Drepper <drepper@gmail.com>
24929
24930 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24931 if the result is not used.
24932
04d08991
AJ
249332011-07-05 Andreas Jaeger <aj@suse.de>
24934
24935 [BZ#9696]
24936 * stdlib/tst-strtod.c: Add testcase.
24937
de283087
AD
249382011-07-07 Ulrich Drepper <drepper@gmail.com>
24939
4e5f31c8 24940 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24941 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24942 The latter has a higher limit. Take additional parameter to pass to
24943 the new function.
24944 (__pathconf): Pass file to __statfs_link_max.
24945 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24946 __statfs_link_max.
24947 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24948 __statfs_link_max.
24949
de283087
AD
24950 [BZ #12868]
24951 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24952 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24953 Handle Lustre.
24954 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24955 (__statfs_filesize_max): Likewise.
24956 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24957
c75fa153
AJ
249582011-07-05 Andreas Jaeger <aj@suse.de>
24959
24960 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24961
1a544854
UD
249622011-07-06 Marek Polacek <mpolacek@redhat.com>
24963
24964 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24965 `status' variable.
24966 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24967 Likewise.
24968
6f0eec67
UD
249692011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24970
24971 * Makefile (strop-tests): Add strncat.
24972 * string/test-strncat.c: New file.
24973
aae30307
UD
249742011-06-30 Marek Polacek <mpolacek@redhat.com>
24975
24976 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24977
c0cfb5eb
UD
249782011-06-21 Andreas Jaeger <aj@suse.de>
24979
24980 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24981 Copy rule from iconvdata/Makefile.
24982
01636b21
UD
249832011-07-06 Ulrich Drepper <drepper@gmail.com>
24984
24985 [BZ #12922]
24986 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24987 but no long options are defined, just return 'W'.
24988
9895c8bc
UD
249892011-06-22 Marek Polacek <mpolacek@redhat.com>
24990
24991 [BZ #9696]
24992 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24993
5d4cf042
UD
249942011-07-06 Ulrich Drepper <drepper@gmail.com>
24995
24996 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24997 netgroups to read.
960e5535 24998 (innetgr): Likewise.
5d4cf042 24999
751eb97e
RM
250002011-07-05 Roland McGrath <roland@hack.frob.com>
25001
25002 * config.make.in (install_root): Default to $(DESTDIR).
25003
f15f1e45
UD
250042011-07-05 Ulrich Drepper <drepper@gmail.com>
25005
25006 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25007
4e34ac6a
RM
250082011-07-02 Roland McGrath <roland@hack.frob.com>
25009
5e9b6af4
RM
25010 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25011
84f9ea0f
RM
25012 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25013 containing directory rather than embedding absolute directory names.
25014
ea5ee9f7
RM
25015 * scripts/check-local-headers.sh: Rewritten using awk.
25016 Match by word, not by line. Print error messages for matches.
25017 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25018
1b74661a
RM
25019 * Makerules [shlib-lds-flags empty]:
25020 ($(common-objpfx)libc_pic.opts): New target.
25021 ($(common-objpfx)libc_pic.os.clean): New target.
25022 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25023
25024 * config.make.in (OBJCOPY): New variable.
25025 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25026 * configure: Regenerated.
25027
f781ef40
RM
25028 * config.make.in (use-default-link): New variable.
25029 * configure.in (use_default_link): Grok --with-default-link to set it.
25030 * configure: Regenerated.
25031 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25032 (shlib-lds, shlib-lds-flags): Define to empty.
25033
2d4fa81e
RM
25034 * Makerules (shlib-lds): New variable.
25035 (shlib-lds-flags): New variable.
25036 (build-shlib, build-moduile, build-module-asneeded): Use it.
25037 ($(common-objpfx)libc.so): Use $(shlib-lds).
25038 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25039 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25040
31fffa6b
RM
25041 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25042 DT_FLAGS/DT_FLAGS_1 with zero flags.
25043
4e34ac6a
RM
25044 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25045 linker script munging.
25046
fcfc776b
UD
250472011-07-02 Ulrich Drepper <drepper@gmail.com>
25048
25049 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25050 as 128-bit value.
25051 * crypt/sha512.c (sha512_process_block): Perform total addition using
25052 128-bit if possible.
25053 (__sha512_finish_ctx): Likewise.
25054 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25055 as 64-bit value.
25056 * crypt/sha256.c (SWAP64): Define.
25057 (sha256_process_block): Perform total addition using 64-bit if
25058 possible.
25059 (__sha256_finish_ctx): Likewise.
25060
99231d9a
UD
250612011-07-01 Ulrich Drepper <drepper@gmail.com>
25062
25063 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25064 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25065 * nscd/hstcache.c (cache_addhst): Likewise.
25066 * nscd/grpcache.c (cache_addgr): Likewise.
25067 * nscd/aicache.c (addhstaiX): Likewise
25068 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25069
445b4a53
TK
250702011-07-01 Thorsten Kukuk <kukuk@suse.de>
25071
25072 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25073 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25074 * nscd/hstcache.c (cache_addhst): Likewise.
25075 * nscd/grpcache.c (cache_addgr): Likewise.
25076 * nscd/aicache.c (addhstaiX): Likewise
25077
6d4d8e8e
AS
250782011-07-01 Andreas Schwab <schwab@redhat.com>
25079
25080 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25081 domain only when needed.
25082
89f654c5
AS
250832011-06-30 Andreas Schwab <schwab@redhat.com>
25084
25085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25086 is always restored.
25087
cf3b23ff
UD
250882011-06-29 Ulrich Drepper <drepper@gmail.com>
25089
25090 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25091 are re-adding the entry.
25092 * nscd/servicescache.c (cache_addserv): Likewise.
25093
751626f9
AJ
250942011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25095
25096 * sysdeps/generic/dl-irel.h: fix protection against multiple
25097 inclusions.
25098 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25099
9113ea1f
UD
251002011-06-28 Ulrich Drepper <drepper@gmail.com>
25101
5c0b8d90
UD
25102 [BZ #12935]
25103 * malloc/memusage.sh: Fix quoting in message.
25104 * debug/xtrace.sh: Likewise.
25105
9113ea1f
UD
25106 * configure.in: Remove support for --experimental-malloc option, make
25107 it the default.
25108 * config.make.in: Likewise.
25109 * malloc/Makefile: Likewise.
25110
a4172181
AS
251112011-06-27 Andreas Schwab <schwab@redhat.com>
25112
25113 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25114 two-byte characters.
25115
78a7eee7
RM
251162011-06-27 Roland McGrath <roland@hack.frob.com>
25117
62bede13
RM
25118 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25119 AC_CACHE_CHECK invocation.
25120 * configure: Regenerated.
25121
78a7eee7
RM
25122 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25123
5ce33a62
UD
251242011-06-27 Ulrich Drepper <drepper@gmail.com>
25125
034807a9
UD
25126 [BZ #12350]
25127 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25128 bit from old_res_options.
25129
4902da17
UD
25130 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25131
5ce33a62
UD
25132 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25133 value type for setfct.
25134
c2344f56
L
251352011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25136
25137 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25138 __gettimeofday instead of gettimeofday.
25139
68468076
UD
251402011-06-26 Ulrich Drepper <drepper@gmail.com>
25141
25142 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25143
acb0d739
L
251442011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25145
25146 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25147
25148 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25149 info.
25150
8912479f
L
251512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25152
25153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25154 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25155 strcpy-sse2-unaligned strncpy-sse2-unaligned
25156 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25157 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25158 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25159 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25160 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25161 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25162 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25163 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25164 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25165 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25166 (STRCPY): Support SSE2 and SSSE3 versions.
25167
d5495a11
UD
251682011-06-24 Ulrich Drepper <drepper@gmail.com>
25169
25170 [BZ #12874]
25171 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25172 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25173 kernels which artificially limit size of requests.
25174
0b1cbaae
L
251752011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25176
25177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25178 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25179 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25180 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25181 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25182 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25183 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25184 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25185 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25186 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25187 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25188 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25189 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25190 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25191 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25193 Enable unaligned load optimization for Intel Core i3, i5 and i7
25194 processors.
25195 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25196 Define.
25197 (index_Fast_Unaligned_Load): Define.
25198 (HAS_FAST_UNALIGNED_LOAD): Define.
25199
07f494a0
MP
252002011-06-23 Marek Polacek <mpolacek@redhat.com>
25201
25202 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25203
fa3fc0fe
UD
252042011-06-22 Ulrich Drepper <drepper@gmail.com>
25205
25206 [BZ #12907]
25207 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25208 until it is clear that the information is realy needed.
25209 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25210
e12df166
AS
252112011-06-22 Andreas Schwab <schwab@redhat.com>
25212
25213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25214
852eb34d
UD
252152011-06-22 Ulrich Drepper <drepper@gmail.com>
25216
84e2a551
UD
25217 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25218 /sys/devices/system/cpu/online if it is usable.
25219
852eb34d
UD
25220 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25221 reading the information from the /proc filesystem to once a second.
25222
6e502e19
UD
252232011-06-21 Andreas Jaeger <aj@suse.de>
25224
25225 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25226 NULL after inclusion of kernel headers.
25227
75d39ff2
UD
252282011-06-21 Ulrich Drepper <drepper@gmail.com>
25229
51f9aa6a
UD
25230 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25231 calls to internal_setent.
25232
c0244a9d
UD
25233 [BZ #12885]
25234 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25235 addresses using gethostbyname4_r ignore IPv4 addresses.
25236
c5e3c2ae
UD
25237 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25238 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25239
75d39ff2
UD
25240 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25241
42675c6f
DM
252422011-06-20 David S. Miller <davem@davemloft.net>
25243
25244 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25245 inclusions.
25246 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25247
25248 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25249 (elf_irel): Use it.
25250 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25251 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25252 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25253 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25254 * sysdeps/x86_64/dl-irel.h: Likewise.
25255
25256 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25257 * elf/dl-sym.c: Likewise.
25258
57912a71
UD
252592011-06-15 Ulrich Drepper <drepper@gmail.com>
25260
25261 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25262 need to dereference resplen2.
25263
ee22793d
AS
252642011-06-14 Andreas Schwab <schwab@redhat.com>
25265
25266 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25267
a9e836b0
UD
252682011-06-15 Ulrich Drepper <drepper@gmail.com>
25269
77fb9117
UD
25270 * Makeconfig: Define vardbdir and inst_vardbdir.
25271 * nss/Makefile: Add rules to install db-Makefile.
25272
40c1b22c
UD
25273 * nss/nss_db/db-XXX.c: Cleanup.
25274
9f2da732
UD
25275 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25276 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25277 GLIBC_PRIVATE.
25278 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25279 * nss/makedb.c: Implement -g option to specify that value strings
25280 are generated and should not be added to table iterated over for
25281 get*ent calls.
25282 * nss/nss_db/db-initgroups.c: New file.
25283
82e9a1f7
UD
25284 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25285 interface.
25286
c41af17e
UD
25287 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25288 (internal_getgrouplist): Adjust to name change.
25289 Update use_initgroups_entry if this is not the first call.
25290 * nss/databases.def: Add initgroups entry.
25291
a9e836b0
UD
25292 * nss/makedb.c (compute_tables): Check result of multiple hash table
25293 sizes to minimize maximum chain length.
25294
2666d441
UD
252952011-06-14 Ulrich Drepper <drepper@gmail.com>
25296
25297 * Versions.def: Add entry for libnss_db.
25298 * shlib-versions: Likewise.
25299 * nss/Makefile: Add rules to build libnss_db.
25300 * nss/Versions: Add libnss_db information. Organize libnss_files
25301 entries better.
25302 * nss/db-Makefile: Add gshadow support. Change rules for the new
25303 makedb progra. Some minor improvements to generate smaller files.
25304 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25305 here from...
25306 * nss/makedb.c: ...here.
25307 Improve database format to be smaller and require less memory at
25308 runtime.
25309 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25310 db anymore.
25311 * nss/nss_db/db-netgrp.c: Likewise.
25312 * nss/nss_db/db-open.c: Likewise.
25313 * nss/nss_files/flies-XXX.x: Adjust comments.
25314 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25315 * nss/nss_files/files-grp.c: Likewise.
25316 * nss/nss_files/files-hosts.c: Likewise.
25317 * nss/nss_files/files-network.c: Likewise.
25318 * nss/nss_files/files-proto.c: Likewise.
25319 * nss/nss_files/files-pwd.c: Likewise.
25320 * nss/nss_files/files-rpc.c: Likewise.
25321 * nss/nss_files/files-service.c: Likewise.
25322 * nss/nss_files/files-sgrp.c: Likewise.
25323 * nss/nss_files/files-spwd.c: Likewise.
25324 * nss/nss_db/db-alias.c: Removed.
25325 * nss/nss_db/dummy-db.h: Removed.
25326
9ee76b5a
UD
253272011-06-02 Ulrich Drepper <drepper@gmail.com>
25328
25329 * nss/makedb.c: Rewritten to not use database library.
25330 * nss/Makefile: Update to build new makedb program.
25331
c71ca1f8
AJ
253322011-06-14 Andreas Jaeger <aj@suse.de>
25333
25334 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25335 memset declaration.
25336
3154bfb8
UD
253372011-06-10 Andreas Schwab <schwab@redhat.com>
25338
25339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25340 tmpbuf.
25341
b350afab
RM
253422011-06-10 Roland McGrath <roland@hack.frob.com>
25343
decd4e50
RM
25344 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25345 * elf/Makefile ($(objpfx)ld.so): Likewise.
25346
5615eaf2
RM
25347 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25348 Don't list ld.so twice in dependencies.
25349
25350 * posix/bug-regex31.c: Include <stdlib.h>.
25351
25352 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25353
25354 * nis/nss_compat/compat-spwd.c
25355 (getspent_next_nss_netgr): Remove unused variable.
25356 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25357
25358 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25359 nonmembers" output to use the right array.
25360
25361 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25362
25363 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25364
25365 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25366 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25367 * catgets/gencat.c (read_input_file): Likewise.
25368 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25369
25370 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25371 variable definition inside #if's controlling its use.
25372
25373 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25374
25375 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25376
25377 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25378
25379 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25380 unreachable code.
25381
25382 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25383
b68e08db
RM
25384 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25385 * configure: Regenerated.
25386
b350afab
RM
25387 * Makerules: Revert last change.
25388 * elf/Makefile: Likewise.
25389
28368601
RM
253902011-06-09 Roland McGrath <roland@hack.frob.com>
25391
25392 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25393 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25394 (reloc-link): Likewise.
25395
11988f8f
UD
253962011-06-09 Ulrich Drepper <drepper@gmail.com>
25397
25398 * elf/Makefile: Add rules to build pldd.
25399 * elf/pldd.c: New file.
25400 * elf/pldd-xx.c: New file.
25401
e80fab37
UD
254022011-06-07 Ulrich Drepper <drepper@gmail.com>
25403
25404 * version.h: Update for 2.15 development version.
25405
9b849836
DM
254062011-06-07 David S. Miller <davem@davemloft.net>
25407
25408 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25409 ifuncs.
25410 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25411 elf_machine_lazy_rel): Likewise.
25412 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25414 elf_machine_lazy_rel): Likewise.
25415 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25416 dl_hwcap via passed in argument.
25417 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25418 Likewise.
25419
5a31b283
AK
254202011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25421
25422 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25423
069e52f8
RM
254242011-06-06 Roland McGrath <roland@hack.frob.com>
25425
25426 [BZ #12849]
25427 * manual/fdl-1.1.texi: New file, verbatim from:
25428 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25429 * manual/lgpl-2.1.texi: New file, verbatim from:
25430 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25431 * manual/Makefile (licenses): New variable, list those new file names.
25432 (texis): Use it.
25433 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25434
25435 * manual/fdl.texi: File removed.
25436 * manual/lesser.texi: File removed.
25437 * manual/libc.texinfo (Copying, Documentation License):
25438 Use new @include file names, put @appendix directive before @include.
25439
f16846a5
JJ
254402011-06-04 Jakub Jelinek <jakub@redhat.com>
25441
25442 [BZ #12841]
25443 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25444 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25445 (mq_open): Add __NTH.
25446
3d29045b
L
254472011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25448
25449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25450 Assume Intel Core i3/i5/i7 processor if AVX is available.
25451
8c297311
UD
254522011-05-31 Ulrich Drepper <drepper@gmail.com>
25453
25454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25455 typo.
25456
c8fc0c91
UD
254572011-05-31 Andreas Schwab <schwab@redhat.com>
25458
25459 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25460 memory. Use alloca_account. Fix memory leak when retrying.
25461
5b27a807
UD
254622011-05-31 Ulrich Drepper <drepper@gmail.com>
25463
356f8bc6
UD
25464 * version.h (RELEASE): Bump for 2.14 release.
25465 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25466
5b27a807
UD
25467 * config.make.in (RANLIB): Remove entry.
25468
01f16ab0
UD
254692011-05-30 Ulrich Drepper <drepper@gmail.com>
25470
41fce8bd
UD
25471 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25472 (libc.pot): Work around missing support for .ksh extension in xgettext.
25473
4769ae77
UD
25474 [BZ #12684]
25475 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25476 if both request failed.
25477 (send_dg): In case of server errors clear resplen or *resplen2.
25478
6b1e7d19
UD
25479 [BZ #12454]
25480 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25481 when there are multiple maps.
25482 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25483 (_dl_fini): Remove test here.
25484
01f16ab0
UD
25485 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25486
b1ebd700
UD
254872011-05-29 Ulrich Drepper <drepper@gmail.com>
25488
7ae22829
UD
25489 [BZ #12350]
25490 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25491 bit from old_res_options.
25492 (gaih_inet): Likewise.
25493
553149f6 25494 [BZ #11099]
18a84741 25495 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25496 as signed.
25497
652ffab1
UD
25498 * resolv/res_init.c (res_setoptions): Make the code more compact.
25499
16985fd0
UD
25500 [BZ #11558]
25501 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25502 set RES_USEVC.
25503
0464f746
UD
25504 [BZ #11634]
25505 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25506
7d17596c
UD
25507 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25508
cf6bbbd7
UD
25509 [BZ #11781]
25510 * malloc/malloc.h: Declare malloc hook variables as volatile.
25511
13f1ab36
UD
25512 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25513 in last patch.
25514
b1ebd700
UD
25515 [BZ #11799]
25516 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25517 raise in the comment.
80e2212d
UD
25518 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25519 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25520 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25521
ce67228d
UD
255222011-05-28 Ulrich Drepper <drepper@gmail.com>
25523
8887a920
UD
25524 [BZ #12811]
25525 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25526 grow the buffers more if it already has to be sufficient.
25527 (build_wcs_upper_buffer): Likewise.
25528 * posix/regexec.c (check_matching): Likewise.
25529 (clean_state_log_if_needed): Likewise.
25530 (extend_buffers): Don't enlarge buffers beyond size of the input
25531 buffer.
25532 Patches mostly by Emil Wojak <emil@wojak.eu>.
25533 * posix/bug-regex32.c: New file.
25534 * posix/Makefile (tests): Add bug-regex32.
25535
4f031072
UD
25536 * locale/findlocale.c (_nl_find_locale): Return right away if
25537 _nl_explode_name failed.
25538 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25539
d0478f0c
UD
25540 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25541
de81b246
UD
25542 * debug/xtrace.sh: Unify messages.
25543 * malloc/memusage.sh: Likewise.
25544
c738465a
UD
25545 [BZ #12813]
25546 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25547 time symbol from vDSO. Substitute with vsyscall if not available.
25548 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25549 __vdso_time.
25550
f1f929d7
UD
25551 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25552 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25553 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25554 Add sendmmsg and internal_sendmmsg.
25555 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25556 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25557 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25558
ce67228d
UD
25559 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25560 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25561 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25562
e57420c6
UD
255632011-05-27 Ulrich Drepper <drepper@gmail.com>
25564
a8509ca5
UD
25565 [BZ #12813]
25566 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25567 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25568 available.
25569 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25570 __vdso_getcpu.
25571
e57420c6
UD
25572 [BZ #12814]
25573 * iconvdata/Makefile (tests): Add bug-iconv9.
25574 * iconvdata/bug-iconv9.c: New file.
25575
4d07db15
AS
255762011-05-27 Andreas Schwab <schwab@redhat.com>
25577
25578 [BZ #12814]
25579 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25580
ea486f69
JJ
255812011-05-25 Jakub Jelinek <jakub@redhat.com>
25582
25583 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25584 (struct user_regs_struct): Change intcs field back to cs.
25585
6f038433
UD
255862011-05-25 Ulrich Drepper <drepper@gmail.com>
25587
25588 * po/ja.po: Update from translation team.
25589
67f86a25
UD
255902011-05-23 Ulrich Drepper <drepper@gmail.com>
25591
25592 [BZ #12795]
25593 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25594 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25595
def7fbd6
AS
255962011-05-20 Andreas Schwab <schwab@redhat.com>
25597
25598 * stdlib/longlong.h: Update from GCC.
25599
f50ef8f1
AS
256002011-05-23 Andreas Schwab <schwab@redhat.com>
25601
25602 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25603 parameter name.
25604 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25605 Add parameter name.
25606 (__sysconf): Pass it down.
25607
de7ce8f1
UD
256082011-05-22 Ulrich Drepper <drepper@gmail.com>
25609
f2962a71
UD
25610 [BZ #12671]
25611 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25612 some situations.
25613 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25614 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25615 add in in __libc_use_alloca calls. Adjust callers.
25616 (glob): Use malloc in some situations.
25617
de7ce8f1
UD
25618 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25619 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25620 pltexit.
25621
aec84f53
UD
256222011-05-21 Ulrich Drepper <drepper@gmail.com>
25623
05bb4a68
UD
25624 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25625 and CLOCK_BOOTTIME_ALARM.
25626
7ea72f99
UD
25627 [BZ #12782]
25628 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25629 is returned.
25630
7e4afad5
UD
25631 * string/_strerror.c (__strerror_r): Print negative errors as signed
25632 numbers.
25633
8e211fec
UD
25634 [BZ #12777]
25635 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25636 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25637 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25638
f7d82dc9
UD
25639 * configure.in: Fix typo in redirection and correct removal of test
25640 files in two cases.
25641
cc9e536d
UD
25642 [BZ #12788]
25643 * locale/setlocale.c (new_composite_name): Fix test to check for
25644 identical name of all categories.
25645
aec84f53
UD
25646 [BZ #12792]
25647 * libio/filedoalloc.c (local_isatty): New function.
25648 (_IO_file_doallocate): Use local_isatty.
25649 * stdio-common/perror.c (perror): In case a new stream is used
25650 forward the stream error.
25651 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25652 error flag.
25653
78e64fdc
RT
256542011-05-20 Ulrich Drepper <drepper@gmail.com>
25655
34a9094f
UD
25656 [BZ #11869]
25657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25658 alloca.
25659 * include/alloca.h (extend_alloca_account): Define.
25660
78e64fdc
RT
25661 [BZ #11857]
25662 * posix/regex.h: Fix comments with documentation of user-accessible
25663 fields after compilation and describe correct free'ing of pattern
25664 after re_compile_pattern.
25665 Patch by Reuben Thomas <rrt@sc3d.org>.
25666
457bddfc
RA
256672011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25668
25669 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25670 and -mno-altivec to prevent the compiler from using Altivec and/or
25671 VSX instructions when the corresponding registers are not available.
25672
a4527b51
AS
256732011-05-19 Andreas Schwab <schwab@redhat.com>
25674
25675 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25676
ed690b2f
UD
256772011-05-19 Ulrich Drepper <drepper@gmail.com>
25678
25679 * libio/freopen.c (freopen): Use __dup2, not dup2.
25680 * libio/freopen64.c (freopen64): Likewise.
25681
8db73634
L
256822011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25683
25684 [BZ #12775]
25685 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25686 * math/Makefile (tests): Add test-powl.
25687 (CFLAGS-test-powl.c): Define.
25688 * math/test-powl.c: New file.
25689
0a197a9d
L
256902011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25691
25692 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25693
ee30c380
UD
256942011-05-17 Ulrich Drepper <drepper@gmail.com>
25695
25696 [BZ #11837]
25697 * iconvdata/gb18030.c: Update to GB18020-2005.
25698
6ce75379
UD
256992011-05-16 Ulrich Drepper <drepper@gmail.com>
25700
a4b89fd8
AR
25701 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25702 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25703 Patch by Aharon Robbins <arnold@skeeve.com>.
25704
ea389b12
UD
25705 [BZ #11892]
25706 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25707 on the stack.
25708
68a3f91f
UD
25709 [BZ #11895]
25710 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25711 through underflows.
25712
15cc7dd1
UD
25713 [BZ #12766]
25714 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25715 point to strings before performing equality test for error_one_per_line
25716 mode.
25717
f3799213
UD
25718 [BZ #11697]
25719 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25720
d79a9c94
UD
25721 [BZ #11820]
25722 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25723 (struct user_fpregs_struct): Avoid __uint*_t types.
25724
56e5eb46
UD
25725 [BZ #6420]
25726 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25727 symbol info. Use it instead of calling _dl_addr locally.
25728 (lock_and_info): New function.
25729 (tr_freehook): Call lock_and_info and pass symbol info as additional
25730 parameter to tr_where.
25731 (tr_mallochook): Likewise.
25732 (tr_reallochook): Likewise.
25733 (tr_memalignhook): Likewise.
25734
6ce75379
UD
25735 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25736 used and couldn't be at all thread-safe.
25737
f8a3b5bf
UD
257382011-05-15 Ulrich Drepper <drepper@gmail.com>
25739
94b7cc37
UD
25740 * libio/freopen.c (freopen): Don't close old file descriptor
25741 before the new one is opened. Instead dup the new file descriptor
25742 to the old one after the new stream is created.
25743 * libio/freopen64.c (freopen64): Likewise.
25744 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25745 * libio/fileops.c (_IO_new_file_close_it): Handle new
25746 _IO_FLAGS2_NOCLOSE flag.
25747 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25748 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25749 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25750 _IO_FLAGS2_NOCLOSE flag.
25751 * include/unistd.h: Add hidden_proto for dup3.
25752 Define __have_dup3.
25753 * io/dup3.c: Define hidden symbol.
25754 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25755
bd25564e
UD
25756 [BZ #7101]
25757 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25758 when an incomplete long option is used.
25759 * posix/tst-getopt_long1.c: New file.
25760 * posix/Makefile (tests): Add tst-getopt_long1.
25761
c84cfef4
UD
25762 [BZ #10138]
25763 * scripts/config.guess: Update from autoconf-2.68.
25764 * scripts/config.sub: Likewise.
25765
3b85df27
UD
25766 [BZ #10157]
25767 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25768 tests into ...
25769 (has_cpuclock): ...this. New function.
25770 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25771 macro here based on has_cpuclock code.
25772
15a856b1
UD
25773 [BZ #10149]
25774 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25775 First byte (not low byte) is now always NUL.
25776 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25777
05f399e6
UD
25778 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25779 Use non-cancelable interfaces.
25780
10a52685 25781 [BZ #9809]
94ecc67d
UD
25782 * locale/iso-639.def: Add entry for Sorani.
25783
f8a3b5bf
UD
25784 [BZ #11901]
25785 * include/stdlib.h: Move include protection to the right place.
25786 Define abort_msg_s. Declare __abort_msg with it.
25787 * stdlib/abort.c (__abort_msg): Adjust type.
25788 * assert/assert.c (__assert_fail_base): New function. Majority
25789 of code from __assert_fail. Allocate memory for __abort_msg with
25790 mmap.
25791 (__assert_fail): Now call __assert_fail_base.
25792 * assert/assert-perr.c: Remove bulk of implementation. Use
25793 __assert_fail_base.
25794 * include/assert.hL Declare __assert_fail_base.
25795 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25796 mmap.
25797 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25798
1af4e298
UD
257992011-05-14 Ulrich Drepper <drepper@gmail.com>
25800
f8a3b5bf 25801 [BZ #11952]
d26dfc60
MG
25802 [BZ #12453]
25803 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25804 until all modules are registered in the DTV.
25805 * elf/Makefile: Add rules to build and run tst-tls19.
25806 * elf/tst-tls19.c: New file.
25807 * elf/tst-tls19mod1.c: New file.
25808 * elf/tst-tls19mod2.c: New file.
25809 * elf/tst-tls19mod3.c: New file.
25810 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25811
2fc54d6f
UD
25812 [BZ #12083]
25813 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25814 correctly.
25815
98d76b46
UD
25816 [BZ #12601]
25817 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25818 two-byte sequence errors.
25819 * iconvdata/Makefile (tests): Add bug-iconv8.
25820 * iconvdata/bug-iconv8.c: New file.
25821
da3c19ef
UD
25822 [BZ #12626]
25823 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25824 buf2 definition.
25825
ca408c15
UD
25826 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25827
d6f67f7d
UD
25828 [BZ #12432]
25829 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25830 (dummy_getcfa): New function.
25831 (init): Get _Unwind_GetCFA address, use dummy if not found.
25832 (backtrace_helper): In recursion check, also check whether CFA changes.
25833 (__backtrace): Completely initialize arg.
25834
1af4e298 25835 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25836 storing incomplete byte sequence in state object. Avoid testing for
25837 guaranteed too small input if we know there is enough data available.
1af4e298 25838
da62f81b
AS
258392011-05-11 Andreas Schwab <schwab@redhat.com>
25840
25841 * Makeconfig (+link-pie): Indent.
25842 * Rules (binaries-pie): Define if $(have-fpie) and
25843 $(build-shared).
25844 (binaries-shared): Also filter out $(binaries-pie).
25845 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25846 * nscd/Makefile (others-pie): Add nscd.
25847 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25848 ($(objpfx)nscd): Remove command override.
25849 * login/Makefile (others-pie): Add pt_chown.
25850 ($(objpfx)pt_chown): Remove command override.
25851 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25852 remove command overrides.
25853
fcabc0f8
UD
258542011-05-13 Ulrich Drepper <drepper@gmail.com>
25855
20030ae6
UD
25856 * libio/tst_putwc.c: Fix error messages.
25857
fcabc0f8
UD
25858 [BZ #12724]
25859 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25860 currently writing and seek to current position when not.
25861 * libio/Makefile (tests): Add bug-fclose1.
25862 * libio/bug-fclose1.c: New file.
25863
320a5dc0
PB
258642011-05-12 Ulrich Drepper <drepper@gmail.com>
25865
25866 [BZ #12511]
25867 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25868 don't set DF_1_NODELETE here.
25869 (do_lookup_x): When entering new entry test for copy relocation
25870 and if necessary set DF_1_NODELETE flag.
25871 * elf/tst-unique4.cc: New file.
25872 * elf/tst-unique4.h: New file.
25873 * elf/tst-unique4lib.cc: New file.
25874 * elf/Makefile: Add rules to build and run tst-unique4.
25875 Patch by Piotr Bury <pbury@goahead.com>.
25876
22836f52
UD
258772011-05-11 Ulrich Drepper <drepper@gmail.com>
25878
f574184a
UD
25879 [BZ #12052]
25880 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25881
e1fb097f
UD
25882 [BZ #12625]
25883 * misc/mntent_r.c (addmntent): Flush the stream after the output
25884
22836f52
UD
25885 [BZ #12393]
25886 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25887 (is_trusted_path_normalize): Skip initial colon. Append slash
25888 to empty buffer. Duplicate is_trusted_path code but allow
25889 constructed patch to be prefix.
25890 (is_dst): Allow $ORIGIN followed by /.
25891 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25892 Correct testing of result of is_trusted_path_normalize
25893 (decompose_rpath): Fix warning.
25894
7b3b0b2a
UD
258952011-05-10 Ulrich Drepper <drepper@gmail.com>
25896
25897 [BZ #11257]
25898 * grp/initgroups.c (internal_getgrouplist): When we found the service
25899 list through the initgroups entry in nsswitch.conf do not always
25900 continue on a successful lookup. Don't always use the
eac80ce2 25901 __nss_group_database value if it is set.
7b3b0b2a
UD
25902 * nss/nsswitch.conf (initgroups): Change action for successful db
25903 lookup to continue for compatibility.
25904
2a81eaa5
UD
259052011-05-09 Ulrich Drepper <drepper@gmail.com>
25906
be97a69e
UD
25907 [BZ #11532]
25908 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25909 and CP774 modules.
25910 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25911 and CP774 modules.
25912 * iconvdata/tst-tables.sh: Likewise.
25913 * iconvdata/cp770.c: New file.
25914 * iconvdata/cp771.c: New file.
25915 * iconvdata/cp772.c: New file.
25916 * iconvdata/cp773.c: New file.
25917 * iconvdata/cp774.c: New file.
25918 * iconvdata/testdata/CP770: New file.
25919 * iconvdata/testdata/CP770..UTF8: New file.
25920 * iconvdata/testdata/CP771: New file.
25921 * iconvdata/testdata/CP771..UTF8: New file.
25922 * iconvdata/testdata/CP772: New file.
25923 * iconvdata/testdata/CP772..UTF8: New file.
25924 * iconvdata/testdata/CP773: New file.
25925 * iconvdata/testdata/CP773..UTF8: New file.
25926 * iconvdata/testdata/CP774: New file.
25927 * iconvdata/testdata/CP774..UTF8: New file.
25928
25929 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25930 END CHARMAP line.
25931 * iconvdata/gen-8bit-gap.sh: Likewise.
25932 * iconvdata/gen-8bit.sh: Likewise.
25933
c1e9e399
UD
25934 * locale/iso-639.def: Add ary entry.
25935
24c55fb3 25936 [BZ #11258]
96b4b1b0
UD
25937 * locale/C-translit.h.in: Add U20A1 transliteration.
25938
bdc2f971
KB
25939 [BZ #12178]
25940 * locale/iso-639.def: Add wae entry.
25941 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25942
2952b117
UD
25943 [BZ #12545]
25944 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25945 for n.
25946
2a81eaa5
UD
25947 [BZ #12711]
25948 * locale/C-translit.h.in: Add entry for U20B9.
25949 Patch by pravin.d.s@gmail.com.
25950
28377d1b
UD
259512011-05-08 Ulrich Drepper <drepper@gmail.com>
25952
7fb90fb8
UD
25953 [BZ #12713]
25954 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25955 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25956 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25957 in rtld. Use *stat64.
7fb90fb8 25958 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25959 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25960 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25961 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25962 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25963 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25964 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25965 __fstatat64 macros.
7fb90fb8
UD
25966 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25967 * dirent/rewinddir.c: Add libc_hidden_def.
25968 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25969 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25970
28377d1b
UD
25971 * include/dirent.h (__alloc_dir): Add flags parameter.
25972 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25973 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25974 __alloc_dir.
25975 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25976 from fdopendir if O_CLOEXEC is already set.
25977
66bdbaa4
AM
259782011-03-15 Alan Modra <amodra@gmail.com>
25979
25980 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25981 l_tls_firstbyte_offset non-zero. Save padding offset in
25982 l_tls_firstbyte_offset for later use.
25983 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25984 freeing static tls block.
25985
95721191
JN
259862011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25987
25988 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25989 where #ifdef was intended. The intent is to prevent ARG_MAX from
25990 being defined by the kernel headers.
25991
f87dfb1f
UD
259922011-05-07 Ulrich Drepper <drepper@gmail.com>
25993
25994 [BZ #12734]
25995 * resolv/resolv.h: Define RES_NOTLDQUERY.
25996 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25997 no-tld-query and set RES_NOTLDQUERY.
25998 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25999 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26000 modern BIND to search name as TLD unless forbidden.
26001
47c3cd7a
UD
260022011-05-07 Petr Baudis <pasky@suse.cz>
26003 Ulrich Drepper <drepper@gmail.com>
26004
26005 [BZ #12393]
26006 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26007 (is_trusted_path): ...to here.
c1e9ea35 26008 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26009 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26010 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26011
8a35c912
PP
260122011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26013
26014 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26015 __BEGIN/__END_DECLS.
26016
acd41f47
UD
260172011-05-06 Ulrich Drepper <drepper@gmail.com>
26018
26019 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26020 NSS_STATUS_NOTFOUND if no record was found.
26021
597df647
AS
260222011-05-05 Andreas Schwab <schwab@redhat.com>
26023
26024 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26025 (headers-not-in-tirpc): Remove rpc/netdb.h
26026 * resolv/netdb.h: Revert last change.
26027
b9af1301
PP
260282011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26029
26030 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26031 circular dependency between libgcc.a and libc.a.
26032
4e34d5f5
AS
260332011-05-05 Andreas Schwab <schwab@redhat.com>
26034
26035 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26036 * nis/Makefile: Don't install rpcsvc/*.
26037 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26038 instead of <rpc/types.h>.
26039 (MAXHOSTNAMELEN): Define.
26040
00ee369c
AS
260412011-05-03 Andreas Schwab <schwab@redhat.com>
26042
26043 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26044
0b592a30
MB
260452011-04-28 Maciej Babinski <mbabinski@google.com>
26046
26047 [BZ #12714]
26048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26049 gethostbyname4_r when IPv6 results are possible.
26050
6e04cbbe
UD
260512011-05-02 Ulrich Drepper <drepper@gmail.com>
26052
26053 [BZ #12723]
26054 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26055 _PC_PIPE_BUF handling.
26056
e4ecafe0
BH
260572011-04-30 Bruno Haible <bruno@clisp.org>
26058
26059 [BZ #12717]
26060 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26061 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26062 to 'int'.
26063 * inet/getnameinfo.c (getnameinfo): Likewise.
26064
125ee683
UD
260652011-04-29 Ulrich Drepper <drepper@gmail.com>
26066
26067 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26068 to groups setting in database lookup.
26069 * nss/nsswitch.conf: Add initgroups entry.
26070
b722481a
EB
260712011-04-22 Ulrich Drepper <drepper@gmail.com>
26072
26073 [BZ #12685]
26074 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26075 mode string.
26076 Patch by Eric Blake <eblake@redhat.com>.
26077
4df46dbd
L
260782011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26079
26080 * sunrpc/Makefile (need-export-routines): Add svc_run.
26081 (routines): Remove svc_run.
26082 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26083 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26084 * sunrpc/svc_run.c (svc_run): Likewise.
26085 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26086
e84142d2
UD
260872011-04-21 Ulrich Drepper <drepper@gmail.com>
26088
26089 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26090 problem in reallocation in last patch.
26091
877175d8
UD
260922011-04-20 Ulrich Drepper <drepper@gmail.com>
26093
26094 * sunrpc/Makefile: Move inclusion of Rules.
26095
ab8eed78
UD
260962011-04-19 Ulrich Drepper <drepper@gmail.com>
26097
26098 * nss/nss_files/files-initgroups.c: New file.
26099 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26100 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26101 _nss_files_initgroups_dyn.
26102
e3d8f584
RS
261032011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26104
26105 * elf/elf.h (R_ARM_IRELATIVE): Define.
26106
af190f45
UD
261072011-04-19 Ulrich Drepper <drepper@gmail.com>
26108
26109 * po/ru.po: Update from translation team.
26110
53cf59ef
UD
261112011-04-17 Ulrich Drepper <drepper@gmail.com>
26112
26113 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26114 dependencies.
26115
4c559bcd
MF
261162011-02-06 Mike Frysinger <vapier@gentoo.org>
26117
26118 [BZ #12653]
26119 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26120 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26121 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26122 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26123 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26124
4420675c
AS
261252011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26126
26127 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26128 differing bytes.
26129 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26130 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26131 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26132
75ea32ab
UD
261332011-04-17 Ulrich Drepper <drepper@gmail.com>
26134
26135 [BZ #12420]
26136 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26137 storing it.
26138 * stdlib/bug-getcontext.c: New file.
26139 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26140
27390476
AK
261412011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26142
26143 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26144 instructions into .machine "z9-109".
26145 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26146 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26147
10442705
AK
261482011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26149
26150 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26151 between environment variables and auxiliary vector.
26152
7b57bfe5
UD
261532011-04-16 Ulrich Drepper <drepper@gmail.com>
26154
26155 * Makefile: Add rules to build linkobj/libc.so.
26156 * include/libc-symbols.h: Define libc_hidden_nolink.
26157 * include/rpc/auth.h: Mark functions which are to be hidden.
26158 * include/rpc/auth_des.h: Likewise.
26159 * include/rpc/auth_unix.h: Likewise.
26160 * include/rpc/clnt.h: Likewise.
26161 * include/rpc/des_crypt.h: Likewise.
26162 * include/rpc/key_prot.h: Likewise.
26163 * include/rpc/pmap_clnt.h: Likewise.
26164 * include/rpc/pmap_prot.h: Likewise.
26165 * include/rpc/pmap_rmt.h: Likewise.
26166 * include/rpc/rpc_msg.h: Likewise.
26167 * include/rpc/svc.h: Likewise.
26168 * include/rpc/svc_auth.h: Likewise.
26169 * include/rpc/xdr.h: Likewise.
26170 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26171 * nss/Makefile: Likewise.
26172 * sunrpc/Makefile: Don't install headers. Build library with normal
26173 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26174 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26175 for the compat linking library. Remove use of INTDEF/INTUSE.
26176 * sunrpc/auth_none.c: Likewise.
26177 * sunrpc/auth_unix.c: Likewise.
26178 * sunrpc/authdes_prot.c: Likewise.
26179 * sunrpc/authuxprot.c: Likewise.
26180 * sunrpc/clnt_gen.c: Likewise.
26181 * sunrpc/clnt_perr.c: Likewise.
26182 * sunrpc/clnt_raw.c: Likewise.
26183 * sunrpc/clnt_simp.c: Likewise.
26184 * sunrpc/clnt_tcp.c: Likewise.
26185 * sunrpc/clnt_udp.c: Likewise.
26186 * sunrpc/clnt_unix.c: Likewise.
26187 * sunrpc/des_crypt.c: Likewise.
26188 * sunrpc/des_soft.c: Likewise.
26189 * sunrpc/get_myaddr.c: Likewise.
26190 * sunrpc/key_call.c: Likewise.
26191 * sunrpc/key_prot.c: Likewise.
26192 * sunrpc/netname.c: Likewise.
26193 * sunrpc/pm_getmaps.c: Likewise.
26194 * sunrpc/pm_getport.c: Likewise.
26195 * sunrpc/pmap_clnt.c: Likewise.
26196 * sunrpc/pmap_prot.c: Likewise.
26197 * sunrpc/pmap_prot2.c: Likewise.
26198 * sunrpc/pmap_rmt.c: Likewise.
26199 * sunrpc/publickey.c: Likewise.
26200 * sunrpc/rpc_cmsg.c: Likewise.
26201 * sunrpc/rpc_common.c: Likewise.
26202 * sunrpc/rpc_dtable.c: Likewise.
26203 * sunrpc/rpc_prot.c: Likewise.
26204 * sunrpc/rpc_thread.c: Likewise.
26205 * sunrpc/rtime.c: Likewise.
26206 * sunrpc/svc.c: Likewise.
26207 * sunrpc/svc_auth.c: Likewise.
26208 * sunrpc/svc_authux.c: Likewise.
26209 * sunrpc/svc_raw.c: Likewise.
26210 * sunrpc/svc_run.c: Likewise.
26211 * sunrpc/svc_simple.c: Likewise.
26212 * sunrpc/svc_tcp.c: Likewise.
26213 * sunrpc/svc_udp.c: Likewise.
26214 * sunrpc/svc_unix.c: Likewise.
26215 * sunrpc/svcauth_des.c: Likewise.
26216 * sunrpc/xcrypt.c: Likewise.
26217 * sunrpc/xdr.c: Likewise.
26218 * sunrpc/xdr_array.c: Likewise.
26219 * sunrpc/xdr_float.c: Likewise.
26220 * sunrpc/xdr_intXX_t.c: Likewise.
26221 * sunrpc/xdr_mem.c: Likewise.
26222 * sunrpc/xdr_rec.c: Likewise.
26223 * sunrpc/xdr_ref.c: Likewise.
26224 * sunrpc/xdr_sizeof.c: Likewise.
26225 * sunrpc/xdr_stdio.c: Likewise.
26226
e6c61494
UD
262272011-04-10 Ulrich Drepper <drepper@gmail.com>
26228
26229 [BZ #12650]
26230 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26231 * sysdeps/ia64/dl-tls.h: Likewise.
26232 * sysdeps/powerpc/dl-tls.h: Likewise.
26233 * sysdeps/s390/dl-tls.h: Likewise.
26234 * sysdeps/sh/dl-tls.h: Likewise.
26235 * sysdeps/sparc/dl-tls.h: Likewise.
26236 * sysdeps/x86_64/dl-tls.h: Likewise.
26237 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26238
34fe483e
AS
262392011-03-14 Andreas Schwab <schwab@redhat.com>
26240
26241 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26242 rpath element also skip the following colon.
26243 (expand_dynamic_string_token): Add is_path parameter and pass
26244 down to DL_DST_REQUIRED and _dl_dst_substitute.
26245 (decompose_rpath): Call expand_dynamic_string_token with
26246 non-zero is_path. Ignore empty rpaths.
26247 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26248 with zero is_path.
26249
f12a32e6
AS
262502011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26251
26252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26253 Make cancelable.
26254
38a7d692
UD
262552011-04-09 Ulrich Drepper <drepper@gmail.com>
26256
26257 [BZ #12655]
26258 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26259 Patch by Filipe David Manana <fdmanana@apache.org>.
26260
e451d22b
AS
262612011-04-07 Andreas Schwab <schwab@redhat.com>
26262
26263 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26264 Maintain aligned stack.
26265 (CHECK_RSP): Remove unused macro.
26266
dedc7c7b
UD
262672011-04-03 Ulrich Drepper <drepper@gmail.com>
26268
26269 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26270 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26271
94521213
UD
262722011-04-02 Ulrich Drepper <drepper@gmail.com>
26273
26274 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26275
8cb700c0 26276 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26277
0354e355
L
262782011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26279
26280 [BZ #12518]
26281 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26282 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26283 * sysdeps/x86_64/memmove.c: New file.
26284 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26285 (memcpy): Renamed to ...
26286 (__new_memcpy): This.
26287 (memcpy): Provide GLIBC_2_14 memcpy.
26288 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26289 (memcpy): Provide GLIBC_2_2_5 memcpy.
26290
8593482f
UD
262912011-04-01 Ulrich Drepper <drepper@gmail.com>
26292
26293 [BZ #12631]
26294 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26295
81a5726b
AS
262962011-03-30 Andreas Schwab <schwab@redhat.com>
26297
26298 * misc/syncfs.c: New file.
26299 * misc/Makefile (routines): Add syncfs.
26300 * posix/unistd.h: Declare syncfs.
26301 * sysdeps/unix/syscalls.list: Add syncfs.
26302
00e5419f
AS
263032011-04-01 Andreas Schwab <schwab@redhat.com>
26304
26305 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26306 open_by_handle_at.
26307 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26308 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26310 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26312 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26313 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26314
748876bf
UD
263152011-04-01 Ulrich Drepper <drepper@gmail.com>
26316
658e451d
UD
26317 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26318 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26319 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26320 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26321 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26322 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26323 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26324
748876bf
UD
26325 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26326 sync_file_range.c with -fexceptions.
26327 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26328 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26329 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26330 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26331 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26332 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26333 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26334 sync_file_range as cancellation point
26335 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26336 now a wrapper around __call_sync_file_range with cancellation handling.
26337 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26338 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26339 function name to __call_sync_file_range.
26340 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26341 Add call_sync_file_range.
748876bf 26342
6e63d5e1
AS
263432011-04-01 Andreas Schwab <schwab@redhat.com>
26344
26345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26346 bits/timex.h.
6e63d5e1 26347
46998f74
UD
263482011-04-01 Ulrich Drepper <drepper@gmail.com>
26349
4c1423ed
UD
26350 * iconv/iconv.h: Fix typo in comment.
26351 * io/fcntl.h: Likewise.
26352 * libio/stdio.h: Likewise.
26353 * posix/spawn.h: Likewise.
26354 * posix/unistd.h: Likewise.
26355 * stdlib/stdlib.h: Likewise.
26356 * time/time.h: Likewise.
26357 * wcsmbs/wchar.h: Likewise.
26358
158648c0
UD
26359 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26360 open_by_handle): Add.
26361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26362 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26363 Augment a few comments.
26364 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26366 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26367 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26368 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26369 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26370 open_by_handle.
26371
46998f74
UD
26372 * io/fcntl.h (AT_EMPTY_PATH): Define.
26373
83fe108b
UD
263742011-03-30 Ulrich Drepper <drepper@gmail.com>
26375
26376 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26377 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26378 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26379 to...
26380 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26381 * Versions.def: Add GLIBC_2.14.
26382 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26383 Export.
83fe108b 26384
bb242059
UD
263852011-03-22 Ulrich Drepper <drepper@gmail.com>
26386
26387 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26388 round counter.
26389 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26390
c97a1282
L
263912011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26392
26393 [BZ #12597]
26394 * string/test-strncmp.c (do_page_test): New function.
26395 (check2): Likewise.
26396 (test_main): Call check2.
26397 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26398
2a115601
UD
263992011-03-20 Ulrich Drepper <drepper@gmail.com>
26400
26401 [BZ #12587]
26402 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26403 Handle cache information in CPU leaf 4.
26404 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26405
8126d904
UD
264062011-03-18 Ulrich Drepper <drepper@gmail.com>
26407
042c49c6 26408 [BZ #12583]
8126d904
UD
26409 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26410 character representation.
26411 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26412
ccfe366e
RA
264132011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26414
26415 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26416 END(__isnan) to END(__isnanf) to match function entry point/label
26417 EALIGN(__isnanf,...).
26418
c6e13027
JJ
264192011-03-10 Jakub Jelinek <jakub@redhat.com>
26420
26421 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26422
33f85a3f
UD
264232011-03-10 Ulrich Drepper <drepper@gmail.com>
26424
028478fa
UD
26425 [BZ #12510]
26426 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26427 copy from the symbol referenced in the relocation to initialize the
26428 used variable.
26429 Patch by Piotr Bury <pbury@goahead.com>.
26430 * elf/Makefile: Add rules to build and tst-unique3.
26431 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26432 * elf/tst-unique3.cc: New file.
26433 * elf/tst-unique3.h: New file.
26434 * elf/tst-unique3lib.cc: New file.
26435 * elf/tst-unique3lib2.cc: New file.
26436
33f85a3f
UD
26437 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26438
03592fc7
MF
264392011-03-10 Mike Frysinger <vapier@gentoo.org>
26440
26441 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26442 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26443 to _start.
03592fc7 26444
6a5ee102
UD
264452011-03-06 Ulrich Drepper <drepper@gmail.com>
26446
26447 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26448 to-be-loaded object along a path to loader is ld.so.
26449
7e4ba49c
HJ
264502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26451 Ulrich Drepper <drepper@gmail.com>
26452
26453 * sysdeps/x86_64/memset.S: After aligning destination, code
26454 branches to different locations depending on the value of
26455 misalignment, when multiarch is enabled. Fix this.
26456
264572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26458
26459 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26460 Set _x86_64_preferred_memory_instruction for AMD processsors.
26461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26462 Set bit_Prefer_SSE_for_memop for AMD processors.
26463
13a804de
UD
264642011-03-04 Ulrich Drepper <drepper@gmail.com>
26465
26466 * libio/fmemopen.c (fmemopen): Optimize a bit.
26467
9d25c392
AS
264682011-03-03 Andreas Schwab <schwab@redhat.com>
26469
26470 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26471
a5543c6a
RM
264722011-03-03 Roland McGrath <roland@redhat.com>
26473
26474 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26475
012d35f7
DM
264762011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26477
7e4ba49c 26478 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26479 __bzero_ultra1 instead of __memset_ultra1.
26480
4bff6e01
AS
264812011-02-23 Andreas Schwab <schwab@redhat.com>
26482 Ulrich Drepper <drepper@gmail.com>
26483
26484 [BZ #12509]
26485 * include/link.h (struct link_map): Add l_orig_initfini.
26486 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26487 returning unsuccessfully.
26488 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26489 close of a file loaded at startup, restore the original l_initfini
26490 list.
26491 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26492 list, store the pointer.
26493 * elf/Makefile ($(objpfx)noload-mem): New rule.
26494 (noload-ENV): Define.
26495 (tests): Add $(objpfx)noload-mem.
26496 * elf/noload.c: Include <memcheck.h>.
26497 (main): Call mtrace. Close all opened handles.
26498
f2092faf
AS
264992011-02-17 Andreas Schwab <schwab@redhat.com>
26500
26501 [BZ #12454]
26502 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26503 dependencies are missing.
26504
6c8a2e88
ST
265052011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26506
f2092faf 26507 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26508 Hurd needs munmap.
26509 * sysdeps/mach/hurd/ifreq.h: New file.
26510
84a42118
PB
265112011-01-27 Petr Baudis <pasky@suse.cz>
26512 Ulrich Drepper <drepper@gmail.com>
26513
071f805e 26514 [BZ 12445]#
84a42118
PB
26515 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26516 to extend_alloca().
26517 * stdio-common/bug23.c: New file.
26518 * stdio-common/Makefile (tests): Add bug23.
26519
e23fe25b
AS
265202010-09-28 Andreas Schwab <schwab@redhat.com>
26521 Ulrich Drepper <drepper@gmail.com>
26522
26523 [BZ #12489]
26524 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26525 before performing relro protection. At old place add assertion
26526 to make sure nothing changed.
26527
d3f02e10
NS
265282011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26529 Glauber de Oliveira Costa <glommer@gmail.com>
26530
26531 * elf/elf.h: Add new ARM TLS relocs.
26532
d55fd7a5
RA
265332011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26534
26535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26536 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26537 cast from r3.
26538 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26539 'tests' variable.
26540 * sysdeps/wordsize-64/tst-writev.c: New file.
26541
2206397e
RA
265422011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26543
26544 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26545 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26546 insns in _dl_start to prevent a TOC reference before relocs are
26547 resolved.
26548
e9433893
UD
265492011-02-15 Ulrich Drepper <drepper@gmail.com>
26550
26551 [BZ #12469]
26552 * Makeconfig: Remove RANLIB definition.
26553 * Makerules: Don't use RANLIB.
26554 * aclocal.m4: Remove ranlib test.
26555 * configure.in: No need to check for ranlib.
26556 * elf/rtld-Rules: Don't use RANLIB.
26557
f75286c6
ST
265582011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26559
8e31c82d
ST
26560 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26561 protection macro.
26562 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26563 inclusion protection macro.
26564
f75286c6
ST
26565 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26566 SIGRTMIN and SIGRTMAX and print information in that case only when
26567 SIGRTMIN is defined.
26568
c1d0e639
JJ
265692011-02-11 Jakub Jelinek <jakub@redhat.com>
26570
26571 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26572 arginfo fn returning -1.
26573
26574 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26575 and thousands string is zero terminated.
26576
edf9294e
AS
265772011-02-03 Andreas Schwab <schwab@redhat.com>
26578
26579 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26580 sysdeps/unix/sysv/linux/bits/socket.h.
26581
2b7e92df
ST
265822011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26583
edf9294e
AS
26584 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26585 (__CPU_COUNT): Remove old macros.
26586 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26587 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26588 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26589 (__sched_cpualloc, __sched_cpufree): Add declarations.
26590
a4c7ea7b
UD
265912011-02-05 Ulrich Drepper <drepper@gmail.com>
26592
26593 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26594 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26595 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26596 (readdhstai): Return value of addhstaiX call.
26597 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26598 (addgrbyX): Return value returned by cache_addgr.
26599 (readdgrbyname): Return value returned by addgrbyX.
26600 (readdgrbygid): Likewise.
26601 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26602 (addpwbyX): Return value returned by cache_addpw.
26603 (readdpwbyname): Return value returned by addhstbyX.
26604 (readdpwbyuid): Likewise.
26605 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26606 (addservbyX): Return value returned by cache_addserv.
26607 (readdservbyname): Return value returned by addservbyX:
26608 (readdservbyport): Likewise.
26609 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26610 (addhstbyX): Return value returned by cache_addhst.
26611 (readdhstbyname): Return value returned by addhstbyX.
26612 (readdhstbyaddr): Likewise.
26613 (readdhstbynamev6): Likewise.
26614 (readdhstbyaddrv6): Likewise.
26615 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26616 (readdinitgroups): Return value returned by addinitgroupsX.
26617 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26618 (prune_cache): Keep track of timeout value of re-added entries.
26619 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26620 * nscd/nscd.h: Adjust prototypes of readd* functions.
26621
a0bf67cc
RM
266222011-02-04 Roland McGrath <roland@redhat.com>
26623
26624 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26625 (nis_stats): Likewise.
26626 * nis/nis_modify.c (nis_modify): Likewise.
26627 * nis/nis_remove.c (nis_remove): Likewise.
26628 * nis/nis_add.c (nis_add): Likewise.
26629
26630 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26631
26632 * posix/fnmatch_loop.c: Add some consts.
26633
26634 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26635
435b95eb
L
266362011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26637
26638 [BZ #12460]
26639 * config.make.in (config-cflags-novzeroupper): Define.
26640 * configure.in: Substitute libc_cv_cc_novzeroupper.
26641 * elf/Makefile (AVX-CFLAGS): Define.
26642 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26643 (CFLAGS-tst-auditmod4a.c): Likewise.
26644 (CFLAGS-tst-auditmod4b.c): Likewise.
26645 (CFLAGS-tst-auditmod6b.c): Likewise.
26646 (CFLAGS-tst-auditmod6c.c): Likewise.
26647 (CFLAGS-tst-auditmod7b.c): Likewise.
26648 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26649
8517b15e
UD
266502011-02-02 Ulrich Drepper <drepper@gmail.com>
26651
26652 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26653 function to the callback.
26654 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26655
10a656fe
AS
266562011-02-02 Andreas Schwab <schwab@redhat.com>
26657
26658 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26659 of errno.
26660
968dad0a
UD
266612011-01-19 Ulrich Drepper <drepper@gmail.com>
26662
9f94d2ea 26663 [BZ #11724]
968dad0a
UD
26664 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26665 of constructors.
26666 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26667 of destructors.
26668 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26669
26670 [BZ #11724]
26671 * elf/Makefile: Add rules to build and run new test.
26672 * elf/tst-initorder.c: New file.
26673 * elf/tst-initorder.exp: New file.
26674 * elf/tst-initordera1.c: New file.
26675 * elf/tst-initordera2.c: New file.
26676 * elf/tst-initordera3.c: New file.
26677 * elf/tst-initordera4.c: New file.
26678 * elf/tst-initorderb1.c: New file.
26679 * elf/tst-initorderb2.c: New file.
26680 * elf/tst-order-a1.c: New file.
26681 * elf/tst-order-a2.c: New file.
26682 * elf/tst-order-a3.c: New file.
26683 * elf/tst-order-a4.c: New file.
26684 * elf/tst-order-b1.c: New file.
26685 * elf/tst-order-b2.c: New file.
26686 * elf/tst-order-main.c: New file.
26687 New test case by George Gensure <werkt0@gmail.com>.
26688
86e92359
UD
266892010-10-01 Andreas Schwab <schwab@redhat.com>
26690
26691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26692 decoding ACE if AI_CANONIDN.
26693
5d5732b0
UD
266942011-01-18 Ulrich Drepper <drepper@gmail.com>
26695
26696 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26697
a77e8cbc
UD
266982011-01-17 Ulrich Drepper <drepper@gmail.com>
26699
6392473f
UD
26700 * version.h (RELEASE): Bump for 2.13 release.
26701 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26702
620a0529
UD
26703 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26704
18ba70a5
UD
26705 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26706 MADV_NOHUGEPAGE.
32465c3e
UD
26707 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26708 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26709 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26710 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26711 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26712 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26713
c0dafcf1
UD
26714 * posix/getconf.c: Update copyright year.
26715 * catgets/gencat.c: Likewise.
26716 * csu/version.c: Likewise.
26717 * debug/catchsegv.sh: Likewise.
26718 * debug/xtrace.sh: Likewise.
26719 * elf/ldconfig.c: Likewise.
26720 * elf/ldd.bash.in: Likewise.
26721 * elf/sprof.c (print_version): Likewise.
26722 * iconv/iconv_prog.c: Likewise.
26723 * iconv/iconvconfig.c: Likewise.
26724 * locale/programs/locale.c: Likewise.
26725 * locale/programs/localedef.c: Likewise.
26726 * malloc/memusage.sh: Likewise.
26727 * malloc/mtrace.pl: Likewise.
26728 * nscd/nscd.c (print_version): Likewise.
26729 * nss/getent.c: Likewise.
26730
a77e8cbc
UD
26731 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26732 PF_CAIF, and PF_ALG.
26733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26734
77e8bddf
AS
267352011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26736
1f20b93a
AS
26737 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26738 (modules-names): Use them.
26739 (ifunc-test-modules, ifunc-pie-tests): Define.
26740 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26741 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26742 (test-extras): Likewise.
26743 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26744 $(compile-command.c).
26745 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26746 (all-built-dso): Define.
26747 (check-textrel.out, check-execstack.out): Depend on it.
26748
77e8bddf
AS
26749 * configure.in: Don't override --enable-multi-arch.
26750
bc425b33
UD
267512011-01-15 Ulrich Drepper <drepper@gmail.com>
26752
26753 [BZ #6812]
26754 * nscd/hstcache.c (tryagain): Define.
26755 (cache_addhst): Return tryagain not notfound for temporary errors.
26756 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26757 failed.
26758
794c3ad3
UD
267592011-01-14 Ulrich Drepper <drepper@gmail.com>
26760
70181fdd
UD
26761 [BZ #10563]
26762 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26763 to make the syscall.
26764 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26765
794c3ad3
UD
26766 [BZ #12378]
26767 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26768 and fall back to matching as normal character if the string ends before
26769 the matching ']' is found. This is what POSIX requires.
26770 * posix/testfnm.c: Adjust test result.
26771 * posix/globtest.sh: Adjust test result. Add new test.
26772 * posix/tst-fnmatch.input: Likewise.
26773 * posix/tst-fnmatch2.c: Add new test.
26774
68dc9497
AS
267752010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26776
26777 * elf/Makefile (check-execstack): Revert last change. Depend on
26778 check-execstack.h.
26779 (check-execstack.h): New target.
26780 (generated): Add check-execstack.h.
26781 * elf/check-execstack.c: Include "check-execstack.h".
26782 (main): Revert last change.
26783 (handle_file): Return zero if GNU_STACK is absent and
26784 DEFAULT_STACK_PERMS doesn't include PF_X.
26785
451f001b
UD
267862011-01-13 Ulrich Drepper <drepper@gmail.com>
26787
cfa28e56
UD
26788 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26789 in child fails because the descriptor is already closed.
8cf8ce17
UD
26790 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26791 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26792 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26793
1086d70d
UD
26794 [BZ #12397]
26795 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26796 syscall.
26797
451f001b
UD
26798 [BZ #10484]
26799 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26800 temporary buffer used to handle multi lookups locally.
a85b5cb4 26801 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26802
08769175
UD
268032011-01-12 Ulrich Drepper <drepper@gmail.com>
26804
26805 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26806 loader is ld.so.
26807
5e49c52e
UD
268082011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26809
26810 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26811 alignment for SSE2.
26812
60522a5f
UD
268132011-01-12 Ulrich Drepper <drepper@gmail.com>
26814
26815 [BZ #12394]
26816 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26817 characters. When rounding increased number of integer digits recompute
26818 number of groups.
26819 * stdio-common/tst-grouping.c: New file.
26820 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26821
f257bbd7
UD
268222011-01-09 Ulrich Drepper <drepper@gmail.com>
26823
26824 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26825 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26826
26827 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26828 void.
26829 * bits/select.h: Likewise.
26830
fa9c15cb
UD
268312011-01-08 Ulrich Drepper <drepper@gmail.com>
26832
26833 * po/ja.po: Update from translation team.
26834
16c2895f
DM
268352011-01-04 David S. Miller <davem@sunset.davemloft.net>
26836
26837 [BZ #11155]
26838 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26839 implementation just like for lxstat, fxstatat, et al.
26840
2543fef2
JM
268412010-12-27 Jim Meyering <meyering@redhat.com>
26842
26843 [BZ #12348]
26844 * posix/regexec.c (build_trtable): Return failure indication upon
26845 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26846
98727dbe
UD
268472010-12-25 Ulrich Drepper <drepper@gmail.com>
26848
5bd6dc5c
UD
26849 [BZ #12201]
26850 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26851 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26852 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26853 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26854
97983464
UD
26855 [BZ #12207]
26856 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26857
98727dbe
UD
26858 [BZ #12204]
26859 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26860 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26861
4a531bb0
L
268622010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26863
26864 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26865 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26866 script has SORT_BY_INIT_PRIORITY.
26867 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26868 NO_CTORS_DTORS_SECTIONS is defined.
26869 * elf/soinit.c: Likewise.
26870 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26871 NO_CTORS_DTORS_SECTIONS is defined.
26872 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26873 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26874 * sysdeps/sh/init-first.c: Likewise.
26875 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26876
07eb4b71
UD
268772010-12-24 Ulrich Drepper <drepper@gmail.com>
26878
26879 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26880 always use the slow path.
26881
30950a5f
RA
268822010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26883
26884 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26885 similar rule which adds the sysdep directories to the header search in
26886 order to pick up the correct platform stackinfo.h.
26887 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26888 perform test if it is, otherwise return successfully without testing.
26889 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26890 DEFAULT_STACK_PERMS define in stackinfo.h.
26891 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26892 defined in stackinfo.h.
26893 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26894 DEFAULT_STACK_PERMS defined in stackinfo.h.
26895 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26896 * sysdeps/ia64/stackinfo.h: Likewise.
26897 * sysdeps/s390/stackinfo.h: Likewise.
26898 * sysdeps/sh/stackinfo.h: Likewise.
26899 * sysdeps/sparc/stackinfo.h: Likewise.
26900 * sysdeps/x86_64/stackinfo.h: Likewise.
26901 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26902 PF_X for powerpc64. Retain PF_X for powerpc32.
26903
db753e2c
UD
269042010-12-19 Ulrich Drepper <drepper@gmail.com>
26905
14b697f7
UD
26906 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26907 accurately.
db753e2c
UD
26908 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26909 GETDENTS_64BIT_ALIGNED.
26910
28300719
UD
269112010-12-14 Ulrich Drepper <dreper@gmail.com>
26912
14b697f7 26913 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26914
4f197237
AS
269152010-12-10 Andreas Schwab <schwab@redhat.com>
26916
dbb0472f
AS
26917 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26918 _GNU_SOURCE.
26919
4f197237
AS
26920 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26921 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26922 Remove __restrict.
26923 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26924 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26925
fb88ac72
UD
269262010-12-09 Ulrich Drepper <drepper@gmail.com>
26927
26928 [BZ #11655]
26929 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26930 are initialized.
26931
42acbb92
JJ
269322010-12-09 Jakub Jelinek <jakub@redhat.com>
26933
26934 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26935
c038d98d
UD
269362010-12-03 Ulrich Drepper <drepper@gmail.com>
26937
26938 * po/it.po: Update from translation team.
26939
3a4a2499
L
269402010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26941
26942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26943 unused codes.
26944
1e24cf6e
UD
269452010-11-30 Ulrich Drepper <drepper@gmail.com>
26946
26947 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26948
a7690819
AS
269492010-11-24 Andreas Schwab <schwab@redhat.com>
26950
26951 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26952 specially.
26953 (gaih_getanswer_slice): Likewise.
26954
3bf8d1b1
JJ
269552010-10-20 Jakub Jelinek <jakub@redhat.com>
26956
26957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26958
6db52fbb
PB
269592010-05-31 Petr Baudis <pasky@suse.cz>
26960
26961 [BZ #11149]
26962 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26963 silently even in the chroot mode.
26964
eaca7569
UD
269652010-11-22 Ulrich Drepper <drepper@gmail.com>
26966
26967 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26968 last patch a bit. Pretty printing
26969
3056dcdb
UD
269702010-05-31 Petr Baudis <pasky@suse.cz>
26971
26972 [BZ #10085]
26973 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26974 initialization of skip_initgroups_dyn.
26975
cf7c9078
UD
269762010-11-19 Ulrich Drepper <drepper@gmail.com>
26977
26978 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26979 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26980
a1fb5e3e
UD
269812010-11-16 Ulrich Drepper <drepper@gmail.com>
26982
26983 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26984
3540d66b
AS
269852010-11-11 Andreas Schwab <schwab@redhat.com>
26986
26987 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26988 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26989 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26990 ($(objpfx)tst-fnmatch-mem): New rule.
26991 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26992 * posix/tst-fnmatch.c (main): Call mtrace.
26993
13b69574
L
269942010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26995
26996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26997 Support Intel processor model 6 and model 0x2c.
26998
da93d214
LM
269992010-11-10 Luis Machado <luisgpm@br.ibm.com>
27000
27001 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27002 signed comparison.
27003
8ca52c6e
L
270042010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27005
27006 [BZ #12205]
27007 * string/test-strncasecmp.c (check_result): New function.
27008 (do_one_test): Use it.
27009 (check1): New function.
27010 (test_main): Use it.
27011 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27012 Support strcasecmp and strncasecmp.
27013
69da074d
UD
270142010-11-08 Ulrich Drepper <drepper@gmail.com>
27015
27016 [BZ #12194]
27017 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27018 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27019
ff02d528
L
270202010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27021
27022 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27023 IFUNC support.
27024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27025 memset-x86-64.
27026 * sysdeps/x86_64/multiarch/bzero.S: New file.
27027 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27028 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27029 * sysdeps/x86_64/multiarch/memset.S: New file.
27030 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27032 Set bit_Prefer_SSE_for_memop for Intel processors.
27033 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27034 Define.
27035 (index_Prefer_SSE_for_memop): Define.
27036 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27037
344d0b54
LM
270382010-11-04 Luis Machado <luisgpm@br.ibm.com>
27039
27040 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27041 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27042
c0dde15b
UD
270432010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27044
27045 [BZ #12191]
27046 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27047 (__x86_64_raw_data_cache_size_half): Likewise.
27048 (__x86_64_raw_shared_cache_size): Likewise.
27049 (__x86_64_raw_shared_cache_size_half): Likewise.
27050
27051 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27052 (__x86_64_raw_data_cache_size_half): Likewise.
27053 (__x86_64_raw_shared_cache_size): Likewise.
27054 (__x86_64_raw_shared_cache_size_half): Likewise.
27055 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27056 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27057 and __x86_64_raw_shared_cache_size_half. Round
27058 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27059 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27060 to multiple of 256 bytes.
27061
0e516e0e
MS
270622010-11-03 Ulrich Drepper <drepper@gmail.com>
27063
27064 [BZ #12167]
27065 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27066 of inacessible symlinks. Verify result of symlink before returning it.
27067 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27068 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27069
0e012e87
ER
270702010-10-28 Erich Ritz <erichritz@gmail.com>
27071
27072 * math/math.h (isinf): Fix typo in comment.
27073
de0ff7bc
UD
270742010-11-01 Ulrich Drepper <drepper@gmail.com>
27075
27076 * po/da.po: Update from translation team.
27077
fa41c84d
UD
270782010-10-26 Ulrich Drepper <drepper@gmail.com>
27079
27080 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27081 is added to the list.
27082
f0967738
AK
270832010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27084 Ulrich Drepper <drepper@gmail.com>
27085
27086 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27087 the global list here. Move code to...
27088 (_dl_add_to_namespace_list): ...here. New function.
27089 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27090 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27091 * elf/dl-load.c (lose): Don't remove the element from the list.
27092 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27093 (_dl_map_object): Likewise.
27094
270952010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27096
27097 [BZ #12159]
27098 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27099 into all bytes of SSE register.
27100 Patch by Richard Li <richardpku@gmail.com>.
27101
f0967738 271022010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27103
27104 [BZ #12140]
27105 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27106 perturbing.
27107
d0b9e94f
MB
271082010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27109
27110 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27111 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27112 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27113 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27115 submachine.
27116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27117
8e9f92e9
AS
271182010-10-22 Andreas Schwab <schwab@redhat.com>
27119
27120 * include/dlfcn.h (__RTLD_SECURE): Define.
27121 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27122 mode & __RTLD_SECURE instead.
27123 (open_path): Rename preloaded parameter to secure.
27124 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27125 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27126 * elf/dl-deps.c (openaux): Likewise.
27127 * elf/rtld.c (struct map_args): Remove is_preloaded.
27128 (map_doit): Don't use it.
27129 (dl_main): Likewise.
27130 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27131 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27132
bc96fbda
AS
271332010-09-09 Andreas Schwab <schwab@redhat.com>
27134
27135 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27136 (sysd-rules-targets): Remove duplicates.
27137 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27138 rtld-%.$o dependency.
27139
22cd1c9b
AS
271402010-10-18 Andreas Schwab <schwab@redhat.com>
27141
27142 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27143 _dl_map_object do it.
27144
18edac48
UD
271452010-10-19 Ulrich Drepper <drepper@gmail.com>
27146
27147 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27148 fast fma builtins, define the macros in the C99 standard.
27149 (FP_FAST_FMAF): Likewise.
27150 (FP_FAST_FMAL): Likewise.
27151 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27152
27153 * bits/mathdef.h: Update copyright year.
27154 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27155
d2050124
MM
271562010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27157
27158 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27159 builtins, define the macros in the C99 standard.
27160 (FP_FAST_FMAF): Likewise.
27161 (FP_FAST_FMAL): Likewise.
27162 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27163 multiply/add.
27164 (FP_FAST_FMAF): Likewise.
27165
475facd1
JJ
271662010-10-15 Jakub Jelinek <jakub@redhat.com>
27167
27168 [BZ #3268]
27169 * math/libm-test.inc (fma_test): Some new testcases.
27170 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27171 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27172 y and infinite z. Do multiplication by C already in long double.
27173 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27174 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27175 y and infinite z. Do bitwise or of inexact bit into u.d.
27176 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27177 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27178 * sysdeps/i386/fpu/s_fma.S: Removed.
27179 * sysdeps/i386/fpu/s_fmal.S: Removed.
27180
7c08a05c
JJ
271812010-10-16 Jakub Jelinek <jakub@redhat.com>
27182
27183 [BZ #3268]
27184 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27185 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27186 computation is not scheduled after fetestexcept. Fix value
27187 of minimum denormal long double.
27188
f3f7372d
JJ
271892010-10-14 Jakub Jelinek <jakub@redhat.com>
27190
27191 [BZ #3268]
27192 * math/libm-test.inc (fma_test): Add some more tests.
27193 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27194 correctly.
27195
14d43591
AS
271962010-10-15 Andreas Schwab <schwab@redhat.com>
27197
27198 * scripts/data/localplt-s390-linux-gnu.data: New file.
27199 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27200
5e908464
JJ
272012010-10-13 Jakub Jelinek <jakub@redhat.com>
27202
27203 [BZ #3268]
27204 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27205 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27206 instead of dbl-64.
27207 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27208 inlines.
27209 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27211 if one of x and y is very large and the other is subnormal.
27212 * sysdeps/s390/fpu/s_fmaf.c: New file.
27213 * sysdeps/s390/fpu/s_fma.c: New file.
27214 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27215 * sysdeps/powerpc/fpu/s_fma.S: New file.
27216 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27217 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27218 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27219
272202010-10-12 Jakub Jelinek <jakub@redhat.com>
27221
27222 [BZ #3268]
27223 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27224 fma tests.
27225 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27226 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27227 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27228 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27229 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27230 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27231 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27232
b833d51f
UD
272332010-10-12 Ulrich Drepper <drepper@redhat.com>
27234
27235 [BZ #12078]
27236 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27237 * posix/bug-regex31.input: Add test case.
27238
1751705d
UD
272392010-10-11 Ulrich Drepper <drepper@gmail.com>
27240
e9b9cbf5
UD
27241 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27242 * posix/bug-regex31.input: New file.
27243
27244 [BZ #12078]
27245 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27246 (parse_sub_exp): Fix last change, use postorder.
27247
ef06edbe
UD
27248 * posix/bug-regex31.c: New file.
27249 * posix/Makefile: Add rules to build and run bug-regex31.
27250
a129c80d
UD
27251 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27252
27253 [BZ #12078]
27254 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27255
b76b818e
UD
27256 [BZ #12108]
27257 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27258 to have entries in sys_siglist.
27259
1751705d
UD
27260 [BZ #12093]
27261 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27262 be NULL.
27263
9ff8d36f
JJ
272642010-10-07 Jakub Jelinek <jakub@redhat.com>
27265
27266 [BZ #3268]
27267 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27268 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27269 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27270 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27271 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27272 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27273 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27274 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27275 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27276 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27277 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27278 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27279 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27280 * math/ftestexcept.c (fetestexcept): Likewise.
27281 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27282 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27283 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27284 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27285 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27286 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27287 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27288
af325969
UD
272892010-10-11 Ulrich Drepper <drepper@gmail.com>
27290
c579b202 27291 [BZ #12107]
af325969
UD
27292 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27293 newline.
27294
67a67b95
UD
272952010-10-06 Ulrich Drepper <drepper@gmail.com>
27296
27297 * string/bug-strstr1.c: New file.
27298 * string/Makefile: Add rules to build and run bug-strstr1.
27299
5fb308bc
EB
273002010-10-05 Eric Blake <eblake@redhat.com>
27301
27302 [BZ #12092]
27303 * string/str-two-way.h (two_way_long_needle): Always clear memory
27304 when skipping input due to the shift table.
27305
45db99c7
UD
273062010-10-03 Ulrich Drepper <drepper@gmail.com>
27307
3b111893
UD
27308 [BZ #12005]
27309 * malloc/mcheck.c: Handle large requests.
27310
45db99c7
UD
27311 [BZ #12077]
27312 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27313 for strncmp and strncasecmp.
27314 * string/stratcliff.c: Add tests for strcmp and strncmp.
27315 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27316
cf7a1eb8
NI
273172010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27318
27319 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27320 __set_fpscr.
27321
6484ba5e
AJ
273222010-09-30 Andreas Jaeger <aj@suse.de>
27323
27324 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27325 (CGROUP_SUPER_MAGIC): Define.
27326 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27327 Handle btrfs and cgroup file systems.
27328 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27329 Likewise.
27330
91c42559
LM
273312010-09-27 Luis Machado <luisgpm@br.ibm.com>
27332
27333 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27334 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27335
87a97932
AK
273362010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27337
27338 [BZ #12067]
27339 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27340 trying to locate the ELF header.
27341
c21cc9bc
AS
273422010-09-27 Andreas Schwab <schwab@redhat.com>
27343
27344 [BZ #11611]
27345 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27346 Mask out sign-bit copies when constructing f_fsid.
27347
315970f6
PB
273482010-09-24 Petr Baudis <pasky@suse.cz>
27349
27350 * debug/stack_chk_fail_local.c: Add missing licence exception.
27351 * debug/warning-nop.c: Likewise.
27352
1ac7a2c7
JM
273532010-09-15 Joseph Myers <joseph@codesourcery.com>
27354
27355 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27356 implementing getdents64 using getdents syscall, set d_type if
27357 __ASSUME_GETDENTS32_D_TYPE.
27358
56801c50
AS
273592010-09-16 Andreas Schwab <schwab@redhat.com>
27360
27361 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27362 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27363
dda51327
UD
273642010-09-21 Ulrich Drepper <drepper@redhat.com>
27365
27366 [BZ #12037]
27367 * posix/unistd.h: Undo change of feature selection for ftruncate from
27368 2010-01-11.
27369
8ffcee4a
UD
273702010-09-20 Ulrich Drepper <drepper@redhat.com>
27371
a545ecd9 27372 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27373 detection.
27374
e24f0a8b
AS
273752010-09-20 Andreas Schwab <schwab@redhat.com>
27376
27377 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27378 fanotify_mark.
27379 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27380
7291c56f
AS
273812010-09-14 Andreas Schwab <schwab@redhat.com>
27382
27383 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27384 variables after CHECK_SP call.
27385 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27386
bc5fb037
AS
273872010-09-13 Andreas Schwab <schwab@redhat.com>
27388 Ulrich Drepper <drepper@redhat.com>
27389
27390 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27391 re-relocationg ld.so.
27392 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27393 _dl_init_paths call.
27394 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27395 here anymore.
27396
e66e7419
UD
273972010-09-14 Ulrich Drepper <drepper@redhat.com>
27398
27399 * resolv/res_init.c (__res_vinit): Count the default server we added.
27400
c044aa75
CLT
274012010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27402 Ulrich Drepper <drepper@redhat.com>
27403
27404 [BZ #11968]
27405 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27406 (____longjmp_chk): Use %ebx for saving value across system call.
27407 Add unwind info.
27408
32cf4069
AS
274092010-09-06 Andreas Schwab <schwab@redhat.com>
27410
27411 * manual/Makefile: Don't mix pattern rules with normal rules.
27412
817328ee
AS
274132010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27414
27415 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27416 operation.
27417 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27418 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27419 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27420 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27421 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27422 Likewise.
27423
29fddf61
UD
274242010-09-04 Ulrich Drepper <drepper@redhat.com>
27425
27426 [BZ #11979]
27427 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27428 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27429
0959ffc9
UD
274302010-09-02 Ulrich Drepper <drepper@redhat.com>
27431
27432 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27433 * sysdeps/x86_64/addmul_1.S: Likewise.
27434 * sysdeps/x86_64/lshift.S: Likewise.
27435 * sysdeps/x86_64/mul_1.S: Likewise.
27436 * sysdeps/x86_64/rshift.S: Likewise.
27437 * sysdeps/x86_64/sub_n.S: Likewise.
27438 * sysdeps/x86_64/submul_1.S: Likewise.
27439
ece29840
ST
274402010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27441
0959ffc9
UD
27442 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27443 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27444 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27445 * bits/sched.h [__need_schedparam]
ece29840 27446 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27447 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27448 (__defined_schedparam): Define to 1.
ece29840
ST
27449 (__sched_param): New structure, identical to sched_param.
27450 (__need_schedparam): Undefine.
27451
e53a31fe
MF
274522010-08-31 Mike Frysinger <vapier@gentoo.org>
27453
fdc0c10d
MF
27454 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27455 (epoll_create1): Declare.
27456
e53a31fe
MF
27457 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27458
a726d796
AS
274592010-08-31 Andreas Schwab <schwab@redhat.com>
27460
27461 [BZ #7066]
27462 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27463 shifting retval into place.
27464
2f3e3dc7
UD
274652010-09-01 Ulrich Drepper <drepper@redhat.com>
27466
f2933da9
UD
27467 * nis/rpcsvc/nis.h: Update copyright notice.
27468 * nis/rpcsvc/nis.x: Likewise.
27469 * nis/rpcsvc/nis_callback.h: Likewise.
27470 * nis/rpcsvc/nis_callback.x: Likewise.
27471 * nis/rpcsvc/nis_object.x: Likewise.
27472 * nis/rpcsvc/nis_tags.h: Likewise.
27473 * nis/rpcsvc/yp.h: Likewise.
27474 * nis/rpcsvc/yp.x: Likewise.
27475 * nis/rpcsvc/ypupd.h: Likewise.
27476 * nis/yp_xdr.c: Likewise.
27477 * nis/ypupdate_xdr.c: Likewise.
27478
2f3e3dc7
UD
27479 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27480 mainly the body of pmap_getport. Add parameters to specify timeouts.
27481 (pmap_getport): Use __libc_rpc_getport.
27482 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27483 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27484 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27485
f3dcc2f9
AS
274862010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27487
27488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27489 fanotify_mark.
27490
6d34eb5b
RM
274912010-08-27 Roland McGrath <roland@redhat.com>
27492
27493 * sysdeps/i386/i686/multiarch/Makefile
27494 (CFLAGS-varshift.c): New variable.
27495
9ea3de11
UD
274962010-08-27 Ulrich Drepper <drepper@redhat.com>
27497
c96d23fc
UD
27498 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27499 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27500
9ea3de11
UD
27501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27502
27503 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27504
623aac7f
L
275052010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27506
27507 * sysdeps/x86_64/strlen.S: Unroll the loop.
27508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27509 strlen-sse2 strlen-sse2-bsf.
27510 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27511 __strlen_no_bsf if bit_Slow_BSF is set.
27512 (__strlen_sse42): Removed.
27513 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27514 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27515
8b2b7715
RM
275162010-08-25 Roland McGrath <roland@redhat.com>
27517
27518 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27519 * sysdeps/x86_64/multiarch/varshift.c: New file.
27520 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27521 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27522 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27523 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27524
e73015f2
L
275252010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27526
27527 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27528 strlen-sse2 strlen-sse2-bsf.
27529 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27530 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27531 (__strlen_sse2): Removed.
27532 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27533 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27535 bit_Slow_BSF for Atom.
27536 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27537 (index_Slow_BSF): Define.
27538 (HAS_SLOW_BSF): Define.
27539
df24a73e
UD
275402010-08-25 Ulrich Drepper <drepper@redhat.com>
27541
27542 [BZ #10851]
27543 * resolv/res_init.c (__res_vinit): When no server address at all
27544 is given default to loopback.
27545
f2ac4868
RM
275462010-08-24 Roland McGrath <roland@redhat.com>
27547
09055553
RM
27548 * configure.in: Remove config-name.h generation.
27549 * configure: Regenerated.
27550 * config-name.in: File removed.
27551 * scripts/config-uname.sh: New file.
27552 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27553 ($(objdir)config-name.h): New target.
27554
f2ac4868
RM
27555 * sunrpc/rpc_parse.h: Avoid nested comment.
27556
73f27d5e
RH
275572010-08-24 Richard Henderson <rth@redhat.com>
27558 Ulrich Drepper <drepper@redhat.com>
27559 H.J. Lu <hongjiu.lu@intel.com>
27560
27561 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27563 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27564 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27565 _mm_alignr_epi8 with _mm_loadu_si128.
27566 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27567 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27568 (__m128i_shift_right): Removed.
27569 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27570 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27571 * sysdeps/x86_64/multiarch/varshift.h: New file.
27572 * sysdeps/x86_64/multiarch/varshift.S: New file.
27573
84b9230c
MF
275742010-08-21 Mike Frysinger <vapier@gentoo.org>
27575
27576 * configure.in: Move assembler checks to before sysdep dir checking.
27577
9bbd0ddc
PB
275782010-08-20 Petr Baudis <pasky@suse.cz>
27579
27580 * LICENSES: Sync the sunrpc license.
27581
9da4bb31
UD
275822010-08-19 Ulrich Drepper <drepper@redhat.com>
27583
a7ab6ec8
UD
27584 * sunrpc/auth_des.c: Update copyright notice once again.
27585 * sunrpc/auth_none.c: Likewise.
27586 * sunrpc/auth_unix.c: Likewise.
27587 * sunrpc/authdes_prot.c: Likewise.
27588 * sunrpc/authuxprot.c: Likewise.
27589 * sunrpc/bindrsvprt.c: Likewise.
27590 * sunrpc/clnt_gen.c: Likewise.
27591 * sunrpc/clnt_perr.c: Likewise.
27592 * sunrpc/clnt_raw.c: Likewise.
27593 * sunrpc/clnt_simp.c: Likewise.
27594 * sunrpc/clnt_tcp.c: Likewise.
27595 * sunrpc/clnt_udp.c: Likewise.
27596 * sunrpc/clnt_unix.c: Likewise.
27597 * sunrpc/des_crypt.c: Likewise.
27598 * sunrpc/des_soft.c: Likewise.
27599 * sunrpc/get_myaddr.c: Likewise.
27600 * sunrpc/getrpcport.c: Likewise.
27601 * sunrpc/key_call.c: Likewise.
27602 * sunrpc/key_prot.c: Likewise.
27603 * sunrpc/openchild.c: Likewise.
27604 * sunrpc/pm_getmaps.c: Likewise.
27605 * sunrpc/pm_getport.c: Likewise.
27606 * sunrpc/pmap_clnt.c: Likewise.
27607 * sunrpc/pmap_prot.c: Likewise.
27608 * sunrpc/pmap_prot2.c: Likewise.
27609 * sunrpc/pmap_rmt.c: Likewise.
27610 * sunrpc/rpc/auth.h: Likewise.
27611 * sunrpc/rpc/auth_unix.h: Likewise.
27612 * sunrpc/rpc/clnt.h: Likewise.
27613 * sunrpc/rpc/des_crypt.h: Likewise.
27614 * sunrpc/rpc/key_prot.h: Likewise.
27615 * sunrpc/rpc/netdb.h: Likewise.
27616 * sunrpc/rpc/pmap_clnt.h: Likewise.
27617 * sunrpc/rpc/pmap_prot.h: Likewise.
27618 * sunrpc/rpc/pmap_rmt.h: Likewise.
27619 * sunrpc/rpc/rpc.h: Likewise.
27620 * sunrpc/rpc/rpc_des.h: Likewise.
27621 * sunrpc/rpc/rpc_msg.h: Likewise.
27622 * sunrpc/rpc/svc.h: Likewise.
27623 * sunrpc/rpc/svc_auth.h: Likewise.
27624 * sunrpc/rpc/types.h: Likewise.
27625 * sunrpc/rpc/xdr.h: Likewise.
27626 * sunrpc/rpc_clntout.c: Likewise.
27627 * sunrpc/rpc_cmsg.c: Likewise.
27628 * sunrpc/rpc_common.c: Likewise.
27629 * sunrpc/rpc_cout.c: Likewise.
27630 * sunrpc/rpc_dtable.c: Likewise.
27631 * sunrpc/rpc_hout.c: Likewise.
27632 * sunrpc/rpc_main.c: Likewise.
27633 * sunrpc/rpc_parse.c: Likewise.
27634 * sunrpc/rpc_parse.h: Likewise.
27635 * sunrpc/rpc_prot.c: Likewise.
27636 * sunrpc/rpc_sample.c: Likewise.
27637 * sunrpc/rpc_scan.c: Likewise.
27638 * sunrpc/rpc_scan.h: Likewise.
27639 * sunrpc/rpc_svcout.c: Likewise.
27640 * sunrpc/rpc_tblout.c: Likewise.
27641 * sunrpc/rpc_util.c: Likewise.
27642 * sunrpc/rpc_util.h: Likewise.
27643 * sunrpc/rpcinfo.c: Likewise.
27644 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27645 * sunrpc/rpcsvc/key_prot.x: Likewise.
27646 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27647 * sunrpc/rpcsvc/mount.x: Likewise.
27648 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27649 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27650 * sunrpc/rpcsvc/rex.x: Likewise.
27651 * sunrpc/rpcsvc/rstat.x: Likewise.
27652 * sunrpc/rpcsvc/rusers.x: Likewise.
27653 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27654 * sunrpc/rpcsvc/spray.x: Likewise.
27655 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27656 * sunrpc/rtime.c: Likewise.
27657 * sunrpc/svc.c: Likewise.
27658 * sunrpc/svc_auth.c: Likewise.
27659 * sunrpc/svc_authux.c: Likewise.
27660 * sunrpc/svc_raw.c: Likewise.
27661 * sunrpc/svc_run.c: Likewise.
27662 * sunrpc/svc_simple.c: Likewise.
27663 * sunrpc/svc_tcp.c: Likewise.
27664 * sunrpc/svc_udp.c: Likewise.
27665 * sunrpc/svc_unix.c: Likewise.
27666 * sunrpc/svcauth_des.c: Likewise.
27667 * sunrpc/xcrypt.c: Likewise.
27668 * sunrpc/xdr.c: Likewise.
27669 * sunrpc/xdr_array.c: Likewise.
27670 * sunrpc/xdr_float.c: Likewise.
27671 * sunrpc/xdr_mem.c: Likewise.
27672 * sunrpc/xdr_rec.c: Likewise.
27673 * sunrpc/xdr_ref.c: Likewise.
27674 * sunrpc/xdr_sizeof.c: Likewise.
27675 * sunrpc/xdr_stdio.c: Likewise.
27676
9da4bb31
UD
27677 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27678 handling.
27679
bdaa77bc
AS
276802010-08-19 Andreas Schwab <schwab@redhat.com>
27681
27682 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27683
fe2f79db
LM
276842010-08-19 Luis Machado <luisgpm@br.ibm.com>
27685
27686 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27687 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27688 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27689 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27690 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27691 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27692 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27693 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27694 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27695 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27696 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27697 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27698 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27699 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27700
b9b42ee0
AB
277012010-07-26 Anton Blanchard <anton@samba.org>
27702
27703 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27704 * malloc/arena.c (heap_trim): Likewise.
27705
1c06ba31
UD
277062010-08-16 Ulrich Drepper <drepper@redhat.com>
27707
27708 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27709 here. Not...
27710 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27711 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27712
f8392f40
L
277132010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27714
27715 * sysdeps/i386/elf/Makefile: New file.
27716
3162f12e
AS
277172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27718
27719 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27720 from fanotify_init.
27721 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27722 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27723
28c90b2c
UD
277242010-08-15 Ulrich Drepper <drepper@redhat.com>
27725
27726 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27727 of strncasecmp_l.
1feccb6c 27728 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27729
ca6bb004
UD
277302010-08-14 Ulrich Drepper <drepper@redhat.com>
27731
e9f82e0d
UD
27732 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27733 strncase_l-nonascii.
27734 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27735 Add strncase_l-ssse3.
27736 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27737 * sysdeps/x86_64/strcmp.S: Likewise.
27738 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27739 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27740 * sysdeps/x86_64/strncase.S: New file.
27741 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27742 * sysdeps/x86_64/strncase_l.S: New file.
27743 * string/Makefile (strop-tests): Add strncasecmp.
27744 * string/test-strncasecmp.c: New file.
27745
27746 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27747 warning.
27748
ca6bb004
UD
27749 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27750 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27751
052fa7b3
AS
277522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27753
27754 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27755
962dba78
UD
277562010-08-12 Ulrich Drepper <drepper@redhat.com>
27757
27758 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27759 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27760 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27761
bebff237
AM
277622010-05-01 Alan Modra <amodra@gmail.com>
27763
27764 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27765 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27766 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27767 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27768 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27769 tidying. Don't tail-call __sigjmp_save for static lib.
27770 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27771 save location.
27772 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27773 (CALL_MCOUNT): Add eh info, and nop after bl.
27774 (TAIL_CALL_SYSCALL_ERROR): New macro.
27775 (PSEUDO_RET): Use it.
27776 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27777 Correct save location of integer regs and cr.
27778 (_dl_profile_resolve): Correct cr save location. Delete nops
27779 after bl when SHARED. Reduce cfi size a little by better
27780 placement of cfi directives.
27781 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27782 make a stack frame. Instead use parm save area as a temp.
27783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27784 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27786 Don't make a stack frame for parent, use parm save area.
27787 Increase child stack frame to 112 bytes. Don't save unused reg,
27788 and adjust reg usage. Set up cfi on error recovery and
27789 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27791 (__makecontext): Add dummy nop after jump to exit.
27792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27793 Use correct parm save area and cr save, reduce stack frame.
27794 Correct cfi for possible PSEUDO_RET frame setup.
27795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27796 Branch to local label emitted by PSEUDO_RET rather than
27797 __syscall_error.
27798
02637374
AS
277992010-08-12 Andreas Schwab <schwab@redhat.com>
27800
27801 [BZ #11904]
27802 * locale/programs/locale.c (print_assignment): New function.
27803 (show_locale_vars): Use it.
27804
c3e2f19b
UD
278052010-08-11 Ulrich Drepper <drepper@redhat.com>
27806
3cdaa6ad
UD
27807 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27808 field.
27809 (struct statfs64): Likewise.
27810 (_STATFS_F_FLAGS): Define.
27811 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27812 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27813 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27814 (ST_VALID): Define locally.
27815 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27816 __statvfs_getflags, use the provided value.
27817 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27818 __ASSUME_STATFS_F_FLAGS.
27819
754f7da3
UD
27820 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27821
10b3bedc
UD
27822 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27823 Add sys/fanotify.h.
27824 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27825 fanotify_mask for GLIBC_2.13.
27826 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27827 fanotify_init and fanotify_mark.
27828 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27829 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27830
c08fb0d7
UD
27831 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27832 Add prlimit.
27833 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27834 prlimit64 for GLIBC_2.13.
27835 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27836 prlimit64.
27837 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27838 syscall.
27839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27840 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27841 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27842 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27843 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27844 add prlimit alias.
27845 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27846
15bac72b
UD
27847 [BZ #11903]
27848 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27849 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27850
c3e2f19b
UD
27851 * nss/Makefile: Add rules to build and run tst-nss-test1.
27852 * shlib-versions: Add entry for libnss_test1.
27853 * nss/nss_test1.c: New file.
27854 * nss/tst-nss-test1.c: New file.
27855
27856 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27857 (__nss_configure_lookup): Set appropriate entry in
27858 __nss_configure_lookup to true.
27859 * nss/nsswitch.h: Define enum with indeces of databases in
27860 databases and __nss_database_custom arrays. Declare
27861 __nss_database_custom.
27862 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27863 to avoid using nscd when custom rules are installed.
27864 * nss/getXXbyYY_r.c: Likewise.
27865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27866
27867 * nss/nss_files/files-parse.c: Whitespace fixes.
27868
f15ce4d8
UD
278692010-08-09 Ulrich Drepper <drepper@redhat.com>
27870
27871 [BZ #11883]
27872 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27873 * posix/fnmatch_loop.c: Likewise.
27874
d22e4cc9
AK
278752010-07-17 Andi Kleen <ak@linux.intel.com>
27876
27877 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27878 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27879 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27880 * Versions.def [GLIBC_2.13]: Add.
27881
805bc17d
UD
278822010-08-06 Ulrich Drepper <drepper@redhat.com>
27883
27884 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27885 Also fail if tpwd after pwuid call is NULL.
27886
5a42321d
ST
278872010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27888
27889 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27890 when converting to ms.
27891
fd3ebeda
ST
278922010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27893
27894 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27895 EOPNOTSUPP errors with ENOTTY.
27896 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27897 EOPNOTSUPP errors with ENOTTY.
27898
73507d3a
UD
278992010-07-31 Ulrich Drepper <drepper@redhat.com>
27900
27901 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27902 Add strcasecmp_l-ssse3.
27903 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27904 strcasecmp.
27905 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27906 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27907 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27908
fe36dd02
UD
279092010-07-30 Ulrich Drepper <drepper@redhat.com>
27910
66f6765a
UD
27911 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27912
42e08a54
UD
27913 * string/Makefile (strop-tests): Add strcasecmp.
27914 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27915 strcasecmp_l-nonascii.
27916 (gen-as-const-headers): Add locale-defines.sym.
27917 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27918 * sysdeps/x86_64/strcasecmp.S: New file.
27919 * sysdeps/x86_64/strcasecmp_l.S: New file.
27920 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27921 * sysdeps/x86_64/locale-defines.sym: New file.
27922 * string/test-strcasecmp.c: New file.
27923
fe36dd02
UD
27924 * string/test-strcasestr.c: Test both ends of the range of characters.
27925 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27926
48cbc0d6
RM
279272010-07-29 Roland McGrath <roland@redhat.com>
27928
76e6d6bc 27929 [BZ #11856]
48cbc0d6
RM
27930 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27931
880113d9
UD
279322010-07-27 Ulrich Drepper <drepper@redhat.com>
27933
27934 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27935 for ld.so.
27936
deb9cabb
AS
279372010-07-27 Andreas Schwab <schwab@redhat.com>
27938
27939 * manual/memory.texi (Malloc Tunable Parameters): Document
27940 M_PERTURB.
27941
1c7570ff
RM
279422010-07-26 Roland McGrath <roland@redhat.com>
27943
27944 [BZ #11840]
27945 * configure.in (-fgnu89-inline check): Set and substitute
27946 gnu89_inline, not libc_cv_gnu89_inline.
27947 * configure: Regenerated.
27948 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27949
24fb0f88
UD
279502010-07-26 Ulrich Drepper <drepper@redhat.com>
27951
27952 * string/test-strnlen.c: New file.
27953 * string/Makefile (strop-tests): Add strnlen.
27954 * string/tester.c (test_strnlen): Add a few more test cases.
27955 * string/tst-strlen.c: Better error reporting.
27956
27957 * sysdeps/x86_64/strnlen.S: New file.
27958
8e96b93a
UD
279592010-07-24 Ulrich Drepper <drepper@redhat.com>
27960
27961 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27962 lower-latency instructions.
27963
dbc676d4
UD
279642010-07-23 Ulrich Drepper <drepper@redhat.com>
27965
27966 * string/test-strcasestr.c: New file.
27967 * string/test-strstr.c: New file.
27968 * string/Makefile (strop-tests): Add strstr and strcasestr.
27969 * string/str-two-way.h: Don't undefine MAX.
27970 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27971
f6a31e0e
AS
279722010-07-21 Andreas Schwab <schwab@redhat.com>
27973
27974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27975 strcasestr-nonascii.
27976 (CFLAGS-strcasestr-nonascii.c): Define.
27977 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27978 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27979 Remove unused attribute.
27980
5dbc3b6c
RM
279812010-07-20 Roland McGrath <roland@redhat.com>
27982
27983 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27984 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27985 ld.so.cache was broken. With it, there is no way to disable dsocaps
27986 like LD_HWCAP_MASK can disable hwcaps.
27987
23d101d8
EPM
279882010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27989
27990 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27991
cc9f2e47
UD
279922010-07-16 Ulrich Drepper <drepper@redhat.com>
27993
27994 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27995 call in strcasestr.
27996 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27997 __strcasestr_sse42_nonascii.
27998 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27999 strcasestr-nonascii.c.
28000 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28001
77c1b069
LM
280022010-06-15 Luis Machado <luisgpm@br.ibm.com>
28003
28004 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28005 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28006 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28007 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28008
440566c3
UD
280092010-07-09 Ulrich Drepper <drepper@redhat.com>
28010
28011 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28012 fcntl.
28013
5be9d05d
AS
280142010-07-06 Andreas Schwab <schwab@redhat.com>
28015
c30b7ee2 28016 [BZ #11577]
5be9d05d
AS
28017 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28018 dl_signal_cerror.
28019
8a492a67
UD
280202010-07-06 Ulrich Drepper <drepper@redhat.com>
28021
28022 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28023 _PC_PIPE_BUF using F_GETPIPE_SZ.
28024
713df3d5
RM
280252010-07-05 Roland McGrath <roland@redhat.com>
28026
28027 * manual/arith.texi (Rounding Functions): Fix rint description
28028 implicit in round description.
28029
702e8f14
UD
280302010-07-02 Ulrich Drepper <drepper@redhat.com>
28031
28032 * elf/Makefile: Fix linking for a few tests to make recent linker
28033 happy.
28034
52ed8be9
AS
280352010-06-30 Andreas Schwab <schwab@redhat.com>
28036
28037 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28038 $(common-objpfx)libc_nonshared.a.
28039
f47c9a11
LM
280402010-06-21 Luis Machado <luisgpm@br.ibm.com>
28041
28042 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28043 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28044 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28045 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28046 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28047 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28048 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28049 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28064 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28065 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28066 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28067 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28068 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28069 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28070 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28071 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28072 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28073 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28074 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28075 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28090
6fb8cbcb
L
280912010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28092
28093 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28094 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28095 * string/memmove.c (memmove): Renamed to ...
28096 (MEMMOVE): ...this. Default to memmove.
28097 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28098 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28099 (END_CHK): Define.
28100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28101 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28102 mempcpy-ssse3-back memmove-ssse3-back.
28103 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28104 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28105 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28106 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28107 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28108 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28109 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28110 * sysdeps/x86_64/multiarch/memmove.c: New file.
28111 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28112 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28113 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28114 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28115 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28116 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28117 Define.
28118 (index_Fast_Copy_Backward): Define.
28119 (HAS_ARCH_FEATURE): Define.
28120 (HAS_FAST_REP_STRING): Define.
28121 (HAS_FAST_COPY_BACKWARD): Define.
28122
4e733bac 281232010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28124
28125 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28126 Restore proper fallback handling.
28127
63c4ed22
UD
281282010-06-19 Ulrich Drepper <drepper@redhat.com>
28129
ac2b484c
UD
28130 [BZ #11701]
28131 * posix/group_member.c (__group_member): Correct checking loop.
28132
63c4ed22
UD
28133 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28134 OOM in getpwuid_r correctly. Return error number when the caller
28135 should return, otherwise -1.
28136 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28137 call returning > 0 value.
28138 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28139
765ade4b
AS
281402010-06-07 Andreas Schwab <schwab@redhat.com>
28141
28142 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28143 libc_nonshared.a from targets in modules-names.
28144
80da2e09
KS
281452010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28146
28147 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28148 requires it.
28149
158db122
LM
281502010-06-10 Luis Machado <luisgpm@br.ibm.com>
28151
28152 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28153 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28154 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28155 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28156
caa78cf8
AS
281572010-06-02 Andreas Schwab <schwab@redhat.com>
28158
28159 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28160
b2ef2c01
UD
281612010-06-14 Ulrich Drepper <drepper@redhat.com>
28162
28163 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28164 and F_GETPIPE_SZ.
28165 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28166 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28167 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28169 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28170 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28171
fbd643b6
RM
281722010-06-14 Roland McGrath <roland@redhat.com>
28173
28174 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28175
f32f2869
JJ
281762010-06-07 Jakub Jelinek <jakub@redhat.com>
28177
28178 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28179 __REDIRECT followed by __THROW.
28180 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28181 * posix/getopt.h (getopt): Likewise.
28182
2a50c078
EPM
281832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28184
28185 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28186 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28187 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28188 in AT_FLAGS.
28189 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28190 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28191
eb5ad2eb
LM
281922010-05-28 Luis Machado <luisgpm@br.ibm.com>
28193
28194 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28195
3c88fe1e
L
281962010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28197
28198 [BZ #11640]
28199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28200 Properly check family and model.
28201
d2f73151
TY
282022010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28203
28204 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28205
ebd2e13d
LM
282062010-05-24 Luis Machado <luisgpm@br.ibm.com>
28207
28208 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28209
b32b8b45
UD
282102010-05-21 Ulrich Drepper <drepper@redhat.com>
28211
28212 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28213 symbol reference.
28214
9acbe24d
AS
282152010-05-19 Andreas Schwab <schwab@redhat.com>
28216
28217 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28218 symbol reference.
28219
f0ccf6ea
AS
282202010-05-21 Andreas Schwab <schwab@redhat.com>
28221
3d04ff3a
AS
28222 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28223 and internal_recvmmsg.
28224 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28225 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28226 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28227 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28228
f0ccf6ea
AS
28229 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28230 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28231 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28232
5b08ac57
AS
282332010-05-20 Andreas Schwab <schwab@redhat.com>
28234
28235 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28236
4828935d
LM
282372010-05-17 Luis Machado <luisgpm@br.ibm.com>
28238
28239 POWER7 optimizations.
28240 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28241 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28242
373d545e
UD
282432010-05-19 Ulrich Drepper <drepper@redhat.com>
28244
28245 * version.h: Update for 2.13 development version.
28246
21a2b1ae
AS
282472010-05-12 Andrew Stubbs <ams@codesourcery.com>
28248
28249 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28250 exceptions. Return 0.
28251
3f7dcb2b
RM
282522010-05-07 Roland McGrath <roland@redhat.com>
28253
28254 * elf/ldconfig.c (main): Add a const.
28255
5f24d53a 282562010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28257
a160f8d8
UD
28258 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28259 (args_options): Add no-idn option.
28260 (ahosts_keys_int): Add idn_flags to ai_flags.
28261 (parse_option): Handle 'i' option to clear idn_flags.
28262
5f24d53a
UD
28263 * malloc/malloc.c (_int_free): Possible race in the most recently
28264 added check. Only act on the data if no current modification
28265 happened.
265bb1ce
UD
28266
28267See ChangeLog.17 for earlier changes.
This page took 3.98022 seconds and 5 git commands to generate.