]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Maintain runtime of each benchmark at ~10 seconds
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d569c6ee
SP
12013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4 in CPPFLAGS.
5 ($(objpfx)bench-%.c): Remove *-ITER.
6 * benchtests/bench-modf.c: Remove definition of ITER.
7 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8 (main): Loop for DURATION seconds instead of fixed number of
9 iterations.
10 * scripts/bench.pl: Don't expect iterations in parameters.
11
a6a242fe
RM
122013-04-29 Roland McGrath <roland@hack.frob.com>
13
14 * io/fchdir.c (__fchdir): Renamed from fchdir.
15 (fchdir): Define as weak alias.
16
f2da7793
JM
172013-04-29 Joseph Myers <joseph@codesourcery.com>
18
19 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20 (ERRNO_EDOM): Likewise.
21 (ERRNO_ERANGE): Likewise.
22 (noErrnoTests): New variable.
23 (init_max_error): Set errno to 0.
24 (test_single_errno): New function.
25 (test_errno): Likewise.
26 (check_float_internal): Call test_errno. Set errno to 0.
27 (check_complex): Refer to errno tests in comment.
28 (check_int): Call test_errno. Set errno to 0.
29 (check_long): Likewise.
30 (check_bool): Likewise.
31 (check_longlong): Likewise.
32 (cos_test): Use ERRNO_* flags for errno tests instead of
33 check_int.
34 (expm1_test): Likewise.
35 (fmod_test): Likewise.
36 (ilogb_test): Likewise.
37 (lgamma_test): Likewise.
38 (pow_test): Likewise.
39 (remainder_test): Likewise.
40 (sin_test): Likewise.
41 (tan_test): Likewise.
42 (yn_test): Likewise.
43 (initialize): Set errno to 0.
44 (main): Print number of errno tests.
45 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
46
b1a36ceb
AJ
472013-04-29 Andreas Jaeger <aj@suse.de>
48
c3ed8088
AJ
49 [BZ #15084]
50 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51 and RES_USEVC.
52
f1a24198
AJ
53 [BZ #15085]
54 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
56 unimplemented.
57
9ce3b2cb
AJ
58 [BZ #15380]
59 * stdlib/random.c (__initstate): Return NULL if
60 __initstate fails.
61
f1a24198 62 [BZ #15086]
b1a36ceb
AJ
63 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
64 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
65 RES_SNGLKUPREOP.
66
7e7b6f36
AZ
672013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68
69 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70
4d14f449
JM
712013-04-29 Joseph Myers <joseph@codesourcery.com>
72
73 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
74 of individual tests.
75 (casin_test): Likewise.
76 (casinh_test): Likewise.
77
5b4217d7
JM
782013-04-27 Joseph Myers <joseph@codesourcery.com>
79
80 [BZ #15409]
81 * math/s_catan.c (__catan): Handle arguments with large real or
82 imaginary part separately without squaring.
83 * math/s_catanf.c (__catanf): Likewise.
84 * math/s_catanh.c (__catanh): Likewise.
85 * math/s_catanhf.c (__catanhf): Likewise.
86 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
87 and redefine.
88 (__catanhl): Handle arguments with large real or imaginary part
89 separately without squaring.
90 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
91 and redefine.
92 (__catanl): Handle arguments with large real or imaginary part
93 separately without squaring.
94 * math/libm-test.inc (catan_test): Add more tests.
95 (catanh_test): Likewise.
96 * sysdeps/i386/fpu/libm-test-ulps: Update.
97 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
98
4220c3ef
AJ
992013-04-27 Andreas Jaeger <aj@suse.de>
100
101 [BZ #15007]
102 * stdlib/stdlib.h: Update guards for qecvt.
103 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
104 <stdlib.h>.
105
4721b2d1
AM
1062013-04-27 Allan McRae <allan@archlinux.org>
107
108 * sysdeps/i386/fpu/libm-test-ulps: Update.
109
f0302940
JM
1102013-04-26 Joseph Myers <joseph@codesourcery.com>
111
9457fd95
JM
112 [BZ #15406]
113 * math/s_catan.c: Include <float.h>.
114 (__catan): Ensure underflow exception occurs for underflowed
115 result.
116 * math/s_catanf.c: Include <float.h>.
117 (__catanf): Ensure underflow exception occurs for underflowed
118 result.
119 * math/s_catanh.c: Include <float.h>.
120 (__catanh): Ensure underflow exception occurs for underflowed
121 result.
122 * math/s_catanhf.c: Include <float.h>.
123 (__catanhf): Ensure underflow exception occurs for underflowed
124 result.
125 * math/s_catanhl.c: Include <float.h>.
126 (__catanhl): Ensure underflow exception occurs for underflowed
127 result.
128 * math/s_catanl.c: Include <float.h>.
129 (__catanl): Ensure underflow exception occurs for underflowed
130 result.
131 * math/libm-test.inc (catan_test): Add more tests.
132 (catanh_test): Likewise.
133
f0302940
JM
134 [BZ #15405]
135 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
136 underflowed result.
137 * math/s_ccoshf.c (__ccoshf): Likewise.
138 * math/s_ccoshl.c (__ccoshl): Likewise.
139 * math/s_csin.c (__csin): Likewise.
140 * math/s_csinf.c (__csinf): Likewise.
141 * math/s_csinh.c (__csinh): Likewise.
142 * math/s_csinhf.c (__csinhf): Likewise.
143 * math/s_csinhl.c (__csinhl): Likewise.
144 * math/s_csinl.c (__csinl): Likewise.
145 * math/libm-test.inc (ccos_test): Add more tests.
146 (ccosh_test): Likewise.
147 (csin_test): Likewise.
148 (csinh_test): Likewise.
149
aa630f59
AZ
1502013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
151
152 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
153 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
154 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
155 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
156 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
157 powerpc/power5+/fpu folders.
158 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
159
160
1b835983
MT
1612013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
162
163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
164
73709b26
JM
1652013-04-25 Joseph Myers <joseph@codesourcery.com>
166
167 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
168 additions to variable.
169 [$(config-machine) = x86_64] (modules-names): Likewise.
170 ($(objpfx)tst-audit3): Remove dependency.
171 ($(objpfx)tst-audit3.out): Likewise.
172 ($(objpfx)tst-audit4): Likewise.
173 ($(objpfx)tst-audit4.out): Likewise.
174 ($(objpfx)tst-audit5): Likewise.
175 ($(objpfx)tst-audit5.out): Likewise.
176 ($(objpfx)tst-audit6): Likewise.
177 ($(objpfx)tst-audit6.out): Likewise.
178 ($(objpfx)tst-audit7): Likewise.
179 ($(objpfx)tst-audit7.out): Likewise.
180 (tst-audit3-ENV): Remove variable.
181 (tst-audit4-ENV): Likewise.
182 (tst-audit5-ENV): Likewise.
183 (tst-audit6-ENV): Likewise.
184 (tst-audit7-ENV): Likewise.
185 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
186 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
187 addition to variable.
188 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
189 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
190 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
191 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
192 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
193 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
194 tst-audit3, tst-audit4 and tst-audit5.
195 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
196 tst-audit6 and tst-audit7.
197 [$(subdir) = elf] (modules-names): Add audit modules for those
198 tests.
199 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
200 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
201 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
202 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
203 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
204 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
205 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
206 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
207 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
208 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
209 [$(subdir) = elf] (tst-audit3-ENV): New variable.
210 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
211 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
212 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
213 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
214 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
215 Likewise.
216 [$(subdir) = elf && $(config-cflags-avx) = yes]
217 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
218 [$(subdir) = elf && $(config-cflags-avx) = yes]
219 (CFLAGS-tst-auditmod4a.c): Likewise.
220 [$(subdir) = elf && $(config-cflags-avx) = yes]
221 (CFLAGS-tst-auditmod4b.c): Likewise.
222 [$(subdir) = elf && $(config-cflags-avx) = yes]
223 (CFLAGS-tst-auditmod6b.c): Likewise.
224 [$(subdir) = elf && $(config-cflags-avx) = yes]
225 (CFLAGS-tst-auditmod6c.c): Likewise.
226 [$(subdir) = elf && $(config-cflags-avx) = yes]
227 (CFLAGS-tst-auditmod7b.c): Likewise.
228 * elf/tst-audit3.c: Move to ...
229 * sysdeps/x86_64/tst-audit3.c: ... here.
230 * elf/tst-audit4.c: Move to ...
231 * sysdeps/x86_64/tst-audit4.c: ... here.
232 * elf/tst-audit5.c: Move to ...
233 * sysdeps/x86_64/tst-audit5.c: ... here.
234 * elf/tst-audit6.c: Move to ...
235 * sysdeps/x86_64/tst-audit6.c: ... here.
236 * elf/tst-audit7.c: Move to ...
237 * sysdeps/x86_64/tst-audit7.c: ... here.
238 * elf/tst-auditmod3a.c: Move to ...
239 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
240 * elf/tst-auditmod3b.c: Move to ...
241 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
242 * elf/tst-auditmod4a.c: Move to ...
243 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
244 * elf/tst-auditmod4b.c: Move to ...
245 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
246 * elf/tst-auditmod5a.c: Move to ...
247 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
248 * elf/tst-auditmod5b.c: Move to ...
249 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
250 * elf/tst-auditmod6a.c: Move to ...
251 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
252 * elf/tst-auditmod6b.c: Move to ...
253 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
254 * elf/tst-auditmod6c.c: Move to ...
255 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
256 * elf/tst-auditmod7a.c: Move to ...
257 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
258 * elf/tst-auditmod7b.c: Move to ...
259 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
260
1ef74943
PP
2612013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
262
263 [BZ #15366]
264 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
265 define unconditionally.
266 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
267 define unconditionally.
268 (INT8_C, INT16_C, etc.): Likewise.
269
93fd48c5
MR
2702013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
271
ae9552cf
MR
272 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
273 __ehdr_start with hidden visibility.
274
93fd48c5
MR
275 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
276
418601aa
CD
2772013-04-24 Carlos O'Donell <carlos@redhat.com>
278
279 * math/libm-test.inc (cos_test): Use accurate hex constants.
280 (sincost_test): Likewise.
281
2f38fbfe
JM
2822013-04-24 Joseph Myers <joseph@codesourcery.com>
283
5e221800
JM
284 * math/libm-test.inc (catan_test): Add more tests.
285 (catanh_test): Likewise.
286
77f143fd
JM
287 * math/s_catanf.c (__catanf): Use suffixed floating-point
288 constants.
289 * math/s_catanhf.c (__catanhf): Likewise.
290 * math/s_catanhl.c (__catanhl): Likewise.
291 * math/s_catanl.c (__catanl): Likewise.
292
2f38fbfe
JM
293 [BZ #15394]
294 * math/s_catan.c (__catan): Calculate imaginary part of result
295 with log1p not log unless computing log of number close to 0.
296 * math/s_catanf.c (__catanf): Likewise.
297 * math/s_catanl.c (__catanl): Likewise.
298 * math/s_catanh.c (__catanh): Calculate real part of result with
299 log1p not log unless computing log of number close to 0.
300 * math/s_catanhf.c (__catanhf): Likewise.
301 * math/s_catanhl.c (__catanhl): Likewise.
302 * math/libm-test.inc (catan_test): Add more tests.
303 (catanh_test): Likewise.
304 * sysdeps/i386/fpu/libm-test-ulps: Update.
305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
306
45d69176
SP
3072013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
308
309 * benchtests/Makefile: Mention files in which fast and slow
310 paths of math functions are implemented.
311
87f51853
RM
3122013-04-23 Roland McGrath <roland@hack.frob.com>
313
314 * sysdeps/posix/timespec_get.c: New file.
315
3c026539
AZ
3162013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
317
318 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
319 POWER.
320 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
321 for POWER.
322 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
323 powerpc/power5/fpu folders.
324 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
325 * benchtests/Makefile: Add modf testcase.
326 * benchtests/bench-modf.c: New file: Benchmark test for mo
327
ff491d14
SP
3282013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
329
330 [BZ #14888]
331 * time/Makefile (tests): Add tst-strptime-whitespace.
332 * time/strptime_l.c (get_number): Use ISSPACE.
333 (__strptime_internal): Likewise.
334 * time/tst-strptime-whitespace.c: New test case.
335
7ed3f4e8
AS
3362013-04-23 Andreas Schwab <schwab@linux-m68k.org>
337
338 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
339 member.
340 (_nss_files_init): Set it here.
341
5c95f7b6
HC
3422013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
343
344 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
345 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
346 unsigned.
347
d34c9158
JBG
3482013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
349
350 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
351
2169712d
SP
3522013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
353
354 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
355 size just once.
356
29c5de99
DM
3572013-04-21 David S. Miller <davem@davemloft.net>
358
359 * po/ru.po: Update Russion translation from translation project.
360
ccdad15d
AC
3612013-04-17 Adam Conrad <adconrad@0c3.net>
362
363 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
364 and setfsgid.
365
0f122b8d
CD
3662013-04-17 Carlos O'Donell <carlos@redhat.com>
367
5c5b07da 368 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 369 * configure: Regenerate.
5c5b07da 370 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
371 Add example to error message.
372 * sysdeps/i386/configure: Regenerate.
373
037714dd
SP
3742013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
375
376 * benchtests/Makefile (bench): Add cos, tan, slowcos and
377 slowtan.
378 * benchtests/cos-inputs: New file.
379 * benchtests/slowcos-inputs: New file.
380 * benchtests/slowcos.c: New file.
381 * benchtests/slowtan-inputs: New file.
382 * benchtests/slowtan.c: New file.
383 * benchtests/tan-inputs: New file.
384
e913141d
RM
3852013-04-16 Roland McGrath <roland@hack.frob.com>
386
387 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
388 considered kosher.
389
a2964074
SP
3902013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
391
4856bcd2
SP
392 * benchtests/Makefile: Include cppflags-iterator.mk to add
393 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
394
a2964074
SP
395 * Makefile.in (bench-clean): New target.
396 * benchtests/Makefile (bench-clean): Likewise.
397
9fbf9aca
DH
3982013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
399
400 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
401
207d1e2a
TS
4022013-04-15 Thomas Schwinge <thomas@codesourcery.com>
403
404 * stdio-common/tstdiomisc.c: Fix coding-style violation.
405
306dfba9
AS
4062013-04-15 Andreas Schwab <schwab@suse.de>
407
408 * nscd/grpcache.c (cache_addgr): Properly check for short write.
409 * nscd/initgrcache.c (addinitgroupsX): Likewise.
410 * nscd/pwdcache.c (cache_addpw): Likewise.
411 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
412 more than recsize.
413
206a6699
SP
4142013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
415
416 * benchtests/Makefile (bench): Write all output to
417 bench-out.tmp together.
418
0582f6b3
AS
4192013-04-15 Andreas Schwab <schwab@suse.de>
420
421 * nscd/nscd.c (main): Don't fork again after closing files.
422
acb4325f
SP
4232013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
424
5cb26d0a
SP
425 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
426
acb4325f
SP
427 * benchtests/Rules (bench-deps): Collect dependencies into a
428 single variable. Add Makefile to dependencies.
429 ($(objpfx)bench-%.c): Depend on bench-deps.
430
47792506
RM
4312013-04-12 Roland McGrath <roland@hack.frob.com>
432 Xavier Roche <roche+kml2@exalead.com>
433
434 [BZ #15361]
435 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
436 just that it's a file descriptor.
437 * manual/llio.texi (Synchronizing AIO Operations): Update description
438 for EBADF error from aio_fsync.
439
8fc1bee5
SP
4402013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
441
442 * Rules (bench): Move target definition...
443 * benchtests/Makefile: ... here.
444
aba5e333
CD
4452013-04-11 Carlos O'Donell <carlos@redhat.com>
446
447 * math/libm-test.inc (cos_test): Fix PI/2 test.
448 (sincos_test): Likewise.
449 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
450 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
451
273cdee8
AS
4522013-04-11 Andreas Schwab <schwab@suse.de>
453
6ecec3b6
AS
454 [BZ #13988]
455 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
456 accept exponent character only when digits were seen.
457 * stdio-common/Makefile (tests): Add bug26.
458 * stdio-common/bug26.c: New file.
459
273cdee8
AS
460 [BZ #14293]
461 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
462 non-freeable.
463
8da491f5
SP
4642013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
465
01dc6df9
SP
466 * Makeconfig (rtld-prefix): Define built linker prefix.
467 * Rules (run-bench): Use it.
468 * math/Makefile (run-regen-ulps): Likewise.
469
8da491f5
SP
470 * Rules (bench): Remove eval.
471
abe7f530
SP
4722013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
473 Roland McGrath <roland@hack.frob.com>
474 Ondrej Bilka <neleai@seznam.cz>
475
476 [BZ #15346]
477 * time/getdate.c: Include ctype.h and alloca.h.
478 (__getdate_r): Trim leading and trailing spaces of input.
479 * time/tst-getdate.c (tests): Add tests with leading and
480 trailing spaces.
481
61c23e62
RM
4822013-04-08 Roland McGrath <roland@hack.frob.com>
483
484 [BZ #14280]
485 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
486 when computing value.
487
7208a313
CD
4882013-04-06 Carlos O'Donell <carlos@redhat.com>
489
085b2d41
CD
490 * math/README.libm-test (How can I generate "libm-test-ulps"?):
491 Use testrun.sh to run libm tests.
492
7208a313
CD
493 [BZ #15309]
494 * elf/dl-open.c (dl_open_worker): memset all of seen array.
495
872c0acd
MM
4962013-04-06 Marko Myllynen <myllynen@redhat.com>
497
498 [BZ #15264]
499 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
500
26510bdd
CD
5012013-04-06 Carlos O'Donell <carlos@redhat.com>
502
503 * Makefile.in (regen-ulps): New target.
504 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
505 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
506 [ifneq (no,$(PERL)] (regen-ulps): New target.
507 [ifeq (no,$(PERL)] (regen-ulps): New target.
508 * math/libm-test.inc (ulps_file_name): Define.
509 (output_dir): New variable.
510 (options): Add "output-dir" option.
511 (parse_opt): Handle 'o' case.
512 (main): If output_dir is non-NULL use it as a prefix
513 otherwise use "".
514 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
515
a01f19c8
CD
5162013-04-06 Carlos O'Donell <carlos@redhat.com>
517
518 [BZ #10060, #10062]
519 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
520 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
521 fail configure if __sync_val_compare_and_swap is not inlined.
522 * sysdeps/i386/configure: Regenerate.
523 * configure.in: Build for i686 when configured for i386.
524 * configure: Regenerate.
525 * README: Remove i386 reference.
526
b7a329a5
CD
5272013-04-06 Carlos O'Donell <carlos@redhat.com>
528
529 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
530 * sysdeps/s390/s390-64/sysdep.h: Likewise.
531
bf0f50df
TS
5322013-04-05 Thomas Schwinge <thomas@codesourcery.com>
533
ee091edf
TS
534 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
535 (lmsnanval): New variables.
536 (F): Add conversion tests.
537 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
538 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
539
a8b792d6
TS
540 * stdio-common/tstdiomisc.c (F): Properly collect individual
541 tests' results.
542
a1cbf437
TS
543 [BZ #14686, #15336]
544 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
545 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
546 Instead, use input NaN values or generate a qNaN by arithmetic
547 operation. Also fix bugs to comply with the standard.
548 * math/libm-test.inc (remainder_test): Add more tests.
549
8b43a0c9
TS
550 [BZ #15335, #15342]
551 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
552 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
553 input NaN values or generate a qNaN by arithmetic operation.
554
d91da4ce
TS
555 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
556 unreachable code.
557
bf0f50df
TS
558 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
559 definitions.
560
05e166c8
JM
5612013-04-03 Joseph Myers <joseph@codesourcery.com>
562
563 [BZ #14478]
564 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
565 underflowed result.
566 * math/s_cexpf.c (__cexpf): Likewise.
567 * math/s_cexpl.c (__cexpl): Likewise.
568 * math/libm-test.inc (cexp_test): Add more tests.
569
1cef1b19
AS
5702013-04-03 Andreas Schwab <schwab@suse.de>
571
572 [BZ #15330]
573 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
574 order arrays from heap if bigger than alloca cutoff.
575
74d87055
TS
5762013-04-03 Thomas Schwinge <thomas@codesourcery.com>
577
578 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
579 (SNAN_TESTS_double): Refer to GCC PR56831.
580 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
581 GCC PR56828.
582
d755bba4
SP
5832013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
584
90d5d5bb
SP
585 * Rules (bench): Move bench.out after the run is complete.
586
73e0cd5d
SP
587 * Rules (bench): Echo currently running benchmark.
588
64aabd4b
SP
589 * benchtests/Makefile (bench): Add atan and slowatan.
590 * benchtests/atan-inputs: New file.
591 * benchtests/slowatan-inputs: New file.
592 * benchtests/slowatan.c: New file.
593
c871eccd
SP
594 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
595 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
596 its value.
597
d755bba4
SP
598 [BZ #15305]
599 * sysdeps/unix/sysv/linux/kernel-features.h
600 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
601 __ASSUME_XFS_RESTRICTED_CHOWN.
602 * sysdeps/unix/sysv/linux/pathconf.c
603 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
604 Save and restore errno.
605
52ce4860
JM
6062013-04-02 Joseph Myers <joseph@codesourcery.com>
607
608 [BZ #15327]
609 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
610 arguments using __kernel_casinh.
611 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
612 arguments using __kernel_casinhf.
613 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
614 arguments using __kernel_casinhl.
615 * math/libm-test.inc (cacosh_test): Add more tests.
616 * sysdeps/i386/fpu/libm-test-ulps: Update.
617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
618
81f311c2
SP
6192013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
620
e7906a47
SP
621 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
622 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
623
92e3664b
SP
624 * bench/Makefile (bench): Add sin and slowsin.
625 * benchtests/sin-inputs: New file.
626 * benchtests/slowsin-inputs: New file.
627 * benchtests/slowsin.c: New file.
628
81f311c2
SP
629 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
630 (bench): Add slowexp and slowpow.
631 (exp-ITER): Increase iterations.
632 (pow-ITER): Likewise.
633 * benchtests/exp-inputs: Change input.
634 * benchtests/pow-inputs: Likewise.
635 * benchtests/slowexp-inputs: New file.
636 * benchtests/slowexp.c: New file.
637 * benchtests/slowpow-inputs: New file.
638 * benchtests/slowpow.c: New file.
639
ab0f1aa9
AZ
6402013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
641
642 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
643 instructions.
644 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
645 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
646 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
647 * benchtests/Makefile: Add rint benchtest.
648 * benchtests/rint-inputs: Input for rint benchtest.
649
57267616
TS
6502013-04-02 Thomas Schwinge <thomas@codesourcery.com>
651
652 * Versions.def (libm): Add GLIBC_2.18.
653 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
654 hidden libm prototypes.
655 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
656 * math/Makefile (libm-calls): Add s_issignaling.
657 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
658 __issignalingf, __issignalingl. Adjust all libm.abilist files.
659 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
660 declaration.
661 * math/math.h [__USE_GNU] (issignaling): New macro.
662 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
663 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
664 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
665 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
666 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
667 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
668 * manual/arith.texi (issignaling): New section.
669 * manual/libm-err-tab.pl (@all_functions): Update comment.
670 * math/gen-libm-test.pl (parse_args): Apply special handling for
671 issignaling.
672 * math/libm-test.inc (print_float, issignaling_test): New
673 functions.
674 (check_float_internal): Add issignaling checks.
675 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
676 default definition.
677 * sysdeps/powerpc/math-tests.h: New file.
678 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
679 tests.
680 * math/test-snan.c (TEST_FUNC): Likewise.
681
6142896d
DM
6822013-03-30 David S. Miller <davem@davemloft.net>
683
684 * po/de.po: Update from translation team.
685
ccc8cadf
JM
6862013-03-30 Joseph Myers <joseph@codesourcery.com>
687
688 [BZ #10357]
689 * math/k_casinh.c (__kernel_casinh): Handle arguments with
690 imaginary part less than 1.0 and real part less than 0.5
691 specially.
692 * math/k_casinhf.c (__kernel_casinhf): Likewise.
693 * math/k_casinhl.c (__kernel_casinhl): Likewise.
694 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
695 (cacos_test): Add more tests.
696 (casin_test): Likewise.
697 (casinh_test): Likewise.
698 * sysdeps/i386/fpu/libm-test-ulps: Update.
699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
700
0f6a8d4b
SP
7012013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
702
0d1029de
SP
703 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
704 ONE with its value.
705
c2d94018
SP
706 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
707 (__pow_mp): Replace ONE and MONE with their values.
708 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
709 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
710 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
711 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
712 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
713 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
714
27ec37f1
SP
715 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
716
a64d7e0e
SP
717 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
718 (__pow_mp): Replace ZERO and MZERO with their values.
719 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
720 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
721 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
722 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
723 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
724 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
725 (__sqr): Likewise.
726
d26dd3eb
SP
727 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
728
0f6a8d4b
SP
729 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
730
e57b0c61
RM
7312013-03-28 Roland McGrath <roland@hack.frob.com>
732
733 * include/stdlib.h [!SHARED] (__call_tls_dtors):
734 Declare with __attribute__ ((weak)).
735 * stdlib/exit.c (__libc_atexit) [!SHARED]:
736 Call __call_tls_dtors only if it's not NULL.
737
356b3480
RM
7382013-03-28 Roland McGrath <roland@hack.frob.com>
739
288f7d79
RM
740 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
741 didn't do it already, then set _dl_phdr and _dl_phnum based on the
742 magic __ehdr_start linker symbol if it's defined.
743 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
744 them up here if it was already done.
745
dc0a0263
RM
746 * elf/dl-support.c (_dl_phdr): Make pointer to const.
747 (_dl_aux_init): Use const in cast when setting it.
748 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
749 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
750 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
751
3d3436ae
RM
752 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
753 Declare them here.
754 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
755 * csu/libc-tls.c: Nor here.
756 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
757
356b3480
RM
758 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
759 (__libc_message): Never call vsyslog.
760
b0f1246a
AM
7612013-03-28 Alan Modra <amodra@gmail.com>
762
763 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
764 Define as empty.
765 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
766 Likewise.
767
fbbe2b9a
AZ
7682013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
769
770 [BZ #15214]
771 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
772 underflow.
773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
774
1728ab37
SP
7752013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
776
7a86be6e
SP
777 [BZ #15304]
778 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
779 Don't add gid passed as argument.
780
1728ab37
SP
781 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
782
3a7182a1
JM
7832013-03-27 Joseph Myers <joseph@codesourcery.com>
784
785 [BZ #15307]
786 * math/k_casinh.c (__kernel_casinh): Handle arguments with
787 imaginary part between 1.0 and 1.5 and real part less than 0.5
788 specially.
789 * math/k_casinhf.c (__kernel_casinhf): Likewise.
790 * math/k_casinhl.c (__kernel_casinhl): Likewise.
791 * math/libm-test.inc (cacos_test): Add more tests.
792 (casin_test): Likewise.
793 (casinh_test): Likewise.
794 * sysdeps/i386/fpu/libm-test-ulps: Update.
795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
796
6f2e90e7
SP
7972013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
798
5739f705
SP
799 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
800 constants.
801 (norm): Likewise.
802 (denorm): Likewise.
803 (__dbl_mp): Likewise.
804 (add_magnitudes): Likewise.
805 (sub_magnitudes): Likewise.
806 (__add): Likewise.
807 (__sub): Likewise.
808 (__mul): Likewise.
809 (__sqr): Likewise.
810 (__inv): Likewise.
811 (__dvd): Likewise.
812
e375e83d
SP
813 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
814 commented code.
815 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
816 (__dubcos): Likewise.
817 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
818 (__ieee754_acos): Likewise.
819 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
820 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
821 (__exp1): Likewise.
822 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
823 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
824 (log1): Likewise.
825 (my_log2): Likewise.
826 (checkint): Likewise.
827 * sysdeps/ieee754/dbl-64/e_remainder.c
828 (__ieee754_remainder): Likewise.
829 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
830 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
831 (bsloww): Likewise.
832 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
833
6f2e90e7
SP
834 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
835 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
836 MANTISSA_STORE_T to store computations on mantissa. Use
837 macros for rounding and division.
838 (denorm): Likewise.
839 (__dbl_mp): Likewise.
840 (add_magnitudes): Likewise.
841 (sub_magnitudes): Likewise.
842 (__mul): Likewise.
843 (__sqr): Likewise.
844 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
845 powers of two in terms of TWOPOW macro.
846 (mp_no): Make type of mantissa as MANTISSA_T.
847 [!RADIXI]: Define RADIXI.
848 [!TWO52]: Define TWO52.
849 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
850
fce14d4e
AZ
8512013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
852
853 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
854 llroundl symbol when building for PPC32.
855
9ad027fb
MW
8562013-03-24 Mark H Weaver <mhw@netris.org>
857
858 * manual/arith.texi (Normalization Functions): Fix prototypes for
859 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
860
e42a38dd
AZ
8612013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
862
863 [BZ #13889]
864 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
865 high value to check if expl overflow.
866 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
867 to check for underflow and overflow.
868 * math/libm-test.inc: Add exp test.
869
2e0fb521
DL
8702013-03-21 Dmitry V. Levin <ldv@altlinux.org>
871
872 [BZ #11120]
873 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
874 with NOT_IN_libc.
875
b5784d95
AZ
8762013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
877
878 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
879 symbol.
880
5aa4a1a1
TS
8812013-03-21 Thomas Schwinge <thomas@codesourcery.com>
882
bdef0be7
TS
883 * math/gen-libm-test.pl (parse_args, special_functions): Properly
884 wrap blocks consisting of several statements.
885
5aa4a1a1
TS
886 * sysdeps/generic/math-tests.h: New file.
887 * sysdeps/i386/fpu/math-tests.h: Likewise.
888 * math/test-snan.c: Include it.
889 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
890
98c48fe5
JM
8912013-03-21 Joseph Myers <joseph@codesourcery.com>
892
893 [BZ #15285]
894 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
895 (__ieee754_j0l): Do not improve calculations using cos of twice
896 input for inputs above LDBL_MAX / 2.0L.
897 (__ieee754_y0l): Likewise.
898 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
899 (__ieee754_j1l): Do not improve calculations using cos of twice
900 input for inputs above LDBL_MAX / 2.0L.
901 (__ieee754_y1l): Likewise.
902 * math/libm-test.inc (j0_test): Add another test.
903 (j1_test): Likewise.
904 (y0_test): Likewise.
905 (y1_test): Likewise.
906 * sysdeps/i386/fpu/libm-test-ulps: Update.
907
3775a8bc
SP
9082013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
909
910 * Rules ($(objpfx)bench-%.c): Include code from a C source
911 file.
912
0a1b2ae6
JM
9132013-03-21 Joseph Myers <joseph@codesourcery.com>
914
915 [BZ #15287]
916 * math/k_casinh.c (__kernel_casinh): Handle arguments with
917 imaginary part 1.0 and real part less than 0.5 specially.
918 * math/k_casinhf.c (__kernel_casinhf): Likewise.
919 * math/k_casinhl.c (__kernel_casinhl): Likewise.
920 * math/libm-test.inc (cacos_test): Add more tests.
921 (casin_test): Likewise.
922 (casinh_test): Likewise.
923 * sysdeps/i386/fpu/libm-test-ulps: Update.
924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
925
b33d4ce4
SP
9262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
927
928 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
929 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
930
bef0b507
JM
9312013-03-20 Joseph Myers <joseph@codesourcery.com>
932
933 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
934 * config.make.in (config-cflags-sse4): Remove variable.
935 (config-cflags-avx): Likewise.
936 (config-cflags-sse2avx): Likewise.
937 (config-cflags-novzeroupper): Likewise.
938 (config-asflags-i686): Likewise.
939 (have-mfma4): Likewise.
940 (have-as-vis3): Likewise.
941 (MIG): Likewise.
942 * configure.in (MIG): Do not AC_SUBST.
943 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
944 (libc_cv_cc_sse4): Do not AC_SUBST.
945 (libc_cv_cc_avx): Likewise.
946 (libc_cv_cc_sse2avx): Likewise.
947 (libc_cv_cc_novzeroupper): Likewise.
948 (libc_cv_cc_fma4): Likewise.
949 (libc_cv_as_i686): Likewise.
950 (libc_cv_sparc_as_vis3): Likewise.
951 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
952 LIBC_CONFIG_VAR.
953 (config-asflags-i686): Likewise.
954 (config-cflags-avx): Likewise.
955 (config-cflags-sse2avx): Likewise.
956 (have-mfma4): Likewise.
957 (config-cflags-novzeroupper): Likewise.
958 * sysdeps/mach/configure.in (MIG): Likewise.
959 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
960 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
961 LIBC_CONFIG_VAR.
962 (config-cflags-avx): Likewise.
963 (config-cflags-sse2avx): Likewise.
964 (have-mfma4): Likewise.
965 (config-cflags-novzeroupper): Likewise.
966 * configure: Regenerated.
967 * sysdeps/i386/configure: Likewise.
968 * sysdeps/mach/configure: Likewise.
969 * sysdeps/sparc/configure: Likewise.
970 * sysdeps/x86_64/configure: Likewise.
971
912cc4b3
RM
9722013-03-20 Roland McGrath <roland@hack.frob.com>
973
974 [BZ #14812]
975 * locale/programs/localedef.c (options): Put N_ translation marker
976 on argument names, not just descriptions.
977
04eed2b0
MS
9782013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
979
980 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
981
a065ceff
OB
9822013-03-20 Ondřej Bílka <neleai@seznam.cz>
983
9bb2a810 984 [BZ #14176]
a065ceff
OB
985 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
986
a600e5ce
RM
9872013-03-19 Roland McGrath <roland@hack.frob.com>
988
989 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
990 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
991 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
992 [!BEFORE_ABORT] (before_abort): New function.
993 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
994 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
995 (writev_for_fatal): New function.
996 (WRITEV_FOR_FATAL): New macro; call that.
997 (backtrace_and_maps): New function.
998 (BEFORE_ABORT): New macro; call that.
999 (struct str_list): Type removed.
1000 (__libc_message, __libc_fatal): Functions removed.
1001 Include <sysdeps/posix/libc_fatal.c> instead.
1002
6b18bea6
JM
10032013-03-19 Joseph Myers <joseph@codesourcery.com>
1004
1005 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1006 constants.
1007 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1008 double constants.
1009
aaa8cb4b
AS
10102013-03-19 Andreas Schwab <schwab@suse.de>
1011
44673770
AS
1012 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1013 * sysdeps/gnu/configure: Regenerate.
1014
aaa8cb4b
AS
1015 * configure.in: Substitute libc_cv_rtlddir.
1016 * configure: Regenerate.
1017 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1018 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1019 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1020 * elf/Makefile (install-others, CFLAGS-interp.c)
1021 (ldso_install, common-ldd-rewrite): Likewise.
1022 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1023 $(inst_slibdir)/$(rtld-installed-name).
1024 * scripts/rellns-sh: Add -p option.
1025 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1026 for source.
1027
d3cfc668
SP
10282013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1029
1030 * manual/nptl.texi: Renamed to ...
1031 * manual/threads.texi: ... this.
1032 * manual/Makefile (chapters): Update.
1033
0e2b9cdd
RM
10342013-03-18 Roland McGrath <roland@hack.frob.com>
1035
1036 [BZ #14812]
1037 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1038 on argument names, not just descriptions.
0e2b9cdd
RM
1039 * malloc/memusagestat.c (options): Likewise.
1040 * nss/getent.c (options): Likewise.
63270c24
RM
1041
10422013-03-18 Benno Schulenberg <bensberg@justemail.net>
1043
1044 [BZ #14812]
1045 * iconv/iconv_prog.c (options): Put N_ translation marker
1046 on argument names, not just descriptions.
1047 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1048
b2e1393c
OB
10492013-03-18 Ondrej Bilka <neleai@seznam.cz>
1050
1051 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1052 implementation which is faster on all x86_64 architectures.
1053 Tested on AMD, Intel Nehalem, SNB, IVB.
1054 * sysdeps/x86_64/strnlen.S: Likewise.
1055
1056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1057 Remove all multiarch strlen and strnlen versions.
1058 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1059 Remove strlen and strnlen related parts.
1060
1061 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1062 Inline strlen part.
1063 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1064
1065 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1066 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1067 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1068 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1069 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1070 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1071
ec4ff04d
CD
10722013-03-17 Carlos O'Donell <carlos@redhat.com>
1073
1074 * manual/memory.texi (Malloc Tunable Parameters):
1075 Sort parameters alphabetically. Add comments for missing entries.
1076
cd18e90a
DM
10772013-03-17 David S. Miller <davem@davemloft.net>
1078
1079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1080
2a185d32
JM
10812013-03-16 Joseph Myers <joseph@codesourcery.com>
1082
d2f9799e
JM
1083 [BZ #15283]
1084 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1085 for arguments at most half maximum finite value.
1086 * math/libm-test.inc (j0_test): Add more tests.
1087 (j1_test): Likewise.
1088 (y0_test): Likewise.
1089 (y1_test): Likewise.
1090 * sysdeps/i386/fpu/libm-test-ulps: Update.
1091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1092
2a185d32
JM
1093 [BZ #14155]
1094 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1095 1 / x and functions P and Q for arguments above 0x1p256L.
1096 (__ieee754_y0l): Likewise.
1097 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1098 (__ieee754_y1l): Likewise.
1099 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1100 (j1_test): Likewise.
1101 (y0_test): Likewise.
1102 (y1_test): Likewise.
1103
6cbec759
TS
11042013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1105
1106 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1107 variable.
1108
bc16e260
RM
11092013-03-15 Roland McGrath <roland@hack.frob.com>
1110
aefc9b8c
RM
1111 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1112 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1113 zero since it's initialized to EXEC_PAGESIZE.
1114
bc16e260
RM
1115 * sysdeps/unix/sysv/linux/ldsodefs.h
1116 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1117 * sysdeps/generic/ldsodefs.h: ... here.
1118
a57da955
TS
11192013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1120
af00a34d
TS
1121 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1122
495ded2c
TS
1123 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1124 math/test-snan.c.
1125 * math/test-snan.c: Renamed from
1126 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1127 * math/Makefile (tests): Add test-snan.
1128 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1129 test-powerpc-snan.
1130
777b0332
TS
1131 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1132 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1133 functions.
1134 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1135 __builtin_nan family of functions.
1136 * math/libm-test.inc (initialize): Initialize qnan_value with
1137 __builtin_nan family of functions.
1138 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1139 Remove variables.
1140 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1141 Remove functions.
1142 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1143 storage class. Initialize qNaN_var and sNaN_var with
1144 __builtin_nan and __builtin_nans families of functions,
1145 respectively.
1146
64d063b8
TS
1147 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1148 (sqrt_test): Remove duplicate test with qNaN input.
1149 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1150 (round_test, signbit_test, significand_test): Note missing +/-Inf
1151 as well as qNaN tests.
1152
67e971f1
TS
1153 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1154 qNaN_var. Fix a few strings, too.
1155 * math/libm-test.inc (nan_value): Rename to qnan_value.
1156 * math/gen-libm-test.pl (%beautify): Adjust to that.
1157 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1158 * math/test-misc.c (main): Likewise.
1159 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1160 to __qnan_bytes, and __qnan_union, respectively.
1161 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1162 Likewise.
1163 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1164 and lqnanval, respectively.
1165 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1166 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1167 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1168 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1169
64487e12
TS
1170 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1171 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1172 doubles.
1173
e015e27b
TS
1174 * math/test-misc.c (main): Fix copy'n'pastos.
1175 * misc/tst-efgcvt.c (special): Likewise.
1176
a57da955
TS
1177 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1178 Remove declarations.
1179
1e380345
SP
11802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1181
1182 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1183 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1184 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1185 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1186
ef26eece
AZ
11872013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1188
1189 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1190 macro to return vdso values correctly in IFUNC implementations.
1191 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1192 Optimization by using IFUNC.
1193
8cfdb7e0
SP
11942013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1195 Richard Henderson <rth@redhat.com>
1196 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1197
1198 * Makefile.in (bench): New target.
1199 * NEWS: Mention the benchmark framework.
1200 * Rules (bench): Likewise.
1201 (binaries-bench): Generate binaries for functions to
1202 benchmark.
1203 * benchtests/Makefile: New makefile for benchmark tests.
1204 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1205 programs.
1206 * benchtests/exp-inputs: New input file for EXP function.
1207 * benchtests/pow-inputs: New input file for POW function.
1208 * scripts/bench.pl: New script to generate source files for
1209 benchmark programs.
1210
bcda9880
SP
12112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1212
d22ca8cd
SP
1213 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1214 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1215 computations on mantissa. Use macros for rounding and
1216 division.
1217 (denorm): Likewise.
1218 (__dbl_mp): Likewise.
1219 (add_magnitudes): Likewise.
1220 (sub_magnitudes): Likewise.
1221 (__mul): Likewise.
1222 (__sqr): Likewise.
1223 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1224 powers of two in terms of TWOPOW macro.
1225 (mp_no): Make type of mantissa as MANTISSA_T.
1226 [!RADIXI]: Define RADIXI.
1227 [!TWO52]: Define TWO52.
1228 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1229
bcda9880
SP
1230 * manual/nptl.texi (cindex): Modify threads to pthreads.
1231
06d5adfb
JM
12322013-03-15 Joseph Myers <joseph@codesourcery.com>
1233
1234 * sysdeps/x86_64/preconfigure: Regenerated.
1235
41c7328e
JM
12362013-03-14 Joseph Myers <joseph@codesourcery.com>
1237
1238 [BZ #14155]
1239 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1240 0x1p28 and above.
1241 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1242 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1243 0x1p28 and above.
1244 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1245 * math/libm-test.inc (j0_test): Do not allow one spurious
1246 underflow exception.
1247 (y1_test): Likewise.
1248
e25cfa60
SP
12492013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1250
0409959c
SP
1251 * manual/Makefile (chapters): Add nptl.
1252 * manual/debug.texi (Debugging Support): Add link to Threads
1253 chapter.
1254 * manual/nptl.texi: New file.
1255
e25cfa60
SP
1256 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1257
58a1335e
PB
12582013-03-14 Petr Baudis <pasky@ucw.cz>
1259
1260 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1261 for non-NULL pointer before the memory validity test. Pointed
1262 out by Holger Brunck <holger.brunck@keymile.com>.
1263
9dc7c64f
AS
12642013-03-13 Andreas Schwab <schwab@suse.de>
1265
1266 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1267 instead of .os.
1268
54206aa6
JM
12692013-03-13 Joseph Myers <joseph@codesourcery.com>
1270
1271 * timezone/zic.c: Update from tzcode 2013b.
1272
e98cdb38
CD
12732013-03-12 Carlos O'Donell <carlos@redhat.com>
1274
1275 * manual/install.texi (Configuring and compiling):
1276 Mention i686 and i586.
1277 * INSTALL: Regenerate.
1278
9967e003
RM
12792013-03-12 Roland McGrath <roland@hack.frob.com>
1280
1281 * sysdeps/init_array/elf-init.c: New file.
1282 * csu/elf-init.c
1283 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1284 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1285
1286 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1287 __gmon_start__ as global, but as static with a .preinit_array pointer.
1288 * sysdeps/init_array/gmon-start.c: New file. Use that.
1289 * sysdeps/init_array/crti.S: New file, empty except for comments.
1290 * sysdeps/init_array/crtn.S: Likewise.
1291
e6b5a293 12922013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1293
1294 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1295 definining bcopy.
80f844c9
OB
1296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1297 Remove Prefer_SSE_for_memop.
1298 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1299 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1300 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1302 memset-x86-64.
80f844c9 1303 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1304 Remove bzero, memset ifunc support.
80f844c9
OB
1305 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1306 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1307 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1308 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1309
fb6b0fcb
AS
13102013-03-11 Andreas Schwab <schwab@suse.de>
1311
1312 [BZ #15234]
1313 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1314 by SHLIB_COMPAT.
1315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1316 (GLIBC_2.16): Remove pthread_atfork.
1317
3e6bd4b1
PP
13182013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1319
1320 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1321 (ptestcases.h): Likewise.
1322
222d7f00
RM
13232013-03-08 Roland McGrath <roland@hack.frob.com>
1324
1325 * Makeconfig ($(common-objpfx)config.status): Depend on
1326 sysdeps/*/preconfigure{,.in} too.
1327
1ba4f030
JM
13282013-03-08 Joseph Myers <joseph@codesourcery.com>
1329
a222d91a
JM
1330 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1331 (__free_hook): Use void * instead of __malloc_ptr_t.
1332 (__malloc_hook): Likewise.
1333 (__realloc_hook): Likewise.
1334 (__memalign_hook): Likewise.
1335 (__after_morecore_hook): Likewise.
1336 * malloc/arena.c (save_malloc_hook): Likewise.
1337 (save_free_hook): Likewise.
1338 * malloc/hooks.c (malloc_hook_ini): Likewise.
1339 (realloc_hook_ini): Likewise.
1340 (memalign_hook_ini): Likewise.
1341 * malloc/malloc.c (malloc_hook_ini): Likewise.
1342 (realloc_hook_ini): Likewise.
1343 (memalign_hook_ini): Likewise.
1344 (__free_hook): Likewise.
1345 (__malloc_hook): Likewise.
1346 (__realloc_hook): Likewise.
1347 (__memalign_hook): Likewise.
1348 (__libc_malloc): Likewise.
1349 (__libc_free): Likewise.
1350 (__libc_realloc): Likewise.
1351 (__libc_memalign): Likewise.
1352 (__libc_valloc): Likewise.
1353 (__libc_pvalloc): Likewise.
1354 (__libc_calloc): Likewise.
1355 (__posix_memalign): Likewise.
1356 * malloc/morecore.c (__sbrk): Likewise.
1357 (__default_morecore): Likewise.
1358
5cc45e10
JM
1359 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1360
dd54b864
JM
1361 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1362 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1363 __malloc_ptrdiff_t.
1364
1ba4f030
JM
1365 * malloc/malloc.h (__malloc_size_t): Remove macro.
1366 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1367 __malloc_size_t.
1368 (old_memalign_hook): Likewise.
1369 (old_realloc_hook): Likewise.
1370 (struct hdr): Likewise.
1371 (flood): Likewise.
1372 (mallochook): Likewise.
1373 (memalignhook): Likewise.
1374 (reallochook): Likewise.
1375 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1376 (tr_old_realloc_hook): Likewise.
1377 (tr_old_memalign_hook): Likewise.
1378 (tr_mallochook): Likewise.
1379 (tr_reallochook): Likewise.
1380 (tr_memalignhook): Likewise.
1381
edf66e57
AZ
13822013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1383
1384 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1385 default_ldbl_pack and using as default implementation.
1386 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1387 implementation.
1388 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1389 redundant definition.
1390 (ldbl_insert_mantissa): Likewise.
1391 (ldbl_canonicalize): Likewise.
1392 (ldbl_nearbyint): Likewise.
1393 (ldbl_pack): Rename to ldbl_pack_ppc.
1394 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1395 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1396 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1397
6d9145d8
SP
13982013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1399
1400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1401 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1402 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1403 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1405 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1406 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1407 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1408
4dd4e157
AJ
14092013-03-07 Andreas Jaeger <aj@suse.de>
1410
1411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1412 bits/mman-linux.h.
1413
adbb8027
SP
14142013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1415
ce544b5b
SP
1416 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1417 Include mpa.h and declare __MPEXP.
1418 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1419 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1420 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1421 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1422 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1423 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1424 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1425
4cc149fd
SP
1426 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1427 (__slowpow): Use long double EXPL and LOGL functions to
1428 compute POW.
1429 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1430 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1431 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1432 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1433 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1434 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1435
e6ebd4a7
SP
1436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1437 intermediate variable to calculate exponent.
1438 (__sqr): Likewise.
1439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1440 Likewise.
1441 (__sqr): Likewise.
1442
82a9811d
SP
1443 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1444 [!NO__SQR]: Define __sqr.
1445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1446 and NO__SQR. Remove all code except __mul and __sqr. Include
1447 sysdeps/ieee754/dbl-64/mpa.c.
1448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1449
adbb8027
SP
1450 [BZ #12723]
1451 * posix/Makefile (tests): Add tst-pathconf.
1452 * posix/tst-pathconf.c: New test case.
1453 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1454 _PC_PIPE_BUF.
1455 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1456
39120df9
PF
14572013-03-06 Patsy Franklin <pfrankli@redhat.com>
1458
1459 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1460
67525cb8
AJ
14612013-03-06 Andreas Jaeger <aj@suse.de>
1462
664a9ce4
AJ
1463 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1464 definition via __MAP_ANONYMOUS.
1465
8e39047d
AJ
1466 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1467 it's not part of Linux headers.
1468
67525cb8
AJ
1469 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1470 (MAP_HUGE_MASK): Define.
1471
1472 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1473 Define.
1474 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1475 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1476 Define.
1477 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1478 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1479 Define.
1480 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1481 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1482 Define.
1483 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1484
1485 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1486 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1487 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1488 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1489 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1490 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1491
1492 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1493 Handle f2fs.
1494
1495 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1496 Handle f2fs and efivarfs.
1497
1498 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1499 f2fs.
1500
1501 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1502 (EFIVARFS_MAGIC): Add.
1503 (F2FS_LINK_MAX): Add.
1504
e1b42695
PP
15052013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1506
1507 * stdio-common/vfprintf.c: Replace __builtin_expect with
1508 __glibc_unlikely.
1509
2d67d91a
JM
15102013-03-06 Joseph Myers <joseph@codesourcery.com>
1511
1512 [BZ #13550]
1513 * sysdeps/generic/bp-sym.h: Remove file.
1514 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1515 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1516 <bp-sym.h> and <bp-asm.h>.
1517 (__longjmp): Don't use BP_SYM.
1518 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1519 and <bp-asm.h>.
1520 (memcpy): Don't use BP_SYM.
1521 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1522 <bp-sym.h> and <bp-asm.h>.
1523 (memcpy): Don't use BP_SYM.
1524 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1525 <bp-asm.h>.
1526 (memcpy): Don't use BP_SYM.
1527 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1528 <bp-asm.h>.
1529 (memset): Don't use BP_SYM.
1530 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1531 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1532 (__bzero): Don't use BP_SYM.
1533 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1534 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1535 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1536 <bp-sym.h> and <bp-asm.h>.
1537 (memcmp): Don't use BP_SYM. Remove comment about bounded
1538 pointers.
1539 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1540 <bp-sym.h> and <bp-asm.h>.
1541 (memcpy): Don't use BP_SYM.
1542 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1543 <bp-sym.h> and <bp-asm.h>.
1544 (memset): Don't use BP_SYM.
1545 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1546 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1547 (__bzero): Don't use BP_SYM.
1548 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1549 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1550 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1551 <bp-sym.h> and <bp-asm.h>.
1552 (strncmp): Don't use BP_SYM. Remove comment about bounded
1553 pointers.
1554 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1555 <bp-sym.h> and <bp-asm.h>.
1556 (memcpy): Don't use BP_SYM.
1557 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1558 <bp-sym.h> and <bp-asm.h>.
1559 (memset): Don't use BP_SYM.
1560 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1561 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1562 (__bzero): Don't use BP_SYM.
1563 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1564 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1565 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1566 <bp-sym.h> and <bp-asm.h>.
1567 (__memchr): Don't use BP_SYM.
1568 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1569 <bp-sym.h> and <bp-asm.h>.
1570 (memcmp): Don't use BP_SYM. Remove comment about bounded
1571 pointers.
1572 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1573 <bp-sym.h> and <bp-asm.h>.
1574 (memcpy): Don't use BP_SYM.
1575 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1576 <bp-sym.h> and <bp-asm.h>.
1577 (__mempcpy): Don't use BP_SYM.
1578 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1579 <bp-sym.h> and <bp-asm.h>.
1580 (__memrchr): Don't use BP_SYM.
1581 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1582 <bp-sym.h> and <bp-asm.h>.
1583 (memset): Don't use BP_SYM.
1584 (__bzero): Likewise.
1585 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1586 <bp-sym.h> and <bp-asm.h>.
1587 (__rawmemchr): Don't use BP_SYM.
1588 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1589 <bp-sym.h> and <bp-asm.h>.
1590 (__STRCMP): Don't use BP_SYM.
1591 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1592 <bp-sym.h> and <bp-asm.h>.
1593 (strchr): Don't use BP_SYM.
1594 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1595 <bp-sym.h> and <bp-asm.h>.
1596 (__strchrnul): Don't use BP_SYM.
1597 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1598 <bp-sym.h> and <bp-asm.h>.
1599 (strlen): Don't use BP_SYM.
1600 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1601 <bp-sym.h> and <bp-asm.h>.
1602 (strncmp): Don't use BP_SYM. Remove comment about bounded
1603 pointers.
1604 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1605 <bp-sym.h> and <bp-asm.h>.
1606 (__strnlen): Don't use BP_SYM.
1607 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1608 <bp-sym.h> and <bp-asm.h>.
1609 (__GI__setjmp): Don't use BP_SYM.
1610 (_setjmp): Likewise.
1611 (__sigsetjmp): Likewise.
1612 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1613 (L(start_addresses)): Don't use BP_SYM.
1614 (_start): Likewise.
1615 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1616 <bp-asm.h>.
1617 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1618 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1619 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1620 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1621 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1622 <bp-asm.h>.
1623 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1624 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1625 about bounded pointers.
1626 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1627 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1628 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1629 <bp-asm.h>.
1630 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1631 about bounded pointers. Remove GKM FIXME comments.
1632 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1633 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1634 <bp-asm.h>.
1635 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1636 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1637 Remove GKM FIXME comments.
1638 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1639 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1640 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1641 <bp-asm.h>.
1642 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1643 about bounded pointers. Remove GKM FIXME comment.
1644 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1645 and <bp-asm.h>.
1646 (strncmp): Don't use BP_SYM. Remove comment about bounded
1647 pointers.
1648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1649 <bp-sym.h> and <bp-asm.h>.
1650 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1652 <bp-sym.h> and <bp-asm.h>.
1653 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1654 comment.
1655
cdcf361f
PP
16562013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1657
1658 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1659 call free(NULL).
1660
3c4a2b15
DM
16612013-03-05 David S. Miller <davem@davemloft.net>
1662
1663 * po/es.po: Update from translation team.
1664
cdcf361f 16652013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1666
1667 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1668 <bits/mman-linux.h>.
1669 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1670 is fine.
1671 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1672 <bits/mman-linux.h> to end of file.
1673 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1674 is fine.
1675 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1676 <bits/mman-linux.h> to end of file.
1677 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1678 is fine.
1679 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1680 <bits/mman-linux.h> to end of file.
1681
1682 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1683 (MCL_CURRENT, MCL_FUTURE): Define here.
1684
5f67c04f
AK
16852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1686
8a4473cc 1687 [BZ #15232]
5f67c04f
AK
1688 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1689 attribute_hidden.
1690 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1691
c3e94a95
AK
16922013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1693
1694 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1695 fourth parameter needed for rt_sigprocmask syscall.
1696 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1697 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1698 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1699 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1700 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1701 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1702
cfb6382a
JM
17032013-03-04 Joseph Myers <joseph@codesourcery.com>
1704
1705 [BZ #13550]
1706 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1707 comment about bounded pointers.
1708 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1709 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1710
539d8e01
AJ
17112013-03-04 Andreas Jaeger <aj@suse.de>
1712
1713 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1714 common definitions.
1715
1716 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1717 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1718 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1719 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1720 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1721 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1722
2e167a70 17232013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1724
1725 [BZ #15055]
1726 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1727 __ieee754_sqrl instead of __sqrl.
1728
68508633
JM
17292013-03-01 Joseph Myers <joseph@codesourcery.com>
1730
1731 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1732 * sysdeps/powerpc/fpu_control.h: ... here.
1733 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1734 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1735 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1736 * sysdeps/powerpc/bits/mathinline.h: ... here.
1737
7775448e
RM
17382013-03-01 Roland McGrath <roland@hack.frob.com>
1739
1740 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1741 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1742 to just [NEED_DL_SYSINFO_DSO].
1743 * elf/dl-support.c: Likewise.
1744 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1745 * elf/rtld.c (dl_main): Likewise.
1746 * elf/setup-vdso.h (setup_vdso): Likewise.
1747 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1748 * sysdeps/unix/sysv/linux/dl-sysdep.c
1749 (_dl_discover_osversion): Likewise.
1750
4e9b5995
CD
17512013-03-01 Carlos O'Donell <carlos@redhat.com>
1752
1753 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1754 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1755
e23872c8
SP
17562013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1757
e5c74c63
SP
1758 * NEWS: Mention libm performance improvements and non-x86 PI
1759 futex support.
1760
e23872c8
SP
1761 * csu/libc-start.c (__pthread_initialize_minimal): Change
1762 function arguments.
1763 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1764
b5510883
JM
17652013-02-28 Joseph Myers <joseph@codesourcery.com>
1766
1767 [BZ #13550]
1768 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1769 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1770 <bp-sym.h> and <bp-asm.h>.
1771 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1772 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1773 and <bp-asm.h>.
1774 (memcpy): Don't use BP_SYM.
1775 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1776 <bp-asm.h>.
1777 (__mpn_add_n): Don't use BP_SYM.
1778 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1779 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1780 and <bp-asm.h>.
1781 (__mpn_addmul_1): Don't use BP_SYM.
1782 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1783 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1784 <bp-sym.h>.
1785 (_setjmp): Don't use BP_SYM.
1786 (__novmx_setjmp): Likewise.
1787 (__GI__setjmp): Likewise.
1788 (__vmx_setjmp): Likewise.
1789 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1790 <bp-sym.h>.
1791 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1792 (__bzero): Don't use BP_SYM.
1793 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1794 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1795 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1796 <bp-sym.h> and <bp-asm.h>.
1797 (memcpy): Don't use BP_SYM.
1798 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1799 <bp-sym.h> and <bp-asm.h>.
1800 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1801 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1802 <bp-sym.h> and <bp-asm.h>.
1803 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1804 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1805 <bp-asm.h>.
1806 (__mpn_lshift): Don't use BP_SYM.
1807 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1808 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1809 <bp-asm.h>.
1810 (memset): Don't use BP_SYM.
1811 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1812 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1813 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1814 <bp-asm.h>.
1815 (__mpn_mul_1): Don't use BP_SYM.
1816 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1817 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1818 <bp-sym.h> and <bp-asm.h>.
1819 (memcmp): Don't use BP_SYM.
1820 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1821 <bp-sym.h> and <bp-asm.h>.
1822 (memcpy): Don't use BP_SYM.
1823 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1824 <bp-sym.h> and <bp-asm.h>.
1825 (memset): Don't use BP_SYM.
1826 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1827 <bp-sym.h> and <bp-asm.h>.
1828 (strncmp): Don't use BP_SYM.
1829 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1830 <bp-sym.h> and <bp-asm.h>.
1831 (memcpy): Don't use BP_SYM.
1832 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1833 <bp-sym.h> and <bp-asm.h>.
1834 (memset): Don't use BP_SYM.
1835 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1836 <bp-sym.h> and <bp-asm.h>.
1837 (__memchr): Don't use BP_SYM.
1838 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1839 <bp-sym.h> and <bp-asm.h>.
1840 (memcmp): Don't use BP_SYM.
1841 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1842 <bp-sym.h> and <bp-asm.h>.
1843 (memcpy): Don't use BP_SYM.
1844 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1845 <bp-sym.h> and <bp-asm.h>.
1846 (__mempcpy): Don't use BP_SYM.
1847 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1848 <bp-sym.h> and <bp-asm.h>.
1849 (__memrchr): Don't use BP_SYM.
1850 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1851 <bp-sym.h> and <bp-asm.h>.
1852 (memset): Don't use BP_SYM.
1853 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1854 <bp-sym.h> and <bp-asm.h>.
1855 (__rawmemchr): Don't use BP_SYM.
1856 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1857 <bp-sym.h> and <bp-asm.h>.
1858 (__STRCMP): Don't use BP_SYM.
1859 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1860 <bp-sym.h> and <bp-asm.h>.
1861 (strchr): Don't use BP_SYM.
1862 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1863 <bp-sym.h> and <bp-asm.h>.
1864 (__strchrnul): Don't use BP_SYM.
1865 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1866 <bp-sym.h> and <bp-asm.h>.
1867 (strlen): Don't use BP_SYM.
1868 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1869 <bp-sym.h> and <bp-asm.h>.
1870 (strncmp): Don't use BP_SYM.
1871 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1872 <bp-sym.h> and <bp-asm.h>.
1873 (__strnlen): Don't use BP_SYM.
1874 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1875 <bp-asm.h>.
1876 (__mpn_rshift): Don't use BP_SYM.
1877 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1878 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1879 <bp-sym.h> and <bp-asm.h>.
1880 (__sigsetjmp): Don't use BP_SYM.
1881 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1882 (L(start_addresses)): Don't use BP_SYM.
1883 (_start): Likewise.
1884 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1885 <bp-asm.h>.
1886 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1887 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1888 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1889 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1890 <bp-asm.h>.
1891 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1892 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1893 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1894 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1895 <bp-asm.h>.
1896 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1897 comments.
1898 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1899 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1900 <bp-asm.h>.
1901 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1902 FIXME comments.
1903 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1904 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1905 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1906 <bp-asm.h>.
1907 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1908 comment.
1909 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1910 and <bp-asm.h>.
1911 (strncmp): Don't use BP_SYM,
1912 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1913 <bp-asm.h>.
1914 (__mpn_sub_n): Don't use BP_SYM.
1915 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1916 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1917 and <bp-asm.h>.
1918 (__mpn_submul_1): Don't use BP_SYM.
1919 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1921 <bp-sym.h> and <bp-asm.h>.
1922 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1924 <bp-sym.h> and <bp-asm.h>.
1925 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1926 comment.
1927
8d19fe64
SP
19282013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1929
1930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1931 Use ZK to minimize writes to Z.
1932 (sub_magnitudes): Simplify code a bit.
1933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1934 Use ZK to minimize writes to Z.
1935 (sub_magnitudes): Simplify code a bit.
1936
85bd816a
RM
19372013-02-27 Roland McGrath <roland@hack.frob.com>
1938
1939 * csu/gmon-start.c: Add special exception to license text.
1940
b5977bf2
RH
19412013-02-27 Richard Henderson <rth@redhat.com>
1942
1943 * scripts/config.guess: Update from config.git.
1944 * scripts/config.sub: Likewise.
1945
11d6e2f2
SP
19462013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1947
09c14ed2
SP
1948 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1949
a688864e
SP
1950 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1951
6295157a
SP
1952 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1953
b8de2202
SP
1954 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1955
11d6e2f2
SP
1956 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1957
7e80ddb8
RM
19582013-02-26 Roland McGrath <roland@hack.frob.com>
1959
1960 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1961 [$(build-shared = yes].
7e80ddb8 1962
7da6d9ed
SP
19632013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1964
45f05884
SP
1965 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1966 (__mul): Reduce iterations for calculating mantissa.
1967
2236d359
SP
1968 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1969 MPTWO.
1970 (__mpranred): Likewise.
1971
7da6d9ed
SP
1972 [BZ #15160]
1973 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1974 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1975
b7688c42
PE
19762013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1977
1978 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1979 Define __attribute__.
1980
53a5c423
SP
19812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1982
1983 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1984 unused.
1985 * posix/regex_internal.h (__attribute): Remove.
1986 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1987 (re_string_context_at): Likewise.
1988 (bitset_not): Use __attribute__ and mark function as possibly
1989 unused.
1990 (bitset_merge): Likewise.
1991 (bitset_mask): Likewise.
1992 (re_string_char_size_at): Likewise.
1993 (re_string_wchar_at): Likewise.
1994 (re_string_elem_size_at): Likewise.
1995
60f5a8b5
SP
19962013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1997
2a983a2e
SP
1998 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1999 code.
2000 (cc32): Likewise.
2001
e69804d1
SP
2002 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2003 (__acr): Likewise.
2004 (__cpy): Likewise.
2005 (norm): Likewise.
2006 (denorm): Likewise.
2007 (__dbl_mp): Likewise.
2008 (add_magnitudes): Likewise.
2009 (sub_magnitudes): Likewise.
2010 (__mul): Likewise.
2011 (__inv): Likewise.
2012
2f22a1e8
SP
2013 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2014 style.
2015
8930ddc7
SP
2016 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2017 style.
2018
dc60cb11
SP
2019 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2020 code.
2021
60f5a8b5
SP
2022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2023 up changes with default code.
2024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2025 Likewise.
2026
b4d1fd33
AM
20272013-02-24 Allan McRae <allan@archlinux.org>
2028
faf6f8bc
AM
2029 * manual/socket.texi (The Internet Namespace): Order menu items
2030 to match that in the file.
2031
b4d1fd33
AM
2032 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2033 node listing of the info page menu.
2034
2366713d
JM
20352013-02-21 Joseph Myers <joseph@codesourcery.com>
2036
2037 [BZ #13550]
2038 * sysdeps/i386/bp-asm.h: Remove file.
2039 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2040 (PARMS): Do not use macros from bp-asm.h.
2041 (S1): Likewise.
2042 (S2): Likewise.
2043 (SIZE): Likewise.
2044 (__mpn_add_n): Do not use BP_SYM
2045 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2046 "bp-asm.h".
2047 (PARMS): Do not use macros from bp-asm.h.
2048 (S1): Likewise.
2049 (SIZE): Likewise.
2050 (__mpn_addmul_1): Do not use BP_SYM
2051 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2052 "bp-asm.h".
2053 (PARMS): Do not use macros from bp-asm.h.
2054 (SIGMSK): Likewise.
2055 (_setjmp): Likewise. Do not use BP_SYM.
2056 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2057 "bp-asm.h".
2058 (PARMS): Do not use macros from bp-asm.h.
2059 (SIGMSK): Likewise.
2060 (setjmp): Likewise. Do not use BP_SYM.
2061 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2062 "bp-asm.h".
2063 (PARMS): Do not use macros from bp-asm.h.
2064 (__frexp): Do not use BP_SYM.
2065 (frexp): Likewise.
2066 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2067 "bp-asm.h".
2068 (PARMS): Do not use macros from bp-asm.h.
2069 (__frexpf): Do not use BP_SYM.
2070 (frexpf): Likewise.
2071 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2072 "bp-asm.h".
2073 (PARMS): Do not use macros from bp-asm.h.
2074 (__frexpl): Do not use BP_SYM.
2075 (frexpl): Likewise.
2076 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2077 "bp-asm.h".
2078 (PARMS): Do not use macros from bp-asm.h.
2079 (__remquo): Do not use BP_SYM.
2080 (remquo): Likewise.
2081 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2082 "bp-asm.h".
2083 (PARMS): Do not use macros from bp-asm.h.
2084 (__remquof): Do not use BP_SYM.
2085 (remquof): Likewise.
2086 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2087 "bp-asm.h".
2088 (PARMS): Do not use macros from bp-asm.h.
2089 (__remquol): Do not use BP_SYM.
2090 (remquol): Likewise.
2091 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2092 "bp-asm.h".
2093 (PARMS): Do not use macros from bp-asm.h.
2094 (DEST): Likewise.
2095 (SRC): Likewise.
2096 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2097 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2098 "bp-asm.h".
2099 (PARMS): Do not use macros from bp-asm.h.
2100 (strlen): Do not use BP_SYM.
2101 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2102 "bp-asm.h".
2103 (PARMS): Do not use macros from bp-asm.h.
2104 (S1): Likewise.
2105 (S2): Likewise.
2106 (SIZE): Likewise.
2107 (__mpn_add_n): Do not use BP_SYM.
2108 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2109 "bp-asm.h".
2110 (PARMS): Do not use macros from bp-asm.h.
2111 (S1): Likewise.
2112 (SIZE): Likewise.
2113 (__mpn_addmul_1): Do not use BP_SYM.
2114 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2115 weak_alias.
2116 (bzero): Likewise.
2117 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2118 "bp-asm.h".
2119 (PARMS): Do not use macros from bp-asm.h.
2120 (S): Likewise.
2121 (SIZE): Likewise.
2122 (__mpn_lshift): Do not use BP_SYM.
2123 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2124 "bp-asm.h".
2125 (PARMS): Do not use macros from bp-asm.h.
2126 (DEST): Likewise.
2127 (SRC): Likewise.
2128 (LEN): Likewise.
2129 (memcpy): Likewise. Do not use BP_SYM.
2130 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2131 libc_hidden_def and weak_alias.
2132 (mempcpy): Do not use BP_SYM in weak_alias.
2133 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2134 "bp-asm.h".
2135 (PARMS): Do not use macros from bp-asm.h.
2136 (DEST): Likewise.
2137 (LEN): Likewise.
2138 [!BZERO_P] (CHR): Likewise.
2139 (memset): Likewise. Do not use BP_SYM.
2140 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2141 "bp-asm.h".
2142 (PARMS): Do not use macros from bp-asm.h.
2143 (S1): Likewise.
2144 (SIZE): Likewise.
2145 (__mpn_mul_1): Do not use BP_SYM.
2146 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2147 "bp-asm.h".
2148 (PARMS): Do not use macros from bp-asm.h.
2149 (S): Likewise.
2150 (SIZE): Likewise.
2151 (__mpn_rshift): Do not use BP_SYM.
2152 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2153 "bp-asm.h".
2154 (PARMS): Do not use macros from bp-asm.h.
2155 (STR): Likewise.
2156 (CHR): Likewise.
2157 (strchr): Likewise. Do not use BP_SYM.
2158 (index): Do not use BP_SYM in weak_alias.
2159 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2160 "bp-asm.h".
2161 (PARMS): Do not use macros from bp-asm.h.
2162 (DEST): Likewise.
2163 (SRC): Likewise.
2164 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2165 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2166 "bp-asm.h".
2167 (PARMS): Do not use macros from bp-asm.h.
2168 (strlen): Do not use BP_SYM.
2169 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2170 "bp-asm.h".
2171 (PARMS): Do not use macros from bp-asm.h.
2172 (S1): Likewise.
2173 (S2): Likewise.
2174 (SIZE): Likewise.
2175 (__mpn_sub_n): Do not use BP_SYM.
2176 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2177 "bp-asm.h".
2178 (PARMS): Do not use macros from bp-asm.h.
2179 (S1): Likewise.
2180 (SIZE): Likewise.
2181 (__mpn_submul_1): Do not use BP_SYM.
2182 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2183 "bp-asm.h".
2184 (PARMS): Do not use macros from bp-asm.h.
2185 (S1): Likewise.
2186 (S2): Likewise.
2187 (SIZE): Likewise.
2188 (__mpn_add_n): Do not use BP_SYM.
2189 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2190 weak_alias.
2191 (bzero): Likewise.
2192 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2193 "bp-asm.h".
2194 (PARMS): Do not use macros from bp-asm.h.
2195 (BLK2): Likewise.
2196 (LEN): Likewise.
2197 (memcmp): Do not use BP_SYM.
2198 (bcmp): Do not use BP_SYM in weak_alias.
2199 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2200 "bp-asm.h".
2201 (PARMS): Do not use macros from bp-asm.h.
2202 (DEST): Likewise.
2203 (SRC): Likewise.
2204 (LEN): Likewise.
2205 (memcpy): Likewise. Do not use BP_SYM.
2206 * sysdeps/i386/i686/memmove.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 (LEN): Likewise.
2212 (memmove): Likewise. Do not use BP_SYM.
2213 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2214 "bp-asm.h".
2215 (PARMS): Do not use macros from bp-asm.h.
2216 (DEST): Likewise.
2217 (SRC): Likewise.
2218 (LEN): Likewise.
2219 (__mempcpy): Likewise. Do not use BP_SYM.
2220 (mempcpy): Do not use BP_SYM in weak_alias.
2221 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2222 "bp-asm.h".
2223 (PARMS): Do not use macros from bp-asm.h.
2224 (DEST): Likewise.
2225 (LEN): Likewise.
2226 [!BZERO_P] (CHR): Likewise.
2227 (memset): Likewise. Do not use BP_SYM.
2228 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2229 "bp-asm.h".
2230 (PARMS): Do not use macros from bp-asm.h.
2231 (STR2): Likewise.
2232 (strcmp): Do not use BP_SYM.
2233 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2234 "bp-asm.h".
2235 (PARMS): Do not use macros from bp-asm.h.
2236 (STR): Likewise.
2237 (DELIM): Likewise.
2238 [USE_AS_STRTOK_R] (SAVE): Likewise.
2239 (FUNCTION): Likewise. Do not use BP_SYM.
2240 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2241 aliases.
2242 (strtok_r): Likewise.
2243 (__GI___strtok_r): Likewise.
2244 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2245 (PARMS): Do not use macros from bp-asm.h.
2246 (S): Likewise.
2247 (SIZE): Likewise.
2248 (__mpn_lshift): Do not use BP_SYM.
2249 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2250 (PARMS): Do not use macros from bp-asm.h.
2251 (STR): Likewise.
2252 (CHR): Likewise.
2253 (__memchr): Do not use BP_SYM.
2254 (memchr): Do not use BP_SYM in weak_alias.
2255 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2256 (PARMS): Do not use macros from bp-asm.h.
2257 (BLK2): Likewise.
2258 (LEN): Likewise.
2259 (memcmp): Do not use BP_SYM.
2260 (bcmp): Do not use BP_SYM in weak_alias.
2261 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2262 (PARMS): Do not use macros from bp-asm.h.
2263 (S1): Likewise.
2264 (SIZE): Likewise.
2265 (__mpn_mul_1): Do not use BP_SYM.
2266 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2267 "bp-asm.h".
2268 (PARMS): Do not use macros from bp-asm.h.
2269 (STR): Likewise.
2270 (CHR): Likewise.
2271 (__rawmemchr): Do not use BP_SYM.
2272 (rawmemchr): Do not use BP_SYM in weak_alias.
2273 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2274 (PARMS): Do not use macros from bp-asm.h.
2275 (S): Likewise.
2276 (SIZE): Likewise.
2277 (__mpn_rshift): Do not use BP_SYM.
2278 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2279 (PARMS): Do not use macros from bp-asm.h.
2280 (SIGMSK): Likewise.
2281 (__sigsetjmp): Likewise. Do not use BP_SYM.
2282 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2283 (_start): Do not use BP_SYM.
2284 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2285 (PARMS): Do not use macros from bp-asm.h.
2286 (DEST): Likewise.
2287 (SRC): Likewise.
2288 (__stpcpy): Likewise. Do not use BP_SYM.
2289 (stpcpy): Do not use BP_SYM in weak_alias.
2290 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2291 "bp-asm.h".
2292 (PARMS): Do not use macros from bp-asm.h.
2293 (DEST): Likewise.
2294 (SRC): Likewise.
2295 (LEN): Likewise.
2296 (__stpncpy): Likewise. Do not use BP_SYM.
2297 (stpncpy): Do not use BP_SYM in weak_alias.
2298 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2299 (PARMS): Do not use macros from bp-asm.h.
2300 (STR): Likewise.
2301 (CHR): Likewise.
2302 (strchr): Likewise. Do not use BP_SYM.
2303 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2304 "bp-asm.h".
2305 (PARMS): Do not use macros from bp-asm.h.
2306 (STR): Likewise.
2307 (CHR): Likewise.
2308 (__strchrnul): Likewise. Do not use BP_SYM.
2309 (strchrnul): Do not use BP_SYM in weak_alias.
2310 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2311 "bp-asm.h".
2312 (PARMS): Do not use macros from bp-asm.h.
2313 (STOP): Likewise.
2314 (strcspn): Do not use BP_SYM.
2315 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2316 "bp-asm.h".
2317 (PARMS): Do not use macros from bp-asm.h.
2318 (STR): Likewise.
2319 (STOP): Likewise.
2320 (strpbrk): Likewise. Do not use BP_SYM.
2321 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2322 "bp-asm.h".
2323 (PARMS): Do not use macros from bp-asm.h.
2324 (STR): Likewise.
2325 (CHR): Likewise.
2326 (strrchr): Likewise. Do not use BP_SYM.
2327 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2328 (PARMS): Do not use macros from bp-asm.h.
2329 (SKIP): Likewise.
2330 (strspn): Do not use BP_SYM.
2331 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2332 (PARMS): Do not use macros from bp-asm.h.
2333 (STR): Likewise.
2334 (DELIM): Likewise.
2335 (SAVE): Likewise.
2336 (FUNCTION): Likewise. Do not use BP_SYM.
2337 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2338 aliases.
2339 (strtok_r): Likewise.
2340 (__GI___strtok_r): Likewise.
2341 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2342 (PARMS): Do not use macros from bp-asm.h.
2343 (S1): Likewise.
2344 (S2): Likewise.
2345 (SIZE): Likewise.
2346 (__mpn_sub_n): Do not use BP_SYM.
2347 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2348 "bp-asm.h".
2349 (PARMS): Do not use macros from bp-asm.h.
2350 (S1): Likewise.
2351 (SIZE): Likewise.
2352 (__mpn_submul_1): Do not use BP_SYM.
2353 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2354 <bp-sym.h>.
2355 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2356 and <bp-asm.h>.
2357 (PARMS): Do not use macros from bp-asm.h.
2358 (FLAGS): Likewise.
2359 (PTID): Likewise.
2360 (TLS): Likewise.
2361 (CTID): Likewise.
2362 (__clone): Do not use BP_SYM.
2363 (clone): Do not use BP_SYM in weak_alias.
2364 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2365 and <bp-asm.h>.
2366 (PARMS): Do not use macros from bp-asm.h.
2367 (LEN): Likewise.
2368 (__mmap64): Do not use BP_SYM.
2369 (mmap64): Do not use BP_SYM in weak_alias.
2370 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2371 <bp-sym.h> and <bp-asm.h>.
2372 (PARMS): Do not use macros from bp-asm.h.
2373 (__posix_fadvise64_l64): Do not use BP_SYM.
2374 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2375 (PARMS): Do not use macros from bp-asm.h.
2376 (NSOPS): Likewise.
2377 (semtimedop): Do not use BP_SYM.
2378 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2379 and <bp-asm.h>.
2380
582a3cff
AM
23812013-02-21 Allan McRae <allan@archlinux.org>
2382
2383 * manual/message.texi (Charset conversion in gettext):
2384 Move @end statement to beginning of line.
2385
bab8a695
SP
23862013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2387
80945231
SP
2388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2389 static.
2390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2391 Likewise.
2392
bab8a695
SP
2393 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2394 (denorm): Likewise.
2395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2397
e21d7aa7
AK
23982013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2399
2400 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2401 tail-call to the resolved function if pltexit isn't needed.
2402
4c7a4263
SP
24032013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2404
2405 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2406 or Y being zero as being unlikely.
2407 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2408 Likewise.
2409
41f49342
CD
24102013-02-20 Carlos O'Donell <carlos@redhat.com>
2411
2412 * manual/nss.texi (System Databases and Name Service Switch):
2413 Remove frobnicate @pxref.
2414
50022a93
TS
24152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2416
2417 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2418 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2419
08cbd996
PM
24202013-02-20 Petr Machata <pmachata@redhat.com>
2421
2422 * elf/elf.h (R_ARM_TARGET1): New macro.
2423 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2424 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2425 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2426 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2427 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2428 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2429 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2430 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2431 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2432 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2433 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2434 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2435 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2436 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2437 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2438 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2439 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2440 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2441 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2442 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2443 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2444 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2445 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2446 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2447 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2448 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2449 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2450 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2451 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2452 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2453 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2454 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2455 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2456 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2457 (R_ARM_THM_GOT_BREL12): Likewise.
2458 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2459 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2460 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2461 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2462 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2463 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2464 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2465 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2466 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2467
c7b275d6
TS
24682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2469
2470 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2471 __attribute_used__ to __attribute__ ((unused)).
2472
20cd7fb3
SP
24732013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2474
2475 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2476 powerpc mpa.c.
2477 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2478 comment formatting.
2479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2480
92945b52
JM
24812013-02-19 Joseph Myers <joseph@codesourcery.com>
2482
2483 [BZ #13550]
2484 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2485 Remove macro.
2486 (ENTER): Remove both macro definitions.
2487 (LEAVE): Likewise.
2488 (CHECK_BOUNDS_LOW): Likewise.
2489 (CHECK_BOUNDS_HIGH): Likewise.
2490 (CHECK_BOUNDS_BOTH): Likewise.
2491 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2492 (RETURN_BOUNDED_POINTER): Likewise.
2493 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2494 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2495 (POP_ERRNO_LOCATION_RETURN): Likewise.
2496 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2497 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2498 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2499 macros.
2500 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2501 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2502 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2503 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2504 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2505 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2506 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2507 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2508 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2509 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2510 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2511 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2512 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2513 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2514 removed macros.
2515 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2516 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2517 macros.
2518 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2519 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2520 * sysdeps/i386/i586/memset.S (memset): Likewise.
2521 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2522 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2523 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2524 macros.
2525 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2526 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2527 Change uses of L(2) to L(out).
2528 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2529 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2530 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2531 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2532 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2533 removed macros.
2534 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2535 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2536 macros.
2537 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2538 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2539 (RETURN): Do not use macro LEAVE.
2540 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2541 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2542 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2543 * sysdeps/i386/i686/memset.S (memset): Likewise.
2544 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2545 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2546 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2547 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2548 Likewise.
2549 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2550 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2551 L(1_2) and L(1_3) into L(1).
2552 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2553 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2554 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2555 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2556 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2557 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2558 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2559 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2560 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2561 macros.
2562 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2563 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2564 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2565 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2566 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2567 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2568 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2569 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2570 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2571 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2572 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2573 * sysdeps/i386/strspn.S (strspn): Likewise.
2574 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2575 conditional code.
2576 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2577 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2578 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2579 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2580 L(1_3) into L(1_1).
2581 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2582 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2583 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2584 macros.
2585 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2586
2389741a
JJ
25872013-02-19 Jakub Jelinek <jakub@redhat.com>
2588
2589 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2590 macro.
2591
2016b3cd
SP
25922013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2593
e4f22324
SP
2594 * math/atest-exp.c (exp_mpn): Remove ROUND.
2595 * math/atest-exp2.c (exp_mpn): Likewise.
2596 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2597
2016b3cd
SP
2598 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2599 * stdlib/tst-tls-atexit-lib.c: Likewise.
2600 * stdlib/tst-tls-atexit.c: Likewise.
2601
4be9b544
MF
26022013-02-18 Mike Frysinger <vapier@gentoo.org>
2603
2604 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2605 and __attribute_alloc_size__.
2606
2f62b9ee
MF
26072013-02-18 Mike Frysinger <vapier@gentoo.org>
2608
2609 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2610 __attribute_alloc_size__.
2611 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2612 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2613
6ff444c4
MF
26142013-02-18 Mike Frysinger <vapier@gentoo.org>
2615
2616 * include/programs/xmalloc.h: New file.
2617 * catgets/gencat.c: Include it.
2618 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2619 * elf/pldd.c: Likewise.
2620 * iconv/iconv_charmap.c: Likewise.
2621 * iconv/iconvconfig.c: Likewise.
2622 * iconv/strtab.c: Likewise.
2623 * locale/programs/locale.c: Likewise.
2624 * locale/programs/localedef.h: Likewise.
2625 * locale/programs/simple-hash.c: Likewise.
2626 * nscd/nscd.h: Likewise.
2627 * nss/makedb.c: Likewise.
2628 * sysdeps/generic/ldconfig.h: Likewise.
2629
be179c8a
SP
26302013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2631
ba384f6e
SP
2632 * Versions.def: Add GLIBC_2.18.
2633 * include/link.h (struct link_map): New member l_tls_dtor_count.
2634 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2635 (__call_tls_dtors): Likewise.
2636 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2637 __cxa_thread_atexit_impl.
2638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2639 Likewise.
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2641 Likewise.
2642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2643 Likewise.
2644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2645 Likewise.
2646 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2648 Likewise.
2649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2650 Likewise.
2651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2653 Likewise.
2654 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2655 (tests): Add test case tst-tls-atexit.
2656 (modules-names): Add shared library for tst-tls-atexit.
2657 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2658 (GLIBC_PRIVATE): Add __call_tls_dtors.
2659 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2660 for libstdc++.
2661 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2662 * stdlib/tst-tls-atexit.c: New test case.
2663 * stdlib/tst-tls-atexit-lib.c: New test case.
2664
ffaa74cf 2665 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2666
be179c8a
SP
2667 * elf/Versions (ld): Add _dl_find_dso_for_object.
2668 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2669 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2670 (dl_open_worker): Use _dl_find_dso_for_object.
2671 * elf/dl-sym.c (do_sym): Likewise.
2672 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2673
f78b5caa
AK
26742013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2675
2676 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2677 Syntactic changes only.
2678 (_dl_runtime_profile): Do a tail-call to the resolved function.
2679
29691210
JM
26802013-02-17 Joseph Myers <joseph@codesourcery.com>
2681
2682 [BZ #13550]
2683 * sysdeps/x86_64/bp-asm.h: Remove file.
2684 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2685 <bp-sym.h> and <bp-asm.h>.
2686 (__clone): Do not use BP_SYM.
2687 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2688 <bp-sym.h> and <bp-asm.h>.
2689 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2690 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2691 "bp-asm.h".
2692 (_setjmp): Do not use BP_SYM.
2693 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2694 "bp-asm.h".
2695 (setjmp): Do not use BP_SYM.
2696 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2697 libc_hidden_def.
2698 (mempcpy): Do not use BP_SYM in weak_alias.
2699 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2700 "bp-asm.h".
2701 (strchr): Do not use BP_SYM.
2702 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2703 "bp-asm.h".
2704 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2705 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2706 (_start): Do not use BP_SYM.
2707 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2708 "bp-asm.h".
2709 (strcat): Do not use BP_SYM.
2710 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2711 "bp-asm.h".
2712 (STRCMP): Do not use BP_SYM.
2713 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2714 "bp-asm.h".
2715 (STRCPY): Do not use BP_SYM.
2716 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2717 "bp-asm.h".
2718 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2719 "bp-asm.h".
2720 (FUNCTION): Do not use BP_SYM.
2721 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2722 weak_alias.
2723 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2724
f238fd19
AJ
27252013-02-17 Andreas Jaeger <aj@suse.de>
2726
2727 * time/Versions: Sort entries.
2728 * string/Versions: Likewise.
2729 * resolv/Versions: Likewise.
2730 * posix/Versions: Likewise.
2731 * iconv/Versions: Likewise.
2732 * elf/Versions: Likewise.
2733 * wcsmbs/Versions: Likewise.
2734
bd07f23c 27352013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2736
22af19f9
SP
2737 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2738 loop termination condition.
2739
4709fe76
SP
2740 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2741 variable to calculate EZ.
2742 (__sqr): Likewise.
2d0e0f29
SP
2743
2744 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2745 the lower precision input.
2746
daaa7713
JM
27472013-02-15 Joseph Myers <joseph@codesourcery.com>
2748
2749 [BZ #13550]
2750 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2751 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2752 (run-via-rtld-prefix): Do not handle %-bp tests.
2753 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2754 (all-object-suffixes): Remove .ob.
2755 (bppfx): Remove variable.
2756 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2757 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2758 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2759 [$(build-bounded) = yes] (libtype.ob): Likewise.
2760 * Makerules (elide-routines.ob): Remove variable.
2761 (do-tests-clean): Do not handle *-bp.out.
2762 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2763 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2764 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2765 (tests): Do not include $(tests-bp.out).
2766 (xtests): Do not include $(xtests-bp.out).
2767 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2768 [$(build-bounded) = yes] ($(addprefix
2769 $(objpfx),$(binaries-bounded))): Remove rule.
2770 ($(objpfx)%-bp.out): Remove rule.
2771 * config.make.in (build-bounded): Remove variable.
2772 * crypt/Makefile [$(build-bounded) = yes]
2773 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2774 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2775 append to variable.
2776 [$(build-bounded) = yes] (install-lib): Likewise.
2777 [$(build-bounded) = yes] (generated): Likewise.
2778 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2779 Remove rule.
2780 * intl/Makefile [$(build-bounded) = yes]
2781 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2782 * math/Makefile [$(build-bounded) = yes]
2783 ($(tests:%=$(objpfx)%-bp): Likewise.
2784 * misc/Makefile [$(build-bounded) = yes]
2785 ($(objpfx)tst-tsearch-bp): Likewise.
2786 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2787 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2788 Remove dependency.
2789 * string/Makefile (o-objects.ob): Remove variable.
2790 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2791 (CFLAGS-.ob): Remove variable.
2792 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2793 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2794 both definitions of variable.
2795 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2796 (ASFLAGS-.ob): Remove variable.
2797
e97ed6dd
JM
27982013-02-14 Joseph Myers <joseph@codesourcery.com>
2799
2bdd4ca6
JM
2800 [BZ #13550]
2801 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2802 Remove __BOUNDED_POINTERS__ from condition.
2803 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2804 * string/bits/string2.h [!__NO_STRING_INLINES &&
2805 !__BOUNDED_POINTERS__]: Likewise.
2806 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2807 Likewise.
2808 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2809 Remove conditional code.
2810 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2811 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2812 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2813 condition.
2814
e97ed6dd
JM
2815 [BZ #13550]
2816 * csu/libc-start.c: Do not include <bp-sym.h>.
2817 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2818 * elf/dl-open.c: Do not include <bp-sym.h>.
2819 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2820 * math/fegetenv.c: Do not include <bp-sym.h>.
2821 (fegetenv): Do not use BP_SYM in versioned symbols.
2822 * nptl/sysdeps/pthread/bits/libc-lockP.h
2823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2824 <bp-sym.h>.
2825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2826 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2828 (__pthread_mutex_destroy): Likewise.
2829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2830 (__pthread_mutex_lock): Likewise.
2831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2832 (__pthread_mutex_trylock): Likewise.
2833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2834 (__pthread_mutex_unlock): Likewise.
2835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2836 (__pthread_mutexattr_init): Likewise.
2837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2838 (__pthread_mutexattr_destroy): Likewise.
2839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2840 (__pthread_mutexattr_settype): Likewise.
2841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2842 (__pthread_rwlock_init): Likewise.
2843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2844 (__pthread_rwlock_destroy): Likewise.
2845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2846 (__pthread_rwlock_rdlock): Likewise.
2847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2848 (__pthread_rwlock_tryrdlock): Likewise.
2849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2850 (__pthread_rwlock_wrlock): Likewise.
2851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2852 (__pthread_rwlock_trywrlock): Likewise.
2853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2854 (__pthread_rwlock_unlock): Likewise.
2855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2856 (__pthread_key_create): Likewise.
2857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2858 (__pthread_setspecific): Likewise.
2859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2860 (__pthread_getspecific): Likewise.
2861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2862 Likewise.
2863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2864 (_pthread_cleanup_push_defer): Likewise.
2865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2866 (_pthread_cleanup_pop_restore): Likewise.
2867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2868 (pthread_setcancelstate): Likewise.
2869 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2870 <bp-sym.h>.
2871 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2872 (memchr): Do not use BP_SYM in weak_alias.
2873 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2874 (fegetenv): Do not use BP_SYM in versioned symbols.
2875 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2876 (fesetenv): Do not use BP_SYM in versioned symbols.
2877 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2878 (feupdateenv): Do not use BP_SYM in versioned symbols.
2879 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2880 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2881 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2882 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2883 (open64): Do not use BP_SYM in weak_alias.
2884 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2885 (fegetenv): Do not use BP_SYM in versioned symbols.
2886 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2887 (fesetenv): Do not use BP_SYM in versioned symbols.
2888 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2889 (feupdateenv): Do not use BP_SYM in versioned symbols.
2890 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2891 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2892 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2893 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2894 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2895 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2896 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2897 <bp-sym.h>.
2898 (__libc_start_main): Do not use BP_SYM.
2899
d6752ccd
SP
29002013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2901
cb57ce60
SP
2902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2903 redundant return line.
2904 (norm): Likewise.
2905 (denorm): Likewise.
2906 (dbl_mp): Likewise.
2907 (sub_magnitudes): Likewise.
2908 (__add): Likewise.
2909 (__sub): Likewise.
2910 (__mul): Likewise.
2911 (__inv): Likewise.
2912 (__dvd): Likewise.
2913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2914 (norm): Likewise.
2915 (denorm): Likewise.
2916 (dbl_mp): Likewise.
2917 (sub_magnitudes): Likewise.
2918 (__add): Likewise.
2919 (__sub): Likewise.
2920 (__mul): Likewise.
2921 (__inv): Likewise.
2922 (__dvd): Likewise.
2923
f414520d
SP
2924 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2925 instead of __mul.
2926 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2927 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2928 (cc32): Likewise.
2929
d6752ccd
SP
2930 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2931 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2933 of __mul for squares.
2934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2935 function
2936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2937 Likewise.
2938 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2939 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2940
70d9946a
JM
29412013-02-13 Joseph Myers <joseph@codesourcery.com>
2942
2943 [BZ #13550]
2944 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2945 code.
2946 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2947 prototype or function definition. Rename ubp_* variables and
2948 parameters. Remove argv definitions conditional on
2949 [__BOUNDED_POINTERS__].
2950 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2951 * elf/dl-runtime.c (_dl_fixup): Likewise.
2952 * include/set-hooks.h (RUN_HOOK): Likewise.
2953 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2954 definition.
2955 * string/strcpy.c (strcpy): Do not use __unbounded.
2956 * sysdeps/generic/frame.h (struct layout): Likewise.
2957 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2958 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2959 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2960 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2961 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2962 (__backtrace): Likewise.
2963 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2964 use __ptrvalue.
2965 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2966 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2967 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2968 Likewise.
2969 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2970 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2971 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2972 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2973 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2974 Do not use __unbounded.
2975 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2976 Rename __unboundedrlimits parameter to rlimits in prototype.
2977 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2978 Do not use __unbounded.
2979 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2980 not use __ptrvalue.
2981 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2982 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2983 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2984 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2985 __ptrvalue or __unbounded.
2986 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2987 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2988 use __unbounded.
2989 (__new_msgctl): Do not use __ptrvalue.
2990 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2991 __unbounded.
2992 (__libc_msgrcv): Do not use __ptrvalue.
2993 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2994 startup_info): Do not use __unbounded.
2995 (__libc_start_main): Likewise. Rename ubp_* variables and
2996 parameters. Remove argv definitions conditional on
2997 [__BOUNDED_POINTERS__].
2998 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2999 __ptrvalue.
3000 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3001 use __unbounded.
3002 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3003 or __ptrvalue.
3004 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3005 use __unbounded.
3006 (__new_shmctl): Do not use __ptrvalue.
3007 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3008 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3009 Likewise.
3010 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3011 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3012 (__libc_sigaction): Likewise.
3013 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3014 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3015 Likewise.
3016 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3017
cc7834d6
OB
30182013-02-13 Ondřej Bílka <neleai@seznam.cz>
3019
ffb1ec7b 3020 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3021
3022 * string/mempcpy.c: Implement by calling memcpy.
3023
bdf02814
SP
30242013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3025
c2af38aa
SP
3026 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3027
4e92d59e
SP
3028 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3029 evaluation.
3030
909279a5
SP
3031 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3032 values in the mantissa.
3033
bdf02814
SP
3034 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3035 minimize writes to Z.
3036 (sub_magnitudes): Simplify code a bit.
3037
cd525923
RM
30382013-02-12 Roland McGrath <roland@hack.frob.com>
3039
3040 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3041 from the message. The linker prefixes all warnings with that already.
3042
7e2f0d2d
AS
30432013-02-12 Andreas Schwab <schwab@suse.de>
3044
a445af0b
AS
3045 [BZ #15078]
3046 * posix/regexec.c (extend_buffers): Add parameter min_len.
3047 (check_matching): Pass minimum needed length.
3048 (clean_state_log_if_needed): Likewise.
3049 (get_subexp): Likewise.
3050 * posix/Makefile (tests): Add bug-regex34.
3051 (bug-regex34-ENV): Define.
3052 * posix/bug-regex34.c: New file.
3053
7e2f0d2d
AS
3054 [BZ #11561]
3055 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3056 elements compare against the byte sequence of it, not its name.
3057 * posix/Makefile (tests): Add bug-regex35.
3058 (bug-regex35-ENV): Define.
3059 * posix/bug-regex35.c: New file.
3060
a175b684
TV
30612013-02-11 Tom de Vries <tom@codesourcery.com>
3062
3063 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3064 comment.
3065 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3066 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3067 (CHECK_EOL): Add undef.
3068
310998fe 30692013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3070
3071 * bits/stdlib-bsearch.h: New file.
3072 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3073 * stdlib/stdlib.h: Likewise.
41eda41d 3074
8ded91fb
RM
30752013-02-11 Roland McGrath <roland@hack.frob.com>
3076
3077 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3078 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3079 declaration.
3080 * manual/search.texi (Array Search Function): Add missing const in
3081 lfind prototype.
3082 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3083 declaration to use rlim_t.
3084 (Basic Scheduling Functions): Remove erroneous const from
3085 sched_getparam prototype. Remove erroneous * from
3086 sched_get_priority_max and sched_get_priority_min prototypes.
3087 (Resource Usage): Fix summary @comment on vtimes to refer to
3088 sys/vtimes.h rather than vtimes.h.
3089 Add missing *s in vtimes prototype.
3090 (Limits on Resources): Fix ulimit prototype to return long int.
3091 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3092 prototypes to use long int rather than double.
3093 (BSD Random): Fix initstate and setstate to use char *, not void *.
3094 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3095 prototype to make second argument 'struct aiocb64 *const[]'.
3096 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3097 (Status of AIO Operations): Remove erroneous const in aio_return and
3098 aio_return64 prototypes.
3099 (Synchronizing I/O): Fix sync prototype to return void.
3100 * manual/startup.texi (Suboptions): Remove an erroneous const in
3101 getsubopt prototype.
3102 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3103 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3104 use size_t rather than int.
3105 (Scanning All Users): Likewise for getpwent_r.
3106 (Setting Groups): Add missing const to setgroups prototype.
3107 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3108 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3109 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3110 'const void *' rather than 'const char *'.
3111 (Host Address Functions): Likewise for inet_ntop.
3112 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3113 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3114 ssize_t for return value.
3115 (Sending Data): Likewise for send, sendto, sendmsg.
3116 (Socket Option Functions): Add a missing const in setsockopt prototype.
3117 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3118 use wchar_t for the argument.
3119 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3120 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3121 take no arguments.
3122 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3123 double/float/long double for second argument.
3124 Fix return types of significand, significandf, significandl.
3125 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3126 argument in fchmod prototype.
3127 (File Owner): Use uid_t and gid_t in fchown prototype.
3128 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3129 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3130 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3131 use 'const struct dirent **' as argument types to CMP function pointer
3132 argument.
3133 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3134 (File Times): Fix summary magic @comment for struct utimbuf and utime
3135 to refer to utime.h, not time.h.
3136 * manual/string.texi (Argz Functions): Add missing const in
3137 argz_extract and argz_next prototypes.
3138 (Finding Tokens in a String): Likewise for basename.
3139 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3140 (Copying and Concatenation): Fix typo in wmemmove prototype.
3141 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3142 (Signal Stack): Remove erroneous const in sigstack prototype.
3143 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3144 prototype.
3145 (Simple Calendar Time): Likewise for stime.
3146 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3147 prototype.
3148 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3149 say sys/sysctl.h instead.
3150 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3151 and vsyslog prototypes.
3152
fe77fe6d
TV
31532013-02-11 Tom de Vries <tom@codesourcery.com>
3154
3155 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3156 Remove.
3157
3a09b620
RM
31582013-02-11 Roland McGrath <roland@hack.frob.com>
3159
3160 * misc/sys/mman.h: Fix typo in mremap comment.
3161
550a0b89
RM
31622013-02-08 Roland McGrath <roland@hack.frob.com>
3163
3164 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3165 the '\0' terminator.
3166
a2da1673
JM
31672013-02-08 Joseph Myers <joseph@codesourcery.com>
3168
3169 [BZ #13550]
3170 * debug/segfault.c: Don't include <bp-checks.h>.
3171 * sysdeps/generic/bp-checks.h: Remove file.
3172 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3173 (__GETDENTS): Don't use CHECK_N.
3174 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3175 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3176 (__getgroups): Don't use CHECK_N.
3177 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3178 (setgroups): Don't use CHECK_N.
3179 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3180 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3181 (__libc_msgrcv): Don't use CHECK_N.
3182 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3183 (__libc_msgsnd): Don't use CHECK_N.
3184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3185 <bp-checks.h>.
3186 (__libc_pread): Don't use CHECK_N.
3187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3188 include <bp-checks.h>.
3189 (__libc_pread64): Don't use CHECK_N.
3190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3191 include <bp-checks.h>.
3192 (__libc_pwrite): Don't use CHECK_N.
3193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3194 include <bp-checks.h>.
3195 (__libc_pwrite64): Don't use CHECK_N.
3196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3197 <bp-checks.h>.
3198 (__libc_pread): Don't use CHECK_N.
3199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3200 include <bp-checks.h>.
3201 (__libc_pread64): Don't use CHECK_N.
3202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3203 include <bp-checks.h>.
3204 (__libc_pwrite): Don't use CHECK_N.
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3206 include <bp-checks.h>.
3207 (__libc_pwrite64): Don't use CHECK_N.
3208 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3209 (do_pread): Don't use CHECK_N.
3210 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3211 (do_pread64): Don't use CHECK_N.
3212 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3213 (do_pwrite): Don't use CHECK_N.
3214 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3215 (do_pwrite64): Don't use CHECK_N.
3216 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3217 (__libc_readv): Don't use CHECK_N.
3218 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3219 (semop): Don't use CHECK_N.
3220 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3221 <bp-checks.h>.
3222 (semtimedop): Don't use CHECK_N.
3223 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3224 (__libc_pread): Don't use CHECK_N.
3225 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3226 <bp-checks.h>.
3227 (__libc_pread64): Don't use CHECK_N.
3228 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3229 <bp-checks.h>.
3230 (__libc_pwrite): Don't use CHECK_N.
3231 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3232 <bp-checks.h>.
3233 (__libc_pwrite64): Don't use CHECK_N.
3234 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3235 <bp-checks.h>.
3236 (__libc_msgrcv): Don't use CHECK_N.
3237 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3238 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3239 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3240 (__libc_writev): Don't use CHECK_N.
3241
b84660a8
RM
32422013-02-08 Roland McGrath <roland@hack.frob.com>
3243
7f3e75f8
RM
3244 * string/strcpy.c: Removed unused variable.
3245
b84660a8
RM
3246 * Makeconfig (+sysdep-includes): Define with := rather than =.
3247 Use an existing include/ subdir of each sysdeps dir before it.
3248
471514d3
CD
32492013-02-08 Carlos O'Donell <carlos@redhat.com>
3250
3251 * nscd/connection.c (register_traced_file): Comment function.
3252 [HAVE_INOTIFY] (union __inev): Define.
3253 [HAVE_INOTIFY] (inotify_check_files): New function.
3254 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3255 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3256 clear_db_cache.
3257 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3258
b2d3c3be
CD
32592013-02-08 Carlos O'Donell <carlos@redhat.com>
3260
3261 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3262 loaded if not already and that a failure is permanent.
3263
b39949d2
CD
32642013-02-08 Carlos O'Donell <carlos@redhat.com>
3265
ddacd1db 3266 [BZ #15006]
b39949d2
CD
3267 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3268 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3269
b2c9eff4
JM
32702013-02-08 Joseph Myers <joseph@codesourcery.com>
3271
f3aae3f3
JM
3272 [BZ #13550]
3273 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3274 (CHECK_1_NULL_OK): Likewise.
3275 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3276 (__fxstat): Do not use CHECK_1.
3277 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3278 <bp-checks.h>.
3279 (___fxstat64): Do not use CHECK_1.
3280 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3281 <bp-checks.h>.
3282 (__fxstatat): Do not use CHECK_1.
3283 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3284 <bp-checks.h>.
3285 (__fxstatat64): Do not use CHECK_1.
3286 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3287 <bp-checks.h>.
3288 (__fxstat): Do not use CHECK_1.
3289 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3290 <bp-checks.h>.
3291 (__fxstatat): Do not use CHECK_1.
3292 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3293 <bp-checks.h>.
3294 (__getresgid): Do not use CHECK_1.
3295 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3296 <bp-checks.h>.
3297 (__getresuid): Do not use CHECK_1.
3298 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3299 <bp-checks.h>.
3300 (__lxstat): Do not use CHECK_1.
3301 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3302 <bp-checks.h>.
3303 (__old_msgctl): Do not use CHECK_1.
3304 (__new_msgctl): Likewise.
3305 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3306 <bp-checks.h>.
3307 (__new_setrlimit): Do not use CHECK_1.
3308 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3309 <bp-checks.h>.
3310 (__old_shmctl): Do not use CHECK_1.
3311 (__new_shmctl): Likewise.
3312 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3313 <bp-checks.h>.
3314 (__xstat): Do not use CHECK_1.
3315 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3316 (__lxstat): Do not use CHECK_1.
3317 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3318 <bp-checks.h>.
3319 (___lxstat64): Do not use CHECK_1.
3320 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3321 (__old_msgctl): Do not use CHECK_1.
3322 (__new_msgctl): Likewise.
3323 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3324 <bp-checks.h>.
3325 (__gettimeofday): Do not use CHECK_1.
3326 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3327 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3328 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3329 <bp-checks.h>.
3330 (__gettimeofday): Do not use CHECK_1.
3331 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3332 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3333 (__new_shmctl): Do not use CHECK_1.
3334 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3335 <bp-checks.h>.
3336 (do_sigtimedwait): Do not use CHECK_1.
3337 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3338 <bp-checks.h>.
3339 (do_sigwaitinfo): Do not use CHECK_1.
3340 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3341 <bp-checks.h>.
3342 (msgctl): Do not use CHECK_1.
3343 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3344 <bp-checks.h>.
3345 (shmctl): Do not use CHECK_1.
3346 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3347 (ustat): Do not use CHECK_1.
3348 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3349 <bp-checks.h>.
3350 (__fxstat): Do not use CHECK_1.
3351 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3352 <bp-checks.h>.
3353 (__fxstatat): Do not use CHECK_1.
3354 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3355 <bp-checks.h>.
3356 (__lxstat): Do not use CHECK_1.
3357 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3358 <bp-checks.h>.
3359 (__xstat): Do not use CHECK_1.
3360 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3361 (__xstat): Do not use CHECK_1.
3362 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3363 (___xstat64): Do not use CHECK_1.
3364
b2c9eff4
JM
3365 [BZ #13550]
3366 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3367 definitions.
3368 (CHECK_BOUNDS_HIGH): Likewise.
3369 * string/strcpy.c: Do not include <bp-checks.h>.
3370 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3371
f1d70dad
RM
33722013-02-07 Roland McGrath <roland@hack.frob.com>
3373
3374 * nscd/nscd-client.h (__nscd_drop_map_ref):
3375 Add __attribute__ ((unused)).
3376 * nis/nss-nisplus.h (niserr2nss): Likewise.
3377
3378 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3379 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3380
3381 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3382 Remove inline keyword.
3383 * include/rounding-mode.h (round_away): Likewise.
3384 * libio/wfileops.c (adjust_wide_data): Likewise.
3385 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3386 (__m128i_strloadu_tolower): Likewise.
3387 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3388 (__m128i_strloadu_tolower): Likewise.
3389 * time/mktime.c (ydhms_diff): Likewise.
3390 * locale/elem-hash.h (elem_hash): Likewise.
3391 * locale/setlocale.c (setdata): Likewise.
3392 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3393 (re_string_wchar_at): Likewise.
3394 (bitset_not, bitset_merge, bitset_mask): Likewise.
3395 [!(__GNUC__ > 3)] (inline): Remove macro.
3396 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3397 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3398 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3399 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3400 * string/memcmp.c (memcmp_bytes): Likewise.
3401 * locale/programs/locarchive.c (compute_hashval): Likewise.
3402 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3403 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3404 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3405 * nss/getent.c (print_rpc, print_protocols): Likewise.
3406 (print_passwd, print_group, print_aliases): Likewise.
3407 * nis/nss-nisplus.h (niserr2nss): Likewise.
3408 * nscd/connections.c (restart_p): Likewise.
3409 Change return type to bool.
3410
eab55bfb
RM
34112013-02-05 Roland McGrath <roland@hack.frob.com>
3412
7bd642f5
RM
3413 * Makeconfig (all-Depend-files): Add existing
3414 $(sorted-subdirs:=/Depend) files.
3415 (all-subdirs): Remove nss.
3416 * sysdeps/unix/inet/Subdirs: Add it here instead.
3417 * hesiod/Depend: New file.
3418
573c29b2
RM
3419 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3420 instead of calling alloca.
3421
b2e25af0
RM
3422 * io/lseek.c (__lseek): Rename to __libc_lseek.
3423 Define __lseek as an alias.
3424
eab55bfb
RM
3425 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3426
9a0d1941
CD
34272013-02-04 Carlos O'Donell <carlos@redhat.com>
3428
3429 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3430 else clause and remove check for non-standard endianness.
3431
b83bbec4
DM
34322013-02-04 David S. Miller <davem@davemloft.net>
3433
3434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3435
6277fdab
JM
34362013-02-04 Joseph Myers <joseph@codesourcery.com>
3437
3438 [BZ #13550]
3439 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3440 (__ubp_memchr): Remove prototype.
3441 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3442 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3443 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3444 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3445 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3446 Remove alias.
3447 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3448 (__ubp_memchr): Likewise.
3449 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3450 (__ubp_memchr): Likewise.
3451 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3452 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3453 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3454 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3455 CHECK_STRING.
3456 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3457 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3458 (__getcwd): Do not use CHECK_STRING.
3459 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3460 <bp-checks.h>.
3461 (__real_chown): Do not use CHECK_STRING.
3462 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3463 <bp-checks.h>.
3464 (fchownat): Do not use CHECK_STRING.
3465 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3466 CHECK_STRING.
3467 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3468 <bp-checks.h>.
3469 (__lchown): Do not use CHECK_STRING.
3470 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3471 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3472 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3473 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3475 include <bp-checks.h>.
3476 (truncate64): Do not use CHECK_STRING.
3477 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3478 <bp-checks.h>.
3479 (__real_chown): Do not use CHECK_STRING.
3480 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3481 <bp-checks.h>.
3482 (__lchown): Do not use CHECK_STRING.
3483 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3484 <bp-checks.h>.
3485 (__chown): Do not use CHECK_STRING.
3486 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3487 <bp-checks.h>.
3488 (truncate64): Do not use CHECK_STRING.
3489 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3490 Likewise.
3491 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3492 (__xmknod): Do not use CHECK_STRING.
3493 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3494 <bp-checks.h>.
3495 (__xmknodat): Do not use CHECK_STRING.
3496 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3497 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3498
903ae060
AS
34992013-02-04 Andreas Schwab <schwab@suse.de>
3500
3501 [BZ #14142]
3502 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3503 * include/netdb.h: Likewise for h_errno.
3504 * elf/tst-stackguard1.c: Include <tls.h>.
3505
542f9466
JK
35062013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3507
3508 * elf/link.h (struct link_map): Extend the l_addr comment.
3509 * include/link.h (struct link_map): Likewise.
3510
e782a927
JM
35112013-02-01 Joseph Myers <joseph@codesourcery.com>
3512
3513 [BZ #13550]
3514 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3515 (BOUNDED_1): Remove macro.
3516 * debug/backtrace.c: Don't include <bp-checks.h>.
3517 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3518 (__backtrace): Likewise.
3519 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3520 <bp-checks.h>.
3521 (__backtrace): Don't use BOUNDED_1.
3522 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3523 <bp-checks.h>.
3524 (__backtrace): Don't use BOUNDED_1.
3525 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3526 (__backtrace): Don't use BOUNDED_1.
3527 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3528 (shmat): Don't use BOUNDED_N.
3529
8cf28c5e
JM
35302013-01-31 Joseph Myers <joseph@codesourcery.com>
3531
3a7ac8a0
JM
3532 [BZ #13550]
3533 * sysdeps/generic/bp-start.h: Remove file.
3534 * csu/libc-start.c: Don't include <bp-start.h>.
3535 (LIBC_START_MAIN): Set up __environ directly instead of using
3536 INIT_ARGV_and_ENVIRON.
3537 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3538 <bp-start.h>.
3539
f3499f95
JM
3540 [BZ #13550]
3541 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3542 definitions.
3543 (CHECK_FCNTL): Likewise.
3544 (CHECK_N_PAGES): Likewise.
3545
32a45bea
JM
3546 [BZ #13550]
3547 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3548 definitions.
3549 (CHECK_SIGSET_NULL_OK): Likewise.
3550 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3551 <bp-checks.h>.
3552 (sigpending): Don't use CHECK_SIGSET.
3553 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3554 <bp-checks.h>.
3555 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3556 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3557 <bp-checks.h>.
3558 (do_sigsuspend): Don't use CHECK_SIGSET.
3559 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3560 use CHECK_SIGSET.
3561 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3562 (do_sigwait): Don't use CHECK_SIGSET.
3563 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3564 use CHECK_SIGSET.
3565 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3566 include <bp-checks.h>.
3567 (sigpending): Don't use CHECK_SIGSET.
3568 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3569 include <bp-checks.h>.
3570 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3571 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3572 <bp-checks.h>.
3573 (sigpending): Don't use CHECK_SIGSET.
3574 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3575 <bp-checks.h>.
3576 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3577
2e8a5c8c
JM
3578 [BZ #13550]
3579 * sysdeps/generic/bp-semctl.h: Remove file.
3580 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3581 <bp-checks.h> and <bp-semctl.h>.
3582 (__old_semctl): Don't use CHECK_SEMCTL.
3583 (__new_semctl): Likewise.
3584 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3585 and <bp-semctl.h>.
3586 (__old_semctl): Don't use CHECK_SEMCTL.
3587 (__new_semctl): Likewise.
3588 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3589 <bp-checks.h> and <bp-semctl.h>.
3590 (__old_semctl): Don't use CHECK_SEMCTL.
3591 (__new_semctl): Likewise.
3592 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3593 <bp-checks.h> and <bp-semctl.h>.
3594 (semctl): Don't use CHECK_SEMCTL.
3595
c2d54929
JM
3596 [BZ #13550]
3597 * Makerules (elide-bp-thunks): Remove variable.
3598 (elide-routines.oS): Don't use $(elide-bp-thunks).
3599 (elide-routines.os): Likewise.
3600 (elide-routines.o): Likewise.
3601 (elide-routines.op): Likewise.
3602 (elide-routines.og): Likewise.
3603 (objects): Don't use $(bp-thunks).
3604 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3605 include.
3606 (common-generated): Do not add s-proto-bp.d.
3607 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3608 (int): Likewise.
3609 (typ): Likewise.
3610 Do not generate makefile rules for bounded-pointer thunks.
3611 * sysdeps/generic/bp-thunks.h: Remove file.
3612 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3613 * sysdeps/unix/s-proto-bp.S: Likewise.
3614
8cf28c5e
JM
3615 [BZ #15062]
3616 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3617 parts of result separately when argument is not close to line from
3618 -i to i and one part of argument is small.
3619 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3620 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3621 * math/libm-test.inc (cacos_test): Add more tests.
3622 (casin_test): Likewise.
3623 (casinh_test): Likewise.
3624 * sysdeps/i386/fpu/libm-test-ulps: Update.
3625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3626
c4e33b8d
DM
36272013-01-31 David S. Miller <davem@davemloft.net>
3628
3629 * po/de.po: Update from translation team.
3630
3b60b421
MK
36312013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3632
3633 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3634
bb931195
TS
36352013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3636
b5a5da23
TS
3637 * configure.in (_AC_PROG_CC_C89): New definition.
3638 * configure: Regenerate.
3639
bb931195
TS
3640 * configure.in (AC_PROG_CPP): New definition.
3641 * configure: Regenerate.
3642
8c53a12c
JM
36432013-01-23 Joseph Myers <joseph@codesourcery.com>
3644
3645 * debug/tst-backtrace.h: New file.
3646 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3647 (ret): Remove variable.
3648 (x): Likewise.
3649 (FAIL): Remove macro.
3650 (NO_INLINE): Likewise.
3651 (fn1): Use match function instead of strstr.
3652 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3653 (ret): Remove variable.
3654 (x): Likewise.
3655 (FAIL): Remove macro.
3656 (NO_INLINE): Likewise.
3657 (fn): Use match function instead of strstr.
3658 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3659 (ret): Remove variable.
3660 (x): Likewise.
3661 (FAIL): Remove macro.
3662 (NO_INLINE): Likewise.
3663 (handle_signal): Use match function instead of strstr.
3664 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3665 (ret): Remove variable.
3666 (x): Likewise.
3667 (FAIL): Remove macro.
3668 (NO_INLINE): Likewise.
3669 (handle_signal): Use match function instead of strstr.
3670
4858fa2a
RM
36712013-01-23 Roland McGrath <roland@hack.frob.com>
3672
3673 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3674
bae8e7f5
DM
36752013-01-23 David S. Miller <davem@davemloft.net>
3676
3677 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3678 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3679 argument of CAS if possible.
3680 * sysdeps/sparc/sparc64/bits/atomic.h
3681 (__arch_compare_and_exchange_val_32_acq): Likewise.
3682 (__arch_compare_and_exchange_val_64_acq): Likewise.
3683
9cbbc4ae
PT
36842013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3685
3686 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3687 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3688 Include <limits.h>.
67b3f58c 3689 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3690
5655a0b5
AC
36912013-01-23 Adam Conrad <adconrad@0c3.net>
3692
3693 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3694 (LDFLAGS-tst-array5): Likewise.
3695
052aff95
JM
36962013-01-23 Joseph Myers <joseph@codesourcery.com>
3697
3698 [BZ #15036]
3699 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3700 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3701 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3702 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3703
7c1e01aa
DM
37042013-01-21 David S. Miller <davem@davemloft.net>
3705
3706 * sysdeps/sparc/backtrace.c: New file.
3707 * sysdeps/sparc/sparc32/backtrace.h: New file.
3708 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3709 * sysdeps/sparc/sparc64/backtrace.h: New file.
3710 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3711 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3712 -funwind-tables.
3713
ab087e0a
AS
37142013-01-21 Andreas Schwab <schwab@suse.de>
3715
3716 [BZ #15020]
3717 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3718 closed its stdout.
3719
ed689c2f
AS
37202013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3721
3722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3723 "mpa2.h".
3724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3725
31d470ac
JM
37262013-01-18 Joseph Myers <joseph@codesourcery.com>
3727 Mark Mitchell <mark@codesourcery.com>
3728 Tom de Vries <tom@codesourcery.com>
3729 Paul Pluzhnikov <ppluzhnikov@google.com>
3730
3731 * debug/tst-backtrace2.c: New file.
3732 * debug/tst-backtrace3.c: Likewise.
3733 * debug/tst-backtrace4.c: Likewise.
3734 * debug/tst-backtrace5.c: Likewise.
3735 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3736 (CFLAGS-tst-backtrace3.c): Likewise.
3737 (CFLAGS-tst-backtrace4.c): Likewise.
3738 (CFLAGS-tst-backtrace5.c): Likewise.
3739 (LDFLAGS-tst-backtrace2): Likewise.
3740 (LDFLAGS-tst-backtrace3): Likewise.
3741 (LDFLAGS-tst-backtrace4): Likewise.
3742 (LDFLAGS-tst-backtrace5): Likewise.
3743 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3744 tst-backtrace4 and tst-backtrace5.
3745
90567f30 37462013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3747 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3748
3749 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3750 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3751 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3752 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3754 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3755 "+r" and remove output regs list as redundant. Add explicit inline
3756 asm to specify register of return val to work around compiler codegen
3757 bug. Remove (int) cast on return value. Add return type parameter to
3758 use in macro so that this macro does not truncate return value for
3759 64-bit values.
3760 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3761 pass to INTERNAL_VSYSCALL_NCS.
3762 (INLINE_VSYSCALL): Add 'long int' as return type to
3763 INTERNAL_VSYSCALL_NCS macro invocation.
3764 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3765 INTERNAL_VSYSCALL_NCS macro invocation.
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3767
d3b9ea61
SP
37682013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3769
0b57daeb
SP
3770 [BZ #14496]
3771 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3772 Fix application of SIMD FP exception mask.
3773
caa99d06
SP
3774 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3775 mp_no from a power of two.
3776 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3777 __mpexp_twomm1. Use __pow_mp.
3778
d3b9ea61
SP
3779 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3780 multiplication.
3781
1dbaee3c
DM
37822013-01-17 David S. Miller <davem@davemloft.net>
3783
3784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3785
728d7b43
JM
37862013-01-17 Joseph Myers <joseph@codesourcery.com>
3787
3788 [BZ #15023]
3789 * include/complex.h: Condition contents on [!_COMPLEX_H].
3790 (__kernel_casinhf): New prototype.
3791 (__kernel_casinh): Likewise.
3792 (__kernel_casinhl): Likewise.
3793 * math/Makefile (libm_calls): Add k_casinh.
3794 * math/k_casinh.c: New file.
3795 * math/k_casinhf.c: Likewise.
3796 * math/k_casinhl.c: Likewise.
3797 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3798 finite nonzero arguments.
3799 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3800 finite nonzero arguments.
3801 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3802 finite nonzero arguments.
3803 * math/s_casinh.c: Do not include <float.h>.
3804 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3805 * math/s_casinhf.c: Do not include <float.h>.
3806 (__casinhf): Move code for finite nonzero arguments to
3807 k_casinhf.c.
3808 * math/s_casinhl.c: Do not include <float.h>.
3809 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3810 redefine.
3811 (__casinhl): Move code for finite nonzero arguments to
3812 k_casinhl.c.
3813 * math/libm-test.inc (cacos_test): Add more tests.
3814 * sysdeps/i386/fpu/libm-test-ulps: Update.
3815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3816
2a26ef3a
PT
38172013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3818
3819 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3820 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3821 [!HAVE_MREMAP]: Remove [defined linux] case.
3822 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3823
a897655d
SP
38242013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3825
3826 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3827
881ebe89 38282013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3829
3830 * elf/elf.h (R_386_SIZE32): New relocation.
3831 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3832 R_386_SIZE32.
3833 (elf_machine_rela): Likewise.
3834 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3835 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3836
59981e9b
JM
38372013-01-17 Joseph Myers <joseph@codesourcery.com>
3838
3839 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3840 (FP_FAST_FMA): Do not define.
3841 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3842 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3843 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3844 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3845 !_SOFT_FLOAT]: Likewise.
3846 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3847 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3848 value.
3849 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3850 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3851 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3852 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3853 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3854 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3855 file.
3856
cfa8054f
AS
38572013-01-16 Andreas Schwab <schwab@suse.de>
3858
3859 [BZ #14327]
3860 * include/stdlib.h (__mktemp): Add declaration.
3861 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3862 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3863
dd930cc5
SP
38642013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3865
881ebe89
SP
3866 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3867 definitions.
3868 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3869 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3870 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3871 definitions here.
3872 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3873 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3874 definitions.
3875 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3876 and ONE.
3877 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3878 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3879 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3880 definitions.
3881 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3882 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3883 definitions.
3884 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3885
dd930cc5
SP
3886 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3887
c19a9f89
DM
38882013-01-15 David S. Miller <davem@davemloft.net>
3889
1aa61767
DM
3890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3891 trunc{,f} to libm-sysdep_routes.
3892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3894 file.
3895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3897 file.
3898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3899 file.
3900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3902 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3903 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3904 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3905 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3906 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3907 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3908
c42d5e98
DM
3909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3910 nearbyint{,f} to libm-sysdep_routes.
3911 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3913 New file.
3914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3915 file.
3916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3917 New file.
3918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3919 file.
3920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3922 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3923 file.
3924 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3925 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3926 file.
3927 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3928 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3929 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3930
c19a9f89
DM
3931 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3932 libc_feholdexcept and libc_fesetenv.
3933
357679d2
MF
39342013-01-15 Mike Frysinger <vapier@gentoo.org>
3935
3936 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3937
65a82e3d
DM
39382013-01-14 David S. Miller <davem@davemloft.net>
3939
8b954ab9
DM
3940 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3941 (SPARC_ASM_VIS2_IFUNC): Likewise.
3942 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3944 use of 'siam' instruction.
3945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3946 Likewise.
3947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3948 Likewise.
3949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3950 Likewise.
3951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3952 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3956 file.
3957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3958 file.
3959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3960 file.
3961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3962 file.
3963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3968 new VIS2 routines.
3969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3972 Likewise.
3973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3975 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3978 routines to libm-sysdep_routines.
3979 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3980
65a82e3d
DM
3981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3982 fdim/fdimf to libm-sysdep_routines.
3983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3984 file.
3985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3987 file.
3988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3991 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3992 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3993 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3994 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3995
e34ab705
SP
39962013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3997
2a91b573
SP
3998 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3999 to optimize copies.
4000
1066a534
SP
4001 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4004
e34ab705
SP
4005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4006 local variable MPTWO.
4007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4008 Likewise.
4009
aba5e596
MF
40102013-01-13 Mike Frysinger <vapier@gentoo.org>
4011
4012 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4013 GLOB_NOESCAPE.
4014
e557e9e5
MF
40152013-01-13 Mike Frysinger <vapier@gentoo.org>
4016
4017 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4018
0428cec9
MF
40192013-01-13 Mike Frysinger <vapier@gentoo.org>
4020
4021 * manual/pattern.texi (glob_t): Document gl_flags.
4022 (glob64_t): Likewise.
4023
8794a964
DM
40242013-01-11 David S. Miller <davem@davemloft.net>
4025
66438c3f
RM
4026 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4027 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4028 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4029 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4030 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4031 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4032 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4033 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4034 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4035 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4036 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4037 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4038 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4039
4ae4244d
DM
4040 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4041 sparc V9 rather than using V8 code.
4042 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4043 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4044
8794a964
DM
4045 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4046 Move to...
4047 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4048 Here.
4049
6270516e
RM
40502013-01-11 Roland McGrath <roland@hack.frob.com>
4051
4052 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4053 not in the main loop.
4054 * configure: Regenerated.
4055
6a57d931
JM
40562013-01-11 Joseph Myers <joseph@codesourcery.com>
4057
4058 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4059 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4060 to just #else.
4061 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4062 [!__GLIBC_HAVE_LONG_LONG] case.
4063 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4064 condition to just #else.
4065 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4066 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4067 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4068 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4069 unconditional.
4070 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4071 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4072 #elif condition to just #else.
4073 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4074 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4075 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4076 #elif condition to just #else.
4077
0e8529e9
SE
40782013-01-11 Steve Ellcey <sellcey@mips.com>
4079
4080 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4081 (EF_MIPS_ARCH_64): Fix value.
4082 (EF_MIPS_ARCH_32R2): New.
4083 (EF_MIPS_ARCH_64R2): New.
4084
740b3dbe
L
40852013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4086
4087 * Makeconfig (+link-pie-before-libc): New.
4088 (+link-pie-after-libc): Likewise.
4089 (+link-pie-tests): Likewise.
4090 (+link-pie): Rewritten.
4091 (link-before-libc): Remove $(config-LDFLAGS).
4092 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4093 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4094 (config-LDFLAGS): Renamed to ...
4095 (rtld-LDFLAGS): This.
4096 (rtld-tests-LDFLAGS): New macro.
4097 (link-libc-rpath-link): Likewise.
4098 (link-libc-tests-rpath-link): Likewise.
4099 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4100 (link-libc): Prepand $(link-libc-rpath-link).
4101 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4102 (test-program-prefix): New macro.
4103 (test-via-rtld-prefix): Likewise.
4104 (test-program-cmd): Likewise.
4105 (host-test-program-cmd): Likewise.
4106 * Makefile ($(common-objpfx)testrun.sh): Replace
4107 $(run-program-prefix) with $(test-program-prefix).
4108 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4109 $(rtld-LDFLAGS).
4110 ($(common-objpfx)shlib.lds): Likewise.
4111 (build-module-helper): Likewise.
4112 ($(common-objpfx)format.lds): Likewise.
4113 * Rules (binaries-pie-tests): New.
4114 (binaries-pie-notests): Likewise.
4115 (binaries-pie): Rewritten.
4116 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4117 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4118 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4119 (make-test-out): Replace $(host-built-program-cmd) with
4120 $(host-test-program-cmd).
4121 * config.make.in (build-hardcoded-path-in-tests): New variable.
4122 * configure.in (--enable-hardcoded-path-in-tests): New configure
4123 option.
4124 (hardcoded_path_in_tests): New AC_SUBST.
4125 * configure: Regenerated.
4126 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4127 $(built-program-cmd) with $(test-program-cmd).
4128 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4129 (test_program_cmd): This.
4130 * elf/Makefile ($(objpfx)order.out): Run test with
4131 $(test-program-prefix).
4132 ($(objpfx)order2.out): Likewise.
4133 ($(objpfx)tst-initorder.out): Likewise.
4134 ($(objpfx)tst-initorder2.out): Likewise.
4135 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4136 $(test-program-cmd).
4137 ($(objpfx)tst-array1-static.out): Likewise.
4138 ($(objpfx)tst-array2.out): Likewise.
4139 ($(objpfx)tst-array3.out): Likewise.
4140 ($(objpfx)tst-array4.out): Likewise.
4141 ($(objpfx)tst-array5.out): Likewise.
4142 ($(objpfx)tst-array5-static.out): Likewise.
4143 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4144 $(test-program-cmd).
4145 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4146 $(run-program-prefix) with $(test-program-prefix).
4147 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4148 (test_program_prefix): This.
4149 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4150 $(run-program-prefix) with $(test-program-prefix).
4151 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4152 (test_program_prefix): This.
4153 * iconvdata/tst-tables.sh: Likewise.
4154 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4155 $(run-program-prefix) with $(test-program-prefix).
4156 ($(objpfx)tst-translit.out): Likewise.
4157 ($(objpfx)tst-gettext2.out): Likewise.
4158 ($(objpfx)tst-gettext4.out): Likewise.
4159 ($(objpfx)tst-gettext6.out): Likewise.
4160 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4161 (test_program_prefix): This.
4162 * intl/tst-gettext2.sh: Likewise.
4163 * intl/tst-gettext4.sh Likewise.
4164 * intl/tst-gettext6.sh: Likewise.
4165 * intl/tst-translit.sh: Likewise.
4166 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4167 with $(test-program-cmd).
4168 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4169 $(run-program-prefix) with $(test-program-prefix).
4170 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4171 (test_program_prefix): This.
4172 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4173 $(run-program-prefix) with $(test-program-prefix).
4174 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4175 (test_program_prefix): This.
4176 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4177 * posix/Makefile ($(objpfx)globtest.out): Replace
4178 $(run-via-rtld-prefix) and $(test-wrapper) with
4179 $(test-program-prefix) and $(test-via-rtld-prefix).
4180 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4181 $(test-program-prefix).
4182 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4183 $(host-test-program-cmd).
4184 (tst-spawn-ARGS): Likewise.
4185 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4186 $(test-program-prefix).
4187 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4188 (test_via_rtld_prefix): This.
4189 (test_wrapper): Renamed to ...
4190 (test_program_prefix): This.
4191 (run_program_prefix): Replaced by test_program_prefix.
4192 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4193 (test_program_prefix): This.
4194 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4195 with $(host-test-program-cmd).
4196 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4197 $(run-program-prefix) with $(test-program-prefix).
4198 ($(objpfx)tst-printf.out): Likewise.
4199 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4200 $(test-program-cmd).
4201 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4202 (test_program_prefix): This.
4203 * stdio-common/tst-unbputc.sh: Likewise.
4204 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4205 $(run-program-prefix) with $(test-program-prefix).
4206 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4207 (test_program_prefix): This.
4208 * string/Makefile ($(objpfx)tst-svc.out): Replace
4209 $(built-program-cmd) with $(test-program-cmd).
4210
c6fe55cf
AJ
42112013-01-11 Andreas Jaeger <aj@suse.de>
4212
4213 [BZ #15003]
4214 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4215 value. Sync with Linux 3.7.
4216
9e6919c8
DM
42172013-01-10 David S. Miller <davem@davemloft.net>
4218
4219 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4220 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4221 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4222
1c9f1a02
RM
42232013-01-10 Roland McGrath <roland@hack.frob.com>
4224
4225 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4226 never set.
4227 * configure: Regenerated.
4228
b9de2dde
DM
42292013-01-10 David S. Miller <davem@davemloft.net>
4230
4231 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4232 sparc V9 rather than using V8 code.
4233 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4234 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4235
e7f68ef4
RM
42362013-01-10 Roland McGrath <roland@hack.frob.com>
4237
4238 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4239 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4240 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4241 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4242 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4243 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4244 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4245 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4246 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4247 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4248 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4249 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4250 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4251 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4252 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4253 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4254 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4255 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4256 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4257 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4258 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4259 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4260 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4261 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4262 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4263 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4264 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4265
5a47cc9c
DM
42662013-01-10 David S. Miller <davem@davemloft.net>
4267
4268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4269
4cf8f209
L
42702013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4271
4272 * posix/Makefile (tests-static): New variable.
4273 (tests): Add $(tests-static).
4274 (tst-exec-static-ARGS): New variable.
4275 (tst-spawn-static-ARGS): Likewise.
4276 * posix/tst-exec-static.c: New file.
4277 * posix/tst-spawn-static.c: Likewise.
4278 * posix/tst-exec.c: Support run directly.
4279 * posix/tst-spawn.c: Likewise.
4280
fed0faa1
JM
42812013-01-10 Joseph Myers <joseph@codesourcery.com>
4282
828beb13
JM
4283 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4284 long.
4285 * math/bits/mathcalls.h (llrint): Likewise.
4286 (llround): Likewise.
4287 * stdlib/stdlib.h (struct drand48_data): Likewise.
4288 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4289 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4290 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4291 Likewise.
4292 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4293 Likewise.
4294 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4295 (elf_greg_t): Likewise.
4296 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4297 (__jmp_buf): Likewise.
4298 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4299 definitions.
4300 (llrint): Likewise, for all definitions.
4301 (llrintl): Likewise.
4302
fed0faa1
JM
4303 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4304 Remove [__GNUC__] condition.
4305 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4306 condition to just [__USE_ISOC99].
4307 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4308
1a20cb20
L
43092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4310
4311 [BZ #14200]
4312 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4313 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4314 defined.
4315 (_POSIX_V6_ILP32_OFF32): Likewise.
4316 (_XBS5_ILP32_OFF32): Likewise.
4317 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4318 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4319
751b85f7
SP
43202013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4321
7490eb81
SP
4322 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4323
751b85f7
SP
4324 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4325 doubles __mpexp_twomm1. Adjust usage.
4326 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4327 Remove.
4328
988197f0
AS
43292013-01-10 Andreas Schwab <schwab@suse.de>
4330
4331 [BZ #14964]
4332 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4333 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4334
e83d7298
DM
43352013-01-09 David S. Miller <davem@davemloft.net>
4336
034ed64b 4337 [BZ #15003]
e83d7298
DM
4338 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4339 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4340 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4341 TCP_FASTOPEN): Define.
4342 (tcp_repair_opt): New structure.
4343 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4344 enum values.
4345 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4346 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4347 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4348 (tcp_cookie_transactions): New structure.
4349
d5e0b9bd
AB
43502013-01-09 Anton Blanchard <anton@samba.org>
4351
4352 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4353 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4354 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4355 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4356
0c07e3ea
JM
43572013-01-09 Joseph Myers <joseph@codesourcery.com>
4358
4359 * include/features.h (__USE_ANSI): Remove.
4360
232f7002
RM
43612013-01-09 Roland McGrath <roland@hack.frob.com>
4362
ad98e30c
RM
4363 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4364
232f7002
RM
4365 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4366
950c99ca
SP
43672013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4368
b5792741
SP
4369 * sysdeps/s390/fpu/libm-test-ulps: Update.
4370
47cf2278
SP
4371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4372
950c99ca
SP
4373 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4374 (__acr): Likewise.
4375 (__cpy): Likewise.
4376 (norm): Likewise.
4377 (denorm): Likewise.
4378 (__mp_dbl): Likewise.
4379 (__dbl_mp): Likewise.
4380 (add_magnitudes): Likewise.
4381 (sub_magnitudes): Likewise.
4382 (__add): Likewise.
4383 (__sub): Likewise.
4384 (__mul): Likewise.
4385 (__inv): Likewise.
4386 (__dvd): Likewise.
4387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4388 (__acr): Likewise.
4389 (__cpy): Likewise.
4390 (norm): Likewise.
4391 (denorm): Likewise.
4392 (__mp_dbl): Likewise.
4393 (__dbl_mp): Likewise.
4394 (add_magnitudes): Likewise.
4395 (sub_magnitudes): Likewise.
4396 (__add): Likewise.
4397 (__sub): Likewise.
4398 (__mul): Likewise.
4399 (__inv): Likewise.
4400 (__dvd): Likewise.
4401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4402 (__acr): Likewise.
4403 (__cpy): Likewise.
4404 (norm): Likewise.
4405 (denorm): Likewise.
4406 (__mp_dbl): Likewise.
4407 (__dbl_mp): Likewise.
4408 (add_magnitudes): Likewise.
4409 (sub_magnitudes): Likewise.
4410 (__add): Likewise.
4411 (__sub): Likewise.
4412 (__mul): Likewise.
4413 (__inv): Likewise.
4414 (__dvd): Likewise.
4415
eede9df9
JM
44162013-01-08 Joseph Myers <joseph@codesourcery.com>
4417
4418 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4419 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4420 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4421 2 && __USE_EXTERN_INLINES]: Likewise.
4422
c40ea3d9
AJ
44232013-01-08 Andreas Jaeger <aj@suse.de>
4424
4425 [BZ# 14985]
4426 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4427 Remove.
4428 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4429 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4430
2ccdea26
AB
44312013-01-07 Anton Blanchard <anton@samba.org>
4432
4433 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4434 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4435 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4436 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4437 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4438 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4439 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4440 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4441 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4442 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4443 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4444 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4445 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4446 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4447 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4448 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4449 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4450 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4451 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4452 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4453 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4454 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4455 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4456 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4457 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4458 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4459 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4460 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4461 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4462 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4463 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4465 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4466 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4467 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4468 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4469 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4470 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4471 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4472 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4473 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4474 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4475 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4476
a9708fed
JM
44772013-01-07 Joseph Myers <joseph@codesourcery.com>
4478
375607b9
JM
4479 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4480 (__MALLOC_PMT): Likewise.
4481 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4482 [__GNUC__], only on [_LIBC].
4483 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4484 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4485 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4486 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4487 forward declaration.
4488 (realloc_hook_ini): Likewise.
4489 (memalign_hook_ini): Likewise.
4490 (__libc_memalign): Do not use __MALLOC_PMT in variable
4491 declaration.
4492 (__libc_valloc): Likewise.
4493 (__libc_pvalloc): Likewise.
4494 (__libc_calloc): Likewise.
4495 (__posix_memalign): Likewise.
4496
a9708fed
JM
4497 [BZ #14996]
4498 * math/s_casinh.c: Include <float.h>.
4499 (__casinh): Do not do computation with squaring and square root
4500 for large arguments.
4501 * math/s_casinhf.c: Include <float.h>.
4502 (__casinhf): Do not do computation with squaring and square root
4503 for large arguments.
4504 * math/s_casinhl.c: Include <float.h>.
4505 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4506 (__casinhl): Do not do computation with squaring and square root
4507 for large arguments.
4508 * math/libm-test.inc (casin_test): Add more tests.
4509 (casinh_test): Likewise.
4510 * sysdeps/i386/fpu/libm-test-ulps: Update.
4511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4512
afec409a
L
45132013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4514
4515 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4516 (__x86_64_raw_data_cache_size): Likewise.
4517 (__x86_64_data_cache_size_half): Likewise.
4518 (__x86_64_raw_data_cache_size_half): Likewise.
4519 (__x86_64_shared_cache_size): Likewise.
4520 (__x86_64_raw_shared_cache_size): Likewise.
4521 (__x86_64_shared_cache_size_half): Likewise.
4522 (__x86_64_raw_shared_cache_size_half): Likewise.
4523 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4524 to ...
4525 (__x86_data_cache_size): This.
4526 (__x86_64_raw_data_cache_size): Renamed to ...
4527 (__x86_raw_data_cache_size): This.
4528 (__x86_64_data_cache_size_half): Renamed to ...
4529 (__x86_data_cache_size_half): This.
4530 (__x86_64_raw_data_cache_size_half): Renamed to ...
4531 (__x86_raw_data_cache_size_half): This.
4532 (__x86_64_shared_cache_size): Renamed to ...
4533 (__x86_shared_cache_size): This.
4534 (__x86_64_raw_shared_cache_size): Renamed to ...
4535 (__x86_raw_shared_cache_size): This.
4536 (__x86_64_shared_cache_size_half): Renamed to ...
4537 (__x86_shared_cache_size_half): This.
4538 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4539 (__x86_raw_shared_cache_size_half): This.
4540 * sysdeps/x86_64/memcpy.S: Updated.
4541 * sysdeps/x86_64/memset.S: Likewise.
4542 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4543 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4544 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4545
0b3986d0
DM
45462013-01-04 David S. Miller <davem@davemloft.net>
4547
4548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4549
e47686e9
AS
45502013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4551
d643bac1
AS
4552 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4553 1 to avoid redefinition warning.
4554 (__USE_GNU): Don't define.
4555 (init_signaling_nan): Protoize.
4556
e47686e9
AS
4557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4558
b18decba
SP
45592013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4560
fffb407f
SP
4561 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4563 (__cpymn): Likewise.
4564 (norm): Remove commented code.
4565 (denorm): Likewise.
4566 (__mp_dbl): Likewise.
4567 (__inv): Likewise.
4568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4569 (__cpymn): Likewise.
4570 (norm): Remove commented code.
4571 (denorm): Likewise.
4572 (__mp_dbl): Likewise.
4573 (__inv): Likewise.
4574
b18decba
SP
4575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4576 mp_no value for 1.0 and 2.0.
4577 (norm): Use RADIXI instead of radixi.d.
4578 (denorm): Likewise.
4579 (__mul): Use 0.0 instead of zero.d.
4580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4581 mp_no value for 1.0 and 2.0.
4582 (norm): Use RADIXI instead of radixi.d.
4583 (denorm): Likewise.
4584 (__mul): Use 0.0 instead of zero.d.
4585
cdc1c96f
JM
45862013-01-04 Joseph Myers <joseph@codesourcery.com>
4587
4588 [BZ #14994]
4589 * math/s_casinh.c (__casinh): Reduce finite argument to first
4590 quadrant then set signs of results at the end.
4591 * math/s_casinhf.c (__casinhf): Likewise.
4592 * math/s_casinhl.c (__casinhl): Likewise.
4593 * math/libm-test.inc (casin_test): Add more tests.
4594 (casinh_test): Likewise.
4595 * sysdeps/i386/fpu/libm-test-ulps: Update.
4596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4597
302913e1
SP
45982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4599
6420d207
SP
4600 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4601
a9e48ab4
SP
4602 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4603
b7837264
SP
4604 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4605 declarations.
4606 (denorm): Likewise.
4607 (__mp_dbl): Likewise.
4608 (__inv): Likewise.
4609
f8af25d2
SP
4610 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4611 and adjust the header comment.
4612
302913e1
SP
4613 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4614 variable name from declaration.
4615
5d7dd1ca
L
46162013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4617
4618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4619 Initialize COMMON_CPUID_INDEX_7 element.
4620 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4621 (CPUID_RTM): Likewise.
4622 (HAS_RTM): Likewise.
4623 (COMMON_CPUID_INDEX_7): New enum.
4624
2f5f40f4
AS
46252013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4626
4627 [BZ #14981]
4628 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4629 size is zero, record memory as freed.
4630
4056f4a0
AJ
46312013-01-03 Andreas Jaeger <aj@suse.de>
4632
4633 * po/ia.po: Add new Interlingua translation.
4634
ab15736f 46352012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4636
4637 * locale/programs/localedef.c: Fix description of '--posix' flag.
4638
568035b7
JM
46392013-01-02 Joseph Myers <joseph@codesourcery.com>
4640
e6898b8d
JM
4641 * NEWS: Update dates in second copyright notice.
4642 * README: Update copyright dates in example.
4643 * manual/libc.texinfo: Update copyright dates.
4644 * scripts/test-installation.pl: Update copyright date in --version
4645 output.
4646
0e2f9562
JM
4647 * hurd/ctty-input.c: Fix copyright notice formatting.
4648 * hurd/ctty-output.c: Likewise.
4649 * hurd/dtable.c: Likewise.
4650 * hurd/hurd-raise.c: Likewise.
4651 * hurd/hurdprio.c: Likewise.
4652 * hurd/msgportdemux.c: Likewise.
4653 * misc/sys/file.h: Likewise.
4654 * misc/sys/ioctl.h: Likewise.
4655 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4656 * sysdeps/mach/hurd/chdir.c: Likewise.
4657 * sysdeps/mach/hurd/fchdir.c: Likewise.
4658 * sysdeps/mach/hurd/rename.c: Likewise.
4659 * sysdeps/mach/hurd/rmdir.c: Likewise.
4660 * sysdeps/mach/hurd/seekdir.c: Likewise.
4661 * sysdeps/mach/hurd/setsid.c: Likewise.
4662 * sysdeps/posix/wait3.c: Likewise.
4663
568035b7
JM
4664 * All files with FSF copyright notices: Update copyright dates
4665 using scripts/update-copyrights.
4666 * intl/plural.c: Regenerated.
4667 * locale/programs/charmap-kw.h: Likewise.
4668 * locale/programs/locfile-kw.h: Likewise.
4669
da08f647
SP
46702013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4671
0f5477af
SP
4672 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4673 four values.
4674
44e0d4c2
SP
4675 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4676 calculation loop and add branch prediction.
4677
4d55b4e5
SP
4678 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4679 check access beyond bounds of m1np.
4680
da08f647
SP
4681 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4682 MPTWO.
4683 (__inv): Remove local variable MPTWO to use the global
4684 constant.
4685 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4686 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4687 variable MPTWO.
4688 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4689 MP3HALFS static const.
4690
8e051029
DM
46912013-01-01 David S. Miller <davem@davemloft.net>
4692
4693 * po/ca.po: Update from translation team.
4694
f4cf5f2d
JM
46952013-01-01 Joseph Myers <joseph@codesourcery.com>
4696
4697 * scripts/update-copyrights: New file.
4698 * Makeconfig: Reformat copyright notice.
4699 * ctype/ctype.h: Likewise.
4700 * debug/swprintf_chk.c: Likewise.
4701 * elf/dl-cache.c: Likewise.
4702 * elf/dl-debug.c: Likewise.
4703 * elf/dl-object.c: Likewise.
4704 * grp/initgroups.c: Likewise.
4705 * hurd/Makefile: Likewise.
4706 * hurd/hurd/signal.h: Likewise.
4707 * hurd/hurdfault.c: Likewise.
4708 * hurd/hurdioctl.c: Likewise.
4709 * hurd/hurdlookup.c: Likewise.
4710 * hurd/intr-msg.c: Likewise.
4711 * iconv/gconv_open.c: Likewise.
4712 * libio/swprintf.c: Likewise.
4713 * locale/lc-ctype.c: Likewise.
4714 * locale/nl_langinfo.c: Likewise.
4715 * mach/Machrules: Likewise.
4716 * mach/Makefile: Likewise.
4717 * malloc/obstack.h: Likewise.
4718 * manual/Makefile: Likewise.
4719 * manual/tsort.awk: Likewise.
4720 * misc/bits/stab.def: Likewise.
4721 * nis/nis_print_group_entry.c: Likewise.
4722 * nis/nis_table.c: Likewise.
4723 * nis/nss_compat/compat-pwd.c: Likewise.
4724 * nis/nss_compat/compat-spwd.c: Likewise.
4725 * po/Makefile: Likewise.
4726 * posix/fnmatch.c: Likewise.
4727 * posix/regex.h: Likewise.
4728 * resolv/Makefile: Likewise.
4729 * resolv/nss_dns/dns-network.c: Likewise.
4730 * resolv/res_hconf.c: Likewise.
4731 * scripts/gen-sorted.awk: Likewise.
4732 * soft-fp/soft-fp.h: Likewise.
4733 * stdio-common/printf.h: Likewise.
4734 * stdlib/monetary.h: Likewise.
4735 * stdlib/random.c: Likewise.
4736 * stdlib/random_r.c: Likewise.
4737 * sysdeps/generic/Makefile: Likewise.
4738 * sysdeps/gnu/Makefile: Likewise.
4739 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4741 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4743 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4744 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4745 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4746 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4747 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4748 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4749 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4750 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4751 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4752 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4753 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4754 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4755 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4756 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4757 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4758 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4759 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4760 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4761 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4762 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4763 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4764 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4765 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4766 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4767 * sysdeps/mach/hurd/errnos.awk: Likewise.
4768 * sysdeps/mach/hurd/fork.c: Likewise.
4769 * sysdeps/mach/hurd/getcwd.c: Likewise.
4770 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4771 * sysdeps/mach/hurd/mmap.c: Likewise.
4772 * sysdeps/mach/hurd/utimes.c: Likewise.
4773 * sysdeps/mach/hurd/xmknod.c: Likewise.
4774 * sysdeps/posix/profil.c: Likewise.
4775 * sysdeps/posix/readdir_r.c: Likewise.
4776 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4777 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4778 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4779 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4780 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4781 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4782 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4783 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4785 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4786 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4787 * sysdeps/pthread/lio_listio.c: Likewise.
4788 * sysdeps/sparc/dl-procinfo.h: Likewise.
4789 * sysdeps/unix/i386/sysdep.S: Likewise.
4790 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4791 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4792 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4793 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4795 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4796 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4797 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4798 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4799 * sysdeps/wordsize-32/divdi3.c: Likewise.
4800 * time/sys/time.h: Likewise.
4801 * wcsmbs/Makefile: Likewise.
4802
0549fbba
DM
48032013-01-01 David S. Miller <davem@davemloft.net>
4804
a141f1a7
DM
4805 * po/fr.po: Update from translation team.
4806
0549fbba
DM
4807 * catgets/gencat.c: Update copyright year.
4808 * csu/version.c: Likewise.
4809 * debug/catchsegv.sh: Likewise.
4810 * debug/pcprofiledump.c: Likewise.
4811 * debug/xtrace.sh: Likewise.
4812 * elf/ldconfig.c: Likewise.
4813 * elf/ldd.bash.in: Likewise.
4814 * elf/pldd.c: Likewise.
4815 * elf/sotruss.ksh: Likewise.
4816 * elf/sprof.c: Likewise.
4817 * iconv/iconv_prog.c: Likewise.
4818 * iconv/iconvconfig.c: Likewise.
4819 * locale/programs/locale.c: Likewise.
4820 * locale/programs/localedef.c: Likewise.
4821 * login/programs/pt_chown.c: Likewise.
4822 * malloc/memusage.sh: Likewise.
4823 * malloc/memusagestat.c: Likewise.
4824 * malloc/mtrace.pl: Likewise.
4825 * nscd/nscd.c: Likewise.
4826 * nss/getent.c: Likewise.
4827 * nss/makedb.c: Likewise.
4828 * posix/getconf.c: Likewise.
4829
18ea052c
SP
48302012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4831
4832 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4833 numbers.
4834
9c89fca6
MF
48352012-12-30 Mike Frysinger <vapier@gentoo.org>
4836
4837 * math/bits/mathcalls.h (modf): Use __nonnull.
4838
085ec079
SP
48392012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4840
4841 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4842 (split): Use macro CN instead of the bare value.
4843 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4844 could be used.
4845 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4846 instead of the bare value.
4847 (power1): Likewise.
4848
6d9f97e1
SP
48492012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4850
d63f73be
SP
4851 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4852 __ATAN_TWOM.
4853 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4854
6d9f97e1
SP
4855 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4856 their values.
4857 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4858 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4859 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4860 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4861
4c4febf5
AJ
48622012-12-28 Andreas Jaeger <aj@suse.de>
4863
af5843ef
AJ
4864 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4865 values are from Linux 3.7.
4866
4c4febf5
AJ
4867 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4868 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4869
99136f82
SP
48702012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4871
2f216c3c 4872 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4873 TRUE case.
4874
99136f82
SP
4875 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4876 (norm): Likewise.
4877 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4878 variables with preprocessor constants.
4879 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4880 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4881 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4882
7fffbdff
BH
48832012-12-27 Bruno Haible <bruno@clisp.org>
4884
4885 [BZ #14317]
4886 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4887 only if needed.
4888
b76eb5f0
SP
48892012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4890
31a7fe5c
SP
4891 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4892 and use variable directly.
4893 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4894
b76eb5f0
SP
4895 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4896 MPONE.
4897 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4898 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4899 variable MPONE.
4900 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4901 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4902 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4903 include directive. Remove local variable MPONE.
4904 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4905 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4906 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4907
2c8bfe7d
DM
49082012-12-25 David S. Miller <davem@davemloft.net>
4909
4910 * version.h (RELEASE): Set to "development".
4911 (VERSION): Set to "2.17.90".
4912 * NEWS: Add 2.18 section.
4913
147d03b0
DM
49142012-12-21 David S. Miller <davem@davemloft.net>
4915
4916 * po/hr.po: Update from translation team.
4917
a8ebb2b9
AK
49182012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4919
4920 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4921
95b4f1b6
SE
49222012-12-19 Steve Ellcey <sellcey@mips.com>
4923
b2d94007 4924 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4925
cedb2a90
MS
49262012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4927
4928 * manual/contrib.texi (Contributors): Spelling correction.
4929
bbf527d6
DM
49302012-12-15 David S. Miller <davem@davemloft.net>
4931
4932 * po/ru.po: Update from translation team.
4933
bc38c906
DM
49342012-12-13 David S. Miller <davem@davemloft.net>
4935
85429b1a
DM
4936 * NEWS: Mention IFUNC testsuite enhancements.
4937
d283e353
DM
4938 * po/pl.po: Update from translation team.
4939 * po/bg.po: Likewise.
4940
bc38c906
DM
4941 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4942 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4943
a181b0d7
DM
49442012-12-11 David S. Miller <davem@davemloft.net>
4945
4641d57e
DM
4946 * po/sv.po: Update from translation team.
4947
f7bc6495
DM
4948 * po/vi.po: Update from translation team.
4949
6fc9048f
DM
4950 * po/cs.po: Update from translation team.
4951
a181b0d7
DM
4952 * po/de.po: Update from translation team.
4953 * po/eo.po: Likewise.
4954 * po/nl.po: Likewise.
4955
f70bfe80
SP
49562012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4957
3c8b4190
SP
4958 [BZ #14246]
4959 * manual/argp.texi (Argp Helper Functions): Move node to follow
4960 Argp Parsing State.
4961
f70bfe80
SP
4962 [BZ #14872]
4963 * manual/conf.texi (Limits on File System Capacity): Mention if
4964 terminating null is included in the max size.
4965
188f0adf
AJ
49662012-12-10 Andreas Jaeger <aj@suse.de>
4967
4968 * po/cs.po: Update from translation team.
4969
56e7d3ad
SP
49702012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4971
4972 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4973 void pointer and cast to uintptr_t.
4974 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4975 path.
4976 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4977 * sysdeps/s390/s390-64/memset.S: Likewise.
4978
76f2d2ea 49792012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4980
4981 [BZ #14833]
4982 * menual/message.texi (Message Translation): Fix typos.
4983 (Helper programs for gettext): Likewise.
4984
67cbf9a2
AS
49852012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4986
4987 [BZ #14898]
4988 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4989 Change to -1.
4990
682d0e9a
DM
49912012-12-07 David S. Miller <davem@davemloft.net>
4992
4993 * po/libc.pot: Update.
4994
573cd484
RH
49952012-12-07 Richard Henderson <rth@redhat.com>
4996
7e9da188 4997 [BZ #10114]
573cd484
RH
4998 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4999 normal/normal case to before the switch.
5000 (_FP_DIV): Likewise.
5001
e933a943
MF
50022012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5003 Mike Frysinger <vapier@gentoo.org>
5004
5005 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5006 check for __NR_fadvise64_64.
5007
82123268
CM
50082012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5009
5010 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5011 0, not just to plain "0" as a statement.
5012 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5013 with cw.
5014
d9814526
JM
50152012-12-06 Joseph Myers <joseph@codesourcery.com>
5016
5017 * NEWS: Use sourceware.org in Bugzilla URL.
5018
7728c574
SP
50192012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5020
f16946dd
SP
5021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5022 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5023
5704bbcb
SP
5024 * stdio-common/tst-put-error.c (do_test): Add newline to the
5025 padded test to ensure flush.
5026
17aa0516
JL
50272012-12-05 Jeff Law <law@redhat.com>
5028
5029 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5030
363313b5
JM
50312012-12-05 Joseph Myers <joseph@codesourcery.com>
5032
effbd42a
JM
5033 * README: Don't refer to ports add-on as distributed separately.
5034 Mention AArch64 in list of systems supported in the ports add-on.
5035
87600365
JM
5036 * LICENSES: Add more non-FSF copyright and license notices.
5037
a0d7066a
JM
5038 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5039 ((unused)).
5040
66ca5a5b
JM
5041 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5042
363313b5
JM
5043 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5044 10000 as width of padded output.
5045
b37984ad
JM
50462012-12-04 Joseph Myers <joseph@codesourcery.com>
5047
9003570a
JM
5048 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5049
b37984ad
JM
5050 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5051 variable LX with __attribute__ ((unused)).
5052 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5053 Likewise.
5054 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5055 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5056 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5057 with __attribute__ ((unused)).
5058
c8df52ec
DM
50592012-12-04 David S. Miller <davem@abraco.davemloft.net>
5060
5061 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5062
b3b099af
JM
50632012-12-04 Joseph Myers <joseph@codesourcery.com>
5064
c33aa6e3
JM
5065 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5066 (CFLAGS-nldbl-acos.c): New variable.
5067 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5068 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5069 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5070 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5071 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5072 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5073 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5074 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5075 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5076 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5077 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5078 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5079 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5080 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5081 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5082 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5083 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5084 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5085 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5086 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5087 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5088 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5089 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5090 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5091 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5092 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5093 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5094 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5095 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5096 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5097 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5098 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5099 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5100 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5101 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5102 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5103 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5104 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5105 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5106 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5107 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5108 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5109 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5110 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5111 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5112 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5113 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5114 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5115 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5116 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5117 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5118 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5119 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5120 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5121 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5122 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5123 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5124 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5125 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5126 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5127 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5128 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5129 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5130 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5131 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5132 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5133 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5134 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5135 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5136 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5137 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5138 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5139 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5140 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5141 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5142 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5143 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5144 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5145 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5146 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5147 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5148 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5149 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5150 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5151 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5152 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5153 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5154 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5155 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5156 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5157 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5158 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5159 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5160 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5161 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5162 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5163 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5164
20f0018d
JM
5165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5166 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5167
b3b099af
JM
5168 [BZ #14914]
5169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5170 whole low double instead of just low 47 bits when splitting values
5171 into two parts.
5172
029264d1
AM
51732012-12-03 Allan McRae <allan@archlinux.org>
5174
5175 * manual/stdio.texi (Predefined Printf Handlers): Remove
5176 @hsep and @vsep usage.
5177
c9d6789e
MF
51782012-12-03 Mike Frysinger <vapier@gentoo.org>
5179
5180 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5181 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5182
4b7634a5
JL
51832012-12-03 Jeff Law <law@redhat.com>
5184
5185 * time/sys/time.h (settimeofday): Do not mark TV argument
5186 as __nonnull.
5187
eb6cbd24
MF
51882012-12-01 Mike Frysinger <vapier@gentoo.org>
5189
5190 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5191 when currently writing and seek to current position when not.
5192 * libio/Makefile (tests): Remove bug-fclose1.
5193 * libio/bug-fclose1.c: Delete.
5194
f638872a
JM
51952012-12-01 Joseph Myers <joseph@codesourcery.com>
5196
5197 * manual/arith.texi (feenableexcept): Fix typo.
5198 (fedisableexcept): Likewise.
5199
48085d14
RM
52002012-11-30 Roland McGrath <roland@hack.frob.com>
5201
5202 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5203 second, differently-typed declaration, rather than a cast.
5204
1a538b9f
SP
52052012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5206
5207 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5208 * include/rpc/svc.h: ... here.
5209
d07f2ff1 52102012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5211
5212 [BZ #13013]
5213 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5214 depending n and resplen2 to catch cases where answer
5215 equals answerp2.
5216
c93ec1f0
CD
52172012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5218
5219 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5220 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5221
37db69de
MF
52222012-11-29 Mike Frysinger <vapier@gentoo.org>
5223
5224 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5225
e10c4e4f
RM
52262012-11-29 Roland McGrath <roland@hack.frob.com>
5227
5228 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5229
2af1b328
JL
52302012-11-28 Jeff Law <law@redhat.com>
5231
5232 [BZ #13761]
5233 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5234 dataset_temporary. Track alloca usage into alloca_used.
5235 If dataset is large allocate and release it via malloc/free.
5236
111db5b1
FW
52372012-06-04 Florian Weimer <fweimer@redhat.com>
5238
f06cc227 5239 [BZ #14197]
111db5b1
FW
5240 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5241
dd694abd
DM
52422012-11-28 David S. Miller <davem@davemloft.net>
5243
5244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5245
9984dd01
JM
52462012-11-28 Joseph Myers <joseph@codesourcery.com>
5247
5248 [BZ #14803]
5249 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5250 of pi/2 rounded to nearest to 64 bits.
5251 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5252 nearest to 64 bits.
5253 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5254 bits.
5255
14bc93a9
JL
52562012-11-28 Jeff Law <law@redhat.com>
5257 Martin Osvald <mosvald@redhat.com>
5258
5259 [BZ #14889]
5260 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5261 * sunrpc/svc.c: Include time.h.
5262 (__svc_accept_failed): New function.
5263 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5264 any reason other than EINTR, call __svc_accept_failed.
5265 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5266 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5267
e3c6aa3a
AS
52682012-11-28 Andreas Schwab <schwab@suse.de>
5269
5270 * scripts/abilist.awk: Also handle indirect functions in .opd
5271 section.
5272
1bead169
JM
52732012-11-28 Joseph Myers <joseph@codesourcery.com>
5274
5275 [BZ #13881]
5276 * sysdeps/x86/fpu/powl_helper.c: New file.
5277 * sysdeps/x86/fpu/Makefile: Likewise.
5278 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5279 (p3): New object.
5280 (__ieee754_powl): Use __powl_helper for finite arguments except
5281 integer exponents below 8.
5282 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5283 (p3): New object.
5284 (__ieee754_powl): Use __powl_helper for finite arguments except
5285 integer exponents below 8.
5286 * math/libm-test.inc (pow_test): Add more tests and enable some
5287 previously disabled tests.
5288 * sysdeps/i386/fpu/libm-test-ulps: Update.
5289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5290
0817d63d
SP
52912012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5292 Carlos O'Donell <carlos_odonell@mentor.com>
5293
5294 * nss/makedb.c (is_prime): Assert that input is odd and greater
5295 than 4. Note that fact in a comment too.
5296 (next_prime): Add 4 to input.
5297
de2fd463
SP
52982012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5299
5300 [BZ #11741]
5301 * libio/Makefile (tests): Add test case tst-fwrite-error.
5302 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5303 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5304 * libio/tst-fwrite-error.c: New test case.
5305
c515fb51
L
53062012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5307
5308 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5309 before casting to void *.
5310 * include/libc-internal.h (__pointer_type): New macro.
5311 (__integer_if_pointer_type_sub): Likewise.
5312 (__integer_if_pointer_type): Likewise.
5313 (cast_to_integer): Likewise.
5314 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5315 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5316 before casting to atomic64_t.
5317 (atomic_exchange_acq): Likewise.
5318 (__arch_exchange_and_add_body): Likewise.
5319 (__arch_add_body): Likewise.
5320 (atomic_add_negative): Likewise.
5321 (atomic_add_zero): Likewise.
5322
4cf77aa9
JM
53232012-11-26 Joseph Myers <joseph@codesourcery.com>
5324
5325 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5326 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5327 (add_fdes): Likewise.
5328 (linear_search_fdes): Likewise.
5329 (binary_search_unencoded_fdes): Likewise.
5330
d260b3b4
AS
53312012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5332
5333 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5334
67060746
AC
53352012-11-24 Adam Conrad <adconrad@0c3.net>
5336
5337 * configure.in: Autodetect C++ header directories.
5338 * configure: Regenerated.
5339
800938a1
MF
53402012-11-23 Mike Frysinger <vapier@gentoo.org>
5341
5342 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5343
4e6e34e6
AS
53442012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5345
5346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5347
7c7feb47
JM
53482012-11-22 Joseph Myers <joseph@codesourcery.com>
5349
7184dcdf
JM
5350 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5351 LDBL_MANT_DIG == 106]: Disable some tests.
5352 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5353 Likewise.
5354 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5355 Likewise.
5356
0a42601f
JM
5357 [BZ #14871]
5358 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5359 input for small inputs. Return +/- pi/2 for large inputs.
5360 * math/libm-test.inc (atan_test): Add more tests.
5361
79c9b9fe
JM
5362 * sysdeps/generic/unwind-dw2-fde-glibc.c
5363 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5364 __attribute__ ((unused)).
5365
c60d3bf2
JM
5366 [BZ #14645]
5367 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5368 x * y if x and y are nonzero and z is zero.
5369
ef1e0867
JM
5370 [BZ #14811]
5371 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5372 nonzero exponents with absolute value below 0x1p-117 to +/-
5373 0x1p-117.
5374
1468ded3
JM
5375 [BZ #14869]
5376 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5377 up arguments below 2**-450, not just those below 2**-500.
5378 * math/libm-test.inc (hypot_test): Add another test.
5379
8e27e3cc
JM
5380 [BZ #14868]
5381 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5382 Return a+b for ratio over 2**120, not 2**60.
5383 * math/libm-test.inc (hypot_test): Add another test.
5384
c9c0279b
JM
5385 * math/libm-test.inc (clog_test): Use
5386 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5387 (clog10_test): Likewise.
5388
7c7feb47
JM
5389 [BZ #6778]
5390 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5391
fff1530e
AS
53922012-11-22 Andreas Schwab <schwab@suse.de>
5393
5394 * sysdeps/i386/fpu/libm-test-ulps: Update.
5395
94558d30
PT
53962012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5397
5398 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5399 printf output with newline.
5400
7e1be741
L
54012012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5402
6bfea974
L
5403 [BZ #14865]
5404 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5405 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5406 -z nodlopen, -z initfirst and -z execstack support.
5407 * configure: Regenerated.
5408
7e1be741
L
5409 * elf/elf.h (DF_1_NODIRECT): New macro.
5410 (DF_1_IGNMULDEF): Likewise.
5411 (DF_1_NOKSYMS): Likewise.
5412 (DF_1_NOHDR): Likewise.
5413 (DF_1_EDITED): Likewise.
5414 (DF_1_NORELOC): Likewise.
5415 (DF_1_SYMINTPOSE): Likewise.
5416 (DF_1_GLOBAUDIT): Likewise.
5417 (DF_1_SINGLETON): Likewise.
5418 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5419 DT_1_SUPPORTED_MASK bits.
5420 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5421
105ce2ce
CD
54222012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5423
5424 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5425
123be9de
TS
54262012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5427
d072f3f7
TS
5428 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5429 macro.
5430
123be9de
TS
5431 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5432 (sendmmsg): Move declarations...
5433 * socket/sys/socket.h: ... here.
5434 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5435 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5436 include it from...
5437 * socket/recvmmsg.c: ... this new file.
5438 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5439 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5440 definition of __sendmmsg hidden.
5441 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5442 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5443 Move ENOSYS stub into and include it from...
5444 * socket/sendmmsg.c: ... this new file.
5445 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5446 (sysdep_routines): Move recvmmsg and sendmmsg...
5447 * socket/Makefile (routines): ... here.
5448 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5449 (GLIBC_PRIVATE): Add __sendmmsg.
5450 * include/sys/socket.h (__sendmmsg): Add declarations.
5451 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5452 sendmmsg.
5453
cf9a5d18
JM
54542012-11-20 Joseph Myers <joseph@codesourcery.com>
5455
5456 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5457 variable I1 with __attribute__ ((unused)).
5458 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5459
ecd4caf9
JM
54602012-11-19 Joseph Myers <joseph@codesourcery.com>
5461
be14d48f
JM
5462 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5463 DUMMY variables with __attribute__ ((unused)).
5464
ecd4caf9
JM
5465 * bits/byteswap.h: Include <bits/types.h>.
5466 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5467
986cab95
PT
54682012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5469
5470 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5471 string_t. Do not manually set errno.
5472 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5473 length with __strnlen. Make sure to both set errno and return it on
5474 failure.
5475
6d33cc9d
DM
54762012-11-19 David S. Miller <davem@davemloft.net>
5477
5478 With help from Joseph Myers.
5479 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5480 very large arguments properly.
5481 * math/libm-test.inc (atan_test): New tests.
5482 (atan2_test): New tests.
5483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5485
ee663277
JM
54862012-11-19 Joseph Myers <joseph@codesourcery.com>
5487
877f2d8e
JM
5488 [BZ #14856]
5489 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5490 Define to 3.
5491
116fc08a
JM
5492 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5493 [POSIX] (EADDRNOTAVAIL): Likewise.
5494 [POSIX] (EAFNOSUPPORT): Likewise.
5495 [POSIX] (EALREADY): Likewise.
5496 [POSIX] (ECONNABORTED): Likewise.
5497 [POSIX] (ECONNREFUSED): Likewise.
5498 [POSIX] (ECONNRESET): Likewise.
5499 [POSIX] (EDESTADDRREQ): Likewise.
5500 [POSIX] (EDQUOT): Likewise.
5501 [POSIX] (EHOSTUNREACH): Likewise.
5502 [POSIX] (EIDRM): Likewise.
5503 [POSIX] (EISCONN): Likewise.
5504 [POSIX] (ELOOP): Likewise.
5505 [POSIX] (EMULTIHOP): Likewise.
5506 [POSIX] (ENETDOWN): Likewise.
5507 [POSIX] (ENETUNREACH): Likewise.
5508 [POSIX] (ENOBUFS): Likewise.
5509 [POSIX] (ENODATA): Likewise.
5510 [POSIX] (ENOLINK): Likewise.
5511 [POSIX] (ENOMSG): Likewise.
5512 [POSIX] (ENOPROTOOPT): Likewise.
5513 [POSIX] (ENOSR): Likewise.
5514 [POSIX] (ENOSTR): Likewise.
5515 [POSIX] (ENOTCONN): Likewise.
5516 [POSIX] (ENOTSOCK): Likewise.
5517 [POSIX] (EOPNOTSUPP): Likewise.
5518 [POSIX] (EOVERFLOW): Likewise.
5519 [POSIX] (EPROTO): Likewise.
5520 [POSIX] (EPROTONOSUPPORT): Likewise.
5521 [POSIX] (EPROTOTYPE): Likewise.
5522 [POSIX] (ESTALE): Likewise.
5523 [POSIX] (ETIME): Likewise.
5524 [POSIX] (ETXTBSY): Likewise.
5525 [POSIX] (EWOULDBLOCK): Likewise.
5526 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5527 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5528 [POSIX] (SEEK_CUR): Likewise.
5529 [POSIX] (SEEK_END): Likewise.
5530 [POSIX || UNIX98] (mode_t): Do not require.
5531 [POSIX] (off_t): Likewise.
5532 [POSIX] (pid_t): Likewise.
5533 [POSIX] (sys/stat.h): Do not allow header.
5534 [POSIX] (unistd.h): Likewise.
5535 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5536 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5537 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5538 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5539 require.
5540 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5541 sigevent): Specify elements.
5542 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5543 entry.
5544 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5545 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5546
a483863f
JM
5547 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5548 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5549 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5550 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5551 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5552 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5553 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5554 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5555 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5556 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5557 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5558 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5559 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5560 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5561 Likewise.
5562 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5563 Likewise.
5564 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5565 Likewise.
5566 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5567 Likewise.
5568 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5569 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5570 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5571 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5572 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5573 Specify lower bound on value.
5574 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5575 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5576 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5577 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5578 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5579 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5580 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5581 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5582 value.
5583 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5584 as optional.
5585 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5586 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5587 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5588 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5589 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5590 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5591 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5592 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5593 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5594 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5595 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5596 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5597 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5598 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5599 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5600 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5601 entry.
5602 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5603 optional.
5604 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5605 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5606 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5607 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5608 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5609 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5610 Likewise.
5611 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5612 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5613 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5614 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5615 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5616 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5617 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5618 as optional.
5619 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5620 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5621 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5622 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5623 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5624 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5625 specify as optional.
5626 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5627 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5628 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5629 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5630 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5631 [XPG3] (NL_LANGMAX): Likewise.
5632 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5633 [POSIX || XPG3] (NL_NMAX): Likewise.
5634 [POSIX || XPG3] (NL_SETMAX): Likewise.
5635 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5636 [XPG3] (NZERO): Likewise.
5637 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5638 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5639 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5640 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5641 (REG_ERANGE): Expect.
5642 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5643 optional-constant.
5644 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5645 Use (void) in prototype.
5646 [POSIX] (*_t): Allow.
5647 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5648 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5649 (WRDE_BADVAL): Expect.
5650
5ba924e3
JM
5651 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5652 expect.
5653 [XPG3 || XPG4] (O_RSYNC): Likewise.
5654 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5655 Likewise.
5656 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5657 [XPG3 || XPG4] (sigqueue): Likewise.
5658 [XPG3 || XPG4] (sigtimedwait): Likewise.
5659 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5660 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5661 [XPG3 || XPG4] (vsnprintf): Likewise.
5662 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5663 Likewise.
5664 [XPG3 || XPG4] (blksize_t): Likewise.
5665 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5666 Likewise.
5667 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5668 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5669 [XPG3 || XPG4] (struct itimerspec): Likewise.
5670 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5671 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5672 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5673 [XPG3 || XPG4] (clockid_t): Likewise.
5674 [XPG3 || XPG4] (timer_t): Likewise.
5675 [XPG3 || XPG4] (clock_getres): Likewise.
5676 [XPG3 || XPG4] (clock_gettime): Likewise.
5677 [XPG3 || XPG4] (clock_settime): Likewise.
5678 [XPG3 || XPG4] (nanosleep): Likewise.
5679 [XPG3 || XPG4] (timer_create): Likewise.
5680 [XPG3 || XPG4] (timer_delete): Likewise.
5681 [XPG3 || XPG4] (timer_gettime): Likewise.
5682 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5683 [XPG3 || XPG4] (timer_settime): Likewise.
5684 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5685 [XPG3 || XPG4] (getlogin_r): Likewise.
5686 [XPG3 || XPG4] (pread): Likewise.
5687 [XPG3 || XPG4] (pthread_atfork): Likewise.
5688 [XPG3 || XPG4] (pwrite): Likewise.
5689
ee663277
JM
5690 [BZ #14835]
5691 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5692 <bits/siginfo.h>.
5693
942caa16
PT
56942012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5695
e19af380
PT
5696 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5697 finalizing MALLSTREAM.
5698
942caa16
PT
5699 * sysdeps/mach/hurd/syncfs.c: New file.
5700
cfde9b46
SP
57012012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5702
5703 [BZ #14719]
5704 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5705 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5706 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5707 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5708 (_nss_dns_gethostbyname4_r): Likewise.
5709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5710 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5711
f6da27e5
PH
57122012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5713
5714 [BZ #13763]
5715 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5716
6665d4a2
SM
57172012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5718
1f51ee92
SM
5719 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5720 * elf/cache.c (print_entry): Print ",AArch64" for
5721 FLAG_AARCH64_LIB64
5722
6665d4a2
SM
5723 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5724 * elf/cache.c (print_entry): Print ",hard-float" for
5725 FLAG_ARM_LIBHF.
5726
05b227bd
DM
57272012-11-18 David S. Miller <davem@davemloft.net>
5728
5729 With help from Joseph Myers.
5730 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5731 cutoff to 2**-13.
5732 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5733 cutoff to 2**-25.
5734 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5735 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5736 small.
5737 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5738 * math/libm-test.inc (y0_test): New tests.
5739 (y1_test): New tests.
5740 * sysdeps/i386/fpu/libm-test-ulps: Update.
5741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5743
786b0b67
AS
57442012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5745
5746 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5747 64-bit targets.
5748 * configure: Regenerated.
5749
8e18b86d
DM
57502012-11-17 David S. Miller <davem@davemloft.net>
5751
5752 [BZ #14811]
5753 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5754 nonzero exponents with absolute value below 0x1p-128 to +/-
5755 0x1p-128.
5756
531f1ae0
JM
57572012-11-17 Joseph Myers <joseph@codesourcery.com>
5758
12df29e2
JM
5759 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5760
150dc1a0
JM
5761 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5762
531f1ae0
JM
5763 * posix/getconf-speclist.c: New file.
5764 * posix/posix-envs.def: Likewise.
5765 * posix/confstr.c (START_ENV_GROUP): New macro.
5766 (END_ENV_GROUP): Likewise.
5767 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5768 (KNOWN_PRESENT_ENV_STRING): Likewise.
5769 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5770 (UNKNOWN_ENVIRONMENT): Likewise.
5771 (confstr): Include posix-envs.def instead of handling
5772 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5773 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5774 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5775 (END_ENV_GROUP): Likewise.
5776 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5777 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5778 (UNKNOWN_ENVIRONMENT): Likewise.
5779 (__sysconf): Include posix-envs.def instead of handling associated
5780 cases directly here.
5781 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5782 preprocessing getconf-speclist.c rather than running getconf or
5783 generating empty file.
5784
a93f9cbc
PT
57852012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5786
5787 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5788
d64d9f87
AL
57892012-11-16 Andrej Lajovic <natrij@gmail.com>
5790
5791 [BZ #14672]
5792 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5793
447885eb
DM
57942012-11-16 David S. Miller <davem@davemloft.net>
5795
5796 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5797 smaller than LDBL_EPSILON/2.0L, just return xm1.
5798
bcbf9830
L
57992012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5800
5801 * elf/tst-array1.c (init): Set constructor priority to 1000.
5802 (fini): Set destructor priority to 1000.
5803 * elf/tst-array2dep.c: Likewise.
5804
2b766585
SP
58052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5806
5807 [BZ #11741]
5808 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5809 (_IO_new_file_xsputn): Also return EOF if none of the input
5810 data was written when overflow failed.
5811 * libio/iopadn.c (_IO_padn): Likewise.
5812 * libio/iowpadn.c (_IO_wpadn): Likewise.
5813 * stdio-common/tst-put-error.c: Add copyright notice.
5814 (do_test): Add case for printing padded string.
5815 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5816 _IO_padn returned error.
5817 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5818 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5819 return EOF.
5820
b1848fde
SP
58212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5822
5823 * libio/libioP.h: Add comment note that the references to C++
5824 bits are now obsolete.
5825
2fd89785
MS
58262012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5827
5828 * math/libm-test.inc (check_complex): Use asprintf.
5829
e3ea5409
JM
58302012-11-14 Joseph Myers <joseph@codesourcery.com>
5831
5832 * debug/pcprofiledump.c (print_version): Update copyright year.
5833 * malloc/memusagestat.c (print_version): Likewise.
5834
2e64d265
L
58352012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5836
5837 [BZ #14831]
5838 * elf/Makefile (tests): Add tst-audit8.
5839 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5840 ($(objpfx)tst-audit8.out): New target.
5841 (tst-audit8-ENV): New variable.
5842 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5843 audit if l_reloc_result is NULL.
5844 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5845 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5846 * elf/tst-audit8.c: New file.
5847
c485e4d2
MS
58482012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5849
5850 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5851 * misc/Makefile (CFLAGS-select.c): Define.
5852 * posix/Makefile (CFLAGS-pause.c): Define.
5853
3a0d900a
DM
58542012-11-13 David S. Miller <davem@davemloft.net>
5855
5856 * crypt/Makefile: Move test targets after toplevel Rules
5857 inclusion. Grab any necessary sysdep routines when linking.
5858 * crypt/md5.c (md5_process_block): Remove define, we will always
5859 name it __md5_process_block.
5860 (md5_finish_ctx): Update md5_process_block call.
5861 (md5_stream): Likewise.
5862 (md5_process_bytes): Likewise.
5863 (md5_process_block): Rename to __md5_process_block and move to ...
5864 * crypt/md5-block.c: ... here.
5865 * crypt/sha256.c (sha256_process_block): Move to ...
5866 * crypt/sha256-block.c: ... here.
5867 * crypt/sha512.c (sha512_process_block): Move to ...
5868 * crypt/sha512-block.c: ... here.
5869 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5870 path.
5871 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5872 * sysdeps/sparc/sparc64/multiarch/Makefile
5873 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5874 crypt subdir.
5875 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5876 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5877 multiarch changes.
5878 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5879 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5880 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5881 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5882 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5883 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5884 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5885 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5886 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5887 file.
5888 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5889 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5890 file.
5891 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5892
8ca89318
JM
58932012-11-13 Joseph Myers <joseph@codesourcery.com>
5894
e27d476a
JM
5895 * timezone/tzselect.ksh: Update from tzcode git revision
5896 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5897 * timezone/zdump.c: Likewise.
5898 * timezone/zic.c: Likewise.
5899 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5900 in TZVERSION setting, not $(PKGVERSION).
5901 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5902 REPORT_BUGS_TO settings.
5903
8ca89318
JM
5904 [BZ #14838]
5905 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5906 macro.
5907
47594329
MS
59082012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5909
5910 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5911 detection to immediately after _FP_ROUND().
5912 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5913 bits are 0.
5914
640ac3f1
DM
59152012-11-11 David S. Miller <davem@davemloft.net>
5916
5917 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5918 inttypes.h
5919 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5920 __close rather than their public counterparts.
5921
3d2577bb
JM
59222012-11-10 Joseph Myers <joseph@codesourcery.com>
5923
5924 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5925 file.
5926 [UNIX98] (sem_timedwait): Do not expect.
5927 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5928 [XPG4 || UNIX98] (sockatmark): Do not expect.
5929 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5930 (clock_getcpuclockid): Do not expect.
5931 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5932 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5933 Do not expect.
5934 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5935 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5936 [UNIX98] (vwscanf): Likewise.
5937 [UNIX98] (vswscanf): Likewise.
5938
fb1ae1ee
JM
59392012-11-09 Joseph Myers <joseph@codesourcery.com>
5940
9ec6f8bd
JM
5941 * timezone/version.h: Remove file.
5942 * timezone/README: Do not refer to version.h.
5943 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5944 $(objpfx)version.h.
5945 ($(objpfx)zdump.o): Likewise.
c3f81911 5946 ($(objpfx)version.h): New target.
9ec6f8bd 5947
0aa8f8a1
JM
5948 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5949 2012i.
5950 * timezone/README: Don't mention modification to tzselect.ksh.
5951 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5952 work on unmodified tzselect.ksh. Substitute version numbers in
5953 tzselect.ksh.
5954
4e87147f
JM
5955 * Makefile (format-me): Remove.
5956 (INSTALL): Adjust indentation. Use commands directly instead of
5957 using $(format-me).
5958
8b748aed
JM
5959 * aclocal.m4 (ACX_PKGVERSION): New macro.
5960 (ACX_BUGURL): Likewise.
5961 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5962 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5963 (REPORT_BUGS_TO): Likewise.
5964 * configure: Regenerated.
5965 * config.h.in (PKGVERSION): New macro.
5966 (REPORT_BUGS_TO): Likewise.
5967 * config.make.in (PKGVERSION): New variable.
5968 (PKGVERSION_TEXI): Likewise.
5969 (REPORT_BUGS_TO): Likewise.
5970 (REPORT_BUGS_TEXI): Likewise.
5971 * Makefile (format-me): Use -I$(common-objpfx)manual.
5972 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5973 ($(common-objpfx)manual/%): New target.
5974 (manual/%): Remove target.
5975 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5976 (print_version): Use PKGVERSION.
5977 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5978 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5979 and REPORT_BUGS_TO.
5980 ($(objpfx)xtrace): Likewise.
5981 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5982 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5983 (print_version): Use PKGVERSION.
5984 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5985 (do_version): Use PKGVERSION.
5986 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5987 REPORT_BUGS_TO.
5988 (common-ldd-rewrite): Likewise.
5989 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5990 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5991 (print_version): Use PKGVERSION.
5992 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5993 * elf/pldd.c (argp_program_bug_address): Remove variable.
5994 (more_help): New function.
5995 (argp): Use more_help.
5996 (print_version): Use PKGVERSION.
5997 * elf/sln.c (main): Use PKGVERSION.
5998 (usage): Use REPORT_BUGS_TO.
5999 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6000 (top level): Use PKGVERSION.
6001 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6002 (print_version): Use PKGVERSION.
6003 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6004 (print_version): Use PKGVERSION.
6005 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6006 (print_version): Use PKGVERSION.
6007 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6008 (print_version): Use PKGVERSION.
6009 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6010 (print_version): Use PKGVERSION.
6011 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6012 (print_version): Use PKGVERSION.
6013 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6014 and BUGURL.
6015 ($(objpfx)memusage): Likewise.
6016 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6017 (do_version): Use PKGVERSION.
6018 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6019 (print_version): Use PKGVERSION.
6020 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6021 ($PKGVERSION): New variable.
6022 ($REPORT_BUGS_TO): Likewise.
6023 (usage): Use $REPORT_BUGS_TO.
6024 (top level): Use $PKGVERSION.
6025 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6026 ($(objpfx)pkgvers.texi): New rule.
6027 ($(objpfx)stamp-pkgvers): Likewise.
6028 * manual/install.texi: Include pkgvers.texi.
6029 (--with-pkgversion): Document new configure option.
6030 (--with-bugurl): Likewise.
6031 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6032 than necessarily for this particular distribution. Use
6033 REPORT_BUGS_TO for where to report bugs.
6034 * INSTALL: Regenerated.
6035 * manual/libc.texinfo: Include pkgvers.texi.
6036 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6037 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6038 (print_version): Use PKGVERSION.
6039 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6040 (print_version): Use PKGVERSION.
6041 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6042 (print_version): Use PKGVERSION.
6043 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6044 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6045 macro.
6046 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6047 (print_version): Use PKGVERSION.
6048 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6049 (print_version): Use PKGVERSION.
6050 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6051 and PKGVERSION.
6052
92e4b6a9
JM
6053 * timezone/checktab.awk: Update from tzcode 2012i.
6054 * timezone/ialloc.c: Likewise.
6055 * timezone/private.h: Likewise.
6056 * timezone/scheck.c: Likewise.
6057 * timezone/tzfile.h: Likewise.
6058 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6059 (TZVERSION): Hardcode tzcode version number.
6060 * timezone/zdump.c: Update from tzcode 2012i.
6061 * timezone/zic.c: Likewise.
6062 * timezone/version.h: New file.
6063 * timezone/README: Describe version.h. Update upstream location.
6064
9bde902c
JM
6065 [BZ #14824]
6066 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6067 (mktemp): Enable declaration.
6068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6069 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6070 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6071 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6072 Likewise.
6073 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6074 Likewise.
6075 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6076 Likewise.
6077 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6078 Likewise.
6079 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6080 Likewise.
6081 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6082 Likewise.
6083
fb1ae1ee
JM
6084 [BZ #14821]
6085 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6086 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6087 for copies of such integer values.
6088 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6089 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6090
2c1adbcb
AJ
60912012-11-09 Andreas Jaeger <aj@suse.de>
6092
6093 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6094 definitions and declarations that are provided by
6095 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6096
d0f8457e
AK
60972012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6098
3a235abb 6099 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6100 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6101 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6102 definition.
6103
57241e26
MS
61042012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6105
6106 * elf/elf.h: Update comment before AArch64 relocations.
6107
60e8270d
DM
61082012-11-07 David S. Miller <davem@davemloft.net>
6109
6110 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6111 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6112 (__start_context): Declare.
6113 (__makecontext_ret): Delete.
6114 (__makecontext): Hook up __start_context instead of
6115 __makecontext_ret.
6116 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6117 (sysdep_routines): Add __start_context when in stdlib.
6118
0fbb0fbc
JM
61192012-11-07 Joseph Myers <joseph@codesourcery.com>
6120
6121 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6122 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6123 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6124 hardcoded "nm".
6125 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6126 (READELF): New variable. Use it instead of hardcoded "readelf".
6127
eb48db7e
L
61282012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6129
6130 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6131 * sysdeps/x86/Makefile: Here.
6132 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6133 * sysdeps/x86/tst-xmmymm.sh: This.
6134
05bcf62a
JM
61352012-11-07 Joseph Myers <joseph@codesourcery.com>
6136
c4b6cf53
JM
6137 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6138 expectations.
6139 [UNIX98] (pthread_barrier_t): Do not expect.
6140 [UNIX98] (pthread_barrierattr_t): Likewise.
6141 [UNIX98] (pthread_spinlock_t): Likewise.
6142 [UNIX98] (pthread_barrier_destroy): Likewise.
6143 [UNIX98] (pthread_barrier_init): Likewise.
6144 [UNIX98] (pthread_barrier_wait): Likewise.
6145 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6146 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6147 [UNIX98] (pthread_barrierattr_init): Likewise.
6148 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6149 [UNIX98] (pthread_getcpuclockid): Likewise.
6150 [UNIX98] (pthread_mutex_timedlock): Likewise.
6151 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6152 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6153 [UNIX98] (pthread_sigmask): Likewise.
6154 [UNIX98] (pthread_spin_destroy): Likewise.
6155 [UNIX98] (pthread_spin_init): Likewise.
6156 [UNIX98] (pthread_spin_lock): Likewise.
6157 [UNIX98] (pthread_spin_trylock): Likewise.
6158 [UNIX98] (pthread_spin_unlock): Likewise.
6159 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6160 Do not expect.
6161 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6162 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6163 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6164 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6165 [XPG3 || XPG4] (pthread_key_t): Likewise.
6166 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6167 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6168 [XPG3 || XPG4] (pthread_once_t): Likewise.
6169 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6170 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6171 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6172 [XPG3 || XPG4] (pthread_t): Likewise.
6173
cbe6e120
JM
6174 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6175 not expect.
6176 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6177
1b126443
JM
6178 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6179 Change function return type to int.
6180
b961a573
JM
6181 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6182 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6183 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6184 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6185 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6186 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6187 [!POSIX] (posix_madvise): Likewise.
6188 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6189 && !UNIX98].
6190 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6191 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6192 (mode_t): Likewise.
6193 (posix_mem_offset): Likewise.
6194 (posix_typed_mem_get_info): Likewise.
6195 (posix_typed_mem_open): Likewise.
6196
9e188909
JM
6197 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6198 Change condition to [XOPEN2K8].
6199
05bcf62a
JM
6200 * conform/conformtest.pl: Preprocess allow-header data with -x c
6201 instead of from stdin.
6202 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6203 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6204 [C99-based standards] (cerfc): Likewise.
6205 [C99-based standards] (cexp2): Likewise.
6206 [C99-based standards] (cexpm1): Likewise.
6207 [C99-based standards] (clog10): Likewise.
6208 [C99-based standards] (clog1p): Likewise.
6209 [C99-based standards] (clog2): Likewise.
6210 [C99-based standards] (clgamma): Likewise.
6211 [C99-based standards] (ctgamma): Likewise.
6212 [C99-based standards] (cerff): Likewise.
6213 [C99-based standards] (cerfcf): Likewise.
6214 [C99-based standards] (cexp2f): Likewise.
6215 [C99-based standards] (cexpm1f): Likewise.
6216 [C99-based standards] (clog10f): Likewise.
6217 [C99-based standards] (clog1pf): Likewise.
6218 [C99-based standards] (clog2f): Likewise.
6219 [C99-based standards] (clgammaf): Likewise.
6220 [C99-based standards] (ctgammaf): Likewise.
6221 [C99-based standards] (cerfl): Likewise.
6222 [C99-based standards] (cerfcl): Likewise.
6223 [C99-based standards] (cexp2l): Likewise.
6224 [C99-based standards] (cexpm1l): Likewise.
6225 [C99-based standards] (clog10l): Likewise.
6226 [C99-based standards] (clog1pl): Likewise.
6227 [C99-based standards] (clog2l): Likewise.
6228 [C99-based standards] (clgammal): Likewise.
6229 [C99-based standards] (ctgammal): Likewise.
6230 * conform/data/inttypes.h-data [C99-based standards]: Include
6231 stdint.h-data. Remove all expectations for stdint.h contents.
6232 [C99-based standards] (PRI*): Do not allow.
6233 [C99-based standards] (SCN*): Likewise.
6234 [C99-based standards] (*_t): Likewise.
6235 [C99-based-standards] (PRId8): Expect macro.
6236 [C99-based-standards] (PRIi8): Likewise.
6237 [C99-based-standards] (PRIo8): Likewise.
6238 [C99-based-standards] (PRIu8): Likewise.
6239 [C99-based-standards] (PRIx8): Likewise.
6240 [C99-based-standards] (PRIX8): Likewise.
6241 [C99-based-standards] (SCNd8): Likewise.
6242 [C99-based-standards] (SCNi8): Likewise.
6243 [C99-based-standards] (SCNo8): Likewise.
6244 [C99-based-standards] (SCNu8): Likewise.
6245 [C99-based-standards] (SCNx8): Likewise.
6246 [C99-based-standards] (PRIdLEAST8): Likewise.
6247 [C99-based-standards] (PRIiLEAST8): Likewise.
6248 [C99-based-standards] (PRIoLEAST8): Likewise.
6249 [C99-based-standards] (PRIuLEAST8): Likewise.
6250 [C99-based-standards] (PRIxLEAST8): Likewise.
6251 [C99-based-standards] (PRIXLEAST8): Likewise.
6252 [C99-based-standards] (SCNdLEAST8): Likewise.
6253 [C99-based-standards] (SCNiLEAST8): Likewise.
6254 [C99-based-standards] (SCNoLEAST8): Likewise.
6255 [C99-based-standards] (SCNuLEAST8): Likewise.
6256 [C99-based-standards] (SCNxLEAST8): Likewise.
6257 [C99-based-standards] (PRIdFAST8): Likewise.
6258 [C99-based-standards] (PRIiFAST8): Likewise.
6259 [C99-based-standards] (PRIoFAST8): Likewise.
6260 [C99-based-standards] (PRIuFAST8): Likewise.
6261 [C99-based-standards] (PRIxFAST8): Likewise.
6262 [C99-based-standards] (PRIXFAST8): Likewise.
6263 [C99-based-standards] (SCNdFAST8): Likewise.
6264 [C99-based-standards] (SCNiFAST8): Likewise.
6265 [C99-based-standards] (SCNoFAST8): Likewise.
6266 [C99-based-standards] (SCNuFAST8): Likewise.
6267 [C99-based-standards] (SCNxFAST8): Likewise.
6268 [C99-based-standards] (PRId16): Likewise.
6269 [C99-based-standards] (PRIi16): Likewise.
6270 [C99-based-standards] (PRIo16): Likewise.
6271 [C99-based-standards] (PRIu16): Likewise.
6272 [C99-based-standards] (PRIx16): Likewise.
6273 [C99-based-standards] (PRIX16): Likewise.
6274 [C99-based-standards] (SCNd16): Likewise.
6275 [C99-based-standards] (SCNi16): Likewise.
6276 [C99-based-standards] (SCNo16): Likewise.
6277 [C99-based-standards] (SCNu16): Likewise.
6278 [C99-based-standards] (SCNx16): Likewise.
6279 [C99-based-standards] (PRIdLEAST16): Likewise.
6280 [C99-based-standards] (PRIiLEAST16): Likewise.
6281 [C99-based-standards] (PRIoLEAST16): Likewise.
6282 [C99-based-standards] (PRIuLEAST16): Likewise.
6283 [C99-based-standards] (PRIxLEAST16): Likewise.
6284 [C99-based-standards] (PRIXLEAST16): Likewise.
6285 [C99-based-standards] (SCNdLEAST16): Likewise.
6286 [C99-based-standards] (SCNiLEAST16): Likewise.
6287 [C99-based-standards] (SCNoLEAST16): Likewise.
6288 [C99-based-standards] (SCNuLEAST16): Likewise.
6289 [C99-based-standards] (SCNxLEAST16): Likewise.
6290 [C99-based-standards] (PRIdFAST16): Likewise.
6291 [C99-based-standards] (PRIiFAST16): Likewise.
6292 [C99-based-standards] (PRIoFAST16): Likewise.
6293 [C99-based-standards] (PRIuFAST16): Likewise.
6294 [C99-based-standards] (PRIxFAST16): Likewise.
6295 [C99-based-standards] (PRIXFAST16): Likewise.
6296 [C99-based-standards] (SCNdFAST16): Likewise.
6297 [C99-based-standards] (SCNiFAST16): Likewise.
6298 [C99-based-standards] (SCNoFAST16): Likewise.
6299 [C99-based-standards] (SCNuFAST16): Likewise.
6300 [C99-based-standards] (SCNxFAST16): Likewise.
6301 [C99-based-standards] (PRId32): Likewise.
6302 [C99-based-standards] (PRIi32): Likewise.
6303 [C99-based-standards] (PRIo32): Likewise.
6304 [C99-based-standards] (PRIu32): Likewise.
6305 [C99-based-standards] (PRIx32): Likewise.
6306 [C99-based-standards] (PRIX32): Likewise.
6307 [C99-based-standards] (SCNd32): Likewise.
6308 [C99-based-standards] (SCNi32): Likewise.
6309 [C99-based-standards] (SCNo32): Likewise.
6310 [C99-based-standards] (SCNu32): Likewise.
6311 [C99-based-standards] (SCNx32): Likewise.
6312 [C99-based-standards] (PRIdLEAST32): Likewise.
6313 [C99-based-standards] (PRIiLEAST32): Likewise.
6314 [C99-based-standards] (PRIoLEAST32): Likewise.
6315 [C99-based-standards] (PRIuLEAST32): Likewise.
6316 [C99-based-standards] (PRIxLEAST32): Likewise.
6317 [C99-based-standards] (PRIXLEAST32): Likewise.
6318 [C99-based-standards] (SCNdLEAST32): Likewise.
6319 [C99-based-standards] (SCNiLEAST32): Likewise.
6320 [C99-based-standards] (SCNoLEAST32): Likewise.
6321 [C99-based-standards] (SCNuLEAST32): Likewise.
6322 [C99-based-standards] (SCNxLEAST32): Likewise.
6323 [C99-based-standards] (PRIdFAST32): Likewise.
6324 [C99-based-standards] (PRIiFAST32): Likewise.
6325 [C99-based-standards] (PRIoFAST32): Likewise.
6326 [C99-based-standards] (PRIuFAST32): Likewise.
6327 [C99-based-standards] (PRIxFAST32): Likewise.
6328 [C99-based-standards] (PRIXFAST32): Likewise.
6329 [C99-based-standards] (SCNdFAST32): Likewise.
6330 [C99-based-standards] (SCNiFAST32): Likewise.
6331 [C99-based-standards] (SCNoFAST32): Likewise.
6332 [C99-based-standards] (SCNuFAST32): Likewise.
6333 [C99-based-standards] (SCNxFAST32): Likewise.
6334 [C99-based-standards] (PRId64): Likewise.
6335 [C99-based-standards] (PRIi64): Likewise.
6336 [C99-based-standards] (PRIo64): Likewise.
6337 [C99-based-standards] (PRIu64): Likewise.
6338 [C99-based-standards] (PRIx64): Likewise.
6339 [C99-based-standards] (PRIX64): Likewise.
6340 [C99-based-standards] (SCNd64): Likewise.
6341 [C99-based-standards] (SCNi64): Likewise.
6342 [C99-based-standards] (SCNo64): Likewise.
6343 [C99-based-standards] (SCNu64): Likewise.
6344 [C99-based-standards] (SCNx64): Likewise.
6345 [C99-based-standards] (PRIdLEAST64): Likewise.
6346 [C99-based-standards] (PRIiLEAST64): Likewise.
6347 [C99-based-standards] (PRIoLEAST64): Likewise.
6348 [C99-based-standards] (PRIuLEAST64): Likewise.
6349 [C99-based-standards] (PRIxLEAST64): Likewise.
6350 [C99-based-standards] (PRIXLEAST64): Likewise.
6351 [C99-based-standards] (SCNdLEAST64): Likewise.
6352 [C99-based-standards] (SCNiLEAST64): Likewise.
6353 [C99-based-standards] (SCNoLEAST64): Likewise.
6354 [C99-based-standards] (SCNuLEAST64): Likewise.
6355 [C99-based-standards] (SCNxLEAST64): Likewise.
6356 [C99-based-standards] (PRIdFAST64): Likewise.
6357 [C99-based-standards] (PRIiFAST64): Likewise.
6358 [C99-based-standards] (PRIoFAST64): Likewise.
6359 [C99-based-standards] (PRIuFAST64): Likewise.
6360 [C99-based-standards] (PRIxFAST64): Likewise.
6361 [C99-based-standards] (PRIXFAST64): Likewise.
6362 [C99-based-standards] (SCNdFAST64): Likewise.
6363 [C99-based-standards] (SCNiFAST64): Likewise.
6364 [C99-based-standards] (SCNoFAST64): Likewise.
6365 [C99-based-standards] (SCNuFAST64): Likewise.
6366 [C99-based-standards] (SCNxFAST64): Likewise.
6367 [C99-based-standards] (PRIdMAX): Likewise.
6368 [C99-based-standards] (PRIiMAX): Likewise.
6369 [C99-based-standards] (PRIoMAX): Likewise.
6370 [C99-based-standards] (PRIuMAX): Likewise.
6371 [C99-based-standards] (PRIxMAX): Likewise.
6372 [C99-based-standards] (PRIXMAX): Likewise.
6373 [C99-based-standards] (SCNdMAX): Likewise.
6374 [C99-based-standards] (SCNiMAX): Likewise.
6375 [C99-based-standards] (SCNoMAX): Likewise.
6376 [C99-based-standards] (SCNuMAX): Likewise.
6377 [C99-based-standards] (SCNxMAX): Likewise.
6378 [C99-based-standards] (PRIdPTR): Likewise.
6379 [C99-based-standards] (PRIiPTR): Likewise.
6380 [C99-based-standards] (PRIoPTR): Likewise.
6381 [C99-based-standards] (PRIuPTR): Likewise.
6382 [C99-based-standards] (PRIxPTR): Likewise.
6383 [C99-based-standards] (PRIXPTR): Likewise.
6384 [C99-based-standards] (SCNdPTR): Likewise.
6385 [C99-based-standards] (SCNiPTR): Likewise.
6386 [C99-based-standards] (SCNoPTR): Likewise.
6387 [C99-based-standards] (SCNuPTR): Likewise.
6388 [C99-based-standards] (SCNxPTR): Likewise.
6389 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6390 allow.
6391 * conform/data/stdint.h-data: Update comments to clarify
6392 requirements.
6393 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6394 type.
6395 [C99-based standards] (INT8_MAX): Likewise.
6396 [C99-based standards] (INT16_MIN): Likewise.
6397 [C99-based standards] (INT16_MAX): Likewise.
6398 [C99-based standards] (INT32_MIN): Likewise.
6399 [C99-based standards] (INT32_MAX): Likewise.
6400 [C99-based standards] (INT64_MIN): Likewise.
6401 [C99-based standards] (INT64_MAX): Likewise.
6402 [C99-based standards] (UINT8_MAX): Likewise.
6403 [C99-based standards] (UINT16_MAX): Likewise.
6404 [C99-based standards] (UINT32_MAX): Likewise.
6405 [C99-based standards] (UINT64_MAX): Likewise.
6406 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6407 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6408 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6409 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6410 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6411 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6412 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6413 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6414 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6415 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6416 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6417 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6418 [C99-based standards] (INT_FAST8_MIN): Likewise.
6419 [C99-based standards] (INT_FAST8_MAX): Likewise.
6420 [C99-based standards] (INT_FAST16_MIN): Likewise.
6421 [C99-based standards] (INT_FAST16_MAX): Likewise.
6422 [C99-based standards] (INT_FAST32_MIN): Likewise.
6423 [C99-based standards] (INT_FAST32_MAX): Likewise.
6424 [C99-based standards] (INT_FAST64_MIN): Likewise.
6425 [C99-based standards] (INT_FAST64_MAX): Likewise.
6426 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6427 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6428 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6429 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6430 [C99-based standards] (INTPTR_MIN): Likewise.
6431 [C99-based standards] (INTPTR_MAX): Likewise.
6432 [C99-based standards] (UINTPTR_MAX): Likewise.
6433 [C99-based standards] (INTMAX_MIN): Likewise.
6434 [C99-based standards] (INTMAX_MAX): Likewise.
6435 [C99-based standards] (UINTMAX_MAX): Likewise.
6436 [C99-based standards] (PTRDIFF_MIN): Likewise.
6437 [C99-based standards] (PTRDIFF_MAX): Likewise.
6438 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6439 [C99-based standards] (SIZE_MAX): Likewise.
6440 [C99-based standards] (WCHAR_MAX): Likewise.
6441 [C99-based standards] (WINT_MAX): Likewise.
6442 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6443 constraint on value.
6444 [C99-based standards] (WCHAR_MIN): Likewise.
6445 [C99-based standards] (WINT_MIN): Likewise.
6446 [C99-based standards] (*_t): Allow.
6447 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6448 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6449 Include math.h-data and complex.h-data. Remove all expectations
6450 of math.h and complex.h contents.
6451 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6452 at end of line.
6453 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6454 (struct tm): Expect tag.
6455 [C99-based-standards] (wcstof): Expect function.
6456 [C99-based-standards] (wcstold): Likewise.
6457 [C99-based-standards] (wcstoll): Likewise.
6458 [C99-based-standards] (wcstoull): Likewise.
6459 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6460 macro-int-constant. Specify type.
6461 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6462 constraint on value.
6463 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6464 Specify type.
6465 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6466 Specify value.
6467 [ISO C standards]: Do not allow headers.
6468 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6469 wcs[abcdefghijklmnopqrstuvwxyz]*.
6470 [ISO C standards] (*_t): Do not allow.
6471 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6472 Expect function.
6473 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6474 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6475 Specify type.
6476 [ISO C standards]: Do not allow headers.
6477 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6478 is[abcdefghijklmnopqrstuvwxyz]*.
6479 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6480 to[abcdefghijklmnopqrstuvwxyz]*.
6481 [ISO C standards] (*_t): Do not allow.
6482 * conform/data/stdalign.h-data: New file.
6483 * conform/data/stdbool.h-data: Likewise.
6484 * conform/data/stdnoreturn.h-data: Likewise.
6485
7514feb8
RM
64862012-11-07 Roland McGrath <roland@hack.frob.com>
6487
6488 [BZ #14815]
6489 * manual/filesys.texi (Directory Entries): Typo fix.
6490 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6491
19b2ecfc
MS
64922012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6493
6494 * elf/elf.h (EM_AARCH64): New macro.
6495 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6496 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6497 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6498 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6499 (R_AARCH64_TLSDESC): Likewise.
6500 (NT_ARM_TLS): Likewise.
6501 (NT_ARM_HW_BREAK): Likewise.
6502 (NT_ARM_HW_WATCH): Likewise.
6503
60e235ee
JM
65042012-11-07 Joseph Myers <joseph@codesourcery.com>
6505
6506 [BZ #14811]
6507 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6508 (__ieee754_powl): Saturate nonzero exponents with absolute value
6509 below 0x1p-79 to +/- 0x1p-79.
6510 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6511 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6512 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6513 nonzero exponents with absolute value below 0x1p-32 to +/-
6514 0x1p-32.
6515 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6516 (__ieee754_powl): Saturate nonzero exponents with absolute value
6517 below 0x1p-79 to +/- 0x1p-79.
6518 * math/libm-test.inc (pow_test): Add more tests.
6519
0ab234b7
AK
65202012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6521
6522 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6523 _dl_s390_cap_flags with kernel. Increase string length.
6524 (_dl_s390_platforms): Add z196 and zEC12.
6525
45832f74
JM
65262012-11-07 Joseph Myers <joseph@codesourcery.com>
6527
6528 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6529 Change XOPEN21K to XOPEN2K.
6530
19218757
MK
65312012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6532
6533 * string/memmove.c: Use memcpy when possible.
6534
c5f45721
AJ
65352012-11-06 Andreas Jaeger <aj@suse.de>
6536
6537 * po/eo.po: Update from translation team.
6538
82477c28
JM
65392012-11-06 Joseph Myers <joseph@codesourcery.com>
6540
6541 [BZ #14793]
6542 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6543 exponent and small x and y exponents, scale x or y up. Increase
6544 by 2 the exponent used in scaling up.
6545 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6546 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6547 * math/libm-test.inc (fma_test): Add more tests.
6548 (fma_test_towardzero): Likewise.
6549 (fma_test_downward): Likewise.
6550 (fma_test_upward): Likewise.
6551
99252c8c
JM
65522012-11-05 Joseph Myers <joseph@codesourcery.com>
6553
acfa885f
JM
6554 [BZ #14805]
6555 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6556 fenv_t *.
6557
99252c8c
JM
6558 [BZ #14801]
6559 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6560 namespace for names of struct fields.
6561 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6562 fenv_t fields.
6563 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6564 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6565
d6d98dea
ST
65662012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6567
6568 [BZ #3665]
6569 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6570
e10bb107
TS
65712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6572
6573 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6574 PTR_DEMANGLE.
6575
6576 [BZ #5246]
6577 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6578 PTR_DEMANGLE.
6579
a0c2940d
JM
65802012-11-04 Joseph Myers <joseph@codesourcery.com>
6581
6582 [BZ #14797]
6583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6584 definitely overflow as x * y not x * y + z.
6585 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6586 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6587 * math/libm-test.inc (fma_test): Add more tests.
6588 (fma_test_towardzero): Likewise.
6589 (fma_test_downward): Likewise.
6590 (fma_test_upward): Likewise.
6591
b830319d
TS
65922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6593
6594 [BZ #157]
6595
6596 * include/stub-tag.h: Remove file.
6597 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6598 '#include' of it.
6599 * manual/maint.texi (Porting): Don't reference it.
6600 * Makerules ($(objpfx)stubs): Likewise.
6601 * dirent/closedir.c: Don't include <stub-tag.h>.
6602 * dirent/dirfd.c: Likewise.
6603 * dirent/fdopendir.c: Likewise.
6604 * dirent/getdents.c: Likewise.
6605 * dirent/getdents64.c: Likewise.
6606 * dirent/opendir.c: Likewise.
6607 * dirent/readdir.c: Likewise.
6608 * dirent/readdir64.c: Likewise.
6609 * dirent/readdir64_r.c: Likewise.
6610 * dirent/readdir_r.c: Likewise.
6611 * dirent/rewinddir.c: Likewise.
6612 * dirent/seekdir.c: Likewise.
6613 * dirent/telldir.c: Likewise.
6614 * gmon/profil.c: Likewise.
6615 * grp/setgroups.c: Likewise.
6616 * inet/if_index.c: Likewise.
6617 * io/access.c: Likewise.
6618 * io/chdir.c: Likewise.
6619 * io/chmod.c: Likewise.
6620 * io/chown.c: Likewise.
6621 * io/close.c: Likewise.
6622 * io/dup.c: Likewise.
6623 * io/dup2.c: Likewise.
6624 * io/dup3.c: Likewise.
6625 * io/euidaccess.c: Likewise.
6626 * io/faccessat.c: Likewise.
6627 * io/fchdir.c: Likewise.
6628 * io/fchmod.c: Likewise.
6629 * io/fchmodat.c: Likewise.
6630 * io/fchown.c: Likewise.
6631 * io/fchownat.c: Likewise.
6632 * io/fcntl.c: Likewise.
6633 * io/flock.c: Likewise.
6634 * io/fstatfs.c: Likewise.
6635 * io/fstatfs64.c: Likewise.
6636 * io/fstatvfs.c: Likewise.
6637 * io/fstatvfs64.c: Likewise.
6638 * io/futimens.c: Likewise.
6639 * io/fxstat.c: Likewise.
6640 * io/fxstat64.c: Likewise.
6641 * io/fxstatat.c: Likewise.
6642 * io/fxstatat64.c: Likewise.
6643 * io/getcwd.c: Likewise.
6644 * io/isatty.c: Likewise.
6645 * io/lchmod.c: Likewise.
6646 * io/lchown.c: Likewise.
6647 * io/link.c: Likewise.
6648 * io/linkat.c: Likewise.
6649 * io/lseek.c: Likewise.
6650 * io/lseek64.c: Likewise.
6651 * io/lxstat64.c: Likewise.
6652 * io/mkdir.c: Likewise.
6653 * io/mkdirat.c: Likewise.
6654 * io/mkfifo.c: Likewise.
6655 * io/mkfifoat.c: Likewise.
6656 * io/open.c: Likewise.
6657 * io/open64.c: Likewise.
6658 * io/openat.c: Likewise.
6659 * io/openat64.c: Likewise.
6660 * io/pipe.c: Likewise.
6661 * io/pipe2.c: Likewise.
6662 * io/poll.c: Likewise.
6663 * io/posix_fadvise.c: Likewise.
6664 * io/posix_fadvise64.c: Likewise.
6665 * io/posix_fallocate.c: Likewise.
6666 * io/posix_fallocate64.c: Likewise.
6667 * io/read.c: Likewise.
6668 * io/readlink.c: Likewise.
6669 * io/readlinkat.c: Likewise.
6670 * io/rmdir.c: Likewise.
6671 * io/sendfile.c: Likewise.
6672 * io/sendfile64.c: Likewise.
6673 * io/statfs.c: Likewise.
6674 * io/statfs64.c: Likewise.
6675 * io/statvfs.c: Likewise.
6676 * io/statvfs64.c: Likewise.
6677 * io/symlink.c: Likewise.
6678 * io/symlinkat.c: Likewise.
6679 * io/ttyname.c: Likewise.
6680 * io/ttyname_r.c: Likewise.
6681 * io/umask.c: Likewise.
6682 * io/unlink.c: Likewise.
6683 * io/unlinkat.c: Likewise.
6684 * io/utime.c: Likewise.
6685 * io/utimensat.c: Likewise.
6686 * io/write.c: Likewise.
6687 * io/xmknod.c: Likewise.
6688 * io/xmknodat.c: Likewise.
6689 * io/xstat.c: Likewise.
6690 * io/xstat64.c: Likewise.
6691 * login/getpt.c: Likewise.
6692 * login/grantpt.c: Likewise.
6693 * login/unlockpt.c: Likewise.
6694 * math/e_acoshl.c: Likewise.
6695 * math/e_acosl.c: Likewise.
6696 * math/e_asinl.c: Likewise.
6697 * math/e_atan2l.c: Likewise.
6698 * math/e_atanhl.c: Likewise.
6699 * math/e_coshl.c: Likewise.
6700 * math/e_expl.c: Likewise.
6701 * math/e_fmodl.c: Likewise.
6702 * math/e_gammal_r.c: Likewise.
6703 * math/e_hypotl.c: Likewise.
6704 * math/e_j0l.c: Likewise.
6705 * math/e_j1l.c: Likewise.
6706 * math/e_jnl.c: Likewise.
6707 * math/e_lgammal_r.c: Likewise.
6708 * math/e_log10l.c: Likewise.
6709 * math/e_log2l.c: Likewise.
6710 * math/e_logl.c: Likewise.
6711 * math/e_powl.c: Likewise.
6712 * math/e_rem_pio2l.c: Likewise.
6713 * math/e_sinhl.c: Likewise.
6714 * math/e_sqrtl.c: Likewise.
6715 * math/fclrexcpt.c: Likewise.
6716 * math/fedisblxcpt.c: Likewise.
6717 * math/feenablxcpt.c: Likewise.
6718 * math/fegetenv.c: Likewise.
6719 * math/fegetexcept.c: Likewise.
6720 * math/fegetround.c: Likewise.
6721 * math/feholdexcpt.c: Likewise.
6722 * math/fesetenv.c: Likewise.
6723 * math/fesetround.c: Likewise.
6724 * math/feupdateenv.c: Likewise.
6725 * math/fgetexcptflg.c: Likewise.
6726 * math/fraiseexcpt.c: Likewise.
6727 * math/fsetexcptflg.c: Likewise.
6728 * math/ftestexcept.c: Likewise.
6729 * math/k_cosl.c: Likewise.
6730 * math/k_rem_pio2l.c: Likewise.
6731 * math/k_sinl.c: Likewise.
6732 * math/k_tanl.c: Likewise.
6733 * math/s_asinhl.c: Likewise.
6734 * math/s_atanl.c: Likewise.
6735 * math/s_cbrtl.c: Likewise.
6736 * math/s_erfl.c: Likewise.
6737 * math/s_expm1l.c: Likewise.
6738 * math/s_log1pl.c: Likewise.
6739 * math/s_tanhl.c: Likewise.
6740 * misc/acct.c: Likewise.
6741 * misc/brk.c: Likewise.
6742 * misc/chflags.c: Likewise.
6743 * misc/chroot.c: Likewise.
6744 * misc/fchflags.c: Likewise.
6745 * misc/fgetxattr.c: Likewise.
6746 * misc/flistxattr.c: Likewise.
6747 * misc/fremovexattr.c: Likewise.
6748 * misc/fsetxattr.c: Likewise.
6749 * misc/fsync.c: Likewise.
6750 * misc/ftruncate.c: Likewise.
6751 * misc/futimes.c: Likewise.
6752 * misc/futimesat.c: Likewise.
6753 * misc/getdomain.c: Likewise.
6754 * misc/getdtsz.c: Likewise.
6755 * misc/gethostid.c: Likewise.
6756 * misc/gethostname.c: Likewise.
6757 * misc/getloadavg.c: Likewise.
6758 * misc/getpagesize.c: Likewise.
6759 * misc/getsysstats.c: Likewise.
6760 * misc/getxattr.c: Likewise.
6761 * misc/gtty.c: Likewise.
6762 * misc/ioctl.c: Likewise.
6763 * misc/lgetxattr.c: Likewise.
6764 * misc/listxattr.c: Likewise.
6765 * misc/llistxattr.c: Likewise.
6766 * misc/lremovexattr.c: Likewise.
6767 * misc/lsetxattr.c: Likewise.
6768 * misc/lutimes.c: Likewise.
6769 * misc/madvise.c: Likewise.
6770 * misc/mincore.c: Likewise.
6771 * misc/mlock.c: Likewise.
6772 * misc/mlockall.c: Likewise.
6773 * misc/mmap.c: Likewise.
6774 * misc/mprotect.c: Likewise.
6775 * misc/msync.c: Likewise.
6776 * misc/munlock.c: Likewise.
6777 * misc/munlockall.c: Likewise.
6778 * misc/munmap.c: Likewise.
6779 * misc/preadv.c: Likewise.
6780 * misc/preadv64.c: Likewise.
6781 * misc/ptrace.c: Likewise.
6782 * misc/pwritev.c: Likewise.
6783 * misc/pwritev64.c: Likewise.
6784 * misc/readv.c: Likewise.
6785 * misc/reboot.c: Likewise.
6786 * misc/remap_file_pages.c: Likewise.
6787 * misc/removexattr.c: Likewise.
6788 * misc/revoke.c: Likewise.
6789 * misc/select.c: Likewise.
6790 * misc/setdomain.c: Likewise.
6791 * misc/setegid.c: Likewise.
6792 * misc/seteuid.c: Likewise.
6793 * misc/sethostid.c: Likewise.
6794 * misc/sethostname.c: Likewise.
6795 * misc/setregid.c: Likewise.
6796 * misc/setreuid.c: Likewise.
6797 * misc/setxattr.c: Likewise.
6798 * misc/sstk.c: Likewise.
6799 * misc/stty.c: Likewise.
6800 * misc/swapoff.c: Likewise.
6801 * misc/swapon.c: Likewise.
6802 * misc/sync.c: Likewise.
6803 * misc/syncfs.c: Likewise.
6804 * misc/syscall.c: Likewise.
6805 * misc/truncate.c: Likewise.
6806 * misc/ualarm.c: Likewise.
6807 * misc/usleep.c: Likewise.
6808 * misc/ustat.c: Likewise.
6809 * misc/utimes.c: Likewise.
6810 * misc/vhangup.c: Likewise.
6811 * misc/writev.c: Likewise.
6812 * posix/_exit.c: Likewise.
6813 * posix/alarm.c: Likewise.
6814 * posix/execve.c: Likewise.
6815 * posix/fexecve.c: Likewise.
6816 * posix/fork.c: Likewise.
6817 * posix/fpathconf.c: Likewise.
6818 * posix/getaddrinfo.c: Likewise.
6819 * posix/getegid.c: Likewise.
6820 * posix/geteuid.c: Likewise.
6821 * posix/getgid.c: Likewise.
6822 * posix/getgroups.c: Likewise.
6823 * posix/getlogin.c: Likewise.
6824 * posix/getlogin_r.c: Likewise.
6825 * posix/getpgid.c: Likewise.
6826 * posix/getpid.c: Likewise.
6827 * posix/getppid.c: Likewise.
6828 * posix/getresgid.c: Likewise.
6829 * posix/getresuid.c: Likewise.
6830 * posix/getsid.c: Likewise.
6831 * posix/getuid.c: Likewise.
6832 * posix/glob64.c: Likewise.
6833 * posix/nanosleep.c: Likewise.
6834 * posix/pathconf.c: Likewise.
6835 * posix/pause.c: Likewise.
6836 * posix/posix_madvise.c: Likewise.
6837 * posix/pread.c: Likewise.
6838 * posix/pread64.c: Likewise.
6839 * posix/pwrite.c: Likewise.
6840 * posix/pwrite64.c: Likewise.
6841 * posix/sched_getaffinity.c: Likewise.
6842 * posix/sched_getp.c: Likewise.
6843 * posix/sched_gets.c: Likewise.
6844 * posix/sched_primax.c: Likewise.
6845 * posix/sched_primin.c: Likewise.
6846 * posix/sched_rr_gi.c: Likewise.
6847 * posix/sched_setaffinity.c: Likewise.
6848 * posix/sched_setp.c: Likewise.
6849 * posix/sched_sets.c: Likewise.
6850 * posix/sched_yield.c: Likewise.
6851 * posix/setgid.c: Likewise.
6852 * posix/setlogin.c: Likewise.
6853 * posix/setpgid.c: Likewise.
6854 * posix/setresgid.c: Likewise.
6855 * posix/setresuid.c: Likewise.
6856 * posix/setsid.c: Likewise.
6857 * posix/setuid.c: Likewise.
6858 * posix/sleep.c: Likewise.
6859 * posix/spawni.c: Likewise.
6860 * posix/sysconf.c: Likewise.
6861 * posix/times.c: Likewise.
6862 * posix/wait.c: Likewise.
6863 * posix/wait3.c: Likewise.
6864 * posix/wait4.c: Likewise.
6865 * posix/waitpid.c: Likewise.
6866 * resolv/gai_sigqueue.c: Likewise.
6867 * resource/getpriority.c: Likewise.
6868 * resource/getrlimit.c: Likewise.
6869 * resource/getrusage.c: Likewise.
6870 * resource/nice.c: Likewise.
6871 * resource/setpriority.c: Likewise.
6872 * resource/setrlimit.c: Likewise.
6873 * resource/ulimit.c: Likewise.
6874 * rt/aio_cancel.c: Likewise.
6875 * rt/aio_fsync.c: Likewise.
6876 * rt/aio_read.c: Likewise.
6877 * rt/aio_sigqueue.c: Likewise.
6878 * rt/aio_suspend.c: Likewise.
6879 * rt/aio_write.c: Likewise.
6880 * rt/clock_getres.c: Likewise.
6881 * rt/clock_gettime.c: Likewise.
6882 * rt/clock_nanosleep.c: Likewise.
6883 * rt/clock_settime.c: Likewise.
6884 * rt/lio_listio.c: Likewise.
6885 * rt/mq_close.c: Likewise.
6886 * rt/mq_getattr.c: Likewise.
6887 * rt/mq_notify.c: Likewise.
6888 * rt/mq_open.c: Likewise.
6889 * rt/mq_receive.c: Likewise.
6890 * rt/mq_send.c: Likewise.
6891 * rt/mq_setattr.c: Likewise.
6892 * rt/mq_timedreceive.c: Likewise.
6893 * rt/mq_timedsend.c: Likewise.
6894 * rt/mq_unlink.c: Likewise.
6895 * rt/shm_open.c: Likewise.
6896 * rt/shm_unlink.c: Likewise.
6897 * rt/timer_create.c: Likewise.
6898 * rt/timer_delete.c: Likewise.
6899 * rt/timer_getoverr.c: Likewise.
6900 * rt/timer_gettime.c: Likewise.
6901 * rt/timer_settime.c: Likewise.
6902 * setjmp/__longjmp.c: Likewise.
6903 * setjmp/setjmp.c: Likewise.
6904 * signal/kill.c: Likewise.
6905 * signal/killpg.c: Likewise.
6906 * signal/raise.c: Likewise.
6907 * signal/sigaction.c: Likewise.
6908 * signal/sigaltstack.c: Likewise.
6909 * signal/sigblock.c: Likewise.
6910 * signal/sigignore.c: Likewise.
6911 * signal/sigintr.c: Likewise.
6912 * signal/signal.c: Likewise.
6913 * signal/sigpause.c: Likewise.
6914 * signal/sigpending.c: Likewise.
6915 * signal/sigqueue.c: Likewise.
6916 * signal/sigreturn.c: Likewise.
6917 * signal/sigset.c: Likewise.
6918 * signal/sigsetmask.c: Likewise.
6919 * signal/sigstack.c: Likewise.
6920 * signal/sigsuspend.c: Likewise.
6921 * signal/sigtimedwait.c: Likewise.
6922 * signal/sigvec.c: Likewise.
6923 * signal/sigwait.c: Likewise.
6924 * signal/sigwaitinfo.c: Likewise.
6925 * signal/sysv_signal.c: Likewise.
6926 * socket/accept.c: Likewise.
6927 * socket/accept4.c: Likewise.
6928 * socket/bind.c: Likewise.
6929 * socket/connect.c: Likewise.
6930 * socket/getpeername.c: Likewise.
6931 * socket/getsockname.c: Likewise.
6932 * socket/getsockopt.c: Likewise.
6933 * socket/isfdtype.c: Likewise.
6934 * socket/listen.c: Likewise.
6935 * socket/recv.c: Likewise.
6936 * socket/recvfrom.c: Likewise.
6937 * socket/recvmsg.c: Likewise.
6938 * socket/send.c: Likewise.
6939 * socket/sendmsg.c: Likewise.
6940 * socket/sendto.c: Likewise.
6941 * socket/setsockopt.c: Likewise.
6942 * socket/shutdown.c: Likewise.
6943 * socket/sockatmark.c: Likewise.
6944 * socket/socket.c: Likewise.
6945 * socket/socketpair.c: Likewise.
6946 * stdio-common/ctermid.c: Likewise.
6947 * stdio-common/cuserid.c: Likewise.
6948 * stdio-common/remove.c: Likewise.
6949 * stdio-common/rename.c: Likewise.
6950 * stdio-common/renameat.c: Likewise.
6951 * stdio-common/tempname.c: Likewise.
6952 * stdlib/getcontext.c: Likewise.
6953 * stdlib/makecontext.c: Likewise.
6954 * stdlib/setcontext.c: Likewise.
6955 * stdlib/swapcontext.c: Likewise.
6956 * stdlib/system.c: Likewise.
6957 * streams/fattach.c: Likewise.
6958 * streams/fdetach.c: Likewise.
6959 * streams/getmsg.c: Likewise.
6960 * streams/getpmsg.c: Likewise.
6961 * streams/putmsg.c: Likewise.
6962 * streams/putpmsg.c: Likewise.
6963 * sysdeps/unix/bsd/getpt.c: Likewise.
6964 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6965 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6966 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6968 Likewise.
6969 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6970 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6971 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6972 * sysvipc/msgctl.c: Likewise.
6973 * sysvipc/msgget.c: Likewise.
6974 * sysvipc/msgrcv.c: Likewise.
6975 * sysvipc/msgsnd.c: Likewise.
6976 * sysvipc/semctl.c: Likewise.
6977 * sysvipc/semget.c: Likewise.
6978 * sysvipc/semop.c: Likewise.
6979 * sysvipc/semtimedop.c: Likewise.
6980 * sysvipc/shmat.c: Likewise.
6981 * sysvipc/shmctl.c: Likewise.
6982 * sysvipc/shmdt.c: Likewise.
6983 * sysvipc/shmget.c: Likewise.
6984 * termios/tcdrain.c: Likewise.
6985 * termios/tcflow.c: Likewise.
6986 * termios/tcflush.c: Likewise.
6987 * termios/tcgetattr.c: Likewise.
6988 * termios/tcgetpgrp.c: Likewise.
6989 * termios/tcsendbrk.c: Likewise.
6990 * termios/tcsetattr.c: Likewise.
6991 * termios/tcsetpgrp.c: Likewise.
6992 * time/adjtime.c: Likewise.
6993 * time/clock.c: Likewise.
6994 * time/getitimer.c: Likewise.
6995 * time/gettimeofday.c: Likewise.
6996 * time/setitimer.c: Likewise.
6997 * time/settimeofday.c: Likewise.
6998 * time/stime.c: Likewise.
6999 * time/time.c: Likewise.
7000
70012012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7002
a20492cf
PT
7003 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7004 /usr/old/bin.
7005
72e182e3
PT
7006 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7007 instead of spaces.
7008 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7009
fbeafede
JM
70102012-11-03 Joseph Myers <joseph@codesourcery.com>
7011
5b5b04d6
JM
7012 [BZ #14796]
7013 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7014 FE_TONEAREST before applying Dekker multiplication and Knuth
7015 addition. Clear inexact exceptions and check for exact zero
7016 results afterwards.
7017 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7018 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7019 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7020 * math/libm-test.inc (fma_test): Add more tests.
7021 (fma_test_towardzero): Likewise.
7022 (fma_test_downward): Likewise.
7023 (fma_test_upward): Likewise.
7024 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7025 function.
7026 (libc_fesetround): New macro.
7027 (libc_fesetroundf): Likewise.
7028 (libc_fesetroundl): Likewise.
7029 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7030 function.
7031 (libc_fesetround_387): Likewise.
7032 (libc_fesetroundf): New macro.
7033 (libc_fesetround): Likewise.
7034 (libc_fesetroundl): Likewise.
7035 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7036 function.
7037 (libc_fesetroundf): New macro.
7038 (libc_fesetround): Likewise.
7039 (libc_fesetroundl): Likewise.
7040 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7041 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7042 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7043 libm_hidden_ver.
7044 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7045 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7046 libm_hidden_def.
7047 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7048 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7049 libm_hidden_ver.
7050 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7051 libm_hidden_def.
7052
fbeafede
JM
7053 [BZ #3439]
7054 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7055 integer constant usable in #if and use that to give value to enum
7056 constant.
7057 (FE_DIVBYZERO): Likewise.
7058 (FE_UNDERFLOW): Likewise.
7059 (FE_OVERFLOW): Likewise.
7060 (FE_INVALID): Likewise.
7061 (FE_INVALID_SNAN): Likewise.
7062 (FE_INVALID_ISI): Likewise.
7063 (FE_INVALID_IDI): Likewise.
7064 (FE_INVALID_ZDZ): Likewise.
7065 (FE_INVALID_IMZ): Likewise.
7066 (FE_INVALID_COMPARE): Likewise.
7067 (FE_INVALID_SOFTWARE): Likewise.
7068 (FE_INVALID_SQRT): Likewise.
7069 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7070 (FE_TONEAREST): Likewise.
7071 (FE_TOWARDZERO): Likewise.
7072 (FE_UPWARD): Likewise.
7073 (FE_DOWNWARD): Likewise.
7074 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7075 (FE_DIVBYZERO): Likewise.
7076 (FE_OVERFLOW): Likewise.
7077 (FE_UNDERFLOW): Likewise.
7078 (FE_INEXACT): Likewise.
7079 (FE_TONEAREST): Likewise.
7080 (FE_DOWNWARD): Likewise.
7081 (FE_UPWARD): Likewise.
7082 (FE_TOWARDZERO): Likewise.
7083 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7084 (FE_UNDERFLOW): Likewise.
7085 (FE_OVERFLOW): Likewise.
7086 (FE_DIVBYZERO): Likewise.
7087 (FE_INVALID): Likewise.
7088 (FE_TONEAREST): Likewise.
7089 (FE_TOWARDZERO): Likewise.
7090 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7091 (FE_OVERFLOW): Likewise.
7092 (FE_UNDERFLOW): Likewise.
7093 (FE_DIVBYZERO): Likewise.
7094 (FE_INEXACT): Likewise.
7095 (FE_TONEAREST): Likewise.
7096 (FE_TOWARDZERO): Likewise.
7097 (FE_UPWARD): Likewise.
7098 (FE_DOWNWARD): Likewise.
7099 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7100 (FE_DIVBYZERO): Likewise.
7101 (FE_OVERFLOW): Likewise.
7102 (FE_UNDERFLOW): Likewise.
7103 (FE_INEXACT): Likewise.
7104 (FE_TONEAREST): Likewise.
7105 (FE_DOWNWARD): Likewise.
7106 (FE_UPWARD): Likewise.
7107 (FE_TOWARDZERO): Likewise.
7108
105ca950
CM
71092012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7110
7111 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7112
a542b389
AS
71132012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7114
7115 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7116 commands. Quote $PWD.
7117 (blacklist_exports): Don't use remove_newlines. Replace "declare
7118 -x" by "export".
7119 (remove_newlines): Remove.
7120
f62c8abc
L
71212012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7122
7123 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7124 * stdlib/stdlib.h (atof): Moved to ...
7125 * include/bits/stdlib-float.h: Here. New file.
7126 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7127 * stdlib/bits/stdlib-float.h: New file.
7128 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7129 -mno-sse -mno-mmx.
7130 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7131 <xmmintrin.h>.
7132
0155d5b2
JM
71332012-11-02 Joseph Myers <joseph@codesourcery.com>
7134
a68d0680
JM
7135 * conform/conformtest.pl (@headers): Add fenv.h.
7136 * conform/data/fenv.h-data: New file.
7137 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7138 include of <math/fenv.h>.
7139
caf7f573
JM
7140 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7141 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7142 && !UNIX98]. Enables tests for XOPEN2K8.
7143 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7144 POSIX2008]: Likewise.
7145
6c073ad6
JM
7146 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7147 (struct rusage): Do not expect type or its members.
7148
0155d5b2
JM
7149 [BZ #3439]
7150 * math/math.h (FP_NAN): Define macro to integer constant usable in
7151 #if and use that to give value to enum constant.
7152 (FP_INFINITE): Likewise.
7153 (FP_ZERO): Likewise.
7154 (FP_SUBNORMAL): Likewise.
7155 (FP_NORMAL): Likewise.
7156
b5dcacb4
AS
71572012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7158
7159 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7160 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7161 arguments.
7162
f7934be8
RM
71632012-11-02 Roland McGrath <roland@hack.frob.com>
7164
7165 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7166 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7167 autoconf-time if not.
7168 * configure.in: Remove AC_PREREQ.
7169
d7d08bde
TMQMF
71702012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7171
7172 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7173 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7174 of the internal implementation.
7175
dcdae19a
JM
71762012-11-02 Joseph Myers <joseph@codesourcery.com>
7177
7178 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7179 except include of <misc/sys/syslog.h>.
7180
d6cffd3e
AS
71812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7182
7183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7184 function returns with a NULL context exit with zero.
7185
b3563932
TMQMF
71862012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7187
7188 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7189
b288a93d
L
71902012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7191
7192 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7193 (run_program_cmd): This.
7194 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7195 (tst_langinfo): New variable. Use it.
7196
a2421a68
SAS
71972012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7198
7199 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7200 floating point opcodes.
7201
6f796e1b
TS
72022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7203
7402596b
TS
7204 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7205 variable.
7206
d0d4f868
TS
7207 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7208
6f796e1b
TS
7209 * sysdeps/mach/hurd/powerpc: Remove directory.
7210 * sysdeps/mach/powerpc: Likewise.
7211
4da224a2
AS
72122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7213
7214 * scripts/check-local-headers.sh: Ignore c++ headers.
7215
341dd673
TS
72162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7217
7218 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7219 __libc_cleanup_region_start argument.
7220
473611b2
JM
72212012-11-01 Joseph Myers <joseph@codesourcery.com>
7222
7223 [BZ #14784]
7224 [BZ #14785]
7225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7226 x * y using scaling, not as x * y + z.
7227 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7228 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7229 * math/libm-test.inc (fma_test): Add more tests.
7230 (fma_test_towardzero): Likewise.
7231 (fma_test_downward): Likewise.
7232 (fma_test_upward): Likewise.
7233
4078da3d
TS
72342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7235
7236 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7237
903252aa
JM
72382012-10-31 Joseph Myers <joseph@codesourcery.com>
7239
7240 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7241 New variable.
7242
cbc818d0
TS
72432012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7244
7245 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7246
5a03cb1e
AS
72472012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7248
7249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7250 Fix sort order.
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7252 Likewise.
7253
90aff2ff
TMQMF
72542012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7255
7256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7257 Fix the order of the list for glibc 2.17.
7258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7259 Likewise.
7260
1818fcb7
AS
72612012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7262
7263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7264
ef82f4da
JM
72652012-10-31 Joseph Myers <joseph@codesourcery.com>
7266
16a0e2ec
JM
7267 [BZ #14610]
7268 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7269 for low part of x being zero before using __atanl (y).
7270 * math/libm-test.inc (atan2_test): Add another test.
7271
0eb69512
JM
7272 * manual/install.texi (Configuring and compiling): Document
7273 general use of test-wrapper and test-wrapper-env.
7274 * INSTALL: Regenerated.
7275
ef82f4da
JM
7276 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7277 (__fma): Do not extract and scale down low bits on after-rounding
7278 systems when result rounded to normal precision would have normal
7279 exponent.
7280 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7281 (__fmal): Do not extract and scale down low bits on after-rounding
7282 systems when result rounded to normal precision would have normal
7283 exponent.
7284 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7285 (__fmal): Do not extract and scale down low bits on after-rounding
7286 systems when result rounded to normal precision would have normal
7287 exponent.
7288 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7289 macro.
7290 (fma_test): Add more tests.
7291 (fma_test_towardzero): Likewise.
7292 (fma_test_downward): Likewise.
7293 (fma_test_upward): Likewise.
7294
954ef0d9
L
72952012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7296
7297 * sysdeps/i386/tininess.h: Renamed to ...
7298 * sysdeps/x86/tininess.h: This.
7299 * sysdeps/x86_64/tininess.h: Removed.
7300
df61ffb2
JM
73012012-10-30 Joseph Myers <joseph@codesourcery.com>
7302
7303 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7304 input. Use $(build-program-cmd).
7305 ($(objpfx)tst-array1-static.out): Likewise.
7306 ($(objpfx)tst-array2.out): Likewise.
7307 ($(objpfx)tst-array3.out): Likewise.
7308 ($(objpfx)tst-array4.out): Likewise.
7309 ($(objpfx)tst-array5.out): Likewise.
7310 ($(objpfx)tst-array5-static.out): Likewise.
7311
01767843
CM
73122012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7313
47cc1490
CM
7314 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7315 if defined.
7316
01767843
CM
7317 * nss/nsswitch.h (nss_interface_function): Provide new
7318 macro for use with NSS functions.
7319 * grp/initgroups.c: Use new macro.
7320 * nss/getXXbyYY.c: Likewise.
7321 * nss/getXXbyYY_r.c: Likewise.
7322 * nss/getXXent.c: Likewise.
7323 * nss/getXXent_r.c: Likewise.
7324 * sysdeps/posix/getaddrinfo.c: Likewise.
7325
8321aa97
AJ
73262012-10-30 Andreas Jaeger <aj@suse.de>
7327
7328 * po/ru.po: Update Russion translation from translation project.
7329
2a27fd6d
JM
73302012-10-30 Joseph Myers <joseph@codesourcery.com>
7331
8627a232
JM
7332 [BZ #14152]
7333 [BZ #14783]
7334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7335 result and shift together with sticky bit instead of replicating
7336 round-to-nearest rounding.
7337 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7338 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7339 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7340 missing underflow exceptions.
7341 (fma_test_towardzero): Add more tests.
7342 (fma_test_downward): Likewise.
7343 (fma_test_upward): Likewise.
7344
2a27fd6d
JM
7345 [BZ #14047]
7346 * sysdeps/generic/tininess.h: New file.
7347 * sysdeps/i386/tininess.h: Likewise.
7348 * sysdeps/sh/tininess.h: Likewise.
7349 * sysdeps/x86_64/tininess.h: Likewise.
7350 * stdlib/tst-strtod-underflow.c: Likewise.
7351 * stdlib/tst-tininess.c: Likewise.
7352 * stdlib/strtod_l.c: Include <tininess.h>.
7353 (round_and_return): Do not set errno for exact underflow cases.
7354 Force an underflow exception when setting errno for underflow.
7355 Determine underflow based on rounding to normal precision if
7356 TININESS_AFTER_ROUNDING.
7357 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7358 ERANGE for exact underflow cases.
7359 * stdlib/Makefile (tests): Add tst-tininess and
7360 tst-strtod-underflow.
7361 ($(objpfx)tst-tininess): Use $(link-libm).
7362 ($(objpfx)tst-strtod-underflow): Likewise.
7363
e7170363
AJ
73642012-10-30 Andreas Jaeger <aj@suse.de>
7365
e5088dc6
AJ
7366 [BZ#14767]
7367 * elf/Makefile (tests): Remove conditional for have-initfini-array
7368 since this is now always required and the variable does not exist
7369 anymore.
7370 (tests-static): Likewise.
7371 (modules-names): Likewise.
7372
e7170363 7373 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7374
7375 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7376 merged with constructor/destructor.
7377 (init_array): Likewise.
7378 * elf/tst-array2dep.c (fini_array): Likewise.
7379 (init_array): Likewise.
7380
60457d8a
MF
73812012-10-29 Mike Frysinger <vapier@gentoo.org>
7382
7383 * manual/message.texi: Delete @cartouche tags.
7384
8bece752
PT
73852012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7386
94ce799f
PT
7387 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7388 EOPNOTSUPP.
7389 * sysdeps/mach/hurd/fsync.c: Likewise.
7390
8bece752
PT
7391 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7392 [_POSIX_REALTIME_SIGNALS]: Change condition to
7393 [_POSIX_REALTIME_SIGNALS > 0].
7394
86ebe6b1
AJ
73952012-10-27 Andreas Jaeger <aj@suse.de>
7396
7397 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7398 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7400 [__WORDSIZE != 64]: Likewise.
7401
54399c08
L
74022012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7403
7404 * iconvdata/tst-table.sh: Remove ${SHELL}.
7405 * iconvdata/tst-tables.sh: Likewise.
7406
e2211bed
DM
74072012-10-25 David S. Miller <davem@davemloft.net>
7408
7409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7410 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7411 of strtoull.
7412
f303f97c
DM
7413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7414 ifunc-impl-list.c
7415 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7416 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7417 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7418 file.
7419
1e9d84cd
RM
74202012-10-25 Roland McGrath <roland@hack.frob.com>
7421
7422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7423 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7424 __getdirentries.
7425
df381762
JM
74262012-10-25 Joseph Myers <joseph@codesourcery.com>
7427 Jim Blandy <jimb@codesourcery.com>
7428
7429 * scripts/cross-test-ssh.sh: New file.
7430 * manual/install.texi (Configuring and compiling): Document use of
7431 cross-test-ssh.sh.
7432 * INSTALL: Regenerated.
7433
bff64913
PT
74342012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7435
7436 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7437 EOPNOTSUPP.
7438
25fe8932
JM
74392012-10-25 Joseph Myers <joseph@codesourcery.com>
7440
7441 * Makeconfig (run-program-prefix): Fix comment.
7442
cc1290d0
JM
74432012-10-24 Joseph Myers <joseph@codesourcery.com>
7444 Jim Blandy <jimb@codesourcery.com>
7445
7446 * Makeconfig (test-wrapper): New variable,
7447 (test-wrapper-env): Likewise.
7448 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7449 (run-built-tests): Define to yes.
7450 (run-program-prefix): Use $(test-wrapper).
7451 (built-program-cmd): Likewise.
7452 * Rules (make-test-out): Use $(test-wrapper-env) and
7453 $(host-built-program-cmd).
7454 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7455 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7456 tst-pathopt.sh.
7457 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7458 $(test-wrapper-env) to tst-rtld-load-self.sh.
7459 ($(objpfx)order2.out): Use $(test-wrapper).
7460 ($(objpfx)tst-initorder.out): Likewise.
7461 ($(objpfx)tst-initorder2.out): Likewise.
7462 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7463 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7464 (test_wrapper_env): New variable. Use it to run ld.so.
7465 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7466 Use it to run ld.so.
7467 (test_wrapper_env): Likewise.
7468 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7469 $(test-wrapper) to run-iconv-test.sh.
7470 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7471 (ICONV): Use $test_wrapper.
7472 * posix/Makefile ($(objpfx)globtest.out): Pass
7473 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7474 globtest.sh, not $(run-program-prefix).
7475 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7476 (test_wrapper): Likewise.
7477 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7478 set together with run_via_rtld_prefix.
7479 (run_program_prefix): Define in terms of test_wrapper and
7480 run_via_rtld_prefix.
7481
6e6249d0
RM
74822012-10-24 Roland McGrath <roland@hack.frob.com>
7483
7484 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7485 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7486 Targets removed.
7487
7488 [BZ #14743]
7489 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7490 Declare __clock_getres, __clock_gettime, __clock_settime,
7491 __clock_nanosleep, and __clock_getcpuclockid.
7492 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7493 Remove librt_hidden_def (clock_gettime).
7494 * sysdeps/unix/clock_gettime.c: Likewise.
7495 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7496 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7497 * rt/clock_getres.c: Define __clock_getres as an alias.
7498 * sysdeps/posix/clock_getres.c: Likewise.
7499 * rt/clock_settime.c: Define __clock_settime as an alias.
7500 * sysdeps/unix/clock_settime.c: Likewise.
7501 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7502 * sysdeps/unix/clock_nanosleep.c: Likewise.
7503 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7504 * rt/clock-compat.c: New file.
7505 * rt/Makefile (librt-routines): Add clock-compat and move
7506 $(clock-routines) to ...
7507 (routines): ... here, new variable.
7508 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7509 Don't add get_clockfreq here.
7510 * rt/Versions (libc: GLIBC_2.17): New version set.
7511 Add clock_* symbols here.
7512 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7513 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7514 (GLIBC_2.17): Add clock_* symbols.
7515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7517 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7519 Likewise.
7520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7521 Likewise.
7522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7526 * NEWS: Mention the move.
7527
7528 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7529 Use __open, __read, __close rather than their public counterparts.
7530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7531 (__get_clockfreq_via_cpuinfo): Likewise.
7532 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7533 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7534
7535 * config.h.in (HAVE_IFUNC): New #undef.
7536 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7537 was successful.
7538 * configure: Regenerated.
7539
0cae3f4b
MF
75402012-10-24 Mike Frysinger <vapier@gentoo.org>
7541
7542 * configure.in: Move READELF check to start of file.
7543 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7544 libc_cv_asm_gnu_indirect_function in the process.
7545 * configure: Regenerated.
7546
8175a253
MF
75472012-10-24 Mike Frysinger <vapier@gentoo.org>
7548
7549 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7550 send the output to /dev/null.
7551 (libc_cv_cc_with_libunwind): Likewise.
7552 (libc_cv_as_noexecstack): Likewise.
7553 * configure: Regenerate.
7554
0708a7d1
JM
75552012-10-24 Joseph Myers <joseph@codesourcery.com>
7556
10b40d85
JM
7557 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7558
0708a7d1
JM
7559 * posix/globtest.sh (TMPDIR): Do not set.
7560 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7561 (testout): Likewise.
7562
9fddec1a
AJ
75632012-10-24 Andreas Jaeger <aj@suse.de>
7564
3a8db22f
AJ
7565 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7566 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7567 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7568 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7569 posix_fadvise64, posix_fallocate64.
7570
9fddec1a
AJ
7571 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7572 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7573 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7574 Likewise.
7575 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7576 Likewise.
7577 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7578
7579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7580 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7581 <bits/fcntl-linux.h>.
7582 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7583
7584 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7585 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7586 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7587 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7588 [__WORDSIZE != 64]: Likewise.
7589
ebfd1bbd
JM
75902012-10-23 Joseph Myers <joseph@codesourcery.com>
7591
03ac099f
JM
7592 * Makeconfig (run-built-tests): New variable.
7593 * Rules [$(cross-compiling) = yes]: Change condition to
7594 [$(run-built-tests) = no].
7595 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7596 to [$(run-built-tests) = yes].
7597 * elf/Makefile [$(cross-compiling) = no]: Likewise
7598 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7599 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7600 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7601 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7602 * io/Makefile [$(cross-compiling) = no]: Likewise.
7603 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7604 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7605 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7606 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7607 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7608 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7609 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7610 * string/Makefile [$(cross-compiling) = no]: Likewise.
7611
ebfd1bbd
JM
7612 * posix/Makefile ($(objpfx)globtest.out): Pass
7613 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7614 $(rtld-installed-name).
7615 * posix/globtest.sh (elf_objpfx): Remove variable.
7616 (rtld_installed_name): Likewise.
7617 (library_path): Likewise.
7618 (run_program_prefix): New variable. Use for running globtest
7619 binary.
7620
166bca24
JB
76212012-10-23 Jim Blandy <jimb@codesourcery.com>
7622 Joseph Myers <joseph@codesourcery.com>
7623
7624 * Makeconfig (host-built-program-cmd): New variable.
7625 * elf/Makefile (tst-stackguard1-ARGS): Use
7626 $(host-built-program-cmd).
7627 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7628 (tst-spawn-ARGS): Likewise.
7629 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7630
88866099
JM
76312012-10-23 Joseph Myers <joseph@codesourcery.com>
7632 Jim Blandy <jimb@codesourcery.com>
7633
7634 * Makeconfig (run-via-rtld-prefix): New variable.
7635 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7636 (built-program-cmd): Likewise.
7637
b4b4c296
AJ
76382012-10-22 Andreas Jaeger <aj@suse.de>
7639
7640 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7641 __O_RSYNC if it exists, otherwise to O_SYNC.
7642
6fb54a22
JB
76432012-10-22 Jim Blandy <jimb@codesourcery.com>
7644 Joseph Myers <joseph@codesourcery.com>
7645
7646 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7647 /dev/null.
7648 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7649 from /dev/null
7650 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7651 /dev/null.
7652
481b90b9
AJ
76532012-10-22 Andreas Jaeger <aj@suse.de>
7654
2a0e2669
AJ
7655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7656 Define always.
7657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7658
76e38f9a
AJ
7659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7660 bits/fcntl-linux.h.
7661
7cd37b43
AJ
7662 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7663 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7664
481b90b9
AJ
7665 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7666 to __O_LARGEFILE.
7667 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7668 to __O_LARGEFILE.
7669
aba75984
JB
76702012-10-21 Jim Blandy <jimb@codesourcery.com>
7671 Joseph Myers <joseph@codesourcery.com>
7672
7673 * config.make.in (NM): New variable.
7674
88d4247f
AJ
76752012-10-21 Andreas Jaeger <aj@suse.de>
7676
7677 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7678 definitions and declarations that are provided by
7679 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7680
f2eed205
L
76812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7682
7683 [BZ #14683]
7684 * elf/Makefile (tests-static): Add tst-leaks1-static.
7685 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7686 ($(objpfx)tst-leaks1-static): New rule.
7687 ($(objpfx)tst-leaks1-static-mem): Likewise.
7688 (tst-leaks1-static-ENV): New macro.
7689 * elf/dl-open.c (dl_open_worker): Check the main application
7690 only if SHARED is defined.
7691 * elf/tst-leaks1-static.c: New file.
7692
335e6931
AJ
76932012-10-20 Andreas Jaeger <aj@suse.de>
7694
7695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7696 generic values for Linux.
7697 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7698 and declarations that are provided by <bits/fcntl-linux.h> and
7699 include <bits/fcntl-linux.h>.
7700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7702
ac5c94d3
RM
77032012-10-20 Roland McGrath <roland@hack.frob.com>
7704
7705 * io/fcntl.h: Move include of <bits/types.h> to the top and
7706 include it unconditionally.
7707
de54b33a
L
77082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7709
228cfb01
L
7710 * wcsmbs/Makefile (tests-ifunc): New variable.
7711 (tests): Add $(tests-ifunc).
7712 * wcsmbs/test-wcschr-ifunc.c: New file.
7713 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7714 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7715 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7716 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7717 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7718
69f07e5f
L
7719 * string/Makefile (tests-ifunc): New variable.
7720 (tests): Add $(tests-ifunc).
7721 * string/test-memccpy.c (TEST_NAME): New macro.
7722 * string/test-memchr.c (TEST_NAME): Likewise.
7723 * string/test-memcmp.c (TEST_NAME): Likewise.
7724 * string/test-memcpy.c (TEST_NAME): Likewise.
7725 * string/test-memmem.c (TEST_NAME): Likewise.
7726 * string/test-memmove.c (TEST_NAME): Likewise.
7727 * string/test-memset.c (TEST_NAME): Likewise.
7728 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7729 * string/test-stpcpy.c (TEST_NAME): Likewise.
7730 * string/test-stpncpy.c (TEST_NAME): Likewise.
7731 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7732 * string/test-strcasestr.c (TEST_NAME): Likewise.
7733 * string/test-strcat.c (TEST_NAME): Likewise.
7734 * string/test-strchr.c (TEST_NAME): Likewise.
7735 * string/test-strcmp.c(TEST_NAME): Likewise.
7736 * string/test-strcpy.c (TEST_NAME): Likewise.
7737 * string/test-strcspn.c (TEST_NAME): Likewise.
7738 * string/test-strlen.c (TEST_NAME): Likewise.
7739 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7740 * string/test-strncmp.c (TEST_NAME): Likewise.
7741 * string/test-strncpy.c (TEST_NAME): Likewise.
7742 * string/test-strnlen.c (TEST_NAME): Likewise.
7743 * string/test-strpbrk.c (TEST_NAME): Likewise.
7744 * string/test-strrchr.c (TEST_NAME): Likewise.
7745 * string/test-strspn.c (TEST_NAME): Likewise.
7746 * string/test-strstr.c (TEST_NAME): Likewise.
7747 * string/test-bcopy-ifunc.c: New file.
7748 * string/test-bzero-ifunc.c: Likewise.
7749 * string/test-memccpy-ifunc.c: Likewise.
7750 * string/test-memchr-ifunc.c: Likewise.
7751 * string/test-memcmp-ifunc.c: Likewise.
7752 * string/test-memcpy-ifunc.c: Likewise.
7753 * string/test-memmem-ifunc.c: Likewise.
7754 * string/test-memmove-ifunc.c: Likewise.
7755 * string/test-mempcpy-ifunc.c: Likewise.
7756 * string/test-memset-ifunc.c: Likewise.
7757 * string/test-rawmemchr-ifunc.c: Likewise.
7758 * string/test-stpcpy-ifunc.c: Likewise.
7759 * string/test-stpncpy-ifunc.c: Likewise.
7760 * string/test-strcasecmp-ifunc.c: Likewise.
7761 * string/test-strcasestr-ifunc.c: Likewise.
7762 * string/test-strcat-ifunc.c: Likewise.
7763 * string/test-strchr-ifunc.c: Likewise.
7764 * string/test-strchrnul-ifunc.c: Likewise.
7765 * string/test-strcmp-ifunc.c: Likewise.
7766 * string/test-strcpy-ifunc.c: Likewise.
7767 * string/test-strcspn-ifunc.c: Likewise.
7768 * string/test-strlen-ifunc.c: Likewise.
7769 * string/test-strncasecmp-ifunc.c: Likewise.
7770 * string/test-strncat-ifunc.c: Likewise.
7771 * string/test-strncmp-ifunc.c: Likewise.
7772 * string/test-strncpy-ifunc.c: Likewise.
7773 * string/test-strnlen-ifunc.c: Likewise.
7774 * string/test-strpbrk-ifunc.c: Likewise.
7775 * string/test-strrchr-ifunc.c: Likewise.
7776 * string/test-strspn-ifunc.c: Likewise.
7777 * string/test-strstr-ifunc.c: Likewise.
7778
de54b33a
L
7779 * debug/Makefile (tests-ifunc): New variable.
7780 (tests): Add $(tests-ifunc).
7781 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7782 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7783 * debug/test-stpcpy_chk-ifunc.c: New file.
7784 * debug/test-strcpy_chk-ifunc.c: Likewise.
7785
88481c16
SP
77862012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7787
7788 [BZ #13601]
7789 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7790 header is not read in.
7791
135948bd
JM
77922012-10-19 Joseph Myers <joseph@codesourcery.com>
7793
89f1c388
JM
7794 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7795 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7796 directly. Pass built executable to script as
7797 $(built-program-cmd).
7798 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7799 $testprogram without using LD_LIBRARY_PATH and $ldso.
7800
e40a0d21
JM
7801 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7802 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7803 $(rtld-installed-name).
7804 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7805 (rtld_installed_name): Likewise.
7806 (library_path): Likewise.
7807 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7808 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7809 $(run-program-prefix) to tst-tables.sh.
7810 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7811 it to run tst-table-from and tst-table-to.
7812 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7813 Pass it to tst-table.sh.
7814 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7815 $(run-program-prefix) to tst-gettext.sh.
7816 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7817 tst-translit.sh.
7818 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7819 tst-gettext2.sh.
7820 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7821 to run tst-gettext.
7822 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7823 to run tst-gettext2.
7824 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7825 to run tst-translit.
7826 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7827 $(run-program-prefix) to tst-mtrace.sh.
7828 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7829 to run tst-mtrace.
7830 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7831 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7832 $(rtld-installed-name).
7833 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7834 (rtld_installed_name): Likewise.
7835 (run_program_prefix): New variable. Use it to run wordexp-test.
7836
728e272a
JM
7837 * Makeconfig (ARCH): Remove all definitions.
7838 (machine): Likewise.
7839 [ARCH]: Remove conditional code.
7840 [!objdir]: Give error.
7841 [!objdir] (objpfx): Remove.
7842 [!objdir] (common-objpfx): Likewise.
7843 [!objdir] (common-objdir): Likewise.
7844 * configure.in (config_makefile): Remove. Hardcode Makefile in
7845 AC_CONFIG_FILES call.
7846 * configure: Regenerated.
7847
d528cdcf
JM
7848 [BZ #13888]
7849 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7850 or TMPDIR.
7851 (testout): Likewise.
7852
135948bd
JM
7853 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7854 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7855 $(rtld-installed-name).
7856 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7857 (rtld_installed_name): Likwise.
7858 (runit): Remove function.
7859 (run_getconf): New variable, Use it for running getconf binary.
7860
38c78296
L
78612012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7862
7863 [BZ #14716]
7864 * string/test-memmem.c (check_result): New function.
7865 (do_one_test): Use it.
7866 (check1): New function.
7867 (test_main): Use it.
7868
d077f65f
MT
78692012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7870
7871 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7872
ced52c71
JM
78732012-10-18 Joseph Myers <joseph@codesourcery.com>
7874
7875 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7876 (_G_LSEEK64): Likewise.
7877 (_G_MMAP64): Likewise.
7878 (_G_FSTAT64): Likewise.
7879 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7880 (_G_LSEEK64): Likewise.
7881 (_G_MMAP64): Likewise.
7882 (_G_FSTAT64): Likewise.
7883 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7884 unconditional. Call __mmap64 directly.
7885 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7886 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7887 __lseek64 directly.
7888 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7889 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7890 __mmap64 directly.
7891 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7892 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7893 __lseek64 directly.
7894 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7895 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7896 __lseek64 directly.
7897 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7898 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7899 __lseek64 directly.
7900 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7901 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7902 __fxstat64 directly.
7903 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7904 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7905 unconditional.
7906 (freopen64) [!_G_OPEN64]: Remove conditional code.
7907 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7908 unconditional.
7909 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7910 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7911 unconditional.
7912 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7913 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7914 unconditional.
7915 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7916 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7917 unconditional.
7918 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7919 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7920 unconditional.
7921 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7922 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7923 unconditional.
7924 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7925 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7926 unconditional.
7927 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7928
b741de23
SP
79292012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7930
7931 [BZ #12140]
7932 * manual/memory.texi (Malloc Tunable Parameters): Add note
7933 about free list pointers overwriting some perturb bytes.
7934 Wording suggested by Roland McGrath.
7935
f9b9d9c9
JM
79362012-10-17 Joseph Myers <joseph@codesourcery.com>
7937
7938 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7939 (lgamma_test): Likewise.
7940 (tgamma_test): Likewise.
7941
172a631a
FW
79422012-10-16 Florian Weimer <fweimer@redhat.com>
7943
7944 [BZ #14700]
7945 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7946 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7947
e9f37252
MK
79482012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7949
7950 * NEWS: Mention BZ #14716.
7951 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7952 when removing AVAILABLE1_USES_J macro.
7953
d394eb74
L
79542012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7955
7956 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7957 (__bswap_64): __uint64_t for unsigned 64-bit int.
7958
ca38dc17
AS
79592012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7960
7961 * include/string.h (memmem): Declare libc hidden alias.
7962 * string/memmem.c (memmem): Define libc hidden alias.
7963 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7964 __read, __close instead of open, read, close.
7965
9a387d1f
L
79662012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7967
ac49ecaf
L
7968 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7969 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7970 global and hidden.
7971 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7972 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7973 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7974 Likewise.
7975 (__rawmemchr_sse2): Likewise.
7976 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7977 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7978 (__strchr_sse2): Likewise.
7979 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7980 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7981 (__strcasecmp_sse2): Likewise.
7982 (__strncasecmp_sse2): Likewise.
7983 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7984 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7985 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7986 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7987 (__strrchr_sse2): Likewise.
7988 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7989 ifunc-impl-list.c.
7990 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7991 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7992 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7993 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7994 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7995 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7996 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7997 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7998 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7999 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8000 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8001 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8002 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8003 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8004 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8005 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8006 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8007 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8008 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8009 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8010 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8011 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8012 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8013 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8014 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8015 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8016 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8017 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8018 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8019 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8020
b090e8ea
L
8021 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8022 global and hidden.
8023 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8024 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8025 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8026 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8027 Likewise.
8028 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8029 Likewise.
8030 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8031 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8032 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8033 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8034 ifunc-impl-list.c.
8035 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8036 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8037 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8038 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8039 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8040 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8041 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8042 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8043 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8044 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8045 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8046 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8047 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8048 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8049 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8050 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8051 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8052 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8053 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8054 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8055 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8056 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8057 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8058 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8059 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8060 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8061 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8062 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8063 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8064 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8065 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8066 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8067 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8068 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8069 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8070 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8071 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8072 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8073 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8074 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8075 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8076
11dd4af6
L
8077 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8078 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8079 * include/ifunc-impl-list.h: New file.
8080 * misc/ifunc-impl-list.c: Likewise.
8081 * misc/Makefile (routines): Add ifunc-impl-list.
8082 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8083 * string/test-string.h: Include <ifunc-impl-list.h>.
8084 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8085 impl_array): New variables.
8086 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8087 are defined.
8088 (test_init): Call __libc_ifunc_impl_list to initialize
8089 func_list if TEST_IFUNC and TEST_NAME are defined.
8090
9a387d1f
L
8091 * string/Makefile (strop-tests): Add bcopy and bzero.
8092 * string/test-bcopy.c: New file.
8093 * string/test-bzero.c: Likewise.
8094 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8095 defined.
8096 * string/test-memset.c: Support bzero test if TEST_BZERO is
8097 defined.
8098 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8099 __libc_memmove.
8100 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8101 __libc_memset.
8102 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8103 of memset.
8104
472371b9
JM
81052012-10-10 Joseph Myers <joseph@codesourcery.com>
8106
1e4a9536
JM
8107 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8108 * configure: Regenerated.
8109
d173d12e
JM
8110 * Makeconfig (+link-static-before-libc): Don't include
8111 $(link-static-libc).
8112
472371b9
JM
8113 * libio/libio.h (_IO_pos_t): Remove.
8114
89a3ad0b
AO
81152012-10-10 Alexandre Oliva <aoliva@redhat.com>
8116
8117 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8118 McGrath.
8119
e7451425
AO
81202012-10-10 Alexandre Oliva <aoliva@redhat.com>
8121
8122 * crypt/crypt-entry.c: Include fips-private.h.
8123 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8124 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8125 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8126 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8127
4ba74a35
AO
81282012-10-10 Alexandre Oliva <aoliva@redhat.com>
8129
8130 * crypt/crypt-private.h: Include stdbool.h.
8131 (_ufc_setup_salt_r): Return bool.
8132 * crypt/crypt-entry.c: Include errno.h.
8133 (__crypt_r): Return NULL with EINVAL for bad salt.
8134 * crypt/crypt_util.c (bad_for_salt): New.
8135 (_ufc_setup_salt_r): Check that salt is long enough and within
8136 the specified alphabet.
8137 * crypt/badsalttest.c: New file.
8138 * crypt/Makefile (tests): Add it.
8139 ($(objpfx)badsalttest): New.
8140
f96f1242
MK
81412012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8142
8143 * NEWS: Add entry for BZ #14602.
8144
0e8e0c1c
JM
81452012-10-09 Joseph Myers <joseph@codesourcery.com>
8146
8147 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8148 type-generic.
8149 * math/libm-test.inc: Update comment listing what functions and
8150 macros are tested.
8151 (isgreater_test): New function.
8152 (isgreaterequal_test): Likewise.
8153 (isless_test): Likewise.
8154 (islessequal_test): Likewise.
8155 (islessgreater_test): Likewise.
8156 (isunordered_test): Likewise.
8157 (main): Call the new functions.
8158
273edc5e
RM
81592012-10-09 Roland McGrath <roland@hack.frob.com>
8160
b8493de0
RM
8161 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8162 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8163 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8164 * sysdeps/i386/configure: Regenerated.
8165 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8166 * sysdeps/mach/configure: Regenerated.
8167 * sysdeps/mach/hurd/configure: Regenerated.
8168 * sysdeps/powerpc/configure: Regenerated.
8169 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8170 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8171 * sysdeps/s390/s390-32/configure: Regenerated.
8172 * sysdeps/s390/s390-64/configure: Regenerated.
8173 * sysdeps/sh/configure: Regenerated.
8174 * sysdeps/sparc/configure: Regenerated.
8175 * sysdeps/unix/sysv/linux/configure: Regenerated.
8176 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8177 * sysdeps/x86_64/configure: Regenerated.
8178
273edc5e
RM
8179 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8180 defined. Don't check if MAP is NULL.
8181
c8450f70
JM
81822012-10-09 Joseph Myers <joseph@codesourcery.com>
8183
8184 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8185 (_G_stat64): Likewise.
8186 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8187 (_G_stat64): Likewise.
8188 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8189 instead of struct _G_stat64.
8190 * libio/fileops.c (mmap_remap_check): Likewise.
8191 (decide_maybe_mmap): Likewise.
8192 (_IO_new_file_seekoff): Likewise.
8193 (_IO_file_stat): Likewise.
8194 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8195 _G_off64_t.
8196 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8197 instead of struct _G_stat64.
8198 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8199
57e605ba
MK
82002012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8201
8202 [BZ #14602]
8203 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8204 Replace with ...
8205 (CHECK_EOL): New macro.
8206 (two_way_short_needle): Check beginning of haystack for EOL. Use
8207 CHECK_EOL.
8208 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8209 Replace with CHECK_EOL.
8210 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8211 Replace with CHECK_EOL.
8212
ef1bb361
JM
82132012-10-08 Joseph Myers <joseph@codesourcery.com>
8214
8215 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8216 type-generic.
8217 * math/libm-test.inc: Update comment listing what functions and
8218 macros are tested.
8219 (finite_test): New function.
8220 (isinf_test): Likewise.
8221 (isnan_test): Likewise.
8222 (fpclassify_test): Test subnormal input.
8223 (isfinite_test): Likewise.
8224 (isnormal_test): Likewise.
8225 (main): Call the new functions.
8226
55f11534
JN
82272012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8228
8229 [BZ #14660]
8230 * Makerules (%.dynsym): Force C locale when running
8231 $(OBJDUMP) --dynamic-syms.
8232
1ab29350
AS
82332012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8234
8235 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8236 <stdint.h>.
8237
f1ecb7ef
DM
82382012-10-06 David S. Miller <davem@davemloft.net>
8239
8240 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8241 upper 32-bits of the length value in %o2 since we use branch-on-register
8242 tests which consider the entire 64-bit register.
8243
5d41d91a
L
82442012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8245
8246 * string/test-strstr.c (check2): Add a test for page boundary.
8247
3baddb72
DM
82482012-10-05 David S. Miller <davem@davemloft.net>
8249
8250 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8251 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8252 file.
8253 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8254 sysdep_routines.
8255 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8256 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8257 and bzero when HWCAP_SPARC_CRYPTO is present.
8258
9cee5585
L
82592012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8260
d7e0dab9
L
8261 [BZ #14602]
8262 * string/test-strstr.c (check2): New function.
8263 (test_main): Call check2.
8264
03759f47
L
8265 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8266 and bug-strchr1.
8267 * string/bug-strcasestr1.c (do_test): Moved to ...
8268 * string/test-strcasestr.c (check1): Here. New function.
8269 (do_one_test): Break out result checking code into ...
8270 (check_result): This. New function.
8271 (do_one_test): Call check_result.
8272 (test_main): Call check1.
8273 * string/bug-strchr1.c (do_test): Moved to ...
8274 * string/test-strchr.c (check1): Here. New function.
8275 (do_one_test): Break out result checking code into ...
8276 (check_result): This. New function.
8277 (do_one_test): Call check_result.
8278 (test_main): Call check1.
8279 * string/bug-strstr1.c (main): Moved to ...
046f153e 8280 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8281 (do_one_test): Break out result checking code into ...
8282 (check_result): This. New function.
8283 (do_one_test): Call check_result.
8284 (test_main): Call check1.
8285 * string/bug-strcasestr1.c: Removed.
8286 * string/bug-strchr1.c: Likewise.
8287 * string/bug-strstr1.c: Likewise.
8288
53cea63e
L
8289 * elf/Makefile (dl-routines): Add hwcaps.
8290 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8291 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8292 (_dl_important_hwcaps): Moved to ...
8293 * elf/dl-hwcaps.c: Here. New file.
8294 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8295
9cee5585 8296 [BZ #14557]
bb859b06
L
8297 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8298 if IS_IN_rtld isn't defined.
8299
9cee5585
L
8300 * elf/dl-support.c (_dl_sysinfo_map): New.
8301 Include "get-dynamic-info.h" and "setup-vdso.h".
8302 (_dl_non_dynamic_init): Call setup_vdso.
8303 * elf/dynamic-link.h: Don't include <assert.h>.
8304 (elf_get_dynamic_info): Moved to ...
8305 * elf/get-dynamic-info.h: Here. New file.
8306 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8307 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8308 * elf/setup-vdso.h: Here. New file.
8309 * elf/rtld.c: Include "setup-vdso.h".
8310 (dl_main): Call setup_vdso.
8311
23c31b76
JM
83122012-10-05 Joseph Myers <joseph@codesourcery.com>
8313
28234b07
JM
8314 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8315 creal in comment listing functions tested. List finite, isinf,
8316 isnan, isless, islessequal, isgreater, isgreaterequal,
8317 islessgreater, isunordered, lgamma_r and pow10 as functions and
8318 macros not tested. Mention which functions not tested are aliases
8319 for other functions. Fix typo. Note that signs of NaNs are not
8320 tested.
8321
23c31b76
JM
8322 * scripts/config.guess: Update from config.git.
8323 * scripts/config.sub: Likewise.
8324
9043e228
RM
83252012-10-04 Roland McGrath <roland@hack.frob.com>
8326
8327 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8328 * misc/madvise.c (madvise): Renamed to __madvise.
8329 Make madvise a weak alias.
8330 * include/sys/mman.h: Declare __madvise.
8331 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8332 * sysdeps/unix/syscalls.list
8333 (madvise): Make __madvise the strong name, and madvise a weak alias.
8334 * sysdeps/unix/sysv/linux/syscalls.list
8335 (madvise, mmap): Remove redundant entries.
8336 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8337 * malloc/malloc.c (mtrim): Likewise.
8338 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8339
f57f8055
RM
83402012-10-03 Roland McGrath <roland@hack.frob.com>
8341
8342 * sysdeps/mach/hurd/dl-cache.c: File removed.
8343 * config.h.in (USE_LDCONFIG): New #undef.
8344 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8345 * configure: Regenerated.
8346 * elf/Makefile (dl-routines): Add dl-cache only under
8347 [$(use-ldconfig) = yes].
8348 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8349 cache on [USE_LDCONFIG].
8350 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8351 [USE_LDCONFIG].
8352 * elf/rtld.c (dl_main): Likewise.
8353
5bb0c10a
PT
83542012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8355
8356 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8357 _SC_LEVEL4_CACHE_LINESIZE.
8358
010188c6
RM
83592012-10-03 Roland McGrath <roland@hack.frob.com>
8360
8361 * sysdeps/unix/bsd/confstr.h: File removed.
8362
b6c5ec07
AO
83632012-10-02 Alexandre Oliva <aoliva@redhat.com>
8364
8365 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8366 sys/sdt-config.h.
8367
408223d4
RM
83682012-10-02 Roland McGrath <roland@hack.frob.com>
8369
8370 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8371 Make 'mapoff' field ElfW(Off) rather than off_t.
8372
bb9510dc
DL
83732012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8374
fc997c6e
DL
8375 * nscd/Makefile: Remove nscd-cflags and all its users.
8376 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8377 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8378
bb9510dc
DL
8379 [BZ #10631]
8380 * malloc.c (malloc_printerr): Clarify error message.
8381
05699367
L
83822012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8383
8384 [BZ #14648]
8385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8386 Set bit_FMA_Usable if FMA is supported.
8387 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8388 macro.
8389 (bit_FMA4_Usable): Updated.
8390 (index_FMA_Usable): New macro.
8391 (CPUID_FMA): Likewise
8392 (HAS_FMA): Defined with bit_FMA_Usable.
8393
51367701
RM
83942012-10-01 Roland McGrath <roland@hack.frob.com>
8395
8396 * bits/types.h (__swblk_t): Type removed.
8397 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8398 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8399 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8400 (__SWBLK_T_TYPE): Likewise.
8401 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8402 (__SWBLK_T_TYPE): Likewise.
8403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8404 (__SWBLK_T_TYPE): Likewise.
8405 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8406 (__SWBLK_T_TYPE): Likewise.
8407
4d57bf63 84082012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8409 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8410
8411 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8412 (xdr_mapname): Use YPMAXMAP as maxsize.
8413 (xdr_peername): Use YPMAXPEER as maxsize.
8414 (xdr_keydat): Use YPAXRECORD as maxsize.
8415 (xdr_valdat): Use YPMAXRECORD as maxsize.
8416
93c65d43
RM
84172012-10-01 Roland McGrath <roland@hack.frob.com>
8418
497a03d6
RM
8419 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8420
93c65d43
RM
8421 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8422 * csu/init-first.c: ... here.
8423 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8424 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8425 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8426 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8427 * sysdeps/i386/init-first.c: File removed.
8428 * sysdeps/sh/init-first.c: File removed.
8429
bec749fd
JM
84302012-10-01 Joseph Myers <joseph@codesourcery.com>
8431
8432 [BZ #14645]
8433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8434 if x * y might underflow to zero and z is zero.
8435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8437 * math/libm-test.inc (min_subnorm_value): New variable.
8438 (fma_test): Add more tests.
8439 (fma_test_towardzero): Likewise.
8440 (fma_test_downward): Likewise
8441 (fma_test_upward): Likewise.
8442 (initialize): Set min_subnorm_value.
8443
8ec5b013
JM
84442012-09-29 Joseph Myers <joseph@codesourcery.com>
8445
8446 [BZ #14638]
8447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8448 0 + 0.
8449 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8450 mode for addition resulting in exact zero.
8451 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8452 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8453 exact 0 + 0.
8454 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8455 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8456 * math/libm-test.inc (fma_test): Add more tests.
8457 (fma_test_towardzero): New function.
8458 (fma_test_downward): Likewise.
8459 (fma_test_upward): Likewise.
8460 (main): Call the new functions.
8461
b1fa802e
DM
84622012-09-28 David S. Miller <davem@davemloft.net>
8463
8464 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8465
d3b9fd9e
RM
84662012-09-28 Roland McGrath <roland@hack.frob.com>
8467
ea4d37b3
RM
8468 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8469 instead of SIGALRM.
8470
ac51c949
RM
8471 * sysdeps/gnu/_G_config.h: Moved to ...
8472 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8473 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8474 * sysdeps/generic/_G_config.h: ... here.
8475
28c195f7
RM
8476 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8477
848917f9
RM
8478 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8479
6bacf05b
RM
8480 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8481 Conditionalize target on [libnss_test1.so-version].
8482
91363dbb
RM
8483 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8484
cc87f7d8
RM
8485 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8486 (elfobjdir): Move out of conditionals.
8487
b1c608fe
RM
8488 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8489 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8490 (__nss_lookup_function): Conditionalize label remove_from_tree on
8491 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8492
1d9a6d96
DM
84932012-09-28 David S. Miller <davem@davemloft.net>
8494
8495 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8496 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8497 file.
8498 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8499 sysdep_routines.
8500 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8501 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8502 when HWCAP_SPARC_CRYPTO is present.
8503
72581615
PT
85042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8505
8506 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8507
715a900c
JL
85082012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8509
8510 [BZ #6530]
8511 * stdio-common/vfprintf.c (process_string_arg): Revert
8512 2000-07-22 change.
8513
85142011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8515
8516 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8517 for testcase.
8518 * stdio-common/tst-sprintf.c: Include <locale.h>
8519 (main): Test sprintf's handling of incomplete multibyte
8520 characters.
8521
9bac1d86
L
85222012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8523
8524 * elf/dl-runtime.c (VERSYMIDX): Removed.
8525 * elf/dl-version.c (VERSYMIDX): Likewise.
8526 * elf/do-rel.h (VERSYMIDX): Likewise.
8527 (VALIDX): Likewise.
8528 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8529 * elf/rtld.c (VALIDX): Likewise.
8530 (ADDRIDX): Likewise.
9bac1d86
L
8531 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8532 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8533 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8534 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8535 (VALIDX): Likewise.
8536 (ADDRIDX): Likewise.
9bac1d86 8537
b31606c0
PT
85382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8539
8540 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8541
11541177
JL
85422012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8543
8544 [BZ #11438]
8545 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8546 to global scope.
8547 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8548 addresses are in the same scope as 192.0.2/24.
8549 * posix/gai.conf: Document new scope table defaults.
8550
adb26fae
SP
85512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8552
8553 [BZ #5298]
8554 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8555 for ftell. Compute offsets from write pointers instead.
8556 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8557
4573c6b0
SP
85582012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8559
8560 [BZ #14543]
8561 * libio/Makefile (tests): New test case tst-fseek.
8562 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8563 combination works in wide mode.
8564 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8565 state when the external buffer state changes.
8566
aa9bbfe6
DM
85672012-09-27 David S. Miller <davem@davemloft.net>
8568
8569 [BZ #14376]
8570 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8571 pass reloc->r_addend in as the 'high' argument to
8572 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8573
784421e7
DM
8574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8575
c39bc8b8
PT
85762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8577
8578 * rt/tst-aio2.c: Include <pthread.h>.
8579 * rt/tst-aio3.c: Likewise.
8580
1ccc2399
SE
85812012-09-27 Steve Ellcey <sellcey@mips.com>
8582
8583 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8584
31ed4153
L
85852012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8586
25f5f885
L
8587 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8588 contents on [SHARED].
31ed4153 8589
b7bfe116
MP
85902012-09-26 Marek Polacek <polacek@redhat.com>
8591
8592 [BZ #14530]
8593 [BZ #13741]
8594 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8595 for C++ and GCC <4.3 as well as for non GCC compilers.
8596
43c4edba
MT
85972012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8598
8599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8600
6a1bf82f
RM
86012012-09-25 Roland McGrath <roland@hack.frob.com>
8602
8603 * Makefile.in (all, install): Declare with .PHONY.
8604 Reported by Michael Hope <michael.hope@linaro.org>.
8605
8ad11b9a
TMQMF
86062012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8607
8608 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8609 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8610 system header.
8611 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8612 Likewise.
8613 (sydep_routines): Add the new and the internal functions.
8614 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8615 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8617 (GLIBC_2.17): Add the new function.
8618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8619 (GLIBC_2.17): Likewise.
8620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8621 (GLIBC_2.17): Likewise.
8622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8623 (GLIBC_2.17): Likewise.
8624 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8625
7e2fca8d
AM
86262012-09-25 Alan Modra <amodra@gmail.com>
8627
8628 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8629 Add release barrier before setting once_control to say
8630 initialisation is done. Add hints on lwarx. Use macro in
8631 place of isync.
8632 (clear_once_control): Add release barrier.
8633
b87c4b24
JM
86342012-09-25 Joseph Myers <joseph@codesourcery.com>
8635
d032e0d2
JM
8636 [BZ #13629]
8637 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8638 specially.
8639 * math/s_clog10.c (__clog10): Likewise.
8640 * math/s_clog10f.c (__clog10f): Likewise.
8641 * math/s_clog10l.c (__clog10l): Likewise.
8642 * math/s_clogf.c (__clogf): Likewise.
8643 * math/s_clogl.c (__clogl): Likewise.
8644 * math/Makefile (libm-calls): Add x2y2m1.
8645 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8646 (__x2y2m1): Likewise.
8647 (__x2y2m1l): Likewise.
8648 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8649 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8650 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8651 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8652 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8653 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8654 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8655 * sysdeps/i386/fpu/libm-test-ulps: Update.
8656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8657
b87c4b24
JM
8658 [BZ #14621]
8659 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8660 int as type of variable DEPTH.
8661 (glob): Use size_t instead of int as type of variables NEWCOUNT
8662 and OLD_PATHC.
8663
6d3bf199
LD
86642012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8665
22bf5c17
LD
8666 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8667 Add s_sincosf-sse2.
8668 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8669 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8670 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8671 macros for using routine as __sincosf_ia32.
8672 Use macro for function declaration and weak_alias.
8673 * sysdeps/i386/fpu/libm-test-ulps: Update.
8674
8675 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8677
8678 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8679 subnormal argument.
8680 * math/s_cexpf.c (__cexpf): Likewise.
8681 * math/s_csinf.c (__csinf): Likewise.
8682 * math/s_csinhf.c (__csinhf): Likewise.
8683 * math/s_ctanf.c (__ctanf): Likewise.
8684 * math/s_ctanhf.c (__ctanhf): Likewise.
8685 * math/s_ccosh.c (__ccoshf): Likewise.
8686 * math/s_cexp.c (__cexpl): Likewise.
8687 * math/s_csin.c (__csin): Likewise.
8688 * math/s_csinh.c (__csinh): Likewise.
8689 * math/s_ctan.c (__ctan): Likewise.
8690 * math/s_ctanh.c (ctanh): Likewise.
8691 * math/s_ccoshl.c (__ccoshl): Likewise.
8692 * math/s_cexpl.c (__cexpl): Likewise.
8693 * math/s_csinl.c (__csinl): Likewise.
8694 * math/s_csinhl.c (__csinhl): Likewise.
8695 * math/s_ctanl.c (__ctanl): Likewise.
8696 * math/s_ctanhl.c (__ctanhl): Likewise.
8697
203e5603
JM
86982012-09-25 Joseph Myers <joseph@codesourcery.com>
8699
8700 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8701 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8702 (_IO_off_t): Define to __off_t, not _G_off_t.
8703 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8704 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8705 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8706 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8707 type of __dummy and __dummy2 fields.
8708 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8709 (_G_ssize_t): Likewise.
8710 (_G_off_t): Likewise.
8711 (_G_pid_t): Likewise.
8712 (_G_uid_t): Likewise.
8713 (_G_wchar_t): Likewise.
8714 (_G_wint_t): Likewise.
8715 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8716 (_G_ssize_t): Likewise.
8717 (_G_off_t): Likewise.
8718 (_G_pid_t): Likewise.
8719 (_G_uid_t): Likewise.
8720 (_G_wchar_t): Likewise.
8721 (_G_wint_t): Likewise.
8722 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8723 (_G_ssize_t): Likewise.
8724 (_G_off_t): Likewise.
8725 (_G_pid_t): Likewise.
8726 (_G_uid_t): Likewise.
8727 (_G_wchar_t): Likewise.
8728 (_G_wint_t): Likewise.
8729
9fab36eb
SP
87302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8731
8732 * malloc/arena.c: Include malloc-sysdep.h.
8733 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8734 is sufficient to shrink the heap or an unmap is needed.
8735 * sysdeps/generic/malloc-sysdep.h: New file. Define
8736 new function check_may_shrink_heap.
8737 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8738 new function check_may_shrink_heap.
8739
2b4f00d1
SP
87402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8741
8742 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8743 comments.
8744
9a9028b1
DL
87452012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8746
57c69bef
DL
8747 * catgets/test-gencat.sh: Add "set -e".
8748 * elf/tst-pathopt.sh: Likewise.
8749 * grp/tst_fgetgrent.sh: Likewise.
8750 * iconvdata/run-iconv-test.sh: Likewise.
8751 * intl/tst-gettext.sh: Likewise.
8752 * intl/tst-gettext2.sh: Likewise.
8753 * intl/tst-gettext4.sh: Likewise.
8754 * intl/tst-gettext6.sh: Likewise.
8755 * intl/tst-translit.sh: Likewise.
8756 * io/ftwtest-sh: Likewise.
8757 * libio/test-freopen.sh: Likewise.
8758 * malloc/tst-mtrace.sh: Likewise.
8759 * posix/globtest.sh: Likewise.
8760 * posix/tst-getconf.sh: Likewise.
8761 * posix/wordexp-tst.sh: Likewise.
8762 * stdio-common/tst-printf.sh: Likewise.
8763 * stdio-common/tst-unbputc.sh: Likewise.
8764 * stdlib/tst-fmtmsg.sh: Likewise.
8765 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8766 * catgets/Makefile: Do not specify -e option when running
8767 testsuite shell scripts.
8768 * elf/Makefile: Likewise.
8769 * grp/Makefile: Likewise.
8770 * iconvdata/Makefile: Likewise.
8771 * intl/Makefile: Likewise.
8772 * io/Makefile: Likewise.
8773 * libio/Makefile: Likewise.
8774 * malloc/Makefile: Likewise.
8775 * posix/Makefile: Likewise.
8776 * stdio-common/Makefile: Likewise.
8777 * stdlib/Makefile: Likewise.
8778 * sysdeps/x86_64/Makefile: Likewise.
8779
9a9028b1
DL
8780 * io/ftwtest-sh: Add copyright header.
8781 * posix/globtest.sh: Likewise.
8782 * posix/tst-getconf.sh: Likewise.
8783 * posix/wordexp-tst.sh: Likewise.
8784 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8785
ced6f16e
L
87862012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8787
94b32c39
L
8788 [BZ #13679]
8789 * Makeconfig (+link): Defined as $(+link-static) if
8790 $(build-shared) isn't yes.
8791 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8792 isn't yes.
8793 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8794
189e935b
L
8795 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8796
ced6f16e
L
8797 [BZ #14562]
8798 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8799 new chunk size with MALLOC_ALIGN_MASK.
8800
a9f8e53a
JM
88012012-09-24 Joseph Myers <joseph@codesourcery.com>
8802
8803 [BZ #5044]
8804 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8805 <rounding-mode.h>.
8806 (__printf_fphex): Determine rounding using get_rounding_mode and
8807 round_away.
8808 * stdio-common/tst-printf-round.c (struct hex_test): New
8809 structure.
8810 (hex_tests): New variable.
8811 (test_hex_in_one_mode): New function.
8812 (do_test): Also run tests for hex float output.
8813
43153109
JM
88142012-09-21 Joseph Myers <joseph@codesourcery.com>
8815
8816 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8817 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8818 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8819 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8820 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8821 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8822 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8823 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8824
8a26625d
JM
88252012-09-20 Joseph Myers <joseph@codesourcery.com>
8826
8827 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8828 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8829 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8830 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8831
f3fd569c
DL
88322012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8833
8834 [BZ #14579]
8835 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8836 mode only.
8837 * elf/tst-rtld-load-self.sh: New test.
8838 * elf/Makefile: Run it.
8839
63bbedd4
JM
88402012-09-18 Joseph Myers <joseph@codesourcery.com>
8841
8842 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8843 (tst-writev-ENV): Remove.
8844 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8845
626f8b6a
CM
88462012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8847
8848 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8849
b7aaa4d6
JM
88502012-09-17 Joseph Myers <joseph@codesourcery.com>
8851
8852 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8853 unconditional.
8854 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8855 Likewise.
8856 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8857 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8858 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8859 Likewise.
8860
65513990
L
88612012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8862
8863 [BZ #14587]
8864 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8865 * config.make.in (have-cpp-asm-debuginfo): Removed.
8866 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8867 * configure: Regenerated.
8868
784761be
JM
88692012-09-14 Joseph Myers <joseph@codesourcery.com>
8870
8871 [BZ #5044]
8872 * stdio-common/printf_fp.c: Include <stdbool.h> and
8873 <rounding-mode.h>.
8874 (___printf_fp): Determine rounding using get_rounding_mode and
8875 round_away.
8876 * stdio-common/tst-printf-round.c: New file.
8877 * stdio-common/Makefile (tests): Add tst-printf-round.
8878 (link-libm): New variable.
8879 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8880
9503345f
L
88812012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8882
8883 [BZ #14576]
8884 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8885 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8886 Likewise.
8887 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8888 Likewise.
8889
ad35fc00
JM
88902012-09-13 Joseph Myers <joseph@codesourcery.com>
8891
8892 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8893 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8894 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8895 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8896
6c9b0f68
JM
88972012-09-12 Joseph Myers <joseph@codesourcery.com>
8898
8899 [BZ #14518]
8900 * include/rounding-mode.h: New file.
8901 * sysdeps/generic/get-rounding-mode.h: Likewise.
8902 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8903 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8904 (MAX_VALUE): New macro.
8905 (MIN_VALUE): Likewise.
8906 (overflow_value): New function.
8907 (underflow_value): Likewise.
8908 (round_and_return): Use overflow_value and underflow_value to
8909 determine return values in overflow and underflow cases. Use
8910 round_away to determine rounding depending on rounding mode.
8911 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8912 determine return values in overflow and underflow cases.
8913 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8914 (struct test_results): New structure.
8915 (struct test): Use struct test_results to store expected results
8916 for all rounding modes.
8917 (TEST): Include expected results for all rounding modes.
8918 (test_in_one_mode): New function.
8919 (do_test): Use test_in_one_mode to compute and check results.
8920 Check results for all rounding modes.
8921 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8922 $(link-libm).
8923
19fcedd5
AM
89242012-12-09 Allan McRae <allan@archlinux.org>
8925
1e9d84cd 8926 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8927
8bbfd2f1
JM
89282012-09-11 Joseph Myers <joseph@codesourcery.com>
8929
8930 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8931 (_G_int32_t): Likewise.
8932 (_G_uint16_t): Likewise.
8933 (_G_uint32_t): Likewise.
8934 (_G_HAVE_BOOL): Likewise.
8935 (_G_HAVE_ATEXIT): Likewise.
8936 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8937 (_G_HAVE_IO_FILE_OPEN): Likewise.
8938 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8939 (_G_int32_t): Likewise.
8940 (_G_uint16_t): Likewise.
8941 (_G_uint32_t): Likewise.
8942 (_G_HAVE_BOOL): Likewise.
8943 (_G_HAVE_ATEXIT): Likewise.
8944 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8945 (_G_HAVE_IO_FILE_OPEN): Likewise.
8946 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8947 (_G_int32_t): Likewise.
8948 (_G_uint16_t): Likewise.
8949 (_G_uint32_t): Likewise.
8950 (_G_HAVE_BOOL): Likewise.
8951 (_G_HAVE_ATEXIT): Likewise.
8952 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8953 (_G_HAVE_IO_FILE_OPEN): Likewise.
8954
b1dc5912
L
89552012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8956
8957 * csu/libc-tls.c: Update copyright years.
8958
0e886ef9
JM
89592012-09-10 Joseph Myers <joseph@codesourcery.com>
8960
28361c5e
JM
8961 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8962 [!_G_USING_THUNKS]: Remove conditional code.
8963 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8964 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8965
0e886ef9
JM
8966 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8967 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8968 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8969 (_G_VTABLE_LABEL_PREFIX): Likewise.
8970 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8971 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8972 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8973 (_G_VTABLE_LABEL_PREFIX): Likewise.
8974 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8975 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8976 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8977 (_G_VTABLE_LABEL_PREFIX): Likewise.
8978 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8979
bcba7aa2
L
89802012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8981
8982 * libio/Makefile: Include ../Makeconfig before tests.
8983 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8984 only if $(build-shared) is yes.
8985
06585ee8
L
8986 * iconv/gconv_db.c: Update copyright years.
8987
80ccd52c
LD
89882012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8989
8990 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8991 unwind info if defined PIC. Fix special cases description.
8992 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8993
8994 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8995 DP_HI_MASK entry.
8996 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8997
691bc9c1
L
89982012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8999
3d9b46b3
L
9000 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9001
de2139a9
L
9002 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9003 is NULL.
9004
5ca78dd0
L
9005 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9006 (LDLIBS-tst-chk4): This.
9007 (LDFLAGS-tst-chk5): Renamed to ...
9008 (LDLIBS-tst-chk5): This.
9009 (LDFLAGS-tst-chk6): Renamed to ...
9010 (LDLIBS-tst-chk6): This.
9011 (LDFLAGS-tst-lfschk4): Renamed to ...
9012 (LDLIBS-tst-lfschk4): This.
9013 (LDFLAGS-tst-lfschk5): Renamed to ...
9014 (LDLIBS-tst-lfschk5): This.
9015 (LDFLAGS-tst-lfschk6): Renamed to ...
9016 (LDLIBS-tst-lfschk6): This.
9017
691bc9c1
L
9018 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9019 on $(common-objpfx)soversions.mk.
9020
65cafb1c
JM
90212012-09-07 Joseph Myers <joseph@codesourcery.com>
9022
9023 [BZ #10014]
9024 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9025 example host name.
9026
c78ab094
SP
90272012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9028
9029 * malloc/arena.c (arena_get_retry): New function that gets
9030 another arena for the caller to try its request on.
9031 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9032 current arena cannot fulfill the request.
9033 (__libc_memalign): Likewise.
9034 (__libc_memalign): Likewise.
9035 (__libc_pvalloc): Likewise.
9036 (__libc_calloc): Likewise.
9037
01f49f59
JT
90382012-09-05 John Tobey <john.tobey@gmail.com>
9039
9040 [BZ #13542]
9041 * manual/arith.texi (Operations on Complex): Fix description
9042 of carg branch cut.
9043
4c23fed5
JM
90442012-09-06 Joseph Myers <joseph@codesourcery.com>
9045
1d3c8572
JM
9046 [BZ #10014]
9047 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9048 host name.
9049
4c23fed5
JM
9050 [BZ #10038]
9051 * manual/memory.texi (Memory): Make order of menu items match
9052 order of sections.
9053
04570aaa
L
90542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9055
9056 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9057 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9058 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9059
b80af2f4
L
90602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9061
9062 * csu/libc-tls.c (static_dtv): Renamed to ...
9063 (_dl_static_dtv): This. Make it global.
9064 (_dl_initial_dtv): Removed.
9065 (__libc_setup_tls): Updated.
9066 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9067 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9068 DL_INITIAL_DTV.
9069
2abe9f15
PM
90702012-09-06 Petr Machata <pmachata@redhat.com>
9071
9072 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9073 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9074 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9075 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9076
0948c3af
L
90772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9078
9079 [BZ #14545]
9080 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9081 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9082 freeing dtv[-1].
9083
a5055ad1
L
90842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9085
9086 [BZ #14544]
9087 * Makeconfig (link-static-before-libc): Replace $(+prector)
9088 with $(+prectorT).
9089 (link-static-after-libc): Replace $(+postctor) with
9090 $(+postctorT).
9091 (link-bounded): Replace $(+prector)/$(+postctor) with
9092 $(+prectorT)/$(+postctorT).
9093 (+prectorT): New macro.
9094 (+postctorT): Likewise.
9095
ed8c2ecd
JM
90962012-09-06 Joseph Myers <joseph@codesourcery.com>
9097
9098 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9099 (round_str): Handle values above the maximum for IBM long double
9100 as inexact.
9101 * stdlib/tst-strtod-round.c (tests): Regenerated.
9102
14c996c8
AK
91032012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9104
9105 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9106 assembler flag.
9107 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9108 zarch_nohighgprs around the zarch optimized routines.
9109 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9110 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9111 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9112 for zarch.
9113
430d6ce6
DM
91142012-09-05 David S. Miller <davem@davemloft.net>
9115
9116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9117
ff04dda4
DM
9118 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9119 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9120 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9121 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9122 entries.
9123
24d4e01b
AO
91242012-09-05 Alexandre Oliva <aoliva@redhat.com>
9125
9126 * malloc/arena.c: Fold copyright years.
9127 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9128
61d58174
AO
91292012-09-05 Alexandre Oliva <aoliva@redhat.com>
9130
9131 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9132
20196a5e
AO
91332012-09-05 Alexandre Oliva <aoliva@redhat.com>
9134
9135 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9136
5c447383
AO
91372012-09-05 Alexandre Oliva <aoliva@redhat.com>
9138
9139 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9140 change internal state upon failure.
9141
fad64255
AO
91422012-09-05 Alexandre Oliva <aoliva@redhat.com>
9143
9144 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9145 * malloc/memusage.c (mmap): Likewise.
9146 (mmap64, mremap): Likewise. Adjust name in comment.
9147
1ffb8c90
SP
91482012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9149
9150 * libio/fileops.c: Fix typos in comments.
9151 * libio/oldfileops.c: Likewise.
9152 * libio/wfileops.c: Likewise.
9153
6ef9cc37
SP
91542012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9155
9156 [BZ #1349]
9157 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9158 (tst-malloc-usable-ENV): Set environment for test case.
9159 * malloc/hooks.c (malloc_check_get_size): New function to get
9160 requested size.
9161 * malloc/malloc.c (musable): Use malloc_check_get_size.
9162 * malloc/tst-malloc-usable.c: New test case.
9163
4d038ae3
AS
91642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9165
9166 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9167
c4e85184
AM
91682012-09-05 Allan McRae <allan@archlinux.org>
9169
b9dafc56 9170 [BZ #13966]
c4e85184
AM
9171 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9172 determine header location.
9173 * configure: Regenerated.
9174
e1343020
AS
91752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9176
9177 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9178 float format.
9179 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9180 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9181 format.
e1343020
AS
9182 (test): Regenerate.
9183
0a9f1987
DM
91842012-09-04 David S. Miller <davem@davemloft.net>
9185
9186 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9187 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9188 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9189
29237804
FW
91902012-09-04 Florian Weimer <fweimer@redhat.com>
9191
9192 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9193 failures.
9194
edb3cb88
FW
9195 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9196
60160d83
JM
91972012-09-04 Joseph Myers <joseph@codesourcery.com>
9198
9199 [BZ #9914]
9200 * libio/iogetdelim.c: Include <limits.h>.
9201 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9202 + len + 1 would overflow.
9203
bcd6c8dc
AJ
92042012-09-03 Andreas Jaeger <aj@suse.de>
9205
9206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9207 * sysdeps/i386/fpu/libm-test-ulps: Update.
9208
4ffffbd2
LD
92092012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9210
9211 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9212 Add s_sinf-sse2, s_conf-sse2.
9213
9214 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9215 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9216 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9217 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9218
9219 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9220 for using routine as __sinf_ia32.
9221 Use macro for function declaration and weak_alias.
9222 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9223 for using routine as __cosf_ia32.
9224 Use macro for function declaration and weak_alias.
9225
9226 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9227 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9228
9229 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9230 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9232
9233 * math/libm-test.inc (cos_test): Add more test cases.
9234 (sin_test): Likewise.
9235 (sincos_test): Likewise.
9236
511fa286
AK
92372012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9238
9239 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9240 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9241 hidden.
9242 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9243
5f30cfec
L
92442012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9245
9246 [BZ #14538]
9247 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9248 first element of the GOT.
9249 (elf_machine_load_address): Return the difference between
9250 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9251
0786794f
AM
92522012-09-01 Allan McRae <allan@archlinux.org>
9253
5f30cfec
L
9254 [BZ #13412]
9255 * configure.in (AWK): Require gawk version 3.0 or later.
9256 * configure: Regenerated.
0786794f 9257
26889eac
JM
92582012-09-01 Joseph Myers <joseph@codesourcery.com>
9259
9260 * sysdeps/unix/sysv/linux/kernel-features.h
9261 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9262 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9263 [__NR_clock_getres]: Make code unconditional.
9264 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9265 (clock_getcpuclockid): Remove code left unreachable by removal of
9266 conditionals.
9267 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9268 code unconditional.
9269 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9270 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9271 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9272 Make code unconditional.
9273 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9274 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9275 * sysdeps/unix/sysv/linux/clock_settime.c
9276 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9277 conditional code.
9278 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9279 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9280
d22e28b0
L
92812012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9282
9283 [BZ #14476]
9284 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9285 scripts/test-installation.pl.
9286
9287 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9288 and $ld_so_version if it is set.
9289
050af9c4
SP
92902012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9291
9292 [BZ #14516]
9293 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9294 failure if reading from procfs failed.
9295 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9296
ad845c0b
JM
92972012-08-27 Joseph Myers <joseph@codesourcery.com>
9298
9299 * sysdeps/unix/sysv/linux/kernel-features.h
9300 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9301 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9302 Remove conditional code.
9303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9304 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9305 Remove conditional code.
9306 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9307 * sysdeps/unix/sysv/linux/i386/fxstat.c
9308 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9310 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9311 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9312 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9313 * sysdeps/unix/sysv/linux/i386/lxstat.c
9314 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9315 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9316 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9317 Remove conditional code.
9318 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9319 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9320 Remove conditional code.
9321 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9322 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9323 <kernel-features.h>.
9324 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9325 Remove.
9326 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9327 Remove conditional code.
9328 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9329 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9330 Remove conditional.
9331
5dbf56af
MF
93322012-08-27 Mike Frysinger <vapier@gentoo.org>
9333
9334 [BZ #5400]
9335 * NEWS: Add fixed bug number.
9336
d6e70f43
JM
93372012-08-27 Joseph Myers <joseph@codesourcery.com>
9338
7efb4737
JM
9339 [BZ #14519]
9340 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9341 underflowing exponent in case of negative sign.
9342 * stdlib/tst-strtod-round-data: Add more tests.
9343 * stdlib/tst-strtod-round.c (tests): Regenerated.
9344
af92131a
JM
9345 [BZ #3479]
9346 * stdlib/strtod_l.c (NDIG): Remove.
9347 (HEXNDIG): Likewise.
9348 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9349 smallest representable value.
9350 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9351 lie within an exact representation of 1/2 ulp of the result.
9352 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9353 unconditionally.
9354 (TENS_P9_IDX): Define unconditionally.
9355 (TENS_P9_SIZE): Likewise.
9356 (TENS_P10_IDX): Likewise.
9357 (TENS_P10_SIZE): Likewise.
9358 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9359 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9360 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9361 entries for 10^2^13 and 10^2^14.
9362 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9363 (TENS_P13_IDX): Define.
9364 (TENS_P13_SIZE): Likewise.
9365 (TENS_P14_IDX): Likewise.
9366 (TENS_P14_SIZE): Likewise.
9367 (_fpioconst_pow10): Change array size to
9368 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9369 unconditional.
9370 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9371 1024]: Add entries for 10^2^13 and 10^2^14.
9372 [LAST_POW10 > _LAST_POW10]: Remove #error.
9373 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9374 (_fpioconst_pow10): Change array size to
9375 FPIOCONST_POW10_ARRAY_SIZE.
9376 * stdlib/gen-fpioconst.c: New file.
9377 * stdlib/gen-tst-strtod-round.c: Likewise.
9378 * stdlib/tst-strtod-round-data: Likewise.
9379 * stdlib/tst-strtod-round.c: Likewise.
9380 * stdlib/Makefile (tests): Add tst-strtod-round.
9381
d6e70f43
JM
9382 [BZ #14459]
9383 * stdlib/strtod_l.c: Include <stdint.h>.
9384 (NDEBUG): Do not define.
9385 (round_and_return): Change EXPONENT parameter to type intmax_t.
9386 Rearrange calculations to avoid internal overflow possibilities.
9387 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9388 Rearrange calculations to avoid internal overflow possibilities.
9389 Assert that number fits inside MPNSIZE limbs.
9390 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9391 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9392 calculations and add assertions to avoid internal overflow
9393 possibilities. Add casts to avoid signed/unsigned operations.
9394 * stdlib/tst-strtod-overflow.c: New file.
9395 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9396
1f529f7d
MP
93972012-08-25 Marek Polacek <polacek@redhat.com>
9398
9399 * time/time.h: Fix some typos in comments.
9400
59a629f1
RM
94012012-08-23 Roland McGrath <roland@hack.frob.com>
9402
9403 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9404 * posix/tst-rfc3484-2.c: Likewise.
9405 * posix/tst-rfc3484-3.c: Likewise.
9406
d3bafbc9
SM
94072012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9408
9409 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9410 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9411
4efcc022
JM
94122012-08-23 Joseph Myers <joseph@codesourcery.com>
9413
9414 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9415 #include of fxstatat64.c.
9416
3cc3ef96
RM
94172012-08-22 Roland McGrath <roland@hack.frob.com>
9418
f04e2132
RM
9419 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9420 * shadow/getspent_r.c: Likewise.
9421 * shadow/getspnam.c: Likewise.
9422 * shadow/getspnam_r.c: Likewise.
9423 * gshadow/getsgent.c: Likewise.
9424 * gshadow/getsgent_r.c: Likewise.
9425 * gshadow/getsgnam.c: Likewise.
9426 * gshadow/getsgnam_r.c: Likewise.
9427 * inet/getnetbyad.c: Likewise.
9428 * inet/getnetbyad_r.c: Likewise.
9429 * inet/getnetbynm.c: Likewise.
9430 * inet/getnetbynm_r.c: Likewise.
9431 * inet/getnetent.c: Likewise.
9432 * inet/getnetent_r.c: Likewise.
9433 * inet/getproto.c: Likewise.
9434 * inet/getproto_r.c: Likewise.
9435 * inet/getprtent.c: Likewise.
9436 * inet/getprtent_r.c: Likewise.
9437 * inet/getprtname.c: Likewise.
9438 * inet/getprtname_r.c: Likewise.
9439 * inet/getrpcbyname.c: Likewise.
9440 * inet/getrpcbyname_r.c: Likewise.
9441 * inet/getrpcbynumber.c: Likewise.
9442 * inet/getrpcbynumber_r.c: Likewise.
9443 * inet/getrpcent.c: Likewise.
9444 * inet/getrpcent_r.c: Likewise.
9445 * inet/getaliasent.c: Likewise.
9446 * inet/getaliasent_r.c: Likewise.
9447 * inet/getaliasname.c: Likewise.
9448 * inet/getaliasname_r.c: Likewise.
9449 * nscd/getgrgid_r.c: Likewise.
9450 * nscd/getgrnam_r.c: Likewise.
9451 * nscd/gethstbyad_r.c: Likewise.
9452 * nscd/gethstbynm3_r.c: Likewise.
9453 * nscd/getpwnam_r.c: Likewise.
9454 * nscd/getpwuid_r.c: Likewise.
9455 * nscd/getsrvbynm_r.c: Likewise.
9456 * nscd/getsrvbypt_r.c: Likewise.
9457 * nscd/gai.c: Likewise.
9458
c53d909c
RM
9459 * configure.in (build_nscd): New substituted variable, set
9460 by --disable-build-nscd and defaults to $use_nscd.
9461 * configure: Regenerated.
9462 * config.make.in (build-nscd): New substituted variable.
9463 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9464 Change conditional to require [$(build-nscd) = yes] as well.
9465 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9466
3cc3ef96
RM
9467 [BZ# 13696]
9468 * configure.in (use_nscd): New substituted variable, set by
9469 --disable-nscd. If enabled, define USE_NSCD.
9470 * configure: Regenerated.
9471 * config.h.in: Add USE_NSCD.
9472 * config.make.in (use-nscd): New substituted variable.
9473 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9474 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9475 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9476 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9477 (CFLAGS-getgrnam_r.c): Likewise.
9478 (CFLAGS-initgroups.c): Likewise.
9479 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9480 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9481 Variables removed.
9482 * inet/getnetgrent_r.c
9483 (nscd_setnetgrent): New function, broken out of ...
9484 (setnetgrent): ... here. Call it.
9485 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9486 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9487 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9488 * nscd/Makefile (routines, aux): Move definitions after include of
9489 Makeconfig. Conditionalize on [$(use-nscd) != no].
9490 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9491 Conditionalize on [USE_NSCD].
9492 (is_nscd, nscd_init_cb): Likewise.
9493 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9494 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9495 * nss/nss_db/db-init.c: Likewise.
9496 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9497 [USE_NSCD].
9498 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9499 (make_request): Use it.
9500 (cache_valid_p): New function.
9501 (__check_pf): Use it.
9502 * NEWS: Add item for --disable-nscd.
9503
07e51550
DL
95042012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9505
9506 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9507 to support sed >= 4.2.1-20-ga9bf076.
9508 * configure: Regenerated.
9509
35a5b08b
RM
95102012-08-22 Roland McGrath <roland@hack.frob.com>
9511
9512 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9513 Conditionalize whole body on [IREL].
9514
8479f23a
JL
95152012-08-22 Jeff Law <law@redhat.com>
9516
9517 [BZ #14505]
9518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9519 if the family is PF_UNSPEC.
9520
48da0b21
MF
95212012-08-22 Mike Frysinger <vapier@gentoo.org>
9522
9523 * Makerules (lib-version): Rename from V.
9524 (install-lib-nosubdir): Change V to lib-version.
9525
15d0da8c
WS
95262012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9527
9528 [BZ #14252]
9529 * powerpc32/power6/wcschr.c: New file.
9530 * powerpc32/power6/wcscpy.c: New file.
9531 * powerpc32/power6/wcsrchr.c: New file.
9532 * powerpc64/power6/wcschr.c: New file.
9533 * powerpc64/power6/wcscpy.c: New file.
9534 * powerpc64/power6/wcsrchr.c: New file.
9535
bcca0895
MK
95362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9537
9538 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9539 (two_way_short_needle): Use it.
5a4aaa33
RM
9540 * string/strstr.c (AVAILABLE1_USES_J): Define.
9541 * string/strcasestr.c: Likewise.
99677e57
MK
9542
9543 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9544 array references.
9545 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9546
400726de
MK
9547 [BZ #11607]
9548 * NEWS: Add an entry.
9549 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9550 define their defaults.
9551 (two_way_short_needle): Detect end-of-string on-the-fly.
9552 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9553 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9554 * string/bug-strcasestr1.c: New test.
9555 * string/Makefile: Run it.
9556
20a71f2c
MK
95572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9558
9559 [BZ #11607]
9560 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9561 the first character.
9562
21ad0558
RM
95632012-08-21 Roland McGrath <roland@hack.frob.com>
9564
9565 * csu/elf-init.c (__libc_csu_irel): Function removed.
9566 * csu/libc-start.c (apply_irel): New function.
9567 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9568
0e1d9911
JM
95692012-08-21 Joseph Myers <joseph@codesourcery.com>
9570
9571 * sysdeps/unix/sysv/linux/kernel-features.h
9572 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9573 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9574 <kernel-features.h>.
9575 [__NR_fadvise64_64]: Make code unconditional.
9576 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9577 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9578 !__NR_fadvise64_64)]: Likewise.
9579 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9580 !__NR_fadvise64_64))]: Likewise.
9581 [__NR_fadvise64]: Make code unconditional.
9582 [!__NR_fadvise64]: Remove conditional code.
9583 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9584 <kernel-features.h>.
9585 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9586 unconditional.
9587 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9588 conditional code.
9589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9590 not include <kernel-features.h>.
9591 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9592 unconditional.
9593 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9594 conditional code.
9595 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9596 include <kernel-features.h>.
9597 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9598 unconditional.
9599 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9600 conditional code.
9601
14a50c9d
WS
96022012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9603
9604 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9605 slight instruction rearrangements per scrollpipe analysis.
9606 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9607
c0f4faf0
RM
96082012-08-20 Roland McGrath <roland@hack.frob.com>
9609
696da859
RM
9610 * manual/syslog.texi (syslog; vsyslog, closelog):
9611 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9612 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9613
c0f4faf0
RM
9614 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9615 DSOCAPS to match condition on defining it.
9616
348363b2
JM
96172012-08-20 Joseph Myers <joseph@codesourcery.com>
9618
a35cbf28
JM
9619 * sysdeps/unix/sysv/linux/kernel-features.h
9620 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9622 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9623 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9625 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9626 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9628 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9629 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9630
445f7ecd
JM
9631 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9632 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9633
348363b2
JM
9634 * sysdeps/unix/sysv/linux/kernel-features.h
9635 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9636 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9637 unconditional.
9638 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9639 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9640 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9641 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9642 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9643 Make code unconditional.
9644 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9645 (__mmap64) [!__NR_mmap2]: Likewise.
9646 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9647 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9648 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9649 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9650 [__NR_mmap2]: Make code unconditional.
9651 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9652 (__mmap64) [!__NR_mmap2]: Likewise.
9653
bc5bc0e5
AK
96542012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9655
9656 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9657
88d506de
AJ
96582012-08-18 Andreas Jaeger <aj@suse.de>
9659
9660 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9661
493387d2
MF
96622012-08-18 Mike Frysinger <vapier@gentoo.org>
9663
9664 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9665 * include/unistd.h (__have_sock_cloexec): Likewise.
9666 (__have_pipe2): Likewise.
9667 (__have_dup3): Likewise.
9668
a277af22
MF
96692012-08-18 Mike Frysinger <vapier@gentoo.org>
9670
9671 [BZ #9685]
9672 * include/unistd.h (__have_pipe2): Change define into an extern int.
9673 (__have_dup3): Likewise.
9674 * socket/have_sock_cloexec.c: Include fcntl.h.
9675 (__have_pipe2): New variable.
9676 (__have_dup3): Likewise.
9677
fdab8fd3
MF
96782012-08-17 Mike Frysinger <vapier@gentoo.org>
9679
9680 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9681
31035e80
MP
96822012-08-17 Marek Polacek <polacek@redhat.com>
9683
9684 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9685 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9686
3bd9e993
RM
96872012-08-17 Roland McGrath <roland@hack.frob.com>
9688
c91c505f
RM
9689 * configure.in: Add AC_SUBST for sysheaders.
9690 * configure: Regenerated.
9691 * config.make.in (sysheaders): New substituted variable.
9692
7c6f9d53
RM
9693 * sysdeps/unix/mkfifo.c: Moved ...
9694 * sysdeps/posix/mkfifo.c: ... here.
9695 * sysdeps/unix/mkfifoat.c: Moved ...
9696 * sysdeps/posix/mkfifoat.c: ... here.
9697
9698 * sysdeps/unix/utime.c: Moved ...
9699 * sysdeps/posix/utime.c: ... here.
9700
9701 * sysdeps/unix/time.c: Moved ...
9702 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9703 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9704 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9705
9706 * sysdeps/unix/nice.c: Moved ...
9707 * sysdeps/posix/nice.c: ... here.
9708
9709 * sysdeps/unix/alarm.c: Moved ...
9710 * sysdeps/posix/alarm.c: ... here.
9711
3bd9e993
RM
9712 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9713
d1f09384
JL
97142012-08-17 Jeff Law <law@redhat.com>
9715
9716 * intl/Makefile (codeset_mo): New variable.
9717 ($(codeset_mo)): New target.
9718 (tst-codeset.out): Depend on that. Remove explicit rule.
9719 (tst-gettext3.out, tst-gettext5.out): Likewise.
9720 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9721 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9722 * intl/tst-codeset.sh: Remove.
9723 * intl/tst-gettext3.sh: Likewise.
9724 * intl/tst-gettext5.sh: Likewise.
9725
2ae1ae5c
RM
97262012-08-17 Roland McGrath <roland@hack.frob.com>
9727
c31fdb83
RM
9728 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9729 * sysdeps/unix/syscalls.list: ... here.
9730
a0844057
RM
9731 * sysdeps/posix/getaddrinfo.c
9732 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9733 (gaiconf_init, gaiconf_reload): Use them.
9734 [!_STATBUF_ST_NSEC]
9735 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9736 Define using time_t rather than struct timespec.
9737
750c1f2a
RM
9738 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9739 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9740 Macros removed.
9741 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9742 [!NO_THREADS].
9743 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9744 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9745 Likewise.
9746
2ae1ae5c
RM
9747 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9748 __libc_cleanup_push argument.
9749
e66a42f5
RM
9750 * bits/param.h: New file.
9751 * misc/sys/param.h: New file.
9752 * include/sys/param.h: New file.
9753 * misc/Makefile (headers): Add bits/param.h.
9754 * sysdeps/generic/sys/param.h: File removed.
9755 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9756 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9757 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9758 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9759
b7c08a66
RM
9760 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9761 last change.
9762
b2e1c562
RM
9763 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9764 [_IO_MTSAFE_IO].
9765 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9766 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9767 New macros.
9768
c75ccd4c
RM
9769 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9770 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9771 rather than -D_IO_MTSAFE_IO conditionally.
9772 * stdio-common/Makefile (CPPFLAGS): Likewise.
9773 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9774 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9775 Use $(libio-mtsafe).
9776 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9777 of -D_IO_MTSAFE_IO.
9778 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9779 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9780 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9781 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9782 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9783 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9784 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9785 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9786 (CFLAGS-fread_u_chk.c): Likewise.
9787 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9788 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9789 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9790 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9791 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9792 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9793 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9794 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9795 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9796
9797 * libio/Makefile: Test [$(libc-reentrant) = yes]
9798 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9799
9800 * Makeconfig
9801 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9802 * sysdeps/pthread/configure: File removed.
9803 * sysdeps/pthread/Makeconfig: New file.
9804 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9805 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9806
d9195db8
GB
98072012-08-16 Gary Benson <gbenson@redhat.com>
9808
9809 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9810 unmapping the first object in a namespace.
9811
86466cd9
RM
98122012-08-16 Roland McGrath <roland@hack.frob.com>
9813
9814 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9815 (__internal_setnetgrent): ... this. Add internal_function to
9816 definition. Add libc_hidden_def.
9817 (setnetgrent): Update caller.
9818 (internal_endnetgrent): Renamed to ...
9819 (__internal_endnetgrent): ... this. Add internal_function to
9820 definition. Add libc_hidden_def.
9821 (endnetgrent): Update caller.
9822 (internal_getnetgrent_r): Renamed to ...
9823 (__internal_getnetgrent_r): ... this. Add internal_function to
9824 definition. Add libc_hidden_def.
9825 (__getnetgrent_r): Update caller.
9826 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9827
c3c8283c
JM
98282012-08-16 Joseph Myers <joseph@codesourcery.com>
9829
9830 * stdlib/longlong.h: Update from GCC.
9831
db1ee0a8
RM
98322012-08-16 Roland McGrath <roland@hack.frob.com>
9833
9834 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9835 on _QL, which is set by umul_ppmm but never used.
9836 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9837 variables, which are set by GMP macros but never used.
9838 * stdio-common/_itowa.c (_itowa): Likewise.
9839 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9840 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9841
30f69637
CD
98422012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9843
9844 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9845 struct La_sh_regs is not constant.
9846 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9847 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9848 and struct La_sparc64_regs are not constant.
9849
93a78ac4
JM
98502012-08-16 Joseph Myers <joseph@codesourcery.com>
9851
9852 * sysdeps/unix/sysv/linux/kernel-features.h
9853 (__ASSUME_POSIX_TIMERS): Remove.
9854 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9855 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9856 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9857 Make code unconditional.
9858 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9859 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9860 Make code unconditional.
9861 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9862 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9863 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9864 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9865 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9866 Make code unconditional.
9867 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9868 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9869 (__libc_missing_posix_timers): Remove.
9870
dd924cd7
RM
98712012-08-15 Roland McGrath <roland@hack.frob.com>
9872
4b4f2771
RM
9873 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9874 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9875
601c888b
RM
9876 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9877
176790a7
RM
9878 * elf/dl-sym.c: Include <stdlib.h>.
9879
329bc018
RM
9880 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9881 constants, which avoids warnings in 32-bit builds.
9882
e04e272d
RM
9883 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9884 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9885
952bf94a
RM
9886 * misc/lseek.c: File moved to ...
9887 * io/lseek.c: ... here.
9888
7c99b50a
RM
9889 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9890
dd924cd7
RM
9891 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9892 shifting LEN more than 31 bits at once.
9893
b3f479a8
LD
98942012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9895
9896 [BZ #14195]
8c4ae0d4
RM
9897 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9898 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9899 * string/test-strncasecmp.c (check1): Renamed to...
9900 (bz12205): ...this.
9901 (bz14195): Add new testcase for two empty input strings and N > 0.
9902 (test_main): Call new testcase, adapt for renamed function.
9903
9c55864e
AJ
99042012-08-15 Andreas Jaeger <aj@suse.de>
9905
9906 [BZ #14090]
9907 * crypt/md5test2.c: New test, based on test supplied by Serge
9908 Belyshev <belyshev@depni.sinp.msu.ru>.
9909 * crypt/Makefile (xtests): Add md5test-giant..
9910 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9911
02dcb6c5
PE
99122012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9913
9914 [BZ #14090]
9915 * crypt/md5.c (md5_process_block): Don't assume the buffer
9916 length is less than 2**32.
9917 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9918 length is less than 2**64.
9919
a3f95dcc
RM
99202012-08-15 Roland McGrath <roland@hack.frob.com>
9921
be75d758
RM
9922 * string/str-two-way.h: Include <sys/param.h>.
9923 (MAX): Macro removed.
9924
7312ca90
RM
9925 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9926 Move #define and #undef of memmove to just before and after
9927 including <string.h>.
9928
9a0a5486
RM
9929 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9930 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9931 and after including <string.h>. Move declarations of
9932 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9933 to before #include "string/memmove.c".
9934
67cc348d
RM
9935 * include/dirent.h: Declare __getdirentries.
9936
a3f95dcc
RM
9937 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9938 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9939
ca98e171
MF
99402012-08-14 Mike Frysinger <vapier@gentoo.org>
9941
9942 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9943 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9944 * sysdeps/i386/configure: Regenerated.
9945 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9946 STABS_CURRENT_FILE, and STABS_FUN.
9947 (END): Remove call to STABS_FUN_END.
9948 (STABS_CURRENT_FILE1): Delete.
9949 (STABS_CURRENT_FILE): Likewise.
9950 (STABS_FUN): Likewise.
9951 (STABS_FUN_END): Likewise.
9952 (STABS_FUN2): Likewise.
9953 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9954 * sysdeps/x86_64/configure: Regenerated.
9955
5908bf46
RM
99562012-08-14 Roland McGrath <roland@hack.frob.com>
9957
9958 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9959 * elf/dl-lookup.c: Likewise.
5908bf46 9960
f2c05b9e
JM
99612012-08-14 Joseph Myers <joseph@codesourcery.com>
9962
9963 * sysdeps/unix/sysv/linux/kernel-features.h
9964 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9965 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9966 unconditionally.
9967 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9968 unconditionally.
9969 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9970 condition on __ASSUME_CLONE_THREAD_FLAGS.
9971
e11f5155
AJ
99722012-08-14 Andreas Jaeger <aj@suse.de>
9973
9974 * sysdeps/i386/fpu/libm-test-ulps: Update.
9975
51a9ba86
MK
99762012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9977
2fdd4f78
AJ
9978 * include/atomic.h (atomic_exchange_and_add): Split into ...
9979 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9980 New atomic macros.
51a9ba86 9981
ba6cba9e
MT
99822012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9983
9984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9985
42443a47
JL
99862012-08-13 Jeff Law <law@redhat.com>
9987
9988 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9989 null byte in the output string.
9990
121dce05
JM
99912012-08-10 Joseph Myers <joseph@codesourcery.com>
9992
9993 * sysdeps/unix/sysv/linux/kernel-features.h
9994 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9995 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9996 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9997 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9998 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9999 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10000 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10001
bf51f568
JL
100022012-08-09 Jeff Law <law@redhat.com>
10003
10004 [BZ #13939]
10005 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10006 When avoid_arena is set, don't retry in the that arena. Pick the
10007 next one, whatever it might be.
10008 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10009 (arena_lock): Pass in new parameter to arena_get2.
10010 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10011 arena_get2.
10012 (__libc_malloc): Unify retrying after main arena failure with
10013 __libc_memalign version.
10014 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10015
f85fa270
L
100162012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10017
10018 [BZ #14166]
10019 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10020 to __redirect_strstr.
10021 (__strstr_sse42): Use typeof __redirect_strstr.
10022 (__strstr_ia32): Likewise.
10023 (__libc_strstr): New prototype.
10024 (strstr): Renamed to ...
10025 (__libc_strstr): This.
10026 (strstr): New strong alias of __libc_strstr.
10027 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10028 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10029 __redirect_time.
10030 Include <time.h>.
10031 (__libc_time): New prototype.
10032 (time_ifunc): Replace time with __libc_time.
10033 (time): New strong alias and hidden definition of __libc_time.
10034 (__GI_time): Remove strong alias.
10035 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10036 Include <stddef.h>.
10037 (memmove): Redefined to __redirect_memmove.
10038 (__memmove_sse2): Use typeof __redirect_memmove.
10039 (__memmove_ssse3): Likewise.
10040 (__memmove_ssse3_back): Likewise.
10041 (__libc_memmove): New prototype.
10042 (memmove): Renamed to ...
10043 (__libc_memmove): This.
10044 (memmove): New strong alias of __libc_memmove.
10045
33b4a91e
MS
100462012-08-08 Mark Salter <msalter@redhat.com>
10047
10048 * elf/elf.h
10049 (R_MN10300_TLS_GD): Define.
10050 (R_MN10300_TLS_LD): Likewise.
10051 (R_MN10300_TLS_LDO): Likewise.
10052 (R_MN10300_TLS_GOTIE): Likewise.
10053 (R_MN10300_TLS_IE): Likewise.
10054 (R_MN10300_TLS_LE): Likewise.
10055 (R_MN10300_TLS_DTPMOD): Likewise.
10056 (R_MN10300_TLS_DTPOFF): Likewise.
10057 (R_MN10300_TLS_TPOFF): Likewise.
10058 (R_MN10300_SYM_DIFF): Likewise.
10059 (R_MN10300_ALIGN): Likewise.
10060 (R_MN10300_NUM): Update.
10061
b36137f1
JM
100622012-08-08 Joseph Myers <joseph@codesourcery.com>
10063
10064 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10065 Remove.
10066
cdd915fd
RM
100672012-08-08 Roland McGrath <roland@hack.frob.com>
10068
a2433aac
RM
10069 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10070
cdd915fd
RM
10071 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10072 sysdeps/unix -> sysdeps/posix move.
10073 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10074
bf9b740a
AM
100752012-08-07 Allan McRae <allan@archlinux.org>
10076
10077 [BZ #14303]
10078 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10079 (SUNOS_CPP): Likewise.
10080 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10081 not found.
10082 (open_input): Call CPP using execvp.
10083
93df14ee
JM
100842012-08-07 Joseph Myers <joseph@codesourcery.com>
10085
10086 * sysdeps/unix/sysv/linux/kernel-features.h
10087 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10088 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10089 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10090 (__ASSUME_WAITID_SYSCALL): Likewise.
10091 * sysdeps/unix/sysv/linux/dl-execstack.c
10092 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10093 code unconditional.
10094 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10095 conditional code.
10096 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10097 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10098 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10099 code.
10100 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10101 unconditional.
10102 [__ASSUME_WAITID_SYSCALL]: Likewise.
10103 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10104
d34689de
RM
101052012-08-07 Roland McGrath <roland@hack.frob.com>
10106
a281decc
RM
10107 * sysdeps/unix/closedir.c: Renamed to ...
10108 * sysdeps/posix/closedir.c: ... here.
10109 * sysdeps/unix/dirfd.c: Renamed to ...
10110 * sysdeps/posix/dirfd.c: ... here.
10111 * sysdeps/unix/dirstream.h: Renamed to ...
10112 * sysdeps/posix/dirstream.h: ... here.
10113 * sysdeps/unix/fdopendir.c: Renamed to ...
10114 * sysdeps/posix/fdopendir.c: ... here.
10115 * sysdeps/unix/opendir.c: Renamed to ...
10116 * sysdeps/posix/opendir.c: ... here.
10117 * sysdeps/unix/readdir.c: Renamed to ...
10118 * sysdeps/posix/readdir.c: ... here.
10119 * sysdeps/unix/readdir_r.c: Renamed to ...
10120 * sysdeps/posix/readdir_r.c: ... here.
10121 * sysdeps/unix/rewinddir.c: Renamed to ...
10122 * sysdeps/posix/rewinddir.c: ... here.
10123 * sysdeps/unix/seekdir.c: Renamed to ...
10124 * sysdeps/posix/seekdir.c: ... here.
10125 * sysdeps/unix/telldir.c: Renamed to ...
10126 * sysdeps/posix/telldir.c: ... here.
10127 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10128 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10129 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10130 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10131
22895b47
RM
10132 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10133 * bits/fcntl.h: ... here.
10134
707a53b6
RM
10135 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10136 not 0.
10137 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10138 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10139 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10140 (struct flock): Move l_start, l_len to the beginning.
10141 Use __pid_t for l_pid.
10142 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10143 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10144 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10145 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10146 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10147 [__USE_LARGEFILE64] (struct flock64): New type.
10148 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10149
f0bd3e25
RM
10150 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10151 * bits/dirent.h: ... here.
10152
d34689de
RM
10153 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10154 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10155
6dad2c06
JM
101562012-08-07 Joseph Myers <joseph@codesourcery.com>
10157
10158 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10159 Change from 2.6.0 to 2.6.16.
10160 * sysdeps/unix/sysv/linux/configure: Regenerated.
10161 * sysdeps/unix/sysv/linux/kernel-features.h
10162 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10163 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10164 version.
10165 (__ASSUME_UTIMES): Likewise.
10166 (__ASSUME_CLONE_STOPPED): Remove.
10167 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10168 architectures, not kernel version.
10169 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10170 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10171 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10172 (__ASSUME_WAITID_SYSCALL): Likewise.
10173 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10174 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10175 * README: State 2.6.16 as minimum Linux kernel version. Do not
10176 refer to older versions.
10177
03af9520
RM
101782012-08-06 Roland McGrath <roland@hack.frob.com>
10179
8e49df1d
RM
10180 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10181 Define alphasort64 as an alias.
10182 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10183 Define versionsort64 as an alias.
10184 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10185 Define scandir64 as an alias.
10186 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10187 Define scandirat64 as an alias.
10188 * dirent/alphasort64.c (alphasort64):
10189 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10190 * dirent/versionsort64.c: Likewise.
10191 * dirent/scandir64.c: Likewise.
10192 * dirent/scandirat64.c: Likewise.
10193 * sysdeps/wordsize-64/alphasort.c: File removed.
10194 * sysdeps/wordsize-64/alphasort64.c: File removed.
10195 * sysdeps/wordsize-64/scandir.c: File removed.
10196 * sysdeps/wordsize-64/scandir64.c: File removed.
10197 * sysdeps/wordsize-64/scandirat.c: File removed.
10198 * sysdeps/wordsize-64/scandirat64.c: File removed.
10199 * sysdeps/wordsize-64/versionsort.c: File removed.
10200 * sysdeps/wordsize-64/versionsort64.c: File removed.
10201 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10202 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10203 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10204 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10205 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10206 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10207 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10208 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10209
10210 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10212 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10213 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10214 [defined __arch64__ || defined __sparcv9]
10215 (__INO_T_MATCHES_INO64_T): New macro.
10216 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10217 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10218 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10219 * sysdeps/unix/sysv/linux/bits/dirent.h
10220 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10221 (_DIRENT_MATCHES_DIRENT64): New macro.
10222
03af9520
RM
10223 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10224 Define lockf64 as an alias.
10225 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10226 Define fseeko64 as an alias.
10227 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10228 Define ftello64 as an alias.
10229 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10230 Define _IO_fgetpos64 and fgetpos64 as aliases.
10231 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10232 Define _IO_fsetpos64 and fsetpos64 as aliases.
10233 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10234 Conditionalize body on this.
10235 * libio/fseeko64.c: Likewise.
10236 * libio/ftello64.c: Likewise.
10237 * libio/iofgetpos64.c: Likewise.
10238 * libio/iofsetpos64.c: Likewise.
10239 * sysdeps/wordsize-64/lockf.c: File removed.
10240 * sysdeps/wordsize-64/lockf64.c: File removed.
10241 * sysdeps/wordsize-64/fseeko.c: File removed.
10242 * sysdeps/wordsize-64/fseeko64.c: File removed.
10243 * sysdeps/wordsize-64/ftello.c: File removed.
10244 * sysdeps/wordsize-64/ftello64.c: File removed.
10245 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10246 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10247 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10248 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10249 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10250 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10251 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10252 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10253 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10254 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10255 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10256 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10257 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10258 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10259
10260 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10261 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10262 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10263 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10264 [defined __arch64__ || defined __sparcv9]
10265 (__OFF_T_MATCHES_OFF64_T): New macro.
10266 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10267 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10269 (__OFF_T_MATCHES_OFF64_T): New macro.
10270
c5757acd
L
102712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10272
10273 * stdlib/secure-getenv.c (__secure_getenv): Replace
10274 GLIBC_2_16 with GLIBC_2_17.
10275
3a31811e
L
102762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10277
10278 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10279 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10280
faa2bccb
DM
102812012-08-03 David S. Miller <davem@davemloft.net>
10282
10283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10284
85fe1997
JM
102852012-08-03 Joseph Myers <joseph@codesourcery.com>
10286
10287 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10288 Remove.
10289 (__ASSUME_CORRECT_SI_PID): Likewise.
10290 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10291 (__ASSUME_TMPFS_NAME): Likewise.
10292 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10293 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10294 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10295 (HAVE_AUX_SECURE): Make definition unconditional.
10296 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10297 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10298
4f75b7a0
RM
102992012-08-03 Roland McGrath <roland@hack.frob.com>
10300
10301 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10302 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10303 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10304 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10305 __eloop_threshold instead of SYMLOOP_MAX.
10306
10307 * sysdeps/generic/eloop-threshold.h: New file.
10308 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10309 of MAXSYMLINKS.
10310 * elf/chroot_canon.c (chroot_canon): Likewise.
10311
7aab07e4
JM
103122012-08-03 Joseph Myers <joseph@codesourcery.com>
10313
10314 [BZ #13717]
10315 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10316 Change to 2.6.0 everywhere.
10317 * sysdeps/unix/sysv/linux/configure: Regenerated.
10318 * sysdeps/unix/sysv/linux/kernel-features.h
10319 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10320 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10321 kernel versions.
10322 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10323 (__ASSUME_FUTEX_REQUEUE): Remove.
10324 (__ASSUME_STATFS64): Define unconditionally.
10325 (__ASSUME_AT_SECURE): Likewise.
10326 (__ASSUME_CORRECT_SI_PID): Likewise.
10327 (__ASSUME_TGKILL): Define without depending on kernel version for
10328 i386.
10329 (__ASSUME_UTIMES): Likewise.
10330 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10331 kernel version.
10332 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10333 (__ASSUME_TMPFS_NAME): Likewise.
10334 * README: Update reference to Linux kernel versions.
10335
b67e9372
MP
103362012-08-02 Marek Polacek <polacek@redhat.com>
10337
1f529f7d 10338 [BZ# 14150]
b67e9372
MP
10339 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10340 libc_cv_asm_type_prefix with %.
10341 * configure: Regenerated.
d2441631
RM
10342 * include/libc-symbols.h: Remove comment about
10343 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10344 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10345 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10346 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10347 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10348 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10349 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10350 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10351 * elf/tst-unique2mod1.c: Likewise.
10352 * elf/tst-unique1mod2.c: Likewise.
10353 * elf/tst-unique1mod1.c: Likewise.
10354 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10355 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10356 Replace ASM_TYPE_DIRECTIVE with .type.
10357 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10358 * sysdeps/i386/sysdep.h: Likewise.
10359 * sysdeps/x86_64/sysdep.h: Likewise.
10360 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10362 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10363 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10364 * sysdeps/powerpc/powerpc32/sysdep.h:
10365 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10366 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10367 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10368 * sysdeps/i386/fpu/e_powf.S: Likewise.
10369 * sysdeps/i386/fpu/e_expl.S: Likewise.
10370 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10371 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10372 * sysdeps/i386/fpu/e_pow.S: Likewise.
10373 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10374 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10375 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10376 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10377 * sysdeps/i386/fpu/e_log2.S: Likewise.
10378 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10379 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10380 * sysdeps/i386/fpu/e_powl.S: Likewise.
10381 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10382 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10383 * sysdeps/i386/fpu/e_logl.S: Likewise.
10384 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10385 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10386 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10387 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10388 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10389 * sysdeps/i386/fpu/e_log.S: Likewise.
10390 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10391 * sysdeps/i386/fpu/e_logf.S: Likewise.
10392 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10393 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10394 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10395 * sysdeps/i386/fpu/e_log10.S: Likewise.
10396 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10397 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10398 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10399 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10400 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10401 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10402 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10403 * sysdeps/i386/i686/strtok.S: Likewise.
10404 * sysdeps/i386/i386-mcount.S: Likewise.
10405 * sysdeps/i386/strtok.S: Likewise.
10406 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10407 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10408 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10409 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10410 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10411 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10412 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10413 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10414 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10415 * sysdeps/x86_64/_mcount.S: Likewise.
10416 * sysdeps/x86_64/strtok.S: Likewise.
10417 * sysdeps/sh/_mcount.S: Likewise.
10418
2747bf9a
RM
104192012-08-01 Roland McGrath <roland@hack.frob.com>
10420
10421 * libio/iofopen.c: Include <fcntl.h>.
10422 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10423 (_IO_fopen64, fopen64): Define as aliases.
10424 * libio/iofopen64.c: Include <fcntl.h>.
10425 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10426 Conditionalize body on this.
10427 * sysdeps/wordsize-64/iofopen.c: File removed.
10428 * sysdeps/wordsize-64/iofopen64.c: File removed.
10429
3fb791b8
MP
104302012-08-01 Marek Polacek <polacek@redhat.com>
10431
10432 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10433 Use dlfcn directly instead of a variable.
10434 (binfmt-subdir): Do not define.
10435 (dlfcn): Likewise.
10436
a9f1039f
JM
104372012-08-01 Joseph Myers <joseph@codesourcery.com>
10438
23bddc06
JM
10439 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10440 Remove all definitions.
10441 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10442 <kernel-features.h>.
10443 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10444 (miss_F_GETOWN_EX): Remove all definitions.
10445 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10446 macro definition.
10447 [!__ASSUME_FCNTL64]: Remove conditional code.
10448 [__ASSUME_FCNTL64]: Make code unconditional.
10449 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10450 <kernel-features.h>.
10451 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10452 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10453 (lockf64) [__NR_fcntl64]: Make code unconditional.
10454 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10455
a9f1039f
JM
10456 * sysdeps/unix/sysv/linux/kernel-features.h
10457 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10458 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10459 Make code unconditional.
10460 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10461 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10463 [__NR_vfork]: Make code unconditional.
10464 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10465 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10467 [__NR_vfork]: Make code unconditional.
10468 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10469 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10470
09c0ee5f
RM
104712012-08-01 Roland McGrath <roland@hack.frob.com>
10472
48aec5b9
RM
10473 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10474 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10475
cd97c966
RM
10476 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10477 Define mkstemp64 as an alias.
3f55550c
RM
10478 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10479 Define mkstemps64 as an alias.
cd97c966
RM
10480 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10481 Define mkostemp64 as an alias.
b8625cfc
RM
10482 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10483 Define mkostemps64 as an alias.
cd97c966
RM
10484 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10485 Conditionalize body on this.
10486 * misc/mkostemp64.c: Likewise.
b8625cfc 10487 * misc/mkostemps64.c: Likewise.
3f55550c 10488 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10489 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10490 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10491 * sysdeps/wordsize-64/mkostemp.c: File removed.
10492 * sysdeps/wordsize-64/mkstemp.c: File removed.
10493 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10494 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10495 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10496 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10497
09c0ee5f
RM
10498 [BZ #14138]
10499 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10500 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10501 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10502 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10503
10504 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10505 compat_symbol macros from <shlib-compat.h> rather than the underlying
10506 default_symbol_version and symbol_version macros, so that DEFAULT
10507 lines in shlib-versions are respected.
10508 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10509
7e66ee51
FW
105102012-08-01 Florian Weimer <fweimer@redhat.com>
10511
10512 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10513 Declare with warn_unused_result.
10514 (setgid, setregid, setegid, setresgid): Likewise.
10515 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10516 Likewise.
10517 * WUR-REPORT: Remove set*id functions.
10518
d2a54255
PT
105192012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10520
10521 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10522
7ecdb005
RM
105232012-07-31 Roland McGrath <roland@hack.frob.com>
10524
789bd351
RM
10525 * include/sys/socket.h (__libc_accept, __libc_accept4):
10526 Add attribute_hidden.
10527 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10528
40ce302d
RM
10529 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10530 use of PTR_MANGLE.
10531 * inet/getnetgrent_r.c (setup): Likewise.
10532
7ecdb005
RM
10533 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10534
e2eabb2c
DM
105352012-07-31 David S. Miller <davem@davemloft.net>
10536
10537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10538
d0419dbf
JM
105392012-07-31 Joseph Myers <joseph@codesourcery.com>
10540
10541 [BZ #13629]
10542 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10543 value between 1.0 and 2.0 and smaller part has absolute value less
10544 than 1.0.
10545 * math/s_clog10.c (__clog10): Likewise.
10546 * math/s_clog10f.c (__clog10f): Likewise.
10547 * math/s_clog10l.c (__clog10l): Likewise.
10548 * math/s_clogf.c (__clogf): Likewise.
10549 * math/s_clogl.c (__clogl): Likewise.
10550 * math/libm-test.inc (clog_test): Add more tests.
10551 (clog10_test): Likewise.
10552 * sysdeps/i386/fpu/libm-test-ulps: Update.
10553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10554
2bc13872
FW
105552012-07-31 Florian Weimer <fweimer@redhat.com>
10556
10557 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10558 Exit with zero in case no suitable GID is found, and write a
10559 message to standard error.
10560
bea9b193
RM
105612012-07-30 Roland McGrath <roland@hack.frob.com>
10562
10563 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10564 rather than to 1.
10565 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10566 (MAXPATHLEN): Removed.
10567 (NOGROUP, NODEV): New macros.
10568 (setbit, clrbit, isset, isclr): New macros.
10569 (howmany, roundup, powerof2): New macros.
10570 (DEV_BSIZE): New macro.
10571
10572 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10573 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10574
10575 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10576 definition on [!__NO_LONG_DOUBLE_MATH].
10577
10578 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10579 PTR_MANGLE and PTR_DEMANGLE.
10580
10581 * socket/accept4.c (accept4): Rename to __libc_accept4.
10582 Define accept4 as a weak alias.
10583
10584 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10585 on [_DIRENT_HAVE_D_TYPE].
10586 * io/ftw.c (ftw_dir): Likewise.
10587
10588 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10589
10590 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10591
10592 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10593 Use the BSD numbers rather than the arbitrary ones we had.
10594 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10595 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10596 (SIGXCPU, SIGXFSZ): New macros.
10597 (_NSIG): Now 32.
10598
10599 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10600 initializer on [_LIBC_REENTRANT].
10601
10602 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10603 definitions inside [_POSIX_MAPPED_FILES].
10604
10605 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10606
10607 * dirent/opendir.c: Include <fcntl.h>.
10608
10609 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10610 (__libc_getspecific): Likewise.
10611 (__libc_key_create): Likewise.
10612
10613 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10614 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10615 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10616 (tmpfile64): Define as alias.
10617 * sysdeps/wordsize-64/tmpfile.c: File removed.
10618 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10619 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10620 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10621
10622 * stdio-common/vfscanf.c: Include <stdbool.h>.
10623 * nss/makedb.c: Likewise.
10624 * stdio-common/_i18n_number.h: Likewise.
10625 * argp/argp-help.c: Likewise.
10626 * posix/wordexp.c: Likewise.
10627 * sysdeps/posix/spawni.c: Likewise.
10628 * nss/nss_files/files-initgroups.c: Likewise.
10629 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10630 * nss/nss_files/files-initgroups.c: Likewise.
10631 * nss/nss_db/db-netgrp.c: Likewise.
10632 * nss/nss_db/db-initgroups.c: Likewise.
10633 * io/fchmodat.c: Include <sys/stat.h>.
10634
10635 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10636 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10637
10638 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10639 [HAVE_MMAP].
10640
10641 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10642 Add multiple inclusion protection.
10643
e5abc686
DM
106442012-07-27 David S. Miller <davem@davemloft.net>
10645
10646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10647
815e6fa3
GB
106482012-07-27 Gary Benson <gbenson@redhat.com>
10649
10650 [BZ #14298]
10651 * elf/rtld.c: Include <stap-probe.h>.
10652 (dl_main): Added static probes "init_start" and "init_complete".
10653 * elf/dl-load.c: Include <stap-probe.h>.
10654 (lose): Take new parameter "nsid".
10655 Added static probe "map_failed".
10656 (_dl_map_object_from_fd): Pass namespace id to lose.
10657 Added static probe "map_start".
10658 (open_verify): Pass namespace id to lose.
10659 * elf/dl-open.c: Include <stap-probe.h>.
10660 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10661 and "reloc_complete".
10662 * elf/dl-close.c: Include <stap-probe.h>.
10663 (_dl_close_worker): Added static probes "unmap_start" and
10664 "unmap_complete".
10665 * elf/rtld-debugger-interface.txt: New file documenting the above.
10666
9f98c16c
RM
106672012-07-26 Roland McGrath <roland@hack.frob.com>
10668
10669 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10670 rather than a string variable.
10671 * sunrpc/rpc_main.c (h_output): Likewise.
10672 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10673
f3c22df3
PT
106742012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10675
10676 * inet/check_native.c: New file.
10677
3129cfc6
JM
106782012-07-26 Joseph Myers <joseph@codesourcery.com>
10679
da865e95
JM
10680 [BZ #13629]
10681 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10682 if larger part has absolute value 1.0.
10683 * math/s_clog10.c (__clog10): Likewise.
10684 * math/s_clog10f.c (__clog10f): Likewise.
10685 * math/s_clog10l.c (__clog10l): Likewise.
10686 * math/s_clogf.c (__clogf): Likewise.
10687 * math/s_clogl.c (__clogl): Likewise.
10688 * math/libm-test.inc (clog_test): Add more tests.
10689 (clog10_test): Likewise.
10690 * sysdeps/i386/fpu/libm-test-ulps: Update.
10691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10692
3129cfc6
JM
10693 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10694 (pltexit): Likewise.
10695 (La_regs): Likewise.
10696 (La_retval): Likewise.
10697 (int_retval): Likewise.
10698 Update #error for removed macros to refer only to definitions in
10699 tst-audit.h.
10700 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10701 macro.
10702 (pltexit): Likewise.
10703 (La_regs): Likewise.
10704 (La_retval): Likewise.
10705 (int_retval): Likewise.
10706 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10707 macro.
10708 (pltexit): Likewise.
10709 (La_regs): Likewise.
10710 (La_retval): Likewise.
10711 (int_retval): Likewise.
10712 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10713 macro.
10714 (pltexit): Likewise.
10715 (La_regs): Likewise.
10716 (La_retval): Likewise.
10717 (int_retval): Likewise.
10718 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10719 macro.
10720 (pltexit): Likewise.
10721 (La_regs): Likewise.
10722 (La_retval): Likewise.
10723 (int_retval): Likewise.
10724 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10725 macro.
10726 (pltexit): Likewise.
10727 (La_regs): Likewise.
10728 (La_retval): Likewise.
10729 (int_retval): Likewise.
10730 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10731 macro.
10732 (pltexit): Likewise.
10733 (La_regs): Likewise.
10734 (La_retval): Likewise.
10735 (int_retval): Likewise.
10736 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10737 macro definitions in tst-audit.h.
10738 * sysdeps/i386/tst-audit.h: New file.
10739 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10740 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10741 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10742 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10743 * sysdeps/sh/tst-audit.h: Likewise.
10744 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10745 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10746 * sysdeps/x86_64/tst-audit.h: Likewise.
10747
bfc07087
AJ
107482012-07-26 Andreas Jaeger <aj@suse.de>
10749
b1b2aaf8
AJ
10750 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10751 ptrace.
10752
10753 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10754 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10755 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10756 PTRACE_O_MASK.
10757 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10758 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10759 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10760
bfc07087
AJ
10761 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10762 value.
10763
10764 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10765 _sigsys.
10766 (si_call_addr, si_syscall, si_arch): Define new macro.
10767 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10768 _sigsys.
10769 (si_call_addr, si_syscall, si_arch): Define new marcro.
10770 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10771 _sigsys.
10772 (si_call_addr, si_syscall, si_arch): Define new macro.
10773 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10774 _sigsys.
10775 (si_call_addr, si_syscall, si_arch): Define new macro.
10776
89b4b02f
JM
107772012-07-25 Joseph Myers <joseph@codesourcery.com>
10778
10779 [BZ #13717]
10780 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10781 Change to 2.4.21 where previously 2.4.1.
10782 * sysdeps/unix/sysv/linux/configure: Regenerated.
10783 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10784 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10785 Linux kernel version.
10786 (__ASSUME_STD_AUXV): Remove.
10787 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10788 kernel version.
10789 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10790 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10791 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10792 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10793 (__ASSUME_NETLINK_SUPPORT): Likewise.
10794 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10795 (__no_netlink_support): Remove conditional definition.
10796 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10797 Remove.
10798 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10799 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10800 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10801 (if_nameindex_ioctl): Remove.
10802 (if_nameindex_netlink): Do not handle __no_netlink_support.
10803 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10804 code.
10805 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10806 Remove conditional code.
10807 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10808 code.
10809 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10810 unconditional.
10811 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10812 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10813 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10814 Remove.
10815 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10816 [!__ASSUME_STD_AUXV]: Remove conditional code.
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10818 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10819 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10821 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10822 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10823 code.
10824 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10826 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10827 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10828 conditional code.
10829 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10831 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10832 code.
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10834 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10835 conditional code.
10836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10837 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10838 code unconditional.
10839 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10840 conditional code.
10841 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10842 unconditional.
10843 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10844 conditional code.
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10846 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10847 unconditional.
10848 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10849 conditional code.
10850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10851 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10852 code unconditional.
10853 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10854 conditional code.
10855 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10856 unconditional.
10857 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10858 conditional code.
10859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10860 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10861 code unconditional.
10862 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10863 conditional code.
10864 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10865 unconditional.
10866 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10867 conditional code.
10868
842a39cd
AS
108692012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10870
10871 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10872 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10873 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10874 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10875 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10876 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10877 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10878 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10879 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10880 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10881 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10882 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10883 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10884 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10885 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10886 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10887 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10888 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10889 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10891 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10892 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10893 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10894
84b3fd84
FW
108952012-07-25 Florian Weimer <fweimer@redhat.com>
10896
10897 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10898 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10899 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10900 Introduce __libc_secure_getenv.
0c7936d5
FW
10901 * stdlib/Versions (2.17): Add secure_getenv
10902 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10903 * stdlib/secure-getenv.c: Rename __secure_getenv to
10904 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10905 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10906 * stdlib/tst-secure-getenv.c: New.
10907 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10908 * manual/startup.texi (Environment Access): Document
10909 secure_getenv.
84b3fd84
FW
10910 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10911 __libc_secure_getenv.
10912 * inet/ruserpass.c (ruserpass): Likewise.
10913 * malloc/mtrace.c (mtrace): Likewise.
10914 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10915 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10916 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10917 * sysdeps/posix/tempname.c: Likewise. Evaluate
10918 HAVE_SECURE_GETENV.
10919 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10920 __secure_getenv to __libc_secure_getenv.
84b3fd84 10921 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10923 Likewise.
10924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10925 Likewise.
10926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10933
56e49b71
JM
109342012-07-25 Joseph Myers <joseph@codesourcery.com>
10935
10936 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10937 (struct La_i86_retval): Likewise.
10938 (struct La_x86_64_regs): Likewise.
10939 (struct La_x86_64_retval): Likewise.
10940 (struct La_x32_regs): Likewise.
10941 (struct La_x32_retval): Likewise.
10942 (struct La_ppc32_regs): Likewise.
10943 (struct La_ppc32_retval): Likewise.
10944 (struct La_ppc64_regs): Likewise.
10945 (struct La_ppc64_retval): Likewise.
10946 (struct La_sh_regs): Likewise.
10947 (struct La_sh_retval): Likewise.
10948 (struct La_s390_32_regs): Likewise.
10949 (struct La_s390_32_retval): Likewise.
10950 (struct La_s390_64_regs): Likewise.
10951 (struct La_s390_64_retval): Likewise.
10952 (struct La_sparc32_regs): Likewise.
10953 (struct La_sparc32_retval): Likewise.
10954 (struct La_sparc64_regs): Likewise.
10955 (struct La_sparc64_retval): Likewise.
10956 (struct audit_ifaces): Remove architecture-specific pltenter and
10957 pltexit members.
10958 * sysdeps/i386/ldsodefs.h: New file.
10959 * sysdeps/powerpc/ldsodefs.h: Likewise.
10960 * sysdeps/s390/ldsodefs.h: Likewise.
10961 * sysdeps/sh/ldsodefs.h: Likewise.
10962 * sysdeps/sparc/ldsodefs.h: Likewise.
10963 * sysdeps/x86_64/ldsodefs.h: Likewise.
10964
354691b7
MP
109652012-07-25 Marek Polacek <polacek@redhat.com>
10966
10967 [BZ #6808]
10968 * math/libm-test.inc (yn_test): Add another test.
10969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10970 to ERANGE when the result is +-Inf.
10971 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10972 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10973 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10974 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10975
bf9e2071
JM
109762012-07-24 Joseph Myers <joseph@codesourcery.com>
10977
10978 * conform/data/time.h-data (NULL): Use macro-constant. Require
10979 equal to 0.
10980 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10981 clock_t.
10982 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10983
57633811
TS
109842012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10985
10986 * configure.in <sysdeps resolving>: Correct printing
10987 Implies_before.
10988 * configure: Regenerate.
10989
c23c33b0
TS
109902012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10991
10992 * math/w_ilogb.c: Include <limits.h>.
10993 * math/w_ilogbl.c: Likewise.
10994
b5982523
JM
109952012-07-20 Joseph Myers <joseph@codesourcery.com>
10996
10997 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10998 va_copy. Document allowing for unavailable va_copy only as
10999 pre-C99 compatibility.
11000 * manual/string.texi (Copying and Concatenation): Use va_copy
11001 instead of __va_copy in concat example.
11002
ac4ea442
PT
110032012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11004
11005 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11006 (__sendto): Use create_address_port. Initialize APORT and deallocate
11007 it if not null.
11008
f98eafbd
PT
11009 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11010 with O_NOLINK passed to __file_name_lookup.
11011
898c7aab
PT
11012 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11013 with O_NOLINK passed to __file_name_lookup.
11014
0ced335a
PT
11015 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11016 negative N or less than NGIDS.
11017
b3404dbd
PT
11018 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11019 type to string_t. Set ERANGE as errno and return it if NAME is not big
11020 enough. Use memcpy instead of strncpy.
11021
0f48659e
JM
110222012-07-20 Joseph Myers <joseph@codesourcery.com>
11023
11024 * elf/Makefile (check-data): Remove.
11025 (localplt.data): New vpath directive.
11026 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11027 instead of $(check-data).
11028 * scripts/data/localplt-generic.data: Move to ...
11029 * sysdeps/generic/localplt.data: ... here.
11030 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11031 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11032 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11034 ... here.
11035 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11037 ... here.
11038 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11040 ... here.
11041 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11043 ... here.
11044 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11046 ... here.
11047 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11049 ... here.
11050
d37cbdaa
AZ
110512012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11052
11053 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11054 PPC32 and PPC64 files.
11055 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11056 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11057
46f85fc2
AK
110582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11059
11060 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11061 __makecontext_ret to ...
11062 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11063 ... here and call exit if uc_link is NULL. New file.
11064 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11065 __makecontext_ret.S.
11066 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11067 __makecontext_ret to ...
11068 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11069 ... here and call exit if uc_link is NULL. New file.
11070 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11071 __makecontext_ret.S.
11072
08f43f9b
AK
110732012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11074
11075 * elf/elf.h (R_390_IRELATIVE): New definition.
11076 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11077 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11078 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11079 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11080 (elf_machine_lazy_rel): Likewise.
11081 * sysdeps/s390/dl-irel.h: New file.
11082 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11083 * sysdeps/s390/s390-64/memset.S: New asm code.
11084 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11085 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11086 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11087 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11088 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11089 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11090 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11091 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11092 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11093 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11094 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11095 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11096 * sysdeps/s390/s390-32/memset.S: New asm code.
11097 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11098
3b05db33
MP
110992012-07-17 Marek Polacek <polacek@redhat.com>
11100
11101 [BZ #14349]
11102 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11103 * sysdeps/s390/s390-64/configure.in: Likewise.
11104 * sysdeps/sparc/configure.in: Likewise.
11105 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11106 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11107 * sysdeps/i386/configure.in: Likewise.
11108 * sysdeps/x86_64/configure.in: Likewise.
11109 * sysdeps/sh/configure.in: Likewise.
11110 * sysdeps/s390/s390-32/configure: Regenerated.
11111 * sysdeps/s390/s390-64/configure: Likewise.
11112 * sysdeps/x86_64/configure: Likewise.
11113 * sysdeps/sh/configure: Likewise.
11114 * sysdeps/powerpc/powerpc64/configure: Likewise.
11115 * sysdeps/powerpc/powerpc32/configure: Likewise.
11116 * sysdeps/sparc/configure: Likwise.
11117 * sysdeps/i386/configure: Likewise.
11118
a66877c6
MP
11119 * elf/dl-open.c: Comment fixes.
11120
cfc82fd8
JM
111212012-07-17 Joseph Myers <joseph@codesourcery.com>
11122
bd29910a
JM
11123 * Makefile [CXX] (check-data): Remove.
11124 [CXX] (c++-types.data): New vpath directive.
11125 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11126 vpath. Do not allow for C++ type data being missing.
11127 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11128 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11129 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11130 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11131 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11132 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11133 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11135 ... here.
11136 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11138 ... here.
11139 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11141 ... here.
11142 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11144 ... here.
11145 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11147 ... here.
11148 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11150 ... here.
11151 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11153 ... here.
11154 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11156
cfc82fd8
JM
11157 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11158 definitions to architecture-specific files.
11159 (TLS_IE): Likewise.
11160 (TLS_LD): Likewise.
11161 (TLS_GD): Likewise.
11162 * sysdeps/i386/tls-macros.h: New file.
11163 * sysdeps/powerpc/tls-macros.h: Likewise.
11164 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11165 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11166 * sysdeps/sh/tls-macros.h: Likewise.
11167 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11168 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11169 * sysdeps/x86_64/tls-macros.h: Likewise.
11170
f7db3170
TS
111712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11172
07cbfc23
TS
11173 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11174 zero value for regular exit case.
11175
f7db3170
TS
11176 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11177 (__start_context): Preserve zero value for regular exit case.
11178
dc97c227
TS
111792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11180 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11181
11182 * manual/setjmp.texi (setcontext): Clarify normal process
11183 termination when uc_link is the null pointer.
11184 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11185 exit call.
11186
d0cd7d02
AS
111872012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11188
11189 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11190 preprocessor. Test for each exception mask separately.
11191
dd318934
AJ
111922012-07-16 Andreas Jaeger <aj@suse.de>
11193
11194 * po/ru.po: Update from translation team.
11195
8048311a
JM
111962012-07-15 Joseph Myers <joseph@codesourcery.com>
11197
11198 * conform/data/string.h-data (NULL): Use macro-constant. Require
11199 equal to 0.
11200 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11201 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11202 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11203 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11205
b637d46e
AJ
112062012-07-13 Andreas Jaeger <aj@suse.de>
11207
11208 * po/fr.po: Update from translation team.
11209
541428fe
MP
112102012-07-12 Marek Polacek <polacek@redhat.com>
11211
11212 [BZ #14173]
11213 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11214 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11215 loop condition.
11216
ec332e94
JM
112172012-07-12 Joseph Myers <joseph@codesourcery.com>
11218
11219 [BZ #13717]
11220 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11221 Change to 2.4.1 where previously 2.4.0.
11222 * sysdeps/unix/sysv/linux/configure: Regenerated.
11223 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11224 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11225 version.
11226 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11227 (__ASSUME_AT_CLKTCK): Remove.
11228 (__ASSUME_AT_PAGESIZE): Likewise.
11229 (__ASSUME_AT_XID): Likewise.
11230 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11231 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11232 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11233 unconditionally.
11234 (HAVE_AUX_PAGESIZE): Likewise.
11235 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11236 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11237 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11238
7b6e99be
JB
112392012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11240
11241 [BZ #14307]
11242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11243 the temporary buffer used to invoke __gethostbyname2_r,
11244 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11245 host_data / struct gaih_addrtuple.
11246 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11247 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11248 header file nss/nsswitch.h.
11249 * nss/nsswitch.h (global scope): Add definition of implementation
11250 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11251 resolv/nss_dns/dns-host.c).
11252
608404eb
AJ
112532012-07-11 Andreas Jaeger <aj@suse.de>
11254
11255 * po/fr.po: Update from translation team.
11256
71220aca
AJ
11257 * po/sv.po: Update from translation team
11258 * po/fr.po: Another update from translation team.
11259
28cfe843
AZ
112602012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11261
11262 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11263 for subnormals or multiply small sinh result by itself.
11264 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11266
6b90f981
DM
112672012-07-11 David S. Miller <davem@davemloft.net>
11268
11269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11270
c6825772
AS
112712012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11272
11273 [BZ #14347]
11274 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11275 (INTERNAL_MARK): Shift it here.
11276
7b8e0d49
MP
112772012-07-10 Marek Polacek <polacek@redhat.com>
11278
11279 [BZ #14151]
11280 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11281 libc_cv_asm_global_directive with .globl.
11282 * configure: Regenerated.
11283 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11284 with .globl.
11285 * sysdeps/i386/configure: Regenerated.
11286 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11287 with .globl.
11288 * sysdeps/x86_64/configure: Regenerated.
11289 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11290 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11291 * elf/tst-unique2mod2.c: Likewise.
11292 * elf/tst-unique2mod1.c: Likewise.
11293 * elf/tst-unique1mod2.c: Likewise.
11294 * elf/tst-unique1mod1.c: Likewise.
11295 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11296 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11297 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11298 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11299 * sysdeps/mach/sysdep.h: Likewise.
11300 * sysdeps/i386/sysdep.h: Likewise.
11301 * sysdeps/i386/i386-mcount.S: Likewise.
11302 * sysdeps/x86_64/_mcount.S: Likewise.
11303 * sysdeps/x86_64/sysdep.h: Likewise.
11304 * sysdeps/sh/_mcount.S: Likewise.
11305 * sysdeps/sh/sysdep.h: Likewise.
11306 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11307 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11308 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11309 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11310 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11311 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11312 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11313 * locale/localeinfo.h: Likewise.
11314 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11315 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11316
6c55cda3
RM
113172012-07-09 Roland McGrath <roland@hack.frob.com>
11318
11319 [BZ #14336]
11320 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11321 system".
11322 * manual/message.texi (The Uniforum approach): Likewise.
11323 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11324 (glibc iconv Implementation): Likewise.
11325
638a572e
JM
113262012-07-09 Joseph Myers <joseph@codesourcery.com>
11327
11328 [BZ #14337]
11329 * math/s_clog.c (__clog): Avoid scaling a value down where that
11330 could result in underflow.
11331 * math/s_clog10.c (__clog10): Likewise.
11332 * math/s_clog10f.c (__clog10f): Likewise.
11333 * math/s_clog10l.c (__clog10l): Likewise.
11334 * math/s_clogf.c (__clogf): Likewise.
11335 * math/s_clogl.c (__clogl): Likewise.
11336 * math/libm-test.inc (clog_test): Add more tests.
11337 (clog10_test): Likewise.
11338 * sysdeps/i386/fpu/libm-test-ulps: Update.
11339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11340
261f4859
AS
113412012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11342
0abaf3e4
AS
11343 [BZ #14283]
11344 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11345 by 7 not 8 to examine high bit of fractional part.
11346
261f4859
AS
11347 [BZ #14042]
11348 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11349 for call to __mcount_internal.
11350 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11351 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11352 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11353
f17ac40d
JM
113542012-07-06 Joseph Myers <joseph@codesourcery.com>
11355
9ad63c23
JM
11356 [BZ #14154]
11357 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11358 approximation for values within 0x1p-13f of an odd multiple of
11359 pi/4.
11360 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11361 exception. Add more tests.
11362 * sysdeps/i386/fpu/libm-test-ulps: Update.
11363
f17ac40d
JM
11364 [BZ #6778]
11365 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11366 inputs and return -1 for them. Do not check for +Inf in case not
11367 reachable for +Inf.
11368 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11369 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11370 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11371 and return -1 for them. Do not check for +Inf in case not
11372 reachable for +Inf.
11373 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11374 define.
11375 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11376 and return -1 for them. Do not check for +Inf in case not
11377 reachable for +Inf.
11378 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11379 spurious underflow.
11380 * sysdeps/i386/fpu/libm-test-ulps: Update.
11381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11382
fb21f89b
MF
113832012-07-06 Mike Frysinger <vapier@gentoo.org>
11384
11385 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11386
cdfe2c5e
JM
113872012-07-05 Joseph Myers <joseph@codesourcery.com>
11388
11389 [BZ #14157]
11390 [BZ #14331]
11391 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11392 could result in spurious underflow. Scale down values above
11393 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11394 * math/s_csqrtf.c (__csqrtf): Likewise.
11395 * math/s_csqrtl.c (__csqrtl): Likewise.
11396 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11397 spurious underflow.
11398 * sysdeps/i386/fpu/libm-test-ulps: Update.
11399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11400
70d35b67
AS
114012012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11402
704bc459
AS
11403 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11404 xopen-msg.sed.
11405 * catgets/xopen-msg.awk: New file.
11406 * catgets/xopen-msg.sed: Removed.
11407
70d35b67
AS
11408 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11409 po2text.sed.
11410 * intl/po2test.awk: New file.
11411 * intl/po2test.sed: Removed.
11412
ca61cf32
JM
114132012-07-04 Joseph Myers <joseph@codesourcery.com>
11414
11415 [BZ #14328]
11416 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11417 or multiply small sinh result by itself.
11418 * math/s_ctanf.c (__ctanf): Likewise.
11419 * math/s_ctanh.c (__ctanh): Likewise.
11420 * math/s_ctanhf.c (__ctanhf): Likewise.
11421 * math/s_ctanhl.c (__ctanhl): Likewise.
11422 * math/s_ctanl.c (__ctanl): Likewise.
11423 * math/libm-test.inc (ctan_test_tonearest): New function.
11424 (ctan_test_towardzero): Likewise.
11425 (ctan_test_downward): Likewise.
11426 (ctan_test_upward): Likewise.
11427 (ctanh_test_tonearest): Likewise.
11428 (ctanh_test_towardzero): Likewise.
11429 (ctanh_test_downward): Likewise.
11430 (ctanh_test_upward): Likewise.
11431 (main): Call these new functions.
11432 * sysdeps/i386/fpu/libm-test-ulps: Update.
11433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11434
ca48a46a
MF
114352012-07-03 Mike Frysinger <vapier@gentoo.org>
11436
11437 * .gitignore: Delete /ports entry.
11438
9d63d37d
AJ
114392012-07-03 Andreas Jaeger <aj@suse.de>
11440
11441 * po/bg.po: Update from translation team.
11442 * po/cs.po: Likewise.
11443 * po/de.po: Likewise.
11444 * po/hr.po: Likewise.
11445 * po/nl.pl: Likewise.
11446 * po/pl.po: Likewise.
11447 * po/vi.po: Likewise.
11448
370ca3d2
JM
114492012-07-03 Joseph Myers <joseph@codesourcery.com>
11450
95f5a9a8
JM
11451 * Makeconfig [!+link] (+link-before-libc): New variable.
11452 [!+link] (+link-after-libc): Likewise.
11453 [!+link] (+link-tests): Likewise.
11454 [!+link] (+link): Define in terms of $(+link-before-libc) and
11455 $(+link-after-libc).
11456 [!+link-static] (+link-static-before-libc): New variable.
11457 [!+link-static] (+link-static-after-libc): Likewise.
11458 [!+link-static] (+link-static-tests): Likewise.
11459 [!+link-static] (+link-static): Define in terms of
11460 $(+link-static-before-libc) and $(+link-static-after-libc).
11461 [build-shared] (link-libc-before-gnulib): New variable.
11462 [build-shared] (link-libc-tests): Likewise.
11463 [build-shared] (link-libc): Define in terms of
11464 $(link-libc-before-gnulib).
11465 [!build-shared] (link-libc-tests): New variable.
11466 (link-libc-static-tests): New variable.
11467 [!gnulib] (gnulib-arch): New variable.
11468 [!gnulib] (gnulib-tests): Likewise.
11469 [!gnulib] (static-gnulib-arch): Likewise.
11470 [!gnulib] (static-gnulib-tests): Likewise.
11471 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11472 Define with "=" instead of ":=".
11473 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11474 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11475 * Rules (binaries-all-notests): New variable.
11476 (binaries-all-tests): Likewise.
11477 (binaries-static-notests): Likewise.
11478 (binaries-static-tests): Likewise.
11479 (binaries-all): Define using $(binaries-all-notests) and
11480 $(binaries-all-tests).
11481 (binaries-static): Define using $(binaries-static-notests) and
11482 $(binaries-static-tests).
11483 (binaries-shared-tests): New variable.
11484 (binaries-shared-notests): Likewise.
11485 (binaries-shared): Remove variable.
11486 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11487 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11488 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11489 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11490 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11491 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11492 * elf/Makefile (sln-modules): New variable.
11493 (extra-objs): Add $(sln-modules:=.o).
11494 (ldconfig-modules): Add static-stubs.
11495 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11496 * elf/static-stubs.c: New file.
11497
7a845b2c
JM
11498 [BZ #14283]
11499 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11500 by 7 not 8 to examine high bit of fractional part. Use volatile
11501 variables when splitting into final array of floats if
11502 __FLT_EVAL_METHOD__ != 0.
11503 * math/libm-test.inc (cos_test): Add another test.
11504 (sin_test): Likewise.
11505 * sysdeps/i386/fpu/libm-test-ulps: Update.
11506
e2283f38
JM
11507 [BZ #14273]
11508 * math/libm-test.inc (cosh_test): Add more tests.
11509
370ca3d2
JM
11510 * version.h (RELEASE): Set to "development".
11511 (VERSION): Set to "2.16.90".
11512
ee9247c3
CD
115132012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11514
11515 * NEWS: Update copyright. Remove last-updated date.
11516 Mention math library bug fixes and timezone data changes.
11517 * README: Mention GNU/Hurd, x32, and HPPA support status.
11518
4648c381
TS
115192012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11520
11521 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11522
aac78a43
AJ
115232012-06-27 Andreas Jaeger <aj@suse.de>
11524
11525 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11526
ed3dbfad
AJ
115272012-06-25 Andreas Jaeger <aj@suse.de>
11528
11529 * sysdeps/s390/fpu/libm-test-ulps: Update.
11530
4d0ee855
AS
115312012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11532 Thomas Schwinge <thomas@codesourcery.com>
11533
11534 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11535 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11536 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11537 fanotify_mark.
11538
af1bce34
TS
115392012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11540
a9fa33ba
TS
11541 * sysdeps/mach/start.c: Remove file.
11542 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11543 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11544 * sysdeps/sh/init-first.c: Likewise.
11545
58f902b8
TS
11546 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11547 registers for frame unwinding purposes, add CFI directives.
11548 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11549 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11550 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11551 Likewise.
11552
1518f58b
TS
11553 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11554 __fortify_fail returning.
11555 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11556
db9b5059
TS
11557 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11558 sysdeps/sh/____longjmp_chk.S.
11559 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11560 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11561 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11562 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11563
967705fe
TS
11564 * sysdeps/sh/abort-instr.h: New file.
11565 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11566 process in case exit returns.
11567
a9def8c4
TS
11568 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11569 initialize the GOT register before use.
11570
2a649725
TS
11571 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11572 calculation of ARGC > 4.
11573
af1bce34
TS
11574 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11575 meaningful names to some local labels.
11576
d230f50a
KK
115772012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11578 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11579
11580 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11581 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11582 (__arch_compare_and_exchange_val_16_acq): Likewise.
11583 (__arch_compare_and_exchange_val_32_acq): Likewise.
11584 (atomic_exchange_and_add): Fix gUSA sequence.
11585 (atomic_add): Likewise.
11586 (atomic_add_negative): Likewise.
11587 (atomic_add_zero): Likewise.
11588 (atomic_bit_test_set): Likewise.
11589
0479b305
AS
115902012-06-22 Andreas Schwab <schwab@redhat.com>
11591
11592 [BZ #13579]
11593 * include/link.h (struct link_map): Add l_free_initfini.
11594 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11595 l_initfini.
11596 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11597 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11598 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11599 set.
11600
0e3933b9
CD
116012012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11602
11603 * configure.in: Use AC_LANG_SOURCE.
11604 * configure: Regenerate.
11605
4248b1b1
RM
116062012-06-22 Roland McGrath <roland@hack.frob.com>
11607
11608 * configure.in (libc_cv_localstatedir): New substituted variable.
11609 * configure: Regenerated.
11610 * config.make.in (localstatedir): New variable, substituted from
11611 libc_cv_localstatedir.
11612 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11613 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11614 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11615 * sysdeps/gnu/configure: Regenerated.
11616
006dd861
JL
116172012-06-21 Jeff Law <law@redhat.com>
11618
11619 [BZ #14277]
11620 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11621 free. Simplify list management for _LIBC case.
11622
79662d42
JM
116232012-06-21 Joseph Myers <joseph@codesourcery.com>
11624
b7abb4bf
JM
11625 [BZ #14273]
11626 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11627 Clear sign bit of 64-bit integer value before comparing against
11628 overflow value.
11629
79662d42
JM
11630 * sysdeps/mach/configure: Regenerated.
11631
1f150908
L
116322012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11633
11634 [BZ #14278]
11635 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11636
28363bbf
JL
116372012-06-21 Jeff Law <law@redhat.com>
11638
11639 [BZ #13882]
11640 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11641 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11642 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11643 * elf/dl-open.c (dl_open_worker): Likewise.
11644
09615db4
CD
116452012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11646
11647 * scripts/list-sources.sh: Scan PORTS for translations.
11648 * po/libc.pot: Regenerated.
11649
2174c6dd
AJ
116502012-06-21 Andreas Jaeger <aj@suse.de>
11651
11652 [BZ #12194]
11653 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11654 warning.
11655 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11656 * bits/byteswap-16.h (__bswap_16): Likewise.
11657 * bits/byteswap.h (__bswap_constant_16): Likewise.
11658
3ee947b1
L
116592012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11660
11661 [BZ #14117]
a2f34833
L
11662 * sysdeps/i386/fpu_control.h: Removed.
11663 * sysdeps/x86_64/fpu_control.h: Moved to ...
11664 * sysdeps/x86/fpu_control.h: Here.
11665
3ee947b1
L
11666 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11667 (_FPU_SETCW): Likewise.
11668
ed1825f8
L
116692012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11670
25f1282a
L
11671 [BZ #14117]
11672 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11673 * sysdeps/x86/fpu/bits/mathinline.h: This.
11674 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11675
ed1825f8
L
11676 [BZ #14050]
11677 [BZ #14117]
11678 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11679 functions if __x86_64__ is defined.
11680
36d54b74
CLT
116812012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11682
11683 * string/endian.h: Add !__ASSEMBLER__ condition for including
11684 conversion interfaces.
11685
10285c21
JM
116862012-06-15 Joseph Myers <joseph@codesourcery.com>
11687
11688 [BZ #14241]
11689 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11690 of ABS(x) in calculating zero to negative powers other than odd
11691 integers.
11692 * math/libm-test.inc (pow_test): Add more tests.
11693
06c5abbd
AJ
116942012-06-15 Andreas Jaeger <aj@suse.de>
11695
11696 * manual/contrib.texi (Contributors): Update entry of Liubov
11697 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11698 Machado Filho.
11699
a3aeac40
CH
117002012-06-15 Cyril Hrubis <metan@ucw.cz>
11701
11702 * string/string.h: Add __wur to GNU version of strerror_r.
11703
49bdf4c1
L
117042012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11705
11706 [BZ #14229]
11707 * string/Makefile (tests): Add tst-strtok_r.
11708 * string/tst-strtok_r.c: New file.
11709 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11710 RAX_LP/RDX_LP on SAVE_PTR.
11711
834f9b8d
RM
117122012-06-14 Roland McGrath <roland@hack.frob.com>
11713
11714 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11715
75fa1921
JM
117162012-06-14 Joseph Myers <joseph@codesourcery.com>
11717
11718 * libm_test.inc (csqrt_test): Allow more spurious underflow
11719 exceptions.
11720 (j0_test): Likewise.
11721 (j1_test): Likewise.
11722 (y0_test): Likewise.
11723 (y1_test): Likewise.
11724
771766df
CD
117252012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11726
11727 * po/Makefile (libc.pot): Use UTF-8 charset.
11728
ceb9e56b
PP
117292012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11730
11731 [BZ #14210]
11732 Suppress sign-conversion warning from FD_SET.
11733 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11734 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11735 not unsigned long int.
11736 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11737
ddb28975
L
117382012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11739
11740 [BZ #14050]
11741 [BZ #14117]
11742 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11743 __extern_always_inline instead of __extern_inline.
11744 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11745 (__signbit): Likewise.
11746 (__signbitl): Support C++ namespace.
11747 (lrintf): New inline function.
11748 (lrint): Likewise.
11749 (llrintf): Likewise.
11750 (llrint): Likewise.
11751 (fmaxf): Likewise.
11752 (fmax): Likewise.
11753 (fminf): Likewise.
11754 (fmin): Likewise.
11755 (rint): Likewise.
11756 (rintf): Likewise.
11757 (ceil): Likewise.
11758 (ceilf): Likewise.
11759 (floor): Likewise.
11760 (floorf): Likewise.
11761 (nearbyint): Likewise.
11762 (nearbyintf): Likewise.
11763
d7b4fb26
TS
117642012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11765
11766 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11767 non-default versions.
11768
eb55f5c2
RM
117692012-06-11 Roland McGrath <roland@hack.frob.com>
11770
11771 [BZ #14218]
11772 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11773
366af02c
TS
117742012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11775
99ff6e5c
TS
11776 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11777 (FE_UPWARD, FE_DOWNWARD): Don't define.
11778 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11779 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11780
366af02c
TS
11781 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11782 reading it.
11783 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11784 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11785
793ea851
KK
117862012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11787
11788 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11790 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11791 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11792
a728a38f
L
117932012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11794
11795 [BZ #14117]
c08010c7
L
11796 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11797 * sysdeps/i386/fpu/Implies: New file.
11798 * sysdeps/x86_64/fpu/Implies: Likewise.
11799 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11800 * sysdeps/x86/fpu/bits/fenv.h: This.
11801
a728a38f
L
11802 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11803 __SSE_MATH__.
11804
6e230d11
SP
118052012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11806
11807 [BZ #14134]
11808 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11809 character 0xffff that matches the last element of the
11810 conversion table.
11811
1b671feb
AZ
118122012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11813
11814 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11815 fmodl commit.
11816
6043738b
AZ
118172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11818
11819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11820 values higher than 25.6283.
11821
34ae0b32
AZ
118222012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11823
11824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11825 subnormal exponent extraction and add some __builtin_expect.
11826 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11827 Fix for subnormal mantissa calculation.
11828
1214ec8f
MF
118292012-06-04 Mike Frysinger <vapier@gentoo.org>
11830
11831 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11832 cpu2 is -1 and errno is not ENOSYS.
11833
f3d1f93c
L
118342012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11835
11836 [BZ #14117]
0e4a3cd7
L
11837 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11838 * sysdeps/x86/bits/string.h: This.
11839 * sysdeps/x86_64/bits/string.h: Removed.
11840
6704c645
L
11841 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11842 if not compiling for x86-64, but compiling for >= i486.
11843
48495318
L
11844 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11845 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11846
14adcbfc
L
11847 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11848 New macro from Linux kernel 3.4.0.
11849 (FP_XSTATE_MAGIC2): Likewise.
11850 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11851 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11852 (struct _fpx_sw_bytes): New struct.
11853 (struct _xsave_hdr): Likewise.
11854 (struct _ymmh_state): Likewise.
11855 (struct _xstate): Likewise.
11856
68e408ab
L
11857 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11858 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11860 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11861 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11862 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11863
f3d1f93c
L
11864 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11865 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11866 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11867 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11868 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11869 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11870
d9dc34cd
TMQMF
118712012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11872
11873 [BZ #13743]
11874 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11875 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11876 (sysdep_headers): Include sys/platform/ppc.h.
11877 * sysdeps/powerpc/test-gettimebase.c: Test for
11878 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11879 * manual/Makefile (appendices): Include platform.texi.
11880 * manual/contrib.texi (Contributors): Update @node pointers.
11881 * manual/maint.texi (Maintenance): Likewise.
11882 (Platform): New node.
11883 * manual/platform.texi: New file. Document the new features.
11884
4af3879c
SP
118852012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11886 Jakub Jelinek <jakub@redhat.com>
11887
11888 [BZ #14188]
11889 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11890 where __builtin_expect is unavailable.
11891
2fd6ff13
DM
118922012-06-03 David S. Miller <davem@davemloft.net>
11893
11894 * stdlib/longlong.h: Updated from GCC.
11895
173f7220
AS
118962012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11897
11898 [BZ #14042]
11899 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11900 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11901 __mcount_internal.
11902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11903 (GLIBC_2.16): Likewise.
11904
f34a1c6f
L
119052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11906
11907 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11908
88a4576f
JM
119092012-06-01 Joseph Myers <joseph@codesourcery.com>
11910
ea32bcdd
JM
11911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11912 (default-abi): New variable.
11913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11914 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11915 variable.
11916 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11917 Likewise.
11918 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11919 Likewise.
11920 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11921 Likewise.
11922
88a4576f
JM
11923 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11924 definition. Document in comment.
11925
402fe938
DM
119262012-06-01 David S. Miller <davem@davemloft.net>
11927
11928 * stdlib/longlong.h: Updated from GCC.
11929
3553723f
L
119302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11931
11932 [BZ #14117]
3bd872c4
L
11933 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11934 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11935 sys/debugreg.h sys/io.h here.
11936 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11937 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11938 sys/io.h.
11939 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11940 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11941 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11942 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11943 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11944 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11945
3553723f
L
11946 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11947 Define only if __x86_64__ is defined.
11948
4842e4fe
JM
119492012-06-01 Joseph Myers <joseph@codesourcery.com>
11950
c5bfe3d5
JM
11951 [BZ #14048]
11952 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11953 Use int64_t for variable i.
11954 * math/libm-test.inc (fmod_test): Add more tests.
11955
4842e4fe
JM
11956 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11957 z computation is not scheduled after fetestexcept.
11958 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11959 Use math_force_eval instead of asm to ensure calculation scheduled
11960 before exception test.
11961 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11962 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11963
efb73488
AJ
119642012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11965
11966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11967 computation is not scheduled after fetestexcept.
11968
29bcce7c
L
119692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11970
11971 [BZ #14117]
11972 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11973 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11974
73a68f94
AZ
119752012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11976
11977 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11978 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11979
67b6df78
L
119802012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11981
edf2933a 11982 [BZ #14117]
ebc64a18
L
11983 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11984 <bits/wordsize.h>.
11985 (__WCHAR_MIN): Support __WORDSIZE == 64.
11986 (__WCHAR_MAX): Likewise.
11987
edf2933a
L
11988 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11989 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11990
57c6cf40
L
11991 [BZ #14183]
11992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11993 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11994
67b6df78 11995 [BZ #14117]
8eb6281e
L
11996 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11997 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11998
aac639f4
L
11999 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12000 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12001
67b6df78
L
12002 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12003 Defined to 1 if __x86_64__ isn't defined.
12004 (_STAT_VER_LINUX_OLD): New.
12005 (st_atime): Remove duplicate.
12006 (st_mtime): Likewise.
12007 (st_ctime): Likewise.
12008
1c2cfe81
DM
120092012-05-31 David S. Miller <davem@davemloft.net>
12010
12011 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12012 entries.
12013
5be8418c
AS
120142012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12015
e7725326
AS
12016 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12017 gen-libm-test.pl.
12018
5be8418c
AS
12019 [BZ #14132]
12020 * elf/dl-reloc.c: Include <_itoa.h>.
12021 (_dl_reloc_bad_type): Remove use of INTUSE.
12022 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12023 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12024 * stdio-common/psiginfo.c (psiginfo): Likewise.
12025 * stdio-common/psignal.c (psignal): Likewise.
12026 * string/strsignal.c (strsignal): Likewise.
12027 * include/signal.h (_sys_siglist): Declare hidden proto.
12028 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12029 INTVARDEF with libc_hidden_data_def.
12030 * stdio-common/itoa-udigits.c: Likewise.
12031 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12032 (_itoa_lower_digits_internal): Remove declaration.
12033 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12034 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12035 (_sys_sigabbrev_internal): Remove aliases.
12036 (_sys_siglist): Define hidden alias.
12037
507352f1
MT
120382012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12039
12040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12041 bits/sysctl.h.
12042
42bbb1c3
L
120432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12044
12045 [BZ #14117]
6bd784b6
L
12046 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12047 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12048
8bca20f0
L
12049 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12050 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12051 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12052 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12053 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12054 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12055
f9e890a9
L
12056 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12057 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12058 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12059
471101a1
L
12060 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12061 with __addr.
12062 (insw): Likewise.
12063 (insl): Likewise.
12064 (outsb): Likewise.
12065 (outsw): Likewise.
12066 (outsl): Likewise.
12067
6451c862
L
12068 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12069 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12070 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12071
a254b8c9
L
12072 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12073 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12074 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12075 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12076 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12077 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12078
b8dfdd92
L
12079 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12080 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12081
578cd270
L
12082 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12083 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12084
de662f5f
L
12085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12086 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12087 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12088
25653439
L
12089 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12090 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12091 to ...
12092 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12093
6bad24a0
L
12094 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12095 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12096 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12097
42bbb1c3
L
12098 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12099 for x86-64.
12100 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12101
2d10d547
JM
121022012-05-31 Joseph Myers <joseph@codesourcery.com>
12103
12104 * math/math.h (M_El): Use two more decimal places.
12105 (M_LOG2El): Likewise.
12106 (M_LOG10El): Likewise.
12107 (M_LN2l): Likewise.
12108 (M_LN10l): Likewise.
12109 (M_PIl): Likewise.
12110 (M_PI_2l): Likewise.
12111 (M_PI_4l): Likewise.
12112 (M_1_PIl): Likewise.
12113 (M_2_PIl): Likewise.
12114 (M_2_SQRTPIl): Likewise.
12115 (M_SQRT2l): Likewise.
12116 (M_SQRT1_2l): Likewise.
12117
f230c29b
DM
121182012-05-31 David S. Miller <davem@davemloft.net>
12119
12120 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12121 values between float registers.
12122 * sysdeps/sparc/sparc64/memset.S: Likewise.
12123 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12124
fed806c3
MF
121252012-05-31 Mike Frysinger <vapier@gentoo.org>
12126
12127 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12128 -D_FORTIFY_SOURCE=1.
12129 (CPPFLAGS-tst-longjmp_chk.c): Define.
12130 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12131 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12132 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12133 CFLAGS-tst-wchar-h.c.
12134
30917259
MP
121352012-05-31 Marek Polacek <polacek@redhat.com>
12136
12137 [BZ #14132]
12138 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12139 __endmntent_internal): Remove declaration.
12140 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12141 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12142 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12143
1c58d5dc
DM
121442012-05-30 David S. Miller <davem@davemloft.net>
12145
12146 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12147 (___Q_simulate_exceptions): Use real FP ops rather than writing
12148 into the %fsr.
12149 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12150 Likewise.
12151
7dc00e0d
L
121522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12153
12154 [BZ #14117]
0bd53985
L
12155 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12156 * sysdeps/x86/bits/xtitypes.h: This.
12157
3a257e66
L
12158 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12159 * sysdeps/x86/bits/wordsize.h: This.
12160
62f62904
L
12161 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12162 * sysdeps/x86/bits/huge_vall.h: This.
12163
404fe9d9
L
12164 * sysdeps/i386/bits/select.h: Removed.
12165 * sysdeps/x86_64/bits/select.h: Renamed to ...
12166 * sysdeps/x86/bits/select.h: This.
12167
d48d0446
L
12168 * sysdeps/i386/bits/setjmp.h: Removed.
12169 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12170 * sysdeps/x86/bits/setjmp.h: This.
12171
7dc00e0d
L
12172 * sysdeps/i386/bits/mathdef.h: Removed.
12173 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12174 * sysdeps/x86/bits/mathdef.h: This.
12175
03277f8f
AS
121762012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12177
12178 [BZ #14132]
12179 * include/sys/socket.h (__connect_internal)
12180 (__libc_sa_len_internal): Remove declaration.
12181 (__connect, __libc_sa_len): Declare hidden_proto.
12182 (SA_LEN): Remove use of INTUSE.
12183 * socket/connect.c: Add libc_hidden_def.
12184 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12185 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12186 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12187 alias.
12188 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12189 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12190 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12191 of adding _internal alias.
12192
13764867
L
121932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12194
12195 [BZ #14117]
6bd97696
L
12196 * sysdeps/i386/bits/link.h: Removed.
12197 * sysdeps/i386/bits/linkmap.h: Likewise.
12198 * sysdeps/x86_64/bits/link.h: Renamed to ...
12199 * sysdeps/x86/bits/link.h: This.
12200 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12201 * sysdeps/x86/bits/linkmap.h: This.
12202
f726f0bb
L
12203 * sysdeps/i386/bits/endian.h: Removed.
12204 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12205 * sysdeps/x86/bits/endian.h: This.
12206
13764867
L
12207 * sysdeps/i386/bits/byteswap.h: Removed.
12208 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12209 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12210 * sysdeps/x86/bits/byteswap.h: This.
12211 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12212 * sysdeps/x86/bits/byteswap-16.h: This.
12213 * sysdeps/i386/Implies: Add x86.
12214 * sysdeps/x86_64/Implies: Likewise.
12215
ae251b0b
DM
122162012-05-30 David S. Miller <davem@davemloft.net>
12217
12218 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12219 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12220 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12221 (FP_TRAPPING_EXCEPTIONS): Define.
12222 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12223 (FP_TRAPPING_EXCEPTIONS): Define.
12224 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12225 subnormals only when inexact has been signalled or underflow
12226 exceptions are enabled.
12227 (_FP_PACK_CANONICAL): Likewise.
12228
d5c90867
L
122292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12230
12231 [BZ #14183]
12232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12233 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12234
63f1549e
RH
122352012-05-30 Richard Henderson <rth@twiddle.net>
12236
8d8f2279
RH
12237 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12238 with #ifndef NOT_IN_libc.
12239
63f1549e
RH
12240 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12241 marked to avoid plt entry.
12242
0ab0291b
L
122432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12244
12245 [BZ #14112]
12246 * Makeconfig (default-abi): New macro.
12247 (abi-includes): Likewise.
12248 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12249 $(abi-$(default-abi)-lib-soname) for soname if defined.
12250 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12251 abi-variants.
12252 * Makefile (installed-stubs): Likewise.
12253 * include/stubs-biarch.h: Removed.
12254 * scripts/lib-names.awk: Only handle one library at a time.
12255 * scripts/soversions.awk: Remove WORDSIZE support.
12256 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12257 entries.
12258 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12259 Removed.
12260 (syscall-list-default-condition): Likewise.
12261 (syscall-list-default-condition): Likewise.
12262 (syscall-list-includes): Likewise.
12263 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12264 syscall-list-* with abi-*. Handle undefined abi-variants.
12265 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12266 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12267 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12268 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12269 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12270 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12271 Removed.
12272 (syscall-list-32-options): Likewise.
12273 (syscall-list-32-condition): Likewise.
12274 (syscall-list-64-options): Likewise.
12275 (syscall-list-64-condition): Likewise.
12276 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12277 macro.
12278 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12279 Renamed to ...
12280 (abi-*): This.
12281 (abi-64-ld-soname): New macro.
12282 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12283 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12284 Renamed to ...
12285 (abi-*): This.
12286 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12287 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12288
4da0431d
JM
122892012-05-30 Joseph Myers <joseph@codesourcery.com>
12290
3a85279c
JM
12291 * sysdeps/unix/sysv/linux/kernel-features.h
12292 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12293 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12294 include <kernel-features.h>.
12295 [!__NR_ftruncate64]: Remove conditional code.
12296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12297 [__NR_ftruncate64]: Make code unconditional.
12298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12299 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12300 include <kernel-features.h>.
12301 [!__NR_ftruncate64]: Remove conditional code.
12302 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12303 [__NR_ftruncate64]: Make code unconditional.
12304 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12306 include <kernel-features.h>.
12307 [!__NR_ftruncate64]: Remove conditional code.
12308 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12309 [__NR_ftruncate64]: Make code unconditional.
12310 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12312 include <kernel-features.h>.
12313 [!__NR_ftruncate64]: Remove conditional code.
12314 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12315 [__NR_ftruncate64]: Make code unconditional.
12316 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12317
4da0431d
JM
12318 * configure.in (libc_cv_fpie): Weaken to a compile test using
12319 LIBC_TRY_CC_OPTION.
12320 * configure: Regenerated.
12321
11ef492c
AK
123222012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12323
12324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12328 Refreshed.
12329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12335 Refreshed.
12336
d66ef399
DM
123372012-05-27 David S. Miller <davem@davemloft.net>
12338
12339 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12340 (___Q_zero): New.
12341 (__Q_simulate_exceptions): Return void. Change to simulate
12342 exceptions by writing into the %fsr.
12343 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12344 (__Qp_handle_exceptions): Likewise.
12345 (numbers): Delete.
12346 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12347 __Qp_handle_exceptions.
12348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12349 __Qp_handle_exceptions.
12350 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12351 as unused and give dummy FP_RND_NEAREST initializer.
12352 (FP_INHIBIT_RESULTS): Define.
12353 (___Q_simulate_exceptions): Update declaration.
12354 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12355 formatting.
12356 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12357 as unused and give dummy FP_RND_NEAREST initializer.
12358 (__Qp_handle_exceptions): Update declaration.
12359 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12360 formatting.
12361
04fb54b5
TS
123622012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12363
12364 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12365 the temporary FPU control word.
12366 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12367 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12368 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12369 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12370 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12371 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12372 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12373 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12374 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12375 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12376 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12377
3f99608f
KK
123782012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12379
12380 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12381 fields.
12382
65a4de4e
CLT
123832012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12384
12385 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12386 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12387 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12388 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12389 Likewise.
12390 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12391 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12392 Likewise.
12393
15749d40
UD
123942012-05-27 Ulrich Drepper <drepper@gmail.com>
12395
12396 * po/h.po: Update from translation team.
12397
25dbcb27
AS
123982012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12399
3d3f8e55
AS
12400 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12401
25dbcb27
AS
12402 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12403 handling of denormals.
12404 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12405 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12406 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12407 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12408 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12410 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12411 Likewise.
12412
7ad47a80 124132012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12414
12415 [BZ #14152]
12416 * math/libm-test.inc (fma_test): Don't always expect underflow
12417 exception.
12418
9c6ea9fa
SP
124192012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12420
12421 [BZ #12416]
12422 * elf/tst-execstack.c: Include stackinfo.h.
12423 (do_test): Adjust test case to ensure that pthread_getattr_np
12424 behaviour remains the same after marking stack executable.
12425
a8239222
JM
124262012-05-25 Joseph Myers <joseph@codesourcery.com>
12427
12428 * sysdeps/unix/sysv/linux/kernel-features.h
12429 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12430 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12431 kernel-features.h.
12432 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12433 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12434 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12435 kernel-features.h.
12436 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12437 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12438
918b5606
L
124392012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12440
12441 * configure.in: Define the default includes to being none.
12442 * configure: Regenerated.
12443
3a097cc7
RM
124442012-05-25 Roland McGrath <roland@hack.frob.com>
12445
8422c9a5
RM
12446 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12447 * sysdeps/x86_64/setjmp.S: Likewise.
12448 * sysdeps/i386/bsd-setjmp.S: Likewise.
12449 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12450 * sysdeps/i386/setjmp.S: Likewise.
12451 * sysdeps/i386/__longjmp.S: Likewise.
12452 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12453 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12454
3a097cc7
RM
12455 * include/stap-probe.h: New file.
12456 * configure.in: Handle --enable-systemtap.
12457 * configure: Regenerated.
12458 * config.h.in (USE_STAP_PROBE): New #undef.
12459 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12460 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12461 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12462
21708942
JM
124632012-05-25 Joseph Myers <joseph@codesourcery.com>
12464
12465 [BZ #13717]
12466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12467 to 2.4.0 where earlier.
12468 * sysdeps/unix/sysv/linux/configure: Regenerated.
12469 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12470 <kernel-features.h>.
12471 [__ASSUME_32BITUIDS]: Make code unconditional.
12472 [!__ASSUME_32BITUIDS]: Remove conditional code.
12473 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12474 <kernel-features.h>.
12475 [__ASSUME_32BITUIDS]: Make code unconditional.
12476 [!__ASSUME_32BITUIDS]: Remove conditional code.
12477 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12478 [__ASSUME_32BITUIDS]: Make code unconditional.
12479 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12480 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12481 <kernel-features.h>.
12482 [__ASSUME_32BITUIDS]: Make code unconditional.
12483 [!__ASSUME_32BITUIDS]: Remove conditional code.
12484 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12485 <kernel-features.h>.
12486 [__ASSUME_32BITUIDS]: Make code unconditional.
12487 [!__ASSUME_32BITUIDS]: Remove conditional code.
12488 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12489 <kernel-features.h>.
12490 [__ASSUME_32BITUIDS]: Make code unconditional.
12491 [!__ASSUME_32BITUIDS]: Remove conditional code.
12492 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12493 <kernel-features.h>.
12494 [__ASSUME_32BITUIDS]: Make code unconditional.
12495 [!__ASSUME_32BITUIDS]: Remove conditional code.
12496 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12497 <kernel-features.h>.
12498 [__ASSUME_32BITUIDS]: Make code unconditional.
12499 [!__ASSUME_32BITUIDS]: Remove conditional code.
12500 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12501 <kernel-features.h>.
12502 [__ASSUME_32BITUIDS]: Make code unconditional.
12503 [!__ASSUME_32BITUIDS]: Remove conditional code.
12504 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12505 <kernel-features.h>.
12506 [__ASSUME_32BITUIDS]: Make code unconditional.
12507 [!__ASSUME_32BITUIDS]: Remove conditional code.
12508 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12509 <kernel-features.h>.
12510 [__ASSUME_32BITUIDS]: Make code unconditional.
12511 [!__ASSUME_32BITUIDS]: Remove conditional code.
12512 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12513 <kernel-features.h>.
12514 [__ASSUME_32BITUIDS]: Make code unconditional.
12515 [!__ASSUME_32BITUIDS]: Remove conditional code.
12516 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
12521 <kernel-features.h>.
12522 [__NR_setresgid] (__setresgid): Do not declare.
12523 [__ASSUME_32BITUIDS]: Make code unconditional.
12524 [!__ASSUME_32BITUIDS]: Remove conditional code.
12525 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12526 <kernel-features.h>.
12527 [__NR_setresuid] (__setresuid): Do not declare.
12528 [__ASSUME_32BITUIDS]: Make code unconditional.
12529 [!__ASSUME_32BITUIDS]: Remove conditional code.
12530 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12531 <kernel-features.h>.
12532 [__ASSUME_32BITUIDS]: Make code unconditional.
12533 [!__ASSUME_32BITUIDS]: Remove conditional code.
12534 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12535 <kernel-features.h>.
12536 [__ASSUME_32BITUIDS]: Make code unconditional.
12537 [!__ASSUME_32BITUIDS]: Remove conditional code.
12538 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12539 <kernel-features.h>.
12540 [__ASSUME_32BITUIDS]: Make code unconditional.
12541 [!__ASSUME_32BITUIDS]: Remove conditional code.
12542 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12543 <kernel-features.h>.
12544 [__ASSUME_32BITUIDS]: Make code unconditional.
12545 [!__ASSUME_32BITUIDS]: Remove conditional code.
12546 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12547 <kernel-features.h>.
12548 [__ASSUME_32BITUIDS]: Make code unconditional.
12549 [!__ASSUME_32BITUIDS]: Remove conditional code.
12550 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12551 <kernel-features.h>.
12552 [__ASSUME_32BITUIDS]: Make code unconditional.
12553 [!__ASSUME_32BITUIDS]: Remove conditional code.
12554 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12555 <kernel-features.h>.
12556 [__ASSUME_32BITUIDS]: Make code unconditional.
12557 [!__ASSUME_32BITUIDS]: Remove conditional code.
12558 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12559 <kernel-features.h>.
12560 [__ASSUME_32BITUIDS]: Make code unconditional.
12561 [!__ASSUME_32BITUIDS]: Remove conditional code.
12562 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12563 <kernel-features.h>.
12564 [__ASSUME_32BITUIDS]: Make code unconditional.
12565 [!__ASSUME_32BITUIDS]: Remove conditional code.
12566 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12567 <kernel-features.h>.
12568 [__ASSUME_32BITUIDS]: Make code unconditional.
12569 [!__ASSUME_32BITUIDS]: Remove conditional code.
12570 * sysdeps/unix/sysv/linux/kernel-features.h
12571 (__ASSUME_SETRESUID_SYSCALL): Remove.
12572 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12573 (__ASSUME_32BITUIDS): Likewise.
12574 (__ASSUME_LDT_WORKS): Likewise.
12575 (__ASSUME_O_DIRECTORY): Likewise.
12576 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12577 architecture but not kernel version.
12578 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12579 (__ASSUME_MMAP2_SYSCALL): Likewise.
12580 (__ASSUME_STAT64_SYSCALL): Likewise.
12581 (__ASSUME_IPC64): Likewise.
12582 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12583 <kernel-features.h>.
12584 [__ASSUME_32BITUIDS]: Make code unconditional.
12585 [!__ASSUME_32BITUIDS]: Remove conditional code.
12586 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12587 <kernel-features.h>.
12588 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12589 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12590 132096]: Remove conditional code.
12591 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12592 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12593 <kernel-features.h>.
12594 [__ASSUME_32BITUIDS]: Make code unconditional.
12595 [!__ASSUME_32BITUIDS]: Remove conditional code.
12596 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12597 <kernel-features.h>.
12598 [__ASSUME_32BITUIDS]: Make code unconditional.
12599 [!__ASSUME_32BITUIDS]: Remove conditional code.
12600 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12601 <kernel-features.h>.
12602 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12603 unconditional.
12604 (__setresgid): Do not declare.
12605 [__ASSUME_32BITUIDS]: Make code unconditional.
12606 [!__ASSUME_32BITUIDS]: Remove conditional code.
12607 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12608 <kernel-features.h>.
12609 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12610 unconditional.
12611 (__setresuid): Do not declare.
12612 [__ASSUME_32BITUIDS]: Make code unconditional.
12613 [!__ASSUME_32BITUIDS]: Remove conditional code.
12614 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12615 <kernel-features.h>.
12616 [__ASSUME_32BITUIDS]: Make code unconditional.
12617 [!__ASSUME_32BITUIDS]: Remove conditional code.
12618 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12619 <kernel-features.h>.
12620 [__ASSUME_32BITUIDS]: Make code unconditional.
12621 [!__ASSUME_32BITUIDS]: Remove conditional code.
12622
a386f1cc
RH
126232012-05-25 Richard Henderson <rth@twiddle.net>
12624
12625 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12626 dl_hwcap to ifunc resolver.
12627 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12628 elf_ifunc_invoke.
12629 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12630 dl_hwcap to ifunc resolver.
12631 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12632
b6550497
JM
126332012-05-24 Joseph Myers <joseph@codesourcery.com>
12634
12635 [BZ #14153]
12636 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12637 for |x| <= 2**-26, not 2**-57.
12638 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12639 exception.
12640
b0bc23a1
JL
126412012-05-24 Jeff Law <law@redhat.com>
12642
12643 * stdio-common/Makefile (tests): Add bug25.
12644 * stdio-common/bug25.c: New test.
12645
347c92e9
L
126462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12647
12648 [BZ #13576]
12649 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12650 multiple of MALLOC_ALIGNMENT in size.
12651 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12652
6bcc8b3f
JM
126532012-05-24 Joseph Myers <joseph@codesourcery.com>
12654
12655 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12656 Require >= 256.
12657 (FILENAME_MAX): Use macro-int-constant.
12658 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12659 (_IOFBF): Use macro-int-constant.
12660 (_IOLBF): Likewise.
12661 (_IONBF): Likewise.
12662 (SEEK_CUR): Likewise.
12663 (SEEK_END): Likewise.
12664 (SEEK_SET): Likewise.
12665 (TMP_MAX): Likewise.
12666 (EOF): Use macro-int-constant. Require < 0.
12667 (NULL): Use macro-constant. Require == 0.
12668 (stdin): Require type to be FILE *.
12669 (stdout): Likewise.
12670 (stderr): Likewise.
12671 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12672 macro-int-constant.
12673 (EXIT_SUCCESS): Likewise.
12674 (NULL): Use macro-constant. Require == 0.
12675 (RAND_MAX): Use macro-int-constant.
12676 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12677 [C99-based standards] (strtof): Require function.
12678 [C99-based standards] (strtold): Likewise.
12679 [C99-based standards] (strtoll): Likewise.
12680 [C99-based standards] (strtoull): Likewise.
12681 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12682 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12683 [ISO || ISO99 || ISO11] (math.h): Likewise.
12684 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12685 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12686 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12687
d18ea0c5
AS
126882012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12689
12690 [BZ #14132]
56d25bb8
AS
12691 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12692 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12693 * intl/dgettext.c (DCGETTEXT): Likewise.
12694 * intl/gettext.c (DCGETTEXT): Likewise.
12695 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12696 * posix/regex_internal.h (gettext): Likewise.
12697 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12698 Remove declaration.
12699 * include/argz.h (__argz_count_internal)
12700 (__argz_stringify_internal): Remove declaration.
12701 (__argz_count, __argz_stringify): Declare hidden proto.
12702 * intl/dcgettext.c: Remove use of INTDEF.
12703 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12704 * string/argz-stringify.c: Likewise.
12705 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12706 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12707 Declare hidden proto.
d18ea0c5
AS
12708 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12709 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12710 Declare hidden proto.
12711 * include/stdio.h (__asprintf_internal): Don't declare.
12712 (__asprintf): Don't define as macro. Declare hidden proto.
12713 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12714 (__fsetlocking): Declare hidden proto.
12715 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12716 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12717 hidden proto.
12718 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12719 (_IO_setlinebuf): Remove use of INTUSE.
12720 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12721 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12722 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12723 Remove declaration.
12724 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12725 (_IO_do_flush): Remove use of INTUSE.
12726 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12727 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12728 (_IO_adjust_column, _IO_least_wmarker)
12729 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12730 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12731 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12732 (_IO_default_doallocate, _IO_wdefault_doallocate)
12733 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12734 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12735 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12736 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12737 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12738 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12739 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12740 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12741 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12742 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12743 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12744 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12745 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12746 proto.
12747 (_IO_flush_all_internal, _IO_adjust_column_internal)
12748 (_IO_default_uflow_internal, _IO_default_finish_internal)
12749 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12750 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12751 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12752 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12753 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12754 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12755 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12756 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12757 (_IO_file_close_internal, _IO_file_close_it_internal)
12758 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12759 (_IO_file_init_internal, _IO_file_attach_internal)
12760 (_IO_file_fopen_internal, _IO_file_read_internal)
12761 (_IO_file_sync_internal, _IO_file_seek_internal)
12762 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12763 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12764 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12765 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12766 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12767 (_IO_list_all_internal, _IO_link_in_internal)
12768 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12769 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12770 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12771 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12772 (_IO_do_write_internal, _IO_padn_internal)
12773 (_IO_getline_info_internal, _IO_getline_internal)
12774 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12775 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12776 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12777 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12778 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12779 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12780 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12781 with libc_hidden_ver, remove use of INTUSE.
12782 * libio/genops.c: Likewise.
12783 * libio/freopen.c: Likewise.
12784 * libio/freopen64.c: Likewise.
12785 * libio/iofclose.c: Likewise.
12786 * libio/iofdopen.c: Likewise.
12787 * libio/iofflush.c: Likewise.
12788 * libio/iofflush_u.c: Likewise.
12789 * libio/iofgets.c: Likewise.
12790 * libio/iofgets_u.c: Likewise.
12791 * libio/iofopen.c: Likewise.
12792 * libio/iofopncook.c: Likewise.
12793 * libio/iofread.c: Likewise.
12794 * libio/iofread_u.c: Likewise.
12795 * libio/ioftell.c: Likewise.
12796 * libio/iofwrite.c: Likewise.
12797 * libio/iogetline.c: Likewise.
12798 * libio/iogets.c: Likewise.
12799 * libio/iogetwline.c: Likewise.
12800 * libio/iopadn.c: Likewise.
12801 * libio/iopopen.c: Likewise.
12802 * libio/ioseekoff.c: Likewise.
12803 * libio/ioseekpos.c: Likewise.
12804 * libio/iosetbuffer.c: Likewise.
12805 * libio/iosetvbuf.c: Likewise.
12806 * libio/ioungetc.c: Likewise.
12807 * libio/ioungetwc.c: Likewise.
12808 * libio/iovdprintf.c: Likewise.
12809 * libio/iovsprintf.c: Likewise.
12810 * libio/iovsscanf.c: Likewise.
12811 * libio/memstream.c: Likewise.
12812 * libio/obprintf.c: Likewise.
12813 * libio/oldfileops.c: Likewise.
12814 * libio/oldiofclose.c: Likewise.
12815 * libio/oldiofdopen.c: Likewise.
12816 * libio/oldiofopen.c: Likewise.
12817 * libio/oldiopopen.c: Likewise.
12818 * libio/oldstdfiles.c: Likewise.
12819 * libio/putc.c: Likewise.
12820 * libio/setbuf.c: Likewise.
12821 * libio/setlinebuf.c: Likewise.
12822 * libio/stdfiles.c: Likewise.
12823 * libio/strops.c: Likewise.
12824 * libio/vasprintf.c: Likewise.
12825 * libio/vscanf.c: Likewise.
12826 * libio/vsnprintf.c: Likewise.
12827 * libio/vswprintf.c: Likewise.
12828 * libio/wfiledoalloc.c: Likewise.
12829 * libio/wfileops.c: Likewise.
12830 * libio/wgenops.c: Likewise.
12831 * libio/wmemstream.c: Likewise.
12832 * libio/wstrops.c: Likewise.
12833 * libio/__fpurge.c: Likewise.
12834 * libio/__fsetlocking.c: Likewise.
12835 * assert/assert.c: Likewise.
12836 * debug/fgets_chk.c: Likewise.
12837 * debug/fgets_u_chk.c: Likewise.
12838 * debug/fread_chk.c: Likewise.
12839 * debug/fread_u_chk.c: Likewise.
12840 * debug/gets_chk.c: Likewise.
12841 * debug/obprintf_chk.c: Likewise.
12842 * debug/vasprintf_chk.c: Likewise.
12843 * debug/vdprintf_chk.c: Likewise.
12844 * debug/vsnprintf_chk.c: Likewise.
12845 * debug/vsprintf_chk.c: Likewise.
12846 * malloc/mtrace.c: Likewise.
12847 * misc/error.c: Likewise.
12848 * misc/syslog.c: Likewise.
12849 * stdio-common/asprintf.c: Likewise.
12850 * stdio-common/fxprintf.c: Likewise.
12851 * stdio-common/getw.c: Likewise.
12852 * stdio-common/isoc99_fscanf.c: Likewise.
12853 * stdio-common/isoc99_scanf.c: Likewise.
12854 * stdio-common/isoc99_vfscanf.c: Likewise.
12855 * stdio-common/isoc99_vscanf.c: Likewise.
12856 * stdio-common/isoc99_vsscanf.c: Likewise.
12857 * stdio-common/printf-prs.c: Likewise.
12858 * stdio-common/printf_fp.c: Likewise.
12859 * stdio-common/printf_fphex.c: Likewise.
12860 * stdio-common/printf_size.c: Likewise.
12861 * stdio-common/putw.c: Likewise.
12862 * stdio-common/scanf.c: Likewise.
12863 * stdio-common/sprintf.c: Likewise.
12864 * stdio-common/tmpfile.c: Likewise.
12865 * stdio-common/vfprintf.c: Likewise.
12866 * stdio-common/vfscanf.c: Likewise.
12867 * stdlib/strfmon_l.c: Likewise.
12868 * sunrpc/openchild.c: Likewise.
12869 * sunrpc/xdr_stdio.c: Likewise.
12870 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12871 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12872
d6c33fda
RM
128732012-05-24 Roland McGrath <roland@hack.frob.com>
12874
c1487492
RM
12875 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12876
12877 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12878 in the third column, to generate for the shared library an IFUNC
12879 that uses _dl_vdso_vsym.
12880 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12881 * Makeconfig (object-suffixes-noshared): New variable.
12882
12883 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12884 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12885 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12886 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12887
d6c33fda
RM
12888 [BZ #14132]
12889 * include/sys/time.h (__gettimeofday): Remove macro.
12890 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12891 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12892 Remove INTDEF.
12893 (__gettimeofday): Add libc_hidden_def.
12894 (gettimeofday): Add libc_hidden_weak.
12895 * sysdeps/mach/gettimeofday.c: Likewise.
12896 * sysdeps/posix/gettimeofday.c: Likewise.
12897 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12898 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12899 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12900 (__gettimeofday_internal): Remove strong_alias.
12901 (__gettimeofday): Add libc_hidden_def.
12902 (gettimeofday): Add libc_hidden_weak.
12903 * sysdeps/unix/syscalls.list (gettimeofday):
12904 Remove __gettimeofday_internal alias.
12905
b5a2bbe6
L
129062012-05-24 Daniel Jacobowitz <drow@false.org>
12907 H.J. Lu <hongjiu.lu@intel.com>
12908
12909 [BZ #12495]
12910 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12911 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12912 (largebin_index_32_big): New.
12913 (largebin_index): Use it for 16-byte alignment.
12914 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12915 correction with front_misalign.
12916
cfba4fda
L
129172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12918
7f907421
L
12919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12921 Likewise.
12922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12923 Likewise.
12924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12925 Likewise.
12926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12927 Likewise.
12928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12929 Likewise.
12930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12931 Likewise.
12932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12933 Likewise.
12934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12935 Likewise.
12936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12937 Likewise.
12938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12939 Likewise.
12940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12941 Likewise.
12942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12943 Likewise.
12944
cfba4fda
L
12945 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12946 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12947
80bad0cc
JM
129482012-05-24 Joseph Myers <joseph@codesourcery.com>
12949
7a25eb06
JM
12950 [BZ #10846]
12951 [BZ #14036]
12952 * math/libm-test.inc (exp_test): Add test from bug 14036.
12953 (pow_test): Add test from bug 10846.
12954
795405f9
JM
12955 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12956 and other flags.
12957 (special_function): Do not include flags in test name.
12958 (parse_args): Likewise.
12959 * sysdeps/i386/fpu/libm-test-ulps: Update.
12960 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12961 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12962 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12964
80bad0cc
JM
12965 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12966 exceptions.
12967 * math/libm-test.inc ("Philosophy"): Update comment about
12968 exception testing.
12969 (UNDERFLOW_EXCEPTION): New macro.
12970 (UNDERFLOW_EXCEPTION_OK): Likewise.
12971 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12972 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12973 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12974 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12975 (INVALID_EXCEPTION_OK): Update value.
12976 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12977 (OVERFLOW_EXCEPTION_OK): Likewise.
12978 (IGNORE_ZERO_INF_SIGN): Likewise.
12979 (test_exceptions): Handle underflow exceptions.
12980 (acos_test): Update for underflow exception expectations.
12981 (cexp_test): Likewise.
12982 (clog_test): Likewise.
12983 (clog10_test): Likewise.
12984 (csqrt_test): Likewise.
12985 (ctan_test): Likewise.
12986 (ctanh_test): Likewise.
12987 (exp_test): Likewise.
12988 (exp10_test): Likewise.
12989 (exp2_test): Likewise.
12990 (expm1_test): Likewise.
12991 (fma_test): Likewise.
12992 (j0_test): Likewise.
12993 (jn_test): Likewise.
12994 (nexttoward_test): Likewise.
12995 (pow_test): Likewise.
12996 (scalbn_test): Likewise.
12997 (scalbln_test): Likewise.
12998 (tan_test): Likewise.
12999 (y1_test): Likewise.
13000 * sysdeps/i386/fpu/libm-test-ulps: Update.
13001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13002
9e0e3d0b
DM
130032012-05-23 David S. Miller <davem@davemloft.net>
13004
13005 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13006 (__libc_sigaction): Remove unused local variables.
13007
ccd0a08f
L
130082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13009
13010 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13011
62bdf9a6
PE
130122012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13013
f8591f80
PE
13014 mktime: avoid signed integer overflow
13015 * time/mktime.c (__mktime_internal): Do not mishandle the case
13016 where diff == INT_MIN.
13017
94c7d826
PE
13018 mktime: simplify computation of average
13019 * time/mktime.c (ranged_convert): Use new time_t_avg function
13020 instead of rolling our own (probably-slower) code.
13021
ce73d683
PE
13022 mktime: do not assume signed right shift propagates sign bit
13023 * time/mktime.c (isdst_differ): New static function.
13024 (__mktime_internal): No need to normalize tm_isdst now.
13025 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13026 tm_isdst values.
13027
72a22e59
PE
13028 mktime: merge another wrapv change from gnulib
13029 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13030 from some compilers.
13031
68605433
PE
13032 mktime: remove incorrect attempt at unusual arithmetics
13033 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13034 The code didn't really work on such machines anyway.
13035 (TYPE_MINIMUM): Assume two's complement.
13036 (twos_complement_arithmetic): Verify that long_int and time_t
13037 are two's complement (or unsigned, in the latter case).
13038
03cf7fe3
PE
13039 mktime: check signed shifts on long_int and time_t, too
13040 * time/mktime.c (SHR): Check that shifts work as desired
13041 on the types long_int and time_t too, as SHR is used on
13042 such types.
13043
f04dfbc2
PE
13044 mktime: do not assume 'long' is wide enough
13045 * time/mktime.c (verify): Move decl up.
13046 (long_int): New type.
13047 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13048 to remove assumption in the code that 'long' is wide enough to
13049 store year values. This assumption is not true on x32 and on
13050 some non-glibc platforms.
13051
62bdf9a6
PE
13052 mktime: merge wrapv change from gnulib
13053 * time/mktime.c (WRAPV): New macro.
13054 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13055 (guess_time_tm, __mktime_internal): Do not assume that signed
13056 integer overflow wraps around; modern compilers generate code
13057 where this assumption is no longer valid.
13058
5e292e4f
L
130592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13060
13061 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13062 Replace "jmp L(pseudo_end)" with "ret".
13063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13064 Likewise.
13065
8caf8c87
AJ
130662012-05-23 Andreas Jaeger <aj@suse.de>
13067
13068 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13069 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13070
1a09dc56
AJ
130712012-05-23 Andreas Jaeger <aj@suse.de>
13072 Maximilian Attems <max@stro.at>
13073
13074 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13075 New macros.
13076
1c87aba0
L
130772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13078
13079 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13080 code so that pseudo_end is just ret and the stack pointer is
13081 correct also for static library in error case.
13082
40e45bd5
JM
130832012-05-23 Joseph Myers <joseph@codesourcery.com>
13084
c2670533
JM
13085 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13086 move to syscalls.list.
13087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13091
40e45bd5
JM
13092 * manual/install.texi (Running make install): Do not mention Linux
13093 kernel version for which pt_chown is not needed.
13094 (Linux): Do not mention problems with nscd with 2.0 kernels.
13095 * INSTALL: Regenerated.
13096
be08eda5
AJ
130972012-05-23 Andreas Jaeger <aj@suse.de>
13098
13099 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13100 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13101 macro.
13102 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13103 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13104 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13105 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13106 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13107 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13108 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13109 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13110 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13111 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13112 * sysdeps/unix/sysv/linux/bits/in.h
13113 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13114
a6a056bb
RM
131152012-05-22 Roland McGrath <roland@hack.frob.com>
13116
13117 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13118 (PREPARE_VERSION): Just use assert instead, it will be elided
13119 under [NDEBUG] anyway.
13120
c9009328
L
131212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13122
13123 * sysdeps/unix/sysv/linux/Makefile: Include
13124 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13125 (sysdep_routines): Remove sysctl.
c9009328
L
13126 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13127 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13128 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13129 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13130 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13131
73338355
AJ
131322012-05-22 Andreas Jaeger <aj@suse.de>
13133
13134 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13135 that pseudo_end is just ret and the stack pointer is correct also
13136 for static library in error case.
13137
d44638b0
PP
131382012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13139
13140 [BZ #14122]
13141 * nss/nsswitch.c (defconfig_entries): New variable.
13142 (__nss_database_lookup): Don't leak defconfig entries.
13143 (nss_parse_service_list): Don't leak on error paths.
13144 (free_database_entries): New function.
13145 (free_defconfig): New function.
13146 (free_mem): Move common code to free_database_entries.
13147
31a39bd8
L
131482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13149
da0331a8
L
13150 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13151 Add arch_prctl.
13152 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13153
31a39bd8
L
13154 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13155 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13157 New macro.
13158 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13159 (INTERNAL_SYSCALL_TYPES): Likewise.
13160 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13161 (LOAD_REGS_TYPES_[1-6]): Likewise.
13162 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13163 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13164
45470df3
AZ
131652012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13166
13167 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13168 copysignl for GLIBC_2_0.
13169 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13170 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13172 logbl for GLIBC_2_0.
13173 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13174 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13175
98a61bcb
L
131762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13177
a4f6e481
L
13178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13179 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13180
f63d5db6
L
13181 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13182 Use "neg %eax".
13183
98a61bcb
L
13184 * time/mktime.c: Update copyright years.
13185
95770f14
PE
131862012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13187
6226efbd
PE
13188 mktime: merge comment-quoting-style change from gnulib
13189 * time/mktime.c: Quote 'like this' in comments.
13190 The GNU coding standards suggest that we no longer quote `like this',
13191 as "`" and "'" are typically rendered asymmetrically nowadays.
13192 The typical gnulib style is to quote 'like this' when quoting
13193 code, and "like this" when quoting English.
13194
b99e4f78
PE
13195 * time/mktime.c (compile-command): Add "-I.".
13196
643e01e6
PE
13197 mktime: merge mktime-internal.h change from gnulib
13198 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13199
2554247d
PE
13200 mktime: merge time_r change from gnulib
13201 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13202
826dd0ab
PE
13203 mktime: merge DEBUG change from gnulib
13204 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13205 case system <time.h> has a #define.
13206
bd83aabe
PE
13207 mktime: merge <sys/types.h> change from gnulib
13208 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13209 since <time.t> is now guaranteed to define time_t.
13210
95770f14
PE
13211 mktime: merge HAVE_CONFIG_H change from gnulib
13212 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13213
5e1a27a9
L
132142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13215
0e44a77e
L
13216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13217 Use "neg %eax".
13218
5e1a27a9
L
13219 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13220 __rlim_t cast.
13221 (struct rusage): Use anonymous union to pad each field to
13222 __syscall_slong_t.
13223
46259bec
DM
132242012-05-21 David S. Miller <davem@davemloft.net>
13225
13226 * Makefules (o-iterator): Remove .s cases.
13227 (compile-command.s): Delete.
13228 (COMPILE.s): Delete.
13229 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13230
59f0c22e
JM
132312012-05-21 Joseph Myers <joseph@codesourcery.com>
13232
13233 * configure.in (libc_cv_predef_stack_protector): Only consider
13234 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13235 * configure: Regenerated.
13236
20c07380
L
132372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13238
bbb3154b
L
13239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13240 New macro. Use R*LP on int and pointer.
13241 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13242 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13243 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13244 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13245
20c07380
L
13246 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13247 [__WORDSIZE_TIME64_COMPAT32] instead of
13248 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13249 (struct utmp): Likewise.
13250 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13251 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13252 Renamed to ...
13253 (__WORDSIZE_TIME64_COMPAT32): This.
13254 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13255 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13256 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13257 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13258 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13259 (__WORDSIZE_TIME64_COMPAT32): New macro.
13260
d8d1017e
AJ
132612012-05-21 Andreas Jaeger <aj@suse.de>
13262
13263 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13264 only if [SHARED]. Add prototype for __wcschr_ia32.
13265
6c7fb145
RM
132662012-05-21 Roland McGrath <roland@hack.frob.com>
13267
13268 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13269 of %rbp unmolested in the jmp_buf while mangling the low bits.
13270 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13271 unmolested high bits of %rbp while demangling the low bits.
13272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13273
66274218
AJ
132742012-05-21 Andreas Jaeger <aj@suse.de>
13275
07c58f8f
AJ
13276 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13277 * sunrpc/svc_simple.c: Use it for registerrpc.
13278 * sunrpc/xcrypt.c: Use it for passwd2des.
13279
66274218
AJ
13280 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13281
61f65140
L
132822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13283
13284 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13285 Don't define if [__SYSCALL_WORDSIZE != 32].
13286 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13287 New macro.
13288
5fefb436
AJ
132892012-05-21 Bruno Haible <bruno@clisp.org>
13290 Andreas Jaeger <aj@suse.de>
13291
13292 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13293 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13294 inptr and inend for must_buffer_ch.
13295 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13296 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13297 * stdio-common/Makefile (tests): Remove bug15.
13298 (bug15-ENV): Remove macro.
13299 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13300 anymore.
13301
d8e272ab
AJ
133022012-05-19 Andreas Jaeger <aj@suse.de>
13303 Roland McGrath <roland@hack.frob.com>
13304
13305 * manual/contrib.texi: Completely rewritten. It contains now an
13306 alphabetical list of contributors and their contributions.
13307
4a56a162
RH
133082012-05-21 Richard Henderson <rth@twiddle.net>
13309
13310 * misc/getauxval.c (__getauxval): Use unsigned long int.
13311 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13312 (getauxval): Use unsigned long int.
13313
d024d23c
L
133142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13315
13316 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13317
cbc00a03
RM
133182012-05-21 Roland McGrath <roland@hack.frob.com>
13319
13320 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13321 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13322 __alignof__ (long double).
13323
478143fa
AZ
133242012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13325
13326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13327
c7683a6d
RH
133282012-05-20 Richard Henderson <rth@twiddle.net>
13329
13330 * misc/getauxval.c: New file.
13331 * misc/sys/auxv.h: New file.
13332 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13333 (routines): Add getauxval.
13334 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13335 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13336 * elf/dl-sysdep.c (_dl_auxv): Remove.
13337 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13338 * elf/dl-support.c (_dl_auxv): New variable.
13339 (_dl_aux_init): Initialize it.
13340 * manual/startup.texi (Auxiliary Vector): New node.
13341 * sysdeps/generic/bits/hwcap.h: New file.
13342 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13343 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13344 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13345 * sysdeps/sparc/sysdep.h: ... here. Include it.
13346 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13347 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13349 Update.
c7683a6d
RH
13350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13353 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13358
a6f1845d
AZ
133592012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13360
13361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13362
cbcbe830
DM
133632012-05-19 David S. Miller <davem@davemloft.net>
13364
13365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13366
e0b16cc2
JM
133672012-05-19 Joseph Myers <joseph@codesourcery.com>
13368
13369 [BZ #14123]
13370 * math/s_ccosh.c: Include <float.h>
13371 (__ccosh): Avoid internal overflow calculating sinh and cosh
13372 values before multiplying by sin and cos values.
13373 * math/s_ccoshf.c: Likewise.
13374 * math/s_ccoshl.c: Likewise.
13375 * math/s_csin.c: Likewise.
13376 * math/s_csinf.c: Likewise.
13377 * math/s_csinl.c: Likewise.
13378 * math/s_csinh.c: Likewise.
13379 * math/s_csinhf.c: Likewise.
13380 * math/s_csinhl.c: Likewise.
13381 * math/libm-test.inc (ccos_test): Add more tests.
13382 (ccosh_test): Likewise.
13383 (csin_test): Likewise.
13384 (csinh_test): Likewise.
13385 * sysdeps/i386/fpu/libm-test-ulps: Update.
13386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13387
6ad13e08
L
133882012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13389
f66f0ce8
L
13390 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13391 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13392
6ad13e08
L
13393 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13394
b1d072a7
JM
133952012-05-19 Joseph Myers <joseph@codesourcery.com>
13396
13397 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13398 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13399 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13400 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13401 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13402 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13403 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13404 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13405 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13406 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13407 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13408 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13409 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13410 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13411 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13412 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13413 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13414 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13415 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13416 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13417 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13418 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13419 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13420 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13421 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13422 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13423 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13424 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13425 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13426 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13427 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13428
9eae47cb
AJ
134292012-05-18 Andreas Jaeger <aj@suse.de>
13430
13431 * csu/.gitignore: Delete.
13432
bb07f69f
L
134332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13434
13435 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13436 (timex): Use __syscall_slong_t.
13437
e6bdb741
AJ
134382012-05-18 Andreas Jaeger <aj@suse.de>
13439 Carlos O'Donell <carlos_odonell@mentor.com>
13440
13441 * manual/install.texi (Configuring and compiling): Update
13442 description about files modified in the source directory.
d6c33fda 13443 * INSTALL: Regenerated.
e6bdb741 13444
1b74487e
L
134452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13446
13447 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13448 value. Use "or" to set return value to -1.
13449 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13450 negate return value.
13451
a88b64b9
TMQMF
134522012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13453
13454 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13455 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13456 failure if the compiler has Graphite support disabled.
13457 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13458 Likewise.
13459 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13460 CFLAGS-memmove.c): Likewise.
13461 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13462 Likewise.
13463
3707636e
L
134642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13465
610b8622
L
13466 * sysdeps/x86_64/x32/_itoa.h: New file.
13467
7cd195df
L
13468 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13469 getdents system call only if kernel and user dirents have the
13470 same d_ino and d_off.
13471
94b07d20
L
13472 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13473 LLONG_MAX != LONG_MAX.
13474 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13475 (_fitoa_word): Likewise.
13476
18298070
L
13477 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13478 years.
13479 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13480 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13481 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13482
553c7ea4
L
13483 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13484 include <bits/wordsize.h>. Check __x86_64__ instead of
13485 __WORDSIZE.
13486 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13487 if __x86_64__ is defined. Use anonymous union on fpstate.
13488
3707636e
L
13489 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13490 anonymous union.
13491
b53ef01a
AS
134922012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13493
37fb1dc0
AS
13494 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13495 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13496 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13497 Refer to _rtld_local_ro instead of _rtld_global_ro.
13498 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13499 Likewise.
13500 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13501 Likewise.
13502 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13503 Likewise.
13504 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13505 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13506 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13507
b53ef01a
AS
13508 * sysdeps/powerpc/powerpc32/dl-machine.c
13509 (__elf_machine_runtime_setup) [PROF]: Don't reference
13510 _dl_prof_resolve.
13511
7a185db2
AJ
135122012-05-18 Andreas Jaeger <aj@suse.de>
13513
13514 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13515 function only available for GCCs before 3.4 since GCC 3.4
13516 introduced a builtin.
13517 (lrint): Likewise.
13518 (llrintf): Likewise.
13519 (llrint): Likewise.
13520 (fmaxf): Likewise.
13521 (fmax): Likewise.
13522 (fminf): Likewise.
13523 (fmin): Likewise.
13524 (rint): Likewise.
13525 (rintf): Likewise.
13526 (nearbyint): Likewise.
13527 (nearbyintf): Likewise.
13528 (ceil): Likewise.
13529 (ceilf): Likewise.
13530 (floor): Likewise.
13531 (floorf): Likewise.
13532
3e5aef87
L
135332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13534
428bd707
L
13535 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13536 on both fields and cast pointer to __syscall_ulong_t.
13537
3e5aef87
L
13538 * bits/types.h (__fsword_t): New type.
13539 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13540 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13541 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13542 (__FSWORD_T_TYPE): Likewise.
13543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13544 (__FSWORD_T_TYPE): Likewise.
13545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13546 (__FSWORD_T_TYPE): Likewise.
13547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13548 (__FSWORD_T_TYPE): Likewise.
13549 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13550 __SWORD_TYPE with __fsword_t.
13551 (statfs64): Likewise.
13552
1ba7c3dc
DM
135532012-05-17 David S. Miller <davem@davemloft.net>
13554
13555 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13556
59910343
AJ
135572012-05-17 Andreas Jaeger <aj@suse.de>
13558
13559 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13560 warning.
13561
2e4c1e9e
L
135622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13563
13564 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13565
de7f5ce7
AJ
135662012-05-17 Andreas Jaeger <aj@suse.de>
13567
13568 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13569 when it is used.
13570
286abc3d
CM
135712012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13572
13573 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13574
477cc68e
L
135752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13576
13577 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13578 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13579
1a0994f5
CD
135802012-05-17 Andreas Jaeger <aj@suse.de>
13581 Carlos O'Donell <carlos_odonell@mentor.com>
13582
13583 [BZ #14059]
13584 * sysdeps/x86_64/multiarch/init-arch.h
13585 (bit_YMM_Usable): Rename to...
13586 (bit_AVX_Usable): ... this.
13587 (bit_FMA4_Usable): New macro.
13588 (bit_XMM_state): New macro.
13589 (bit_YMM_state): New macro.
13590 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13591 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13592 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13593 (CPUID_OSXSAVE): New macro.
13594 (CPUID_AVX): New macro.
13595 (CPUID_FMA4): New macro.
13596 (index_YMM_Usable): Rename to...
13597 (index_AVX_Usable): ... this.
13598 (HAS_AVX): Use HAS_ARCH_FEATURE.
13599 (HAS_FMA4): Likewise.
13600 (HAS_YMM_USABLE): Remove.
13601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13602 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13603 are present.
13604 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13605 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13606 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13607 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13608 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13609
0af797de
CM
136102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13611
13612 * math/libm-test.c: Support platforms without multiple rounding modes.
13613 * math/bug-nextafter.c: Support platforms without FP exceptions.
13614 * math/bug-nexttoward.c: Likewise.
13615 * math/test-fenv.c: Likewise.
13616 * math/test-misc.c: Likewise.
13617 * stdlib/bug-getcontext.c: Likewise.
13618
e39745ff
AJ
136192012-05-17 Andreas Jaeger <aj@suse.de>
13620
13621 * manual/examples/search.c (critter_cmp): Change signature to
13622 avoid warnings.
13623 * manual/string.texi (Collation Functions): Likewise.
13624
48970aba
L
136252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13626
13627 * bits/types.h: Fold copyright years.
13628 * bits/typesizes.h: Likewise.
13629 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13633 * time/time.h: Likewise.
13634
bedee953
PP
136352012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13636
13637 [BZ #208]
13638 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13639 in instead of returning them. Return void.
13640 (__libc_mallinfo): Accumulate over all arenas.
13641 (__malloc_stats): Adjust for change in int_mallinfo interface.
13642
61653dfb
RM
136432012-05-16 Roland McGrath <roland@hack.frob.com>
13644
30b99d79
RM
13645 [BZ #10375]
13646 * configure.in (NM): Add AC_CHECK_TOOL for it.
13647 (libc_extra_cflags): New substituted variable.
13648 Check for -fstack-protector being used implicitly.
13649 * configure: Regenerated.
13650 * config.make.in (config-extra-cflags): New variable,
13651 gets @libc_extra_cflags@.
13652 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13653
61653dfb
RM
13654 [BZ #10375]
13655 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13656 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13657 * configure: Regenerated.
13658 * config.make.in (CPPUNDEFS): New substituted variable.
13659 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13660 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13661 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13662
661768bb
L
136632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13664
13665 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13666 (mq_attr): Use __syscall_slong_t.
13667
d4261567
L
136682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13669
13670 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13671 Check __x86_64__ instead of __WORDSIZE.
13672 (_STAT_VER_LINUX): Likewise.
13673 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13674 __syscall_ulong_t and __syscall_slong_t.
13675 (stat64): Likewise.
13676
cf3ff365
L
136772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13678
13679 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13680
76cf3e4d
L
136812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13682
13683 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13684
a637753a
L
136852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13686
13687 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13688 __syscall_ulong_t.
13689
d5e05119
L
13690 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13691 include <bits/wordsize.h>. Check __x86_64__ instead of
13692 __WORDSIZE.
13693 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13694 defined.
13695 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13696
f62ee380
L
13697 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13698 include <bits/wordsize.h>. Check __x86_64__ instead of
13699 __WORDSIZE.
13700 (user_regs_struct): Use "__extension__ unsigned long long"
13701 instead of "unsigned long" if __x86_64__ is defined.
13702 (user): Likewise. Pad after pointer field if __ILP32__ is
13703 defined.
13704
4e124ced
JM
137052012-05-16 Joseph Myers <joseph@codesourcery.com>
13706
6a3951a0
JM
13707 * configure.in (makeinfo): Require version 4.5 or later. Allow
13708 versions 5 to 9.
13709 * configure: Regenerated.
13710 * manual/install.texi (texinfo): Increase version requirement to
13711 4.5 or later.
13712 * INSTALL: Regenerated.
13713
4e124ced
JM
13714 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13715
953ca31a
L
137162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13717
13718 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13719
617aca05
L
13720 * sysdeps/x86_64/x32/ffs.c: New file.
13721
5762f7ae
L
13722 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13723 __syscall_ulong_t.
13724 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13725 defined. Use __syscall_ulong_t.
13726 (shminfo): Use __syscall_ulong_t.
13727 (shm_info): Likewise.
13728
a26b6856
L
13729 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13730 __syscall_ulong_t.
13731
cb2b9ef7
L
13732 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13733 <bits/wordsize.h>.
13734 (msgqnum_t): Use __syscall_ulong_t.
13735 (msglen_t): Likewise.
13736 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13737 __syscall_ulong_t.
13738
34683bb0
L
13739 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13740 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13741
84a68786
L
13742 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13743
48baa5f1
L
13744 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13745 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13746
180be88b
L
13747 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13748 __syscall_slong_t.
13749
5e90c8ad
L
13750 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13751 include <bits/wordsize.h>. Check __x86_64__ instead of
13752 __WORDSIZE.
13753
23dfb58b
L
13754 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13755 "unsigned long long int" if __x86_64__ is defined.
13756 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13757
ce5d54b0
L
13758 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13759 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13760 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13761
13dc9eac
L
13762 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13763 <stdint.h>.
13764 (GET_PC): Cast to uintptr_t first.
13765 (GET_FRAME): Likewise.
13766 (GET_STACK): Likewise.
13767
a7895d15
L
13768 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13769 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13771 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13773 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13774 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13775 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13776 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13777 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13778 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13779 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13780 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13781 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13782 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13783 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13784 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13785 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13786 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13787 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13788 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13789 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13790 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13791 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13792 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13793 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13794 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13795 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13796 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13797
656416c9
AS
137982012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13799
5bd66283
AS
13800 * Makerules (+depfiles): Also collect depfiles from .oS in
13801 $(extra-objs).
13802 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13803 .oS, $(libnldbl-routines)).
13804
656416c9
AS
13805 * Makerules (native-compile-mkdep-flags): Define.
13806 * sunrpc/Makefile (extra-objs): Add $(addprefix
13807 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13808 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13809 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13810 calling $(make-target-directory).
13811
a46f2169
L
138122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13813
13814 * bits/types.h (__snseconds_t): Removed.
13815 * time/time.h (struct timespec): Replace __snseconds_t with
13816 __syscall_slong_t.
13817 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13818 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13819 Likewise.
13820 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13821 (__SNSECONDS_T_TYPE): Likewise.
13822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13823 (__SNSECONDS_T_TYPE): Likewise.
13824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13825 (__SNSECONDS_T_TYPE): Likewise.
13826
6af6528b
L
138272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13828
13829 * sysdeps/mach/hurd/bits/typesizes.h
13830 (__SYSCALL_SLONG_TYPE): New macro.
13831 (__SYSCALL_ULONG_TYPE): Likewise.
13832
de986b56
L
138332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13834
13835 * bits/types.h (__syscall_slong_t): New type.
13836 (__syscall_ulong_t): Likewise.
13837
13838 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13839 (__SYSCALL_ULONG_TYPE): Likewise.
13840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13841 (__SYSCALL_SLONG_TYPE): Likewise.
13842 (__SYSCALL_ULONG_TYPE): Likewise.
13843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13844 (__SYSCALL_SLONG_TYPE): Likewise.
13845 (__SYSCALL_ULONG_TYPE): Likewise.
13846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13847 (__SYSCALL_SLONG_TYPE): Likewise.
13848 (__SYSCALL_ULONG_TYPE): Likewise.
13849
85736dc7
L
138502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13851
13852 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13853 Add sigaltstack-offsets.sym.
13854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13855 <sigaltstack-offsets.h>.
13856 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13857 longjmp_msg pointer.
13858 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13859 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13860 signal stack.
13861 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13862
cc03b296
JM
138632012-05-15 Joseph Myers <joseph@codesourcery.com>
13864
a9538892
JM
13865 * elf/stackguard-macros.h: Remove file.
13866 * sysdeps/generic/stackguard-macros.h: New file.
13867 * sysdeps/i386/stackguard-macros.h: Likewise.
13868 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13869 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13870 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13871 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13872 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13873 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13874 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13875 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13876 <elf/stackguard-macros.h>.
13877
cc03b296
JM
13878 [BZ #14109]
13879 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13880 __aligned__ in attribute.
13881 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13882 (gregset_t): Likewise.
13883
93171016
L
138842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13885
13886 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13887 * sysdeps/x86_64/64/Implies-after: Here. New file.
13888 * sysdeps/x86_64/x32/Implies-after: New file.
13889
d86813a0
L
138902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13891
13892 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13893 and access return value for _dl_profile_fixup. Use R10_LP to
13894 load frame size.
13895
2953ec75
L
138962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13897
13898 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13899
3b550e9e
L
139002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13901
13902 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13903 * sysdeps/x86_64/x32/sysdep.h: New file.
13904
eda41706
L
139052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13906
13907 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13908 * sysdeps/x86_64/setjmp.S: Likewise.
13909
9ea01d93
AZ
139102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13911
13912 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13913 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13914 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13915 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13916 remove unused global constant.
13917
02a91938
CM
139182012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13919
13920 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13921 include of <not-cancel.h>.
13922
6540185f
RM
139232012-05-15 Roland McGrath <roland@hack.frob.com>
13924
13925 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13926
509072a0
AJ
139272012-05-15 Jeff Law <law@redhat.com>
13928 Andreas Jaeger <aj@suse.de>
13929
13930 [BZ #13594]
13931 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13932 out from...
13933 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13934 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13935 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13936 code changing __hst_map_handle.map.
13937
ba75122d
RM
139382012-05-15 Roland McGrath <roland@hack.frob.com>
13939
13940 * configure.in (sysnames): Look for Implies-before and Implies-after
13941 files.
13942 * configure: Regenerated.
13943
890d8bd8
L
139442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13945
13946 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13947 8-byte data alignment with LP_SIZE alignment.
13948
f6ee6623
L
139492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13950
13951 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13952 into R10_LP.
13953
ea2626f6
L
139542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13955
13956 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13957
085f715e
L
139582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13959
13960 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13961 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13962 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13963 Likewise.
13964 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13965
be8498fc
L
139662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13967
13968 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13969 (stackinfo_sub_sp): Likewise.
13970
70bc83b9
L
139712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13972
13973 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13974 RAX_LP.
13975
9bc0b730
L
139762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13977
13978 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13979 into R*_LP.
13980
6d2850e7
L
139812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13982
13983 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13984 sizes into R*_LP.
13985
3cb84561
L
139862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13987
13988 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13989
54e2ed81
L
139902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13991
13992 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13993 into R11_LP and load __x86_64_shared_cache_size_half into
13994 R8_LP.
13995
8a17f349
L
139962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13997
13998 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13999 R8_LP.
14000
777b1eea
AZ
140012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14002
14003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14004 logb for POWER7.
14005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14006 logbf for POWER7.
14007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14008 logbl for POWER7.
14009 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14010 powerpc32/power7/fpu/s_logb.c via #include.
14011 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14012 powerpc32/power7/fpu/s_logbf.c via #include.
14013 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14014 powerpc32/power7/fpu/s_logbl.c via #include.
14015
d20d4ac2
JM
140162012-05-15 Joseph Myers <joseph@codesourcery.com>
14017
14018 * README.libm: Remove file.
14019
6cdef1ab
L
140202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14021
14022 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14023 count for x32. Use R*_LP and omit operand-size suffix.
14024
0b254d8f
L
140252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14026
14027 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14028 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14029 * sysdeps/x86_64/x32/shlib-versions: New file.
14030
ceb809dc
RM
140312012-05-14 Roland McGrath <roland@hack.frob.com>
14032
14033 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14034 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14035 Use _dl_fatal_printf instead.
14036
37f1abd4
JM
140372012-05-14 Joseph Myers <joseph@codesourcery.com>
14038
14039 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14040 set if not set by the user. Do not allow for being unset.
14041 * sysdeps/unix/sysv/linux/configure: Regenerated.
14042
11de3a33
L
140432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14044
14045 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14046 the `q' suffix from lea and replace .quad with ASM_ADDR.
14047
e02f153a
L
140482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14049
14050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14051 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14052 instead of $17.
14053 (PTR_DEMANGLE): Likewise.
14054
520ae0fd
L
140552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14056
14057 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14058 (LP_OP): Likewise.
14059 (ASM_ADDR): Likewise.
14060 (RAX_LP): Likewise.
14061 (RBP_LP): Likewise.
14062 (RBX_LP): Likewise.
14063 (RCX_LP): Likewise.
14064 (RDI_LP): Likewise.
14065 (RSI_LP): Likewise.
14066 (RSP_LP): Likewise.
14067 (R8_LP): Likewise.
14068 (R9_LP): Likewise.
14069 (R10_LP): Likewise.
14070 (R10_LP): Likewise.
14071 (R11_LP): Likewise.
14072 (R12_LP): Likewise.
14073 (R13_LP): Likewise.
14074 (R14_LP): Likewise.
14075 (R15_LP): Likewise.
14076
b985be81
L
140772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14078
14079 * sysdeps/x86_64/x32/dl-machine.h: New file.
14080
6a4888ff
AJ
140812012-05-14 Andreas Jaeger <aj@suse.de>
14082
14083 * manual/Makefile (subdir): Remove export of subdir.
14084 (all): Remove target.
14085 (.PHONY): Remove all from list.
14086 (mkinstalldirs): Remove.
14087 (.PHONY): Remove installdirs from list.
14088 ($(inst_infodir)/libc.info): Use make-target-directory.
14089 (installdirs): Remove.
14090 (subdir_%): Remove.
14091 (glibc-targets): Remove.
14092 (lib): Remove.
14093 (stubs): Remove.
14094 ($(objpfx)stubs ../po/manual.pot): Remove.
14095 ($(objpfx)stamp%): Remove.
14096 (make-target-directory): Remove.
14097 (subdir_install): Remove.
14098 (routines): Remove.
14099 (aux): Remove.
14100 (sources): Remove.
14101 (objects): Remove.
14102 (headers): Remove.
14103
14104 [BZ #13750]
14105 * manual/.gitignore: Remove, it's not needed anymore.
14106 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14107 all files in it.
14108 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14109 directory.
14110 (texis): Renamed to $(objpfx)texis.
14111 (texis-path): New, contains path to generated files.
14112 (chapters.%): Use texis-path for complete path, add extra argument
14113 libc-texinfo.sh.
14114 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14115 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14116 (summary,texi, stamp-summary): Use complete path of
14117 files. Generate files in build dir.
14118 (dir-add.texi): Build in build dir.
14119 (libm-err.texi,stamp-libm-err): Likewise.
14120 (version.texi, stamp-version): Likewise.
14121 (.%c.texi): Likewise.
14122 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14123 (mostlyclean): Remove target.
14124 (realclean): Remove target.
14125 (generated): Add new variable with contents from mostlyclean and
14126 realclean, remove entries duplicated in common-mostlyclean, add
14127 stamp-libm-err and stamp-version.
14128 (generated-dirs): Add libc directory.
14129 ($(inst_infodir)/libc.info): Install files from build dir.
14130
14131 * manual/install.texi (Configuring and compiling): Adjust since
14132 the info files are not part of the tar ball anymore.
14133
7ac77294
AJ
141342012-05-14 Andreas Jaeger <aj@suse.de>
14135
14136 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14137 variable.
14138
ffb7875d
JM
141392012-05-14 Joseph Myers <joseph@codesourcery.com>
14140
14141 [BZ #13717]
14142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14143 to 2.2.0 where earlier.
14144 * sysdeps/unix/sysv/linux/configure: Regenerated.
14145 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14146 Remove conditional code.
14147 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14148 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14149 Remove conditional code.
14150 [!__NR_lchown]: Likewise.
14151 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14152 [__NR_lchown]: Likewise.
14153 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14154 comment referencing __ASSUME_LCHOWN_SYSCALL.
14155 * sysdeps/unix/sysv/linux/i386/sigaction.c
14156 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14157 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14158 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14159 Remove conditional code.
14160 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14161 (__protocol_available): Remove #if 0 code.
14162 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14163 conditional code.
14164 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14165 * sysdeps/unix/sysv/linux/kernel-features.h
14166 (__ASSUME_GETCWD_SYSCALL): Don't define.
14167 (__ASSUME_REALTIME_SIGNALS): Likewise.
14168 (__ASSUME_PREAD_SYSCALL): Likewise.
14169 (__ASSUME_PWRITE_SYSCALL): Likewise.
14170 (__ASSUME_POLL_SYSCALL): Likewise.
14171 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14172 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14173 non-SPARC.
14174 (__ASSUME_SIOCGIFNAME): Don't define.
14175 (__ASSUME_MSG_NOSIGNAL): Likewise.
14176 (__ASSUME_SENDFILE): Define unconditionally.
14177 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14178 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14179 conditional code.
14180 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14181 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14182 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14183 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14184 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14185 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14186 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14188 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14191 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14194 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14197 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14200 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14203 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14211 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14212 Remove conditional code.
14213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14214 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14215 Remove conditional code.
14216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14217 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14218 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14219 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14220 Remove conditional code.
14221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14222 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14223 Remove conditional code.
14224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14225 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14226 Remove conditional code.
14227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14228 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14229 Remove conditional code.
14230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14231 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14232 Remove conditional code.
14233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14234 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14237 * sysdeps/unix/sysv/linux/sigaction.c
14238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14240 * sysdeps/unix/sysv/linux/sigpending.c
14241 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14242 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14243 * sysdeps/unix/sysv/linux/sigprocmask.c
14244 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14245 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14246 * sysdeps/unix/sysv/linux/sigsuspend.c
14247 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14248 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14249 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14250 (__libc_missing_rt_sigs): Remove.
14251 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14252 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14253 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14254 Remove conditional code.
14255 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14256 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14257 return 1.
14258 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14259 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14260 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14261 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14262
1bfb7291
AJ
142632012-05-14 Andreas Jaeger <aj@suse.de>
14264
caae5a81
AJ
14265 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14266 it's not used in glibc.
14267 (__coshm1): Likewise.
14268 (__acosh1p): Likewise.
14269 (__sgn): Likewise.
14270
1bfb7291
AJ
14271 * manual/string.texi (Copying and Concatenation): Add missing
14272 variable in concat example.
14273 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14274
c044d724
L
142752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14276
144c5467 14277 [BZ #14103]
c044d724
L
14278 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14279 __builtin_clzl with __builtin_clzll.
14280
2523c62b
L
142812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14282
14283 [BZ #14104]
14284 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14285 libc_freeres_ptr.
14286
d7bb4c42
LD
142872012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14288
14289 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14290 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14291 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14292 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14293
9dc4e1fb
MF
142942012-05-14 Mike Frysinger <vapier@gentoo.org>
14295
14296 * NEWS: Update ia64 info.
14297
c7df0112
AS
142982012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14299
14300 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14301 used as bcopy.
14302
dc70356c
TS
143032012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14304
14305 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14306 * sysdeps/unix/syscalls.list (dup3): Likewise.
14307 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14308 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14309
9fb1a21f
L
143102012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14311
14312 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14313 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14314
4822a2a5
L
143152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14316
14317 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14318 thread pointer.
14319 (TLS_IE): Use mov/add instead of movq/addq to load thread
14320 pointer.
14321 (TLS_GD_PREFIX): New.
14322 (TLS_GD): Use it.
14323
842b81d6
DM
143242012-05-11 David S. Miller <davem@davemloft.net>
14325
14326 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14327 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14328 (_FPU_SETCW): Likewise.
14329
1cf463cd
L
143302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14331
14332 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14333 is 32-byte aligned.
14334
60cc4a18
AS
143352012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14336
14337 [BZ #11837]
14338 * iconvdata/gb18030.c: Update tables.
14339 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14340 characters specially.
14341 (BODY for TO_LOOP): Add encoding of missing ranges.
14342
febb44a4
TS
143432012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14344
14345 [BZ #13673]
14346 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14347 * sysdeps/mach/hurd/dup3.c: Likewise.
14348 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14349 * sysdeps/powerpc/memmove.c:: Likewise.
14350
0a10fb9e
L
143512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14352
14353 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14354 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14355
df8a552f
L
143562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14357
14358 * elf/elf.h (R_X86_64_RELATIVE64): New.
14359 (R_X86_64_NUM): Updated.
14360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14361 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14362 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14363 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14364 tst-quad1pie tst-quad2pie
14365 (modules-names): Add tst-quadmod1 tst-quadmod2.
14366 ($(objpfx)tst-quad1): New dependency.
14367 ($(objpfx)tst-quad2): Likewise.
14368 ($(objpfx)tst-quad1pie): Likewise.
14369 ($(objpfx)tst-quad2pie): Likewise.
14370 * sysdeps/x86_64/tst-quad1.c: New file.
14371 * sysdeps/x86_64/tst-quad1pie.c: New file.
14372 * sysdeps/x86_64/tst-quad2.c: Likewise.
14373 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14374 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14375 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14376 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14377 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14378
f34d6f84
ST
143792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14380
f42d41d1
ST
14381 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14382 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14383 * streams/stropts.h (t_scalar_t): Define type.
14384
3c3571fc
ST
14385 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14386 (_PATH_PRESERVE): Set to "/var/lib".
14387 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14388
61f06bd3
ST
14389 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14390 instead of int.
14391
918d4d71
ST
14392 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14393 if __dir_mkfile succeeded.
14394
f34d6f84
ST
14395 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14396 checking for _hurd_dtablesize. Unlock it right after having
14397 finished _hurd_dtable allocation.
14398
10589b4a
TS
143992012-05-10 Thomas Schwinge <thomas@schwinge.name>
14400
674cdbc7
TS
14401 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14402 * sysdeps/mach/hurd/configure: Regenerated.
14403 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14404 special-casing to...
14405 * sysdeps/gnu/configure.in: ... this new file.
14406 * sysdeps/unix/sysv/linux/configure: Regenerated.
14407 * sysdeps/gnu/configure: New generated file.
14408
8e41b99f
TS
14409 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14410 for Linux: use nsec instead of usec, as well as:
14411 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14412 members of type struct timespec.
14413 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14414 New macros.
14415 (struct stat64): Likewise.
14416 (_STATBUF_ST_NSEC): New macro.
14417 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14418
10589b4a
TS
14419 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14420 __strtoul_internal rather than strtoul.
14421
63643c85
PT
144222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14423
14424 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14425 and reject them.
14426
3faebe6a
ST
144272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14428
14429 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14430 which preserves existing values.
14431 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14432
c6474b07
PT
144332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14434
14435 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14436 TIMEOUT values. Return EINVAL for NFDS values either negative or
14437 greater than FD_SETSIZE.
14438
1043890b
ST
144392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14440
14441 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14442 allocated, call __vm_protect to finish enabling the existing space, and
14443 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14444 allocate the remainder.
14445
37ed8b9b
PT
144462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14447
14448 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14449 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14450
db653660
ST
144512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14452
37ed8b9b
PT
14453 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14454 sysdeps/mach/hurd/readlink.c.
b29d4053 14455
db653660
ST
14456 * posix/tst-sysconf.c (posix_options): Only use
14457 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14458 _POSIX_SYNCHRONIZED_IO when they are defined
14459 * sysdeps/mach/hurd/bits/posix_opt.h:
14460 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14461 (_XOPEN_REALTIME): Undefine macro.
14462 (_XOPEN_REALTIME_THREADS): Undefine macro.
14463 (_XOPEN_SHM): Undefine macro.
14464 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14465 macro to -1.
14466 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14467 macro to -1.
14468 (_POSIX_ASYNC_IO): Undefine macro.
14469 (_POSIX_PRIORITIZED_IO): Undefine macro.
14470 (_POSIX_SPIN_LOCKS): Define macro to -1.
14471
ee16e894
ST
14472 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14473 SA_NODEFER, SA_RESETHAND.
14474 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14475 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14476 F_DUPFD_CLOEXEC.
14477
6103ae3b
TS
144782012-05-10 Thomas Schwinge <thomas@schwinge.name>
14479
14480 * elf/Makefile (pldd-modules): Define unconditionally.
14481
80b4e5f3
TS
144822012-05-10 Thomas Schwinge <thomas@schwinge.name>
14483
14484 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14485
edadcbd6
ST
144862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14487
14488 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14489 Return ENOENT when name is empty.
14490 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14491
80694780
TS
144922012-05-10 Thomas Schwinge <thomas@schwinge.name>
14493
1792c087
TS
14494 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14495
80694780
TS
14496 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14497
6b645f0d
ST
144982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14499
80694780
TS
14500 Fix mlock in all cases except non-readable pages.
14501 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14502 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14503
6b645f0d
ST
14504 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14505 (__mkdir): When path is `/', just fail with EEXIST.
14506 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14507
e468f8a3
TS
145082012-05-10 Thomas Schwinge <thomas@schwinge.name>
14509
14510 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14511 <sys/uio.h> (for writev).
14512 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14513 and <sys/param.h> (for MIN).
14514
a4186cff
PT
145152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14516
14517 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14518 REQUESTED_TIME. Properly set the remaining time and return EINTR
14519 if interrupted.
14520
510bbf14
TS
145212012-05-10 Thomas Schwinge <thomas@schwinge.name>
14522
14523 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14524 Depend on against $(link-rpcuserlibs).
14525
5d5722e8
ST
145262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14527
a4186cff
PT
14528 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14529 (__libc_stack_end): Do not use attribute_relro.
14530 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14531 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14532 to libthread-provided value.
a4186cff
PT
14533 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14534 attribute_relro.
5d5722e8 14535
37233df9
TS
145362012-05-10 Thomas Schwinge <thomas@schwinge.name>
14537
be971a2b
TS
14538 [BZ #3748]
14539 * bits/libc-lock.h (__libc_once_get): New macro.
14540 * sysdeps/mach/bits/libc-lock.h: Likewise.
14541 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14542 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14543 instead of using implementation details.
14544
37233df9
TS
14545 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14546 * libio/freopen.c: Likewise.
14547 * libio/freopen64.c: Likewise.
14548 * misc/syslog.c: Likewise.
14549 * nscd/connections.c: Likewise.
14550 * nscd/netgroupcache.c: Likewise.
14551 * sysdeps/posix/getcwd.c: Likewise.
14552
38de94a5
RM
145532012-05-10 Roland McGrath <roland@hack.frob.com>
14554
14555 * math/w_ilogbf.c: Add #include <limits.h>.
14556
67530489
ST
145572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14558
a4186cff 14559 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14560 path instead of returning without unlocking.
14561
67530489
ST
14562 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14563 immediate-write ioctls.
14564 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14565
5aa3a74a
TS
145662012-05-10 Thomas Schwinge <thomas@schwinge.name>
14567
18bad2ae
TS
14568 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14569 __builtin_frame_address instead of making assumptions about the
14570 location of the return address relative to DATA. Force early load of
14571 the return address.
14572 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14573 __builtin_frame_address.
14574
5aa3a74a
TS
14575 dup3 for GNU Hurd.
14576 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14577 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14578 implement dup3 and do some further code clean-ups.
14579 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14580 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14581
ecd0de9a
ST
145822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14583
cd9fa985
ST
14584 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14585
a4186cff
PT
14586 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14587 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14588 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14589 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14590 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14591 d->port.lock.
802ca5a5 14592
a4186cff
PT
14593 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14594 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14595 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14596
bcf55240
TS
145972012-05-10 Thomas Schwinge <thomas@schwinge.name>
14598
6960eb42
TS
14599 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14600 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14601 definitions.
14602
eb43375f
TS
14603 accept4 for GNU Hurd.
14604 * include/sys/socket.h (__libc_accept4): New prototype.
14605 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14606 to implement __libc_accept4.
14607 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14608 __libc_accept4.
14609 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14610
bcf55240
TS
14611 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14612 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14613 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14614 signal-defines.sym.
14615
6178c55b
ST
146162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14617
a4186cff 14618 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14619
6f080c2f
TS
146202012-05-10 Thomas Schwinge <thomas@schwinge.name>
14621
14622 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14623 assertion on O_CLOEXEC flag.
14624 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14625 * hurd/intern-fd.c: Likewise.
14626 * hurd/port2fd.c: Likewise.
14627
bcfe3a54
ST
146282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14629
14630 [BZ #3906]
14631 * bits/in.h (IPV6_PKTINFO): Define new macro.
14632 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14633
89c9aa49
AZ
146342012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14635
14636 [BZ #13954]
14637 [BZ #13955]
14638 [BZ #13956]
14639 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14641 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14642 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14643 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14644 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14645 * math/libm-test.inc (logb_test) : Additional logb tests.
14646
021db4be
AJ
146472012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14648 Andreas Jaeger <aj@suse.de>
14649
14650 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14651 * configure: Regenerated.
14652 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14653 * config.make.in (link-obsolete-rpc): New substituted variable.
14654 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14655 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14656 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14657 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14658 so that libc.a contains the symbols.
14659 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14660 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14661 * sunrpc/auth_none.c: Likewise.
14662 * sunrpc/auth_unix.c: Likewise.
14663 * sunrpc/authdes_prot.c: Likewise.
14664 * sunrpc/authuxprot.c: Likewise.
14665 * sunrpc/clnt_gen.c: Likewise.
14666 * sunrpc/clnt_perr.c: Likewise.
14667 * sunrpc/clnt_raw.c: Likewise.
14668 * sunrpc/clnt_simp.c: Likewise.
14669 * sunrpc/clnt_tcp.c: Likewise.
14670 * sunrpc/clnt_udp.c: Likewise.
14671 * sunrpc/clnt_unix.c: Likewise.
14672 * sunrpc/des_crypt.c: Likewise.
14673 * sunrpc/des_soft.c: Likewise.
14674 * sunrpc/get_myaddr.c: Likewise.
14675 * sunrpc/key_call.c: Likewise.
14676 * sunrpc/key_prot.c: Likewise.
14677 * sunrpc/netname.c: Likewise.
14678 * sunrpc/pm_getmaps.c: Likewise.
14679 * sunrpc/pm_getport.c: Likewise.
14680 * sunrpc/pmap_clnt.c: Likewise.
14681 * sunrpc/pmap_prot.c: Likewise.
14682 * sunrpc/pmap_prot2.c: Likewise.
14683 * sunrpc/pmap_rmt.c: Likewise.
14684 * sunrpc/publickey.c: Likewise.
14685 * sunrpc/rpc_cmsg.c: Likewise.
14686 * sunrpc/rpc_common.c: Likewise.
14687 * sunrpc/rpc_dtable.c: Likewise.
14688 * sunrpc/rpc_prot.c: Likewise.
14689 * sunrpc/rpc_thread.c: Likewise.
14690 * sunrpc/rtime.c: Likewise.
14691 * sunrpc/svc.c: Likewise.
14692 * sunrpc/svc_auth.c: Likewise.
14693 * sunrpc/svc_raw.c: Likewise.
14694 * sunrpc/svc_run.c: Likewise.
14695 * sunrpc/svc_tcp.c: Likewise.
14696 * sunrpc/svc_udp.c: Likewise.
14697 * sunrpc/svc_unix.c: Likewise.
14698 * sunrpc/svcauth_des.c: Likewise.
14699 * sunrpc/xcrypt.c: Likewise.
14700 * sunrpc/xdr.c: Likewise.
14701 * sunrpc/xdr_array.c: Likewise.
14702 * sunrpc/xdr_float.c: Likewise.
14703 * sunrpc/xdr_intXX_t.c: Likewise.
14704 * sunrpc/xdr_mem.c: Likewise.
14705 * sunrpc/xdr_rec.c: Likewise.
14706 * sunrpc/xdr_ref.c: Likewise.
14707 * sunrpc/xdr_sizeof.c: Likewise.
14708 * sunrpc/xdr_stdio.c: Likewise.
14709
b5c086a2
RM
147102012-05-10 Roland McGrath <roland@hack.frob.com>
14711
14712 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14713 change. Update copyright years.
14714
6d74dd09
JM
147152012-05-10 Joseph Myers <joseph@codesourcery.com>
14716
14717 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14718
28e72501
MK
147192012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14720 Joseph Myers <joseph@codesourcery.com>
14721 Paul Pluzhnikov <ppluzhnikov@google.com>
14722
14723 [BZ #14012]
14724 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14725 requiring rpcgen.
14726 [cross-compiling] (extra-libs): Likewise.
14727 [cross-compiling] (extra-libs-others): Likewise.
14728 [cross-compiling] (librpcsvc-routines): Likewise.
14729 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14730 [cross-compiling] (omit-deps): Likewise.
14731 (sunrpc-CPPFLAGS): New variable.
14732 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14733 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14734 (cross-rpcgen-objs): New variable.
14735 (extra-objs): Append $(cross-rpcgen-objs).
14736 ($(cross-rpcgen-objs)): New rule.
14737 ($(objpfx)cross-rpcgen): Likewise.
14738 (rpcgen-cmd): Define to use $(built-program-file). Expand
14739 comment.
14740 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14741 ($(objpfx)x%.stmp): Likewise.
14742 * sunrpc/proto.h [IS_IN_build] (_): Define.
14743 [IS_IN_build] (_libc_intl_domainname): Likewise.
14744
c8c59454
L
147452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14746
14747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14748 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14749 and R_X86_64_TPOFF64.
14750
6f27cd16
JM
147512012-05-10 Joseph Myers <joseph@codesourcery.com>
14752
14753 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14754 sysdeps/unix/sysv/syscalls.list.
14755 (stime): Likewise.
14756 (utime): Likewise.
14757 * sysdeps/unix/sysv/syscalls.list: Remove file.
14758
02467e1c
PE
147592012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14760
14761 [BZ #3440]
14762 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14763 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14764 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14765 (__LC_IDENTIFICATION): Make these macros useful in #if
14766 expressions, as required by C99.
14767
da392631
AS
147682012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14769
14770 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14771 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14772 after this.
14773
8115f29b
L
147742012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14775
14776 * stdlib/longlong.h: Updated from GCC.
14777
bdd74070
AJ
147782012-05-09 Andreas Jaeger <aj@suse.de>
14779
edfe0dbe
AJ
14780 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14781 default is first entry.
14782 (run_mode): Set type.
14783 (main): Remove informal message about syslog.
14784 (options): Fix typo.
14785
bcfe3a54
ST
14786 [BZ #14053]
14787 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14788 to asm.
bcfe3a54
ST
14789 (lrint): Likewise.
14790 (llrintf): Likewise.
14791 (llrint): Likewise.
14792 (rint): Likewise.
14793 (rintf): Likewise.
14794 (nearbyint): Likewise.
14795 (nearbyintf): Likewise.
bdd74070 14796
91d8d69e
AJ
147972012-05-09 Andreas Jaeger <aj@suse.de>
14798 Pedro Alves <palves@redhat.com>
14799
14800 * nscd/nscd.c (run_mode): Use enum.
14801 (main): Cleanup coding style issue.
14802
bb90b80b
AJ
148032012-05-09 Alexandre Oliva <aoliva@redhat.com>
14804 Andreas Jaeger <aj@suse.de>
14805
bcfe3a54
ST
14806 * nscd/nscd.c (go_background): Replaced with...
14807 (run_mode): ... this.
bb90b80b 14808 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14809 (options): Add -F --foreground.
14810 (main): Implement it.
14811 (parse_opt): Parse it.
bb90b80b 14812
1a4b75a1
AJ
148132012-05-09 Andreas Jaeger <aj@suse.de>
14814
14815 [BZ #14083]
14816 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14817 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14818 -Wconversion warning.
14819 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14820 Likewise.
14821
b1cc2472
JM
148222012-05-09 Joseph Myers <joseph@codesourcery.com>
14823
14824 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14825 == 0.
14826 (LC_ALL): Use macro-int-constant.
14827 (LC_COLLATE): Likewise.
14828 (LC_CTYPE): Likewise.
14829 (LC_MESSAGES): Likewise.
14830 (LC_MONETARY): Likewise.
14831 (LC_NUMERIC): Likewise.
14832 (LC_TIME): Likewise.
14833 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14834 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14836 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14837 Specify type.
14838 [C99-based standards] (float_t): Expect type.
14839 [C99-based standards] (double_t): Expect type.
14840 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14841 type.
14842 [C99-based standards] (HUGE_VALL): Likewise.
14843 [C99-based standards] (INFINITY): Likewise.
14844 [C99-based standards] (NAN): Likewise.
14845 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14846 [C99-based standards] (FP_NAN): Likewise.
14847 [C99-based standards] (FP_NORMAL): Likewise.
14848 [C99-based standards] (FP_SUBNORMAL): Likewise.
14849 [C99-based standards] (FP_ZERO): Likewise.
14850 [C99-based standards] (FP_FAST_FMA): Use
14851 optional-macro-int-constant. Specify type. Require == 1.
14852 [C99-based standards] (FP_FAST_FMAF): Likewise.
14853 [C99-based standards] (FP_FAST_FMAL): Likewise.
14854 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14855 [C99-based standards] (FP_ILOGBNAN): Likewise.
14856 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14857 Specify type.
14858 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14859 [C99-based standards] (math_errhandling): Specify type.
14860 [ISO99 || ISO11] (signgam): Do not allow.
14861 [non-C99-based standards] (copysignf): Do not allow.
14862 [non-C99-based standards] (exp2f): Likewise.
14863 [non-C99-based standards] (log2f): Likewise.
14864 [non-C99-based standards] (modff): Allow.
14865 [non-C99-based standards] (erff): Do not allow.
14866 [non-C99-based standards] (erfcf): Likewise.
14867 [non-C99-based standards] (gammaf): Likewise.
14868 [non-C99-based standards] (hypotf): Likewise.
14869 [non-C99-based standards] (j0f): Likewise.
14870 [non-C99-based standards] (j1f): Likewise.
14871 [non-C99-based standards] (jnf): Likewise.
14872 [non-C99-based standards] (lgammaf): Likewise.
14873 [non-C99-based standards] (tgammaf): Likewise.
14874 [non-C99-based standards] (y0f): Likewise.
14875 [non-C99-based standards] (y1f): Likewise.
14876 [non-C99-based standards] (ynf): Likewise.
14877 [non-C99-based standards] (isnanf): Likewise.
14878 [non-C99-based standards] (acoshf): Likewise.
14879 [non-C99-based standards] (asinhf): Likewise.
14880 [non-C99-based standards] (atanhf): Likewise.
14881 [non-C99-based standards] (cbrtf): Likewise.
14882 [non-C99-based standards] (expm1f): Likewise.
14883 [non-C99-based standards] (ilogbf): Likewise.
14884 [non-C99-based standards] (log1pf): Likewise.
14885 [non-C99-based standards] (logbf): Likewise.
14886 [non-C99-based standards] (nextafterf): Likewise.
14887 [non-C99-based standards] (remainderf): Likewise.
14888 [non-C99-based standards] (rintf): Likewise.
14889 [non-C99-based standards] (scalbf): Likewise.
14890 [non-C99-based standards] (copysignl): Likewise.
14891 [non-C99-based standards] (exp2l): Likewise.
14892 [non-C99-based standards] (log2l): Likewise.
14893 [non-C99-based standards] (modfl): Allow.
14894 [non-C99-based standards] (erfl): Do not allow.
14895 [non-C99-based standards] (erfcl): Likewise.
14896 [non-C99-based standards] (gammal): Likewise.
14897 [non-C99-based standards] (hypotl): Likewise.
14898 [non-C99-based standards] (j0l): Likewise.
14899 [non-C99-based standards] (j1l): Likewise.
14900 [non-C99-based standards] (jnl): Likewise.
14901 [non-C99-based standards] (lgammal): Likewise.
14902 [non-C99-based standards] (tgammal): Likewise.
14903 [non-C99-based standards] (y0l): Likewise.
14904 [non-C99-based standards] (y1l): Likewise.
14905 [non-C99-based standards] (ynl): Likewise.
14906 [non-C99-based standards] (isnanl): Likewise.
14907 [non-C99-based standards] (acoshl): Likewise.
14908 [non-C99-based standards] (asinhl): Likewise.
14909 [non-C99-based standards] (atanhl): Likewise.
14910 [non-C99-based standards] (cbrtl): Likewise.
14911 [non-C99-based standards] (expm1l): Likewise.
14912 [non-C99-based standards] (ilogbl): Likewise.
14913 [non-C99-based standards] (log1pl): Likewise.
14914 [non-C99-based standards] (logbl): Likewise.
14915 [non-C99-based standards] (nextafterl): Likewise.
14916 [non-C99-based standards] (remainderl): Likewise.
14917 [non-C99-based standards] (rintl): Likewise.
14918 [non-C99-based standards] (scalbl): Likewise.
14919 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14920 [non-C99-based standards] (FP_*): Do not allow.
14921 [C99-based standards] (FP_*): Change to
14922 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14923 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14924 allow.
14925 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14926 (SIG_ERR): Likewise.
14927 [X/Open-based standards] (SIG_HOLD): Likewise.
14928 (SIG_IGN): Likewise.
14929 (SIGABRT): Use macro-int-constant. Specify type. Require
14930 positive value.
14931 (SIGFPE): Likewise.
14932 (SIGILL): Likewise.
14933 (SIGINT): Likewise.
14934 (SIGSEGV): Likewise.
14935 (SIGTER): Likewise.
14936 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14937 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14938 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14939 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14940 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14941 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14942 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14943 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14944 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14945 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14946 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14947 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14948 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14949 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14950 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14951 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14952 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14953 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14954 [X/Open-based standards] (SIGTRAP): Likewise.
14955 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14956 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14957 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14958 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14959 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14960 allow.
14961
b9f1922d
IW
149622012-05-08 Ian Wienand <ianw@vmware.com>
14963
14964 [BZ #14080]
14965 * time/tzset.c (__tzset_parse_tz): Update default rules for
14966 daylight time changes in the Energy Policy Act of 2005.
14967
1db86e88
AJ
149682012-05-09 Andreas Jaeger <aj@suse.de>
14969
14970 [BZ #13983]
14971 * elf/ldconfig.c (parse_conf): Change string to make clear that
14972 ldconfig only issued a warning if ld.so.conf does not exist.
14973
dee4a4e3
DM
149742012-05-08 David S. Miller <davem@davemloft.net>
14975
ee0db190
DM
14976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14977 movxtod instead of popping the value on the stack.
14978
dee4a4e3
DM
14979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14980
6a43ec98
CD
149812012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14982
14983 * config.h.in: Add HAVE_ARM_PCS_VFP.
14984
05c2c961
RMG
149852012-05-08 Roland Mc Grath <roland@hack.frob.com>
14986
bcfe3a54
ST
14987 [BZ #13979]
14988 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14989 checking but the checks are disabled for any reason.
05c2c961 14990
4b30f61a
L
149912012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14992
14993 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14994 and ELF64_R_TYPE with ELFW(R_TYPE).
14995
eee2bc67
JM
149962012-05-08 Joseph Myers <joseph@codesourcery.com>
14997
7ea5391a
JM
14998 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14999 (ulimit): Likewise.
15000
eee2bc67
JM
15001 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15002 (settimeofday): Likewise.
15003
abb66a67
MF
150042012-05-08 Mike Frysinger <vapier@gentoo.org>
15005
15006 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15007 a struct th_u2 inside the union, and move tu_block/tu_code into
15008 a new th_u3 union of tu_block/tu_code inside of that. Move
15009 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15010 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15011 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15012 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15013 (th_stuff): Change to th_u1.tu_stuff.
15014 (th_data): Define.
15015 (th_msg): Change to th_u1.th_u2.tu_data.
15016
7f18b530
DM
150172012-05-07 David S. Miller <davem@davemloft.net>
15018
05760585
DM
15019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15020
7f18b530
DM
15021 [BZ #14074]
15022 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15023 (SETUP_PIC_REG): Use it.
15024 (SETUP_PIC_REG_LEAF): Use it.
15025
495fd99f
JM
150262012-05-07 Joseph Myers <joseph@codesourcery.com>
15027
15028 [BZ #13885]
15029 [BZ #13923]
15030 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15031 USE_AS_EXPM1L.
15032 (EXPL_FINITE): Likewise.
15033 (FLDLOG): Likewise.
15034 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15035 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15036 e_expl.S.
15037 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15038 USE_AS_EXPM1L.
15039 (EXPL_FINITE): Likewise.
15040 (FLDLOG): Likewise.
15041 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15042 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15043 e_expl.S.
15044 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15045 test of -max_value argument for long double.
15046 * sysdeps/i386/fpu/libm-test-ulps: Update.
15047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15048
6693d694
DM
150492012-05-06 David S. Miller <davem@davemloft.net>
15050
15051 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15052 quad soft-float symbols whose references which are compiler
15053 generated.
15054 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15055
6c23e11c
JM
150562012-05-06 Joseph Myers <joseph@codesourcery.com>
15057
d8b82cad
JM
15058 [BZ #13884]
15059 [BZ #13914]
15060 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15061 USE_AS_EXP10L.
15062 (EXPL_FINITE): Likewise.
15063 (FLDLOG): Likewise.
15064 (c0): Likewise.
15065 (c1): Likewise.
15066 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15067 Adjust comments for base varying.
15068 (__expl_finite): Change alias to EXPL_FINITE.
15069 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15070 e_expl.S.
15071 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15072 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15073 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15074 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15075 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15076 USE_AS_EXP10L.
15077 (EXPL_FINITE): Likewise.
15078 (FLDLOG): Likewise.
15079 (c0): Likewise.
15080 (c1): Likewise.
15081 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15082 Adjust comments for base varying.
15083 (__expl_finite): Change alias to EXPL_FINITE.
15084 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15085 tests for bugs.
15086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15087
6c23e11c
JM
15088 [BZ #14064]
15089 * math/libm-test.inc (check_float_internal): Correct ulp
15090 calculation for subnormal expected results.
15091
29ba805c
AJ
150922012-05-06 Andreas Jaeger <aj@suse.de>
15093
15094 * Makeconfig (+math-flags): New, set to -frounding-math.
15095 (+cflags): Add +math-flags so that all of glibc gets compiled with
15096 it.
15097
15098 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15099
7b17aeda
JM
151002012-05-05 Joseph Myers <joseph@codesourcery.com>
15101
5779f134
JM
15102 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15103 Disable one test.
15104
41498f4d
JM
15105 [BZ #13787]
15106 [BZ #13922]
15107 [BZ #14036]
15108 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15109 (__ieee754_expl): Allow for and saturate large arguments.
15110 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15111 (u_threshold): Likewise.
15112 (__exp): Call __ieee754_exp before checking for overflow and
15113 underflow.
15114 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15115 (u_threshold): Likewise.
15116 (__expf): Call __ieee754_expf before checking for overflow and
15117 underflow.
15118 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15119 (u_threshold): Likewise.
15120 (__expl): Call __ieee754_expl before checking for overflow and
15121 underflow.
15122 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15123 (__ieee754_expl): Allow for and saturate large arguments.
15124 * math/libm-test.inc (exp_test): Add another test. Do not allow
15125 missing overflow exception on overflow.
15126 (expm1_test): Do not allow missing overflow exception on overflow.
15127
6698b8bf
JM
15128 * sysdeps/i386/fpu/e_expl.c: Move to ...
15129 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15130 rather than using inline asm.
15131 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15132 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15133 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15134
7b17aeda
JM
15135 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15136 (nice): Likewise.
15137 (poll): Likewise.
15138 (signal): Likewise.
15139 (time): Likewise.
15140 (times): Likewise.
15141
f7c85819
JM
151422012-05-04 Joseph Myers <joseph@codesourcery.com>
15143
15144 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15145 sysdeps/unix/common/syscalls.list.
15146 (fchmod): Likewise.
15147 (fchown): Likewise.
15148 (ftruncate): Likewise.
15149 (getrusage): Likewise.
15150 (gettimeofday): Likewise.
15151 (setpgid): Likewise.
15152 (setregid): Likewise.
15153 (setreuid): Likewise.
15154 (sigaction): Likewise.
15155 (truncate): Likewise.
15156 (vhangup): Likewise.
15157 * sysdeps/unix/common/syscalls.list: Remove file.
15158 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15159 * sysdeps/unix/sysv/linux/Implies: Likewise.
15160
336270d0
L
151612012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15162
15163 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15165 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15166 Moved to ...
15167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15168 Here.
15169 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15170 to ...
15171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15172 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15173 to ...
15174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15175 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15176 to ...
15177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15178 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15179 to ...
15180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15181 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15182 to ...
15183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15184 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15185 to ...
15186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15187 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15188 to ...
15189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15190 Here.
15191 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15192 to ...
15193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15194 Here.
15195 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15196 to ...
15197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15198 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15199 Moved to ...
15200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15201 Here.
15202 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15203 to ...
15204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15205
d128e450
JM
152062012-05-04 Joseph Myers <joseph@codesourcery.com>
15207
fa8ee516
JM
15208 * sysdeps/unix/common/bits/dirent.h: Remove file.
15209 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15210
d128e450
JM
15211 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15212 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15213 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15214 * sysdeps/unix/bsd/isatty.c: Likewise.
15215 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15216 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15217 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15218
ff8faaf0 152192012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15220
62881be4 15221 [BZ #13563]
31dc8730
AZ
15222 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15223 long double comparison inaccuracies.
15224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15226
6fef930c
AS
152272012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15228
15229 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15231
8f203e6c
JM
152322012-05-04 Joseph Myers <joseph@codesourcery.com>
15233
15234 [BZ #14049]
15235 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15236 nonzero digits before rounding a hex value.
15237 * stdlib/tst-strtod.c (tests): Add another test.
15238
5197d9c2
AK
152392012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15240
15241 * sysdeps/s390/fpu/libm-test-ulps: Update.
15242
f0c1dedf
AJ
152432012-05-03 Andreas Jaeger <aj@suse.de>
15244
15245 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15246 does not get optimized out.
15247 (malloc_opt_barrier): New.
15248
a65ef2ae 152492012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15250 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15251
2b942cb7 15252 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15253 intermediate file deletion.
2b942cb7 15254 (generated): Add .symlist files.
a65ef2ae 15255
54b71e02
JM
152562012-05-03 Joseph Myers <joseph@codesourcery.com>
15257
15258 [BZ #13775]
15259 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15260 Redirect under this condition.
15261 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15262 [__USE_GNU] (__dprintf_chk): Not under this condition.
15263 [__USE_GNU] (__vdprintf_chk): Likewise.
15264 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15265 under this condition.
15266 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15267 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15268 [__USE_XOPEN2K8] (vdprintf): Likewise.
15269 [__USE_GNU] (__dprintf_chk): Not under this condition.
15270 [__USE_GNU] (__vdprintf_chk): Likewise.
15271 [__USE_GNU] (dprintf): Likewise.
15272 [__USE_GNU] (vdprintf): Likewise.
15273
d3dfcc41
RM
152742012-05-03 Roland McGrath <roland@hack.frob.com>
15275
15276 * elf/Makefile (common-generated): Set this instead of generated for
15277 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15278 $(all-built-dso)-derived lists.
15279
7ac30cc5
AJ
152802012-05-03 Andreas Jaeger <aj@suse.de>
15281
0c51e550
AJ
15282 * sysdeps/i386/fpu/libm-test-ulps: Update.
15283
7ac30cc5
AJ
15284 * FAQ: Removed.
15285 * FAQ.in: Likewise.
15286 * scripts/gen-FAQ.pl: Likewise.
15287 * manual/install.texi (Installation): Point to online location of
15288 FAQ.
15289 * Makefile (files-for-dist): Remove FAQ.
15290 (FAQ): Remove.
15291
d4c2917f
AM
152922012-05-02 Allan McRae <allan@archlinux.org>
15293
15294 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15295 (LDFLAGS-reldepmod5.so): Likewise.
15296 (LDFLAGS-reldep6mod1.so): Likewise.
15297 (LDFLAGS-reldep6mod4.so): Likewise.
15298 (LDFLAGS-reldep8mod3.so): Likewise.
15299 (LDFLAGS-unload4mod1.so): Likewise.
15300 (LDFLAGS-unload4mod2.so): Likewise.
15301 (LDFLAGS-tst-initorder): Likewise.
15302 (LDFLAGS-tst-initordera2.so): Likewise.
15303 (LDFLAGS-tst-initordera3.so): Likewise.
15304 (LDFLAGS-tst-initordera4.so): Likewise.
15305 (LDFLAGS-tst-initorderb2.so): Likewise.
15306 (LDFLAGS-noload): Likewise.
15307 (LDFLAGS-next): Likewise.
15308 (LDFLAGS-order2mod1.so): Likewise.
15309 (LDFLAGS-order2mod2.so): Likewise.
15310 (LDFLAGS-tst-initorder2): Likewise.
15311 (LDFLAGS-tst-initorder2a.so): Likewise.
15312 (LDFLAGS-tst-initorder2b.so): Likewise.
15313 (LDFLAGS-tst-initorder2c.so): Likewise.
15314 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15315
d77f993f
DM
153162012-05-02 David S. Miller <davem@davemloft.net>
15317
15318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15319
171a70b4
PP
153202012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15321
15322 [BZ #14055]
15323 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15324
0be196ad
AJ
153252012-05-02 Andreas Jaeger <aj@suse.de>
15326
15327 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15328 since we manipulate rounding mode.
15329 (CPPFLAGS-test-idouble.c): Likewise.
15330 (CPPFLAGS-test-ifloat.c): Likewise.
15331 (CFLAGS-test-ldouble.c): Likewise.
15332 (CFLAGS-test-double.c): Likewise.
15333 (CFLAGS-test-float.c): Likewise.
15334 (CFLAGS-test-misc.c): Likewise.
15335 (CFLAGS-test-test-fenv.c): Likewise.
15336
4f9d04aa
AZ
153372012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15338
2b942cb7
RM
15339 [BZ #2550]
15340 [BZ #2570]
15341 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15342 comparisons to determine direction to adjust input.
4f9d04aa 15343
82a79e7d
RM
153442012-05-01 Roland McGrath <roland@hack.frob.com>
15345
f5a01ca9
RM
15346 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15347 output to the target.
15348
90fe4186
RM
15349 * scripts/localplt.awk: New file.
15350 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15351 (check-localplt-CFLAGS): Variable removed.
15352 ($(all-built-dso:=.jmprel)): New static pattern rule.
15353 (generated): Add those targets.
15354 (localplt-built-dso): New variable.
15355 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15356
15357 * elf/check-localplt.c: File removed.
15358
82397ed6
RM
15359 * scripts/check-execstack.awk: New file.
15360 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15361 (check-execstack-CFLAGS): Variable removed.
15362 ($(objpfx)check-execstack.h): Target removed.
15363 ($(objpfx)execstack-default): New target.
15364 (generated): Add that instead of check-execstack.h.
15365 ($(all-built-dso:=.phdr)): New static pattern rule.
15366 (generated): Add those targets.
15367 * elf/check-execstack.c: File removed.
15368
82a79e7d
RM
15369 * scripts/check-textrel.awk: New file.
15370 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15371 (check-textrel-CFLAGS): Variable removed.
15372 (all-built-dso): Use := to define.o
15373 ($(all-built-dso:=.dyn)): New static pattern rule.
15374 (generated): Add those targets.
15375 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15376 * config.make.in (READELF): New substituted variable.
15377 * elf/check-textrel.c: File removed.
15378
62fde54f 153792012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15380
615605c9
JM
15381 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15382 allow.
15383 * conform/data/ctype.h-data [C99-based standards] (isblank):
15384 Expect function.
15385 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15386 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15387 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15388 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15389 Specify type. Require positive value.
15390 (EILSEQ): Likewise.
15391 (ERANGE): Likewise.
15392 [ISO || POSIX] (EILSEQ): Do not expect.
15393 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15394 Specify type. Require positive value.
15395 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15396 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15397 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15398 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15399 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15400 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15401 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15402 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15403 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15404 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15405 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15406 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15407 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15408 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15409 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15410 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15411 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15412 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15413 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15414 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15415 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15416 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15417 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15418 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15419 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15420 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15421 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15422 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15423 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15424 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15425 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15426 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15427 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15428 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15429 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15430 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15431 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15432 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15433 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15434 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15435 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15436 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15437 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15438 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15439 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15440 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15441 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15442 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15443 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15444 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15445 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15446 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15447 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15448 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15449 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15450 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15451 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15452 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15453 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15454 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15455 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15456 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15457 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15458 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15459 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15460 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15461 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15462 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15463 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15464 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15465 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15466 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15467 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15468 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15469 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15470 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15471 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15472 Require >= 2.
15473 (FLT_ROUNDS): Expect as macro, not constant.
15474 (FLT_MANT_DIG): Use macro-int-constant.
15475 (DBL_MANT_DIG): Likewise.
15476 (LDBL_MANT_DIG): Likewise.
15477 (FLT_DIG): Likewise.
15478 (DBL_DIG): Likewise.
15479 (LDBL_DIG): Likewise.
15480 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15481 (DBL_MIN_EXP): Likewise.
15482 (LDBL_MIN_EXP): Likewise.
15483 (FLT_MAX_EXP): Use macro-int-constant.
15484 (DBL_MAX_EXP): Likewise.
15485 (LDBL_MAX_EXP): Likewise.
15486 (FLT_MAX_10_EXP): Likewise.
15487 (DBL_MAX_10_EXP): Likewise.
15488 (LDBL_MAX_10_EXP): Likewise.
15489 (FLT_MAX): Use macro-constant.
15490 (DBL_MAX): Likewise.
15491 (LDBL_MAX): Likewise.
15492 (FLT_EPSILON): Use macro-constant. Give upper bound.
15493 (DBL_EPSILON): Likewise.
15494 (LDBL_EPSILON): Likewise.
15495 (FLT_MIN): Likewise.
15496 (DBL_MIN): Likewise.
15497 (LDBL_MIN): Likewise.
15498 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15499 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15500 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15501 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15502 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15503 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15504 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15505 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15506 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15507 [ISO11] (FLT_TRUE_MIN): Likewise.
15508 [ISO11] (LDBL_TRUE_MIN): Likewise.
15509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15510 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15511 (SCHAR_MIN): Use macro-int-constant. Specify type.
15512 (SCHAR_MAX): Likewise.
15513 (UCHAR_MAX): Likewise.
15514 (CHAR_MIN): Likewise.
15515 (CHAR_MAX): Likewise.
15516 (MB_LEN_MAX): Use macro-int-constant.
15517 (SHRT_MIN): Use macro-int-constant. Specify type.
15518 (SHRT_MAX): Likewise.
15519 (USHRT_MAX): Likewise.
15520 (INT_MAX): Likewise.
15521 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15522 bound negative.
15523 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15524 bound with "U".
15525 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15526 bound with "L".
15527 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15528 bound negative. Suffix upper bound with "L".
15529 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15530 bound with "UL".
15531 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15532 Specify type.
15533 [C99-based standards] (LLONG_MAX): Likewise.
15534 [C99-based standards] (ULLONG_MAX): Likewise.
15535 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15536 == 0.
15537 [ISO11] (max_align_t): Require type.
15538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15539
c9140a62
JM
15540 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15541 from $CFLAGS, without defining away __attribute__ calls.
15542 (checknamespace): Use $CFLAGS_namespace.
15543
9af0bf29
JM
15544 * conform/conformtest.pl (@keywords): Only include C99 keywords
15545 for standards based on C99 or C11.
15546
343222a2
JM
15547 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15548 Disable tests.
15549 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15550 UNIX98]: Likewise.
15551
661f8cf0
JM
15552 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15553 usability of symbols in #if.
15554
ee74b9cb
JM
15555 * conform/conformtest.pl: If macro or constant types start
15556 "promoted:", expect the symbol to be of the following type
15557 promoted by the integer promotions.
62fde54f 15558
aafc49b3
JM
15559 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15560 in one place. Also handle "macro-constant".
15561
fefdf574
JM
15562 * conform/conformtest.pl: Only accept expected macro values with
15563 "==". Parse all "macro" lines in one place.
15564 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15565
f2d922fe
JM
15566 * conform/conformtest.pl: Handle braced types on "constant" lines
15567 instead of handling "typed-constant".
15568 * conform/data/signal.h-data: Use "constant" instead of
15569 "typed-constant".
15570
d22956c9
JM
15571 * conform/conformtest.pl: Handle "optional-" at start of lines in
15572 one place rather than duplicating several cases. Handle each
15573 format of "macro" line with initial "optional-".
15574
028e2e38
JM
15575 * conform/conformtest.pl: Only accept expected constant or
15576 optional-constant values with "==". Parse all "constant" lines in
15577 one place. Parse all "optional-constant" lines in one place.
15578 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15579 * conform/data/fmtmsg.h-data: Likewise.
15580 * conform/data/netinet/in.h-data: Likewise.
15581 * conform/data/tar.h-data: Likewise.
15582 * conform/data/limits.h-data: Use "==" form on "constant" and
15583 "optional-constant" lines.
15584
1b8f2850
JM
15585 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15586 Use -std=c99 for XOPEN2K.
15587 (@knownproblems): Remove.
15588 (newtoken): Don't check %isknown.
15589
a05a144b
JM
15590 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15591 Do not expect macro.
15592 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15593 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15594 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15595 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15596 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15597 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15598 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15599 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15600 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15601 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15602 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15603 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15604 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15605 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15606 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15607 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15608 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15609 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15610 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15611 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15612 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15613 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15614 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15615 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15616 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15617 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15618 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15619 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15620 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15621 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15622 [XPG3] (acosh): Likewise.
15623 [XPG3] (asinh): Likewise.
15624 [XPG3] (atanh): Likewise.
15625 [XPG3] (cbrt): Likewise.
15626 [XPG3] (expm1): Likewise.
15627 [XPG3] (ilogb): Likewise.
15628 [XPG3] (log1p): Likewise.
15629 [XPG3] (logb): Likewise.
15630 [XPG3] (nextafter): Likewise.
15631 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15632 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15633 [XPG3] (remainder): Likewise.
15634 [XPG3] (rint): Likewise.
15635 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15636 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15637 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15638 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15639 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15640 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15641 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15642 [UNIX98 || XOPEN2K] (scalb): Expect.
15643 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15644 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15645 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15646 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15647 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15648 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15649 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15650 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15651 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15652 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15653 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15654 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15655 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15656 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15657 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15658 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15659 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15660 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15661 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15662 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15663 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15664 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15665 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15666 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15667 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15668 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15669 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15670 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15671 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15672 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15673 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15674 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15675 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15676 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15677 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15678 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15679 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15680 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15681 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15682 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15683 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15684 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15685 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15686 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15687 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15688 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15689 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15690 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15691 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15692 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15693 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15694 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15695 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15696 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15697 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15698 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15699 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15700 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15701 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15702 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15703 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15704 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15705 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15706 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15707 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15708 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15709 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15710 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15711 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15712 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15713 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15714 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15715 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15716 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15717 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15718 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15719 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15720 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15721 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15722 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15723 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15724 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15725 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15726 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15727 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15728 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15729 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15730 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15731 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15732 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15733 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15734 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15735 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15736 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15737 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15738 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15739 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15740 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15741 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15742 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15743 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15744 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15745 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15746 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15747 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15748 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15749 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15750 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15751 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15752 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15753 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15754 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15755 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15756 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15757 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15758 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15759 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15760 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15761 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15762 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15763 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15764 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15765 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15766 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15767 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15768 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15769 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15770 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15771 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15772 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15773 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15774 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15775 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15776 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15777 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15778 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15779 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15780
73c5ebe3
JM
15781 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15782 _XOPEN_SOURCE_EXTENDED for XPG4.
15783
39c33b6c
JM
15784 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15785
62fde54f
JM
15786 * Makeconfig (localtime): Remove variable.
15787 (inst_localtime-file): Likewise.
15788
0741d64c
AS
157892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15790
15791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15792 Update.
15793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15794 Update.
15795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15796 Update.
15797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15798 Update.
15799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15800 Update.
15801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15802 Update.
15803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15804 Update.
15805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15806 Update.
15807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15808 Update.
15809
7cb029ee
JM
158102012-05-01 Joseph Myers <joseph@codesourcery.com>
15811
15812 [BZ #2550]
15813 [BZ #2570]
15814 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15815 comparisons to determine direction to adjust input.
15816 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15817 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15819 Likewise.
15820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15821 Likewise.
15822 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15823 Likewise.
15824 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15825 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15826 Likewise.
15827 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15828 Likewise.
15829 * math/libm-test.inc (nexttoward_test): Add more tests.
15830
412bd966
AS
158312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15832
15833 [BZ #14040]
15834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15835 in version GLIBC_2.1, not GLIBC_2.0.
15836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15837 Likewise.
15838
9568c0c2
JM
158392012-04-30 Joseph Myers <joseph@codesourcery.com>
15840
adfbc8ac
JM
15841 [BZ #13942]
15842 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15843 (1 - x) * (1 + x).
15844 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15845 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15846 * math/libm-test.inc (acos_test): Add more tests.
15847 (asin_test): Likewise.
15848 * sysdeps/i386/fpu/libm-test-ulps: Update.
15849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15850
5ba3cc69
JM
15851 [BZ #14034]
15852 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15853 of square root.
15854 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15855 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15856 * math/libm-test.inc (acos_test_tonearest): New function.
15857 (acos_test_towardzero): Likewise.
15858 (acos_test_downward): Likewise.
15859 (acos_test_upward): Likewise.
15860 (asin_test_tonearest): Likewise.
15861 (asin_test_towardzero): Likewise.
15862 (asin_test_downward): Likewise.
15863 (asin_test_upward): Likewise.
15864 (main): Call the new functions.
15865 * sysdeps/i386/fpu/libm-test-ulps: Update.
15866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15867
9568c0c2
JM
15868 [BZ #13884]
15869 [BZ #13924]
15870 * math/e_exp10.c: Include <float.h>.
15871 (__ieee754_exp10): Handle underflow here rather than multiplying
15872 large negative argument by M_LN10.
15873 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15874 of __ieee754_expf.
15875 * math/e_exp10l.c: Include <float.h>.
15876 (__ieee754_exp10l): Handle underflow here rather than multiplying
15877 large negative argument by M_LN10l.
15878 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15879 spurious overflow exception on underflow.
15880
5ac3ea17
MP
158812012-04-29 Marek Polacek <polacek@redhat.com>
15882
15883 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15884 (__fortify_function): New macro.
15885 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15886 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15887 __extern_always_inline.
15888 * libio/bits/stdio2.h: Likewise.
15889 * libio/bits/stdio.h: Likewise.
15890 * string/string.h: Likewise.
15891 * string/bits/string3.h: Likewise.
15892 * include/stdio.h: Likewise.
15893 * stdlib/bits/stdlib.h: Likewise.
15894 * stdlib/stdlib.h: Likewise.
15895 * rt/bits/mqueue2.h: Likewise.
15896 * rt/mqueue.h: Likewise.
15897 * posix/bits/unistd.h: Likewise.
15898 * posix/unistd.h: Likewise.
15899 * io/bits/poll2.h: Likewise.
15900 * io/bits/fcntl2.h: Likewise.
15901 * io/fcntl.h: Likewise.
15902 * io/sys/poll.h: Likewise.
15903 * misc/bits/syslog.h: Likewise.
15904 * misc/bits/syslog-ldbl.h: Likewise.
15905 * misc/sys/syslog.h: Likewise.
15906 * socket/bits/socket2.h: Likewise.
15907 * socket/sys/socket.h: Likewise.
15908 * debug/tst-chk1.c: Likewise.
15909 * wcsmbs/bits/wchar2.h: Likewise.
15910 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15911 * wcsmbs/wchar.h: Likewise.
15912
ecf0ebfb
AJ
159132012-04-29 Andreas Jaeger <aj@suse.de>
15914
15915 * Makerules (tests): Remove enable-check-abi protection.
15916 (check-abi-warn): Remove.
15917 (check-abi-%): Remove check-abi-warn usage.
15918
15919 * configure.in: Remove check-abi configure option.
15920 * configure: Regenerated.
15921 * config.make.in (enable-check-abi): Remove.
15922
6d5c57fa
AS
159232012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15924
24c5d07e 15925 [BZ #14033]
ded5180a
AS
15926 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15927 double functions to double *_finite functions.
15928
7e0d315d
AS
15929 [BZ #13941]
15930 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15931 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15932 LDBL_MIN_EXP.
15933 * stdio-common/Makefile (tests): Add tst-sprintf3.
15934 * stdio-common/tst-sprintf3.c: New file.
15935
6d5c57fa
AS
15936 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15937 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15938
0749ff8b
JM
159392012-04-28 Joseph Myers <joseph@codesourcery.com>
15940
15941 * conform/conformtest.pl: Remove duplicate typed-constant
15942 handling.
15943
8dbd5d7b
DM
159442012-04-28 David S. Miller <davem@davemloft.net>
15945
15946 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15947 (check-abi-%): Remove AWK script prerequisite and explicit
15948 abilist directory.
15949 (check-abi): Rewrite to just diff the symlist with the abilist.
15950 (config-tls, config-abi-config): Delete, no longer used.
15951 (update-abi-%): Remove AWK script and explicit abilist directory.
15952 (update-abi): Rewrite to simply compare and conditionally copy the
15953 symlist and the sysdep abilist file. Remove update-abi-config
15954 checks.
15955 * abilist/ld.abilist: Remove.
15956 * abilist/libBrokenLocale.abilist: Remove.
15957 * abilist/libanl.abilist: Remove.
15958 * abilist/libcrypt.abilist: Remove.
15959 * abilist/libdl.abilist: Remove.
15960 * abilist/librt.abilist: Remove.
15961 * abilist/libthread_db.abilist: Remove.
15962 * abilist/libutil.abilist: Remove.
15963 * scripts/extract-abilist.awk: Remove.
15964 * scripts/merge-abilist.awk: Remove.
15965 * sysdeps/generic/libcidn.abilist: New file.
15966 * sysdeps/generic/libnss_compat.abilist: New file.
15967 * sysdeps/generic/libnss_db.abilist: New file.
15968 * sysdeps/generic/libnss_dns.abilist: New file.
15969 * sysdeps/generic/libnss_files.abilist: New file.
15970 * sysdeps/generic/libnss_hesiod.abilist: New file.
15971 * sysdeps/generic/libnss_nis.abilist: New file.
15972 * sysdeps/generic/libnss_nisplus.abilist: New file.
15973 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15974 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15975 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15976 file.
15977 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15978 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15979 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15980 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15981 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15982 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15983 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15984 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15985 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15986 file.
15987 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15988 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15989 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15990 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15991 file.
15992 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15993 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15994 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15995 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15996 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15997 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15998 file.
15999 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16000 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16001 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16002 file.
16003 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16005 New file.
16006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16007 New file.
16008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16009 New file.
16010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16011 New file.
16012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16013 New file.
16014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16015 New file.
16016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16017 New file.
16018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16019 New file.
16020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16021 New file.
16022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16023 New file.
16024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16025 New file.
16026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16027 New file.
16028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16029 New file.
16030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16031 file.
16032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16033 New file.
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16035 New file.
16036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16037 file.
16038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16039 New file.
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16041 New file.
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16043 file.
16044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16045 New file.
16046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16047 New file.
16048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16049 New file.
16050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16051 New file.
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16053 New file.
16054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16055 New file.
16056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16058 file.
16059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16060 New file.
16061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16062 file.
16063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16064 file.
16065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16066 file.
16067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16068 file.
16069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16070 file.
16071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16072 New file.
16073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16074 file.
16075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16076 file.
16077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16078 New file.
16079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16080 file.
16081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16083 file.
16084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16085 New file.
16086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16087 file.
16088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16089 file.
16090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16091 file.
16092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16093 file.
16094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16095 file.
16096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16097 New file.
16098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16099 file.
16100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16101 file.
16102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16103 New file.
16104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16105 file.
16106 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16107 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16108 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16109 file.
16110 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16111 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16112 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16113 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16114 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16115 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16116 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16117 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16118 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16119 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16122 file.
16123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16124 New file.
16125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16126 file.
16127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16128 file.
16129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16130 file.
16131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16132 file.
16133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16134 file.
16135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16136 New file.
16137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16138 New file.
16139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16140 file.
16141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16142 New file.
16143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16144 file.
16145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16147 file.
16148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16149 New file.
16150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16151 file.
16152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16153 file.
16154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16155 file.
16156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16157 file.
16158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16159 file.
16160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16161 New file.
16162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16163 New file.
16164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16165 file.
16166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16167 New file.
16168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16169 file.
16170
41d73a1b
JM
161712012-04-28 Joseph Myers <joseph@codesourcery.com>
16172
16173 * conform/conformtest.pl: Fix typo in handling typed-constant from
16174 allow-header.
16175
28aeeda4
JM
161762012-04-27 Joseph Myers <joseph@codesourcery.com>
16177
adae8f5e
JM
16178 * README: Cut down references to pre-2.6 Linux kernels and
16179 Linuxthreads. Update lists of configurations in libc and ports
16180 and sort alphabetically. Say "or newer" with Linux kernel version
16181 requirements.
16182
28aeeda4
JM
16183 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16184
a462cb63
RA
161852012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16186
16187 [BZ #887]
16188 * math/libm-test.inc (logb_test_downward): New test to expose
16189 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16190 rounding mode.
16191
6ad3493e
JM
161922012-04-27 Joseph Myers <joseph@codesourcery.com>
16193
16194 [BZ #14027]
16195 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16196 to be done.
16197 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16198 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16199
2ce4f015
JM
162002012-04-26 Joseph Myers <joseph@codesourcery.com>
16201
5aeb141a
JM
16202 * sysdeps/unix/i386/brk.S: Remove file.
16203 * sysdeps/unix/i386/dl-brk.S: Likewise.
16204 * sysdeps/unix/i386/pipe.S: Likewise.
16205 * sysdeps/unix/i386/sigreturn.S: Likewise.
16206 * sysdeps/unix/i386/syscall.S: Likewise.
16207 * sysdeps/unix/i386/vfork.S: Likewise.
16208 * sysdeps/unix/i386/wait.S: Likewise.
16209
7143acae
JM
16210 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16211 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16212
2ce4f015
JM
16213 * configure.in (arm*-none*): Do not allow without
16214 --enable-hacker-mode.
16215 (netbsd*): Remove case setting base_os.
16216 (386bsd*): Likewise.
16217 (freebsd*): Likewise.
16218 (bsdi*): Likewise.
16219 (osf*): Likewise.
16220 (sunos*): Likewise.
16221 (ultrix*): Likewise.
16222 (newsos*): Likewise.
16223 (dynix*): Likewise.
16224 (*bsd*): Likewise.
16225 (sysv*): Likewise.
16226 (isc*): Likewise.
16227 (esix*): Likewise.
16228 (sco*): Likewise.
16229 (minix*): Likewise.
16230 (irix4*): Likewise.
16231 (irix6*): Likewise.
16232 (solaris[2-9]*): Likewise.
16233 (none): Likewise.
16234 * configure: Regenerated.
16235
0ac229c8
AZ
162362012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16237
16238 [BZ #11521]
16239 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16240 overflow or cancellation in calculating denominator.
16241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16242 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16243 down expression to avoid unexpected rounding in newer GCCs.
16244 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16245
33f244f4
DM
162462012-04-26 David S. Miller <davem@davemloft.net>
16247
16248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16249 long-double compat symbols.
16250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16263
cfa1f3e8
DM
162642012-04-25 David S. Miller <davem@davemloft.net>
16265
16266 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16267 HWCAP_* values only after the memory barriers have been defined.
16268 (atomic_full_barrier): Define.
16269 (atomic_read_barrier): Define.
16270 (atomic_write_barrier): Define.
16271
6e236b92
SP
162722012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16273
16274 * shlib-versions: Add libgcc_s version information.
16275 * sysdeps/generic/libgcc_s.h: Remove.
16276 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16277 libgcc_s.h.
16278 * sysdeps/gnu/unwind-resume.c: Likewise.
16279 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16280
aab39a09
DM
162812012-04-25 David S. Miller <davem@davemloft.net>
16282
16283 * sysdeps/unix/sparc/brk.S: Delete.
16284 * sysdeps/unix/sparc/dl-brk.S: Delete.
16285 * sysdeps/unix/sparc/pipe.S: Delete.
16286 * sysdeps/unix/sparc/sysdep.S: Delete.
16287 * sysdeps/unix/sparc/sysdep.h: Delete.
16288 * sysdeps/unix/sparc/vfork.S: Delete.
16289 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16290 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16291 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16292 ret_ERRVAL, r0, r1, MOVE): Define.
16293 (JUMPTARGET): Remove.
16294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16295 sysdeps/unix/sparc/sysdep.h
16296 (ENTRY, END): Remove.
16297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16298
a3cc4f48
JM
162992012-04-25 Joseph Myers <joseph@codesourcery.com>
16300
2ed8cda2
JM
16301 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16302 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16303 -DIS_IN_build.
16304
35d76d59
JM
16305 * timezone/README: Update upstream location and email address for
16306 tzcode and tzdata.
16307 * timezone/zdump.c: Update from tzcode 2012b.
16308 * timezone/zic.c: Likewise.
16309
a3cc4f48
JM
16310 * configure.in (libc_cv_as_needed): Remove test.
16311 * configure: Regenerated.
16312 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16313 conditional definition.
16314 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16315 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16316 * config.make.in (have-as-needed): Remove variable.
16317
ceab42c3
SP
163182012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16319 Paul Pluzhnikov <ppluzhnikov@google.com>
16320
16321 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16322 strings correctly.
16323
3ce2865f
CLT
163242012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16325
16326 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16327 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16328 * sysdeps/sh/strlen.S: Likewise.
16329
f37e0d68
JM
163302012-04-24 Joseph Myers <joseph@codesourcery.com>
16331
ae186e9a
JM
16332 * sysdeps/unix/fork.S: Remove file.
16333 * sysdeps/unix/i386/fork.S: Likewise.
16334 * sysdeps/unix/sparc/fork.S: Likewise.
16335
b96914af
JM
16336 * sysdeps/unix/system.c: Remove file.
16337 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16338
f37e0d68
JM
16339 * sysdeps/unix/getegid.S: Remove file.
16340 * sysdeps/unix/geteuid.S: Likewise.
16341
87ef29ca
RM
163422012-04-24 Roland McGrath <roland@hack.frob.com>
16343
83bcd236
RM
16344 * scripts/check-localplt.awk: New file.
16345 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16346 of diff.
16347 * scripts/data/localplt-generic.data: Add a comment.
16348
87ef29ca
RM
16349 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16350 NODE when __dir_mkfile failed.
16351 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16352 Reported by Ludovic Courtès <ludo@gnu.org>.
16353
e5a6e567
AJ
163542012-04-24 Andreas Jaeger <aj@suse.de>
16355
16356 * Makerules (common-clean): Also remove gen-as-const-headers
16357 files.
16358
c1820385
JM
163592012-04-24 Joseph Myers <joseph@codesourcery.com>
16360
16361 * Makerules (native-compile): Do not change working directory for
16362 build. Use $(OUTPUT_OPTION) in command.
16363 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16364
94e02fc4
AZ
163652012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16366
16367 [BZ #13886]
16368 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16369 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16370 * math/libm-test.inc (floor_test): Add more tests.
16371 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16372
3a533ca3
JM
163732012-04-24 Joseph Myers <joseph@codesourcery.com>
16374
940ab4b3
JM
16375 * sysdeps/unix/getdents.c: Remove file.
16376 * sysdeps/unix/sysv/getdents.c: Likewise.
16377 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16378
90e037bd
JM
16379 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16380 sysdeps/unix/mman/syscalls.list.
16381 (mmap): Likewise.
16382 (mprotect): Likewise.
16383 (msync): Likewise.
16384 (munmap): Likewise.
16385 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16386 * sysdeps/unix/mman/syscalls.list: Remove.
16387 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16388
3a533ca3
JM
16389 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16390 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16391 * configure: Regenerated.
16392 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16393 $(libgcc_s_suffix).
16394 * config.make.in (libgcc_s_suffix): Remove variable.
16395
1ad743de
JM
163962012-04-23 Joseph Myers <joseph@codesourcery.com>
16397
4ad451e2
JM
16398 * sysdeps/unix/sysv/gethostname.c: Move to ...
16399 * sysdeps/posix/gethostname.c: ... here.
16400
5e37ce39
JM
16401 * sysdeps/unix/execve.S: Remove file.
16402
1ad743de
JM
16403 * sysdeps/unix/_exit.S: Remove file.
16404
4e681b5b
AJ
164052012-04-23 Andreas Jaeger <aj@suse.de>
16406
16407 [BZ #13739]
16408 * manual/Makefile: Remove make dist support, there's no
16409 need for a stand-alone documentation tar ball.
16410 (TEXI2DVI): Define always, it's not in Makeconfig.
16411 (dist): Removed.
16412 (tar-it): Removed.
16413 (edition): Removed.
16414 (glibc-doc-$(edition).tar): Removed
16415 (%.Z): Removed.
16416 (%.gz): Removed.
16417 (%.uu): Removed.
16418 (ETAGS): Remove, it's in Makeconfig.
16419 (move-if-change): Remove, it's in Makeconfig.
16420
38686a03 164212012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16422
16423 [BZ #13970]
16424 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16425 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16426 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16427 (strtod_l, strtof_l, strtold_l): Remove __wur.
16428 It is not necessarily an error to ignore strtol's return value.
16429 One can reliably look at the stored endptr to decide whether
16430 the number had valid syntax.
16431
7c0616fa
AJ
164322012-04-21 Andreas Jaeger <aj@suse.de>
16433
803cb6b7 16434 [BZ #13739]
7c0616fa
AJ
16435 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16436
b0fe253f
JM
164372012-04-21 Joseph Myers <joseph@codesourcery.com>
16438
16439 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16440 * sysdeps/unix/sysv/Versions: Remove file.
16441
8280f22d
MT
164422012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16443
16444 [BZ #13927]
16445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16446
75ce411f 164472012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16448
16449 [BZ #7064]
16450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16451 version from __vm86.
16452
097d59fa
JM
164532012-04-20 Joseph Myers <joseph@codesourcery.com>
16454
a90f3bcb
JM
16455 * sysdeps/unix/common/lxstat.c: Remove file.
16456 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16457
edc7ea78
JM
16458 * sysdeps/unix/sysv/Makefile: Remove file.
16459
cb78c221
JM
16460 * sysdeps/unix/sysv/direct.h: Remove file.
16461
efa6a45f
JM
16462 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16463 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16464 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16465 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16466 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16467 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16468 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16469
9c9f2d0c
JM
16470 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16471
4541c83b
JM
16472 * sysdeps/unix/xmknod.c: Remove file.
16473 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16474
f5d153a0
JM
16475 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16476
aa746595
JM
16477 * sysdeps/unix/sysv/i386/time.S: Remove file.
16478
cce5905e
JM
16479 * sysdeps/unix/fxstat.c: Remove file.
16480 * sysdeps/unix/xstat.c: Likewise.
16481 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16482
37fa3841
JM
16483 * sysdeps/unix/sysv/sigaction.c: Remove file.
16484
ff1962a3
JM
16485 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16486 (sysdep_headers): Remove variable.
16487 [termio.h not in sysdep_headers] (generated): Likewise.
16488 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16489 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16490 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16491 * sysdeps/unix/sysv/tcflow.c: Likewise.
16492 * sysdeps/unix/sysv/tcflush.c: Likewise.
16493 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16494 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16495 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16496 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16497 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16498
e7740d31
JM
16499 * sysdeps/unix/siglist.c: Remove file.
16500
ee06f18b
JM
16501 * sysdeps/unix/getppid.S: Remove file.
16502
097d59fa
JM
16503 * sysdeps/unix/mkdir.c: Remove file.
16504 * sysdeps/unix/rmdir.c: Likewise.
16505
ff3d51ec
AS
165062012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16507
16508 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16509 ERR_MAX value.
16510 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16511 errlist-compat value.
16512
50f81fd7
DM
165132012-04-18 David S. Miller <davem@davemloft.net>
16514
16515 * sysdeps/generic/memcopy.h (reg_char): Delete.
16516 * debug/strcat_chk.c: Use char, not reg_char.
16517 * debug/strcpy_chk.c: Likewise.
16518 * debug/strncat_chk.c: Likewise.
16519 * debug/strncpy_chk.c: Likewise.
16520 * string/memchr.c: Likewise.
16521 * string/memrchr.c: Likewise.
16522 * string/rawmemchr.c: Likewise.
16523 * string/strcat.c: Likewise.
16524 * string/strchr.c: Likewise.
16525 * string/strchrnul.c: Likewise.
16526 * string/strcmp.c: Likewise.
16527 * string/strcpy.c: Likewise.
16528 * string/strncat.c: Likewise.
16529 * string/strncmp.c: Likewise.
16530 * string/strncpy.c: Likewise.
16531
8ff41c46
WS
165322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16533
16534 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16535 __builtin_memcopy is called when src and dest ranges are known to not
16536 overlap.
16537
6b652f46
WS
165382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16539
16540 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16541 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16542 fwd_align_merge macro call.
16543 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16544 bwd_align_merge macro call.
16545 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16546
b282631e
WS
165472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16548
16549 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16550 bwd_align_merge macros.
16551 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16552 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16553 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16554
95aa737c
DM
165552012-04-18 David S. Miller <davem@davemloft.net>
16556
16557 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16558
7a99a614
AJ
165592012-04-18 Andreas Jaeger <aj@suse.de>
16560
16561 [BZ# 6794]
16562 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16563 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16564 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16565
16566 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16567 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16568 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16569
16570 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16571 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16572 Adjust for changed ldbl-128 files.
16573
16574 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16575 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16576 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16577
e5270c23
DM
165782012-04-17 David S. Miller <davem@davemloft.net>
16579
16580 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16581
fb5e92c9
AS
165822012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16583
16584 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16585 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16586 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16587 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16588 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16589 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16590
76da7265
AZ
165912012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16592
16593 [BZ #6794]
16594 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16595 * math/libm-test.inc: Add ilogb errno and exception tests.
16596 * math/w_ilogb.c: New file: ilogb wrapper.
16597 * math/w_ilogbf.c: New file: ilogbf wrapper.
16598 * math/w_ilogbl.c: New file: ilogbl wrapper.
16599 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16600 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16601 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16602 exception being thrown with 0.0 as argument.
16603 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16604 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16605 exception being thrown with 0.0 as argument.
16606 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16607 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16608 exception being thrown with 0.0 as argument.
16609 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16610 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16611 exception being thrown with 0.0 as argument.
16612 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16613 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16614 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16615 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16616 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16617 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16618 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16619 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16620 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16621
0396e69d
PB
166222012-04-17 Petr Baudis <pasky@ucw.cz>
16623
16624 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16625 with altivec.
16626
750b5926
MP
166272012-04-16 Marek Polacek <polacek@redhat.com>
16628
16629 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16630
751728a1
MP
166312012-04-16 Marek Polacek <polacek@redhat.com>
16632
16633 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16634 operands of fdivp instruction.
16635
34a27407
L
166362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16637
16638 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16639 * elf/tst-auditmod3b.c: Likewise.
16640 * elf/tst-auditmod4b.c: Likewise.
16641 * elf/tst-auditmod5b.c: Likewise.
16642 * elf/tst-auditmod6b.c: Likewise.
16643 * elf/tst-auditmod6c.c: Likewise.
16644 * elf/tst-auditmod7b.c: Likewise.
16645 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16646 * sysdeps/x86_64/preconfigure.in: Likewise.
16647 * sysdeps/x86_64/preconfigure: Regenerated.
16648
7e73e17d
L
166492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16650
16651 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16652 __ILP32__.
16653
c7a6ab72
AB
166542012-04-13 Antoine Balestrat <merkil33@gmail.com>
16655
16656 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16657 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16658
a9e8e0e0
CL
166592012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16660
16661 [BZ #13973]
16662 * locale/iso-639.def: Fix gl language name. Spotted by
16663 Yaron Shahrabani.
16664
ec98af7d
RM
166652012-04-12 Roland McGrath <roland@hack.frob.com>
16666
16667 [BZ #2074]
16668 * libio/libio.h (__io_write_fn): Update comment.
16669
247c3ede
PB
166702012-04-12 Petr Baudis <pasky@ucw.cz>
16671
16672 [BZ #2074]
16673 * stdio.texi (Hook Functions): The user provided writer function
16674 is not allowed to return -1.
16675
55939d6d
DM
166762012-04-11 David S. Miller <davem@davemloft.net>
16677
16678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16679
90020f5a
MF
166802012-04-11 Mike Frysinger <vapier@gentoo.org>
16681
16682 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16683 Add a leading slash to rtkaio.
16684
288f9098
JM
166852012-04-11 Jim Meyering <meyering@redhat.com>
16686
90020f5a
MF
16687 [BZ #11959]
16688 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16689 It is not necessarily an error to ignore fwrite's return
16690 value. One can reliably use ferror to test for errors after
16691 the fact.
288f9098 16692
4be2b570
L
166932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16694
16695 * bits/types.h (__snseconds_t): New type.
16696 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16697
16698 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16700 (__SNSECONDS_T_TYPE): Likewise.
16701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16702 (__SNSECONDS_T_TYPE): Likewise.
16703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16704 (__SNSECONDS_T_TYPE): Likewise.
16705
288f9098 167062012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16707
16708 [BZ #2636]
16709 * manual/time.texi (Processor Time): Return type of times is
16710 elapsed real time since an arbitrary point in the past.
16711 (CPU Time): Move CLK_TCK from here...
16712 (Processor Time): ...to here. Correct description.
16713 * manual/conf.texi (Constants for Sysconf): Correct description of
16714 _SC_CLK_TCK.
16715
d7dd4413
DM
167162012-04-10 David S. Miller <davem@davemloft.net>
16717
16718 [BZ #13967]
16719 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16720 where the is a gap between DT_REL(A) and DT_JMPREL.
16721
b46068fc
L
167222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16723
16724 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16725 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16726 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16727
73d65cc3
SP
167282012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16729
16730 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16731 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16732 (dl_main): Handle --inhibit-cache.
16733 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16734 _dl_inhibit_cache.
16735 * elf/dl-load.c (_dl_map_object): Use it.
16736 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16737
bcc8d661
JM
167382012-04-09 Joseph Myers <joseph@codesourcery.com>
16739
8f9a2fae
JM
16740 [BZ #13872]
16741 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16742 (__ieee754_powl): Saturate large exponents rather than testing for
16743 overflow of y*log2(x).
16744 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16745 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16746 exceptions.
16747
bcc8d661
JM
16748 [BZ #11521]
16749 * math/s_ctan.c: Include <float.h>.
16750 (__ctan): Avoid internal overflow or cancellation in calculating
16751 denominator.
16752 * math/s_ctanf.c: Likewise.
16753 * math/s_ctanl.c: Likewise.
16754 * math/s_ctanh.c: Likewise.
16755 * math/s_ctanhf.c: Likewise.
16756 * math/s_ctanhl.c: Likewise.
16757 * math/libm-test.inc (ctan_test): Add more tests.
16758 (ctanh_test): Likewise.
16759 * sysdeps/i386/fpu/libm-test-ulps: Update.
16760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16761
823fbbb4
AJ
167622012-04-09 Andreas Jaeger <aj@suse.de>
16763
03879793
AJ
16764 [BZ #6894]
16765 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16766 is an optional BSD extension.
16767
823fbbb4
AJ
16768 [BZ #10254]
16769 * manual/stdio.texi (Opening Streams): Document additional fopen
16770 parameters.
16771
8de131cb
RM
167722012-04-09 Roland McGrath <roland@hack.frob.com>
16773
16774 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16775 %eax without telling the compiler.
16776
c0ed9d7d
CD
167772012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16778
16779 [BZ # 13963]
16780 * manual/install.texi: Use sourceware.org.
16781
c483f6b4
JM
167822012-04-09 Joseph Myers <joseph@codesourcery.com>
16783
d7dd9453
JM
16784 [BZ #13873]
16785 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16786 (__ieee754_pow): Generate overflow and underflow using huge*huge
16787 and tiny*tiny rather than just returning constant infinity or zero
16788 for large exponents.
16789 * math/libm-test.inc (pow_test): Require overflow exceptions for
16790 applicable cases of large exponents.
16791
c483f6b4
JM
16792 [BZ #706]
16793 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16794 (__ieee754_pow): Use iterative multiplication algorithm only for
16795 integer exponents with absolute value below 1024. Check for odd
16796 integer exponents when using algorithm for real exponents.
16797 * math/libm-test.inc (pow_test): Add more tests.
16798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16799
d2de7579
JM
168002012-04-08 Joseph Myers <joseph@codesourcery.com>
16801
16802 [BZ #13705]
16803 * math/libm-test.inc (exp_test): Do not allow overflow exception
16804 on underflow test.
16805
f77f1232
AJ
168062012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16807
16808 [BZ #13705]
16809 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16810 instead of __kernel_standard_f.
16811
3884932b
MF
168122012-04-08 Mike Frysinger <vapier@gentoo.org>
16813
16814 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16815 * sysdeps/x86_64/memset_chk.S: Likewise.
16816
54472e9c
AJ
168172012-04-08 Andreas Jaeger <aj@suse.de>
16818
6ab0fbfc
AJ
16819 [BZ #10153]
16820 * manual/startup.texi (Environment Access): Describe return value
16821 for putenv and setenv.
16822
61efba8c
AJ
16823 [BZ #6895]
16824 * manual/filesys.texi (Directory Entries): Add description for
16825 DT_LNK.
16826
95c3f29a
AJ
16827 [BZ #6890]
16828 * manual/filesys.texi (Directory Entries): Clarify that it's file
16829 system not operating system in the description of DT_UNKNOWN.
16830
54472e9c
AJ
16831 [BZ #6578]
16832 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16833
624254b1
SC
168342012-04-08 Stephen Compall <s11@member.fsf.org>
16835
16836 [BZ #6649]
16837 * manual/llio.texi (Opening and Closing Files): Add cross
16838 reference to explain mode argument.
16839
1e4920e0
MF
168402012-04-07 Mike Frysinger <vapier@gentoo.org>
16841
16842 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16843 * sysdeps/x86_64/memset_chk.S: Likewise.
16844
5ed848f3
DM
168452012-04-07 David S. Miller <davem@davemloft.net>
16846
16847 * elf/elf.h (R_SPARC_WDISP10): Define.
16848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16849 R_SPARC_SIZE32.
16850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16851 R_SPARC_SIZE64 and R_SPARC_H34.
16852
96154cd8
CD
168532012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16854
16855 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16856 conditions and remove no longer applicable assertion.
16857
9904dc47
L
168582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16859
16860 * bits/byteswap.h: Include <features.h>.
16861 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16862 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16863
f8887d0a
L
168642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16865
16866 * bits/byteswap.h (__bswap_16): Removed.
16867 Include <bits/byteswap-16.h> to get __bswap_16.
16868 * sysdeps/i386/bits/byteswap.h: Likewise.
16869 * sysdeps/s390/bits/byteswap.h: Likewise.
16870 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16871 * bits/byteswap-16.h: New file.
16872 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16873 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16874 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16875 * string/Makefile (headers): Add bits/byteswap-16.h.
16876
62470f60
PP
168772012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16878
16879 [BZ #13895]
16880 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16881 extra indirection.
16882 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16883 * nss/tst-nss-static.c: New.
16884
4dad7bab
RM
168852012-04-06 Robert Millan <rmh@gnu.org>
16886
16887 [BZ #6486]
16888 * manual/llio.texi (File Position Primitive): lseek
16889 refers to WHENCE when it really means OFFSET.
16890
e9142a17
AJ
168912012-04-06 Andreas Jaeger <aj@suse.de>
16892
2c040eff
AJ
16893 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16894 strncmp declarations.
16895
e9142a17
AJ
16896 * abilist/libc.abilist: Add __poll and __ppoll.
16897
ff9f1c5f
DM
168982012-04-05 David S. Miller <davem@davemloft.net>
16899
dcd2ae90
DM
16900 * scripts/check-local-headers.sh: Accept a host triplet in the
16901 path matched by the exclude regexp.
16902
993eb054
DM
16903 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16904 definition.
16905 * sysdeps/powerpc/powerpc32/dl-machine.h
16906 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16907 * sysdeps/s390/s390-32/dl-machine.h
16908 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16909 * sysdeps/sparc/sparc32/dl-machine.h
16910 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16911 * sysdeps/sparc/sparc64/dl-machine.h
16912 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16913
ff9f1c5f
DM
16914 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16915 lazy binding.
48e2e132 16916 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16917 undefined symbol errors.
16918
48e2e132 16919 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16920 DT_NEEDED entries.
16921
e80d6f94
MM
169222012-04-05 Michael Matz <matz@suse.de>
16923
16924 [BZ #13592]
16925 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16926
349fa79f
AJ
169272012-04-05 Andreas Jaeger <aj@suse.de>
16928
16929 [BZ #13908]
16930 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16931 comment.
16932
f402708f
KK
169332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16934
16935 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16936 which ROUND is no valid rounding mode.
16937
2ecccfc9
KK
169382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16939
16940 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16941 read again.
16942 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16943
8a53f50f
KK
169442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16945
16946 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16947 an exception using FPU order intentionally.
16948
169492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16950
16951 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16952 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16953 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16954 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16955
d653abb7
SJ
169562012-04-05 Simon Josefsson <simon@josefsson.org>
16957
16958 [BZ #12340]
16959 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16960 EINVAL when BUFLEN is too smal.
16961
c3b1bf7d
TS
169622012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16963
16964 [BZ #13553]
16965 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16966 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16967
b1aa60f3
AJ
169682012-04-03 Andreas Jaeger <aj@suse.de>
16969
c3b1bf7d 16970 [BZ #13938]
67f60a26
AJ
16971 * manual/setjmp.texi (System V contexts): Fix sentence.
16972
b1aa60f3
AJ
16973 [BZ #13926]
16974 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16975 New macro for this case.
16976 [!__GNUC__] (__bswap_64): New inline function for this case.
16977 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16978 * bits/byteswap.h: Likewise.
16979 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16980 ull, guard with __GLIBC_HAVE_LONG_LONG.
16981
16982 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16983 __GLIBC_HAVE_LONG_LONG.
16984
16985 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16986 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16987
39c59c35
TMQMF
169882012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16989
16990 [BZ #13691]
16991 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16992 inptr and inend, rather than using last_ch.
16993
135ffda8
DM
169942012-04-02 David S. Miller <davem@davemloft.net>
16995
16996 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16997 * stdio-common/printf-parse.h (read_int): Change return type to
16998 'int', return -1 on INT_MAX overflow.
16999 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17000 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17001 overflows INT_MAX. Check for overflow of in-format-string precision
17002 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17003 SIZE_MAX not INT_MAX for integer overflow test.
17004 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17005 skip the construct in the format string but do not record anything.
17006 * stdio-common/bug22.c: Adjust to test both width/prevision
17007 INT_MAX overflow as well as total length INT_MAX overflow. Check
17008 explicitly for proper errno values.
17009
228c019e
TS
170102012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17011
302cadd3
TS
17012 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17013 CHAR_MAX.
17014 * string/test-strcmp.c [! WIDE]: Likewise.
17015 * time/tst-mktime2.c: Likewise for INT_MAX.
17016 * string/test-string.h: #include <sys/param.h> for MIN.
17017
228c019e
TS
17018 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17019 * sysdeps/i386/init-first.c (init): Likewise.
17020 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17021 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17022 * sysdeps/sh/init-first.c (init): Likewise.
17023
cfa633f5
UD
170242012-04-01 Ulrich Drepper <drepper@gmail.com>
17025
17026 * po/ru.po: Update from translation team.
d1635ef8 17027 * po/vi.po: Likewise.
cfa633f5 17028
6cd0a5ea
SP
170292012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17030
17031 * resolv/nss_dns/dns-host.c: Merge copyright years.
17032
4b43400f
LD
170332012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17034
17035 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17036 Optimize memcpy with prefetch if
17037 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17038 src, dst pointers have unequal 16 byte alignments.
17039
48c41d04
SP
170402012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17041
17042 [BZ #13928]
17043 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17044 from a CNAME entry and return the minimum ttl for the query.
17045 (gaih_getanswer_slice): Likewise.
17046
b8dc394d
JL
170472012-03-30 Jeff Law <law@redhat.com>
17048
17049 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17050 due to long keys.
17051 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17052 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17053
2f5a5ed0
JL
17054 * resolv/nss_dns/dns-host.c: Update copyright year.
17055
1d39e359
UD
170562012-03-30 Ulrich Drepper <drepper@gmail.com>
17057
c030f70c 17058 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17059 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17060
1d39e359
UD
17061 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17062 comments for sendmmsg.
17063
170642012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17065
17066 [BZ #13691]
17067 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17068 with only 1 character between 0x0041 and 0x01b0.
17069 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17070 * wcsmbs/tst-mbsnrtowcs.c: New file.
17071
20fde227
DM
170722012-03-29 David S. Miller <davem@davemloft.net>
17073
17074 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17075 small copies by hand.
17076
984a4237
JL
170772012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17078
17079 [BZ #13761]
17080 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17081 _nss_compat_initgroups_dyn): Fall back to malloc/free
17082 for large group memberships.
17083
18c9d62b
DM
170842012-03-28 David S. Miller <davem@davemloft.net>
17085
88d85d4f
DM
17086 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17087 that branches into memcpy.
17088 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17091 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17093 bits.
17094 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17095 implementation too.
17096 * sysdeps/sparc/mempcpy.S: New file.
17097
e5aa83e1
DM
17098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17099 the IFUNC routine in the libc case.
17100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17101
88570753
DM
17102 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17103 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17104 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17105 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17106 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17107 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17108 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17109 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17110
249d7567
DM
17111 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17112 loop to 256 bytes instead of 64 bytes and fix test signedness.
17113
18c9d62b
DM
17114 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17115 * sysdeps/sparc/sparc32/Makefile: rather than here...
17116 * sysdeps/sparc/sparc64/Makefile: and here.
17117
05f3d1f6
UD
171182012-03-28 Ulrich Drepper <drepper@gmail.com>
17119
17120 * malloc/mallocbug.c: Avoid warnings about unused variables.
17121
86ae07a8
JL
171222012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17123
17124 [BZ #13760]
17125 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17126 in the right place. Discard and retry query if response is
17127 larger than input buffer size.
17128
41bf21a1
JM
171292012-03-28 Joseph Myers <joseph@codesourcery.com>
17130
d6270972
JM
17131 [BZ #369]
17132 [BZ #2678]
17133 [BZ #3866]
17134 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17135 x for large integer exponent.
17136 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17137 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17138 sign of result as needed afterwards.
17139 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17140 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17141 result for underflowing pow the same as for overflow.
17142 (__kernel_standard_l): Handle powl overflow and underflow here
17143 rather than calling __kernel_standard.
17144 * math/libm-test.inc (pow_test): Add more tests.
17145
414fca03 17146 [BZ #3868]
41bf21a1
JM
17147 [BZ #13879]
17148 [BZ #13910]
17149 [BZ #13911]
17150 [BZ #13912]
17151 [BZ #13913]
17152 [BZ #13915]
17153 [BZ #13916]
17154 [BZ #13917]
17155 [BZ #13918]
17156 [BZ #13919]
17157 [BZ #13920]
17158 [BZ #13921]
17159 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17160 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17161 (__kernel_standard_l): New function.
17162 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17163 __kernel_standard.
17164 * math/w_acosl.c (__acosl): Likewise.
17165 * math/w_asinl.c (__asinl): Likewise.
17166 * math/w_atan2l.c (__atan2l): Likewise.
17167 * math/w_atanhl.c (__atanhl): Likewise.
17168 * math/w_coshl.c (__coshl): Likewise.
17169 * math/w_exp10l.c (__exp10l): Likewise.
17170 * math/w_exp2l.c (__exp2l): Likewise.
17171 * math/w_fmodl.c (__fmodl): Likewise.
17172 * math/w_hypotl.c (__hypotl): Likewise.
17173 * math/w_j0l.c (__j0l, __y0l): Likewise.
17174 * math/w_j1l.c (__j1l, __y1l): Likewise.
17175 * math/w_jnl.c (__jnl, __ynl): Likewise.
17176 * math/w_lgammal.c (__lgammal): Likewise.
17177 * math/w_log10l.c (__log10l): Likewise.
17178 * math/w_log2l.c (__log2l): Likewise.
17179 * math/w_logl.c (__logl): Likewise.
17180 * math/w_powl.c (__powl): Likewise.
17181 * math/w_remainderl.c (__remainderl): Likewise.
17182 * math/w_scalbl.c (sysv_scalbl): Likewise.
17183 * math/w_sinhl.c (__sinhl): Likewise.
17184 * math/w_sqrtl.c (__sqrtl): Likewise.
17185 * math/w_tgammal.c (__tgammal): Likewise.
17186 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17187 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17188 * math/libm-test.inc (acos_test): Add more tests.
17189 (acosh_test): Likewise.
17190 (asin_test): Likewise.
17191 (atanh_test): Likewise.
17192 (exp_test): Likewise.
17193 (exp10_test): Likewise.
17194 (exp2_test): Likewise.
17195 (expm1_test): Likewise.
17196 (lgamma_test): Likewise.
17197 (log_test): Likewise.
17198 (log10_test): Likewise.
17199 (log1p_test): Likewise.
17200 (log2_test): Likewise.
17201 (pow_test): Do not allow some spurious overflow exceptions.
17202 (sqrt_test): Add more tests.
17203 (tgamma_test): Likewise.
17204 (y0_test): Likewise.
17205 (y1_test): Likewise.
17206 (yn_test): Likewise.
17207
dd62fda6
AB
172082012-03-27 Anton Blanchard <anton@samba.org>
17209
17210 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17211 MAP_HUGETLB.
17212 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17213 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17214 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17215
1e3cdfda
AJ
172162012-03-27 David S. Miller <davem@davemloft.net>
17217
b855ab85
DM
17218 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17219
1e3cdfda
AJ
17220 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17221 have-as-vis3 check.
17222
172232012-03-27 Andreas Jaeger <aj@suse.de>
17224
17225 * sysdeps/x86_64/elf/configure.in: Moved to ...
17226 * sysdeps/x86_64/configure.in: ... here.
17227 * sysdeps/x86_64/elf/start.S: Moved to ...
17228 * sysdeps/x86_64/start.S: ... here.
17229 * sysdeps/x86_64/elf/configure: Delete.
17230
17231 * sysdeps/x86_64/configure.in: Merge contents from
17232 sysdeps/i386/configure.in (without i686 check).
17233
17234 * sysdeps/i386/elf/Versions: Merge into ...
17235 * sysdeps/i386/Versions: ... this.
17236 * sysdeps/i386/elf/Versions: Delete file.
17237 * sysdeps/i386/elf/start.S: Moved to ...
17238 * sysdeps/i386/start.S: ...here.
17239 * sysdeps/i386/elf/configure.in: Merge into...
17240 * sysdeps/i386/configure.in: ...here.
17241 * sysdeps/i386/elf/configure.in: Delete file.
17242 * sysdeps/i386/elf/configure: Delete file.
17243
17244 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17245 * debug/backtracesyms.c: ... here.
17246 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17247 * debug/backtracesymsfd.c: ... here.
17248 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17249 * sysdeps/generic/ifunc-sel.h: ... here.
17250
17251 * sysdeps/unix/i386/start.c: Delete file.
17252 * sysdeps/unix/sparc/start.c: Delete file.
17253 * sysdeps/unix/start.c: Delete file.
17254
17255 * sysdeps/sh/elf/configure.in: Moved to ...
17256 * sysdeps/sh/configure.in: ... here.
17257 * sysdeps/sh/elf/start.S: Moved to ...
17258 * sysdeps/sh/start.S: ... here.
17259 * sysdeps/sh/elf/configure: Delete file.
17260
17261 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17262 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17263 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17264 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17265 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17266 * sysdeps/powerpc/powerpc64/start.S: here.
17267 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17268 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17269 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17270 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17271 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17272
17273 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17274 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17275 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17276 * sysdeps/powerpc/powerpc32/start.S: ... here.
17277 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17278 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17279 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17280
17281 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17282 * sysdeps/powerpc/ifunc-sel.h: ... here.
17283 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17284 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17285
17286 * sysdeps/sparc/elf/configure.in: Moved to ...
17287 * sysdeps/sparc/configure.in: ... here.
17288 * sysdeps/sparc/elf/configure: Delete file.
17289 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17290 * sysdeps/sparc/sparc32/start.S: ... here.
17291 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17292 * sysdeps/sparc/sparc64/start.S: ... here.
17293 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17294 * sysdeps/sparc/sparc32/Makefile: ... this.
17295 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17296 * sysdeps/sparc/sparc64/Makefile: ... this.
17297
17298 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17299 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17300 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17301 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17302 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17303 * sysdeps/s390/s390-32/setjmp.S: ... here.
17304 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17305 * sysdeps/s390/s390-32/configure.in: ... here.
17306 * sysdeps/s390/s390-32/elf/configure: Delete file.
17307 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17308 * sysdeps/s390/s390-32/start.S: ... here.
17309
17310 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17311 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17312 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17313 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17314 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17315 * sysdeps/s390/s390-64/setjmp.S: ... here.
17316 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17317 * sysdeps/s390/s390-64/configure.in: ... here
17318 * sysdeps/s390/s390-64/elf/configure: Delete file.
17319 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17320 * sysdeps/s390/s390-64/start.S: ... here.
17321 * sysdeps/s390/s390-64/elf/configure: Delete.
17322
17323 * configure.in: Remove support for elf directories in sysdeps.
17324
17325 * configure: Regenerated.
17326 * sysdeps/i386/configure: Regenerated.
17327 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17328 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17329 * sysdeps/s390/s390-32/configure: Regenerated.
17330 * sysdeps/s390/s390-64/configure: Regenerated.
17331 * sysdeps/sh/configure: Regenerated.
17332 * sysdeps/sparc/configure: Regenerated.
17333 * sysdeps/x86_64/configure: Regenerated.
17334
a3f61311
AS
173352012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17336
c876e002
AS
17337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17338
a3f61311
AS
17339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17340 denormal result into account.
17341
ac4c54f0
RM
173422012-03-25 Roland McGrath <roland@hack.frob.com>
17343
17344 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17345 Reported by Allan McRae <allan@archlinux.org>.
17346
6a9b9c02
JL
173472012-03-23 Jeff Law <law@redhat.com>
17348
17349 * nss/getnssent.c (__nss_getent): Fix typo.
17350
4c42a0c1
DM
173512012-03-23 David S. Miller <davem@davemloft.net>
17352
17353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17354
1532c7ac
L
173552012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17356
17357 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17358 to pad to uint64_t for each field.
17359 (dl_tls_index): Replace unsigned long with uint64_t.
17360
3ff42526
PP
173612012-03-23 Daniel Jacobowitz <dmj@google.com>
17362 Paul Pluzhnikov <ppluzhnikov@google.com>
17363
17364 [BZ #6528]
17365 * grp/Makefile (otherlibs): Don't set it.
17366 * inet/Makefile (otherlibs): Likewise.
17367 * login/Makefile (otherlibs): Likewise.
17368 * nscd/Makefile (otherlibs): Likewise.
17369 * posix/Makefile (otherlibs): Likewise.
17370 * pwd/Makefile (otherlibs): Likewise.
17371 * rt/Makefile (otherlibs): Likewise.
17372 * sunrpc/Makefile (otherlibs): Likewise.
17373 * nss/Makefile (otherlibs): Likewise.
17374 Add libnss_files to routines and static-only-routines.
17375 ($(objpfx)getent): Remove rule.
17376 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17377 static-only-routines.
17378
7c69cd14
JM
173792012-03-22 Joseph Myers <joseph@codesourcery.com>
17380
17381 [BZ #13892]
17382 * math/s_cexp.c: Include <float.h>.
17383 (__cexp): Handle exp result overflowing not necessarily
17384 overflowing both real and imaginary parts of result.
17385 * math/s_cexpf.c: Likewise.
17386 * math/s_cexpl.c: Likewise.
17387 * math/libm-test.inc (cexp_test): Add more tests.
17388 * sysdeps/i386/fpu/libm-test-ulps: Update.
17389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17390
81b035fe
L
173912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17392
17393 * include/link.h (ELFW): New macro.
17394 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17395 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17396
1da7940c
L
173972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17398
17399 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17400 with uint64_t.
17401
b749dbb9
L
174022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17403
17404 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17405 declaration.
17406 (struct La_x32_retval): Likewise.
17407
2ff87f3f
L
174082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17409
17410 * sysdeps/x86_64/preconfigure.in: New file.
17411 * sysdeps/x86_64/preconfigure: New generated file.
17412
c0df8e69
JM
174132012-03-22 Joseph Myers <joseph@codesourcery.com>
17414
48e44791
JM
17415 [BZ #13824]
17416 * math/e_exp2l.c: Include <float.h>.
17417 (__ieee754_exp2l): Handle overflow and underflow cases
17418 separately. Only pass fractional part of argument to
17419 __ieee754_expl.
17420 * math/libm-test.inc (exp2_test): Add more tests.
17421
c0df8e69
JM
17422 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17423 negating x to take absolute value.
17424 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17425 Likewise.
17426 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17427 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17428 Likewise.
17429 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17430 computing low part if x was negated.
17431 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17432
c8e43ba7
L
174332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17434
17435 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17436 la_x32_gnu_pltexit.
17437 (pltexit): Cast int_retval to ptrdiff_t.
17438 * elf/tst-auditmod3b.c: Likewise.
17439 * elf/tst-auditmod4b.c: Likewise.
17440 * elf/tst-auditmod5b.c: Likewise.
17441 * elf/tst-auditmod6b.c: Likewise.
17442 * elf/tst-auditmod6c.c: Likewise.
17443 * elf/tst-auditmod7b.c: Likewise.
17444
17445 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17446 and x32_gnu_pltexit.
17447
17448 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17449 __ELF_NATIVE_CLASS.
17450 (La_x32_regs): New macro.
17451 (La_x32_retval): Likewise.
17452 (la_x32_gnu_pltenter): New function prototype.
17453 (la_x32_gnu_pltexit): Likewise.
17454
7998fa78
AS
174552012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17456
dcb33988
AS
17457 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17458 exponent.
17459
233fc563
AS
17460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17461
7998fa78
AS
17462 * configure.in (libc_cv_cc_nofma): Check for option to disable
17463 generation of FMA instructions.
17464 * configure: Regenerate.
17465 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17466 * sysdeps/ieee754/dbl-64/Makefile: New file.
17467 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17468 Remove brandred-fma4.
17469 (CFLAGS-brandred-fma4.c): Remove.
17470 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17471 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17472 define.
17473 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17474 define.
17475
8e95c99a
L
174762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17477
17478 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17479 LLONG_MAX != LONG_MAX.
17480 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17481 (_fitoa_word): Likewise.
17482 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17483 LLONG_MAX != LONG_MAX.
17484 * stdio-common/_itowa.h: Include <_itoa.h>.
17485 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17486 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17487 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17488 only if not defined.
17489 (_ITOA_WORD_TYPE): Likewise.
17490 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17491 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17492
6f4db457
DM
174932012-03-21 David S. Miller <davem@davemloft.net>
17494
17495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17496
7785fe5a
L
174972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17498
17499 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17500 of x86_64 when setting libc_cv_slibdir, libdir and
17501 libc_cv_localedir.
17502 * sysdeps/unix/sysv/linux/configure: Regenerated.
17503
4535cd55
JM
175042012-03-21 Joseph Myers <joseph@codesourcery.com>
17505
17506 * manual/lang.texi (Old Varargs): Remove section.
17507 (How Variadic): Update menu.
17508 (va_start): Do not mention varargs.h.
17509
17228132
TS
175102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17511 Joseph Myers <joseph@codesourcery.com>
17512
17513 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17514 link test.
17515 * configure: Regenerated.
17516
8149f976
TS
175172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17518
05f3d1f6
UD
17519 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17520 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17521 conformtest.pl
8149f976 17522
1a4ac776
JM
175232012-03-21 Joseph Myers <joseph@codesourcery.com>
17524
be22ce65
JM
17525 * NOTES: Remove.
17526 * Makefile (files-for-dist): Remove NOTES.
17527 (NOTES): Remove rule.
17528 * README: Don't refer to NOTES.
17529 * manual/creature.texi: Don't include macros.texi.
17530 * manual/intro.texi (creature.texi): Remove comment referring to
17531 NOTES.
17532
40b601fb
JM
17533 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17534 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17535 * configure: Regenerated.
17536 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17537 LIBC_TRY_CC_OPTION.
17538 (libc_cv_as_i686): Likewise.
17539 (libc_cv_cc_avx): Likewise.
17540 (libc_cv_cc_sse2avx): Likewise.
17541 (libc_cv_cc_fma4): Likewise.
17542 (libc_cv_cc_novzeroupper): Likewise.
17543 * sysdeps/i386/configure: Regenerated.
17544
1a4ac776
JM
17545 [BZ #13883]
17546 * sysdeps/i386/fpu/s_cexp.S: Remove.
17547 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17548 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17549 * math/libm-test.inc (cexp_test): Add more tests.
17550 * sysdeps/i386/fpu/libm-test-ulps: Update.
17551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17552
a458e7fe
AM
175532012-03-21 Allan McRae <allan@archlinux.org>
17554
17555 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17556
0cb7efc5
JM
175572012-03-21 Joseph Myers <joseph@codesourcery.com>
17558
17559 [BZ #13871]
17560 * math/w_exp2.c: Do not include <float.h>.
17561 (o_threshold, u_threshold): Remove.
17562 (__exp2): Calculate result before checking finiteness and calling
17563 __kernel_standard.
17564 * math/w_exp2f.c: Likewise.
17565 * math/w_exp2l.c: Likewise.
17566 * math/libm-test.inc (exp2_test): Require overflow exception for
17567 1e6 input.
2460d3aa
JM
17568
17569 [BZ #3866]
17570 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17571 range of signed 64-bit integers before using fistpll. Remove
17572 checks for whether integers fit in mantissa bits.
17573 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17574 the range of signed 32-bit integers before using fistpl. Remove
17575 checks for whether integers fit in mantissa bits.
17576 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17577 (__ieee754_powl): Test for y outside the range of signed 64-bit
17578 integers before using fistpll. Reduce 64-bit values to 63-bit
17579 ones as needed.
17580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17581 divide-by-zero is raised for zero to large negative powers.
17582 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17583 (__ieee754_powl): Test for y outside the range of signed 64-bit
17584 integers before using fistpll. Reduce 64-bit values to 63-bit
17585 ones as needed.
17586 * math/libm-test.inc (pow_test): Add more tests.
17587
eb96ffb0
L
175882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17589
17590 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17591 <stdio-common/_itoa.h>.
17592 * debug/segfault.c: Likewise.
17593 * elf/dl-cache.c: Likewise.
17594 * elf/dl-minimal.c: Likewise.
17595 * elf/dl-misc.c: Likewise.
17596 * elf/dl-sysdep.c: Likewise.
17597 * elf/dl-version.c: Likewise.
17598 * elf/rtld.c: Likewise.
17599 * hurd/hurdsock.c: Likewise.
17600 * hurd/lookup-retry.c: Likewise.
17601 * malloc/malloc.c: Likewise.
17602 * malloc/mtrace.c: Likewise.
17603 * nscd/nscd_getgr_r.c: Likewise.
17604 * nscd/nscd_getpw_r.c: Likewise.
17605 * nscd/nscd_getserv_r.c: Likewise.
17606 * posix/getopt_init.c: Likewise.
17607 * posix/wordexp.c: Likewise.
17608 * stdio-common/_itoa.c: Likewise.
17609 * stdio-common/printf_fphex.c: Likewise.
17610 * stdio-common/vfprintf.c: Likewise.
17611 * string/_strerror.c: Likewise.
17612 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17613 * sysdeps/i386/i686/hp-timing.h: Likewise.
17614 * sysdeps/mach/_strerror.c: Likewise.
17615 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17616 * sysdeps/mach/hurd/sethostid.c: Likewise.
17617 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17618 * sysdeps/mach/xpg-strerror.c: Likewise.
17619 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17620 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17621 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17622 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17623 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17624 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17625 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17626 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17627 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17628 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17629 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17630 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17631 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17632 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17633 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17634 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17635 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17636 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17637 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17638 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17639 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17640
17641 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17642
17643 * stdio-common/_itoa.h: Moved to ...
17644 * sysdeps/generic/_itoa.h: Here.
17645
17646 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17647
17648 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17649 instead of "_itoa.h" and "_itowa.h".
17650 * stdio-common/vfprintf.: Likewise.
17651
d1af992d
L
176522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17653
17654 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17655 <bits/wordsize.h>.
17656 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17657 (__signbit): Likwise.
17658 (llrintf): Likwise.
17659 (llrint): Likwise.
17660
114883e0
L
176612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17662
17663 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17664 __WORDSIZE != 64.
17665
c135cc1b
JM
176662012-03-20 Joseph Myers <joseph@codesourcery.com>
17667
17668 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17669 OVERFLOW_EXCEPTION_OK.
17670 * math/libm-test.inc ("Philosophy"): Update comment about
17671 exception testing.
17672 (OVERFLOW_EXCEPTION): Define.
17673 (OVERFLOW_EXCEPTION_OK): Likewise.
17674 (INVALID_EXCEPTION_OK): Renumber.
17675 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17676 (IGNORE_ZERO_INF_SIGN): Likewise.
17677 (test_exceptions): Handle FE_OVERFLOW.
17678 (exp10_test): Expect overflow exceptions.
17679 (exp2_test): Likewise.
17680 (expm1_test): Likewise.
17681 (nextafter_test): Likewise.
17682 (pow_test): Likewise.
17683 (scalbn_test): Likewise.
17684 (scalbln_test): Likewise.
17685
95443d88
L
176862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17687
17688 * sysdeps/x86_64/bits/atomic.h
17689 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17690 64bit integer.
17691 (atomic_exchange_acq): Likewise.
17692 (__arch_exchange_and_add_body): Likewise.
17693 (__arch_add_body): Likewise.
17694 (atomic_add_negative): Likewise.
17695 (atomic_add_zero): Likewise.
17696
490df6c4
L
176972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17698
c2722551 17699 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17700 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17701
5e52b189
L
177022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17703
17704 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17705 Check __x86_64__ instead of __WORDSIZE.
17706
a9879d4c
L
177072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17708
17709 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17710
5df98260
DM
177112012-03-19 David S. Miller <davem@davemloft.net>
17712
e1497744
DM
17713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17714
5df98260
DM
17715 * sysdeps/sparc/fpu/fenv_private.h: New file.
17716 * sysdeps/sparc/fpu/math_private.h: Use it.
17717 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17718 Remove.
17719 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17720 (libc_feholdexcept_setroundl): Remove.
17721 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17722 Remove.
17723 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17724 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17725
b4c35121
L
177262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17727
17728 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17729 int64_t instead of long int.
17730 (INSERT_WORDS64): Likwise.
17731
56965fd7
L
177322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17733
17734 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17735 _Unwind_GetCFA return to _Unwind_Ptr first.
17736
83d1aec8
JM
177372012-03-19 Joseph Myers <joseph@codesourcery.com>
17738
1897ad44
JM
17739 [BZ #13629]
17740 * math/s_clog.c: Include <float.h>.
17741 (__clog): Scale large or subnormal inputs.
17742 * math/s_clogf.c: Likewise.
17743 * math/s_clogl.c: Likewise.
17744 * math/s_clog10.c: Include <float.h>.
17745 (M_LOG10_2): Define.
17746 (__clog10): Scale large or subnormal inputs.
17747 * math/s_clog10f.c: Likewise.
17748 * math/s_clog10l.c: Likewise.
17749 * math/libm-test.inc (clog_test): Add more tests.
17750 (clog10_test): Likewise.
17751 * sysdeps/i386/fpu/libm-test-ulps: Update.
17752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17753
7726d6a9
JM
17754 [BZ #11451]
17755 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17756 x and y.
17757 * math/libm-test.inc (atan2_test): Add another test.
17758
83d1aec8
JM
17759 * Makerules (common-objdir-compile): Remove.
17760 * sysdeps/unix/Makefile (config-generated): Do not add
17761 $(unix-generated) to variable.
17762 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17763 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17764 Remove rule.
17765 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17766 Likewise.
17767 [generic bits/local_lim.h] (before-compile): Do not append to
17768 variable.
17769 [generic bits/local_lim.h] (common-generated): Likewise.
17770 [generic sys/param.h] (before-compile): Do not append to variable.
17771 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17772 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17773 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17774 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17775 include.
17776 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17777 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17778 [generic sys/param.h] ($(addprefix
17779 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17780 [generic sys/param.h] (common-generated): Do not append to
17781 variable.
17782 [generic sys/param.h] (sysdep_headers): Likewise.
17783 [generic bits/errno.h] (before-compile): Do not append to
17784 variable.
17785 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17786 rule.
17787 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17788 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17789 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17790 [generic bits/errno.h] (common-generated): Do not append to
17791 variable.
17792 [generic bits/ioctls.h] (before-compile): Do not append to
17793 variable.
17794 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17795 rule.
17796 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17797 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17798 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17799 rule.
17800 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17801 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17802 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17803 [generic bits/ioctls.h] (common-generated): Do not append to
17804 variable.
17805 [generic sys/syscall.h] (syscall.h): Remove variable.
17806 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17807 rule.
17808 [generic sys/syscall.h] (before-compile): Do not append to
17809 variable.
17810 [generic sys/syscall.h] (common-generated): Likewise.
17811 * sysdeps/unix/errnos-tmpl.c: Remove file.
17812 * sysdeps/unix/errnos.awk: Likewise.
17813 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17814 * sysdeps/unix/ioctls.awk: Likewise.
17815 * sysdeps/unix/mk-local_lim.c: Likewise.
17816 * sysdeps/unix/snarf-ioctls: Likewise.
17817
4851a949
RH
178182012-03-19 Richard Henderson <rth@twiddle.net>
17819
bd37f2ee
RH
17820 * sysdeps/i386/fpu/fenv_private.h: New file.
17821 * sysdeps/i386/fpu/math_private.h: Use it.
17822 (math_opt_barrier, math_force_eval): Remove.
17823 (libc_feholdexcept_setround_53bit): Remove.
17824 (libc_feupdateenv_53bit): Remove.
17825 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17826 (math_opt_barrier, math_force_eval): Remove.
17827 (libc_feholdexcept): Remove.
17828 (libc_feholdexcept_setround): Remove.
17829 (libc_fetestexcept, libc_fesetenv): Remove.
17830 (libc_feupdateenv_test): Remove.
17831 (libc_feupdateenv, libc_feholdsetround): Remove.
17832 (libc_feresetround): Remove.
17833
d0adc922
RH
17834 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17835 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17836
0fe0f1f8
RH
17837 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17838 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17839 (libc_feupdateenv_testl): New.
17840 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17841 (libc_feupdateenv_testf): New.
17842 (libc_feupdateenv): Use libc_feupdateenv_test.
17843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17844 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17845
eb92c487
RH
17846 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17847 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17848 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17849 (libc_feresetround_noex): New.
17850 (libc_feresetround_noexf): New.
17851 (libc_feresetround_noexl): New.
17852 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17853 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17854 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17855 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17856 SET_RESTORE_ROUND.
17857 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17859 (__cos): Likewise.
17860 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17861 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17862 SET_RESTORE_ROUND_NOEX.
17863 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17864 SET_RESTORE_ROUND_NOEXF.
17865 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17866 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17867 (libc_feholdsetroundf): New.
17868 (libc_feresetround, libc_feresetroundf): New.
17869
7d2e8012
RH
17870 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17871 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17872 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17873
b4dabbb4
RH
17874 * sysdeps/generic/math_private.h: Include <fenv.h>.
17875 (default_libc_feholdexcept): New.
17876 (default_libc_feholdexcept_setround): New.
17877 (default_libc_fesetenv, default_libc_feupdateenv): New.
17878 (libc_feholdexcept): Only define if undefined.
17879 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17880 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17881 (libc_feholdexcept_setroundl): Likewise.
17882 (libc_feholdexcept_setround_53bit): Likewise.
17883 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17884 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17885 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17886 (libc_feupdateenv_53bit): Likewise.
17887 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17888 (libc_feholdexcept): Convert from macro to inline function.
17889 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17890 (libc_fesetenv, libc_feupdateenv): Likewise.
17891
4851a949
RH
17892 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17893 not previously defined.
17894 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17895 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17896 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17897 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17898 * sysdeps/ieee754/flt-32/math_private.h: New file.
17899 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17900 math_private.h below SET_FLOAT_WORD.
17901 (__isnan, __isinf_ns, __finite): Remove.
17902 (__isnanf, __isinf_nsf, __finitef): Remove.
17903
e79d442e
AS
179042012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17905
17906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17907
90b80344
DM
179082012-03-17 David S. Miller <davem@davemloft.net>
17909
17910 [BZ #6471]
17911 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17912 for 2.16.
17913
edc21804
DM
179142012-03-16 David S. Miller <davem@davemloft.net>
17915
77e927af
DM
17916 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17917 warnings.
17918
374976dd
DM
17919 [BZ #6471]
17920 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17921 properly.
17922 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17923 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17924 sysdep_routines when subdir is sysvipc.
17925 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17926 __getshmlba helper.
17927
edc21804
DM
17928 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17929
473c3ef3
L
179302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17931
17932 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17933 [__LP64__].
17934
eb0f39b6
L
179352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17936
17937 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17938 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17939 (__lround): Renamed to ...
17940 (__llround): This. Replace long int with long long int.
17941 Define lround functions as aliases of llround functions.
17942 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17943
6b6cd74b
L
179442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17945
17946 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17947 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17948 adresses to uintptr_t. Replace "long int" and "unsigned long
17949 int" with "greg_t" on va_arg.
17950
f1a77b01
L
179512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17952
17953 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17954 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17955
17956 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17957 Move e_machine check before EI_CLASS check. Handle x32
17958 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17959 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17960 SKIP_EM_IA_64 and include
17961 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17962
17963 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17964 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17965 (add_system_dir): New macro.
17966
17967 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17968 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17969
11b90b9f
JM
179702012-03-16 Joseph Myers <joseph@codesourcery.com>
17971
c36e1d23
JM
17972 [BZ #2551]
17973 [BZ #2552]
17974 [BZ #2553]
17975 [BZ #2554]
17976 [BZ #2562]
17977 [BZ #2563]
17978 [BZ #2565]
17979 [BZ #2566]
17980 [BZ #2576]
17981 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17982 (y0): Likewise.
17983 * math/w_j0f.c (j0f): Likewise.
17984 (y0f): Likewise.
17985 * math/w_j0l.c (__j0l): Likewise.
17986 (__y0l): Likewise.
17987 * math/w_j1.c (j1): Likewise.
17988 (y1): Likewise.
17989 * math/w_j1f.c (j1f): Likewise.
17990 (y1f): Likewise.
17991 * math/w_j1l.c (__j1l): Likewise.
17992 (__y1l): Likewise.
17993 * math/w_jn.c (jn): Likewise.
17994 (yn): Likewise.
17995 * math/w_jnf.c (jnf): Likewise.
17996 (ynf): Likewise.
17997 * math/w_jnl.c (__jnl): Likewise.
17998 (__ynl): Likewise.
17999 * math/libm-test.inc (j0_test): Add more tests.
18000 (j1_test): Likewise.
18001 (jn_test): Likewise. Add trailing semicolon to existing test.
18002 (y0_test): Likewise.
18003 (y1_test): Likewise.
18004 * sysdeps/i386/fpu/libm-test-ulps: Update.
18005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18006
11b90b9f
JM
18007 [BZ #13851]
18008 [BZ #13854]
18009 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18010 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18011 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18012 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18013 (__tanl): Set errno for infinite argument.
18014 * sysdeps/i386/fpu/mptan.c: Remove.
18015 * sysdeps/i386/fpu/s_tan.S: Likewise.
18016 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18017 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18018 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18019 * math/libm-test.inc (tan_test): Add more tests and enable more
18020 tests for double and long double.
18021 * sysdeps/i386/fpu/libm-test-ulps: Update.
18022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18023
6a1bd2a1
JK
180242012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18025
18026 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18027 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18028
10a803e0
RM
180292012-03-16 Roland McGrath <roland@hack.frob.com>
18030
18031 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18032 * configure.in: Use it for both main tree and add-ons.
18033 * configure: Regenerated.
18034
f196c7f7
L
180352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18036
18037 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18038
8848d99d
JM
180392012-03-16 Joseph Myers <joseph@codesourcery.com>
18040
96cbe7f4
JM
18041 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18042 in comment.
18043
8848d99d
JM
18044 [BZ #13851]
18045 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18046 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18047 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18048 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18049 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18050 infinite argument.
18051 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18053 != 0 for prec == 2.
18054 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18055 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18056 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18057 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18058 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18059 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18060 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18061 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18062 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18063 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18064 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18065 * math/libm-test.inc (cos_test): Add more tests and enable more
18066 tests for long double.
18067 (sin_test): Likewise.
18068 (sincos_test): Likewise.
18069 * sysdeps/i386/fpu/libm-test-ulps: Update.
18070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18071
dd7f4703
DM
180722012-03-16 David S. Miller <davem@davemloft.net>
18073
18074 * sysdeps/sparc/fpu/math_private.h: New file.
18075
006f1daa
DM
180762012-03-15 David S. Miller <davem@davemloft.net>
18077
c0c83bc8
DM
18078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18079 file.
e6a62e18 18080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18082 file.
e6a62e18
DM
18083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18089 sysdep routines.
18090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18091
88cb87d9
DM
18092 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18093 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18094
006f1daa 18095 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18097 sparc-ifunc.h
006f1daa 18098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18100 Likewise.
18101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18102 Likewise.
006f1daa
DM
18103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18107 Likewise.
006f1daa
DM
18108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18113 Likewise.
18114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18115 Likewise.
006f1daa
DM
18116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18135 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18140
11e0098e
AS
181412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18142
18143 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18144 scaling.
18145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18146
e85b09d0
AJ
181472012-03-15 Andreas Jaeger <aj@suse.de>
18148
18149 [BZ #13852]
18150 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18151 ieee754/flt-32 implementation for sin, cos and sincos.
18152 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18153 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18154 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18155 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18156 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18157 ieee754/flt-32 implementation for tan.
18158
18159 * math/libm-test.inc (cos_test): Enable some large input tests for
18160 float as well
18161 (sin_test): Likewise.
18162 (sincos_test): Likewise.
18163 (tan_test): Add tests for large input.
18164
18165 * sysdeps/i386/fpu/libm-test-ulps: Update.
18166
81c64153
AJ
181672012-03-15 Andreas Jaeger <aj@suse.de>
18168
18169 [BZ #13658]
18170 * math/libm-test.inc (cos_test): Add more test cases.
18171 (sin_test): Likewise.
18172 (sincos_test): Likewise.
18173
7bbfa5c6
AJ
181742012-03-15 Andreas Jaeger <aj@suse.de>
18175
18176 [BZ #13837]
18177 * math/libm-test.inc (cos_test): Add a test case for large input
18178 value.
18179 (sin_test): Likewise.
18180 (sincos_test): Likewise.
18181
181822012-03-15 Andreas Jaeger <aj@suse.de>,
18183 Joseph Myers <joseph@codesourcery.com>
18184
18185 [BZ #13658]
0671f479 18186 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18187 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18188 * sysdeps/i386/fpu/branred.c: Likewise.
18189 * sysdeps/i386/fpu/dosincos.c: Likewise.
18190 * sysdeps/i386/fpu/mpa.c: Likewise.
18191 * sysdeps/i386/fpu/s_cos.S: Likewise.
18192 * sysdeps/i386/fpu/s_sin.S: Likewise.
18193 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18194 * sysdeps/i386/fpu/sincos32.c: Likewise.
18195
18196 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18197 Define.
18198 (libc_feupdateenv_53bit): Define.
18199 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18200 Define.
18201 (libc_feupdateenv_53bit): Define.
18202
18203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18204 53 bit (without extend i386 double precision).
18205
18206 * math/libm-test.inc (sincos_test): Add tests for large input.
18207 (sin): Likewise.
18208 (cos): Likewise.
18209
18210 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18211
9cad04ea
AS
182122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18213
18214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18215
f7062b9a
DM
182162012-03-15 David S. Miller <davem@davemloft.net>
18217
18218 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18219 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18220 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18221 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18234 file.
f7062b9a 18235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18237 file.
f7062b9a 18238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18240 file.
f7062b9a 18241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18243 file.
f7062b9a
DM
18244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18246 fmin/fmax sysdep routines.
18247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18248
7bd951ff
DM
182492012-03-14 David S. Miller <davem@davemloft.net>
18250
559398ab
DM
18251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18280 routines.
18281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18282 file.
559398ab 18283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18285 file.
559398ab 18286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18288 file.
559398ab 18289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18291 file.
559398ab 18292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18294 file.
559398ab 18295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18297 file.
18298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18299 file.
18300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18301 file.
18302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18303 file.
18304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18305 New file.
18306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18307 file.
18308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18309 file.
559398ab 18310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18312 file.
559398ab 18313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18315 file.
559398ab 18316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18318 file.
559398ab 18319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18321 VIS3 routines.
559398ab
DM
18322
18323 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18324 New file.
18325
5a1c1e32
DM
18326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18327
eae47a36
DM
18328 * sysdeps/sparc/configure.in: New file.
18329 * sysdeps/sparc/configure: Generate.
18330 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18331 * configure: Regenerate.
18332 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18333 * config.make.in (have-as-vis3): New.
18334 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18335 available use -Av9d instead of -Av9a.
18336 * sysdeps/sparc/sparc64/Makefile: Likewise.
18337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18339 New file.
18340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18341 file.
18342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18343 New file.
18344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18345 file.
eae47a36
DM
18346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18350 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18351
c0c83bc8
DM
18352 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18353 fzeros/fnegs to load 0x80000000 into a float register instead of
18354 using the stack.
7bd951ff
DM
18355 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18356
bd951ccb
JM
183572012-03-14 Joseph Myers <joseph@codesourcery.com>
18358
18359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18360 bits/syscall.h.
18361 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18362 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18363 ($(inst_includedir)/bits/syscall.h): Remove rule.
18364 ($(objpfx)bits/syscall.d): Include instead of
18365 $(objpfx)syscall-list.d.
18366 (generated): Change syscall-list.h and syscall-list.d to
18367 bits/syscall.h and bits/syscall.d.
18368
bb4e6db2
RM
183692012-03-14 Roland McGrath <roland@hack.frob.com>
18370
18371 [BZ #13846]
18372 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18373
aa4a2ae1
JM
183742012-03-14 Joseph Myers <joseph@codesourcery.com>
18375
e456826d
JM
18376 [BZ #13841]
18377 * math/s_csqrt.c: Include <float.h>.
18378 (__csqrt): Scale large or subnormal inputs.
18379 * math/s_csqrtf.c: Likewise.
18380 * math/s_csqrtl.c: Likewise.
18381 * math/libm-test.inc (csqrt_test): Add more tests.
18382 * sysdeps/i386/fpu/libm-test-ulps: Update.
18383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18384
aa4a2ae1
JM
18385 [BZ #13840]
18386 * math/libm-test.inc (hypot_test): Add more tests.
18387
7c10fd35
DM
183882012-03-13 David S. Miller <davem@davemloft.net>
18389
18390 [BZ #13840]
18391 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18392 double-precision for the calculation instead of scaling.
18393
f453b98b
JM
183942012-03-13 Joseph Myers <joseph@codesourcery.com>
18395
18396 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18397 manipulate bits before adding and subtracting TWO52[sx].
18398 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18399 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18400 Likewise.
18401 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18402
09a3453f
DM
184032012-03-13 David S. Miller <davem@davemloft.net>
18404
8e59da90
DM
18405 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18406 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18408 rtld-global-offsets.h
18409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18410
2a8ab7f2
DM
18411 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18412 large parameters.
18413
10f62770
DM
18414 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18415
5f0bdb18
DM
18416 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18417 'err' in the ifdef scope in which it is actually used.
18418
09a3453f
DM
18419 * nss/nss_db/db-init.c: Include string.h
18420
b4b2eb5e
DM
184212012-03-12 David S. Miller <davem@davemloft.net>
18422
98bb2f1c
DM
18423 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18424 masking out of the most significant byte of random value used.
18425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18426 Fix coding style in previous change.
18427
b4b2eb5e
DM
18428 * sysdeps/unix/sysv/linux/kernel-features.h
18429 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18430 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18431 expression.
18432 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18433 later.
18434
6e226b09
DM
184352012-03-11 David S. Miller <davem@davemloft.net>
18436
a1bcbd40
DM
18437 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18438 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18439 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18440 for 'resultvar' otherwise things get truncated on 64-bit.
18441
cb9d6174
DM
18442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18443 Fix masking out of the most significant byte of random value used.
18444
6e226b09
DM
18445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18446
058c132d
AS
184472012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18448
18449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18450
2d2cd515
DM
184512012-03-09 David S. Miller <davem@davemloft.net>
18452
18453 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18454 variables with appropriate CPP guards.
18455 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18456 frame pointer, not the stack pointer. Correct layout comments. Fix test
18457 on resulting framesize and the management of the outregs buffer for pltexit.
18458 Preserve floating point return values across _dl_call_pltexit call.
18459 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18460 framesize and the management of the outregs buffer for pltexit.
18461 Preserve floating point return values across _dl_call_pltexit
18462 call.
18463 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18464 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18465 (print_exit): Fix format string for return register value.
18466
9a07f9d0
JM
184672012-03-10 Joseph Myers <joseph@codesourcery.com>
18468
18469 * sunrpc/Makefile (others): Add rpcgen.
18470 ($(objpfx)rpcgen): Remove special build rule and dependency on
18471 libc.
18472 * sunrpc/rpcgen.c: New file.
18473
547b5e30
PE
184742012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18475
c524201a
PE
18476 [BZ #13673]
18477 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18478 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18479 * sysdeps/i386/crti.S: Likewise.
18480 * sysdeps/i386/crtn.S: Likewise.
18481 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18482 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18483 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18484 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18485 * sysdeps/sh/crti.S: Likewise.
18486 * sysdeps/sh/crtn.S: Likewise.
18487 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18488
7b6235f2
PE
18489 [BZ #13673]
18490 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18491 with URL.
18492 * locale/programs/locfile-kw.gperf: Likewise.
18493 * locale/programs/charmap-kw.h: Regenerated.
18494 * locale/programs/locfile-kw.h: Likewise.
18495
547b5e30
PE
18496 [BZ #13673]
18497 * intl/plural.y: Replace FSF snail mail address with URL.
18498 * intl/plural.c: Regenerated.
18499
5f0a5dae
RH
185002012-03-09 Richard Henderson <rth@twiddle.net>
18501
18502 * include/math_private.h: Remove file.
18503 * math/math_private.h: Move file ...
18504 * sysdeps/generic/math_private.h: ... here.
18505
b8c03620
RH
18506 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18507 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18508 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18509
4e234f5d 18510 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18511 and <math_private.h>.
18512 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18513 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18514 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18515 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18516 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18517 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18518 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18520 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18523 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18524 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18525 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18526 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18527 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18528 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18529 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18530 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18531 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18532 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18533 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18534 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18536 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18537 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18538 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18539 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18542 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18544 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18545 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18546 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18547 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18548 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18549 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18550 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18551 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18552 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18553 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18554 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18555 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18556 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18557 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18558 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18559 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18560 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18561 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18562 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18563 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18564 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18565 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18566 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18567 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18568 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18569 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18570 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18571 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18572 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18573 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18575 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18576 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18577 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18578 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18579 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18580 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18581 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18583 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18584 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18586 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18591 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18592 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18593 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18594 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18595 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18596 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18597 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18599 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18600 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18601 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18602 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18603 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18604 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18605 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18606 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18607 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18608 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18609 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18610 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18612 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18613 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18614 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18615 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18616 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18617 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18618 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18619 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18620 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18621 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18622 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18623 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18624 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18625 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18626 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18627 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18628 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18629 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18630 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18631 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18632 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18633 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18635 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18636 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18637 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18638 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18639 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18640 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18641 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18642 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18644 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18645 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18646 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18647 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18648 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18649 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18650 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18651 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18652 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18653 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18654 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18655 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18656 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18657 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18658 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18659 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18660 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18661 * sysdeps/ieee754/k_standard.c: Likewise.
18662 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18663 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18664 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18665 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18666 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18667 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18668 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18669 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18670 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18671 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18672 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18673 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18674 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18675 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18676 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18677 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18678 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18679 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18680 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18681 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18682 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18683 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18684 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18685 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18686 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18687 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18688 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18689 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18690 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18691 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18692 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18693 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18694 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18695 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18696 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18697 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18698 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18699 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18700 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18701 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18702 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18703 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18704 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18705 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18706 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18707 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18708 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18709 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18710 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18711 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18712 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18713 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18714 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18715 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18716 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18717 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18718 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18719 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18720 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18721 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18722 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18723 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18724 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18725 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18726 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18727 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18728 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18729 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18730 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18731 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18734 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18735 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18736 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18737 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18738 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18743 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18744 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18747 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18748 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18749 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18753 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18754 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18755 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18760 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18765 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18766 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18777 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18781 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18783 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18784 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18789 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18794 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18810 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18811 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18812 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18822 * sysdeps/ieee754/s_lib_version.c: Likewise.
18823 * sysdeps/ieee754/s_matherr.c: Likewise.
18824 * sysdeps/ieee754/s_signgam.c: Likewise.
18825 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18826 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18827 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18828 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18829 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18830 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18831 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18832 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18833 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18834 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18835 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18836 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18837 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18838 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18839 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18840 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18841 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18842 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18843 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18844 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18846
1991fa03
JM
188472012-03-09 Joseph Myers <joseph@codesourcery.com>
18848
18849 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18850 * sunrpc/rpc_main.c: Likewise.
18851 * sunrpc/rpc_svcout.c: Likewise.
18852
60d6f5a6
DM
188532012-03-09 David S. Miller <davem@davemloft.net>
18854
18855 * include/math_private.h: New file.
18856
4962050e
JM
188572012-03-09 Joseph Myers <joseph@codesourcery.com>
18858
02a6f887
JM
18859 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18860 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18861 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18862 from <bits/socket_type.h>.
18863 (enum __socket_type): Don't define here.
18864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18866 bits/socket_type.h.
18867
c6e013c1
JM
18868 [BZ #13566]
18869 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18870 checking __USE_GNU.
18871
4962050e
JM
18872 * Makerules ($(inst_includedir)/%.h): New rule.
18873 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18874 (install-others): Remove variable setting.
18875 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18876
38842f45
RH
188772012-03-08 Richard Henderson <rth@twiddle.net>
18878
67bb6da6
RH
18879 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18880 from macro to inline function; merge with the
18881 !__LIBC_INTERNAL_MATH_INLINES version.
18882 (__ieee754_sqrtf): Likewise.
18883
15194b4b
RH
18884 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18885 to inline function.
18886 (__rintf, __floor, __floorf): Likewise.
18887
64e21ede
RH
18888 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18889 macro to inline function.
18890 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18891
38842f45
RH
18892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18893 not <math/math_private.h>.
18894
c64bf5fe
DM
188952012-03-08 David S. Miller <davem@davemloft.net>
18896
18897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18898 copyright year.
18899 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18900
82d86f28
TS
189012012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18902
18903 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18904 normalization.
18905 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18906 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18907
aea5d727
UD
189082012-03-08 Ulrich Drepper <drepper@gmail.com>
18909
18910 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18911 be defined individually, they must be defined as a block. Define
18912 S for printing a string instead of hidint the different by using a
18913 macro for adding the 'l'.
18914 * stdio-common/tst-fphex-wide.c: Adjust.
18915
70bca0a3
MP
189162012-03-07 Marek Polacek <polacek@redhat.com>
18917
18918 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18919
65b81130
MP
189202012-03-08 Marek Polacek <polacek@redhat.com>
18921
18922 [BZ #13806]
18923 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18924 * stdio-common/tst-fphex.c: Define a few macros to make the
18925 test reusable. Use them.
18926 * stdio-common/tst-fphex-wide.c: New file.
18927
07037eeb
JM
189282012-03-08 Joseph Myers <joseph@codesourcery.com>
18929
a7a93d50
JM
18930 [BZ #6911]
18931 * manual/macros.texi (gnusystems): New macro.
18932 (nongnusystems): Likewise.
18933 (gnulinuxhurdsystems): Likewise.
18934 (gnuhurdsystems): Likewise..
18935 (gnulinuxsystems): Likewise.
18936 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18937 variants of the GNU system, not "GNU system".
18938 * manual/conf.texi: Likewise.
18939 * manual/errno.texi: Likewise. Update example of errno macro
18940 expansion.
18941 * manual/filesys.texi: Likewise.
18942 (getumask): Document as specific to GNU/Hurd.
18943 * manual/install.texi: Likewise. Reword some references to
18944 GNU/Linux.
18945 * manual/intro.texi: Likewise.
18946 * manual/io.texi: Likewise.
18947 (File Name Portability): Detail which constraints are inapplicable
18948 to all GNU systems and which are only inapplicable to GNU/Hurd.
18949 * manual/job.texi: Likewise.
18950 * manual/llio.texi: Likewise.
18951 (O_NOCTTY): Document as present on GNU/Linux.
18952 * manual/maint.texi: Likewise.
18953 * manual/memory.texi: Likewise.
18954 * manual/pattern.texi: Likewise.
18955 * manual/pipe.texi: Likewise.
18956 * manual/process.texi: Likewise.
18957 * manual/resource.texi: Likewise.
18958 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18959 child on GNU/Hurd.
18960 * manual/setjmp.texi: Likewise.
18961 * manual/signal.texi: Likewise.
18962 * manual/startup.texi: Likewise.
18963 * manual/stdio.texi: Likewise.
18964 * manual/terminal.texi: Likewise.
18965 (ONLCR): Document as POSIX.
18966 (OXTABS): Document availability on GNU/Linux as XTABS.
18967 (ONOEOT): Document availability separately from other bits.
18968 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18969 * manual/time.texi: Likewise.
18970 * manual/users.texi: Likewise.
18971 * INSTALL: Regenerated.
18972 * sysdeps/gnu/errlist.c: Regenerated.
18973
07037eeb
JM
18974 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18975 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18976 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18977 puts.
18978 * configure: Regenerated.
18979
d1d3431a
JM
189802012-03-07 Joseph Myers <joseph@codesourcery.com>
18981
af6a1e37
JM
18982 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18983 default includes instead of AC_HEADER_CHECK.
18984 * sysdeps/i386/configure: Regenerated.
18985
d1d3431a
JM
18986 [BZ #10716]
18987 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18988 * math/s_cacoshf.c (__cacoshf): Likewise.
18989 * math/s_cacoshl.c (__cacoshl): Likewise.
18990 * math/s_casinh.c (__casinh): Set signs of result from argument.
18991 * math/s_casinhf.c (__casinhf): Likewise.
18992 * math/s_casinhl.c (__casinhl): Likewise.
18993 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18994 (casinh_test): Add more tests.
18995 * sysdeps/i386/fpu/libm-test-ulps: Update.
18996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18997
482ff4da
UD
189982012-03-07 Ulrich Drepper <drepper@gmail.com>
18999
872fda05
UD
19000 * po/zh_TW.po: Update from translation team.
19001
a4300c7a
UD
19002 * login/Makefile (distribute): Remove variable.
19003 * catgets/Makefile: Likewise.
19004 * mach/Makefile: Likewise.
19005 * malloc/Makefile: Likewise.
19006 * misc/Makefile: Likewise.
19007 * iconv/Makefile: Likewise.
19008 * nscd/Makefile: Likewise.
19009 * hurd/Makefile: Likewise.
19010 * manual/Makefile: Likewise.
19011 * locale/Makefile: Likewise.
19012 * intl/Makefile: Likewise.
19013 * conform/Makefile: Likewise.
19014 * nss/Makefile: Likewise.
19015 * time/Makefile: Likewise.
19016 * soft-fp/Makefile: Likewise.
19017 * dirent/Makefile: Likewise.
19018 * gmon/Makefile: Likewise.
19019 * po/Makefile: Likewise.
19020 * rt/Makefile: Likewise.
19021 * socket/Makefile: Likewise.
19022 * math/Makefile: Likewise.
19023 * signal/Makefile: Likewise.
19024 * debug/Makefile: Likewise.
19025 * elf/Makefile: Likewise.
19026 * timezone/Makefile: Likewise.
19027 * stdlib/Makefile: Likewise.
19028 * iconvdata/Makefile: Likewise.
19029 * sunrpc/Makefile: Likewise.
19030 * io/Makefile: Likewise.
19031 * argp/Makefile: Likewise.
19032 * inet/Makefile: Likewise.
19033 * hesiod/Makefile: Likewise.
19034 * grp/Makefile: Likewise.
19035 * csu/Makefile: Likewise.
19036 * wctype/Makefile: Likewise.
19037 * crypt/Makefile: Likewise.
19038 * libio/Makefile: Likewise.
19039 * string/Makefile: Likewise.
19040 * nis/Makefile: Likewise.
19041 * resolv/Makefile: Likewise.
19042 * stdio-common/Makefile: Likewise.
19043 * wcsmbs/Makefile: Likewise.
19044 * dlfcn/Makefile: Likewise.
19045 * posix/Makefile: Likewise.
19046
3b7c4e74 19047 [BZ #6959]
482ff4da
UD
19048 * timezone/Makefile: Don't install timezone files, just the programs
19049 and scripts.
19050
f72ed77d
UD
190512012-03-06 Ulrich Drepper <drepper@gmail.com>
19052
a000466f
UD
19053 * nss/databases.def: Add missing gshadow entry.
19054
f72ed77d
UD
19055 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19056
a53b7a4e
MP
190572012-03-06 Marek Polacek <polacek@redhat.com>
19058
19059 [BZ #13726]
19060 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19061 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19062 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19063 * stdio-common/tst-long-dbl-fphex.c: New file.
19064
e9258400
DM
190652012-03-06 David S. Miller <davem@davemloft.net>
19066
19067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19068 (set_obp_int): New function.
19069 (get_obp_int): New function.
19070 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19071 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19072 Avoid unused variable warnings on 'val' and use builtin_expect.
19073 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19074 __builtin_expect.
e9258400
DM
19075 (INLINE_CLONE_SYSCALL): Likewise.
19076
3bd2c723
DM
190772012-03-05 David S. Miller <davem@davemloft.net>
19078
19079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19080
bbb78d03
AS
190812012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19082
884c5db4
AS
19083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19084
bbb78d03
AS
19085 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19086 only for |x| >= 40.
19087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19088
1c9f702a 190892012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19090
19091 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19092 Replace gettimeofday with __vdso_gettimeofday.
19093
7be16f82
RM
19094 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19095 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19096 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19097
19098 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19099 time with __vdso_time.
19100
ed58a00f
JM
191012012-03-05 Joseph Myers <joseph@codesourcery.com>
19102
19103 * manual/lang.texi (size_t): Note types to which size_t may be
19104 equivalent with the GNU C Library, but do not describe when
19105 differences between them are significant.
19106
30ee4ced
AJ
191072012-03-05 Andreas Jaeger <aj@suse.de>
19108
19109 * sysdeps/i386/fpu/libm-test-ulps: Update.
19110
b7cd39e8
JM
191112012-03-05 Joseph Myers <joseph@codesourcery.com>
19112
19113 [BZ #3976]
19114 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19115 (__ieee754_pow): Save and restore rounding mode and use
19116 round-to-nearest for main computations.
19117 * math/libm-test.inc (pow_test_tonearest): New function.
19118 (pow_test_towardzero): Likewise.
19119 (pow_test_downward): Likewise.
19120 (pow_test_upward): Likewise.
19121 (main): Call the new functions.
19122 * sysdeps/i386/fpu/libm-test-ulps: Update.
19123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19124
19125 [BZ #3976]
19126 * math/libm-test.inc (cosh_test_tonearest): New function.
19127 (cosh_test_towardzero): Likewise.
19128 (cosh_test_downward): Likewise.
19129 (cosh_test_upward): Likewise.
19130 (sinh_test_tonearest): Likewise.
19131 (sinh_test_towardzero): Likewise.
19132 (sinh_test_downward): Likewise.
19133 (sinh_test_upward): Likewise.
19134 (main): Call the new functions.
19135 * sysdeps/i386/fpu/libm-test-ulps: Update.
19136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19137
6c6a98c9
TV
191382012-03-05 Tom de Vries <tom@codesourcery.com>
19139
19140 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19141 default stack guard is set in last bytes.
19142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19143
21bb2d2e 191442012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19145
21bb2d2e 19146 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19147
21bb2d2e
AJ
19148 [BZ #13656]
19149 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19150 possibly allocate from heap instead of stack.
19151 * stdio-common/bug-vfprintf-nargs.c: New file.
19152 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19153
c6922934
AS
191542012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19155
19156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19157
bc957d53
MP
191582012-03-03 Marek Polacek <polacek@redhat.com>
19159
19160 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19161 * math/math_private.h: Likewise.
19162 * stdlib/tst-strtod.c: Likewise.
19163 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19164 * sysdeps/x86_64/bits/atomic.h: Likewise.
19165
6358490d
DM
191662012-03-02 David S. Miller <davem@davemloft.net>
19167
19168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19172 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19173 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19174 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19175 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19176
01ae168d
RM
191772012-03-02 Roland McGrath <roland@hack.frob.com>
19178
d9a17c07
RM
19179 [BZ #13792]
19180 * manual/examples/README: New file, says the example source files
19181 can be used under GPL>=2.
19182 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19183 line containing just "*/".
19184 * manual/examples/add.c: Add copyright header (GPL>=2).
19185 * manual/examples/argp-ex1.c: Likewise.
19186 * manual/examples/argp-ex2.c: Likewise.
19187 * manual/examples/argp-ex3.c: Likewise.
19188 * manual/examples/argp-ex4.c: Likewise.
19189 * manual/examples/atexit.c: Likewise.
19190 * manual/examples/db.c: Likewise.
19191 * manual/examples/dir.c: Likewise.
19192 * manual/examples/dir2.c: Likewise.
19193 * manual/examples/execinfo.c: Likewise.
19194 * manual/examples/filecli.c: Likewise.
19195 * manual/examples/filesrv.c: Likewise.
19196 * manual/examples/fmtmsgexpl.c: Likewise.
19197 * manual/examples/genpass.c: Likewise.
19198 * manual/examples/inetcli.c: Likewise.
19199 * manual/examples/inetsrv.c: Likewise.
19200 * manual/examples/isockad.c: Likewise.
19201 * manual/examples/longopt.c: Likewise.
19202 * manual/examples/memopen.c: Likewise.
19203 * manual/examples/memstrm.c: Likewise.
19204 * manual/examples/mkfsock.c: Likewise.
19205 * manual/examples/mkisock.c: Likewise.
19206 * manual/examples/mygetpass.c: Likewise.
19207 * manual/examples/pipe.c: Likewise.
19208 * manual/examples/popen.c: Likewise.
19209 * manual/examples/rprintf.c: Likewise.
19210 * manual/examples/search.c: Likewise.
19211 * manual/examples/select.c: Likewise.
19212 * manual/examples/setjmp.c: Likewise.
19213 * manual/examples/sigh1.c: Likewise.
19214 * manual/examples/sigusr.c: Likewise.
19215 * manual/examples/stpcpy.c: Likewise.
19216 * manual/examples/strdupa.c: Likewise.
19217 * manual/examples/strftim.c: Likewise.
19218 * manual/examples/strncat.c: Likewise.
19219 * manual/examples/subopt.c: Likewise.
19220 * manual/examples/swapcontext.c: Likewise.
19221 * manual/examples/termios.c: Likewise.
19222 * manual/examples/testopt.c: Likewise.
19223 * manual/examples/testpass.c: Likewise.
19224 * manual/examples/timeval_subtract.c: Likewise.
19225
01ae168d
RM
19226 [BZ #13792]
19227 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19228 function to ...
19229 * manual/timeval_subtract.c.texi: ... here, new file.
19230
49efa33d
DM
192312012-03-02 David S. Miller <davem@davemloft.net>
19232
19233 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19234
28afd92d
JM
192352012-03-02 Joseph Myers <joseph@codesourcery.com>
19236
804360ed
JM
19237 [BZ #3976]
19238 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19239 (__sin): Save and restore rounding mode and use round-to-nearest
19240 for all computations.
19241 (__cos): Save and restore rounding mode and use round-to-nearest
19242 for all computations.
19243 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19244 <fenv.h>.
19245 (tan): Save and restore rounding mode and use round-to-nearest for
19246 all computations.
19247 * math/libm-test.inc (cos_test_tonearest): New function.
19248 (cos_test_towardzero): Likewise.
19249 (cos_test_downward): Likewise.
19250 (cos_test_upward): Likewise.
19251 (sin_test_tonearest): Likewise.
19252 (sin_test_towardzero): Likewise.
19253 (sin_test_downward): Likewise.
19254 (sin_test_upward): Likewise.
19255 (tan_test_tonearest): Likewise.
19256 (tan_test_towardzero): Likewise.
19257 (tan_test_downward): Likewise.
19258 (tan_test_upward): Likewise.
19259 (main): Call the new functions.
19260 * sysdeps/i386/fpu/libm-test-ulps: Update.
19261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19262
a6d06d7b
JM
19263 [BZ #10135]
19264 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19265 small n, then large n, before computing and testing k+n.
19266 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19268 Likewise.
19269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19270 Likewise.
19271 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19272 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19279 * math/libm-test.inc (scalbn_test): Add more tests.
19280 (scalbln_test): Likewise.
19281
07e12bb3
JM
19282 * manual/filesys.texi (mode_t): Describe constraints on size and
19283 signedness, not exact equivalence to a particular type.
19284 (ino_t): Likewise.
19285 (ino64_t): Likewise.
19286 (dev_t): Likewise.
19287 (nlink_t): Likewise.
19288 (blkcnt_t): Likewise.
19289 (blkcnt64_t): Likewise.
19290 * manual/llio.texi (off_t): Likewise.
19291
28afd92d
JM
19292 [BZ #3976]
19293 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19294 (__ieee754_exp): Save and restore rounding mode and use
19295 round-to-nearest for all computations.
19296 * math/libm-test.inc (exp_test_tonearest): New function.
19297 (exp_test_towardzero): Likewise.
19298 (exp_test_downward): Likewise.
19299 (exp_test_upward): Likewise.
19300 (main): Call the new functions.
19301 * sysdeps/i386/fpu/libm-test-ulps: Update.
19302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19303
b1eeb65d
CD
193042012-03-01 Chris Demetriou <cgd@google.com>
19305
19306 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19307 have predictable order.
19308
53362a4b
DM
193092012-03-01 David S. Miller <davem@davemloft.net>
19310
3c969083
DM
19311 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19312
759707de
DM
19313 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19314 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19315 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19316 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19317
dfdb8ff2
DM
19318 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19319 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19320 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19322 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19323 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19324 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19325 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19326 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19327
ead89f96
DM
19328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19329
7f66bd07
DM
19330 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19331 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19332 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19333
53362a4b
DM
19334 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19335 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19336 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19337 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19338 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19339 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19341 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19343 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19344 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19347 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19348 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19350 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19351 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19352 * sysdeps/sparc/elf/configure: Regenerated.
19353
7b1902cb
JM
193542012-03-01 Joseph Myers <joseph@codesourcery.com>
19355
bec039bc
JM
19356 * configure.in (AS, LD): Require binutils 2.20 or later.
19357 * configure: Regenerated.
19358 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19359 as required minimum version.
19360 * INSTALL: Regenerated.
19361
7b1902cb
JM
19362 [BZ #2541]
19363 [BZ #4108]
19364 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19365 before squaring exponent.
19366 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19367 bottom long double and 27 bits of top long double before squaring
19368 exponent.
19369 * math/libm-test.inc (erfc_test): Add more tests.
19370 * sysdeps/i386/fpu/libm-test-ulps: Update.
19371 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19373
f775c276
KT
193742012-03-01 Kai Tietz <ktietz@redhat.com>
19375
19376 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19377 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19378 containing bit-fields.
19379 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19380 * soft-fp/single.h (_FP_UNION_S): Likewise.
19381 * soft-fp/double.h (_FP_UNION_D): Likewise.
19382
5b8a4d4a
JM
193832012-02-29 Joseph Myers <joseph@codesourcery.com>
19384
0bab47b6
JM
19385 [BZ #13786]
19386 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19387 not include ../strcmp.S.
19388 [USE_AS_STRNCASECMP_L]: Likewise.
19389 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19390 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19391 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19392 (__strncasecmp_l_ia32): Define as alias to
19393 __strncasecmp_l_nonascii.
19394
0fcad3e2
JM
19395 [BZ #5794]
19396 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19397 * sysdeps/i386/fpu/libm-test-ulps: Update.
19398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19399
5b8a4d4a
JM
19400 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19402
8fdceb2e
JL
194032012-02-29 Jeff Law <law@redhat.com>
19404
19405 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19406 out of bounds read.
19407
1f393a11
MP
194082012-02-29 Marek Polacek <polacek@redhat.com>
19409
19410 [BZ #13706]
19411 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19412 * elf/Makefile: Add rules to run tst-unused-dep.out.
19413
8847f037
DM
194142012-02-28 David S. Miller <davem@davemloft.net>
19415
19416 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19417 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19420 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19421 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19422
169d7f11
JM
194232012-02-29 Joseph Myers <joseph@codesourcery.com>
19424
19425 * math/libm-test.inc (llround_test): Move one test from
19426 lround_test. Use TEST_f_L in moved test.
19427 (lround_test): Move misplaced test to llround_test. Add testcase
19428 from bug 2561.
19429
39adf059
UD
194302012-02-28 Ulrich Drepper <drepper@gmail.com>
19431
19432 * sysdeps/x86_64/fpu/e_expf.S: New file.
19433 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19434
71b5d1c5
SB
194352012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19436
19437 [BZ #13637]
19438 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19439 of remain_len that may cause incomplete multi-byte character and
19440 false match.
19441 * posix/bug-regex33.c: New file.
19442 * posix/Makefile (tests): Add bug-regex33.
19443
1f77f049
JM
194442012-02-28 Joseph Myers <joseph@codesourcery.com>
19445
19446 * manual/macros.texi: New file.
19447 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19448 * manual/libc.texinfo: Include macros.texi.
19449 * manual/creatute.texi: Likewise.
19450 * manual/install.texi: Likewise.
19451 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19452 @glibcadj{} in references to the GNU C Library.
19453 * manual/charset.texi: Likewise.
19454 * manual/conf.texi: Likewise.
19455 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19456 when not using those macros.
19457 * manual/creature.texi: Likewise.
19458 * manual/crypt.texi: Likewise.
19459 * manual/errno.texi: Likewise.
19460 * manual/filesys.texi: Likewise.
19461 * manual/header.texi: Likewise.
19462 * manual/install.texi: Likewise.
19463 * manual/intro.texi: Likewise.
19464 * manual/io.texi: Likewise.
19465 * manual/job.texi: Likewise.
19466 * manual/lang.texi: Likewise.
19467 * manual/libc.texiinfo: Likewise.
19468 * manual/llio.texi: Likewise.
19469 * manual/locale.texi: Likewise.
19470 * manual/maint.texi: Likewise.
19471 * manual/math.texi: Likewise.
19472 * manual/memory.texi: Likewise.
19473 * manual/message.texi: Likewise.
19474 * manual/nss.texi: Likewise.
19475 * manual/pattern.texi: Likewise.
19476 * manual/process.texi: Likewise.
19477 * manual/resource.texi: Likewise.
19478 * manual/search.texi: Likewise.
19479 * manual/setjmp.texi: Likewise.
19480 * manual/signal.texi: Likewise.
19481 * manual/socket.texi: Likewise.
19482 * manual/startup.texi: Likewise.
19483 * manual/stdio.texi: Likewise.
19484 * manual/string.texi: Likewise.
19485 * manual/sysinfo.texi: Likewise.
19486 * manual/syslog.texi: Likewise.
19487 * manual/terminal.texi: Likewise.
19488 * manual/time.texi: Likewise.
19489 * manual/users.texi: Likewise.
19490 * INSTALL: Regenerated.
19491 * NOTES: Regenerated.
d40c5d54 19492 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19493
450bf206
AS
194942012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19495
19496 * include/dirent.h: Include <dirstream.h> before
19497 <dirent/dirent.h>.
19498
741a235b
DM
194992012-02-28 David S. Miller <davem@davemloft.net>
19500
19501 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19502 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19503 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19504 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19505
d6b5aa58
DM
195062012-02-27 David S. Miller <davem@davemloft.net>
19507
1aff59a3
DM
19508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19510 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19511 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19512
d6b5aa58
DM
19513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19514 frame pointer instead of stack pointer relative arg slot.
19515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19516 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19517 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19518
433f48bf
CD
195192012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19520
19521 [BZ #3992]
19522 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19523
d674b76d
DM
195242012-02-27 David S. Miller <davem@davemloft.net>
19525
19526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19530 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19531 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19532 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19533 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19534
0e7727f7
JM
195352012-02-27 Joseph Myers <joseph@codesourcery.com>
19536
19537 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19538 later. Allow versions 5-9.
43be4ca2 19539 * configure: Regenerated.
0e7727f7
JM
19540 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19541 required minimum version and 4.6 as recommended version. Do not
19542 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19543 * INSTALL: Regenerated.
0e7727f7 19544
a78bc654
DM
195452012-02-27 David S. Miller <davem@davemloft.net>
19546
428d5830
DM
19547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19551 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19552 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19553 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19554 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19555
a78bc654
DM
19556 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19557 manipulate bits before adding and subtracting TWO112[sx].
19558 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19559
4579f81c
RM
195602012-02-27 Roland McGrath <roland@hack.frob.com>
19561
36c8acb4
RM
19562 [BZ #13775]
19563 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19564 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19565 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19566 being in POSIX, because they are in 1003.1-2008.
19567
84ad622b
RM
19568 * rt/tst-aio.c: Include <fcntl.h>.
19569 * rt/tst-aio7.c: Likewise.
19570 * rt/tst-aio64.c: Likewise.
19571
4579f81c
RM
19572 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19573
abd923db
JM
195742012-02-27 Joseph Myers <joseph@codesourcery.com>
19575
19576 * manual/install.texi (--with-headers): Describe headers as
19577 interface headers, not private headers.
19578 (Specific advice for GNU/Linux systems): Describe use of headers
19579 from "make headers_install", not private headers from older
19580 kernels.
43be4ca2 19581 * INSTALL: Regenerated.
abd923db
JM
19582 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19583 Change to 2.6.19.
19584 * sysdeps/unix/sysv/linux/configure: Regenerated.
19585
6664049b
JM
19586 * manual/llio.texi (fclean): Remove documentation.
19587
bb8b6697
JM
19588 * manual/Makefile (libc-texi-generated): New variable. Include
19589 version.texi.
19590 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19591 $(libc-texi-generated), not duplicated list of files.
19592 (version.texi, stamp-version): New rules.
19593 (realclean): Remove $(libc-texi-generated), not individual files
19594 from that list. Do not remove dir-add.texinfo.
19595 * manual/libc.texinfo: Comment out uses of edition numbers and
19596 references to printed manual. Remove last-updated dates.
19597 (EDITION): Comment out.
19598 (ISBN): Likewise.
19599 (VERSION, UPDATED): Remove.
19600 (version.texi): Include.
19601
12e5c3b9
AS
196022012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19603
19604 * sysdeps/posix/spawni.c: Include <signal.h>.
19605 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19606 * sysdeps/pthread/aio_fsync.c: Likewise.
19607
4efeffc1 196082012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19609
ba63ba08
UD
19610 * conform/Makefile (tests): Run only when not cross-compiling and
19611 when fast-check is not defined.
19612
d94a4670
UD
19613 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19614 * conform/data/limits.h-data: Fixes for POSIX2008.
19615 * conform/run-conformtest.sh: Run all tests.
19616 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19617 headers.
19618 * include/bits/dlfcn.h: Likewise.
19619 * include/langinfo.h: Likewise.
19620 * include/monetary.h: Likewise.
19621 * include/sys/poll.h: Likewise.
19622
19623 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19624 for __USE_GNU.
19625 * posix/spawn.h: Define __need_sigset_t.
19626 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19627 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19628 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19629 to get sigevent_t only.
19630 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19631 only for __USE_GNU.
19632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19633 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19634 process_vm_writev only for __USE_GNU.
19635 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19636
19637 * conform/Makefile: For now ignore errors from run-conformtest.
19638 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19639 POSIX to avoid namespace pollution. Don't prepend headers.
19640 * conform/data/aio.h-data: Fixes for POSIX testing.
19641 * conform/data/fcntl.h-data: Likewise.
19642 * conform/data/glob.h-data: Likewise.
19643 * conform/data/grp.h-data: Likewise.
19644 * conform/data/pthread.h-data: Likewise.
19645 * conform/data/pwd.h-data: Likewise.
19646 * conform/data/signal.h-data: Likewise.
19647 * conform/data/spawn.h-data: Likewise.
19648 * conform/data/stdio.h-data: Likewise.
19649 * conform/data/stdlib.h-data: Likewise.
19650 * conform/data/stropts.h-data: Likewise.
19651 * conform/data/sys/mman.h-data: Likewise.
19652 * conform/data/sys/stat.h-data: Likewise.
19653 * conform/data/sys/types.h-data: Likewise.
19654 * conform/data/sys/wait.h-data: Likewise.
19655 * conform/data/time.h-data: Likewise.
19656 * conform/data/unistd.h-data: Likewise.
19657 * conform/data/utime.h-data: Likewise.
19658
19659 * io/sys/stat.h: fchmod was always in POSIX.
19660 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19661 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19662 * rt/aio.h: Define __need_timespec before including <time.h>.
19663 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19664 struct. Add forward declaration of pthread_attr_t and use it in
19665 sigevent.
19666 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19667 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19668 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19669 always remove CLK_TCK definition.
19670
c20105c3
AS
196712012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19672
19673 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19674
7a270350
UD
196752012-02-25 Ulrich Drepper <drepper@gmail.com>
19676
31341567
UD
19677 * conform/run-conformtest.sh: New file.
19678 * conform/Makefile: Run run-conformtest for tests.
19679 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19680 support.
19681
19682 * conform/data/uchar.h-data: New file.
19683 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19684 * conform/data/arpa/inet.h-data: Likewise.
19685 * conform/data/assert.h-data: Likewise.
19686 * conform/data/complex.h-data: Likewise.
19687 * conform/data/cpio.h-data: Likewise.
19688 * conform/data/ctype.h-data: Likewise.
19689 * conform/data/dirent.h-data: Likewise.
19690 * conform/data/dlfcn.h-data: Likewise.
19691 * conform/data/errno.h-data: Likewise.
19692 * conform/data/fcntl.h-data: Likewise.
19693 * conform/data/float.h-data: Likewise.
19694 * conform/data/fmtmsg.h-data: Likewise.
19695 * conform/data/fnmatch.h-data: Likewise.
19696 * conform/data/ftw.h-data: Likewise.
19697 * conform/data/glob.h-data: Likewise.
19698 * conform/data/grp.h-data: Likewise.
19699 * conform/data/iconv.h-data: Likewise.
19700 * conform/data/inttypes.h-data: Likewise.
19701 * conform/data/langinfo.h-data: Likewise.
19702 * conform/data/libgen.h-data: Likewise.
19703 * conform/data/limits.h-data: Likewise.
19704 * conform/data/locale.h-data: Likewise.
19705 * conform/data/math.h-data: Likewise.
19706 * conform/data/monetary.h-data: Likewise.
19707 * conform/data/mqueue.h-data: Likewise.
19708 * conform/data/ndbm.h-data: Likewise.
19709 * conform/data/net/if.h-data: Likewise.
19710 * conform/data/netdb.h-data: Likewise.
19711 * conform/data/netinet/in.h-data: Likewise.
19712 * conform/data/nl_types.h-data: Likewise.
19713 * conform/data/poll.h-data: Likewise.
19714 * conform/data/pthread.h-data: Likewise.
19715 * conform/data/pwd.h-data: Likewise.
19716 * conform/data/regex.h-data: Likewise.
19717 * conform/data/sched.h-data: Likewise.
19718 * conform/data/search.h-data: Likewise.
19719 * conform/data/semaphore.h-data: Likewise.
19720 * conform/data/setjmp.h-data: Likewise.
19721 * conform/data/signal.h-data: Likewise.
19722 * conform/data/spawn.h-data: Likewise.
19723 * conform/data/stdarg.h-data: Likewise.
19724 * conform/data/stdio.h-data: Likewise.
19725 * conform/data/stdlib.h-data: Likewise.
19726 * conform/data/string.h-data: Likewise.
19727 * conform/data/strings.h-data: Likewise.
19728 * conform/data/stropts.h-data: Likewise.
19729 * conform/data/sys/ipc.h-data: Likewise.
19730 * conform/data/sys/mman.h-data: Likewise.
19731 * conform/data/sys/msg.h-data: Likewise.
19732 * conform/data/sys/resource.h-data: Likewise.
19733 * conform/data/sys/select.h-data: Likewise.
19734 * conform/data/sys/sem.h-data: Likewise.
19735 * conform/data/sys/shm.h-data: Likewise.
19736 * conform/data/sys/socket.h-data: Likewise.
19737 * conform/data/sys/stat.h-data: Likewise.
19738 * conform/data/sys/statvfs.h-data: Likewise.
19739 * conform/data/sys/time.h-data: Likewise.
19740 * conform/data/sys/timeb.h-data: Likewise.
19741 * conform/data/sys/times.h-data: Likewise.
19742 * conform/data/sys/types.h-data: Likewise.
19743 * conform/data/sys/uio.h-data: Likewise.
19744 * conform/data/sys/un.h-data: Likewise.
19745 * conform/data/sys/utsname.h-data: Likewise.
19746 * conform/data/sys/wait.h-data: Likewise.
19747 * conform/data/syslog.h-data: Likewise.
19748 * conform/data/tar.h-data: Likewise.
19749 * conform/data/termios.h-data: Likewise.
19750 * conform/data/utime.h-data: Likewise.
19751 * conform/data/utmpx.h-data: Likewise.
19752 * conform/data/varargs.h-data: Likewise.
19753 * conform/data/wchar.h-data: Likewise.
19754 * conform/data/wctype.h-data: Likewise.
19755 * conform/data/wordexp.h-data: Likewise.
19756
19757 * include/stropts.h: New file.
19758 * include/uchar.h: New file.
19759 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19760 * include/assert.h: Likewise.
19761 * include/ctype.h: Likewise.
19762 * include/dirent.h: Likewise.
19763 * include/dlfcn.h: Likewise.
19764 * include/fcntl.h: Likewise.
19765 * include/fnmatch.h: Likewise.
19766 * include/glob.h: Likewise.
19767 * include/grp.h: Likewise.
19768 * include/libio.h: Likewise.
19769 * include/locale.h: Likewise.
19770 * include/math.h: Likewise.
19771 * include/net/if.h: Likewise.
19772 * include/netdb.h: Likewise.
19773 * include/netinet/in.h: Likewise.
19774 * include/pthread.h: Likewise.
19775 * include/pwd.h: Likewise.
19776 * include/regex.h: Likewise.
19777 * include/sched.h: Likewise.
19778 * include/search.h: Likewise.
19779 * include/setjmp.h: Likewise.
19780 * include/signal.h: Likewise.
19781 * include/stdio.h: Likewise.
19782 * include/stdlib.h: Likewise.
19783 * include/string.h: Likewise.
19784 * include/sys/cdefs.h: Likewise.
19785 * include/sys/mman.h: Likewise.
19786 * include/sys/msg.h: Likewise.
19787 * include/sys/resource.h: Likewise.
19788 * include/sys/select.h: Likewise.
19789 * include/sys/socket.h: Likewise.
19790 * include/sys/stat.h: Likewise.
19791 * include/sys/statvfs.h: Likewise.
19792 * include/sys/time.h: Likewise.
19793 * include/sys/times.h: Likewise.
19794 * include/sys/uio.h: Likewise.
19795 * include/sys/utsname.h: Likewise.
19796 * include/sys/wait.h: Likewise.
19797 * include/termios.h: Likewise.
19798 * include/time.h: Likewise.
19799 * include/ulimit.h: Likewise.
19800 * include/unistd.h: Likewise.
19801 * include/utime.h: Likewise.
19802 * include/wchar.h: Likewise.
19803 * include/wctype.h: Likewise.
19804 * include/wordexp.h: Likewise.
19805
19806 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19807
7a270350
UD
19808 * time/time.h: TIME_UTC must be a macro.
19809 Make timespec_get available for ISO C11 only as well.
19810
7724defc
UD
198112012-02-24 Ulrich Drepper <drepper@gmail.com>
19812
19813 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19814 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19815
6b1d1d46
JM
198162012-02-24 Joseph Myers <joseph@codesourcery.com>
19817
19818 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19819
0f8bbd69
JM
198202012-02-24 Joseph Myers <joseph@codesourcery.com>
19821
19822 * manual/texinfo.tex: Update to version 2012-01-19.16.
19823
66ab80bc
JM
198242012-02-24 Joseph Myers <joseph@codesourcery.com>
19825
19826 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19827
74981cc5
RM
198282012-02-24 Roland McGrath <roland@hack.frob.com>
19829
ee968201
RM
19830 [BZ #13738]
19831 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19832 * manual/fdl-1.3.texi: New file.
19833 * manual/fdl-1.1.texi: File removed.
19834
74981cc5
RM
19835 [BZ #13738]
19836 * manual/libc.texinfo (FDL_VERSION): New @set.
19837 Use it for mention of FDL in cover text.
19838 (Documentation License): Use it in @include file name.
19839
7bb764bc
JM
198402012-02-22 Joseph Myers <joseph@codesourcery.com>
19841 Roland McGrath <roland@hack.frob.com>
19842
19843 [BZ #5461]
19844 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19845 not LONG_LONG_MAX and LONG_LONG_MIN.
19846 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19847 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19848 name.
19849 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19850
6cbeae47
JM
198512012-02-22 Joseph Myers <joseph@codesourcery.com>
19852
19853 [BZ #2547]
19854 [BZ #11365]
19855 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19856 manipulate bits before adding and subtracting TWO23[sx].
19857 * math/libm-test.inc (nearbyint_test): Add more tests.
19858
fe45ce09
JM
198592012-02-22 Joseph Myers <joseph@codesourcery.com>
19860
19861 [BZ #2548]
19862 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19863 bits before adding and subtracting TWO23[sx].
19864 * math/libm-test.inc (rint_test): Add more tests.
19865 (rint_test_tonearest): Likewise.
19866 (rint_test_towardzero): Likewise.
19867 (rint_test_downward): Likewise.
19868 (rint_test_upward: Likewise.
19869
ff3b3d82
JM
198702012-02-22 Joseph Myers <joseph@codesourcery.com>
19871
19872 [BZ #10110]
19873 * include/stdc-predef.h: New file. Extracted from features.h.
19874 * include/features.h: Include stdc-predef.h.
19875 * Makefile (headers): Add stdc-predef.h.
19876 * CONFORMANCE (Compiler limitations): Update.
19877
ef0aab35
JM
198782012-02-22 Joseph Myers <joseph@codesourcery.com>
19879
19880 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19881
58639409
DM
198822012-02-21 David S. Miller <davem@davemloft.net>
19883
19884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19885 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19886
c0e70b25
DM
198872012-02-20 David S. Miller <davem@davemloft.net>
19888
19889 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19890 using a normal save/restore sequence, rather than allocating a
19891 dummy stack frame just to store a frame pointer and restore.
19892 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19893
fb06851d
JM
198942012-02-21 Joseph Myers <joseph@codesourcery.com>
19895
19896 * manual/install.texi: Fix stray word in line-wrapped comment.
19897
7a8b71c3
DM
198982012-02-20 David S. Miller <davem@davemloft.net>
19899
d510c123
DM
19900 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19901 both binutils and gcc support GOTDATA.
19902
0722d7c2
DM
19903 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19904 "rd %pc" in the PIC register setup sequences.
19905
3d2b3019
DM
19906 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19907 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19908 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19909 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19910 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19912 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19913 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19915 (SYSCALL_ERROR_HANDLER): Likewise.
19916 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19917 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19919 (SYSCALL_ERROR_HANDLER): Likewise.
19920
c80098a9
DM
19921 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19922 (HAVE_GCC_GOTDATA): New.
19923 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19924 relocation support in both binutils and gcc.
19925 * sysdeps/sparc/elf/configure: Regenerate.
19926
3a2545a0
DM
19927 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19928 * sysdeps/sparc/sparc32/elf/configure: Delete.
19929 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19930 * sysdeps/sparc/sparc64/elf/configure: Delete.
19931 * sysdeps/sparc/elf/configure.in: New file.
19932 * sysdeps/sparc/elf/configure: Generate.
19933
7a8b71c3
DM
19934 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19935 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19936 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19937 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19938 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19939
f1e86fca
JM
199402012-02-21 Joseph Myers <joseph@codesourcery.com>
19941
19942 * manual/install.texi: Do not mention specific glibc version
19943 numbers.
19944 * manual/libc.texinfo (VERSION, UPDATED): Update.
19945 (@copying): Use @copyright{} and range of years.
19946
0e7dfaef
JM
199472012-02-21 Joseph Myers <joseph@codesourcery.com>
19948
19949 [BZ #13695]
19950 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19951 [crti.S not in sysdirs] (generated): Do not append.
19952 [crti.S not in sysdirs] (omit-deps): Likewise.
19953 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19954 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19955 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19956 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19957 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19958 Likewise.
19959 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19960 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19961 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19962 * csu/defs.awk: Remove file.
19963 * sysdeps/generic/initfini.c: Likewise.
19964 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19965 variable.
19966 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19967 Likewise.
19968
599af3ca
JM
199692012-02-20 Joseph Myers <joseph@codesourcery.com>
19970
19971 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19972 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19973 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19974 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19975 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19976 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19977 <bits/epoll.h>.
19978 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19979 (__EPOLL_PACKED): Define to empty if not defined by
19980 <bits/epoll.h>.
19981 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19983 bits/epoll.h.
19984
0e499750
JM
199852012-02-20 Joseph Myers <joseph@codesourcery.com>
19986
19987 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19988 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19989 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19990 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19991 <bits/timerfd.h>.
19992 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19994 bits/timerfd.h.
19995
5ad91f6e
JM
199962012-02-20 Joseph Myers <joseph@codesourcery.com>
19997
19998 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19999 in C locale.
20000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20001 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20002 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20004
06b99b02
AJ
200052012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20006
20007 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20008 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20009
7638c0fd
AS
200102012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20011
20012 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20013 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20014 defined.
20015 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20016 Likewise.
20017 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20018 entry for 2.16.
20019
92221550
AJ
200202012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20021
20022 * math/w_acos.c: Use non-signaling floating-point comparisons.
20023 * math/w_acosf.c: Likewise.
20024 * math/w_acosh.c: Likewise.
20025 * math/w_acoshf.c: Likewise.
20026 * math/w_acoshl.c: Likewise.
20027 * math/w_acosl.c: Likewise.
20028 * math/w_asin.c: Likewise.
20029 * math/w_asinf.c: Likewise.
20030 * math/w_asinl.c: Likewise.
20031 * math/w_atanh.c: Likewise.
20032 * math/w_atanhf.c: Likewise.
20033 * math/w_atanhl.c: Likewise.
20034 * math/w_exp2.c: Likewise.
20035 * math/w_exp2f.c: Likewise.
20036 * math/w_exp2l.c: Likewise.
20037 * math/w_j0.c: Likewise.
20038 * math/w_j0f.c: Likewise.
20039 * math/w_j0l.c: Likewise.
20040 * math/w_j1.c: Likewise.
20041 * math/w_j1f.c: Likewise.
20042 * math/w_j1l.c: Likewise.
20043 * math/w_jn.c: Likewise.
20044 * math/w_jnf.c: Likewise.
20045 * math/w_log.c: Likewise.
20046 * math/w_log10.c: Likewise.
20047 * math/w_log10f.c: Likewise.
20048 * math/w_log10l.c: Likewise.
20049 * math/w_log2.c: Likewise.
20050 * math/w_log2f.c: Likewise.
20051 * math/w_log2l.c: Likewise.
20052 * math/w_logf.c: Likewise.
20053 * math/w_logl.c: Likewise.
20054 * math/w_sqrt.c: Likewise.
20055 * math/w_sqrtf.c: Likewise.
20056 * math/w_sqrtl.c: Likewise.
20057 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20058 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20060 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20061 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20062
ebaf36eb
JM
200632012-02-19 Joseph Myers <joseph@codesourcery.com>
20064
20065 [BZ #9739]
20066 * manual/string.texi (strnlen): Use correct parameter name in
20067 equivalent expression.
20068
71c254a6
JM
200692012-02-19 Joseph Myers <joseph@codesourcery.com>
20070
20071 [BZ #11174]
20072 * manual/users.texi (seteuid): Consistently use neweuid for
20073 argument name.
20074
16d2c631
JM
200752012-02-19 Joseph Myers <joseph@codesourcery.com>
20076
20077 [BZ #13704]
20078 * manual/nss.texi (Services in the NSS configuration): Correct
20079 list of services in example configuration file.
20080
cd837b09
NB
200812012-02-19 Nick Bowler <nbowler@draconx.ca>
20082
20083 [BZ #11322]
20084 * manual/arith.texi: Remove statements about negative zero
20085 behaving identically to zero.
20086
02c4bbad
JM
200872012-02-18 Joseph Myers <joseph@codesourcery.com>
20088
20089 [BZ #5993]
20090 * manual/install.texi: Do not document upgrading from libc5.
20091
366842e7
JM
200922012-02-18 Joseph Myers <joseph@codesourcery.com>
20093
20094 [BZ #4596]
20095 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20096
dd54084d
DM
200972012-02-18 David S. Miller <davem@davemloft.net>
20098
20099 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20100 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20101 %o7 across the call.
20102 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20103 instead.
20104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20105 SETUP_PIC_REG_LEAF.
20106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20107 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20108 * sysdeps/sparc/crtn.S: Likewise.
20109
2bcc53a3
UD
201102012-02-17 Ulrich Drepper <drepper@gmail.com>
20111
20112 * aout/Makefile: Remove.
20113
09c093b5
RK
201142012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20115
20116 [BZ #13058]
20117 * manual/examples/argp-ex1.c (main): Format definition in GNU
20118 style.
20119 * manual/examples/argp-ex2.c (main): Likewise.
20120 * manual/examples/argp-ex3.c (main): Likewise.
20121 * manual/examples/argp-ex4.c (main): Likewise.
20122 * manual/examples/longopt.c (main): Use new-style prototype
20123 definition.
20124 * manual/examples/strncat.c (main): Specify return type and use
20125 (void) for arguments.
20126 * manual/examples/subopt.c (main): Use char **argv argument.
20127
2ee633a2
JM
201282012-02-17 Joseph Myers <joseph@codesourcery.com>
20129
20130 [BZ #5077]
20131 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20132 rounding modes.
20133
0520adde
FB
201342012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20135
20136 [BZ #6907]
20137 * manual/string.texi (strchr): Change when strchrnul is
20138 recommended.
20139
3f4081cd
DGM
201402012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20141
20142 [BZ #174]
20143 * manual/locale.texi (setlocale): Document LOCPATH.
20144
d1b10e78
JM
201452012-02-17 Joseph Myers <joseph@codesourcery.com>
20146
20147 [BZ #10210]
20148 * manual/process.texi (execle): Move @dots{} before last argument.
20149
79c6869c
PB
201502012-02-17 Paul Bolle <pebolle@tiscali.nl>
20151
20152 [BZ #12047]
20153 * manual/charset.texi (Generic Charset Conversion): Fix typo
20154 (LC_TYPE -> LC_CTYPE).
20155
cc6e48bc
NB
201562012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20157
20158 [BZ #5805]
20159 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20160 (scalbnf): Likewise.
20161 (scalbnl): Likewise.
20162 (scalbln): Likewise.
20163 (scalblnf): Likewise.
20164 (scalblnl): Likewise.
20165 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20166 (vwarnx): Likewise.
20167 (verr): Likewise.
20168 (verrx): Likewise.
20169 * manual/filesys.texi (telldir): Use braces around return type.
20170 * manual/llio.texi (mmap): Add space after comma.
20171 (mmap64): Likewise.
20172 * manual/math.texi (jn): Use @var{} on parameter names.
20173 (jnf): Likewise.
20174 (jnl): Likewise.
20175 (yn): Likewise.
20176 (ynf): Likewise.
20177 (ynl): Likewise.
20178 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20179 line.
20180 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20181 "...".
20182 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20183 (sched_get_priority_max): Likewise.
20184 * manual/signal.texi (sigvec): Add space after comma.
20185 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20186 names.
20187 (if_indextoname): Likewise.
20188 (if_freenameindex): Likewise.
20189 (sendto): Use ',' instead of '.' in prototype.
20190 * manual/startup.texi (syscall): Use @dots{} instead of literal
20191 "...".
20192 * manual/stdio.texi (__fpending): Separate initial words of
20193 paragraph from @deftypefun line.
20194 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20195 "...".
20196 (vsyslog): Use @var{} on parameter names.
20197 * manual/terminal.texi (stty): Use @var{} on parameter names.
20198 * manual/users.texi (getutmp): Use @var{} on parameter names.
20199 (getutmpx): Likewise.
20200
5b23062f
JM
202012012-02-17 Joseph Myers <joseph@codesourcery.com>
20202
20203 [BZ #6884]
20204 * manual/stdio.texi (fopen): Fix typos in description of
20205 ",ccs=STRING".
20206
8dee4833
AJ
202072012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20208
20209 [BZ #4026]
20210 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20211 get clock_id definition.
20212
9078ce93
TS
202132012-02-17 Thomas Schwinge <thomas@schwinge.name>
20214
20215 [BZ #4822]
20216 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20217 (madvise): Cast every argument to void on its own.
20218
3835c55f
JM
202192012-02-17 Joseph Myers <joseph@codesourcery.com>
20220
20221 [BZ #9902]
20222 * manual/startup.texi (Exit Status): Fix typo.
20223
35c47e37
JM
202242012-02-17 Joseph Myers <joseph@codesourcery.com>
20225
20226 [BZ #10140]
20227 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20228 * manual/examples/argp-ex2.c: Likewise.
20229 * manual/examples/argp-ex3.c: Likewise.
20230
e3b69ca7
RH
202312012-02-16 Richard Henderson <rth@redhat.com>
20232
20233 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20234 * sysdeps/s390/s390-32/initfini.c: Remove.
20235 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20236 * sysdeps/s390/s390-64/initfini.c: Remove.
20237
df83af67
KK
202382012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20239
20240 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20241 compiler output for sysdeps/generic/initfini.c.
20242 * sysdeps/sh/elf/initfini.c: Remove file.
20243
f63f3380
DM
202442012-02-16 David S. Miller <davem@davemloft.net>
20245
fb59b3a4
DM
20246 [BZ #11494]
20247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20248
f63f3380
DM
20249 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20250 * sysdeps/sparc/crti.S: New file.
20251 * sysdeps/sparc/crtn.S: New file.
20252 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20253 * sysdeps/sparc/sparc64/Makefile: Likewise.
20254
df6a4a4a
MF
202552012-02-15 Mike Frysinger <vapier@gentoo.org>
20256
6dd8f3dc 20257 [BZ #3335]
df6a4a4a
MF
20258 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20259
1cac7236
RM
202602012-02-15 Roland McGrath <roland@hack.frob.com>
20261
d2c736f8
RM
20262 [BZ #4822]
20263 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20264
1cac7236
RM
20265 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20266 (write, read, close): Likewise.
20267 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20268
8e475601
JM
202692012-02-15 Joseph Myers <joseph@codesourcery.com>
20270
20271 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20272 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20273 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20274 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20275 <bits/signalfd.h>.
20276 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20278 bits/signalfd.h.
20279
ed656b40
MP
202802012-02-14 Marek Polacek <polacek@redhat.com>
20281
20282 * sysdeps/x86_64/crti.S: New file.
20283 * sysdeps/x86_64/crtn.S: New file.
20284 * sysdeps/x86_64/elf/initfini.c: Remove file.
20285
2a979d3a
JM
202862012-02-13 Joseph Myers <joseph@codesourcery.com>
20287
20288 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20289 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20290 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20291 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20292 <bits/inotify.h>.
20293 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20295 bits/inotify.h.
20296
2a418ac3
JM
202972012-02-13 Joseph Myers <joseph@codesourcery.com>
20298
20299 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20300 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20301 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20302 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20303 <bits/eventfd.h>.
20304 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20306 bits/eventfd.h.
20307
fb779be7
TS
203082012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20309
e19e83c5
RM
20310 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20311 __feraiseexcept instead of feraiseexcept.
7c35ffed 20312
fb779be7
TS
20313 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20314 nanosleep invocations.
20315 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20316 strings, and add error checking for a nanosleep invocations.
20317
59ba27a6
PE
203182012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20319
20320 Replace FSF snail mail address with URLs, as per GNU coding standards.
20321 Most of the snail mail addresses were wrong anyway, and omitting
20322 them makes the source code easier to maintain. Almost all of the
20323 changes are to license notices and to locale LC_IDENTIFICATION
20324 addresses, except for this one:
20325 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20326 not its snail mail address.
20327
57b957eb
RH
203282012-02-09 Richard Henderson <rth@twiddle.net>
20329
af850b1c
RH
20330 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20331 of kernel-features.h.
20332
57b957eb
RH
20333 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20334
6b73181a
MP
203352012-02-08 Marek Polacek <polacek@redhat.com>
20336
20337 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20338 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20339 * sysdeps/gnu/_G_config.h: Likewise.
20340 * sysdeps/generic/_G_config.h: Likewise.
20341
26ecc33a
AS
203422012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20343
6c6dbc63
AS
20344 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20345 tests.
20346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20347
e216c012
AS
20348 * sysdeps/powerpc/powerpc32/crti.S: New file.
20349 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20350 * sysdeps/powerpc/powerpc64/crti.S: New file.
20351 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20352
26ecc33a
AS
20353 * Makeconfig (have-initfini): Don't set.
20354 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20355 * configure.in (nopic_initfini): Don't substitute.
20356 * config.h.in (HAVE_INITFINI): Don't #undef.
20357 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20358 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20359
3add8e13
JM
203602012-02-08 Joseph Myers <joseph@codesourcery.com>
20361
20362 Support crti.S and crtn.S provided directly by architectures.
20363 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20364 [crti.S in sysdirs] (omit-deps): Likewise.
20365 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20366 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20367 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20368 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20369 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20370 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20371 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20372 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20373 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20374 compiler output for sysdeps/generic/initfini.c.
20375 * sysdeps/i386/elf/Makefile: Remove file.
20376 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20377
a22f12b4
MP
203782012-02-07 Marek Polacek <polacek@redhat.com>
20379
20380 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20381 * sysdeps/gnu/_G_config.h: Likewise.
20382 * sysdeps/mach/hurd/_G_config.h: Likewise.
20383
148cf100
MP
203842012-02-07 Marek Polacek <polacek@redhat.com>
20385
20386 * math/Makefile (tests): Add tst-CMPLX2.
20387 * math/tst-CMPLX2.c: New file.
20388
cfdc0dd7
AS
203892012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20390
84ba42c4
AS
20391 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20392
cfdc0dd7
AS
20393 * math/libm-test.inc (jn_test): Add missing L suffix.
20394
622c86f4
MP
203952012-02-06 Marek Polacek <polacek@redhat.com>
20396
20397 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20398 * sysdeps/i386/fpu/e_powf.S: Likewise.
20399 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20400 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20401 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20402 * sysdeps/i386/fpu/e_pow.S: Likewise.
20403 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20404 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20405 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20406 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20407 * sysdeps/i386/fpu/e_log2.S: Likewise.
20408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20409 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20410 * sysdeps/i386/fpu/e_powl.S: Likewise.
20411 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20413 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20414 * sysdeps/i386/fpu/e_logl.S: Likewise.
20415 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20416 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20417 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20418 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20419 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20420 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20421 * sysdeps/i386/fpu/e_log.S: Likewise.
20422 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20423 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20424 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20425 * sysdeps/i386/fpu/e_logf.S: Likewise.
20426 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20427 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20428 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20429 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20430 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20431 * sysdeps/i386/fpu/e_log10.S: Likewise.
20432 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20433 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20434 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20435 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20436 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20437 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20438 * sysdeps/i386/asm-syntax.h: Likewise.
20439 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20440 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20441 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20442 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20443 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20444 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20445 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20446 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20447 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20448 * sysdeps/powerpc/sysdep.h: Likewise.
20449 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20450 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20451
d4a54ac6
JM
204522012-02-06 Joseph Myers <joseph@codesourcery.com>
20453
20454 [BZ #411]
20455 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20456
314054ea
JM
204572012-02-06 Joseph Myers <joseph@codesourcery.com>
20458
20459 * sysdeps/i386/sysdep.h: Include <features.h>.
20460 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20461 version.
20462
d8e0ca50
JM
204632012-02-05 Joseph Myers <joseph@codesourcery.com>
20464
20465 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20466 Define.
20467 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20468 LOAD_PIC_REG_STR.
20469
b1da7dd9
JM
204702012-02-03 Joseph Myers <joseph@codesourcery.com>
20471
20472 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20473 (SETUP_PIC_REG): Use GET_PC_THUNK.
20474 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20475 macro.
20476
9a1d9254
JM
204772012-02-03 Joseph Myers <joseph@codesourcery.com>
20478
20479 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20480 for non-PIC compilation.
20481 (SETUP_PIC_REG): Add .p2align directive.
20482 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20483 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20484 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20485 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20486 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20487 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20488 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20490 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20491 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20492 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20493 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20494 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20495 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20496 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20497 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20498 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20503 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20504 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20505 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20506 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20510 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20511 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20514 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20515 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20516 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20517 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20518 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20519 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20520 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20521 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20522 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20523
65dc3b75
JM
205242012-02-03 Joseph Myers <joseph@codesourcery.com>
20525
20526 * math/tst-CMPLX.c: Include <stdio.h>.
20527
d55bf177
JM
205282012-01-31 Joseph Myers <joseph@codesourcery.com>
20529
20530 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20531 float.
20532 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20533 * sysdeps/sparc/bits/mathdef.h: Likewise.
20534
69db4f8f
MP
205352012-01-31 Marek Polacek <polacek@redhat.com>
20536
20537 * libio/libio.h: Don't define _PARAMS.
20538 * locale/programs/config.h: Don't define PARAMS.
20539 * stdlib/strtol_l.c: Likewise.
20540 (__strtol_l): Remove PARAMS from the prototype.
20541
41b81892
UD
205422012-01-31 Ulrich Drepper <drepper@gmail.com>
20543
3b49edc0
UD
20544 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20545 names. Just use the correct names. Remove unnecessary wrapper
20546 functions.
20547 * malloc/arena.c: Likewise.
20548 * malloc/hooks.c: Likewise.
20549
41b81892
UD
20550 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20551 ARENA_TEST says not to. Simplify test for creation of a new arena.
20552 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20553
27a25b6e
UD
205542012-01-30 Ulrich Drepper <drepper@gmail.com>
20555
20556 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20557 into tail calls.
20558 (update_get_addr): New function.
20559 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20560 GET_ADDR_MODULE parameter.
20561
c8a89e7d
JM
205622012-01-30 Joseph Myers <joseph@codesourcery.com>
20563
20564 * crypt/cert.c: Remove __STDC__ conditionals.
20565 * crypt/crypt-entry.c: Likewise.
20566 * crypt/crypt_util.c: Likewise.
20567 * libio/filedoalloc.c: Likewise.
20568 * libio/fileops.c: Likewise.
20569 * libio/genops.c: Likewise.
20570 * libio/iofclose.c: Likewise.
20571 * libio/iofdopen.c: Likewise.
20572 * libio/iofopen.c: Likewise.
20573 * libio/iofopen64.c: Likewise.
20574 * libio/iogetdelim.c: Likewise.
20575 * libio/iopopen.c: Likewise.
20576 * libio/obprintf.c: Likewise.
20577 * libio/oldfileops.c: Likewise.
20578 * libio/oldiofclose.c: Likewise.
20579 * libio/oldiofdopen.c: Likewise.
20580 * libio/oldiofopen.c: Likewise.
20581 * libio/oldiopopen.c: Likewise.
20582 * libio/wfiledoalloc.c: Likewise.
20583 * libio/wgenops.c: Likewise.
20584 * locale/programs/xmalloc.c: Likewise.
20585 * misc/syslog.c: Likewise.
20586 * stdio-common/xbug.c: Likewise.
20587 * string/memchr.c: Likewise.
20588 * string/memcmp.c: Likewise.
20589 * string/memrchr.c: Likewise.
20590 * string/rawmemchr.c: Likewise.
20591 * sysdeps/posix/getcwd.c: Likewise.
20592 * time/strftime_l.c: Likewise.
20593
3b100462
JM
205942012-01-30 Joseph Myers <joseph@codesourcery.com>
20595
20596 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20597 * config.make.in (config-cflags-sse2avx): Define.
20598 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20599 Fix typo.
20600
607998af
CM
206012012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20602
20603 * scripts/config.guess: Update from upstream config git repository.
20604 * scripts/config.sub: Likewise.
20605
3601428f
CM
206062012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20607
3ac8b282
CM
20608 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20609 (EM_NUM): Update.
20610 (R_TILEPRO_*, R_TILEGX_*): New macros.
20611
e034841e
CM
20612 * scripts/firstversions.awk: Fix bug in version range handling.
20613
540d7568
CM
20614 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20615
3601428f
CM
20616 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20617
463de862
CM
20618 * include/sys/epoll.h: New file.
20619 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20620 libc_hidden_def.
20621
73139a76
UD
206222012-01-28 Ulrich Drepper <drepper@gmail.com>
20623
96bc5b45
UD
20624 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20625 Avoid unnecessary __WORDSIZE == 64 test.
20626 (fmaxf): Use VEX format if possible.
20627 (fmax): Likewise.
20628 (fminf): Likewise.
20629 (fmin): Likewise.
20630
56f6f6a2
UD
20631 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20632 * math/math_private.h: Remove libc_fegetround* and
20633 libc_fesetround*.
20634 * sysdeps/i386/configure.in: Check for -msse2avx.
20635 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20636 also if SSE2AVX is defined.
20637 Remove libc_fegetround* and libc_fesetround*.
20638 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20639 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20641 of HAS_YMM_USABLE.
20642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20647
73139a76
UD
20648 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20649
d73f93a4
AZ
206502012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20651
20652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20653 size is not set.
20654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20655
6ee65ed6
UD
206562012-01-27 Ulrich Drepper <drepper@gmail.com>
20657
20658 [BZ #13618]
20659 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20660 relocation.
20661 * Makeconfig (libm): Define.
20662 * elf/Makefile: Add rules to build and run tst-relsort1.
20663 * elf/tst-relsort1.c: New file.
20664 * elf/tst-relsort1mod1.c: New file.
20665 * elf/tst-relsort1mod2.c: New file.
20666
8db21882
JM
206672012-01-27 Joseph Myers <joseph@codesourcery.com>
20668
20669 * math/s_ldexp.c: Remove __STDC__ conditionals.
20670 * math/s_ldexpf.c: Likewise.
20671 * math/s_ldexpl.c: Likewise.
20672 * math/s_nextafter.c: Likewise.
20673 * math/s_nexttowardf.c: Likewise.
20674 * math/s_significand.c: Likewise.
20675 * math/s_significandf.c: Likewise.
20676 * math/s_significandl.c: Likewise.
20677 * math/w_jnl.c: Likewise.
20678 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20679 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20680 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20681 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20682 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20683 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20684 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20687 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20688 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20689 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20690 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20691 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20692 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20693 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20694 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20695 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20697 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20698 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20699 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20700 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20701 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20702 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20703 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20704 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20705 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20706 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20707 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20708 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20709 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20710 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20711 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20712 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20713 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20714 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20715 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20716 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20717 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20718 * sysdeps/ieee754/k_standard.c: Likewise.
20719 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20720 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20721 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20722 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20723 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20724 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20726 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20727 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20728 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20729 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20730 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20731 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20732 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20733 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20738 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20739 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20740 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20741 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20742 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20743 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20744 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20746 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20748 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20750 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20751 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20752 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20754 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20755 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20758 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20759 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20761 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20762 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20764 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20765 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20768 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20769 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20771 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20772 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20773 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20774 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20775 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20777 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20779 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20780 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20781 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20782 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20783 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20784 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20785 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20786 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20787 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20788 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20789 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20790 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20791 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20792 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20793 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20795 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20796 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20798 * sysdeps/ieee754/s_matherr.c: Likewise.
20799 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20800 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20803
965a54a4
JM
208042012-01-26 Joseph Myers <joseph@codesourcery.com>
20805
20806 * crypt/md5.h: Remove __STDC__ conditionals.
20807 * libio/libioP.h: Likewise.
20808 * locale/programs/config.h: Likewise.
20809 * sysdeps/generic/sysdep.h: Likewise.
20810 * sysdeps/i386/asm-syntax.h: Likewise.
20811 * sysdeps/s390/asm-syntax.h: Likewise.
20812 * sysdeps/unix/sysdep.h: Likewise.
20813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20815
7071ad79
JM
208162012-01-26 Joseph Myers <joseph@codesourcery.com>
20817
20818 * libio/libio.h: Remove __STDC__ conditionals.
20819 * malloc/obstack.h: Likewise.
20820 * math/complex.h: Likewise.
20821 * math/math.h: Likewise.
20822 * sysdeps/generic/_G_config.h: Likewise.
20823 * sysdeps/gnu/_G_config.h: Likewise.
20824 * sysdeps/mach/hurd/_G_config.h: Likewise.
20825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20826 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20827 * sysdeps/sparc/bits/mathdef.h: Likewise.
20828
afc5ed09
UD
208292012-01-26 Ulrich Drepper <drepper@gmail.com>
20830
20831 [BZ #13583]
20832 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20833 Clean up HAS_* macros.
afc5ed09 20834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20835 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20836 possible.
20837 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20838 HAS_AVX.
20839 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20840 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20841 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20843 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20844
bdb6de1d
JM
208452012-01-25 Joseph Myers <joseph@codesourcery.com>
20846
20847 * elf/tst-unique3.cc (gets): Remove declaration.
20848 * elf/tst-unique3lib.cc (gets): Likewise.
20849 * elf/tst-unique3lib2.cc (gets): Likewise.
20850 * elf/tst-unique4.cc (gets): Likewise.
20851
b15549e6
UD
208522012-01-24 Ulrich Drepper <drepper@gmail.com>
20853
20854 * include/stdio.h: Add C++ protection. Add gets declarations and
20855 definitions.
20856 * debug/tst-chk1.c: Don't declare gets here.
20857 * stdio-common/tst-gets.c: Likewise.
20858
a037381f
JM
208592012-01-24 Joseph Myers <joseph@codesourcery.com>
20860
20861 * posix/glob: Remove directory.
20862
f1d4aa75
JM
208632012-01-24 Joseph Myers <joseph@codesourcery.com>
20864
20865 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20866
81c0c964
PT
208672012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20868
20869 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20870 of the non-standard EPFNOSUPPORT.
20871
0ea698ae
ST
208722011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20873
20874 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20875 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20876 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20877
d220b117
UD
208782012-01-21 Ulrich Drepper <drepper@gmail.com>
20879
20880 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20881
3e1aa84e
UD
208822012-01-20 Ulrich Drepper <drepper@gmail.com>
20883
20884 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20885 transient errors.
20886 * nscd/grpcache.c (cache_addgr): Likewise.
20887 * nscd/hstcache.c (cache_addhst): Likewise.
20888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20889 * nscd/pwdcache.c (cache_addpw): Likewise.
20890 * nscd/servicescache.c (cache_addserv): Likewise.
20891
400aa020
UD
208922012-01-16 Ulrich Drepper <drepper@gmail.com>
20893
d77e7869
UD
20894 * malloc/malloc.c: Various cleanups.
20895 * malloc/hooks.c: Likewise.
20896
400aa020
UD
20897 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20898 * stdlib/bug-fmtmsg1.c: New file.
20899
20900 * stdlib/fmtmsg.c (init): Add missing unlock.
20901 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20902
e0a309cf
MP
209032012-01-12 Marek Polacek <polacek@redhat.com>
20904
20905 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20906 and _GNU_SOURCE.
20907
929d11c7
WS
209082012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20909
20910 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20911 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20912 macro to ensure uniqueness of label name.
20913 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20914 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20915
41d0e869
UD
209162012-01-11 Ulrich Drepper <drepper@gmail.com>
20917
0cc5ed3b
UD
20918 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20919
41d0e869
UD
20920 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20921 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20922 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20924
a47a831a
UD
209252012-01-10 Ulrich Drepper <drepper@gmail.com>
20926
daa891c0
UD
20927 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20928
20929 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20930 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20931 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20932
e58ef0f2
UD
20933 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20934
a47a831a 20935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20936 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20937 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20939
20940 * math/bits/math-finite.h: Add ldexp support.
20941
a0bfc9c7
MP
209422012-01-10 Marek Polacek <polacek@redhat.com>
20943
20944 * locale/programs/localedef.h (show_archive_content): Add noreturn
20945 attribute.
20946
d6e97a1d
UD
209472012-01-09 Ulrich Drepper <drepper@gmail.com>
20948
20949 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20950
d5835c26
UD
209512012-01-08 Ulrich Drepper <drepper@gmail.com>
20952
e5f484c6
UD
20953 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20954
d5835c26
UD
20955 * io/Makefile (headers): Add bits/poll2.h.
20956
d1f741e9
WS
209572011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20958
20959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20960 typo #include statement.
20961
ec09c1c4
UD
209622012-01-08 Ulrich Drepper <drepper@gmail.com>
20963
20964 * include/sys/cdefs.h: Define __attribute_alloc_size.
20965 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20966 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20967 * elf/pldd.c: Likewise.
20968 * iconv/iconv_charmap.c: Likewise.
20969 * iconv/iconvconfig.c: Likewise.
20970 * iconv/strtab.c: Likewise.
20971 * locale/programs/locale.c: Likewise.
20972 * locale/programs/localedef.h: Likewise.
20973 * locale/programs/simple-hash.c: Likewise.
20974 * nscd/nscd.h: Likewise.
20975 * nss/makedb.c: Likewise.
20976 * sysdeps/generic/ldconfig.h: Likewise.
20977 * locale/programs/localedef.c: Remove xmalloc prototype.
20978 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20979
20b38e03
PP
209802012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20981
20982 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20983 appropriate.
20984
a0da5fe1
UD
209852012-01-08 Ulrich Drepper <drepper@gmail.com>
20986
1d5a644a 20987 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20988 * math/tst-CMPLX.c: New file.
1d5a644a 20989
8784a6db
UD
20990 * math/complex.h (CMPLXL): Fix typo.
20991
d9a216c0
UD
20992 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20993 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20994 GLIBC_2.16.
20995 * debug/tst-chk1.c: Add poll and ppoll tests.
20996 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20997 * include/sys/poll.h: Add hidden proto for ppoll.
20998 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20999 * sysdeps/mach/hurd/ppoll.c: Likewise.
21000 * io/ppoll.c: Likewise.
21001 * debug/poll_chk.c: New file.
21002 * debug/ppoll_chk.c: New file.
21003 * include/bits/poll2.h: New file.
21004 * io/bits/poll2.h: New file.
21005
ac097f5c
UD
21006 [BZ #1350]
21007 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21008
2119dcfa
UD
21009 * configure.in: static is always set to yes. Remove.
21010 * config.make.in: Don't set build-static.
21011 * Makeconfig: Remove use of build-static.
21012 * dlfcn/Makefile: Likewise.
21013 * elf/Makefile: Likewise.
21014 * math/Makefile: Likewise.
21015 * misc/Makefile: Likewise.
21016 * nptl/Makefile: Likewise.
21017 * sysdeps/mach/hurd/Makefile: Likewise.
21018
121766a9
UD
21019 * configure.in: PWD_P is not used anymore.
21020 * config.make.in: Remove PWD_P entry.
21021
51a1d39c 21022 * configure.in: Remove last remnants of RANLIB.
8720d066 21023 No need to check for signed size_t anymore.
215f4bdc
UD
21024 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21025 and IA-64.
3857022a 21026 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21027 * aclocal.m4: Likewise.
21028
d3ed7225
UD
21029 * wcsmbs/mbrtoc16.c: Implement using towc function.
21030 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21031 * wcsmbs/wcsmbsload.c: Likewise.
21032 * iconv/gconv_simple.c: Likewise.
21033 * iconv/gconv_int.h: Likewise.
21034 * iconv/gconv_builtin.h: Likewise.
21035 * iconv/iconv_prog.c: Remove CHAR16 handling.
21036
21037 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21038
21039 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21040
a0da5fe1
UD
21041 * configure.in: Remove --with-elf and --enable-bounded options.
21042 Dont set base_machine for ia64. More non-ELF conditions removed.
21043 Remove testing and setting of leading underscore information.
21044 * config.make.in (build-bounded): Set to no.
21045 * config.h.in: Remove NO_UNDERSCORES entry.
21046 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21047 them.
21048 * csu/start.c: Remove !NO_UNDERSCORE code.
21049 * locale/localeinfo.h: Likewise.
21050 * sysdeps/generic/machine-gmon.h: Likewise.
21051 * sysdeps/generic/sysdep.h: Likewise.
21052 * sysdeps/i386/sysdep.h: Likewise.
21053 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21054 * sysdeps/mach/sysdep.h: Likewise.
21055 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21056 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21057 * sysdeps/sh/sysdep.h: Likewise.
21058 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21059 * sysdeps/unix/i386/sysdep.S: Likewise.
21060 * sysdeps/unix/sparc/start.c: Likewise.
21061 * sysdeps/unix/sparc/sysdep.S: Likewise.
21062 * sysdeps/unix/sparc/sysdep.h: Likewise.
21063 * sysdeps/unix/start.c: Likewise.
21064 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21065 * sysdeps/x86_64/sysdep.h: Likewise.
21066
df78418a
UD
210672012-01-07 Ulrich Drepper <drepper@gmail.com>
21068
a784e502
UD
21069 [BZ #13553]
21070 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21071 for non-gcc.
21072 * argp/argp-fmtstream.h: Use const instead __const.
21073 * argp/argp.h: Likewise.
21074 * assert/assert.h: Likewise.
21075 * bits/fenv.h: Likewise.
21076 * bits/sched.h: Likewise.
21077 * bits/sigset.h: Likewise.
21078 * bits/sigthread.h: Likewise.
21079 * catgets/nl_types.h: Likewise.
21080 * conform/data/pthread.h-data: Likewise.
21081 * crypt/crypt-private.h: Likewise.
21082 * crypt/crypt.h: Likewise.
21083 * crypt/crypt_util.c: Likewise.
21084 * ctype/ctype.h: Likewise.
21085 * debug/execinfo.h: Likewise.
21086 * debug/mbsnrtowcs_chk.c: Likewise.
21087 * debug/mbsrtowcs_chk.c: Likewise.
21088 * debug/wcsnrtombs_chk.c: Likewise.
21089 * debug/wcsrtombs_chk.c: Likewise.
21090 * debug/wcstombs_chk.c: Likewise.
21091 * dirent/dirent.h: Likewise.
21092 * dlfcn/dlfcn.h: Likewise.
21093 * elf/neededtest4.c: Likewise.
21094 * grp/grp.h: Likewise.
21095 * gshadow/gshadow.h: Likewise.
21096 * iconv/gconv.h: Likewise.
21097 * iconv/gconv_int.h: Likewise.
21098 * iconv/gconv_simple.c: Likewise.
21099 * iconv/iconv.h: Likewise.
21100 * iconv/loop.c: Likewise.
21101 * iconv/skeleton.c: Likewise.
21102 * include/aio.h: Likewise.
21103 * include/aliases.h: Likewise.
21104 * include/argz.h: Likewise.
21105 * include/arpa/inet.h: Likewise.
21106 * include/assert.h: Likewise.
21107 * include/dirent.h: Likewise.
21108 * include/dlfcn.h: Likewise.
21109 * include/execinfo.h: Likewise.
21110 * include/fcntl.h: Likewise.
21111 * include/fenv.h: Likewise.
21112 * include/glob.h: Likewise.
21113 * include/grp.h: Likewise.
21114 * include/libintl.h: Likewise.
21115 * include/mntent.h: Likewise.
21116 * include/netdb.h: Likewise.
21117 * include/pwd.h: Likewise.
21118 * include/rpc/netdb.h: Likewise.
21119 * include/sched.h: Likewise.
21120 * include/search.h: Likewise.
21121 * include/shadow.h: Likewise.
21122 * include/signal.h: Likewise.
21123 * include/stdio.h: Likewise.
21124 * include/stdlib.h: Likewise.
21125 * include/string.h: Likewise.
21126 * include/sys/socket.h: Likewise.
21127 * include/sys/stat.h: Likewise.
21128 * include/sys/statfs.h: Likewise.
21129 * include/sys/statvfs.h: Likewise.
21130 * include/sys/syslog.h: Likewise.
21131 * include/sys/time.h: Likewise.
21132 * include/sys/uio.h: Likewise.
21133 * include/time.h: Likewise.
21134 * include/unistd.h: Likewise.
21135 * include/utmp.h: Likewise.
21136 * include/wchar.h: Likewise.
21137 * include/wctype.h: Likewise.
21138 * inet/aliases.h: Likewise.
21139 * inet/arpa/inet.h: Likewise.
21140 * inet/netinet/ether.h: Likewise.
21141 * inet/netinet/in.h: Likewise.
21142 * intl/libintl.h: Likewise.
21143 * io/bits/fcntl2.h: Likewise.
21144 * io/fcntl.h: Likewise.
21145 * io/ftw.h: Likewise.
21146 * io/sys/poll.h: Likewise.
21147 * io/sys/stat.h: Likewise.
21148 * io/sys/statfs.h: Likewise.
21149 * io/sys/statvfs.h: Likewise.
21150 * io/utime.h: Likewise.
21151 * libio/bits/stdio.h: Likewise.
21152 * libio/bits/stdio2.h: Likewise.
21153 * libio/libio.h: Likewise.
21154 * libio/libioP.h: Likewise.
21155 * libio/stdio.h: Likewise.
21156 * locale/lc-ctype.c: Likewise.
21157 * locale/locale.h: Likewise.
21158 * login/utmp.h: Likewise.
21159 * malloc/arena.c: Likewise.
21160 * malloc/malloc.c: Likewise.
21161 * malloc/malloc.h: Likewise.
21162 * malloc/mcheck.c: Likewise.
21163 * malloc/mtrace.c: Likewise.
21164 * math/bits/mathcalls.h: Likewise.
21165 * math/fenv.h: Likewise.
21166 * math/math_private.h: Likewise.
21167 * misc/bits/error.h: Likewise.
21168 * misc/bits/syslog.h: Likewise.
21169 * misc/err.h: Likewise.
21170 * misc/error.h: Likewise.
21171 * misc/fstab.h: Likewise.
21172 * misc/mntent.h: Likewise.
21173 * misc/regexp.h: Likewise.
21174 * misc/search.h: Likewise.
21175 * misc/sgtty.h: Likewise.
21176 * misc/sys/mman.h: Likewise.
21177 * misc/sys/syslog.h: Likewise.
21178 * misc/sys/uio.h: Likewise.
21179 * misc/sys/xattr.h: Likewise.
21180 * misc/ttyent.h: Likewise.
21181 * nis/rpcsvc/ypclnt.h: Likewise.
21182 * nss/nss.h: Likewise.
21183 * posix/bits/unistd.h: Likewise.
21184 * posix/fnmatch.h: Likewise.
21185 * posix/glob.h: Likewise.
21186 * posix/sched.h: Likewise.
21187 * posix/spawn.h: Likewise.
21188 * posix/sys/wait.h: Likewise.
21189 * posix/unistd.h: Likewise.
21190 * posix/wordexp.h: Likewise.
21191 * pwd/pwd.h: Likewise.
21192 * resolv/netdb.h: Likewise.
21193 * resource/sys/resource.h: Likewise.
21194 * rt/aio.h: Likewise.
21195 * rt/bits/mqueue2.h: Likewise.
21196 * rt/mqueue.h: Likewise.
21197 * shadow/shadow.h: Likewise.
21198 * signal/signal.h: Likewise.
21199 * socket/send.c: Likewise.
21200 * socket/sendto.c: Likewise.
21201 * socket/sys/socket.h: Likewise.
21202 * stdio-common/printf.h: Likewise.
21203 * stdlib/bits/stdlib.h: Likewise.
21204 * stdlib/fmtmsg.h: Likewise.
21205 * stdlib/monetary.h: Likewise.
21206 * stdlib/stdlib.h: Likewise.
21207 * stdlib/ucontext.h: Likewise.
21208 * streams/stropts.h: Likewise.
21209 * string/argz.h: Likewise.
21210 * string/bits/string2.h: Likewise.
21211 * string/string.h: Likewise.
21212 * string/strings.h: Likewise.
21213 * sunrpc/rpc/auth.h: Likewise.
21214 * sunrpc/rpc/auth_des.h: Likewise.
21215 * sunrpc/rpc/clnt.h: Likewise.
21216 * sunrpc/rpc/netdb.h: Likewise.
21217 * sunrpc/rpc/pmap_clnt.h: Likewise.
21218 * sunrpc/rpc/xdr.h: Likewise.
21219 * sysdeps/generic/inttypes.h: Likewise.
21220 * sysdeps/generic/net/if.h: Likewise.
21221 * sysdeps/generic/sys/swap.h: Likewise.
21222 * sysdeps/gnu/net/if.h: Likewise.
21223 * sysdeps/gnu/utmpx.h: Likewise.
21224 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21225 * sysdeps/i386/i486/bits/string.h: Likewise.
21226 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21227 * sysdeps/s390/bits/string.h: Likewise.
21228 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21229 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21230 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21231 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21232 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21233 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21234 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21235 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21236 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21237 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21238 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21239 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21240 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21241 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21242 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21243 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21244 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21246 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21247 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21248 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21249 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21250 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21251 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21252 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21253 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21254 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21255 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21256 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21257 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21258 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21259 * sysvipc/sys/ipc.h: Likewise.
21260 * sysvipc/sys/msg.h: Likewise.
21261 * sysvipc/sys/sem.h: Likewise.
21262 * sysvipc/sys/shm.h: Likewise.
21263 * termios/termios.h: Likewise.
21264 * time/sys/time.h: Likewise.
21265 * time/time.h: Likewise.
21266 * wcsmbs/bits/wchar2.h: Likewise.
21267 * wcsmbs/uchar.h: Likewise.
21268 * wcsmbs/wchar.h: Likewise.
21269 * wctype/wctype.h: Likewise.
21270
0269750c
UD
21271 [BZ #13551]
21272 * Makeconfig: Remove all but ELF support including AIX support.
21273 * Makerules: Likewise.
21274 * config.h.in: Likewise.
21275 * config.make.in: Likewise.
21276 * configure: Likewise.
21277 * configure.in: Likewise.
21278 * csu/Makefile: Likewise.
21279 * csu/version.c: Likewise.
21280 * debug/Makefile: Likewise.
21281 * dlfcn/Makefile: Likewise.
21282 * elf/Makefile: Likewise.
21283 * extra-lib.mk: Likewise.
21284 * iconv/Makefile: Likewise.
21285 * include/libc-symbols.h: Likewise.
21286 * include/shlib-compat.h: Likewise.
21287 * resolv/Makefile: Likewise.
21288 * resolv/res_libc.c: Likewise.
21289 * rt/Makefile: Likewise.
21290 * sysdeps/i386/asm-syntax.h: Likewise.
21291 * sysdeps/i386/sysdep.h: Likewise.
21292 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21293 * sysdeps/mach/sysdep.h: Likewise.
21294 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21295 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21296 * sysdeps/s390/asm-syntax.h: Likewise.
21297 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21298 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21299 * sysdeps/sh/sysdep.h: Likewise.
21300 * sysdeps/unix/sparc/sysdep.h: Likewise.
21301 * sysdeps/wordsize-32/divdi3.c: Likewise.
21302 * sysdeps/x86_64/sysdep.h: Likewise.
21303
00bbd29b
UD
21304 * argp/Versions: Remove _argp_unlock_xxx.
21305
21306 [BZ #13559]
21307 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21308 * abilist/libBrokenLocale.abilist: Likewise.
21309 * abilist/libanl.abilist: Likewise.
21310 * abilist/libc.abilist: Likewise.
21311 * abilist/libcrypt.abilist: Likewise.
21312 * abilist/libdl.abilist: Likewise.
21313 * abilist/libm.abilist: Likewise.
21314 * abilist/libnsl.abilist: Likewise.
21315 * abilist/libpthread.abilist: Likewise.
21316 * abilist/libresolv.abilist: Likewise.
21317 * abilist/librt.abilist: Likewise.
21318 * abilist/libthread_db.abilist: Likewise.
21319 * abilist/libutil.abilist: Likewise.
21320 * abilist/libnss_db.abilist: New file.
21321
21322 * scripts/abilist.awk: Add support for indirect functions.
21323
a2693a0e
UD
21324 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21325
3f05895f
UD
21326 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21327
ecb6fb48
UD
21328 * shlib-versions: Remove entries for ports architectures.
21329
664f8cb9
UD
21330 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21331 files in ports.
21332 * elf/stackguard-macros.h: Remove support for IA-64.
21333 * elf/tst-auditmod1.c: Likewise.
21334 * sysdeps/generic/ldsodefs.h: Likewise.
21335
7ae81d88
UD
21336 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21337 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21338 configure files.
21339
bdeba135
UD
21340 [BZ #13552]
21341 * configure.in: Remove --enable-omitfp support.
21342 * FAQ.in: Adjust.
21343 * config.make.in: Likewise.
21344 * Makeconfig: Likewise.
21345 * manual/install.texi: Likewise.
21346
d75a0a62
UD
21347 In case anyone cares, the IA-64 architecture could move to ports.
21348 * sysdeps/ia64/*: Removed.
21349 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21350 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21351
dcc9756b
UD
21352 [BZ #13555]
21353 * configure.in: Remove entries for unsupported architectures.
21354
d3761ebc 21355 [BZ #13533]
9954432e
UD
21356 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21357 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21358 routines.
21359 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21360 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21361 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21362 fall back to using wcrtomb.
21363 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21364 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21365 renaming.
21366 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21367 * wcsmbs/tst-c16c32-1.c: New file.
21368
21369 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21370 local variable.
21371
c3a87236
UD
21372 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21373
28926a1b
UD
21374 * elf/tst-unique3.cc: Add explicit declaration of gets.
21375 * elf/tst-unique3lib.cc: Likewise.
21376 * elf/tst-unique3lib2.cc: Likewise.
21377 * elf/tst-unique4.cc: Likewise.
21378
df78418a
UD
21379 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21380
8ecd6b2a
JM
213812012-01-06 Joseph Myers <joseph@codesourcery.com>
21382
21383 [BZ #13566]
21384 * assert/assert.h (static_assert): Don't define for C++.
21385 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21386 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21387
9f115170
UD
213882012-01-03 Ulrich Drepper <drepper@gmail.com>
21389
5e0d0300
UD
21390 * iconv/loop.c (single loop): Fix assertion in storing of
21391 remaining bytes.
21392
9f115170
UD
21393 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21394
81fb02b0
UD
213952012-01-01 Ulrich Drepper <drepper@gmail.com>
21396
21397 * posix/getconf.c: Update copyright year.
21398 * nss/getent.c: Likewise.
a316c1f6 21399 * nss/makedb.c: Likewise.
81fb02b0
UD
21400 * iconv/iconvconfig.c: Likewise.
21401 * iconv/iconv_prog.c: Likewise.
21402 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21403 * elf/pldd.c: Likewise.
21404 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21405 * catgets/gencat.c: Likewise.
21406 * csu/version.c: Likewise.
21407 * elf/ldd.bash.in: Likewise.
21408 * elf/sprof.c (print_version): Likewise.
21409 * locale/programs/locale.c: Likewise.
21410 * locale/programs/localedef.c: Likewise.
a316c1f6 21411 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21412 * nscd/nscd.c (print_version): Likewise.
21413 * debug/xtrace.sh: Likewise.
21414 * malloc/memusage.sh: Likewise.
21415 * malloc/mtrace.pl: Likewise.
21416 * debug/catchsegv.sh: Likewise.
21417
2ba92745
JJ
214182011-12-30 Jakub Jelinek <jakub@redhat.com>
21419
21420 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21421 pure attribute.
21422
dadebdae
UD
214232011-12-24 Ulrich Drepper <drepper@gmail.com>
21424
d3761ebc 21425 [BZ #13533]
db6af3eb
UD
21426 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21427 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21428 transformations.
21429 * iconv/gconv_int.h: Likewise.
21430 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21431 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21432 from libc for GLIBC_2.16.
21433 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21434 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21435 * wcsmbs/uchar.h: Really define mbstate_t.
21436 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21437 * wcsmbs/c16rtomb.c: New file.
21438 * wcsmbs/mbrtoc16.c: New file.
21439 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21440 for C/POSIX locale.
21441 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21442 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21443
dadebdae
UD
21444 * wcsmbs/wchar.h: Add missing __restrict.
21445
67371b56
UD
214462011-12-23 Ulrich Drepper <drepper@gmail.com>
21447
74033a25
UD
21448 [BZ #13532]
21449 * time/Makefile (routines): Add timespec_get.
21450 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21451 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21452 timespec for ISO C11.
21453 * time/timespec_get.c: New file.
21454 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21455 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21456
380d7e87
UD
21457 [BZ #13531]
21458 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21459 * stdlib/stdlib.h: Declare aligned_alloc.
21460 * Versions.def: Add GLIBC_2.16 for libc.
21461 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21462
4e9e7a35
UD
21463 [BZ 13527]
21464 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21465 ISO C11.
21466
380d7e87 21467 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21468 code.
21469
03a71829
UD
21470 [BZ #13528]
21471 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21472
839e283e
UD
21473 [BZ #13529]
21474 * assert/assert.h (static_assert): Define.
21475
ce5294e2 21476 * version.h: Update for 2.16 development version.
90fa7312 21477
8d44e150 21478 [BZ #13526]
d7809905
UD
21479 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21480 _ISOC11_SOURCE.
21481
c0da14cd
UD
21482 * version.h (RELEASE): Bump for 2.15 release.
21483 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21484
530a3249
MP
21485 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21486 Patch by Marek Polacek <mpolacek@redhat.com>.
21487
67371b56
UD
21488 * bits/byteswap.h: Protect long long constants with __extension__.
21489 * sysdeps/i386/bits/byteswap.h: Likewise.
21490 * sysdeps/ia64/bits/byteswap.h: Likewise.
21491 * sysdeps/s390/bits/byteswap.h: Likewise.
21492 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21493
15db4de1
LD
214942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21495
21496 [BZ #13540]
bbe315ea
LD
21497 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21498 destination buffer.
15db4de1
LD
21499 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21500
2b2596b1
MP
215012011-12-23 Marek Polacek <polacek@redhat.com>
21502
21503 * elf/dl-addr.c (determine_info): Add inline keyword.
21504 * elf/tst-auditmod4b.c (check_avx): Likewise.
21505 * elf/tst-auditmod6b.c (check_avx): Likewise.
21506 * elf/tst-auditmod6c.c (check_avx): Likewise.
21507 * elf/tst-auditmod7b.c (check_avx): Likewise.
21508
70c6c246
UD
215092011-12-23 Ulrich Drepper <drepper@gmail.com>
21510
21511 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21512 !__SSE_MATH__.
21513
c044cf14
LD
215142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21515
15db4de1 21516 [BZ #13540]
c044cf14
LD
21517 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21518 processing for last bytes.
21519
6b13d9d9
BH
215202011-08-06 Bruno Haible <bruno@clisp.org>
21521
d455f537
BH
21522 [BZ #13061]
21523 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21524 U+0385, not to U+1FEE.
21525
6b13d9d9
BH
21526 [BZ #13062]
21527 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21528 entry for U+00A5 U+0301.
21529
db910efd
UD
215302011-12-22 Ulrich Drepper <drepper@gmail.com>
21531
27deeafc
UD
21532 [BZ #13166]
21533 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21534 buffer for the output is too small.
21535
aed9d171
UD
21536 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21537 optimization.
21538
db910efd
UD
21539 [BZ #13185]
21540 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21541 SSE flags if possible.
21542
2bd779ae
LD
215432011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21544
e7f9dac3 21545 [BZ #13540]
2bd779ae
LD
21546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21547 processing for last bytes.
21548
154bfc16
JM
215492011-12-22 Joseph Myers <joseph@codesourcery.com>
21550
21551 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21552 (syscall-list-default-options, syscall-list-default-condition)
21553 (syscall-list-includes): Define.
21554 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21555 list of ABIs and options and #if conditions for each ABI. Do not
21556 handle common syscalls between ABIs specially.
21557 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21558 Remove.
21559 (syscall-list-variants, syscall-list-32bit-options)
21560 (syscall-list-32bit-condition, syscall-list-64bit-options)
21561 (syscall-list-64bit-condition): Define.
21562 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21563 (syscall-list-variants, syscall-list-32bit-options)
21564 (syscall-list-32bit-condition, syscall-list-64bit-options)
21565 (syscall-list-64bit-condition): Define.
21566 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21567 Remove.
21568 (syscall-list-variants, syscall-list-32bit-options)
21569 (syscall-list-32bit-condition, syscall-list-64bit-options)
21570 (syscall-list-64bit-condition): Define.
21571 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21572 Remove.
21573 (syscall-list-variants, syscall-list-32bit-options)
21574 (syscall-list-32bit-condition, syscall-list-64bit-options)
21575 (syscall-list-64bit-condition): Define.
21576
21eaf3a5
UD
215772011-12-22 Ulrich Drepper <drepper@gmail.com>
21578
16c6f992
UD
21579 * locale/iso-639.def: Add brx entry.
21580
41043168
UD
21581 [BZ #13328]
21582 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21583 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21584
21eaf3a5
UD
21585 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21586 __feraiseexcept_renamed.
21587
e3a851a2
UD
215882011-12-21 Ulrich Drepper <drepper@gmail.com>
21589
4920765e
UD
21590 [BZ #13538]
21591 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21592 EPOLLET with unsigned values.
21593 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21595
e3a851a2
UD
21596 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21597 to large cancellation.
21598 * math/s_cacoshf.c: Likewise.
21599 * math/s_cacoshl.c: Likewise.
21600
b27e24b8
RK
216012011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21602
21603 [BZ #13305]
aebefeee 21604 [BZ #12786]
b27e24b8
RK
21605 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21606 * math/s_cacoshf.c: Likewise.
21607 * math/s_cacoshl.c: Likewise.
21608
ee190f67
UD
216092011-12-21 Ulrich Drepper <drepper@gmail.com>
21610
21611 [BZ #13439]
21612 * iconv/gconv.h: Define __GCONV_SWAP.
21613 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21614 * iconvdata/utf-16.c: Likewise.
21615 * iconvdata/utf-32.c: Likewise.
21616
707f25df
AS
216172011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21618
21619 [BZ #13524]
21620 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21621 numerator after shifting it by one limb.
21622
d2daaa1e
RÁE
216232011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21624
21625 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21626 under [__USE_EXTERN_INLINES].
21627
a4647e72
UD
216282011-12-17 Ulrich Drepper <drepper@gmail.com>
21629
21630 [BZ #13446]
21631 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21632
f0b264f1
AZ
216332011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21634
21635 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21636 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21637 optimized code.
21638 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21639 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21640 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21641 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21642 for strncasecmp/strncasecmp_l compilation.
21643 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21644 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21645
8ef4f244
MP
216462011-12-08 Marek Polacek <mpolacek@redhat.com>
21647
21648 [BZ #13484]
21649 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21650 of __asm__.
21651
97ac2654
UD
216522011-12-17 Ulrich Drepper <drepper@gmail.com>
21653
21654 [BZ #13506]
21655 * time/tzfile.c (__tzfile_read): Check values from file header.
21656
91d2a845
WS
216572011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21658
21659 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21660 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21661 * powerpc/powerpc32/dl-start.S: Likewise.
21662 * powerpc/powerpc32/elf/start.S: Likewise.
21663 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21664 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21665 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21666 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21667 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21668 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21669 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21670 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21671 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21672 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21673 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21674 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21675 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21676 * powerpc/powerpc32/memset.S: Likewise.
21677 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21678 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21679 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21680 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21681 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21682 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21683 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21684 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21685 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21686 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21687 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21688 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21689 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21690
a1267ba1
AZ
216912011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21692
21693 * math/libm-test.inc: Added more nearbyint tests.
21694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21695 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21697 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21698
ad8ac1bd
RL
216992011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21700
21701 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21702 FD_CLOEXEC.
21703
1d3e4b61
UD
217042011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21705
21706 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21707 Add wcscpy-ssse3 wcscpy-c.
21708 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21709 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21710 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21711 * sysdeps/x86_64/wcschr.S: New file.
21712 * sysdeps/x86_64/wcsrchr.S: New file.
21713 * string/test-strcmp.c: Remove checking of wcscmp function for
21714 wrong alignments.
21715 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21716 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21717 wcsrchr-sse2 wcsrchr-c.
21718 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21719 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21720 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21721 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21722 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21723 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21724 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21725 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21726 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21727 * wcsmbc/wcschr.c (WCSCHR): New macro.
21728
5b330a2d
UD
217292011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21730
21731 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21732 * wcsmbs/test-wcsrchr.c: New file.
21733 * string/test-strrchr.c: Add wcsrchr support.
21734 (WIDE): New macro.
21735 * wcsmbs/test-wcscpy.c: New file.
21736 * string/test-strcpy.c: Add wcscpy support.
21737 (WIDE): New macro.
26428b7c 21738
f039c043
UD
217392011-12-10 Ulrich Drepper <drepper@gmail.com>
21740
21741 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21742 the inner loop.
21743
850fb039
AS
217442011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21745
21746 [BZ #13472]
21747 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21748
4efbd5cb
UD
217492011-12-04 Ulrich Drepper <drepper@gmail.com>
21750
52ff5dd0 21751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21752 Minor optimizations.
52ff5dd0 21753
4efbd5cb
UD
21754 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21755 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21756 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21757
8a426e12
UD
217582011-12-03 Ulrich Drepper <drepper@gmail.com>
21759
aff2453d
UD
21760 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21761 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21762 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21763 for gcc to avoid warnings.
21764 * inet/Makefile (tests): Add tst-checks.
21765 * inet/tst-checks.c: New file.
21766
21767 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21768 warning.
21769
21770 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21771 __wmemcmp_sse2.
21772
21773 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21774 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21775
8a426e12
UD
21776 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21777
9bea3473
UD
217782011-12-02 Ulrich Drepper <drepper@gmail.com>
21779
3a965496
UD
21780 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21781 problem.
21782
9bea3473
UD
21783 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21784
f101631b
UD
217852011-11-29 Joseph Myers <joseph@codesourcery.com>
21786
21787 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21788 conditional on GCC version.
21789 (__arch_compare_and_exchange_val_8_acq)
21790 (__arch_compare_and_exchange_val_16_acq)
21791 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21792 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21793 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21794
a98275aa
UD
217952011-12-02 Joseph Myers <joseph@codesourcery.com>
21796
21797 * sysdeps/sh/backtrace.c: New file.
21798
d4cc29a2
AS
217992011-12-02 Andreas Schwab <schwab@redhat.com>
21800
21801 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21802 parenthesis.
21803
6257af2d
AS
218042011-12-01 Andreas Schwab <schwab@redhat.com>
21805
21806 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21807 falling back to utime.
21808
b5f44c1a
AS
218092011-11-30 Andreas Schwab <schwab@redhat.com>
21810
21811 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21812 expectations for float.
21813
f3a6cc0a
AS
218142011-11-29 Andreas Schwab <schwab@redhat.com>
21815
21816 * locale/weight.h (findidx): Add parameter len.
21817 * locale/weightwc.h (findidx): Likewise.
21818 * posix/fnmatch_loop.c (FCT): Adjust caller.
21819 * posix/regcomp.c (build_equiv_class): Likewise.
21820 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21821 * posix/regexec.c (check_node_accept_bytes): Likewise.
21822 * string/strcoll_l.c (STRCOLL): Likewise.
21823 * string/strxfrm_l.c (STRXFRM): Likewise.
21824
9d65ea3a
UD
218252011-11-17 Ulrich Drepper <drepper@gmail.com>
21826
21827 * Makefile.in: Remove CVSOPT handling.
21828 * configure.in: Remove use of AC_REVISION.
21829 * iconvdata/Makefile (distribute): No need to filter out CVS.
21830 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21831 handling.
21832
5583a086
AS
218332011-11-16 Andreas Schwab <schwab@redhat.com>
21834
21835 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21836 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21837 [USE_AS_STRNCASECMP_L]: Likewise.
21838 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21839 NO_TLS_DIRECT_SEG_REFS.
21840 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21841 Fix argument offsets for non-PIC.
21842 [USE_AS_STRNCASECMP_L]: Likewise.
21843 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21844 NO_TLS_DIRECT_SEG_REFS.
21845
d62a8200
UD
218462011-11-15 Ulrich Drepper <drepper@gmail.com>
21847
9d65ea3a 21848 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21849 O_CLOEXEC.
21850 * locale/loadlocale.c (_nl_load_locale): Likewise.
21851
09f93bd3
AS
218522011-11-15 Andreas Schwab <schwab@redhat.com>
21853
446514f9
AS
21854 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21855 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21856 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21857 (SYSCALL_GETTIME): Set errno on error.
21858
09f93bd3
AS
21859 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21860 count references to noai6ai_cached.
21861
312be3f9
UD
218622011-11-15 Ulrich Drepper <drepper@gmail.com>
21863
21864 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21865
21866 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21867 FD_CLOEXEC for /proc/self/maps.
21868
21869 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21870 FD_CLOEXEC for /proc/meminfo.
21871
21872 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21873 gai.conf.
21874
21875 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21876 FD_CLOEXEC for given file.
21877
21878 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21879
21880 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21881 FD_CLOEXEC for /etc/hosts.
21882 (_gethtent): Likewise.
21883
21884 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21885
21886 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21887 cancellation and set FD_CLOEXEC for /etc/netgroup.
21888
21889 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21890 reading /etc/publickey.
21891
21892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21893 allow cancellation when reading /etc/group.
21894
21895 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21896 cancellation.
21897 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21898
21899 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21900 when using data file.
21901
21902 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21903
21904 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21905 (write_nis_obj): Use "c" and "e" in fopen.
21906
21907 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21908
21909 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21910
21911 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21912
21913 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21914
21915 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21916 locale.alias.
21917
21918 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21919
21920 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21921
21922 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21923
21924 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21925 file parsing and set FD_CLOEXEC.
21926
82af0fa8
UD
219272011-11-14 Ulrich Drepper <drepper@gmail.com>
21928
21929 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21930
a5fb313c
AS
219312011-11-14 Andreas Schwab <schwab@redhat.com>
21932
21933 * malloc/arena.c (arena_get2): Don't call reused_arena when
21934 _int_new_arena failed.
21935
6abf3465
UD
219362011-11-14 Ulrich Drepper <drepper@gmail.com>
21937
21938 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21939 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21940 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21941 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21942 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21943 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21944 to compile strcasecmp and strncasecmp.
21945 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21946 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21947
21948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21949
76e3966e
UD
219502011-11-13 Ulrich Drepper <drepper@gmail.com>
21951
21952 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21953 locale-defines.sym to gen-as-const-headers.
21954 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21955 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21957 to compile strcasecmp and strncasecmp.
21958 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21959 strcasecmp_l and strncasecmp_l.
21960 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21961 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21962 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21963 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21964 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21965 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21966 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21967 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21968 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21969 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21970 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21971
ab26144e
UD
219722011-11-12 Ulrich Drepper <drepper@gmail.com>
21973
7edb22ef
UD
21974 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21975 result of SYSDEP_GETTIME_CPU to retval.
21976 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21977 parameter list to macro. Remove trailing semicolon. Adjust users.
21978
9694fc44
UD
21979 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21980 variable.
21981
8ad89ef8
UD
21982 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21983 mantissa words.
21984 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21985
0c822ef9
UD
21986 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21987 from unused variable.
21988
874e0564
UD
21989 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21990 DWARF definitions.
21991 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21992 for assembling.
21993
3a2edc79
UD
21994 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21995 over namespaces.
21996
f3c2577f
UD
21997 * sunrpc/rpc_prot.c (rejected): Fix case value.
21998
294ce126
UD
21999 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22000 unsigned long long int to avoid warnings in shift.
22001
5e2b63c6
UD
22002 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22003 of use of trans.
22004 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22005 variable tmp.
22006
e7f4b08e
UD
22007 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22008 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22009 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22010
ab26144e
UD
22011 * nis/nis_table.c (nis_list): Use variable of correct type for
22012 result of __follow_path call.
22013
8a6d5255
AZ
220142011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22015
22016 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22017 of math functions ceil, trunc, floor, round, and sqrt, when
22018 avaliable on the platform.
22019 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22020 name clash.
22021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22022 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22023 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22024
aaddc98c
MP
220252011-10-30 Marek Polacek <mpolacek@redhat.com>
22026
22027 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22028 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22029
95b7042b
RM
220302011-11-11 Roland McGrath <roland@hack.frob.com>
22031
22032 * include/unistd.h: Fix __readlink return type.
22033 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22034
57769839
UD
220352011-11-11 Ulrich Drepper <drepper@gmail.com>
22036
22037 * stdlib/ucontext.h: Undo last change for makecontext.
22038
edc5984d
AS
220392011-11-11 Andreas Schwab <schwab@redhat.com>
22040
98591e58
AS
22041 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22042
edc5984d
AS
22043 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22044 * setjmp/setjmp.h: Mark functions as non-leaf.
22045 * setjmp/bits/setjmp2.h: Likewise.
22046 * stdlib/ucontext.h: Likewise.
22047
77cdc054
AS
220482011-11-10 Andreas Schwab <schwab@redhat.com>
22049
22050 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22051 (reused_arena): Don't check arena limit.
22052 (arena_get2): Atomically check arena limit.
22053
fe72eebd
UD
220542011-11-08 Ulrich Drepper <drepper@gmail.com>
22055
5f078c32
UD
22056 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22057 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22058
fe72eebd
UD
22059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22060 instructions.
22061
ae1bc2fa
AS
220622011-11-07 Andreas Schwab <schwab@redhat.com>
22063
7583a88d
AS
22064 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22065 handler when locking.
22066
ae1bc2fa
AS
22067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22068 Fix size of allocated buffer.
22069
10fb0bfa
AS
220702011-11-04 Andreas Schwab <schwab@redhat.com>
22071
998832a4
AS
22072 [BZ #10103]
22073 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22074 declarations for long double functions.
22075 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22076
10fb0bfa
AS
22077 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22078
3d7ba52b
AS
220792011-11-03 Andreas Schwab <schwab@redhat.com>
22080
a9ae54a1
AS
22081 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22082 installed.
22083
3d7ba52b
AS
22084 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22085 is disabled.
22086
bc8db248
ST
220872011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22088
22089 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22090
45b96dd6
AS
220912011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22092
647776f6
AS
22093 * include/alloca.h (stackinfo_alloca_round): Define.
22094 (extend_alloca): Use it.
22095 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22096 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22097 here.
22098
d91a8b93
AS
22099 * scripts/check-local-headers.sh: Ignore libaudit.h.
22100
45b96dd6
AS
22101 * nscd/Makefile (extra-objs): Make recursively expanded.
22102
432d41ce
UD
221032011-11-01 Ulrich Drepper <drepper@gmail.com>
22104
34372fc6
UD
22105 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22106 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22107
fadb59f8
UD
22108 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22109 * posix/tst-rfc3484-2.c: Likewise.
22110 * posix/tst-rfc3484-3.c: Likewise.
22111
78239589
UD
22112 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22113 process_vm_writev.
22114 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22115 process_vm_writev.
22116 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22117 process_vm_writev from libc using GLIBC_2.15 version.
22118
432d41ce
UD
22119 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22120
02f9c6cf
PP
221212011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22122
22123 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22124 stack usage.
22125
3a2c0242
UD
221262011-10-31 Ulrich Drepper <drepper@gmail.com>
22127
f4ec4833
UD
22128 [BZ #13367]
22129 * nss/getent.c (initgroups_keys): Show error message in case no group
22130 names are given.
22131
3a2c0242
UD
22132 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22133 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22134 __bump_nl_timestamp.
22135 * nscd/connections (nscd_init): When host database is served open
22136 netlink socket and request notification about configuration changes.
22137 (main_loop_poll): Track netlink file descriptor and bump timestamp
22138 in case data becomes available.
22139 (main_loop_epoll): Likewise.
22140 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22141 (database_pers_head): Add extra_data fileds.
22142 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22143 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22144 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22145 Adjust caller.
22146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22147 in6ai data, call __free_in6ai.
22148 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22149 Add -DHAVE_NETLINK.
22150 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22151 interface information. Reuse previous data if netlink timestamp
22152 is not changed.
22153 (__bump_nl_timestamp): New function.
22154 (__free_in6ai): New function.
22155
636064eb
UD
221562011-10-30 Ulrich Drepper <drepper@gmail.com>
22157
22158 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22159 close_not_cancel_no_status here.
22160 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22161
9beb2334
UD
221622011-10-29 Ulrich Drepper <drepper@gmail.com>
22163
6ef76f3b
UD
22164 [BZ #13276]
22165 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22166 return value.
22167
0ffc4f3e 22168 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22169 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22170 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22171
cb95113e
UD
221722011-07-03 Andreas Jaeger <aj@suse.de>
22173
22174 [BZ #10709]
22175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22176 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22177 * math/libm-test.inc (sin_test): Add test case.
22178
a1b560ff
UD
221792011-10-29 Ulrich Drepper <drepper@gmail.com>
22180
c9aaface
UD
22181 [BZ #13337]
22182 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22183 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22184
d272e7f1
UD
22185 * elf/chroot_canon.c (chroot_canon): Cleanups.
22186
1bc33071
UD
22187 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22188
1760874d
TJ
22189 [BZ #13335]
22190 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22191 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22192
51d91b18
UD
22193 * string/test-strchr.c: Make usable for strchrnul testing.
22194 * string/test-strchrnul.c: New file.
22195 * string/Makefile (strop-tests): Add strchrnul.
22196
a1b560ff 22197 * po/it.po: Update from translation team.
b611fb81 22198 * po/es.po: Likewise.
a1b560ff 22199
a5b81e1f
UD
222002011-10-28 Ulrich Drepper <drepper@gmail.com>
22201
fd52bc6d
UD
22202 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22203 the three constants needed as parameters. Drop the others.
22204 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22205 __m128i_strloadu_tolower.
52e4b9eb
UD
22206 Create and initialize variable zero and use it in all the places
22207 where _mm_setzero_si128 was used.
fd52bc6d 22208
a5b81e1f
UD
22209 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22210 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22211 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22212 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22213 anymore.
22214 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22215 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22216 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22217 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22218 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22219 __mpranred, __mptan.
22220 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22221 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22222 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22223 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22224 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22225 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22226 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22227 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22228 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22229
b4343346
AS
222302011-10-28 Andreas Schwab <schwab@redhat.com>
22231
0c92d8a8
AS
22232 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22233 redefine if SHARED.
22234 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22235
b4343346
AS
22236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22237 wide char related routines to wcsmbs subdir.
22238
3871f58f
AS
222392011-10-27 Andreas Schwab <schwab@redhat.com>
22240
22241 [BZ #13344]
22242 * misc/sys/cdefs.h (__THROWNL): Define.
22243 * posix/unistd.h: Use __THREADNL instead of __THREAD
22244 for memory synchronization functions.
22245
94d44d9f
RM
222462011-10-26 Roland McGrath <roland@hack.frob.com>
22247
21b64b15 22248 [BZ #13349]
94d44d9f
RM
22249 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22250 doesn't exist.
22251 * manual/stdio.texi (Obstack Streams): Node removed.
22252
f6ce9294
AS
222532011-10-26 Andreas Schwab <schwab@redhat.com>
22254
80479147
AS
22255 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22256 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22257 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22258
f6ce9294
AS
22259 * math/math_private.h (math_force_eval): Allow non-addressable
22260 arguments.
22261 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22262
618280a1
UD
222632011-10-25 Ulrich Drepper <drepper@gmail.com>
22264
e0016b11
UD
22265 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22266 file is not needed.
22267
22268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22270 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22271 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22274 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22275 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22276 Add AVX variants.
22277 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22278 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22279 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22280 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22281 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22282 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22283 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22284 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22285 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22286 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22287 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22288 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22290 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22291 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22292 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22293 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22294 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22295 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22296
22297 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22298 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22299
618280a1
UD
22300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22301 place. Use VEX encoding when compiling for AVX.
22302
37822576
AS
223032011-10-25 Andreas Schwab <schwab@redhat.com>
22304
1f1e1947
AS
22305 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22306 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22307
37822576
AS
22308 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22309
31ea014d
UD
223102011-10-25 Ulrich Drepper <drepper@gmail.com>
22311
d7826aa1 22312 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22313 useless if() expression.
d7826aa1
UD
22314 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22315 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22318 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22319 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22320 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22321 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22322 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22324 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22325 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22326 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22327 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22328 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22329 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22330 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22331 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22333
31ea014d
UD
22334 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22335
16437fec
AS
223362011-10-25 Andreas Schwab <schwab@redhat.com>
22337
22338 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22339 condition.
22340 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22341
31d3cc00
UD
223422011-10-25 Ulrich Drepper <drepper@gmail.com>
22343
22344 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22345 .text section. Avoid duplicate constants.
22346 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22348 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22354 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22355 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22356 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22357 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22358 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22359 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22360 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22361 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22362 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22363 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22364 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22366 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22367 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22368 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22369 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22370 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22371 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22372 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22373 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22374 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22375 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22376 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22377 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22378 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22379 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22380 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22381 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22382 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22384 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22385 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22386 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22387 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22388 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22389 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22390 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22391
58985aa9
UD
223922011-10-24 Ulrich Drepper <drepper@gmail.com>
22393
202c9deb
UD
22394 * sysdeps/x86_64/dla.h: Move to ...
22395 * sysdeps/x86_64/fpu/dla.h: ...here.
22396 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22397 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22398
af968f62
UD
22399 * config.make.in: Add have-mfma4 entry.
22400 * configure.in: Substitute libc_cv_cc_fma4.
22401 * math/Makefile (dbl-only-routines): Add sincostab.
22402 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22403 Use __sincostab not sincos.
22404 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22405 name is a macro.
22406 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22410 using __copysign.
22411 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22412 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22413 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22414 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22415 and __inv.
22416 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22417 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22418 __copysign.
22419 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22420 define aliases when function name is a macro.
22421 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22422 sysdeps/ieee754/dbl-64/sincos.tbl.
22423 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22424 fma4-enabled routines.
22425 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22426 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22427 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22428 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22429 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22430 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22432 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22433 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22434 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22435 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22436 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22437 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22438 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22440 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22441 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22443 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22445 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22446 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22448 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22452 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22453 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22454 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22455
58985aa9
UD
22456 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22457 rename.
22458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22464 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22465 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22466
a201fbcf
AS
224672011-10-24 Andreas Schwab <schwab@redhat.com>
22468
22469 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22470
fc2ee42a
LD
224712011-10-23 Ulrich Drepper <drepper@gmail.com>
22472
bb3129bd
UD
22473 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22474
0275fff8
UD
22475 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22476 prediction.
22477 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22478
2fa2ae85
UD
22479 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22480 Remove unused variable magic_bits.
22481 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22482
fc2ee42a
LD
22483 * string/strnlen.c: Define and use STRNLEN macro.
22484 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22485 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22487 * wcsmbs/wcslen.c: Define and use WCSLEN.
22488 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22489 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22490 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22491 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22492 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22493 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22494 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22495
ce7dd29f
LD
224962011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22497
22498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22499 strnlen-sse2-no-bsf.
22500 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22502 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22503 Add strnlen support.
22504 (USE_AS_STRNLEN): New macro.
22505 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22506 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22507 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22508 * sysdeps/x86_64/wcslen.S: New file.
22509
979c70a3
MZ
225102011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22511
22512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22513 XMM-moves are used for copying on small sizes.
22514
2d09f82f
LD
225152011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22516
22517 * wcsmbs/Makefile (strop-tests): Add wcschr.
22518 * wcsmbs/test-wcschr.c: New file.
22519 * string/test-strchr.c: Update.
22520 Add wcschr support.
22521 (WIDE): New macro.
22522
619fccca
LD
225232011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22524
2d09f82f 22525 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22526 * wcsmbs/test-wcslen.c: New file.
22527 * string/test-strlen.c: Update.
22528 Add wcslen support.
22529 (WIDE): New macro.
22530
09f699ea
UD
225312011-10-23 Ulrich Drepper <drepper@gmail.com>
22532
22533 * po/it.po: Update from translation team.
22534
95584d3b
LD
225352011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22536
22537 * sysdeps/x86_64/wcscmp.S: Update.
22538 Fix wrong comparison semantics.
22539 wcscmp shall use signed comparison not unsigned.
22540 Don't use substraction to avoid overflow bug.
22541 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22542 * wcsmbc/wcscmp.c: Likewise.
22543 * string/test-strcmp.c: Likewise.
22544 Add new tests to check cases with negative values.
22545
c8b3296b
UD
225462011-10-23 Ulrich Drepper <drepper@gmail.com>
22547
22548 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22549 * sysdeps/x86_64/dla.h: ...here. New file.
22550 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22559
246ad57a
AS
225602011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22561
22562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22563 __ynl_finite aliases.
22564
a1a87169
UD
225652011-10-22 Ulrich Drepper <drepper@gmail.com>
22566
0d355eb7
UD
22567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22568
a1a87169
UD
22569 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22570 define DLA_FMA.
22571 [DLA_FMA] (EMULV): Use DLA_FMA.
22572 [DLA_FMA] (MUL12): Use EMULV.
22573 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22574 that are not needed.
22575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22577 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22582
ee2aafe0
AS
225832011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22584
22585 * math/s_nan.c: Undef __nan.
22586 * math/s_nanf.c: Undef __nanf.
22587 * math/s_nanl.c: Undef __nanl.
22588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22589 "math_private.h".
22590
bc62c2fb
UD
225912011-10-22 Ulrich Drepper <drepper@gmail.com>
22592
77425c63
UD
22593 * math/s_catan.c: Add branch predictions.
22594 * math/s_catanf.c: Likewise.
22595 * math/s_catanh.c: Likewise.
22596 * math/s_catanhf.c: Likewise.
22597 * math/s_catanhl.c: Likewise.
22598 * math/s_catanl.c: Likewise.
22599 * math/s_cexp.c: Likewise.
22600 * math/s_cexpf.c: Likewise.
22601 * math/s_cexpl.c: Likewise.
22602 * math/s_clog.c: Likewise.
22603 * math/s_clog10.c: Likewise.
22604 * math/s_clog10f.c: Likewise.
22605 * math/s_clog10l.c: Likewise.
22606 * math/s_clogf.c: Likewise.
22607 * math/s_clogl.c: Likewise.
22608 * math/s_csqrt.c: Likewise.
22609 * math/s_csqrtf.c: Likewise.
22610 * math/s_csqrtl.c: Likewise.
22611 * math/s_ctanf.c: Likewise.
22612 * math/s_ctanh.c: Likewise.
22613 * math/s_ctanhf.c: Likewise.
22614 * math/s_ctanhl.c: Likewise.
22615 * math/s_ctanl.c: Likewise.
22616
bc62c2fb
UD
22617 * math/math_private.h: Define __nan, __nanf, __nanl.
22618 * math/s_cacosh.c: Include <math_private.h>.
22619 * math/s_cacoshl.c: Likewise.
22620 * math/s_casinh.c: Likewise.
22621 * math/s_casinhf.c: Likewise.
22622 * math/s_casinhl.c: Likewise.
22623 * math/s_ccos.c: Rely entire on ccosh.
22624 * math/s_ccosf.c: Rely entire on ccoshf.
22625 * math/s_ccosl.c: Rely entirely on ccoshl.
22626 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22627 Remove tests for FE_INVALID.
22628 * math/s_ccoshf.c: Likewise.
22629 * math/s_ccoshl.c: Likewise.
22630 * math/s_csin.c: Likewise.
22631 * math/s_csinf.c: Likewise.
22632 * math/s_csinh.c Likewise.
22633 * math/s_csinhf.c: Likewise.
22634 * math/s_csinhl.c: Likewise.
22635 * math/s_csinl.c: Likewise.
22636 * math/s_ctan.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22638 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22639 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22640
8ec250a4
UD
226412011-10-21 Ulrich Drepper <drepper@gmail.com>
22642
c196fed8
UD
22643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22644 compilation problems.
22645
8ec250a4
UD
22646 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22647 __builtin_expect.
22648
8d4f46c6
UD
226492011-10-20 Ulrich Drepper <drepper@gmail.com>
22650
ed72b654
UD
22651 * sysdeps/i386/configure.in: Test for -mfma4 option.
22652 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22653 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22654 COMMON_CPUID_INDEX_80000001.
22655 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22656 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22657 use it if FMA3 is not supported.
22658 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22659
8d4f46c6
UD
22660 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22661 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22662
d45c60c2
AS
226632011-10-20 Andreas Schwab <schwab@redhat.com>
22664
22665 [BZ #12892]
22666 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22667 it would create a cycle with a link time dependency.
22668
d9a4d2ab
UD
226692011-10-19 Ulrich Drepper <drepper@gmail.com>
22670
855d1560
UD
22671 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22672 instruction.
22673 * string/Makefile (strop-tests): Add rawmemchr.
22674 * string/test-rawmemchr.c: New file.
22675
d9a4d2ab
UD
22676 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22677 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22678 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22679 when compiling str{,n}casecmp and when AVX is available. Hook up
22680 new optimized code in initializers.
22681
8f3b1ffe
AS
226822011-10-19 Andreas Schwab <schwab@redhat.com>
22683
22684 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22685 __feraiseexcept instead of feraiseexcept.
22686
d38f1dba
UD
226872011-10-18 Ulrich Drepper <drepper@gmail.com>
22688
d9a8d0ab
UD
22689 * math/math_private.h: Define defaults for libc_fetestexcept and
22690 libc_feupdateenv.
22691 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22692 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22693 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22694 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22695 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22696 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22697 libc_fetestexcept and libc_feupdateenv.
22698
4855e3dd
UD
22699 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22700 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22701 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22702 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22703 libc_feholdexcept_setround.
22704
581d30e3
UD
22705 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22706 Add s_nearbyint-c and s_nearbyintf-c.
22707 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22708 nearbyintf inlines.
22709 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22710 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22711 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22712 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22713
d38f1dba
UD
22714 * math/math_private.h: Define defaults for libc_fegetround,
22715 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22716 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22717 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22719 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22720 standard functions.
22721 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22722 Remove comments and hacks for old compiler versions.
22723 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22724 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22725 libc_feholdexceptl.
22726
caa6c9d8
AS
227272011-10-18 Andreas Schwab <schwab@redhat.com>
22728
22729 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22730 (__feraiseexcept_renamed): Add __NTH.
22731 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22732 namespace violations.
22733
97c066e6
UD
227342011-10-17 Ulrich Drepper <drepper@gmail.com>
22735
99ce7b04
UD
22736 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22737
1004d182
UD
22738 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22739
228a984d
UD
22740 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22741 recently added interfaces.
22742 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22743
c8553a6a
UD
22744 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22745 about macro parameter expansion.
22746
ed22dcf6
UD
22747 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22748 __NO_MATH_INLINES is defined. Cleanups.
22749
22750 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22751 and __floorf is target has SSE4.1.
22752 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22754 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22755 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22756
b171c137
UD
22757 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22758 name.
22759 (floorf): Likewise.
22760
97c066e6
UD
22761 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22762
629f62ef
AS
227632011-10-17 Andreas Schwab <schwab@redhat.com>
22764
49a43d80
AS
22765 * misc/sys/cdefs.h: Fix last change.
22766
629f62ef
AS
22767 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22768 database lookup.
22769
e453f6cd
UD
227702011-10-16 Ulrich Drepper <drepper@gmail.com>
22771
aa78043a
UD
22772 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22773
ad0f5cad
UD
22774 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22777 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22779 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22782 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22783 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22784 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22785 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22786 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22787 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22788 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22789 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22790 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22791 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22792 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22793 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22794 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22795 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22796
22797 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22798 ceil, ceilf, floor, floorf.
22799
22800 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22801 Perform IRELATIVE relocations last.
22802
e453f6cd
UD
22803 * elf/do-rel.h: Add another parameter nrelative, replacing the
22804 local variable with the same name. Change name of the function
22805 to end in Rel or Rela (uppercase).
22806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22807 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22808 elf_dynamic_do_##reloc function.
22809
fd5bdc09
UD
228102011-10-15 Ulrich Drepper <drepper@gmail.com>
22811
79b195b5
UD
22812 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22813 is sufficient, at least on modern CPUs.
22814
d4a28569
UD
22815 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22816
b61099b5
UD
22817 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22818 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22819
bcf01e6d
UD
22820 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22821 __expl_finite.
22822 * math/bits/math-finite.h: Add entries for exp.
22823 * math/e_expl.c: Add __*_finite alias.
22824 * sysdeps/i386/fpu/e_exp.S: Likewise.
22825 * sysdeps/i386/fpu/e_expf.S: Likewise.
22826 * sysdeps/i386/fpu/e_expl.c: Likewise.
22827 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22828 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22829 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22831 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22832 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22833 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22834
ba1a0d59
UD
22835 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22836 is sufficient, at least on modern CPUs.
22837
fd5bdc09
UD
22838 * ctype/ctype-info.c (__ctype_init): Define.
22839 * include/ctype.h (__ctype_init): Declare.
22840 (__ctype_b_loc): The variable is always initialized.
22841 (__ctype_toupper_loc): Likewise.
22842 (__ctype_tolower_loc): Likewise.
22843 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22844 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22845
7872cfb0
AS
228462011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22847
b468825a
AS
22848 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22849
7872cfb0
AS
22850 * configure.in: Also look in $cxxmachine/include for C++ system
22851 headers.
22852
be13f7bf
LD
228532011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22854
22855 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22856 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22857 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22858 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22859 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22860 (USE_AS_WMEMCMP): New macro.
22861 Fixing indents.
22862 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22863 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22864 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22865 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22867 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22868 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22869 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22870 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22871 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22872 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22873 (USE_AS_WMEMCMP): New macro.
22874 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22875 * sysdeps/string/test-memcmp.c: Update.
22876 Fix simple_wmemcmp.
22877 Add new tests.
22878 * wcsmbs/wmemcmp.c: Update.
22879 (WMEMCMP): New macro.
22880 Fix overflow bug.
22881
556a2007
AJ
228822011-10-12 Andreas Jaeger <aj@suse.de>
22883
22884 [BZ #13268]
22885 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22886
538faaa7
UD
228872011-10-15 Ulrich Drepper <drepper@gmail.com>
22888
ab6737ff
UD
22889 * libio/iofwide.c (do_length): Avoid warning.
22890
538faaa7
UD
22891 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22892
396a21b1
UD
228932011-10-14 Ulrich Drepper <drepper@gmail.com>
22894
cdf2901f
UD
22895 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22896
38ad40ce
UD
22897 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22898 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22899 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22900 * sysdeps/i386/i686/fpu/e_log.S: New file.
22901 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22902 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22903
396a21b1
UD
22904 * ctype/ctype.h: Add support for inlined isXXX functions when
22905 compiling C++ code.
22906
6b1f68c9
AS
229072011-10-14 Andreas Schwab <schwab@redhat.com>
22908
349290c0
AS
22909 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22910
6b1f68c9
AS
22911 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22912
f2282d42
RM
229132011-10-13 Roland McGrath <roland@hack.frob.com>
22914
22915 [BZ #13291]
22916 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22917
5298ffa8
AS
229182011-10-13 Andreas Schwab <schwab@redhat.com>
22919
714fad23
AS
22920 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22921 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22922 feraiseexcept.
22923
81dcc7fb
AS
22924 * sysdeps/x86_64/memrchr.S: Check for zero size.
22925
5298ffa8
AS
22926 * string/stratcliff.c: Add memrchr tests.
22927
951fbcec
LD
229282011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22929
22930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22931 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22932 rawmemchr-sse2 rawmemchr-sse2-bsf.
22933 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22934 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22935 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22936 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22937 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22938 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22939 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22940 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22941 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22942 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22943 * string/memrchr.c (MEMRCHR): New macro.
22944
0ac5ae23
UD
229452011-10-12 Ulrich Drepper <drepper@gmail.com>
22946
22947 Add integration with gcc's -ffinite-math-only and optimize wrapper
22948 functions in libm.
22949 * Versions.def: Define GLIBC_2.15 version for libm.
22950 * math/Makefile (headers): Add bits/math-finite.h.
22951 * math/bits/math-finite.h: New file.
22952 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22953 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22954 * math/e_acoshl.c: Add __*_finite alias.
22955 * math/e_acosl.c: Likewise.
22956 * math/e_asinl.c: Likewise.
22957 * math/e_atan2l.c: Likewise.
22958 * math/e_atanhl.c: Likewise.
22959 * math/e_coshl.c: Likewise.
22960 * math/e_exp10.c: Likewise.
22961 * math/e_exp10f.c: Likewise.
22962 * math/e_exp10l.c: Likewise.
22963 * math/e_exp2l.c: Likewise.
22964 * math/e_fmodl.c: Likewise.
22965 * math/e_gammal_r.c: Likewise.
22966 * math/e_hypotl.c: Likewise.
22967 * math/e_j0l.c: Likewise.
22968 * math/e_j1l.c: Likewise.
22969 * math/e_jnl.c: Likewise.
22970 * math/e_lgammal_r.c: Likewise.
22971 * math/e_log10l.c: Likewise.
22972 * math/e_log2l.c: Likewise.
22973 * math/e_logl.c: Likewise.
22974 * math/e_powl.c: Likewise.
22975 * math/e_sinhl.c: Likewise.
22976 * math/e_sqrtl.c: Likewise.
22977 * math/e_scalb.c: Completely rewritten and optimized.
22978 * math/e_scalbf.c: Likewise.
22979 * math/e_scalbl.c: Likewise.
22980 * math/w_acos.c: Likewise.
22981 * math/w_acosf.c: Likewise.
22982 * math/w_acosl.c: Likewise.
22983 * math/w_acosh.c: Likewise.
22984 * math/w_acoshf.c: Likewise.
22985 * math/w_acoshl.c: Likewise.
22986 * math/w_asin.c: Likewise.
22987 * math/w_asinf.c: Likewise.
22988 * math/w_asinl.c: Likewise.
22989 * math/w_atan2.c: Likewise.
22990 * math/w_atan2f.c: Likewise.
22991 * math/w_atan2l.c: Likewise.
22992 * math/w_atanh.c: Likewise.
22993 * math/w_atanhf.c: Likewise.
22994 * math/w_atanhl.c: Likewise.
22995 * math/w_exp10.c: Likewise.
22996 * math/w_exp10f.c: Likewise.
22997 * math/w_exp10l.c: Likewise.
22998 * math/w_fmod.c: Likewise.
22999 * math/w_fmodf.c: Likewise.
23000 * math/w_fmodl.c: Likewise.
23001 * math/w_j0.c: Likewise.
23002 * math/w_j0f.c: Likewise.
23003 * math/w_j0l.c: Likewise.
23004 * math/w_j1.c: Likewise.
23005 * math/w_j1f.c: Likewise.
23006 * math/w_j1l.c: Likewise.
23007 * math/w_jn.c: Likewise.
23008 * math/w_jnf.c: Likewise.
23009 * math/w_log.c: Likewise.
23010 * math/w_logf.c: Likewise.
23011 * math/w_logl.c: Likewise.
23012 * math/w_log10.c: Likewise.
23013 * math/w_log10f.c: Likewise.
23014 * math/w_log10l.c: Likewise.
23015 * math/w_log2.c: Likewise.
23016 * math/w_log2f.c: Likewise.
23017 * math/w_log2l.c: Likewise.
23018 * math/w_pow.c: Likewise.
23019 * math/w_powf.c: Likewise.
23020 * math/w_powl.c: Likewise.
23021 * math/w_remainder.c: Likewise.
23022 * math/w_remainderf.c: Likewise.
23023 * math/w_remainderl.c: Likewise.
23024 * math/w_scalb.c: Likewise.
23025 * math/w_scalbf.c: Likewise.
23026 * math/w_scalbl.c: Likewise.
23027 * math/w_sqrt.c: Likewise.
23028 * math/w_sqrtf.c: Likewise.
23029 * math/w_sqrtl.c: Likewise.
23030 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23031 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23032 used.
23033 * math/math_private.h: Declare __kernel_standard_f.
23034 * math/w_cosh.c: Remove cruft and optimize a bit.
23035 * math/w_coshf.c: Likewise.
23036 * math/w_coshl.c: Likewise.
23037 * math/w_exp2.c: Likewise.
23038 * math/w_exp2f.c: Likewise.
23039 * math/w_exp2l.c: Likewise.
23040 * math/w_hypot.c: Likewise.
23041 * math/w_hypotf.c: Likewise.
23042 * math/w_hypotl.c: Likewise.
23043 * math/w_lgamma.c: Likewise.
23044 * math/w_lgamma_r.c: Likewise.
23045 * math/w_lgammaf.c: Likewise.
23046 * math/w_lgammaf_r.c: Likewise.
23047 * math/w_lgammal.c: Likewise.
23048 * math/w_lgammal_r.c: Likewise.
23049 * math/w_sinh.c: Likewise.
23050 * math/w_sinhf.c: Likewise.
23051 * math/w_sinhl.c: Likewise.
23052 * math/w_tgamma.c: Likewise.
23053 * math/w_tgammaf.c: Likewise.
23054 * math/w_tgammal.c: Likewise.
23055 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23056 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23057 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23058 Minor optimizations. Pretty printing. Remove cruft.
23059 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23060 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23061 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23062 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23063 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23064 * sysdeps/i386/fpu/e_asin.S: Likewise.
23065 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23066 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23067 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23068 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23069 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23070 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23071 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23072 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23073 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23074 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23075 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23076 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23077 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23078 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23079 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23080 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23081 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23082 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23083 * sysdeps/i386/fpu/e_log.S: Likewise.
23084 * sysdeps/i386/fpu/e_log10.S: Likewise.
23085 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23086 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23087 * sysdeps/i386/fpu/e_log2.S: Likewise.
23088 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23089 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23090 * sysdeps/i386/fpu/e_logf.S: Likewise.
23091 * sysdeps/i386/fpu/e_logl.S: Likewise.
23092 * sysdeps/i386/fpu/e_pow.S: Likewise.
23093 * sysdeps/i386/fpu/e_powf.S: Likewise.
23094 * sysdeps/i386/fpu/e_powl.S: Likewise.
23095 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23096 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23097 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23098 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23099 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23100 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23101 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23102 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23103 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23107 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23108 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23109 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23110 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23121 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23125 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23126 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23127 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23128 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23129 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23130 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23131 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23132 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23133 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23134 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23135 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23137 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23138 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23139 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23140 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23141 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23142 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23143 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23144 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23145 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23146 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23147 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23148 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23149 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23150 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23151 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23152 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23153 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23154 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23155 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23156 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23157 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23158 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23159 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23160 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23161 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23162 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23163 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23164 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23172 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23175 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23178 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23179 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23180 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23181 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23182 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23183 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23184 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23185 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23188 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23189 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23191 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23192 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23193 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23194 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23195 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23196 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23197 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23198 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23199 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23200 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23201 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23202 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23203 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23204 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23205 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23206 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23207 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23209 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23210 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23211 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23212 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23214 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23215 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23216 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23217 (__isnanf): Likewise.
23218 (__isinf_ns): Likewise.
23219 (__isinf_nsf): Likewise.
23220 (__finite): Likewise.
23221 (__finitef): Likewise.
23222 (__ieee754_sqrt): Define as macro.
23223 (__ieee754_sqrtf): Define as macro.
23224 (__ieee754_sqrtl): Define as macro.
23225 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23226 inlined copy.
23227 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23228 __FINITE_MATH_ONLY__ consistent.
23229 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23230
12cc2fcd
AS
232312011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23232
a843a204
AS
23233 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23234 of rawmemchr.
23235
12cc2fcd
AS
23236 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23237
c853acd5
UD
232382011-10-09 Ulrich Drepper <drepper@gmail.com>
23239
23240 * po/ja.po: Update from translation team.
23241
c658d255
RM
232422011-10-08 Roland McGrath <roland@hack.frob.com>
23243
110946e4
RM
23244 * locale/programs/locarchive.c (prepare_address_space): New function.
23245 (create_archive, enlarge_archive, open_archive): Use it.
23246
50604220
RM
23247 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23248 inside [SHARED], where it is used.
23249
c658d255
RM
23250 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23251
23252 * nss/getent.c (netgroup_keys): Remove unused variable.
23253 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23254
6a621eb7
UD
232552011-10-08 Ulrich Drepper <drepper@gmail.com>
23256
7edb55ce
UD
23257 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23258 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23259 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23260 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23261 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23262 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23263 * math/Makefile (libm-calls): Add s_isinf_ns.
23264 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23265 * math/multc3.c: Likewise.
23266 * math/s_casin.c: Likewise.
23267 * math/s_casinf.c: Likewise.
23268 * math/s_casinl.c: Likewise.
23269 * math/s_ccos.c: Likewise.
23270 * math/s_ccosf.c: Likewise.
23271 * math/s_ccosl.c: Likewise.
23272 * math/s_ctan.c: Likewise.
23273 * math/s_ctanf.c: Likewise.
23274 * math/s_ctanh.c: Likewise.
23275 * math/s_ctanhf.c: Likewise.
23276 * math/s_ctanhl.c: Likewise.
23277 * math/s_ctanl.c: Likewise.
23278 * math/w_fmod.c: Likewise.
23279 * math/w_fmodf.c: Likewise.
23280 * math/w_fmodl.c: Likewise.
23281 * math/w_remainder.c: Likewise.
23282 * math/w_remainderf.c: Likewise.
23283 * math/w_remainderl.c: Likewise.
23284 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23285 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23286 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23288 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23289 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23290 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23291 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23292
187da0ae
UD
23293 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23294 of the number.
23295 * stdio-common/printf_fphex.c: Likewise.
23296 * stdio-common/printf_size.c: Likewise.
23297
9277c064
UD
23298 * math/e_exp10.c: Include math_private.h using <...> not "...".
23299 * math/e_exp10f.c: Likewise.
23300 * math/e_exp10l.c: Likewise.
23301 * math/e_exp2l.c: Likewise.
23302 * math/e_j0l.c: Likewise.
23303 * math/e_j1l.c: Likewise.
23304 * math/e_jnl.c: Likewise.
23305 * math/e_lgammal_r.c: Likewise.
23306 * math/e_rem_pio2l.c: Likewise.
23307 * math/e_scalb.c: Likewise.
23308 * math/e_scalbf.c: Likewise.
23309 * math/e_scalbl.c: Likewise.
23310 * math/k_cosl.c: Likewise.
23311 * math/k_sinl.c: Likewise.
23312 * math/k_tanl.c: Likewise.
23313 * math/s_cacoshf.c: Likewise.
23314 * math/s_catan.c: Likewise.
23315 * math/s_catanf.c: Likewise.
23316 * math/s_catanh.c: Likewise.
23317 * math/s_catanhf.c: Likewise.
23318 * math/s_catanhl.c: Likewise.
23319 * math/s_catanl.c: Likewise.
23320 * math/s_ccosh.c: Likewise.
23321 * math/s_ccoshf.c: Likewise.
23322 * math/s_ccoshl.c: Likewise.
23323 * math/s_cexp.c: Likewise.
23324 * math/s_cexpf.c: Likewise.
23325 * math/s_cexpl.c: Likewise.
23326 * math/s_clog.c: Likewise.
23327 * math/s_clog10.c: Likewise.
23328 * math/s_clog10f.c: Likewise.
23329 * math/s_clog10l.c: Likewise.
23330 * math/s_clogf.c: Likewise.
23331 * math/s_clogl.c: Likewise.
23332 * math/s_csin.c: Likewise.
23333 * math/s_csinf.c: Likewise.
23334 * math/s_csinh.c: Likewise.
23335 * math/s_csinhf.c: Likewise.
23336 * math/s_csinhl.c: Likewise.
23337 * math/s_csinl.c: Likewise.
23338 * math/s_csqrt.c: Likewise.
23339 * math/s_csqrtf.c: Likewise.
23340 * math/s_csqrtl.c: Likewise.
23341 * math/s_ctan.c: Likewise.
23342 * math/s_ctanf.c: Likewise.
23343 * math/s_ctanh.c: Likewise.
23344 * math/s_ctanhf.c: Likewise.
23345 * math/s_ctanhl.c: Likewise.
23346 * math/s_ctanl.c: Likewise.
23347 * math/s_ldexp.c: Likewise.
23348 * math/s_ldexpf.c: Likewise.
23349 * math/s_ldexpl.c: Likewise.
23350 * math/s_significand.c: Likewise.
23351 * math/s_significandf.c: Likewise.
23352 * math/s_significandl.c: Likewise.
23353 * math/w_acos.c: Likewise.
23354 * math/w_acosf.c: Likewise.
23355 * math/w_acosh.c: Likewise.
23356 * math/w_acoshf.c: Likewise.
23357 * math/w_acoshl.c: Likewise.
23358 * math/w_acosl.c: Likewise.
23359 * math/w_asin.c: Likewise.
23360 * math/w_asinf.c: Likewise.
23361 * math/w_asinl.c: Likewise.
23362 * math/w_atan2.c: Likewise.
23363 * math/w_atan2f.c: Likewise.
23364 * math/w_atan2l.c: Likewise.
23365 * math/w_atanh.c: Likewise.
23366 * math/w_atanhf.c: Likewise.
23367 * math/w_atanhl.c: Likewise.
23368 * math/w_cosh.c: Likewise.
23369 * math/w_coshf.c: Likewise.
23370 * math/w_coshl.c: Likewise.
23371 * math/w_dremf.c: Likewise.
23372 * math/w_exp10.c: Likewise.
23373 * math/w_exp10f.c: Likewise.
23374 * math/w_exp10l.c: Likewise.
23375 * math/w_exp2.c: Likewise.
23376 * math/w_exp2f.c: Likewise.
23377 * math/w_fmod.c: Likewise.
23378 * math/w_fmodf.c: Likewise.
23379 * math/w_fmodl.c: Likewise.
23380 * math/w_hypot.c: Likewise.
23381 * math/w_hypotf.c: Likewise.
23382 * math/w_hypotl.c: Likewise.
23383 * math/w_j0.c: Likewise.
23384 * math/w_j0f.c: Likewise.
23385 * math/w_j0l.c: Likewise.
23386 * math/w_j1.c: Likewise.
23387 * math/w_j1f.c: Likewise.
23388 * math/w_j1l.c: Likewise.
23389 * math/w_jn.c: Likewise.
23390 * math/w_jnf.c: Likewise.
23391 * math/w_jnl.c: Likewise.
23392 * math/w_lgamma.c: Likewise.
23393 * math/w_lgamma_r.c: Likewise.
23394 * math/w_lgammaf.c: Likewise.
23395 * math/w_lgammaf_r.c: Likewise.
23396 * math/w_lgammal.c: Likewise.
23397 * math/w_lgammal_r.c: Likewise.
23398 * math/w_log.c: Likewise.
23399 * math/w_log10.c: Likewise.
23400 * math/w_log10f.c: Likewise.
23401 * math/w_log10l.c: Likewise.
23402 * math/w_log2.c: Likewise.
23403 * math/w_log2f.c: Likewise.
23404 * math/w_log2l.c: Likewise.
23405 * math/w_logf.c: Likewise.
23406 * math/w_logl.c: Likewise.
23407 * math/w_pow.c: Likewise.
23408 * math/w_powf.c: Likewise.
23409 * math/w_powl.c: Likewise.
23410 * math/w_remainder.c: Likewise.
23411 * math/w_remainderf.c: Likewise.
23412 * math/w_remainderl.c: Likewise.
23413 * math/w_scalb.c: Likewise.
23414 * math/w_scalbf.c: Likewise.
23415 * math/w_scalbl.c: Likewise.
23416 * math/w_sinh.c: Likewise.
23417 * math/w_sinhf.c: Likewise.
23418 * math/w_sinhl.c: Likewise.
23419 * math/w_sqrt.c: Likewise.
23420 * math/w_sqrtf.c: Likewise.
23421 * math/w_sqrtl.c: Likewise.
23422 * math/w_tgamma.c: Likewise.
23423 * math/w_tgammaf.c: Likewise.
23424 * math/w_tgammal.c: Likewise.
23425
6a621eb7
UD
23426 * po/ja.po: Update from translation team.
23427
bf582445
AJ
234282011-09-29 Andreas Jaeger <aj@suse.de>
23429
f9efbf3a
AJ
23430 [BZ #13179]
23431 * sunrpc/netname.c (netname2host): Fix logic.
23432
bf582445
AJ
23433 [BZ #6779]
23434 [BZ #6783]
23435 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23436 correctly.
23437 * math/w_remainder.c (__remainder): Likewise.
23438 * math/w_remainderf.c (__remainderf): Likewise.
23439 * math/libm-test.inc (remainder_test): Add test cases.
23440
48693bea
AK
234412011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23442
23443 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23444 sdiv_qrnnd.
23445
42622229
LD
234462011-10-07 Ulrich Drepper <drepper@gmail.com>
23447
23448 * string/test-memcmp.c: Avoid unncessary #defines.
23449 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23450
093ecf92
LD
234512011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23452
23453 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23454 Use new sse2 version for core i3 - i7 as it's faster
23455 than sse42 version.
23456 (bit_Prefer_PMINUB_for_stringop): New.
23457 * sysdeps/x86_64/rawmemchr.S: Update.
23458 Replace with faster SSE2 version.
23459 * sysdeps/x86_64/memrchr.S: New file.
23460 * sysdeps/x86_64/memchr.S: Update.
23461 Replace with faster SSE2 version.
23462
fde56e5c
MP
234632011-09-12 Marek Polacek <mpolacek@redhat.com>
23464
23465 * elf/dl-load.c (lose): Add cast to avoid warning.
23466
21fd49a9
UD
234672011-10-07 Ulrich Drepper <drepper@gmail.com>
23468
5a06e643
UD
23469 * po/ca.po: Update from translation team.
23470
684ae515
UD
23471 * inet/getnetgrent_r.c: Hook up nscd.
23472 * nscd/Makefile (routines): Add nscd_netgroup.
23473 (nscd-modules): Add netgroupcache.
23474 (CFLAGS-netgroupcache.c): Define.
23475 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23476 (cache_search): Add const to second parameter.
23477 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23478 INNETGR.
23479 (dbs): Add netgrdb entry.
23480 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23481 (verify_persistent_db): Handle netgrdb.
23482 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23483 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23484 GETFDNETGR.
23485 (netgroup_response_header): Define.
23486 (innetgroup_response_header): Define.
23487 (datahead): Add netgroup_response_header and innetgroup_response_header
23488 elements.
23489 * nscd/nscd.conf: Add entries for netgroup cache.
23490 * nscd/nscd.h (dbtype): Add netgrdb.
23491 (_PATH_NSCD_NETGROUP_DB): Define.
23492 (netgroup_iov_disabled): Declare.
23493 (xmalloc, xcalloc, xrealloc): Move declarations here.
23494 (cache_search): Adjust prototype.
23495 Add netgroup-related prototypes.
23496 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23497 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23498 (__nscd_innetgr): Declare.
23499 * nscd/selinux.c (perms): Use access_vector_t as element type and
23500 add netgroup-related initializers.
23501 * nscd/netgroupcache.c: New file.
23502 * nscd/nscd_netgroup.c: New file.
23503 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23504 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23505 For four parameters use innetgr.
23506 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23507 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23508 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23509 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23510
21fd49a9
UD
23511 * nscd/connections.c (register_traced_file): Don't register file
23512 for disabled databases.
23513
054c0457
UD
235142011-10-06 Ulrich Drepper <drepper@gmail.com>
23515
32b63198
UD
23516 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23517
054c0457
UD
23518 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23519 from tree and freeing node.
23520
64031225
JO
235212011-09-25 Jiri Olsa <jolsa@redhat.com>
23522
23523 * nss/nsswitch.c (__nss_database_lookup): Handle
23524 nss_parse_service_list out of memory case.
23525
0490345c
JO
235262011-09-15 Jiri Olsa <jolsa@redhat.com>
23527
23528 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23529 out of memory case.
23530
3a62d00d
AS
235312011-10-04 Andreas Schwab <schwab@redhat.com>
23532
23533 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23534 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23535 pass it down.
23536 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23537 elf_machine_rela, elf_machine_lazy_rel.
23538 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23539 (ELF_DYNAMIC_DO_REL): Likewise.
23540 (ELF_DYNAMIC_DO_RELA): Likewise.
23541 (ELF_DYNAMIC_RELOCATE): Likewise.
23542 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23543 to ELF_DYNAMIC_DO_REL.
23544 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23545 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23546 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23547 elf_machine_rela.
23548 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23549 skip_ifunc, don't call ifunc function if non-zero.
23550 (elf_machine_rela): Likewise.
23551 (elf_machine_lazy_rel): Likewise.
23552 (elf_machine_lazy_rela): Likewise.
23553 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23554 (elf_machine_lazy_rel): Likewise.
23555 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23556 Likewise.
23557 (elf_machine_lazy_rel): Likewise.
23558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23559 Likewise.
23560 (elf_machine_lazy_rel): Likewise.
23561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23562 (elf_machine_lazy_rel): Likewise.
23563 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23564 (elf_machine_lazy_rel): Likewise.
23565 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23566 (elf_machine_lazy_rel): Likewise.
23567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23568 (elf_machine_lazy_rel): Likewise.
23569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23570 (elf_machine_lazy_rel): Likewise.
23571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23572 (elf_machine_lazy_rel): Likewise.
23573
68577918
UD
235742011-09-28 Ulrich Drepper <drepper@gmail.com>
23575
23576 * nss/nss_files/files-init.c (_nss_files_init): Use static
23577 initialization for all the *_traced_file variables.
23578
68822d74
AS
235792011-09-28 Andreas Schwab <schwab@redhat.com>
23580
23581 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23582
2056100b
RM
235832011-09-27 Roland McGrath <roland@hack.frob.com>
23584
23585 [BZ #13226]
23586 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23587
32c76b63
AS
235882011-09-27 Andreas Schwab <schwab@redhat.com>
23589
23590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23591 Reread the line before reparsing it.
23592
bf972c9d
AS
235932011-09-26 Andreas Schwab <schwab@redhat.com>
23594
23595 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23596
e057a1b5
JM
235972011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23598 Maxim Kuvyrkov <maxim@codesourcery.com>
23599 Joseph Myers <joseph@codesourcery.com>
23600
23601 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23602 if needed for __stack_chk_guard.
23603
bc7e1c36
RM
236042011-09-19 Roland McGrath <roland@hack.frob.com>
23605
ecb1482f
RM
23606 * sysdeps/posix/spawni.c (script_execute): Always define it.
23607 It will be optimized away if unused.
23608 (maybe_script_execute): New function.
23609 (__spawni): Call it.
23610
bc7e1c36
RM
23611 * Makerules: Don't include tls.make.
23612 (config-tls): Always set to thread.
23613 * tls.make.c: File removed.
23614
1c3b002b
MF
236152011-09-19 Mike Frysinger <vapier@gentoo.org>
23616
23617 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23618 * config.make.in (CPPFLAGS-config): New substituted variable.
23619
2840865d
UD
236202011-09-15 Ulrich Drepper <drepper@gmail.com>
23621
88738eb6
UD
23622 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23623
cbf645a6 23624 [BZ #13192]
2840865d
UD
23625 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23626 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23627
b402e91a
RM
236282011-09-15 Roland McGrath <roland@hack.frob.com>
23629
23630 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23631 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23633 (CALL_FAIL): Likewise.
23634 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23635 (CALL_FAIL): Macro removed.
23636 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23637
4c1a1f71
UD
236382011-09-15 Ulrich Drepper <drepper@gmail.com>
23639
23640 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23641 for __FINITE_MATH_ONLY__ == 1.
23642
edc121be
AS
236432011-09-15 Andreas Schwab <schwab@redhat.com>
23644
23645 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23646 __ieee754_sqrt instead of sqrt.
23647 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23648 __ieee754_sqrtf instead of sqrtf.
23649 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23650 __floorf instead of floorf.
23651 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23652 __floorf, __truncf instead of floorf, truncf.
23653
cd205654
UD
236542011-09-14 Ulrich Drepper <drepper@gmail.com>
23655
ee4d0315
UD
23656 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23657
cd205654
UD
23658 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23659 __extern_always_inline.
23660 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23661 32-bit.
23662
48b67d71
AS
236632011-09-14 Andreas Schwab <schwab@redhat.com>
23664
23665 * elf/rtld.c (dl_main): Also relocate in dependency order when
23666 doing symbol dependency testing.
23667
1ae12c75
AS
236682011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23669
23670 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23671 Always define `refsym'.
23672
995a80df
AS
236732011-09-13 Andreas Schwab <schwab@redhat.com>
23674
e529793b
AS
23675 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23676 (__FD_ELT): Renamed from __FDELT.
23677 * misc/bits/select2.h (__FD_ELT): Likewise.
23678 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23679 __FD_MASK instead of __FDELT, __FDMASK.
23680 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23681 Likewise.
23682 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23683 Likewise.
23684
52d4fef8
AS
23685 * elf/Makefile (gen-ldd): Fix pattern.
23686
995a80df
AS
23687 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23688 (init_tls): Likewise.
23689
8682f8b0
UD
236902011-09-12 Ulrich Drepper <drepper@gmail.com>
23691
23692 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23693
de82006d
AS
236942011-09-12 Andreas Schwab <schwab@redhat.com>
23695
a7c8e6a1
AS
23696 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23697 `struct cmsghdr *' instead of `void *'.
23698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23699 Likewise.
23700
0f31fe77
AS
237012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23702
23703 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23704 if non-absolute.
23705 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23706 ldd_rewrite_script.
0f31fe77 23707
32b4c839
UD
237082011-09-11 Ulrich Drepper <drepper@gmail.com>
23709
83cd1420
UD
23710 * configure.in: Remove --with-tls option.
23711 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23712 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23713 out in case it is missing.
23714 * sysdeps/ia64/elf/configure.in: Likewise.
23715 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23716 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23717 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23718 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23719 * sysdeps/sh/elf/configure.in: Likewise.
23720 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23721 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23722 * sysdeps/x86_64/elf/configure.in: Likewise.
23723 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23724 * sysdeps/mach/hurd/tls.h: Likewise.
23725
633f745d
UD
23726 [BZ #13067]
23727 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23728
f318beb8
UD
23729 [BZ #13090]
23730 * configure.in: Fix use of AC_INIT.
23731
32b4c839
UD
23732 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23733
3ce1f295
UD
237342011-09-10 Ulrich Drepper <drepper@gmail.com>
23735
bb016596
UD
23736 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23737 __set_errno.
8e58439c
UD
23738 * malloc/hooks.c: Likewise.
23739
aebae053 23740 [BZ #11929]
02d46fc4
UD
23741 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23742 variables statically.
23743 (narenas): Initialize.
23744 (list_lock): Initialize.
bb016596
UD
23745 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23746 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23747 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23748 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23749 Add initializers to main_arena and mp_.
23750 (malloc_state): Remove pagesize member. Change all users to use
23751 GLRO(dl_pagesize).
23752
23753 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23754 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23755 is always initialized.
23756
22a89187
UD
23757 * malloc/malloc.c: Removed unused configurations and dead code.
23758 * malloc/arena.c: Likewise.
23759 * malloc/hooks.c: Likewise.
02d46fc4 23760 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23761
d063d164
UD
23762 * include/tls.h: Removed. USE___THREAD must always be defined.
23763 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23764 * elf/dl-libc.c: Likewise.
23765 * elf/dl-tsd.c: Likewise.
23766 * include/errno.h: Likewise.
23767 * include/netdb.h: Likewise.
23768 * include/resolv.h: Likewise.
23769 * inet/herrno-loc.c: Likewise.
23770 * inet/herrno.c: Likewise.
23771 * malloc/arena.c: Likewise.
23772 * malloc/hooks.c: Likewise.
23773 * malloc/malloc.c: Likewise.
23774 * resolv/res-state.c: Likewise.
23775 * resolv/res_libc.c: Likewise.
23776 * sysdeps/i386/dl-machine.h: Likewise.
23777 * sysdeps/ia64/dl-machine.h: Likewise.
23778 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23779 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23780 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23781 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23782 * sysdeps/sh/dl-machine.h: Likewise.
23783 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23784 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23785 * sysdeps/unix/i386/sysdep.S: Likewise.
23786 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23787 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23790 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23792 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23796 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23797 * sysdeps/x86_64/dl-machine.h: Likewise.
23798 * tls.make.c: Likewise.
23799
3ce1f295
UD
23800 * configure.in: Remove --with-__thread option. Make tests for
23801 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23802 tls_model attribute fail if no support is available. Remove
23803 USE_IN_LIBIO.
23804 * Makeconfig: Adjust for dropped configure option. All features are
23805 now mandatory.
23806 * Makerules: Likewise.
23807 * Versions.def: Likewise.
23808 * argp/argp-fmtstream.c: Likewise.
23809 * argp/argp-fmtstream.h: Likewise.
23810 * argp/argp-help.c: Likewise.
23811 * assert/assert.c: Likewise.
23812 * config.h.in: Likewise.
23813 * config.make.in: Likewise.
23814 * configure: Likewise.
23815 * configure.in: Likewise.
23816 * csu/Versions: Likewise.
23817 * csu/init.c: Likewise.
23818 * elf/tst-audit2.c: Likewise.
23819 * elf/tst-tls10.c: Likewise.
23820 * elf/tst-tls10.h: Likewise.
23821 * elf/tst-tls11.c: Likewise.
23822 * elf/tst-tls12.c: Likewise.
23823 * elf/tst-tls14.c: Likewise.
23824 * elf/tst-tlsmod11.c: Likewise.
23825 * elf/tst-tlsmod12.c: Likewise.
23826 * elf/tst-tlsmod13.c: Likewise.
23827 * elf/tst-tlsmod13a.c: Likewise.
23828 * elf/tst-tlsmod14a.c: Likewise.
23829 * elf/tst-tlsmod15b.c: Likewise.
23830 * elf/tst-tlsmod16a.c: Likewise.
23831 * elf/tst-tlsmod16b.c: Likewise.
23832 * elf/tst-tlsmod7.c: Likewise.
23833 * elf/tst-tlsmod8.c: Likewise.
23834 * elf/tst-tlsmod9.c: Likewise.
23835 * gmon/gmon.c: Likewise.
23836 * grp/fgetgrent_r.c: Likewise.
23837 * grp/putgrent.c: Likewise.
23838 * hurd/fopenport.c: Likewise.
23839 * include/libc-symbols.h: Likewise.
23840 * include/tls.h: Likewise.
23841 * intl/gettextP.h: Likewise.
23842 * intl/loadinfo.h: Likewise.
23843 * locale/global-locale.c: Likewise.
23844 * locale/localeinfo.h: Likewise.
23845 * mach/devstream.c: Likewise.
23846 * malloc/arena.c: Likewise.
23847 * malloc/set-freeres.c: Likewise.
23848 * misc/err.c: Likewise.
23849 * misc/getttyent.c: Likewise.
23850 * misc/mntent_r.c: Likewise.
23851 * posix/getopt.c: Likewise.
23852 * posix/wordexp.c: Likewise.
23853 * pwd/fgetpwent_r.c: Likewise.
23854 * resolv/Versions: Likewise.
23855 * resolv/res_hconf.c: Likewise.
23856 * shadow/fgetspent_r.c: Likewise.
23857 * shadow/putspent.c: Likewise.
23858 * stdio-common/printf_fphex.c: Likewise.
23859 * stdio-common/tmpfile.c: Likewise.
23860 * stdlib/abort.c: Likewise.
23861 * stdlib/fmtmsg.c: Likewise.
23862 * sunrpc/auth_unix.c: Likewise.
23863 * sunrpc/clnt_perr.c: Likewise.
23864 * sunrpc/clnt_tcp.c: Likewise.
23865 * sunrpc/clnt_udp.c: Likewise.
23866 * sunrpc/clnt_unix.c: Likewise.
23867 * sunrpc/openchild.c: Likewise.
23868 * sunrpc/svc_simple.c: Likewise.
23869 * sunrpc/svc_tcp.c: Likewise.
23870 * sunrpc/svc_udp.c: Likewise.
23871 * sunrpc/svc_unix.c: Likewise.
23872 * sunrpc/xdr.c: Likewise.
23873 * sunrpc/xdr_array.c: Likewise.
23874 * sunrpc/xdr_rec.c: Likewise.
23875 * sunrpc/xdr_ref.c: Likewise.
23876 * sunrpc/xdr_stdio.c: Likewise.
23877
1248c1c4
PB
238782011-09-09 Ulrich Drepper <drepper@gmail.com>
23879
23880 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23881
238822011-07-03 Andreas Jaeger <aj@suse.de>
23883
23884 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23885 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23886 regenerate with gen-libm-tests.pl.
23887
238882010-05-12 Petr Baudis <pasky@suse.cz>
23889
23890 [BZ #11589]
23891 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23892 around j0() zero points by switching to j1().
23893 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23896 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23897
f22e1074
UD
238982011-09-09 Ulrich Drepper <drepper@gmail.com>
23899
f19009c1
UD
23900 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23901 instead of 0.
23902 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23903 instead of 0.
f19009c1
UD
23904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23905 Patch in part by Pavel Roskin <proski@gnu.org>.
23906
3f8cc204
UD
23907 [BZ #13138]
23908 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23909 realloc.
23910 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23911 Free memory block if necessary.
23912
f22e1074
UD
23913 [BZ #12847]
23914 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23915 be NULL. Don't lock in this case.
23916
0a2349f9
RM
239172011-09-09 Roland McGrath <roland@hack.frob.com>
23918
23919 * elf/elf.h (ELFOSABI_GNU): New macro.
23920 (ELFOSABI_LINUX): Define to that.
23921
f3cdd467
DZ
239222011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23923
23924 * string/strncat.c (strncat): Undef the symbol in case it has been
23925 defined in bits/string.h.
23926
74718d13
UD
239272011-09-09 Ulrich Drepper <drepper@gmail.com>
23928
633e9e0f
UD
23929 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23930
0a2349f9 23931 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23932 link map.
23933
f9924780
AJ
239342011-08-17 Andreas Jaeger <aj@suse.de>
23935
23936 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23937
7f5517aa
PP
239382011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23939 Ian Lance Taylor <iant@google.com>
23940
23941 * math/libm-test.inc (lround_test): New testcase.
23942 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23943
762011fe
UD
239442011-09-08 Ulrich Drepper <drepper@gmail.com>
23945
92963737
UD
23946 * Makefile: Remove support for automatic cvs check-ins.
23947 * Makerules: Likewise.
23948 * config.make.in: Likewise.
23949 * configure.in: Likewise.
23950 * intl/Makefile: Likewise.
23951 * locale/Makefile: Likewise.
23952 * po/Makefile: Likewise.
23953 * posix/Makefile: Likewise.
23954 * sysdeps/gnu/Makefile: Likewise.
23955 * sysdeps/mach/hurd/Makefile: Likewise.
23956 * sysdeps/sparc/sparc32/Makefile: Likewise.
23957
b0727fd8
JS
23958 [BZ #13118]
23959 * posix/Makefile (bug-regex32-ENV): Define.
23960 Patch by John Stanley <jpsinthemix@verizon.net>.
23961
a0f33f99
UD
23962 * misc/Makefile (headers): Add bits/select2.h.
23963 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23964 * misc/bits/select2.h: New file.
23965 * include/bits/select2.h: New file.
23966 * debug/Makefile (routines): Add fdelt_chk.
23967 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23968 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23969 FD_ISSET.
23970 * debug/fdelt_chk.c: New file.
23971
762011fe
UD
23972 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23973 * wcsmbs/test-wmemcmp.c: Likewise.
23974 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23975 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23976
239772011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23978
23979 * string/Makefile (strop-tests): Add memcmp.
23980 * string/test-wmemcmp.c: New file.
23981 * string/test-memcmp.c: Add wmemcmp support.
23982
7f513ec8
RM
239832011-09-08 Roland McGrath <roland@hack.frob.com>
23984
0442afb4
RM
23985 [BZ #13153]
23986 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23987 2011-07-19 change.
23988
7f513ec8
RM
23989 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23990 garbage value in a __mach_port_mod_refs call in the cases of the
23991 task-self and thread-self ports.
23992
a12b2239
ST
239932011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23994
23995 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23996
610f9ab4
AS
239972011-09-08 Andreas Schwab <schwab@redhat.com>
23998
7f513ec8 23999 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24000
48882a1a
LD
240012011-09-07 Ulrich Drepper <drepper@gmail.com>
24002
b49865be
UD
24003 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24004
fdc86bc9
UD
24005 * elf/dl-libc.c (dlerror_run): Pass back error code from
24006 dl_catch_error.
24007
c966526a
UD
24008 [BZ #13123]
24009 * elf/dl-load.c (lose): Free l_origin if it is valid.
24010
48882a1a
LD
24011 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24012 names.
24013 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24014 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24015 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24016 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24017 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24018 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24019
77a2a8b4
AZ
240202011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24021
24022 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24023 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24024 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24025 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24026 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24027 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24028 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24029 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24030 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24031 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24032
24f579d8
AM
240332011-08-15 Alan Modra <amodra@gmail.com>
24034
24035 [BZ #13092]
24036 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24037 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24038 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24039 ppc_mcount to static-only-routines.
24040 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24041 __mcount_internal.
24042 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24043 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24044
3d4837df
UD
240452011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24046
24047 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24048 for finite and infinity parameters.
24049
22700377
WS
240502011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24051
24052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24053 and add nop instructions for throughput optimization.
24054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24055
5025581e
WS
240562011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24057
24058 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24059 aligned copy for power7 with vector-scalar instructions.
24060 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24061
08a300c9
L
240622011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24063
24064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24065 AVX check.
24066
59178ef9
AS
240672011-09-07 Andreas Schwab <schwab@redhat.com>
24068
24069 [BZ #13144]
24070 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24071 last change.
24072
e38ba7ab
UD
240732011-09-07 Ulrich Drepper <drepper@gmail.com>
24074
24075 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24076 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24077 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24078 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24079 clock_gettime.
24080
d53a73ac
UD
240812011-09-06 Ulrich Drepper <drepper@gmail.com>
24082
fc8bffcc
UD
24083 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24084 Forgot to demangle the pointer.
24085
ceaa0c5d
UD
24086 * sysdeps/i386/sysdep.h: Define atom_text_section.
24087 * sysdeps/x86_64/sysdep.h: Likewise.
24088 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24089 section with atom_text_section.
24090 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24091 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24092 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24094 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24095
a77d3c17
UD
24096 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24097 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24098 already be defined. Change to take two parameters and don't assign
24099 result to variable. Adjust all users.
24100 Define INTERNAL_GETTIME if not already defined.
24101 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24102 call.
24103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24104 HAVE_CLOCK_GETTIME_VSYSCALL.
24105 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24106
d53a73ac
UD
24107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24108 gettimeofday vsyscall, just use time.
24109
a8f84144
AS
241102011-09-06 Andreas Schwab <schwab@redhat.com>
24111
24112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24113 <errno.h>.
24114
ef606249
UD
241152011-09-06 Ulrich Drepper <drepper@gmail.com>
24116
24117 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24118 syscall on x86-64.
24119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24120 syscall.
24121 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24122 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24123 syscall if possible.
24124
6585cb60
UD
241252011-09-05 Ulrich Drepper <drepper@gmail.com>
24126
24127 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24128 e_ident. Don't pass to find_mapsXX.
24129 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24130
a5f524e4
LD
241312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24132
24133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24134 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24135 * sysdeps/x86_64/multiarch/strchr.S: Update.
24136 Check bit_slow_BSF bit.
24137 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24138 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24139 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24140
554881ef
UD
241412011-09-05 Ulrich Drepper <drepper@gmail.com>
24142
d96de963
UD
24143 [BZ #13134]
24144 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24145 before glibc 2.15.
24146 (tryshell): Define.
24147 (__spawni): Change last parameter to be flag. Test
24148 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24149 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24150 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24151 * posix/spawni.c: Likewise.
24152 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24153 * posix/spawnp.c: Likewise. Change normal version to use
24154 SPAWN_XFLAGS_USE_PATH.
24155 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24156 SPAWN_XFLAGS_TRY_SHELL.
24157
d48e5868
UD
24158 [BZ #13150]
24159 * posix/glob.h: Remove gcc 1.x support.
24160
554881ef
UD
24161 [BZ #13068]
24162 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24163
693fb948
LD
241642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24165
24166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24167 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24168 strrchr-sse2-bsf
24169 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24170 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24171 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24172 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24173 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24175
1b48c537
UD
241762011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24177
49d42c37
UD
24178 * sysdeps/x86_64/wcscmp.S: New file.
24179
1b48c537
UD
24180 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24181 wcscmp-c wcscmp-sse2
24182 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24183 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24184 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24185 * wcsmbs/wcscmp.c: Allow renaming.
24186
15c95c5d
DM
241872011-09-05 David S. Miller <davem@davemloft.net>
24188
24189 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24190 stack slot, rather than the struct return pointer slot.
24191 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24192 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24194 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24195
2f0ad8f3
UD
241962011-09-05 Ulrich Drepper <drepper@gmail.com>
24197
d88ae418
UD
24198 * po/ja.po: Update from translation team.
24199
2f0ad8f3
UD
24200 [BZ #13144]
24201 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24202 kernel in 64-bit binaries.
24203
5f4318d1
DM
242042011-09-01 David S. Miller <davem@davemloft.net>
24205
24206 * elf/elf.h (HWCAP_SPARC_*): Move to..
24207 * sysdeps/sparc/sysdep.h: this new file and add new values.
24208 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24209 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24210 _DL_HWCAP_COUNT to 24.
24211 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24212 entries.
24213 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24214 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24215 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24217 instead of magic constants.
24218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24219
3ba57516
DM
242202011-08-31 David S. Miller <davem@davemloft.net>
24221
24222 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24224 Reimplement to do errno handling inline.
24225 (SYSCALL_ERROR_HANDLER): New macro.
24226 (__SYSCALL_STRING): Do not do errno handling in asm.
24227 (__CLONE_SYSCALL_STRING): Delete.
24228 (__INTERNAL_SYSCALL_STRING): Delete.
24229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24230 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24231 (PSEUDO): Reimplement to do errno handling inline.
24232 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24233 (SYSCALL_ERROR_HANDLER): New macro.
24234 (__SYSCALL_STRING): Do not do errno handling in asm.
24235 (__CLONE_SYSCALL_STRING): Delete.
24236 (__INTERNAL_SYSCALL_STRING): Delete.
24237 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24238 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24239 i386.
24240 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24241 (inline_syscall*): Add 'err' argument.
24242 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24243 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24244 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24245 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24246
24247 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24248 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24249
2bc17433
AS
242502011-08-30 Andreas Schwab <schwab@redhat.com>
24251
24252 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24253
fbeb5f4d
JO
242542011-08-29 Jiri Olsa <jolsa@redhat.com>
24255
24256 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24257 directive.
24258
ad69cc26
DM
242592011-08-24 David S. Miller <davem@davemloft.net>
24260
24261 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24262
39dd69df
AS
242632011-08-24 Andreas Schwab <schwab@redhat.com>
24264
24265 * elf/Makefile: Add rules to build and run unload8 test.
24266 * elf/unload8.c: New file.
24267 * elf/unload8mod1.c: New file.
24268 * elf/unload8mod1x.c: New file.
24269 * elf/unload8mod2.c: New file.
24270 * elf/unload8mod3.c: New file.
24271
24272 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24273 it wasn't used.
24274
2c0b250a
DM
242752011-08-23 David S. Miller <davem@davemloft.net>
24276
24277 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24278 subtract stack bias.
24279 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24280 %sp not %fp in calculations.
24281 (_JMPBUF_UNWINDS_ADJ): Likewise.
24282
22044b48
DM
24283 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24284 (aio_suspend): Call it to force an exception region around the
24285 AIO_MISC_WAIT() invocation.
24286
2cae4995
AS
242872011-08-23 Andreas Schwab <schwab@redhat.com>
24288
24289 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24290 backslash.
24291
873a772e
AJ
242922011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24293
24294 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24295 protection macro.
24296 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24297 and <dl-machine.h>.
24298 (Elf64_FuncDesc): Remove.
24299
25ad0df1
DM
243002011-08-22 David S. Miller <davem@davemloft.net>
24301
24302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24303 sigaltstack check, add missing cfi directives.
24304 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24305 missing cfi directives, and sigaltstack handling.
24306
e888bcbe
AS
243072011-08-16 Andreas Schwab <schwab@redhat.com>
24308
24309 [BZ #11724]
24310 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24311 object is seen twice.
24312 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24313
24314 * elf/Makefile (distribute): Add tst-initorder2.c.
24315 (tests): Add tst-initorder2.
24316 (modules-names): Add tst-initorder2a tst-initorder2b
24317 tst-initorder2c tst-initorder2d. Add rules to build them.
24318 ($(objpfx)tst-initorder2.out): New rule.
24319 * elf/tst-initorder2.c: New file.
24320 * elf/tst-initorder2.exp: New file.
24321
87162f46
AS
243222011-08-22 Andreas Schwab <schwab@redhat.com>
24323
70538b7f
AS
24324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24325
f55ffe58
AS
24326 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24327 dependencies back to end of function.
24328
87162f46
AS
24329 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24330 $(elfobjdir)/ld.so.
24331
91b392a4
UD
243322011-08-21 Ulrich Drepper <drepper@gmail.com>
24333
24334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24335 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24337 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24338 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24339 of __vdso_gettimeofday.
24340 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24341 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24342 attribute_hidden.
24343 (_libc_vdso_platform_setup): Remove initialization of
24344 __vdso_gettimeofday and __vdso_time.
24345
5c43483f
UD
243462011-08-20 Ulrich Drepper <drepper@gmail.com>
24347
775a77e7
UD
24348 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24349 and fgetc_unlocked.
24350 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24351 getc_unlocked.
89f447ed 24352
49c74ba9
UD
24353 * elf/dl-open.c (add_to_global): Report additions to the global scope
24354 for LD_DEBUG=scopes.
24355 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24356 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24357
5c43483f
UD
24358 [BZ #13114]
24359 * stdio-common/Makefile (tests): Add bug24.
24360 * stdio-common/bug24.c: New file.
24361
a101b025
AJ
243622011-08-19 Andreas Jaeger <aj@suse.de>
24363
24364 [BZ #13114]
24365 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24366 non-existant file when using close-on-exec mode.
24367
c88f1766
UD
243682011-08-20 Ulrich Drepper <drepper@gmail.com>
24369
0276a718
UD
24370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24371 the very first instruction.
24372
c88f1766
UD
24373 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24374 the CFI state in the end.
24375 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24376 inclusion of dl-trampoline.h.
24377 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24378
51ccffa0
AS
243792011-08-19 Andreas Schwab <schwab@redhat.com>
24380
94d7165f
AS
24381 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24382 expectations for long double.
24383
51ccffa0
AS
24384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24385 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24386
fd708658 243872011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24388
24389 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24390 artificual limit depends upon the system page size.
24391
44f0a71e
UD
243922011-08-17 Ulrich Drepper <drepper@gmail.com>
24393
24394 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24395 * resolv/Makefile: Define CFLAGS-libresolv.
24396
8de79a24
AS
243972011-08-17 Andreas Schwab <schwab@redhat.com>
24398
24399 * nss/makedb.c (compute_tables): Make variables used in nested
24400 function static.
24401
27724598
UD
244022011-08-17 Ulrich Drepper <drepper@gmail.com>
24403
c5305d88
UD
24404 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24405 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24406 if buffer was too small.
24407
27724598
UD
24408 * elf/pldd.c (main): Attach to all threads in the process.
24409 Rewrite /proc handling to use *at functions.
24410
076fe015
UD
244112011-08-16 Ulrich Drepper <drepper@gmail.com>
24412
174baab3
UD
24413 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24414 specifies first scope to show.
24415 (dl_open_worker): Update callers. Move printing scope of new
24416 object to before the relocation.
44f0a71e 24417 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24418 * sysdeps/generic/ldsodefs.h: Update declaration.
24419
076fe015
UD
24420 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24421 string for the scope number.
24422
a60df2c3
UD
244232011-08-14 Ulrich Drepper <drepper@gmail.com>
24424
24425 * nscd/servicescache.c (cache_addserv): Make sure written is always
24426 initialized.
24427
5e4287d1
RM
244282011-08-14 Roland McGrath <roland@hack.frob.com>
24429
85ae0589
RM
24430 * sysdeps/i386/i486/bits/atomic.h
24431 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24432 statement expression, so as to suppress "set but not used" warning.
24433 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24434
69f63097
RM
24435 * string/strncat.c (STRNCAT): Use prototype definition.
24436
675456ef
RM
24437 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24438 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24439 -Iprograms here.
24440 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24441 (localedef-modules): Add localedef.
24442 (locale-modules): Add locale.
24443
5e4287d1
RM
24444 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24445 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24446 to avoid a warning.
24447
9c96ff23
DM
244482011-08-14 David S. Miller <davem@davemloft.net>
24449
24450 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24451 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24452
f9ddf089
UD
244532011-08-13 Ulrich Drepper <drepper@gmail.com>
24454
44f0a71e 24455 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24456 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24457 * elf/rtld.c (dl_main): Set l_name of vDSO.
24458 Call _dl_show_scope when DL_DEBUG_SCOPES.
24459 (process_dl_debug): Recognize scopes flag and also set it for all.
24460 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24461 Declare _dl_show_scope.
24462
1dc27704
UD
24463 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24464 (do_dlopen): Pass caller_dlopen to dl_open.
24465 (__libc_dlopen_mode): Initialize caller_dlopen.
24466
f9ddf089
UD
24467 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24468 of libc. Make tolower call locale-independent. Optimize a bit by
24469 using isdigit instead of isalnum.
24470 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24471
9ac533d3
UD
244722011-08-12 Ulrich Drepper <drepper@gmail.com>
24473
24474 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24475 was a dependency or dynamically loaded.
24476
89edf2e9
UD
244772011-08-11 Ulrich Drepper <drepper@gmail.com>
24478
8e999d29
UD
24479 * intl/l10nflist.c: Allow architecture-specific pop function.
24480 * sysdeps/x86_64/l10nflist.c: New file.
24481
89edf2e9
UD
24482 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24483 classification.
24484
14d96785
AS
244852011-08-10 Andreas Schwab <schwab@redhat.com>
24486
24487 * include/dirent.h: Add libc_hidden_proto for scandirat and
24488 scandirat64. Don't declare __scandirat64.
24489 * dirent/scandirat.c: Add libc_hidden_def.
24490 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24491 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24492
6761ac04
DM
244932011-08-10 David S. Miller <davem@davemloft.net>
24494
24495 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24496 enum.
24497 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24499 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24500
c55fbd1e
UD
245012011-08-09 Ulrich Drepper <drepper@gmail.com>
24502
24503 * Versions.def [libc]: Add GLIBC_2.15.
24504 * dirent/Makefile (routines): Add scandirat and scandirat64.
24505 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24506 GLIBC_2.15.
24507 * dirent/dirent.h: Declare scandirat and scandirat64.
24508 * dirent/scandirat.c: New file.
24509 * dirent/scandirat64.c: New file.
24510 * sysdeps/wordsize-64/scandirat.c: New file.
24511 * sysdeps/wordsize-64/scandirat64.c: New file.
24512 * dirent/opendir.c: Define opendirat.
24513 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24514 using scandirat.
24515 * dirent/scandir64.c: Adjust for scandir.c change.
24516 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24517 __scandirat64, and __scandir_cancel_handler.
24518 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24519 additional parameter and use openat instead of open (outside of ld.so).
24520 Add new __opendir as wrapper around __opendirat.
24521 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24522 here without requiring old scandirat implementation.
24523
879165f2
UD
245242011-08-08 Ulrich Drepper <drepper@gmail.com>
24525
24526 * dirent/scandir.c (cancel_handler): Renamed to
24527 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24528 defined. Adjust users.
24529 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24530 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24531
cb7e923b
UD
245322011-08-04 Ulrich Drepper <drepper@gmail.com>
24533
16292edd
UD
24534 * string/test-string.h (IMPL): Use __STRING to expand name and then
24535 stringify it.
24536
cb7e923b
UD
24537 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24538 of cleanups.
24539
cff82933
LD
245402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24541
24542 * string/Makefile: Update.
24543 (strop-tests): Append strncat.
24544 * string/test-wcscmp.c: New file.
24545 New comprehensive test for wcscmp.
24546 * string/test-strcmp.c: Update.
24547 (WIDE): New define.
24548
9be9bfcc
AS
245492011-07-22 Andreas Schwab <schwab@redhat.com>
24550
24551 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24552 line.
24553
2e96f1c7
AS
245542011-07-26 Andreas Schwab <schwab@redhat.com>
24555
24556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24557 encoding to ACE if AI_IDN.
24558
85188888
JJ
245592011-08-01 Jakub Jelinek <jakub@redhat.com>
24560
24561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24562 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24563
5fa16e9b
LD
245642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24565
24566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24567 Fix overflow bug in strncat.
24568 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24569
24570 * string/test-strncat.c: Update.
24571 Add new tests for checking overflow bugs.
24572
245732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24574
24575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24576 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24577 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24578 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24580 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24581 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24582 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24583 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24584
24585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24586 (USE_AS_STRCAT): Define.
24587 Add strcat and strncat support.
24588 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24589
8c1a459f
AS
245902011-07-25 Andreas Schwab <schwab@redhat.com>
24591
24592 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24593 __n bigger than INT_MAX+1.
24594 (__strncmp_g): Likewise.
24595
bba33c28
UD
245962011-07-23 Ulrich Drepper <drepper@gmail.com>
24597
798be72d
UD
24598 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24599 * libio/stido.h: Likewise.
24600
8accd4dc
UD
24601 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24602 (AF_NFC): Define.
24603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24604 (AF_NFC): Define.
24605
cbff0d96
UD
24606 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24609 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24611
9191c04a
UD
24612 [BZ #13021]
24613 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24614 installed.
24615
bba33c28
UD
24616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24617 typo.
24618 (_dl_x86_64_save_sse): Likewise.
24619
90f139dd
UD
246202011-07-22 Ulrich Drepper <drepper@gmail.com>
24621
1aae088a
UD
24622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24623 OSXSAVE.
24624 (_dl_x86_64_save_sse): Likewise.
24625
8e2045f5
UD
24626 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24627
90f139dd
UD
24628 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24629
1d002f25
AS
246302011-07-21 Andreas Schwab <schwab@redhat.com>
24631
24632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24633 change.
24634 (_dl_x86_64_save_sse): Use correct AVX check.
24635
21137f89
UD
246362011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24637
24638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24639 bug in strncpy/strncat.
24640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24641
a65c0b7a
UD
246422011-07-21 Ulrich Drepper <drepper@gmail.com>
24643
24644 * string/tester.c (test_strcat): Add tests for different alignments
24645 of source and destination.
24646 (test_strncat): Likewise.
24647
6986b98a
UD
246482011-07-20 Ulrich Drepper <drepper@gmail.com>
24649
90bb2039
UD
24650 [BZ #12852]
24651 * posix/glob.c (glob): Check passed in values before using them in
24652 expressions to avoid some overflows.
24653 (glob_in_dir): Likewise.
24654
5644ef54
UD
24655 [BZ #13007]
24656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24657 check for AVX enablement so that we don't crash with old kernels and
24658 new hardware.
24659 * elf/tst-audit4.c: Add same checks here.
24660 * elf/tst-audit6.c: Likewise.
24661
24662 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24663
bfc9dc9b
AS
246642011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24665
24666 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24667
702e64bb
UD
246682011-07-20 Ulrich Drepper <drepper@gmail.com>
24669
24670 * po/cs.po: Update from translation team.
24671 * po/bg.po: Likewise.
24672
295e904f
MP
246732011-07-12 Marek Polacek <mpolacek@redhat.com>
24674
24675 * misc/sys/cdefs.h: Add support for const attribute.
24676 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24677 to gnu_dev_{major,minor,makedev} functions.
24678
3ff94596
MP
246792011-07-20 Marek Polacek <mpolacek@redhat.com>
24680
24681 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24682
28b59fca
AS
246832011-07-20 Andreas Schwab <schwab@redhat.com>
24684
24685 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24686 strlen results.
24687
19df733e
AK
246882011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24689
24690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24691 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24692 register in order to avoid conflicts with the soft frame pointer
24693 being held in r11 when necessary.
24694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24695 (INTERNAL_VSYSCALL_NCS): Likewise.
24696
c8835729
MP
246972011-07-14 Marek Polacek <mpolacek@redhat.com>
24698
24699 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24700 * elf/dl-fini.c (_dl_fini): Adjust caller.
24701 * elf/dl-close.c (_dl_close_worker): Likewise.
24702 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24703
b902330c
MP
247042011-07-15 Marek Polacek <mpolacek@redhat.com>
24705
8991e135
MP
24706 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24707 "aux_cache->nlibs < 0".
24708
b902330c
MP
24709 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24710 in the reload-count case.
24711
99710781
LD
247122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24713
24714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24715 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24716 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24717 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24718 * sysdeps/x86_64/multiarch/strcat.S: New file.
24719 * sysdeps/x86_64/multiarch/strncat.S: New file.
24720 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24721 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24722 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24723 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24725 (USE_AS_STRCAT): Define.
24726 Add strcat and strncat support.
24727 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24728 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24729 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24730 * string/strncat.c: Update.
24731 (USE_AS_STRNCAT): Define.
24732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24733 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24734 and i7.
24735 * sysdeps/x86_64/multiarch/init-arch.h
24736 (bit_Prefer_PMINUB_for_stringop): New.
24737 (index_Prefer_PMINUB_for_stringop): Likewise.
24738 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24739 bit_Prefer_PMINUB_for_stringop.
24740
7dc6bd90
UD
247412011-07-19 Ulrich Drepper <drepper@gmail.com>
24742
24743 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24744 buffer64.
24745 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24746 of casting of buffer.
24747 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24748 buffer32 and buffer64.
24749 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24750 writes instead of casting of buffer.
24751 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24752 buffer32.
24753 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24754 casting of buffer.
24755
e0e72284
AS
247562011-07-19 Andreas Schwab <schwab@redhat.com>
24757
24758 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24759
feb1eb0b
UD
247602011-07-19 Ulrich Drepper <drepper@gmail.com>
24761
24762 * nscd/nscd.c (termination_handler): Don't do anything for a database
24763 if it has not yet been initialized.
24764
298711ff
UD
247652011-07-18 Ulrich Drepper <drepper@gmail.com>
24766
24767 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24768
247692011-07-15 Marek Polacek <mpolacek@redhat.com>
24770
24771 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24772
f9d68389
UD
247732011-07-18 Ulrich Drepper <drepper@gmail.com>
24774
24775 * po/nl.po: Update from translation team.
24776 * po/sv.po: Likewise.
24777
db290cf5
RM
247782011-07-16 Roland McGrath <roland@hack.frob.com>
24779
24780 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24781 now disallowed by GCC.
5c550700 24782
fd5e21c7
RM
24783 * configure.in (use-default-link): Default to yes if a test -shared
24784 link meets our qualifications.
24785 * configure: Regenerated.
24786
5c550700
RM
24787 * config.make.in (output-format): New variable.
24788 * configure.in: Check for ld --print-output-format support.
24789 * configure: Regenerated.
24790 * Makerules ($(common-objpfx)format.lds)
24791 [$(output-format) != unknown]: Just use $(output-format),
24792 instead of the linker-script munging.
24793
9fa2c032
RM
247942011-07-14 Roland McGrath <roland@hack.frob.com>
24795
a6928d51
RM
24796 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24797 of $(common-objpfx)shlib.lds.
24798 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24799
661607b3
RM
24800 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24801 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24802
9fa2c032
RM
24803 * configure.in (-z relro check): Adjust test code to add a large
24804 writable data section after it.
24805 * configure: Regenerated.
24806
defe9061
RM
248072011-07-11 Roland McGrath <roland@hack.frob.com>
24808
24809 * configure.in (-z relro check): Fix test code to make the variable
24810 truly const.
24811 * configure: Regenerated.
24812
319b9ad4
UD
248132011-07-11 Ulrich Drepper <drepper@gmail.com>
24814
24815 * nscd/nscd.h (struct traced_file): Define.
24816 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24817 elements. Add traced_files.
24818 (inotify_fd): Declare.
24819 (register_traced_file): Declare.
24820 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24821 (inotify_fd): Export.
24822 (resolv_conf_descr): Remove.
24823 (nscd_init): Move inotify descriptor creation to main.
24824 Don't register files for notification here.
24825 (register_traced_file): New function.
24826 (invalidate_cache): Don't use reset_res to determine whether to call
24827 res_init, go through the list of registered files.
24828 (main_loop_poll): The inotify descriptors are now stored in the
24829 structures for the traced files.
24830 (main_loop_epoll): Likewise
24831 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24832 to __nss_disable_nscd.
24833 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24834 for a database anymore. Check the records for all the registered
24835 files instead.
24836 * nss/Makefile (libnss_files-routines): Add files-init.
24837 (libnss_db-routines): Add db-init.
24838 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24839 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24840 * nss/nss_db/db-init.c: New file.
24841 * nss/nss_files/files-init.c: New file.
24842 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24843 __nss_lookup_function.
24844 (__nss_lookup_function): Call nss_load_library.
24845 (nss_load_all_libraries): New function.
24846 (__nss_disable_nscd): Take parameter with callback function for files
24847 to register. Set is_nscd. Load all the DSOs for the NSS modules
24848 used for the cached services.
24849 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24850 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24851 options for features to all the files in nscd.
24852
24853 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24854
23bee3e8
RM
248552011-07-10 Roland McGrath <roland@hack.frob.com>
24856
24857 * csu/elf-init.c (__libc_csu_init): Comment typo.
24858
46a5b7f0
UD
248592011-07-09 Ulrich Drepper <drepper@gmail.com>
24860
24861 * po/pl.po: Update from translation team.
24862 * po/ja.po: Likewise.
24863 * po/ru.po: Likewise.
24864 * po/ko.po: Likewise.
24865 * po/fr.po: Likewise.
24866
d30cf5bb
RM
248672011-07-09 Roland McGrath <roland@hack.frob.com>
24868
113ddea4
RM
24869 * configure.in (.ctors/.dtors header and trailer check):
24870 Use an empirical test on a built program.
24871 * configure: Regenerated.
24872
574920b4
RM
24873 * configure.in (-z relro check): Use an empirical test on a built DSO.
24874 Detect, but do not require, on ia64.
24875 * configure: Regenerated.
24876
d30cf5bb
RM
24877 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24878 Update tests that use readelf to use $READELF instead.
24879 * configure: Regenerated.
24880
8538fdb3
UD
248812011-07-08 Ulrich Drepper <drepper@gmail.com>
24882
24883 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24884 if the result is not used.
24885
04d08991
AJ
248862011-07-05 Andreas Jaeger <aj@suse.de>
24887
24888 [BZ#9696]
24889 * stdlib/tst-strtod.c: Add testcase.
24890
de283087
AD
248912011-07-07 Ulrich Drepper <drepper@gmail.com>
24892
4e5f31c8 24893 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24894 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24895 The latter has a higher limit. Take additional parameter to pass to
24896 the new function.
24897 (__pathconf): Pass file to __statfs_link_max.
24898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24899 __statfs_link_max.
24900 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24901 __statfs_link_max.
24902
de283087
AD
24903 [BZ #12868]
24904 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24905 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24906 Handle Lustre.
24907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24908 (__statfs_filesize_max): Likewise.
24909 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24910
c75fa153
AJ
249112011-07-05 Andreas Jaeger <aj@suse.de>
24912
24913 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24914
1a544854
UD
249152011-07-06 Marek Polacek <mpolacek@redhat.com>
24916
24917 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24918 `status' variable.
24919 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24920 Likewise.
24921
6f0eec67
UD
249222011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24923
24924 * Makefile (strop-tests): Add strncat.
24925 * string/test-strncat.c: New file.
24926
aae30307
UD
249272011-06-30 Marek Polacek <mpolacek@redhat.com>
24928
24929 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24930
c0cfb5eb
UD
249312011-06-21 Andreas Jaeger <aj@suse.de>
24932
24933 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24934 Copy rule from iconvdata/Makefile.
24935
01636b21
UD
249362011-07-06 Ulrich Drepper <drepper@gmail.com>
24937
24938 [BZ #12922]
24939 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24940 but no long options are defined, just return 'W'.
24941
9895c8bc
UD
249422011-06-22 Marek Polacek <mpolacek@redhat.com>
24943
24944 [BZ #9696]
24945 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24946
5d4cf042
UD
249472011-07-06 Ulrich Drepper <drepper@gmail.com>
24948
24949 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24950 netgroups to read.
960e5535 24951 (innetgr): Likewise.
5d4cf042 24952
751eb97e
RM
249532011-07-05 Roland McGrath <roland@hack.frob.com>
24954
24955 * config.make.in (install_root): Default to $(DESTDIR).
24956
f15f1e45
UD
249572011-07-05 Ulrich Drepper <drepper@gmail.com>
24958
24959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24960
4e34ac6a
RM
249612011-07-02 Roland McGrath <roland@hack.frob.com>
24962
5e9b6af4
RM
24963 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24964
84f9ea0f
RM
24965 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24966 containing directory rather than embedding absolute directory names.
24967
ea5ee9f7
RM
24968 * scripts/check-local-headers.sh: Rewritten using awk.
24969 Match by word, not by line. Print error messages for matches.
24970 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24971
1b74661a
RM
24972 * Makerules [shlib-lds-flags empty]:
24973 ($(common-objpfx)libc_pic.opts): New target.
24974 ($(common-objpfx)libc_pic.os.clean): New target.
24975 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24976
24977 * config.make.in (OBJCOPY): New variable.
24978 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24979 * configure: Regenerated.
24980
f781ef40
RM
24981 * config.make.in (use-default-link): New variable.
24982 * configure.in (use_default_link): Grok --with-default-link to set it.
24983 * configure: Regenerated.
24984 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24985 (shlib-lds, shlib-lds-flags): Define to empty.
24986
2d4fa81e
RM
24987 * Makerules (shlib-lds): New variable.
24988 (shlib-lds-flags): New variable.
24989 (build-shlib, build-moduile, build-module-asneeded): Use it.
24990 ($(common-objpfx)libc.so): Use $(shlib-lds).
24991 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24992 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24993
31fffa6b
RM
24994 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24995 DT_FLAGS/DT_FLAGS_1 with zero flags.
24996
4e34ac6a
RM
24997 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24998 linker script munging.
24999
fcfc776b
UD
250002011-07-02 Ulrich Drepper <drepper@gmail.com>
25001
25002 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25003 as 128-bit value.
25004 * crypt/sha512.c (sha512_process_block): Perform total addition using
25005 128-bit if possible.
25006 (__sha512_finish_ctx): Likewise.
25007 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25008 as 64-bit value.
25009 * crypt/sha256.c (SWAP64): Define.
25010 (sha256_process_block): Perform total addition using 64-bit if
25011 possible.
25012 (__sha256_finish_ctx): Likewise.
25013
99231d9a
UD
250142011-07-01 Ulrich Drepper <drepper@gmail.com>
25015
25016 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25018 * nscd/hstcache.c (cache_addhst): Likewise.
25019 * nscd/grpcache.c (cache_addgr): Likewise.
25020 * nscd/aicache.c (addhstaiX): Likewise
25021 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25022
445b4a53
TK
250232011-07-01 Thorsten Kukuk <kukuk@suse.de>
25024
25025 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25026 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25027 * nscd/hstcache.c (cache_addhst): Likewise.
25028 * nscd/grpcache.c (cache_addgr): Likewise.
25029 * nscd/aicache.c (addhstaiX): Likewise
25030
6d4d8e8e
AS
250312011-07-01 Andreas Schwab <schwab@redhat.com>
25032
25033 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25034 domain only when needed.
25035
89f654c5
AS
250362011-06-30 Andreas Schwab <schwab@redhat.com>
25037
25038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25039 is always restored.
25040
cf3b23ff
UD
250412011-06-29 Ulrich Drepper <drepper@gmail.com>
25042
25043 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25044 are re-adding the entry.
25045 * nscd/servicescache.c (cache_addserv): Likewise.
25046
751626f9
AJ
250472011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25048
25049 * sysdeps/generic/dl-irel.h: fix protection against multiple
25050 inclusions.
25051 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25052
9113ea1f
UD
250532011-06-28 Ulrich Drepper <drepper@gmail.com>
25054
5c0b8d90
UD
25055 [BZ #12935]
25056 * malloc/memusage.sh: Fix quoting in message.
25057 * debug/xtrace.sh: Likewise.
25058
9113ea1f
UD
25059 * configure.in: Remove support for --experimental-malloc option, make
25060 it the default.
25061 * config.make.in: Likewise.
25062 * malloc/Makefile: Likewise.
25063
a4172181
AS
250642011-06-27 Andreas Schwab <schwab@redhat.com>
25065
25066 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25067 two-byte characters.
25068
78a7eee7
RM
250692011-06-27 Roland McGrath <roland@hack.frob.com>
25070
62bede13
RM
25071 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25072 AC_CACHE_CHECK invocation.
25073 * configure: Regenerated.
25074
78a7eee7
RM
25075 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25076
5ce33a62
UD
250772011-06-27 Ulrich Drepper <drepper@gmail.com>
25078
034807a9
UD
25079 [BZ #12350]
25080 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25081 bit from old_res_options.
25082
4902da17
UD
25083 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25084
5ce33a62
UD
25085 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25086 value type for setfct.
25087
c2344f56
L
250882011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25089
25090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25091 __gettimeofday instead of gettimeofday.
25092
68468076
UD
250932011-06-26 Ulrich Drepper <drepper@gmail.com>
25094
25095 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25096
acb0d739
L
250972011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25098
25099 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25100
25101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25102 info.
25103
8912479f
L
251042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25105
25106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25107 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25108 strcpy-sse2-unaligned strncpy-sse2-unaligned
25109 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25110 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25111 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25112 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25113 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25114 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25115 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25116 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25117 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25118 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25119 (STRCPY): Support SSE2 and SSSE3 versions.
25120
d5495a11
UD
251212011-06-24 Ulrich Drepper <drepper@gmail.com>
25122
25123 [BZ #12874]
25124 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25125 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25126 kernels which artificially limit size of requests.
25127
0b1cbaae
L
251282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25129
25130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25131 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25132 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25133 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25134 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25135 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25136 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25137 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25138 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25140 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25141 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25142 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25143 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25144 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25146 Enable unaligned load optimization for Intel Core i3, i5 and i7
25147 processors.
25148 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25149 Define.
25150 (index_Fast_Unaligned_Load): Define.
25151 (HAS_FAST_UNALIGNED_LOAD): Define.
25152
07f494a0
MP
251532011-06-23 Marek Polacek <mpolacek@redhat.com>
25154
25155 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25156
fa3fc0fe
UD
251572011-06-22 Ulrich Drepper <drepper@gmail.com>
25158
25159 [BZ #12907]
25160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25161 until it is clear that the information is realy needed.
25162 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25163
e12df166
AS
251642011-06-22 Andreas Schwab <schwab@redhat.com>
25165
25166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25167
852eb34d
UD
251682011-06-22 Ulrich Drepper <drepper@gmail.com>
25169
84e2a551
UD
25170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25171 /sys/devices/system/cpu/online if it is usable.
25172
852eb34d
UD
25173 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25174 reading the information from the /proc filesystem to once a second.
25175
6e502e19
UD
251762011-06-21 Andreas Jaeger <aj@suse.de>
25177
25178 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25179 NULL after inclusion of kernel headers.
25180
75d39ff2
UD
251812011-06-21 Ulrich Drepper <drepper@gmail.com>
25182
51f9aa6a
UD
25183 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25184 calls to internal_setent.
25185
c0244a9d
UD
25186 [BZ #12885]
25187 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25188 addresses using gethostbyname4_r ignore IPv4 addresses.
25189
c5e3c2ae
UD
25190 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25191 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25192
75d39ff2
UD
25193 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25194
42675c6f
DM
251952011-06-20 David S. Miller <davem@davemloft.net>
25196
25197 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25198 inclusions.
25199 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25200
25201 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25202 (elf_irel): Use it.
25203 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25204 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25205 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25206 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25207 * sysdeps/x86_64/dl-irel.h: Likewise.
25208
25209 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25210 * elf/dl-sym.c: Likewise.
25211
57912a71
UD
252122011-06-15 Ulrich Drepper <drepper@gmail.com>
25213
25214 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25215 need to dereference resplen2.
25216
ee22793d
AS
252172011-06-14 Andreas Schwab <schwab@redhat.com>
25218
25219 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25220
a9e836b0
UD
252212011-06-15 Ulrich Drepper <drepper@gmail.com>
25222
77fb9117
UD
25223 * Makeconfig: Define vardbdir and inst_vardbdir.
25224 * nss/Makefile: Add rules to install db-Makefile.
25225
40c1b22c
UD
25226 * nss/nss_db/db-XXX.c: Cleanup.
25227
9f2da732
UD
25228 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25229 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25230 GLIBC_PRIVATE.
25231 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25232 * nss/makedb.c: Implement -g option to specify that value strings
25233 are generated and should not be added to table iterated over for
25234 get*ent calls.
25235 * nss/nss_db/db-initgroups.c: New file.
25236
82e9a1f7
UD
25237 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25238 interface.
25239
c41af17e
UD
25240 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25241 (internal_getgrouplist): Adjust to name change.
25242 Update use_initgroups_entry if this is not the first call.
25243 * nss/databases.def: Add initgroups entry.
25244
a9e836b0
UD
25245 * nss/makedb.c (compute_tables): Check result of multiple hash table
25246 sizes to minimize maximum chain length.
25247
2666d441
UD
252482011-06-14 Ulrich Drepper <drepper@gmail.com>
25249
25250 * Versions.def: Add entry for libnss_db.
25251 * shlib-versions: Likewise.
25252 * nss/Makefile: Add rules to build libnss_db.
25253 * nss/Versions: Add libnss_db information. Organize libnss_files
25254 entries better.
25255 * nss/db-Makefile: Add gshadow support. Change rules for the new
25256 makedb progra. Some minor improvements to generate smaller files.
25257 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25258 here from...
25259 * nss/makedb.c: ...here.
25260 Improve database format to be smaller and require less memory at
25261 runtime.
25262 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25263 db anymore.
25264 * nss/nss_db/db-netgrp.c: Likewise.
25265 * nss/nss_db/db-open.c: Likewise.
25266 * nss/nss_files/flies-XXX.x: Adjust comments.
25267 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25268 * nss/nss_files/files-grp.c: Likewise.
25269 * nss/nss_files/files-hosts.c: Likewise.
25270 * nss/nss_files/files-network.c: Likewise.
25271 * nss/nss_files/files-proto.c: Likewise.
25272 * nss/nss_files/files-pwd.c: Likewise.
25273 * nss/nss_files/files-rpc.c: Likewise.
25274 * nss/nss_files/files-service.c: Likewise.
25275 * nss/nss_files/files-sgrp.c: Likewise.
25276 * nss/nss_files/files-spwd.c: Likewise.
25277 * nss/nss_db/db-alias.c: Removed.
25278 * nss/nss_db/dummy-db.h: Removed.
25279
9ee76b5a
UD
252802011-06-02 Ulrich Drepper <drepper@gmail.com>
25281
25282 * nss/makedb.c: Rewritten to not use database library.
25283 * nss/Makefile: Update to build new makedb program.
25284
c71ca1f8
AJ
252852011-06-14 Andreas Jaeger <aj@suse.de>
25286
25287 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25288 memset declaration.
25289
3154bfb8
UD
252902011-06-10 Andreas Schwab <schwab@redhat.com>
25291
25292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25293 tmpbuf.
25294
b350afab
RM
252952011-06-10 Roland McGrath <roland@hack.frob.com>
25296
decd4e50
RM
25297 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25298 * elf/Makefile ($(objpfx)ld.so): Likewise.
25299
5615eaf2
RM
25300 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25301 Don't list ld.so twice in dependencies.
25302
25303 * posix/bug-regex31.c: Include <stdlib.h>.
25304
25305 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25306
25307 * nis/nss_compat/compat-spwd.c
25308 (getspent_next_nss_netgr): Remove unused variable.
25309 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25310
25311 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25312 nonmembers" output to use the right array.
25313
25314 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25315
25316 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25317
25318 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25319 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25320 * catgets/gencat.c (read_input_file): Likewise.
25321 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25322
25323 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25324 variable definition inside #if's controlling its use.
25325
25326 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25327
25328 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25329
25330 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25331
25332 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25333 unreachable code.
25334
25335 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25336
b68e08db
RM
25337 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25338 * configure: Regenerated.
25339
b350afab
RM
25340 * Makerules: Revert last change.
25341 * elf/Makefile: Likewise.
25342
28368601
RM
253432011-06-09 Roland McGrath <roland@hack.frob.com>
25344
25345 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25346 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25347 (reloc-link): Likewise.
25348
11988f8f
UD
253492011-06-09 Ulrich Drepper <drepper@gmail.com>
25350
25351 * elf/Makefile: Add rules to build pldd.
25352 * elf/pldd.c: New file.
25353 * elf/pldd-xx.c: New file.
25354
e80fab37
UD
253552011-06-07 Ulrich Drepper <drepper@gmail.com>
25356
25357 * version.h: Update for 2.15 development version.
25358
9b849836
DM
253592011-06-07 David S. Miller <davem@davemloft.net>
25360
25361 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25362 ifuncs.
25363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25364 elf_machine_lazy_rel): Likewise.
25365 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25366 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25367 elf_machine_lazy_rel): Likewise.
25368 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25369 dl_hwcap via passed in argument.
25370 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25371 Likewise.
25372
5a31b283
AK
253732011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25374
25375 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25376
069e52f8
RM
253772011-06-06 Roland McGrath <roland@hack.frob.com>
25378
25379 [BZ #12849]
25380 * manual/fdl-1.1.texi: New file, verbatim from:
25381 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25382 * manual/lgpl-2.1.texi: New file, verbatim from:
25383 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25384 * manual/Makefile (licenses): New variable, list those new file names.
25385 (texis): Use it.
25386 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25387
25388 * manual/fdl.texi: File removed.
25389 * manual/lesser.texi: File removed.
25390 * manual/libc.texinfo (Copying, Documentation License):
25391 Use new @include file names, put @appendix directive before @include.
25392
f16846a5
JJ
253932011-06-04 Jakub Jelinek <jakub@redhat.com>
25394
25395 [BZ #12841]
25396 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25397 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25398 (mq_open): Add __NTH.
25399
3d29045b
L
254002011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25401
25402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25403 Assume Intel Core i3/i5/i7 processor if AVX is available.
25404
8c297311
UD
254052011-05-31 Ulrich Drepper <drepper@gmail.com>
25406
25407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25408 typo.
25409
c8fc0c91
UD
254102011-05-31 Andreas Schwab <schwab@redhat.com>
25411
25412 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25413 memory. Use alloca_account. Fix memory leak when retrying.
25414
5b27a807
UD
254152011-05-31 Ulrich Drepper <drepper@gmail.com>
25416
356f8bc6
UD
25417 * version.h (RELEASE): Bump for 2.14 release.
25418 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25419
5b27a807
UD
25420 * config.make.in (RANLIB): Remove entry.
25421
01f16ab0
UD
254222011-05-30 Ulrich Drepper <drepper@gmail.com>
25423
41fce8bd
UD
25424 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25425 (libc.pot): Work around missing support for .ksh extension in xgettext.
25426
4769ae77
UD
25427 [BZ #12684]
25428 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25429 if both request failed.
25430 (send_dg): In case of server errors clear resplen or *resplen2.
25431
6b1e7d19
UD
25432 [BZ #12454]
25433 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25434 when there are multiple maps.
25435 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25436 (_dl_fini): Remove test here.
25437
01f16ab0
UD
25438 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25439
b1ebd700
UD
254402011-05-29 Ulrich Drepper <drepper@gmail.com>
25441
7ae22829
UD
25442 [BZ #12350]
25443 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25444 bit from old_res_options.
25445 (gaih_inet): Likewise.
25446
553149f6 25447 [BZ #11099]
18a84741 25448 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25449 as signed.
25450
652ffab1
UD
25451 * resolv/res_init.c (res_setoptions): Make the code more compact.
25452
16985fd0
UD
25453 [BZ #11558]
25454 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25455 set RES_USEVC.
25456
0464f746
UD
25457 [BZ #11634]
25458 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25459
7d17596c
UD
25460 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25461
cf6bbbd7
UD
25462 [BZ #11781]
25463 * malloc/malloc.h: Declare malloc hook variables as volatile.
25464
13f1ab36
UD
25465 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25466 in last patch.
25467
b1ebd700
UD
25468 [BZ #11799]
25469 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25470 raise in the comment.
80e2212d
UD
25471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25473 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25474
ce67228d
UD
254752011-05-28 Ulrich Drepper <drepper@gmail.com>
25476
8887a920
UD
25477 [BZ #12811]
25478 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25479 grow the buffers more if it already has to be sufficient.
25480 (build_wcs_upper_buffer): Likewise.
25481 * posix/regexec.c (check_matching): Likewise.
25482 (clean_state_log_if_needed): Likewise.
25483 (extend_buffers): Don't enlarge buffers beyond size of the input
25484 buffer.
25485 Patches mostly by Emil Wojak <emil@wojak.eu>.
25486 * posix/bug-regex32.c: New file.
25487 * posix/Makefile (tests): Add bug-regex32.
25488
4f031072
UD
25489 * locale/findlocale.c (_nl_find_locale): Return right away if
25490 _nl_explode_name failed.
25491 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25492
d0478f0c
UD
25493 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25494
de81b246
UD
25495 * debug/xtrace.sh: Unify messages.
25496 * malloc/memusage.sh: Likewise.
25497
c738465a
UD
25498 [BZ #12813]
25499 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25500 time symbol from vDSO. Substitute with vsyscall if not available.
25501 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25502 __vdso_time.
25503
f1f929d7
UD
25504 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25505 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25506 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25507 Add sendmmsg and internal_sendmmsg.
25508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25509 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25511
ce67228d
UD
25512 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25513 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25515
e57420c6
UD
255162011-05-27 Ulrich Drepper <drepper@gmail.com>
25517
a8509ca5
UD
25518 [BZ #12813]
25519 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25520 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25521 available.
25522 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25523 __vdso_getcpu.
25524
e57420c6
UD
25525 [BZ #12814]
25526 * iconvdata/Makefile (tests): Add bug-iconv9.
25527 * iconvdata/bug-iconv9.c: New file.
25528
4d07db15
AS
255292011-05-27 Andreas Schwab <schwab@redhat.com>
25530
25531 [BZ #12814]
25532 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25533
ea486f69
JJ
255342011-05-25 Jakub Jelinek <jakub@redhat.com>
25535
25536 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25537 (struct user_regs_struct): Change intcs field back to cs.
25538
6f038433
UD
255392011-05-25 Ulrich Drepper <drepper@gmail.com>
25540
25541 * po/ja.po: Update from translation team.
25542
67f86a25
UD
255432011-05-23 Ulrich Drepper <drepper@gmail.com>
25544
25545 [BZ #12795]
25546 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25547 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25548
def7fbd6
AS
255492011-05-20 Andreas Schwab <schwab@redhat.com>
25550
25551 * stdlib/longlong.h: Update from GCC.
25552
f50ef8f1
AS
255532011-05-23 Andreas Schwab <schwab@redhat.com>
25554
25555 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25556 parameter name.
25557 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25558 Add parameter name.
25559 (__sysconf): Pass it down.
25560
de7ce8f1
UD
255612011-05-22 Ulrich Drepper <drepper@gmail.com>
25562
f2962a71
UD
25563 [BZ #12671]
25564 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25565 some situations.
25566 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25567 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25568 add in in __libc_use_alloca calls. Adjust callers.
25569 (glob): Use malloc in some situations.
25570
de7ce8f1
UD
25571 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25572 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25573 pltexit.
25574
aec84f53
UD
255752011-05-21 Ulrich Drepper <drepper@gmail.com>
25576
05bb4a68
UD
25577 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25578 and CLOCK_BOOTTIME_ALARM.
25579
7ea72f99
UD
25580 [BZ #12782]
25581 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25582 is returned.
25583
7e4afad5
UD
25584 * string/_strerror.c (__strerror_r): Print negative errors as signed
25585 numbers.
25586
8e211fec
UD
25587 [BZ #12777]
25588 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25589 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25590 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25591
f7d82dc9
UD
25592 * configure.in: Fix typo in redirection and correct removal of test
25593 files in two cases.
25594
cc9e536d
UD
25595 [BZ #12788]
25596 * locale/setlocale.c (new_composite_name): Fix test to check for
25597 identical name of all categories.
25598
aec84f53
UD
25599 [BZ #12792]
25600 * libio/filedoalloc.c (local_isatty): New function.
25601 (_IO_file_doallocate): Use local_isatty.
25602 * stdio-common/perror.c (perror): In case a new stream is used
25603 forward the stream error.
25604 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25605 error flag.
25606
78e64fdc
RT
256072011-05-20 Ulrich Drepper <drepper@gmail.com>
25608
34a9094f
UD
25609 [BZ #11869]
25610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25611 alloca.
25612 * include/alloca.h (extend_alloca_account): Define.
25613
78e64fdc
RT
25614 [BZ #11857]
25615 * posix/regex.h: Fix comments with documentation of user-accessible
25616 fields after compilation and describe correct free'ing of pattern
25617 after re_compile_pattern.
25618 Patch by Reuben Thomas <rrt@sc3d.org>.
25619
457bddfc
RA
256202011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25621
25622 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25623 and -mno-altivec to prevent the compiler from using Altivec and/or
25624 VSX instructions when the corresponding registers are not available.
25625
a4527b51
AS
256262011-05-19 Andreas Schwab <schwab@redhat.com>
25627
25628 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25629
ed690b2f
UD
256302011-05-19 Ulrich Drepper <drepper@gmail.com>
25631
25632 * libio/freopen.c (freopen): Use __dup2, not dup2.
25633 * libio/freopen64.c (freopen64): Likewise.
25634
8db73634
L
256352011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25636
25637 [BZ #12775]
25638 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25639 * math/Makefile (tests): Add test-powl.
25640 (CFLAGS-test-powl.c): Define.
25641 * math/test-powl.c: New file.
25642
0a197a9d
L
256432011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25644
25645 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25646
ee30c380
UD
256472011-05-17 Ulrich Drepper <drepper@gmail.com>
25648
25649 [BZ #11837]
25650 * iconvdata/gb18030.c: Update to GB18020-2005.
25651
6ce75379
UD
256522011-05-16 Ulrich Drepper <drepper@gmail.com>
25653
a4b89fd8
AR
25654 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25655 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25656 Patch by Aharon Robbins <arnold@skeeve.com>.
25657
ea389b12
UD
25658 [BZ #11892]
25659 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25660 on the stack.
25661
68a3f91f
UD
25662 [BZ #11895]
25663 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25664 through underflows.
25665
15cc7dd1
UD
25666 [BZ #12766]
25667 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25668 point to strings before performing equality test for error_one_per_line
25669 mode.
25670
f3799213
UD
25671 [BZ #11697]
25672 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25673
d79a9c94
UD
25674 [BZ #11820]
25675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25676 (struct user_fpregs_struct): Avoid __uint*_t types.
25677
56e5eb46
UD
25678 [BZ #6420]
25679 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25680 symbol info. Use it instead of calling _dl_addr locally.
25681 (lock_and_info): New function.
25682 (tr_freehook): Call lock_and_info and pass symbol info as additional
25683 parameter to tr_where.
25684 (tr_mallochook): Likewise.
25685 (tr_reallochook): Likewise.
25686 (tr_memalignhook): Likewise.
25687
6ce75379
UD
25688 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25689 used and couldn't be at all thread-safe.
25690
f8a3b5bf
UD
256912011-05-15 Ulrich Drepper <drepper@gmail.com>
25692
94b7cc37
UD
25693 * libio/freopen.c (freopen): Don't close old file descriptor
25694 before the new one is opened. Instead dup the new file descriptor
25695 to the old one after the new stream is created.
25696 * libio/freopen64.c (freopen64): Likewise.
25697 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25698 * libio/fileops.c (_IO_new_file_close_it): Handle new
25699 _IO_FLAGS2_NOCLOSE flag.
25700 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25701 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25702 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25703 _IO_FLAGS2_NOCLOSE flag.
25704 * include/unistd.h: Add hidden_proto for dup3.
25705 Define __have_dup3.
25706 * io/dup3.c: Define hidden symbol.
25707 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25708
bd25564e
UD
25709 [BZ #7101]
25710 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25711 when an incomplete long option is used.
25712 * posix/tst-getopt_long1.c: New file.
25713 * posix/Makefile (tests): Add tst-getopt_long1.
25714
c84cfef4
UD
25715 [BZ #10138]
25716 * scripts/config.guess: Update from autoconf-2.68.
25717 * scripts/config.sub: Likewise.
25718
3b85df27
UD
25719 [BZ #10157]
25720 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25721 tests into ...
25722 (has_cpuclock): ...this. New function.
25723 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25724 macro here based on has_cpuclock code.
25725
15a856b1
UD
25726 [BZ #10149]
25727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25728 First byte (not low byte) is now always NUL.
25729 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25730
05f399e6
UD
25731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25732 Use non-cancelable interfaces.
25733
10a52685 25734 [BZ #9809]
94ecc67d
UD
25735 * locale/iso-639.def: Add entry for Sorani.
25736
f8a3b5bf
UD
25737 [BZ #11901]
25738 * include/stdlib.h: Move include protection to the right place.
25739 Define abort_msg_s. Declare __abort_msg with it.
25740 * stdlib/abort.c (__abort_msg): Adjust type.
25741 * assert/assert.c (__assert_fail_base): New function. Majority
25742 of code from __assert_fail. Allocate memory for __abort_msg with
25743 mmap.
25744 (__assert_fail): Now call __assert_fail_base.
25745 * assert/assert-perr.c: Remove bulk of implementation. Use
25746 __assert_fail_base.
25747 * include/assert.hL Declare __assert_fail_base.
25748 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25749 mmap.
25750 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25751
1af4e298
UD
257522011-05-14 Ulrich Drepper <drepper@gmail.com>
25753
f8a3b5bf 25754 [BZ #11952]
d26dfc60
MG
25755 [BZ #12453]
25756 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25757 until all modules are registered in the DTV.
25758 * elf/Makefile: Add rules to build and run tst-tls19.
25759 * elf/tst-tls19.c: New file.
25760 * elf/tst-tls19mod1.c: New file.
25761 * elf/tst-tls19mod2.c: New file.
25762 * elf/tst-tls19mod3.c: New file.
25763 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25764
2fc54d6f
UD
25765 [BZ #12083]
25766 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25767 correctly.
25768
98d76b46
UD
25769 [BZ #12601]
25770 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25771 two-byte sequence errors.
25772 * iconvdata/Makefile (tests): Add bug-iconv8.
25773 * iconvdata/bug-iconv8.c: New file.
25774
da3c19ef
UD
25775 [BZ #12626]
25776 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25777 buf2 definition.
25778
ca408c15
UD
25779 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25780
d6f67f7d
UD
25781 [BZ #12432]
25782 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25783 (dummy_getcfa): New function.
25784 (init): Get _Unwind_GetCFA address, use dummy if not found.
25785 (backtrace_helper): In recursion check, also check whether CFA changes.
25786 (__backtrace): Completely initialize arg.
25787
1af4e298 25788 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25789 storing incomplete byte sequence in state object. Avoid testing for
25790 guaranteed too small input if we know there is enough data available.
1af4e298 25791
da62f81b
AS
257922011-05-11 Andreas Schwab <schwab@redhat.com>
25793
25794 * Makeconfig (+link-pie): Indent.
25795 * Rules (binaries-pie): Define if $(have-fpie) and
25796 $(build-shared).
25797 (binaries-shared): Also filter out $(binaries-pie).
25798 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25799 * nscd/Makefile (others-pie): Add nscd.
25800 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25801 ($(objpfx)nscd): Remove command override.
25802 * login/Makefile (others-pie): Add pt_chown.
25803 ($(objpfx)pt_chown): Remove command override.
25804 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25805 remove command overrides.
25806
fcabc0f8
UD
258072011-05-13 Ulrich Drepper <drepper@gmail.com>
25808
20030ae6
UD
25809 * libio/tst_putwc.c: Fix error messages.
25810
fcabc0f8
UD
25811 [BZ #12724]
25812 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25813 currently writing and seek to current position when not.
25814 * libio/Makefile (tests): Add bug-fclose1.
25815 * libio/bug-fclose1.c: New file.
25816
320a5dc0
PB
258172011-05-12 Ulrich Drepper <drepper@gmail.com>
25818
25819 [BZ #12511]
25820 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25821 don't set DF_1_NODELETE here.
25822 (do_lookup_x): When entering new entry test for copy relocation
25823 and if necessary set DF_1_NODELETE flag.
25824 * elf/tst-unique4.cc: New file.
25825 * elf/tst-unique4.h: New file.
25826 * elf/tst-unique4lib.cc: New file.
25827 * elf/Makefile: Add rules to build and run tst-unique4.
25828 Patch by Piotr Bury <pbury@goahead.com>.
25829
22836f52
UD
258302011-05-11 Ulrich Drepper <drepper@gmail.com>
25831
f574184a
UD
25832 [BZ #12052]
25833 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25834
e1fb097f
UD
25835 [BZ #12625]
25836 * misc/mntent_r.c (addmntent): Flush the stream after the output
25837
22836f52
UD
25838 [BZ #12393]
25839 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25840 (is_trusted_path_normalize): Skip initial colon. Append slash
25841 to empty buffer. Duplicate is_trusted_path code but allow
25842 constructed patch to be prefix.
25843 (is_dst): Allow $ORIGIN followed by /.
25844 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25845 Correct testing of result of is_trusted_path_normalize
25846 (decompose_rpath): Fix warning.
25847
7b3b0b2a
UD
258482011-05-10 Ulrich Drepper <drepper@gmail.com>
25849
25850 [BZ #11257]
25851 * grp/initgroups.c (internal_getgrouplist): When we found the service
25852 list through the initgroups entry in nsswitch.conf do not always
25853 continue on a successful lookup. Don't always use the
eac80ce2 25854 __nss_group_database value if it is set.
7b3b0b2a
UD
25855 * nss/nsswitch.conf (initgroups): Change action for successful db
25856 lookup to continue for compatibility.
25857
2a81eaa5
UD
258582011-05-09 Ulrich Drepper <drepper@gmail.com>
25859
be97a69e
UD
25860 [BZ #11532]
25861 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25862 and CP774 modules.
25863 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25864 and CP774 modules.
25865 * iconvdata/tst-tables.sh: Likewise.
25866 * iconvdata/cp770.c: New file.
25867 * iconvdata/cp771.c: New file.
25868 * iconvdata/cp772.c: New file.
25869 * iconvdata/cp773.c: New file.
25870 * iconvdata/cp774.c: New file.
25871 * iconvdata/testdata/CP770: New file.
25872 * iconvdata/testdata/CP770..UTF8: New file.
25873 * iconvdata/testdata/CP771: New file.
25874 * iconvdata/testdata/CP771..UTF8: New file.
25875 * iconvdata/testdata/CP772: New file.
25876 * iconvdata/testdata/CP772..UTF8: New file.
25877 * iconvdata/testdata/CP773: New file.
25878 * iconvdata/testdata/CP773..UTF8: New file.
25879 * iconvdata/testdata/CP774: New file.
25880 * iconvdata/testdata/CP774..UTF8: New file.
25881
25882 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25883 END CHARMAP line.
25884 * iconvdata/gen-8bit-gap.sh: Likewise.
25885 * iconvdata/gen-8bit.sh: Likewise.
25886
c1e9e399
UD
25887 * locale/iso-639.def: Add ary entry.
25888
24c55fb3 25889 [BZ #11258]
96b4b1b0
UD
25890 * locale/C-translit.h.in: Add U20A1 transliteration.
25891
bdc2f971
KB
25892 [BZ #12178]
25893 * locale/iso-639.def: Add wae entry.
25894 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25895
2952b117
UD
25896 [BZ #12545]
25897 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25898 for n.
25899
2a81eaa5
UD
25900 [BZ #12711]
25901 * locale/C-translit.h.in: Add entry for U20B9.
25902 Patch by pravin.d.s@gmail.com.
25903
28377d1b
UD
259042011-05-08 Ulrich Drepper <drepper@gmail.com>
25905
7fb90fb8
UD
25906 [BZ #12713]
25907 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25908 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25909 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25910 in rtld. Use *stat64.
7fb90fb8 25911 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25912 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25913 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25914 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25915 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25916 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25917 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25918 __fstatat64 macros.
7fb90fb8
UD
25919 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25920 * dirent/rewinddir.c: Add libc_hidden_def.
25921 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25922 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25923
28377d1b
UD
25924 * include/dirent.h (__alloc_dir): Add flags parameter.
25925 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25926 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25927 __alloc_dir.
25928 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25929 from fdopendir if O_CLOEXEC is already set.
25930
66bdbaa4
AM
259312011-03-15 Alan Modra <amodra@gmail.com>
25932
25933 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25934 l_tls_firstbyte_offset non-zero. Save padding offset in
25935 l_tls_firstbyte_offset for later use.
25936 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25937 freeing static tls block.
25938
95721191
JN
259392011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25940
25941 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25942 where #ifdef was intended. The intent is to prevent ARG_MAX from
25943 being defined by the kernel headers.
25944
f87dfb1f
UD
259452011-05-07 Ulrich Drepper <drepper@gmail.com>
25946
25947 [BZ #12734]
25948 * resolv/resolv.h: Define RES_NOTLDQUERY.
25949 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25950 no-tld-query and set RES_NOTLDQUERY.
25951 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25952 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25953 modern BIND to search name as TLD unless forbidden.
25954
47c3cd7a
UD
259552011-05-07 Petr Baudis <pasky@suse.cz>
25956 Ulrich Drepper <drepper@gmail.com>
25957
25958 [BZ #12393]
25959 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25960 (is_trusted_path): ...to here.
c1e9ea35 25961 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25962 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25963 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25964
8a35c912
PP
259652011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25966
25967 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25968 __BEGIN/__END_DECLS.
25969
acd41f47
UD
259702011-05-06 Ulrich Drepper <drepper@gmail.com>
25971
25972 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25973 NSS_STATUS_NOTFOUND if no record was found.
25974
597df647
AS
259752011-05-05 Andreas Schwab <schwab@redhat.com>
25976
25977 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25978 (headers-not-in-tirpc): Remove rpc/netdb.h
25979 * resolv/netdb.h: Revert last change.
25980
b9af1301
PP
259812011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25982
25983 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25984 circular dependency between libgcc.a and libc.a.
25985
4e34d5f5
AS
259862011-05-05 Andreas Schwab <schwab@redhat.com>
25987
25988 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25989 * nis/Makefile: Don't install rpcsvc/*.
25990 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25991 instead of <rpc/types.h>.
25992 (MAXHOSTNAMELEN): Define.
25993
00ee369c
AS
259942011-05-03 Andreas Schwab <schwab@redhat.com>
25995
25996 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25997
0b592a30
MB
259982011-04-28 Maciej Babinski <mbabinski@google.com>
25999
26000 [BZ #12714]
26001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26002 gethostbyname4_r when IPv6 results are possible.
26003
6e04cbbe
UD
260042011-05-02 Ulrich Drepper <drepper@gmail.com>
26005
26006 [BZ #12723]
26007 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26008 _PC_PIPE_BUF handling.
26009
e4ecafe0
BH
260102011-04-30 Bruno Haible <bruno@clisp.org>
26011
26012 [BZ #12717]
26013 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26014 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26015 to 'int'.
26016 * inet/getnameinfo.c (getnameinfo): Likewise.
26017
125ee683
UD
260182011-04-29 Ulrich Drepper <drepper@gmail.com>
26019
26020 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26021 to groups setting in database lookup.
26022 * nss/nsswitch.conf: Add initgroups entry.
26023
b722481a
EB
260242011-04-22 Ulrich Drepper <drepper@gmail.com>
26025
26026 [BZ #12685]
26027 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26028 mode string.
26029 Patch by Eric Blake <eblake@redhat.com>.
26030
4df46dbd
L
260312011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26032
26033 * sunrpc/Makefile (need-export-routines): Add svc_run.
26034 (routines): Remove svc_run.
26035 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26036 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26037 * sunrpc/svc_run.c (svc_run): Likewise.
26038 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26039
e84142d2
UD
260402011-04-21 Ulrich Drepper <drepper@gmail.com>
26041
26042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26043 problem in reallocation in last patch.
26044
877175d8
UD
260452011-04-20 Ulrich Drepper <drepper@gmail.com>
26046
26047 * sunrpc/Makefile: Move inclusion of Rules.
26048
ab8eed78
UD
260492011-04-19 Ulrich Drepper <drepper@gmail.com>
26050
26051 * nss/nss_files/files-initgroups.c: New file.
26052 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26053 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26054 _nss_files_initgroups_dyn.
26055
e3d8f584
RS
260562011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26057
26058 * elf/elf.h (R_ARM_IRELATIVE): Define.
26059
af190f45
UD
260602011-04-19 Ulrich Drepper <drepper@gmail.com>
26061
26062 * po/ru.po: Update from translation team.
26063
53cf59ef
UD
260642011-04-17 Ulrich Drepper <drepper@gmail.com>
26065
26066 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26067 dependencies.
26068
4c559bcd
MF
260692011-02-06 Mike Frysinger <vapier@gentoo.org>
26070
26071 [BZ #12653]
26072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26073 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26074 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26077
4420675c
AS
260782011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26079
26080 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26081 differing bytes.
26082 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26085
75ea32ab
UD
260862011-04-17 Ulrich Drepper <drepper@gmail.com>
26087
26088 [BZ #12420]
26089 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26090 storing it.
26091 * stdlib/bug-getcontext.c: New file.
26092 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26093
27390476
AK
260942011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26095
26096 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26097 instructions into .machine "z9-109".
26098 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26099 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26100
10442705
AK
261012011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26102
26103 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26104 between environment variables and auxiliary vector.
26105
7b57bfe5
UD
261062011-04-16 Ulrich Drepper <drepper@gmail.com>
26107
26108 * Makefile: Add rules to build linkobj/libc.so.
26109 * include/libc-symbols.h: Define libc_hidden_nolink.
26110 * include/rpc/auth.h: Mark functions which are to be hidden.
26111 * include/rpc/auth_des.h: Likewise.
26112 * include/rpc/auth_unix.h: Likewise.
26113 * include/rpc/clnt.h: Likewise.
26114 * include/rpc/des_crypt.h: Likewise.
26115 * include/rpc/key_prot.h: Likewise.
26116 * include/rpc/pmap_clnt.h: Likewise.
26117 * include/rpc/pmap_prot.h: Likewise.
26118 * include/rpc/pmap_rmt.h: Likewise.
26119 * include/rpc/rpc_msg.h: Likewise.
26120 * include/rpc/svc.h: Likewise.
26121 * include/rpc/svc_auth.h: Likewise.
26122 * include/rpc/xdr.h: Likewise.
26123 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26124 * nss/Makefile: Likewise.
26125 * sunrpc/Makefile: Don't install headers. Build library with normal
26126 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26127 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26128 for the compat linking library. Remove use of INTDEF/INTUSE.
26129 * sunrpc/auth_none.c: Likewise.
26130 * sunrpc/auth_unix.c: Likewise.
26131 * sunrpc/authdes_prot.c: Likewise.
26132 * sunrpc/authuxprot.c: Likewise.
26133 * sunrpc/clnt_gen.c: Likewise.
26134 * sunrpc/clnt_perr.c: Likewise.
26135 * sunrpc/clnt_raw.c: Likewise.
26136 * sunrpc/clnt_simp.c: Likewise.
26137 * sunrpc/clnt_tcp.c: Likewise.
26138 * sunrpc/clnt_udp.c: Likewise.
26139 * sunrpc/clnt_unix.c: Likewise.
26140 * sunrpc/des_crypt.c: Likewise.
26141 * sunrpc/des_soft.c: Likewise.
26142 * sunrpc/get_myaddr.c: Likewise.
26143 * sunrpc/key_call.c: Likewise.
26144 * sunrpc/key_prot.c: Likewise.
26145 * sunrpc/netname.c: Likewise.
26146 * sunrpc/pm_getmaps.c: Likewise.
26147 * sunrpc/pm_getport.c: Likewise.
26148 * sunrpc/pmap_clnt.c: Likewise.
26149 * sunrpc/pmap_prot.c: Likewise.
26150 * sunrpc/pmap_prot2.c: Likewise.
26151 * sunrpc/pmap_rmt.c: Likewise.
26152 * sunrpc/publickey.c: Likewise.
26153 * sunrpc/rpc_cmsg.c: Likewise.
26154 * sunrpc/rpc_common.c: Likewise.
26155 * sunrpc/rpc_dtable.c: Likewise.
26156 * sunrpc/rpc_prot.c: Likewise.
26157 * sunrpc/rpc_thread.c: Likewise.
26158 * sunrpc/rtime.c: Likewise.
26159 * sunrpc/svc.c: Likewise.
26160 * sunrpc/svc_auth.c: Likewise.
26161 * sunrpc/svc_authux.c: Likewise.
26162 * sunrpc/svc_raw.c: Likewise.
26163 * sunrpc/svc_run.c: Likewise.
26164 * sunrpc/svc_simple.c: Likewise.
26165 * sunrpc/svc_tcp.c: Likewise.
26166 * sunrpc/svc_udp.c: Likewise.
26167 * sunrpc/svc_unix.c: Likewise.
26168 * sunrpc/svcauth_des.c: Likewise.
26169 * sunrpc/xcrypt.c: Likewise.
26170 * sunrpc/xdr.c: Likewise.
26171 * sunrpc/xdr_array.c: Likewise.
26172 * sunrpc/xdr_float.c: Likewise.
26173 * sunrpc/xdr_intXX_t.c: Likewise.
26174 * sunrpc/xdr_mem.c: Likewise.
26175 * sunrpc/xdr_rec.c: Likewise.
26176 * sunrpc/xdr_ref.c: Likewise.
26177 * sunrpc/xdr_sizeof.c: Likewise.
26178 * sunrpc/xdr_stdio.c: Likewise.
26179
e6c61494
UD
261802011-04-10 Ulrich Drepper <drepper@gmail.com>
26181
26182 [BZ #12650]
26183 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26184 * sysdeps/ia64/dl-tls.h: Likewise.
26185 * sysdeps/powerpc/dl-tls.h: Likewise.
26186 * sysdeps/s390/dl-tls.h: Likewise.
26187 * sysdeps/sh/dl-tls.h: Likewise.
26188 * sysdeps/sparc/dl-tls.h: Likewise.
26189 * sysdeps/x86_64/dl-tls.h: Likewise.
26190 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26191
34fe483e
AS
261922011-03-14 Andreas Schwab <schwab@redhat.com>
26193
26194 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26195 rpath element also skip the following colon.
26196 (expand_dynamic_string_token): Add is_path parameter and pass
26197 down to DL_DST_REQUIRED and _dl_dst_substitute.
26198 (decompose_rpath): Call expand_dynamic_string_token with
26199 non-zero is_path. Ignore empty rpaths.
26200 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26201 with zero is_path.
26202
f12a32e6
AS
262032011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26204
26205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26206 Make cancelable.
26207
38a7d692
UD
262082011-04-09 Ulrich Drepper <drepper@gmail.com>
26209
26210 [BZ #12655]
26211 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26212 Patch by Filipe David Manana <fdmanana@apache.org>.
26213
e451d22b
AS
262142011-04-07 Andreas Schwab <schwab@redhat.com>
26215
26216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26217 Maintain aligned stack.
26218 (CHECK_RSP): Remove unused macro.
26219
dedc7c7b
UD
262202011-04-03 Ulrich Drepper <drepper@gmail.com>
26221
26222 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26224
94521213
UD
262252011-04-02 Ulrich Drepper <drepper@gmail.com>
26226
26227 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26228
8cb700c0 26229 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26230
0354e355
L
262312011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26232
26233 [BZ #12518]
26234 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26235 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26236 * sysdeps/x86_64/memmove.c: New file.
26237 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26238 (memcpy): Renamed to ...
26239 (__new_memcpy): This.
26240 (memcpy): Provide GLIBC_2_14 memcpy.
26241 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26242 (memcpy): Provide GLIBC_2_2_5 memcpy.
26243
8593482f
UD
262442011-04-01 Ulrich Drepper <drepper@gmail.com>
26245
26246 [BZ #12631]
26247 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26248
81a5726b
AS
262492011-03-30 Andreas Schwab <schwab@redhat.com>
26250
26251 * misc/syncfs.c: New file.
26252 * misc/Makefile (routines): Add syncfs.
26253 * posix/unistd.h: Declare syncfs.
26254 * sysdeps/unix/syscalls.list: Add syncfs.
26255
00e5419f
AS
262562011-04-01 Andreas Schwab <schwab@redhat.com>
26257
26258 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26259 open_by_handle_at.
26260 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26261 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26263 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26265 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26267
748876bf
UD
262682011-04-01 Ulrich Drepper <drepper@gmail.com>
26269
658e451d
UD
26270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26271 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26272 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26274 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26277
748876bf
UD
26278 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26279 sync_file_range.c with -fexceptions.
26280 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26281 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26282 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26283 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26284 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26285 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26287 sync_file_range as cancellation point
26288 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26289 now a wrapper around __call_sync_file_range with cancellation handling.
26290 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26291 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26292 function name to __call_sync_file_range.
26293 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26294 Add call_sync_file_range.
748876bf 26295
6e63d5e1
AS
262962011-04-01 Andreas Schwab <schwab@redhat.com>
26297
26298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26299 bits/timex.h.
6e63d5e1 26300
46998f74
UD
263012011-04-01 Ulrich Drepper <drepper@gmail.com>
26302
4c1423ed
UD
26303 * iconv/iconv.h: Fix typo in comment.
26304 * io/fcntl.h: Likewise.
26305 * libio/stdio.h: Likewise.
26306 * posix/spawn.h: Likewise.
26307 * posix/unistd.h: Likewise.
26308 * stdlib/stdlib.h: Likewise.
26309 * time/time.h: Likewise.
26310 * wcsmbs/wchar.h: Likewise.
26311
158648c0
UD
26312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26313 open_by_handle): Add.
26314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26315 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26316 Augment a few comments.
26317 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26319 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26322 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26323 open_by_handle.
26324
46998f74
UD
26325 * io/fcntl.h (AT_EMPTY_PATH): Define.
26326
83fe108b
UD
263272011-03-30 Ulrich Drepper <drepper@gmail.com>
26328
26329 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26330 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26331 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26332 to...
26333 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26334 * Versions.def: Add GLIBC_2.14.
26335 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26336 Export.
83fe108b 26337
bb242059
UD
263382011-03-22 Ulrich Drepper <drepper@gmail.com>
26339
26340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26341 round counter.
26342 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26343
c97a1282
L
263442011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26345
26346 [BZ #12597]
26347 * string/test-strncmp.c (do_page_test): New function.
26348 (check2): Likewise.
26349 (test_main): Call check2.
26350 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26351
2a115601
UD
263522011-03-20 Ulrich Drepper <drepper@gmail.com>
26353
26354 [BZ #12587]
26355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26356 Handle cache information in CPU leaf 4.
26357 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26358
8126d904
UD
263592011-03-18 Ulrich Drepper <drepper@gmail.com>
26360
042c49c6 26361 [BZ #12583]
8126d904
UD
26362 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26363 character representation.
26364 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26365
ccfe366e
RA
263662011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26367
26368 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26369 END(__isnan) to END(__isnanf) to match function entry point/label
26370 EALIGN(__isnanf,...).
26371
c6e13027
JJ
263722011-03-10 Jakub Jelinek <jakub@redhat.com>
26373
26374 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26375
33f85a3f
UD
263762011-03-10 Ulrich Drepper <drepper@gmail.com>
26377
028478fa
UD
26378 [BZ #12510]
26379 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26380 copy from the symbol referenced in the relocation to initialize the
26381 used variable.
26382 Patch by Piotr Bury <pbury@goahead.com>.
26383 * elf/Makefile: Add rules to build and tst-unique3.
26384 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26385 * elf/tst-unique3.cc: New file.
26386 * elf/tst-unique3.h: New file.
26387 * elf/tst-unique3lib.cc: New file.
26388 * elf/tst-unique3lib2.cc: New file.
26389
33f85a3f
UD
26390 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26391
03592fc7
MF
263922011-03-10 Mike Frysinger <vapier@gentoo.org>
26393
26394 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26395 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26396 to _start.
03592fc7 26397
6a5ee102
UD
263982011-03-06 Ulrich Drepper <drepper@gmail.com>
26399
26400 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26401 to-be-loaded object along a path to loader is ld.so.
26402
7e4ba49c
HJ
264032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26404 Ulrich Drepper <drepper@gmail.com>
26405
26406 * sysdeps/x86_64/memset.S: After aligning destination, code
26407 branches to different locations depending on the value of
26408 misalignment, when multiarch is enabled. Fix this.
26409
264102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26411
26412 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26413 Set _x86_64_preferred_memory_instruction for AMD processsors.
26414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26415 Set bit_Prefer_SSE_for_memop for AMD processors.
26416
13a804de
UD
264172011-03-04 Ulrich Drepper <drepper@gmail.com>
26418
26419 * libio/fmemopen.c (fmemopen): Optimize a bit.
26420
9d25c392
AS
264212011-03-03 Andreas Schwab <schwab@redhat.com>
26422
26423 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26424
a5543c6a
RM
264252011-03-03 Roland McGrath <roland@redhat.com>
26426
26427 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26428
012d35f7
DM
264292011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26430
7e4ba49c 26431 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26432 __bzero_ultra1 instead of __memset_ultra1.
26433
4bff6e01
AS
264342011-02-23 Andreas Schwab <schwab@redhat.com>
26435 Ulrich Drepper <drepper@gmail.com>
26436
26437 [BZ #12509]
26438 * include/link.h (struct link_map): Add l_orig_initfini.
26439 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26440 returning unsuccessfully.
26441 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26442 close of a file loaded at startup, restore the original l_initfini
26443 list.
26444 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26445 list, store the pointer.
26446 * elf/Makefile ($(objpfx)noload-mem): New rule.
26447 (noload-ENV): Define.
26448 (tests): Add $(objpfx)noload-mem.
26449 * elf/noload.c: Include <memcheck.h>.
26450 (main): Call mtrace. Close all opened handles.
26451
f2092faf
AS
264522011-02-17 Andreas Schwab <schwab@redhat.com>
26453
26454 [BZ #12454]
26455 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26456 dependencies are missing.
26457
6c8a2e88
ST
264582011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26459
f2092faf 26460 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26461 Hurd needs munmap.
26462 * sysdeps/mach/hurd/ifreq.h: New file.
26463
84a42118
PB
264642011-01-27 Petr Baudis <pasky@suse.cz>
26465 Ulrich Drepper <drepper@gmail.com>
26466
071f805e 26467 [BZ 12445]#
84a42118
PB
26468 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26469 to extend_alloca().
26470 * stdio-common/bug23.c: New file.
26471 * stdio-common/Makefile (tests): Add bug23.
26472
e23fe25b
AS
264732010-09-28 Andreas Schwab <schwab@redhat.com>
26474 Ulrich Drepper <drepper@gmail.com>
26475
26476 [BZ #12489]
26477 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26478 before performing relro protection. At old place add assertion
26479 to make sure nothing changed.
26480
d3f02e10
NS
264812011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26482 Glauber de Oliveira Costa <glommer@gmail.com>
26483
26484 * elf/elf.h: Add new ARM TLS relocs.
26485
d55fd7a5
RA
264862011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26487
26488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26489 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26490 cast from r3.
26491 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26492 'tests' variable.
26493 * sysdeps/wordsize-64/tst-writev.c: New file.
26494
2206397e
RA
264952011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26496
26497 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26498 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26499 insns in _dl_start to prevent a TOC reference before relocs are
26500 resolved.
26501
e9433893
UD
265022011-02-15 Ulrich Drepper <drepper@gmail.com>
26503
26504 [BZ #12469]
26505 * Makeconfig: Remove RANLIB definition.
26506 * Makerules: Don't use RANLIB.
26507 * aclocal.m4: Remove ranlib test.
26508 * configure.in: No need to check for ranlib.
26509 * elf/rtld-Rules: Don't use RANLIB.
26510
f75286c6
ST
265112011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26512
8e31c82d
ST
26513 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26514 protection macro.
26515 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26516 inclusion protection macro.
26517
f75286c6
ST
26518 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26519 SIGRTMIN and SIGRTMAX and print information in that case only when
26520 SIGRTMIN is defined.
26521
c1d0e639
JJ
265222011-02-11 Jakub Jelinek <jakub@redhat.com>
26523
26524 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26525 arginfo fn returning -1.
26526
26527 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26528 and thousands string is zero terminated.
26529
edf9294e
AS
265302011-02-03 Andreas Schwab <schwab@redhat.com>
26531
26532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26533 sysdeps/unix/sysv/linux/bits/socket.h.
26534
2b7e92df
ST
265352011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26536
edf9294e
AS
26537 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26538 (__CPU_COUNT): Remove old macros.
26539 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26540 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26541 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26542 (__sched_cpualloc, __sched_cpufree): Add declarations.
26543
a4c7ea7b
UD
265442011-02-05 Ulrich Drepper <drepper@gmail.com>
26545
26546 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26547 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26548 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26549 (readdhstai): Return value of addhstaiX call.
26550 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26551 (addgrbyX): Return value returned by cache_addgr.
26552 (readdgrbyname): Return value returned by addgrbyX.
26553 (readdgrbygid): Likewise.
26554 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26555 (addpwbyX): Return value returned by cache_addpw.
26556 (readdpwbyname): Return value returned by addhstbyX.
26557 (readdpwbyuid): Likewise.
26558 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26559 (addservbyX): Return value returned by cache_addserv.
26560 (readdservbyname): Return value returned by addservbyX:
26561 (readdservbyport): Likewise.
26562 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26563 (addhstbyX): Return value returned by cache_addhst.
26564 (readdhstbyname): Return value returned by addhstbyX.
26565 (readdhstbyaddr): Likewise.
26566 (readdhstbynamev6): Likewise.
26567 (readdhstbyaddrv6): Likewise.
26568 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26569 (readdinitgroups): Return value returned by addinitgroupsX.
26570 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26571 (prune_cache): Keep track of timeout value of re-added entries.
26572 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26573 * nscd/nscd.h: Adjust prototypes of readd* functions.
26574
a0bf67cc
RM
265752011-02-04 Roland McGrath <roland@redhat.com>
26576
26577 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26578 (nis_stats): Likewise.
26579 * nis/nis_modify.c (nis_modify): Likewise.
26580 * nis/nis_remove.c (nis_remove): Likewise.
26581 * nis/nis_add.c (nis_add): Likewise.
26582
26583 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26584
26585 * posix/fnmatch_loop.c: Add some consts.
26586
26587 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26588
435b95eb
L
265892011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26590
26591 [BZ #12460]
26592 * config.make.in (config-cflags-novzeroupper): Define.
26593 * configure.in: Substitute libc_cv_cc_novzeroupper.
26594 * elf/Makefile (AVX-CFLAGS): Define.
26595 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26596 (CFLAGS-tst-auditmod4a.c): Likewise.
26597 (CFLAGS-tst-auditmod4b.c): Likewise.
26598 (CFLAGS-tst-auditmod6b.c): Likewise.
26599 (CFLAGS-tst-auditmod6c.c): Likewise.
26600 (CFLAGS-tst-auditmod7b.c): Likewise.
26601 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26602
8517b15e
UD
266032011-02-02 Ulrich Drepper <drepper@gmail.com>
26604
26605 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26606 function to the callback.
26607 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26608
10a656fe
AS
266092011-02-02 Andreas Schwab <schwab@redhat.com>
26610
26611 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26612 of errno.
26613
968dad0a
UD
266142011-01-19 Ulrich Drepper <drepper@gmail.com>
26615
9f94d2ea 26616 [BZ #11724]
968dad0a
UD
26617 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26618 of constructors.
26619 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26620 of destructors.
26621 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26622
26623 [BZ #11724]
26624 * elf/Makefile: Add rules to build and run new test.
26625 * elf/tst-initorder.c: New file.
26626 * elf/tst-initorder.exp: New file.
26627 * elf/tst-initordera1.c: New file.
26628 * elf/tst-initordera2.c: New file.
26629 * elf/tst-initordera3.c: New file.
26630 * elf/tst-initordera4.c: New file.
26631 * elf/tst-initorderb1.c: New file.
26632 * elf/tst-initorderb2.c: New file.
26633 * elf/tst-order-a1.c: New file.
26634 * elf/tst-order-a2.c: New file.
26635 * elf/tst-order-a3.c: New file.
26636 * elf/tst-order-a4.c: New file.
26637 * elf/tst-order-b1.c: New file.
26638 * elf/tst-order-b2.c: New file.
26639 * elf/tst-order-main.c: New file.
26640 New test case by George Gensure <werkt0@gmail.com>.
26641
86e92359
UD
266422010-10-01 Andreas Schwab <schwab@redhat.com>
26643
26644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26645 decoding ACE if AI_CANONIDN.
26646
5d5732b0
UD
266472011-01-18 Ulrich Drepper <drepper@gmail.com>
26648
26649 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26650
a77e8cbc
UD
266512011-01-17 Ulrich Drepper <drepper@gmail.com>
26652
6392473f
UD
26653 * version.h (RELEASE): Bump for 2.13 release.
26654 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26655
620a0529
UD
26656 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26657
18ba70a5
UD
26658 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26659 MADV_NOHUGEPAGE.
32465c3e
UD
26660 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26662 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26663 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26664 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26665 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26666
c0dafcf1
UD
26667 * posix/getconf.c: Update copyright year.
26668 * catgets/gencat.c: Likewise.
26669 * csu/version.c: Likewise.
26670 * debug/catchsegv.sh: Likewise.
26671 * debug/xtrace.sh: Likewise.
26672 * elf/ldconfig.c: Likewise.
26673 * elf/ldd.bash.in: Likewise.
26674 * elf/sprof.c (print_version): Likewise.
26675 * iconv/iconv_prog.c: Likewise.
26676 * iconv/iconvconfig.c: Likewise.
26677 * locale/programs/locale.c: Likewise.
26678 * locale/programs/localedef.c: Likewise.
26679 * malloc/memusage.sh: Likewise.
26680 * malloc/mtrace.pl: Likewise.
26681 * nscd/nscd.c (print_version): Likewise.
26682 * nss/getent.c: Likewise.
26683
a77e8cbc
UD
26684 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26685 PF_CAIF, and PF_ALG.
26686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26687
77e8bddf
AS
266882011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26689
1f20b93a
AS
26690 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26691 (modules-names): Use them.
26692 (ifunc-test-modules, ifunc-pie-tests): Define.
26693 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26694 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26695 (test-extras): Likewise.
26696 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26697 $(compile-command.c).
26698 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26699 (all-built-dso): Define.
26700 (check-textrel.out, check-execstack.out): Depend on it.
26701
77e8bddf
AS
26702 * configure.in: Don't override --enable-multi-arch.
26703
bc425b33
UD
267042011-01-15 Ulrich Drepper <drepper@gmail.com>
26705
26706 [BZ #6812]
26707 * nscd/hstcache.c (tryagain): Define.
26708 (cache_addhst): Return tryagain not notfound for temporary errors.
26709 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26710 failed.
26711
794c3ad3
UD
267122011-01-14 Ulrich Drepper <drepper@gmail.com>
26713
70181fdd
UD
26714 [BZ #10563]
26715 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26716 to make the syscall.
26717 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26718
794c3ad3
UD
26719 [BZ #12378]
26720 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26721 and fall back to matching as normal character if the string ends before
26722 the matching ']' is found. This is what POSIX requires.
26723 * posix/testfnm.c: Adjust test result.
26724 * posix/globtest.sh: Adjust test result. Add new test.
26725 * posix/tst-fnmatch.input: Likewise.
26726 * posix/tst-fnmatch2.c: Add new test.
26727
68dc9497
AS
267282010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26729
26730 * elf/Makefile (check-execstack): Revert last change. Depend on
26731 check-execstack.h.
26732 (check-execstack.h): New target.
26733 (generated): Add check-execstack.h.
26734 * elf/check-execstack.c: Include "check-execstack.h".
26735 (main): Revert last change.
26736 (handle_file): Return zero if GNU_STACK is absent and
26737 DEFAULT_STACK_PERMS doesn't include PF_X.
26738
451f001b
UD
267392011-01-13 Ulrich Drepper <drepper@gmail.com>
26740
cfa28e56
UD
26741 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26742 in child fails because the descriptor is already closed.
8cf8ce17
UD
26743 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26744 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26745 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26746
1086d70d
UD
26747 [BZ #12397]
26748 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26749 syscall.
26750
451f001b
UD
26751 [BZ #10484]
26752 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26753 temporary buffer used to handle multi lookups locally.
a85b5cb4 26754 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26755
08769175
UD
267562011-01-12 Ulrich Drepper <drepper@gmail.com>
26757
26758 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26759 loader is ld.so.
26760
5e49c52e
UD
267612011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26762
26763 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26764 alignment for SSE2.
26765
60522a5f
UD
267662011-01-12 Ulrich Drepper <drepper@gmail.com>
26767
26768 [BZ #12394]
26769 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26770 characters. When rounding increased number of integer digits recompute
26771 number of groups.
26772 * stdio-common/tst-grouping.c: New file.
26773 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26774
f257bbd7
UD
267752011-01-09 Ulrich Drepper <drepper@gmail.com>
26776
26777 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26778 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26779
26780 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26781 void.
26782 * bits/select.h: Likewise.
26783
fa9c15cb
UD
267842011-01-08 Ulrich Drepper <drepper@gmail.com>
26785
26786 * po/ja.po: Update from translation team.
26787
16c2895f
DM
267882011-01-04 David S. Miller <davem@sunset.davemloft.net>
26789
26790 [BZ #11155]
26791 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26792 implementation just like for lxstat, fxstatat, et al.
26793
2543fef2
JM
267942010-12-27 Jim Meyering <meyering@redhat.com>
26795
26796 [BZ #12348]
26797 * posix/regexec.c (build_trtable): Return failure indication upon
26798 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26799
98727dbe
UD
268002010-12-25 Ulrich Drepper <drepper@gmail.com>
26801
5bd6dc5c
UD
26802 [BZ #12201]
26803 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26804 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26805 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26806 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26807
97983464
UD
26808 [BZ #12207]
26809 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26810
98727dbe
UD
26811 [BZ #12204]
26812 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26813 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26814
4a531bb0
L
268152010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26816
26817 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26818 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26819 script has SORT_BY_INIT_PRIORITY.
26820 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26821 NO_CTORS_DTORS_SECTIONS is defined.
26822 * elf/soinit.c: Likewise.
26823 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26824 NO_CTORS_DTORS_SECTIONS is defined.
26825 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26826 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26827 * sysdeps/sh/init-first.c: Likewise.
26828 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26829
07eb4b71
UD
268302010-12-24 Ulrich Drepper <drepper@gmail.com>
26831
26832 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26833 always use the slow path.
26834
30950a5f
RA
268352010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26836
26837 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26838 similar rule which adds the sysdep directories to the header search in
26839 order to pick up the correct platform stackinfo.h.
26840 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26841 perform test if it is, otherwise return successfully without testing.
26842 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26843 DEFAULT_STACK_PERMS define in stackinfo.h.
26844 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26845 defined in stackinfo.h.
26846 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26847 DEFAULT_STACK_PERMS defined in stackinfo.h.
26848 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26849 * sysdeps/ia64/stackinfo.h: Likewise.
26850 * sysdeps/s390/stackinfo.h: Likewise.
26851 * sysdeps/sh/stackinfo.h: Likewise.
26852 * sysdeps/sparc/stackinfo.h: Likewise.
26853 * sysdeps/x86_64/stackinfo.h: Likewise.
26854 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26855 PF_X for powerpc64. Retain PF_X for powerpc32.
26856
db753e2c
UD
268572010-12-19 Ulrich Drepper <drepper@gmail.com>
26858
14b697f7
UD
26859 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26860 accurately.
db753e2c
UD
26861 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26862 GETDENTS_64BIT_ALIGNED.
26863
28300719
UD
268642010-12-14 Ulrich Drepper <dreper@gmail.com>
26865
14b697f7 26866 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26867
4f197237
AS
268682010-12-10 Andreas Schwab <schwab@redhat.com>
26869
dbb0472f
AS
26870 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26871 _GNU_SOURCE.
26872
4f197237
AS
26873 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26874 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26875 Remove __restrict.
26876 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26877 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26878
fb88ac72
UD
268792010-12-09 Ulrich Drepper <drepper@gmail.com>
26880
26881 [BZ #11655]
26882 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26883 are initialized.
26884
42acbb92
JJ
268852010-12-09 Jakub Jelinek <jakub@redhat.com>
26886
26887 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26888
c038d98d
UD
268892010-12-03 Ulrich Drepper <drepper@gmail.com>
26890
26891 * po/it.po: Update from translation team.
26892
3a4a2499
L
268932010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26894
26895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26896 unused codes.
26897
1e24cf6e
UD
268982010-11-30 Ulrich Drepper <drepper@gmail.com>
26899
26900 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26901
a7690819
AS
269022010-11-24 Andreas Schwab <schwab@redhat.com>
26903
26904 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26905 specially.
26906 (gaih_getanswer_slice): Likewise.
26907
3bf8d1b1
JJ
269082010-10-20 Jakub Jelinek <jakub@redhat.com>
26909
26910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26911
6db52fbb
PB
269122010-05-31 Petr Baudis <pasky@suse.cz>
26913
26914 [BZ #11149]
26915 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26916 silently even in the chroot mode.
26917
eaca7569
UD
269182010-11-22 Ulrich Drepper <drepper@gmail.com>
26919
26920 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26921 last patch a bit. Pretty printing
26922
3056dcdb
UD
269232010-05-31 Petr Baudis <pasky@suse.cz>
26924
26925 [BZ #10085]
26926 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26927 initialization of skip_initgroups_dyn.
26928
cf7c9078
UD
269292010-11-19 Ulrich Drepper <drepper@gmail.com>
26930
26931 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26932 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26933
a1fb5e3e
UD
269342010-11-16 Ulrich Drepper <drepper@gmail.com>
26935
26936 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26937
3540d66b
AS
269382010-11-11 Andreas Schwab <schwab@redhat.com>
26939
26940 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26941 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26942 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26943 ($(objpfx)tst-fnmatch-mem): New rule.
26944 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26945 * posix/tst-fnmatch.c (main): Call mtrace.
26946
13b69574
L
269472010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26948
26949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26950 Support Intel processor model 6 and model 0x2c.
26951
da93d214
LM
269522010-11-10 Luis Machado <luisgpm@br.ibm.com>
26953
26954 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26955 signed comparison.
26956
8ca52c6e
L
269572010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26958
26959 [BZ #12205]
26960 * string/test-strncasecmp.c (check_result): New function.
26961 (do_one_test): Use it.
26962 (check1): New function.
26963 (test_main): Use it.
26964 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26965 Support strcasecmp and strncasecmp.
26966
69da074d
UD
269672010-11-08 Ulrich Drepper <drepper@gmail.com>
26968
26969 [BZ #12194]
26970 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26972
ff02d528
L
269732010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26974
26975 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26976 IFUNC support.
26977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26978 memset-x86-64.
26979 * sysdeps/x86_64/multiarch/bzero.S: New file.
26980 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26981 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26982 * sysdeps/x86_64/multiarch/memset.S: New file.
26983 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26985 Set bit_Prefer_SSE_for_memop for Intel processors.
26986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26987 Define.
26988 (index_Prefer_SSE_for_memop): Define.
26989 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26990
344d0b54
LM
269912010-11-04 Luis Machado <luisgpm@br.ibm.com>
26992
26993 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26994 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26995
c0dde15b
UD
269962010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26997
26998 [BZ #12191]
26999 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27000 (__x86_64_raw_data_cache_size_half): Likewise.
27001 (__x86_64_raw_shared_cache_size): Likewise.
27002 (__x86_64_raw_shared_cache_size_half): Likewise.
27003
27004 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27005 (__x86_64_raw_data_cache_size_half): Likewise.
27006 (__x86_64_raw_shared_cache_size): Likewise.
27007 (__x86_64_raw_shared_cache_size_half): Likewise.
27008 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27009 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27010 and __x86_64_raw_shared_cache_size_half. Round
27011 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27012 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27013 to multiple of 256 bytes.
27014
0e516e0e
MS
270152010-11-03 Ulrich Drepper <drepper@gmail.com>
27016
27017 [BZ #12167]
27018 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27019 of inacessible symlinks. Verify result of symlink before returning it.
27020 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27021 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27022
0e012e87
ER
270232010-10-28 Erich Ritz <erichritz@gmail.com>
27024
27025 * math/math.h (isinf): Fix typo in comment.
27026
de0ff7bc
UD
270272010-11-01 Ulrich Drepper <drepper@gmail.com>
27028
27029 * po/da.po: Update from translation team.
27030
fa41c84d
UD
270312010-10-26 Ulrich Drepper <drepper@gmail.com>
27032
27033 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27034 is added to the list.
27035
f0967738
AK
270362010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27037 Ulrich Drepper <drepper@gmail.com>
27038
27039 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27040 the global list here. Move code to...
27041 (_dl_add_to_namespace_list): ...here. New function.
27042 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27043 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27044 * elf/dl-load.c (lose): Don't remove the element from the list.
27045 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27046 (_dl_map_object): Likewise.
27047
270482010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27049
27050 [BZ #12159]
27051 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27052 into all bytes of SSE register.
27053 Patch by Richard Li <richardpku@gmail.com>.
27054
f0967738 270552010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27056
27057 [BZ #12140]
27058 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27059 perturbing.
27060
d0b9e94f
MB
270612010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27062
27063 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27064 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27065 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27066 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27068 submachine.
27069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27070
8e9f92e9
AS
270712010-10-22 Andreas Schwab <schwab@redhat.com>
27072
27073 * include/dlfcn.h (__RTLD_SECURE): Define.
27074 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27075 mode & __RTLD_SECURE instead.
27076 (open_path): Rename preloaded parameter to secure.
27077 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27078 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27079 * elf/dl-deps.c (openaux): Likewise.
27080 * elf/rtld.c (struct map_args): Remove is_preloaded.
27081 (map_doit): Don't use it.
27082 (dl_main): Likewise.
27083 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27084 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27085
bc96fbda
AS
270862010-09-09 Andreas Schwab <schwab@redhat.com>
27087
27088 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27089 (sysd-rules-targets): Remove duplicates.
27090 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27091 rtld-%.$o dependency.
27092
22cd1c9b
AS
270932010-10-18 Andreas Schwab <schwab@redhat.com>
27094
27095 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27096 _dl_map_object do it.
27097
18edac48
UD
270982010-10-19 Ulrich Drepper <drepper@gmail.com>
27099
27100 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27101 fast fma builtins, define the macros in the C99 standard.
27102 (FP_FAST_FMAF): Likewise.
27103 (FP_FAST_FMAL): Likewise.
27104 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27105
27106 * bits/mathdef.h: Update copyright year.
27107 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27108
d2050124
MM
271092010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27110
27111 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27112 builtins, define the macros in the C99 standard.
27113 (FP_FAST_FMAF): Likewise.
27114 (FP_FAST_FMAL): Likewise.
27115 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27116 multiply/add.
27117 (FP_FAST_FMAF): Likewise.
27118
475facd1
JJ
271192010-10-15 Jakub Jelinek <jakub@redhat.com>
27120
27121 [BZ #3268]
27122 * math/libm-test.inc (fma_test): Some new testcases.
27123 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27124 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27125 y and infinite z. Do multiplication by C already in long double.
27126 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27128 y and infinite z. Do bitwise or of inexact bit into u.d.
27129 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27130 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27131 * sysdeps/i386/fpu/s_fma.S: Removed.
27132 * sysdeps/i386/fpu/s_fmal.S: Removed.
27133
7c08a05c
JJ
271342010-10-16 Jakub Jelinek <jakub@redhat.com>
27135
27136 [BZ #3268]
27137 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27139 computation is not scheduled after fetestexcept. Fix value
27140 of minimum denormal long double.
27141
f3f7372d
JJ
271422010-10-14 Jakub Jelinek <jakub@redhat.com>
27143
27144 [BZ #3268]
27145 * math/libm-test.inc (fma_test): Add some more tests.
27146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27147 correctly.
27148
14d43591
AS
271492010-10-15 Andreas Schwab <schwab@redhat.com>
27150
27151 * scripts/data/localplt-s390-linux-gnu.data: New file.
27152 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27153
5e908464
JJ
271542010-10-13 Jakub Jelinek <jakub@redhat.com>
27155
27156 [BZ #3268]
27157 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27158 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27159 instead of dbl-64.
27160 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27161 inlines.
27162 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27164 if one of x and y is very large and the other is subnormal.
27165 * sysdeps/s390/fpu/s_fmaf.c: New file.
27166 * sysdeps/s390/fpu/s_fma.c: New file.
27167 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27168 * sysdeps/powerpc/fpu/s_fma.S: New file.
27169 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27170 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27171 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27172
271732010-10-12 Jakub Jelinek <jakub@redhat.com>
27174
27175 [BZ #3268]
27176 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27177 fma tests.
27178 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27179 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27180 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27181 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27182 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27183 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27184 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27185
b833d51f
UD
271862010-10-12 Ulrich Drepper <drepper@redhat.com>
27187
27188 [BZ #12078]
27189 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27190 * posix/bug-regex31.input: Add test case.
27191
1751705d
UD
271922010-10-11 Ulrich Drepper <drepper@gmail.com>
27193
e9b9cbf5
UD
27194 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27195 * posix/bug-regex31.input: New file.
27196
27197 [BZ #12078]
27198 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27199 (parse_sub_exp): Fix last change, use postorder.
27200
ef06edbe
UD
27201 * posix/bug-regex31.c: New file.
27202 * posix/Makefile: Add rules to build and run bug-regex31.
27203
a129c80d
UD
27204 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27205
27206 [BZ #12078]
27207 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27208
b76b818e
UD
27209 [BZ #12108]
27210 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27211 to have entries in sys_siglist.
27212
1751705d
UD
27213 [BZ #12093]
27214 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27215 be NULL.
27216
9ff8d36f
JJ
272172010-10-07 Jakub Jelinek <jakub@redhat.com>
27218
27219 [BZ #3268]
27220 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27221 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27222 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27223 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27224 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27225 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27226 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27227 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27228 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27229 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27230 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27231 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27232 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27233 * math/ftestexcept.c (fetestexcept): Likewise.
27234 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27235 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27236 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27237 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27238 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27239 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27240 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27241
af325969
UD
272422010-10-11 Ulrich Drepper <drepper@gmail.com>
27243
c579b202 27244 [BZ #12107]
af325969
UD
27245 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27246 newline.
27247
67a67b95
UD
272482010-10-06 Ulrich Drepper <drepper@gmail.com>
27249
27250 * string/bug-strstr1.c: New file.
27251 * string/Makefile: Add rules to build and run bug-strstr1.
27252
5fb308bc
EB
272532010-10-05 Eric Blake <eblake@redhat.com>
27254
27255 [BZ #12092]
27256 * string/str-two-way.h (two_way_long_needle): Always clear memory
27257 when skipping input due to the shift table.
27258
45db99c7
UD
272592010-10-03 Ulrich Drepper <drepper@gmail.com>
27260
3b111893
UD
27261 [BZ #12005]
27262 * malloc/mcheck.c: Handle large requests.
27263
45db99c7
UD
27264 [BZ #12077]
27265 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27266 for strncmp and strncasecmp.
27267 * string/stratcliff.c: Add tests for strcmp and strncmp.
27268 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27269
cf7a1eb8
NI
272702010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27271
27272 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27273 __set_fpscr.
27274
6484ba5e
AJ
272752010-09-30 Andreas Jaeger <aj@suse.de>
27276
27277 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27278 (CGROUP_SUPER_MAGIC): Define.
27279 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27280 Handle btrfs and cgroup file systems.
27281 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27282 Likewise.
27283
91c42559
LM
272842010-09-27 Luis Machado <luisgpm@br.ibm.com>
27285
27286 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27287 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27288
87a97932
AK
272892010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27290
27291 [BZ #12067]
27292 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27293 trying to locate the ELF header.
27294
c21cc9bc
AS
272952010-09-27 Andreas Schwab <schwab@redhat.com>
27296
27297 [BZ #11611]
27298 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27299 Mask out sign-bit copies when constructing f_fsid.
27300
315970f6
PB
273012010-09-24 Petr Baudis <pasky@suse.cz>
27302
27303 * debug/stack_chk_fail_local.c: Add missing licence exception.
27304 * debug/warning-nop.c: Likewise.
27305
1ac7a2c7
JM
273062010-09-15 Joseph Myers <joseph@codesourcery.com>
27307
27308 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27309 implementing getdents64 using getdents syscall, set d_type if
27310 __ASSUME_GETDENTS32_D_TYPE.
27311
56801c50
AS
273122010-09-16 Andreas Schwab <schwab@redhat.com>
27313
27314 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27315 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27316
dda51327
UD
273172010-09-21 Ulrich Drepper <drepper@redhat.com>
27318
27319 [BZ #12037]
27320 * posix/unistd.h: Undo change of feature selection for ftruncate from
27321 2010-01-11.
27322
8ffcee4a
UD
273232010-09-20 Ulrich Drepper <drepper@redhat.com>
27324
a545ecd9 27325 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27326 detection.
27327
e24f0a8b
AS
273282010-09-20 Andreas Schwab <schwab@redhat.com>
27329
27330 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27331 fanotify_mark.
27332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27333
7291c56f
AS
273342010-09-14 Andreas Schwab <schwab@redhat.com>
27335
27336 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27337 variables after CHECK_SP call.
27338 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27339
bc5fb037
AS
273402010-09-13 Andreas Schwab <schwab@redhat.com>
27341 Ulrich Drepper <drepper@redhat.com>
27342
27343 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27344 re-relocationg ld.so.
27345 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27346 _dl_init_paths call.
27347 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27348 here anymore.
27349
e66e7419
UD
273502010-09-14 Ulrich Drepper <drepper@redhat.com>
27351
27352 * resolv/res_init.c (__res_vinit): Count the default server we added.
27353
c044aa75
CLT
273542010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27355 Ulrich Drepper <drepper@redhat.com>
27356
27357 [BZ #11968]
27358 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27359 (____longjmp_chk): Use %ebx for saving value across system call.
27360 Add unwind info.
27361
32cf4069
AS
273622010-09-06 Andreas Schwab <schwab@redhat.com>
27363
27364 * manual/Makefile: Don't mix pattern rules with normal rules.
27365
817328ee
AS
273662010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27367
27368 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27369 operation.
27370 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27371 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27372 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27373 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27375 Likewise.
27376
29fddf61
UD
273772010-09-04 Ulrich Drepper <drepper@redhat.com>
27378
27379 [BZ #11979]
27380 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27381 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27382
0959ffc9
UD
273832010-09-02 Ulrich Drepper <drepper@redhat.com>
27384
27385 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27386 * sysdeps/x86_64/addmul_1.S: Likewise.
27387 * sysdeps/x86_64/lshift.S: Likewise.
27388 * sysdeps/x86_64/mul_1.S: Likewise.
27389 * sysdeps/x86_64/rshift.S: Likewise.
27390 * sysdeps/x86_64/sub_n.S: Likewise.
27391 * sysdeps/x86_64/submul_1.S: Likewise.
27392
ece29840
ST
273932010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27394
0959ffc9
UD
27395 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27396 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27397 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27398 * bits/sched.h [__need_schedparam]
ece29840 27399 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27400 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27401 (__defined_schedparam): Define to 1.
ece29840
ST
27402 (__sched_param): New structure, identical to sched_param.
27403 (__need_schedparam): Undefine.
27404
e53a31fe
MF
274052010-08-31 Mike Frysinger <vapier@gentoo.org>
27406
fdc0c10d
MF
27407 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27408 (epoll_create1): Declare.
27409
e53a31fe
MF
27410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27411
a726d796
AS
274122010-08-31 Andreas Schwab <schwab@redhat.com>
27413
27414 [BZ #7066]
27415 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27416 shifting retval into place.
27417
2f3e3dc7
UD
274182010-09-01 Ulrich Drepper <drepper@redhat.com>
27419
f2933da9
UD
27420 * nis/rpcsvc/nis.h: Update copyright notice.
27421 * nis/rpcsvc/nis.x: Likewise.
27422 * nis/rpcsvc/nis_callback.h: Likewise.
27423 * nis/rpcsvc/nis_callback.x: Likewise.
27424 * nis/rpcsvc/nis_object.x: Likewise.
27425 * nis/rpcsvc/nis_tags.h: Likewise.
27426 * nis/rpcsvc/yp.h: Likewise.
27427 * nis/rpcsvc/yp.x: Likewise.
27428 * nis/rpcsvc/ypupd.h: Likewise.
27429 * nis/yp_xdr.c: Likewise.
27430 * nis/ypupdate_xdr.c: Likewise.
27431
2f3e3dc7
UD
27432 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27433 mainly the body of pmap_getport. Add parameters to specify timeouts.
27434 (pmap_getport): Use __libc_rpc_getport.
27435 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27436 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27437 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27438
f3dcc2f9
AS
274392010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27440
27441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27442 fanotify_mark.
27443
6d34eb5b
RM
274442010-08-27 Roland McGrath <roland@redhat.com>
27445
27446 * sysdeps/i386/i686/multiarch/Makefile
27447 (CFLAGS-varshift.c): New variable.
27448
9ea3de11
UD
274492010-08-27 Ulrich Drepper <drepper@redhat.com>
27450
c96d23fc
UD
27451 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27452 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27453
9ea3de11
UD
27454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27455
27456 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27457
623aac7f
L
274582010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27459
27460 * sysdeps/x86_64/strlen.S: Unroll the loop.
27461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27462 strlen-sse2 strlen-sse2-bsf.
27463 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27464 __strlen_no_bsf if bit_Slow_BSF is set.
27465 (__strlen_sse42): Removed.
27466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27467 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27468
8b2b7715
RM
274692010-08-25 Roland McGrath <roland@redhat.com>
27470
27471 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27472 * sysdeps/x86_64/multiarch/varshift.c: New file.
27473 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27474 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27475 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27476 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27477
e73015f2
L
274782010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27479
27480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27481 strlen-sse2 strlen-sse2-bsf.
27482 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27483 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27484 (__strlen_sse2): Removed.
27485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27488 bit_Slow_BSF for Atom.
27489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27490 (index_Slow_BSF): Define.
27491 (HAS_SLOW_BSF): Define.
27492
df24a73e
UD
274932010-08-25 Ulrich Drepper <drepper@redhat.com>
27494
27495 [BZ #10851]
27496 * resolv/res_init.c (__res_vinit): When no server address at all
27497 is given default to loopback.
27498
f2ac4868
RM
274992010-08-24 Roland McGrath <roland@redhat.com>
27500
09055553
RM
27501 * configure.in: Remove config-name.h generation.
27502 * configure: Regenerated.
27503 * config-name.in: File removed.
27504 * scripts/config-uname.sh: New file.
27505 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27506 ($(objdir)config-name.h): New target.
27507
f2ac4868
RM
27508 * sunrpc/rpc_parse.h: Avoid nested comment.
27509
73f27d5e
RH
275102010-08-24 Richard Henderson <rth@redhat.com>
27511 Ulrich Drepper <drepper@redhat.com>
27512 H.J. Lu <hongjiu.lu@intel.com>
27513
27514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27516 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27517 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27518 _mm_alignr_epi8 with _mm_loadu_si128.
27519 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27520 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27521 (__m128i_shift_right): Removed.
27522 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27523 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27524 * sysdeps/x86_64/multiarch/varshift.h: New file.
27525 * sysdeps/x86_64/multiarch/varshift.S: New file.
27526
84b9230c
MF
275272010-08-21 Mike Frysinger <vapier@gentoo.org>
27528
27529 * configure.in: Move assembler checks to before sysdep dir checking.
27530
9bbd0ddc
PB
275312010-08-20 Petr Baudis <pasky@suse.cz>
27532
27533 * LICENSES: Sync the sunrpc license.
27534
9da4bb31
UD
275352010-08-19 Ulrich Drepper <drepper@redhat.com>
27536
a7ab6ec8
UD
27537 * sunrpc/auth_des.c: Update copyright notice once again.
27538 * sunrpc/auth_none.c: Likewise.
27539 * sunrpc/auth_unix.c: Likewise.
27540 * sunrpc/authdes_prot.c: Likewise.
27541 * sunrpc/authuxprot.c: Likewise.
27542 * sunrpc/bindrsvprt.c: Likewise.
27543 * sunrpc/clnt_gen.c: Likewise.
27544 * sunrpc/clnt_perr.c: Likewise.
27545 * sunrpc/clnt_raw.c: Likewise.
27546 * sunrpc/clnt_simp.c: Likewise.
27547 * sunrpc/clnt_tcp.c: Likewise.
27548 * sunrpc/clnt_udp.c: Likewise.
27549 * sunrpc/clnt_unix.c: Likewise.
27550 * sunrpc/des_crypt.c: Likewise.
27551 * sunrpc/des_soft.c: Likewise.
27552 * sunrpc/get_myaddr.c: Likewise.
27553 * sunrpc/getrpcport.c: Likewise.
27554 * sunrpc/key_call.c: Likewise.
27555 * sunrpc/key_prot.c: Likewise.
27556 * sunrpc/openchild.c: Likewise.
27557 * sunrpc/pm_getmaps.c: Likewise.
27558 * sunrpc/pm_getport.c: Likewise.
27559 * sunrpc/pmap_clnt.c: Likewise.
27560 * sunrpc/pmap_prot.c: Likewise.
27561 * sunrpc/pmap_prot2.c: Likewise.
27562 * sunrpc/pmap_rmt.c: Likewise.
27563 * sunrpc/rpc/auth.h: Likewise.
27564 * sunrpc/rpc/auth_unix.h: Likewise.
27565 * sunrpc/rpc/clnt.h: Likewise.
27566 * sunrpc/rpc/des_crypt.h: Likewise.
27567 * sunrpc/rpc/key_prot.h: Likewise.
27568 * sunrpc/rpc/netdb.h: Likewise.
27569 * sunrpc/rpc/pmap_clnt.h: Likewise.
27570 * sunrpc/rpc/pmap_prot.h: Likewise.
27571 * sunrpc/rpc/pmap_rmt.h: Likewise.
27572 * sunrpc/rpc/rpc.h: Likewise.
27573 * sunrpc/rpc/rpc_des.h: Likewise.
27574 * sunrpc/rpc/rpc_msg.h: Likewise.
27575 * sunrpc/rpc/svc.h: Likewise.
27576 * sunrpc/rpc/svc_auth.h: Likewise.
27577 * sunrpc/rpc/types.h: Likewise.
27578 * sunrpc/rpc/xdr.h: Likewise.
27579 * sunrpc/rpc_clntout.c: Likewise.
27580 * sunrpc/rpc_cmsg.c: Likewise.
27581 * sunrpc/rpc_common.c: Likewise.
27582 * sunrpc/rpc_cout.c: Likewise.
27583 * sunrpc/rpc_dtable.c: Likewise.
27584 * sunrpc/rpc_hout.c: Likewise.
27585 * sunrpc/rpc_main.c: Likewise.
27586 * sunrpc/rpc_parse.c: Likewise.
27587 * sunrpc/rpc_parse.h: Likewise.
27588 * sunrpc/rpc_prot.c: Likewise.
27589 * sunrpc/rpc_sample.c: Likewise.
27590 * sunrpc/rpc_scan.c: Likewise.
27591 * sunrpc/rpc_scan.h: Likewise.
27592 * sunrpc/rpc_svcout.c: Likewise.
27593 * sunrpc/rpc_tblout.c: Likewise.
27594 * sunrpc/rpc_util.c: Likewise.
27595 * sunrpc/rpc_util.h: Likewise.
27596 * sunrpc/rpcinfo.c: Likewise.
27597 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27598 * sunrpc/rpcsvc/key_prot.x: Likewise.
27599 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27600 * sunrpc/rpcsvc/mount.x: Likewise.
27601 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27602 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27603 * sunrpc/rpcsvc/rex.x: Likewise.
27604 * sunrpc/rpcsvc/rstat.x: Likewise.
27605 * sunrpc/rpcsvc/rusers.x: Likewise.
27606 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27607 * sunrpc/rpcsvc/spray.x: Likewise.
27608 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27609 * sunrpc/rtime.c: Likewise.
27610 * sunrpc/svc.c: Likewise.
27611 * sunrpc/svc_auth.c: Likewise.
27612 * sunrpc/svc_authux.c: Likewise.
27613 * sunrpc/svc_raw.c: Likewise.
27614 * sunrpc/svc_run.c: Likewise.
27615 * sunrpc/svc_simple.c: Likewise.
27616 * sunrpc/svc_tcp.c: Likewise.
27617 * sunrpc/svc_udp.c: Likewise.
27618 * sunrpc/svc_unix.c: Likewise.
27619 * sunrpc/svcauth_des.c: Likewise.
27620 * sunrpc/xcrypt.c: Likewise.
27621 * sunrpc/xdr.c: Likewise.
27622 * sunrpc/xdr_array.c: Likewise.
27623 * sunrpc/xdr_float.c: Likewise.
27624 * sunrpc/xdr_mem.c: Likewise.
27625 * sunrpc/xdr_rec.c: Likewise.
27626 * sunrpc/xdr_ref.c: Likewise.
27627 * sunrpc/xdr_sizeof.c: Likewise.
27628 * sunrpc/xdr_stdio.c: Likewise.
27629
9da4bb31
UD
27630 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27631 handling.
27632
bdaa77bc
AS
276332010-08-19 Andreas Schwab <schwab@redhat.com>
27634
27635 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27636
fe2f79db
LM
276372010-08-19 Luis Machado <luisgpm@br.ibm.com>
27638
27639 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27640 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27641 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27642 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27643 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27644 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27645 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27646 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27647 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27648 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27649 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27650 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27651 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27652 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27653
b9b42ee0
AB
276542010-07-26 Anton Blanchard <anton@samba.org>
27655
27656 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27657 * malloc/arena.c (heap_trim): Likewise.
27658
1c06ba31
UD
276592010-08-16 Ulrich Drepper <drepper@redhat.com>
27660
27661 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27662 here. Not...
27663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27664 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27665
f8392f40
L
276662010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27667
27668 * sysdeps/i386/elf/Makefile: New file.
27669
3162f12e
AS
276702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27671
27672 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27673 from fanotify_init.
27674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27676
28c90b2c
UD
276772010-08-15 Ulrich Drepper <drepper@redhat.com>
27678
27679 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27680 of strncasecmp_l.
1feccb6c 27681 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27682
ca6bb004
UD
276832010-08-14 Ulrich Drepper <drepper@redhat.com>
27684
e9f82e0d
UD
27685 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27686 strncase_l-nonascii.
27687 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27688 Add strncase_l-ssse3.
27689 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27690 * sysdeps/x86_64/strcmp.S: Likewise.
27691 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27692 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27693 * sysdeps/x86_64/strncase.S: New file.
27694 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27695 * sysdeps/x86_64/strncase_l.S: New file.
27696 * string/Makefile (strop-tests): Add strncasecmp.
27697 * string/test-strncasecmp.c: New file.
27698
27699 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27700 warning.
27701
ca6bb004
UD
27702 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27703 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27704
052fa7b3
AS
277052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27706
27707 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27708
962dba78
UD
277092010-08-12 Ulrich Drepper <drepper@redhat.com>
27710
27711 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27713 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27714
bebff237
AM
277152010-05-01 Alan Modra <amodra@gmail.com>
27716
27717 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27718 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27719 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27720 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27721 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27722 tidying. Don't tail-call __sigjmp_save for static lib.
27723 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27724 save location.
27725 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27726 (CALL_MCOUNT): Add eh info, and nop after bl.
27727 (TAIL_CALL_SYSCALL_ERROR): New macro.
27728 (PSEUDO_RET): Use it.
27729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27730 Correct save location of integer regs and cr.
27731 (_dl_profile_resolve): Correct cr save location. Delete nops
27732 after bl when SHARED. Reduce cfi size a little by better
27733 placement of cfi directives.
27734 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27735 make a stack frame. Instead use parm save area as a temp.
27736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27737 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27739 Don't make a stack frame for parent, use parm save area.
27740 Increase child stack frame to 112 bytes. Don't save unused reg,
27741 and adjust reg usage. Set up cfi on error recovery and
27742 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27744 (__makecontext): Add dummy nop after jump to exit.
27745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27746 Use correct parm save area and cr save, reduce stack frame.
27747 Correct cfi for possible PSEUDO_RET frame setup.
27748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27749 Branch to local label emitted by PSEUDO_RET rather than
27750 __syscall_error.
27751
02637374
AS
277522010-08-12 Andreas Schwab <schwab@redhat.com>
27753
27754 [BZ #11904]
27755 * locale/programs/locale.c (print_assignment): New function.
27756 (show_locale_vars): Use it.
27757
c3e2f19b
UD
277582010-08-11 Ulrich Drepper <drepper@redhat.com>
27759
3cdaa6ad
UD
27760 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27761 field.
27762 (struct statfs64): Likewise.
27763 (_STATFS_F_FLAGS): Define.
27764 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27765 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27766 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27767 (ST_VALID): Define locally.
27768 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27769 __statvfs_getflags, use the provided value.
27770 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27771 __ASSUME_STATFS_F_FLAGS.
27772
754f7da3
UD
27773 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27774
10b3bedc
UD
27775 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27776 Add sys/fanotify.h.
27777 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27778 fanotify_mask for GLIBC_2.13.
27779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27780 fanotify_init and fanotify_mark.
27781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27782 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27783
c08fb0d7
UD
27784 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27785 Add prlimit.
27786 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27787 prlimit64 for GLIBC_2.13.
27788 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27789 prlimit64.
27790 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27791 syscall.
27792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27793 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27794 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27795 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27797 add prlimit alias.
27798 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27799
15bac72b
UD
27800 [BZ #11903]
27801 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27802 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27803
c3e2f19b
UD
27804 * nss/Makefile: Add rules to build and run tst-nss-test1.
27805 * shlib-versions: Add entry for libnss_test1.
27806 * nss/nss_test1.c: New file.
27807 * nss/tst-nss-test1.c: New file.
27808
27809 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27810 (__nss_configure_lookup): Set appropriate entry in
27811 __nss_configure_lookup to true.
27812 * nss/nsswitch.h: Define enum with indeces of databases in
27813 databases and __nss_database_custom arrays. Declare
27814 __nss_database_custom.
27815 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27816 to avoid using nscd when custom rules are installed.
27817 * nss/getXXbyYY_r.c: Likewise.
27818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27819
27820 * nss/nss_files/files-parse.c: Whitespace fixes.
27821
f15ce4d8
UD
278222010-08-09 Ulrich Drepper <drepper@redhat.com>
27823
27824 [BZ #11883]
27825 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27826 * posix/fnmatch_loop.c: Likewise.
27827
d22e4cc9
AK
278282010-07-17 Andi Kleen <ak@linux.intel.com>
27829
27830 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27831 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27832 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27833 * Versions.def [GLIBC_2.13]: Add.
27834
805bc17d
UD
278352010-08-06 Ulrich Drepper <drepper@redhat.com>
27836
27837 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27838 Also fail if tpwd after pwuid call is NULL.
27839
5a42321d
ST
278402010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27841
27842 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27843 when converting to ms.
27844
fd3ebeda
ST
278452010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27846
27847 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27848 EOPNOTSUPP errors with ENOTTY.
27849 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27850 EOPNOTSUPP errors with ENOTTY.
27851
73507d3a
UD
278522010-07-31 Ulrich Drepper <drepper@redhat.com>
27853
27854 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27855 Add strcasecmp_l-ssse3.
27856 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27857 strcasecmp.
27858 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27859 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27860 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27861
fe36dd02
UD
278622010-07-30 Ulrich Drepper <drepper@redhat.com>
27863
66f6765a
UD
27864 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27865
42e08a54
UD
27866 * string/Makefile (strop-tests): Add strcasecmp.
27867 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27868 strcasecmp_l-nonascii.
27869 (gen-as-const-headers): Add locale-defines.sym.
27870 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27871 * sysdeps/x86_64/strcasecmp.S: New file.
27872 * sysdeps/x86_64/strcasecmp_l.S: New file.
27873 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27874 * sysdeps/x86_64/locale-defines.sym: New file.
27875 * string/test-strcasecmp.c: New file.
27876
fe36dd02
UD
27877 * string/test-strcasestr.c: Test both ends of the range of characters.
27878 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27879
48cbc0d6
RM
278802010-07-29 Roland McGrath <roland@redhat.com>
27881
76e6d6bc 27882 [BZ #11856]
48cbc0d6
RM
27883 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27884
880113d9
UD
278852010-07-27 Ulrich Drepper <drepper@redhat.com>
27886
27887 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27888 for ld.so.
27889
deb9cabb
AS
278902010-07-27 Andreas Schwab <schwab@redhat.com>
27891
27892 * manual/memory.texi (Malloc Tunable Parameters): Document
27893 M_PERTURB.
27894
1c7570ff
RM
278952010-07-26 Roland McGrath <roland@redhat.com>
27896
27897 [BZ #11840]
27898 * configure.in (-fgnu89-inline check): Set and substitute
27899 gnu89_inline, not libc_cv_gnu89_inline.
27900 * configure: Regenerated.
27901 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27902
24fb0f88
UD
279032010-07-26 Ulrich Drepper <drepper@redhat.com>
27904
27905 * string/test-strnlen.c: New file.
27906 * string/Makefile (strop-tests): Add strnlen.
27907 * string/tester.c (test_strnlen): Add a few more test cases.
27908 * string/tst-strlen.c: Better error reporting.
27909
27910 * sysdeps/x86_64/strnlen.S: New file.
27911
8e96b93a
UD
279122010-07-24 Ulrich Drepper <drepper@redhat.com>
27913
27914 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27915 lower-latency instructions.
27916
dbc676d4
UD
279172010-07-23 Ulrich Drepper <drepper@redhat.com>
27918
27919 * string/test-strcasestr.c: New file.
27920 * string/test-strstr.c: New file.
27921 * string/Makefile (strop-tests): Add strstr and strcasestr.
27922 * string/str-two-way.h: Don't undefine MAX.
27923 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27924
f6a31e0e
AS
279252010-07-21 Andreas Schwab <schwab@redhat.com>
27926
27927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27928 strcasestr-nonascii.
27929 (CFLAGS-strcasestr-nonascii.c): Define.
27930 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27932 Remove unused attribute.
27933
5dbc3b6c
RM
279342010-07-20 Roland McGrath <roland@redhat.com>
27935
27936 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27937 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27938 ld.so.cache was broken. With it, there is no way to disable dsocaps
27939 like LD_HWCAP_MASK can disable hwcaps.
27940
23d101d8
EPM
279412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27942
27943 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27944
cc9f2e47
UD
279452010-07-16 Ulrich Drepper <drepper@redhat.com>
27946
27947 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27948 call in strcasestr.
27949 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27950 __strcasestr_sse42_nonascii.
27951 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27952 strcasestr-nonascii.c.
27953 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27954
77c1b069
LM
279552010-06-15 Luis Machado <luisgpm@br.ibm.com>
27956
27957 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27958 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27959 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27960 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27961
440566c3
UD
279622010-07-09 Ulrich Drepper <drepper@redhat.com>
27963
27964 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27965 fcntl.
27966
5be9d05d
AS
279672010-07-06 Andreas Schwab <schwab@redhat.com>
27968
c30b7ee2 27969 [BZ #11577]
5be9d05d
AS
27970 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27971 dl_signal_cerror.
27972
8a492a67
UD
279732010-07-06 Ulrich Drepper <drepper@redhat.com>
27974
27975 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27976 _PC_PIPE_BUF using F_GETPIPE_SZ.
27977
713df3d5
RM
279782010-07-05 Roland McGrath <roland@redhat.com>
27979
27980 * manual/arith.texi (Rounding Functions): Fix rint description
27981 implicit in round description.
27982
702e8f14
UD
279832010-07-02 Ulrich Drepper <drepper@redhat.com>
27984
27985 * elf/Makefile: Fix linking for a few tests to make recent linker
27986 happy.
27987
52ed8be9
AS
279882010-06-30 Andreas Schwab <schwab@redhat.com>
27989
27990 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27991 $(common-objpfx)libc_nonshared.a.
27992
f47c9a11
LM
279932010-06-21 Luis Machado <luisgpm@br.ibm.com>
27994
27995 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27996 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27997 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27998 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27999 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28001 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28002 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28017 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28018 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28019 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28020 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28021 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28022 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28023 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28024 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28025 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28026 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28027 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28028 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28043
6fb8cbcb
L
280442010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28045
28046 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28047 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28048 * string/memmove.c (memmove): Renamed to ...
28049 (MEMMOVE): ...this. Default to memmove.
28050 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28051 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28052 (END_CHK): Define.
28053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28054 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28055 mempcpy-ssse3-back memmove-ssse3-back.
28056 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28057 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28058 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28059 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28060 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28061 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28062 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28063 * sysdeps/x86_64/multiarch/memmove.c: New file.
28064 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28065 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28066 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28067 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28068 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28069 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28070 Define.
28071 (index_Fast_Copy_Backward): Define.
28072 (HAS_ARCH_FEATURE): Define.
28073 (HAS_FAST_REP_STRING): Define.
28074 (HAS_FAST_COPY_BACKWARD): Define.
28075
4e733bac 280762010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28077
28078 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28079 Restore proper fallback handling.
28080
63c4ed22
UD
280812010-06-19 Ulrich Drepper <drepper@redhat.com>
28082
ac2b484c
UD
28083 [BZ #11701]
28084 * posix/group_member.c (__group_member): Correct checking loop.
28085
63c4ed22
UD
28086 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28087 OOM in getpwuid_r correctly. Return error number when the caller
28088 should return, otherwise -1.
28089 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28090 call returning > 0 value.
28091 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28092
765ade4b
AS
280932010-06-07 Andreas Schwab <schwab@redhat.com>
28094
28095 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28096 libc_nonshared.a from targets in modules-names.
28097
80da2e09
KS
280982010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28099
28100 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28101 requires it.
28102
158db122
LM
281032010-06-10 Luis Machado <luisgpm@br.ibm.com>
28104
28105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28106 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28108 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28109
caa78cf8
AS
281102010-06-02 Andreas Schwab <schwab@redhat.com>
28111
28112 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28113
b2ef2c01
UD
281142010-06-14 Ulrich Drepper <drepper@redhat.com>
28115
28116 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28117 and F_GETPIPE_SZ.
28118 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28123 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28124
fbd643b6
RM
281252010-06-14 Roland McGrath <roland@redhat.com>
28126
28127 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28128
f32f2869
JJ
281292010-06-07 Jakub Jelinek <jakub@redhat.com>
28130
28131 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28132 __REDIRECT followed by __THROW.
28133 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28134 * posix/getopt.h (getopt): Likewise.
28135
2a50c078
EPM
281362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28137
28138 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28139 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28140 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28141 in AT_FLAGS.
28142 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28143 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28144
eb5ad2eb
LM
281452010-05-28 Luis Machado <luisgpm@br.ibm.com>
28146
28147 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28148
3c88fe1e
L
281492010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28150
28151 [BZ #11640]
28152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28153 Properly check family and model.
28154
d2f73151
TY
281552010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28156
28157 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28158
ebd2e13d
LM
281592010-05-24 Luis Machado <luisgpm@br.ibm.com>
28160
28161 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28162
b32b8b45
UD
281632010-05-21 Ulrich Drepper <drepper@redhat.com>
28164
28165 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28166 symbol reference.
28167
9acbe24d
AS
281682010-05-19 Andreas Schwab <schwab@redhat.com>
28169
28170 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28171 symbol reference.
28172
f0ccf6ea
AS
281732010-05-21 Andreas Schwab <schwab@redhat.com>
28174
3d04ff3a
AS
28175 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28176 and internal_recvmmsg.
28177 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28178 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28179 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28180 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28181
f0ccf6ea
AS
28182 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28183 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28184 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28185
5b08ac57
AS
281862010-05-20 Andreas Schwab <schwab@redhat.com>
28187
28188 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28189
4828935d
LM
281902010-05-17 Luis Machado <luisgpm@br.ibm.com>
28191
28192 POWER7 optimizations.
28193 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28194 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28195
373d545e
UD
281962010-05-19 Ulrich Drepper <drepper@redhat.com>
28197
28198 * version.h: Update for 2.13 development version.
28199
21a2b1ae
AS
282002010-05-12 Andrew Stubbs <ams@codesourcery.com>
28201
28202 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28203 exceptions. Return 0.
28204
3f7dcb2b
RM
282052010-05-07 Roland McGrath <roland@redhat.com>
28206
28207 * elf/ldconfig.c (main): Add a const.
28208
5f24d53a 282092010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28210
a160f8d8
UD
28211 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28212 (args_options): Add no-idn option.
28213 (ahosts_keys_int): Add idn_flags to ai_flags.
28214 (parse_option): Handle 'i' option to clear idn_flags.
28215
5f24d53a
UD
28216 * malloc/malloc.c (_int_free): Possible race in the most recently
28217 added check. Only act on the data if no current modification
28218 happened.
265bb1ce
UD
28219
28220See ChangeLog.17 for earlier changes.