]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix catan, catanh missing underflows (bug 15406).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f0302940
JM
12013-04-26 Joseph Myers <joseph@codesourcery.com>
2
9457fd95
JM
3 [BZ #15406]
4 * math/s_catan.c: Include <float.h>.
5 (__catan): Ensure underflow exception occurs for underflowed
6 result.
7 * math/s_catanf.c: Include <float.h>.
8 (__catanf): Ensure underflow exception occurs for underflowed
9 result.
10 * math/s_catanh.c: Include <float.h>.
11 (__catanh): Ensure underflow exception occurs for underflowed
12 result.
13 * math/s_catanhf.c: Include <float.h>.
14 (__catanhf): Ensure underflow exception occurs for underflowed
15 result.
16 * math/s_catanhl.c: Include <float.h>.
17 (__catanhl): Ensure underflow exception occurs for underflowed
18 result.
19 * math/s_catanl.c: Include <float.h>.
20 (__catanl): Ensure underflow exception occurs for underflowed
21 result.
22 * math/libm-test.inc (catan_test): Add more tests.
23 (catanh_test): Likewise.
24
f0302940
JM
25 [BZ #15405]
26 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27 underflowed result.
28 * math/s_ccoshf.c (__ccoshf): Likewise.
29 * math/s_ccoshl.c (__ccoshl): Likewise.
30 * math/s_csin.c (__csin): Likewise.
31 * math/s_csinf.c (__csinf): Likewise.
32 * math/s_csinh.c (__csinh): Likewise.
33 * math/s_csinhf.c (__csinhf): Likewise.
34 * math/s_csinhl.c (__csinhl): Likewise.
35 * math/s_csinl.c (__csinl): Likewise.
36 * math/libm-test.inc (ccos_test): Add more tests.
37 (ccosh_test): Likewise.
38 (csin_test): Likewise.
39 (csinh_test): Likewise.
40
aa630f59
AZ
412013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42
43 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
44 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
45 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
46 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
47 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
48 powerpc/power5+/fpu folders.
49 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
50
51
1b835983
MT
522013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
53
54 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55
73709b26
JM
562013-04-25 Joseph Myers <joseph@codesourcery.com>
57
58 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
59 additions to variable.
60 [$(config-machine) = x86_64] (modules-names): Likewise.
61 ($(objpfx)tst-audit3): Remove dependency.
62 ($(objpfx)tst-audit3.out): Likewise.
63 ($(objpfx)tst-audit4): Likewise.
64 ($(objpfx)tst-audit4.out): Likewise.
65 ($(objpfx)tst-audit5): Likewise.
66 ($(objpfx)tst-audit5.out): Likewise.
67 ($(objpfx)tst-audit6): Likewise.
68 ($(objpfx)tst-audit6.out): Likewise.
69 ($(objpfx)tst-audit7): Likewise.
70 ($(objpfx)tst-audit7.out): Likewise.
71 (tst-audit3-ENV): Remove variable.
72 (tst-audit4-ENV): Likewise.
73 (tst-audit5-ENV): Likewise.
74 (tst-audit6-ENV): Likewise.
75 (tst-audit7-ENV): Likewise.
76 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
77 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
78 addition to variable.
79 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
80 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
81 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
82 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
83 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
84 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
85 tst-audit3, tst-audit4 and tst-audit5.
86 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
87 tst-audit6 and tst-audit7.
88 [$(subdir) = elf] (modules-names): Add audit modules for those
89 tests.
90 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
91 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
92 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
93 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
94 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
95 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
96 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
97 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
98 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
99 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
100 [$(subdir) = elf] (tst-audit3-ENV): New variable.
101 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
102 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
103 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
104 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
105 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
106 Likewise.
107 [$(subdir) = elf && $(config-cflags-avx) = yes]
108 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
109 [$(subdir) = elf && $(config-cflags-avx) = yes]
110 (CFLAGS-tst-auditmod4a.c): Likewise.
111 [$(subdir) = elf && $(config-cflags-avx) = yes]
112 (CFLAGS-tst-auditmod4b.c): Likewise.
113 [$(subdir) = elf && $(config-cflags-avx) = yes]
114 (CFLAGS-tst-auditmod6b.c): Likewise.
115 [$(subdir) = elf && $(config-cflags-avx) = yes]
116 (CFLAGS-tst-auditmod6c.c): Likewise.
117 [$(subdir) = elf && $(config-cflags-avx) = yes]
118 (CFLAGS-tst-auditmod7b.c): Likewise.
119 * elf/tst-audit3.c: Move to ...
120 * sysdeps/x86_64/tst-audit3.c: ... here.
121 * elf/tst-audit4.c: Move to ...
122 * sysdeps/x86_64/tst-audit4.c: ... here.
123 * elf/tst-audit5.c: Move to ...
124 * sysdeps/x86_64/tst-audit5.c: ... here.
125 * elf/tst-audit6.c: Move to ...
126 * sysdeps/x86_64/tst-audit6.c: ... here.
127 * elf/tst-audit7.c: Move to ...
128 * sysdeps/x86_64/tst-audit7.c: ... here.
129 * elf/tst-auditmod3a.c: Move to ...
130 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
131 * elf/tst-auditmod3b.c: Move to ...
132 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
133 * elf/tst-auditmod4a.c: Move to ...
134 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
135 * elf/tst-auditmod4b.c: Move to ...
136 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
137 * elf/tst-auditmod5a.c: Move to ...
138 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
139 * elf/tst-auditmod5b.c: Move to ...
140 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
141 * elf/tst-auditmod6a.c: Move to ...
142 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
143 * elf/tst-auditmod6b.c: Move to ...
144 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
145 * elf/tst-auditmod6c.c: Move to ...
146 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
147 * elf/tst-auditmod7a.c: Move to ...
148 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
149 * elf/tst-auditmod7b.c: Move to ...
150 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
151
1ef74943
PP
1522013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
153
154 [BZ #15366]
155 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
156 define unconditionally.
157 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
158 define unconditionally.
159 (INT8_C, INT16_C, etc.): Likewise.
160
93fd48c5
MR
1612013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
162
ae9552cf
MR
163 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
164 __ehdr_start with hidden visibility.
165
93fd48c5
MR
166 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
167
418601aa
CD
1682013-04-24 Carlos O'Donell <carlos@redhat.com>
169
170 * math/libm-test.inc (cos_test): Use accurate hex constants.
171 (sincost_test): Likewise.
172
2f38fbfe
JM
1732013-04-24 Joseph Myers <joseph@codesourcery.com>
174
5e221800
JM
175 * math/libm-test.inc (catan_test): Add more tests.
176 (catanh_test): Likewise.
177
77f143fd
JM
178 * math/s_catanf.c (__catanf): Use suffixed floating-point
179 constants.
180 * math/s_catanhf.c (__catanhf): Likewise.
181 * math/s_catanhl.c (__catanhl): Likewise.
182 * math/s_catanl.c (__catanl): Likewise.
183
2f38fbfe
JM
184 [BZ #15394]
185 * math/s_catan.c (__catan): Calculate imaginary part of result
186 with log1p not log unless computing log of number close to 0.
187 * math/s_catanf.c (__catanf): Likewise.
188 * math/s_catanl.c (__catanl): Likewise.
189 * math/s_catanh.c (__catanh): Calculate real part of result with
190 log1p not log unless computing log of number close to 0.
191 * math/s_catanhf.c (__catanhf): Likewise.
192 * math/s_catanhl.c (__catanhl): Likewise.
193 * math/libm-test.inc (catan_test): Add more tests.
194 (catanh_test): Likewise.
195 * sysdeps/i386/fpu/libm-test-ulps: Update.
196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
197
45d69176
SP
1982013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
199
200 * benchtests/Makefile: Mention files in which fast and slow
201 paths of math functions are implemented.
202
87f51853
RM
2032013-04-23 Roland McGrath <roland@hack.frob.com>
204
205 * sysdeps/posix/timespec_get.c: New file.
206
3c026539
AZ
2072013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
208
209 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
210 POWER.
211 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
212 for POWER.
213 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
214 powerpc/power5/fpu folders.
215 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
216 * benchtests/Makefile: Add modf testcase.
217 * benchtests/bench-modf.c: New file: Benchmark test for mo
218
ff491d14
SP
2192013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
220
221 [BZ #14888]
222 * time/Makefile (tests): Add tst-strptime-whitespace.
223 * time/strptime_l.c (get_number): Use ISSPACE.
224 (__strptime_internal): Likewise.
225 * time/tst-strptime-whitespace.c: New test case.
226
7ed3f4e8
AS
2272013-04-23 Andreas Schwab <schwab@linux-m68k.org>
228
229 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
230 member.
231 (_nss_files_init): Set it here.
232
5c95f7b6
HC
2332013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
234
235 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
236 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
237 unsigned.
238
d34c9158
JBG
2392013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
240
241 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
242
2169712d
SP
2432013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
244
245 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
246 size just once.
247
29c5de99
DM
2482013-04-21 David S. Miller <davem@davemloft.net>
249
250 * po/ru.po: Update Russion translation from translation project.
251
ccdad15d
AC
2522013-04-17 Adam Conrad <adconrad@0c3.net>
253
254 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
255 and setfsgid.
256
0f122b8d
CD
2572013-04-17 Carlos O'Donell <carlos@redhat.com>
258
5c5b07da 259 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 260 * configure: Regenerate.
5c5b07da 261 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
262 Add example to error message.
263 * sysdeps/i386/configure: Regenerate.
264
037714dd
SP
2652013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
266
267 * benchtests/Makefile (bench): Add cos, tan, slowcos and
268 slowtan.
269 * benchtests/cos-inputs: New file.
270 * benchtests/slowcos-inputs: New file.
271 * benchtests/slowcos.c: New file.
272 * benchtests/slowtan-inputs: New file.
273 * benchtests/slowtan.c: New file.
274 * benchtests/tan-inputs: New file.
275
e913141d
RM
2762013-04-16 Roland McGrath <roland@hack.frob.com>
277
278 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
279 considered kosher.
280
a2964074
SP
2812013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
282
4856bcd2
SP
283 * benchtests/Makefile: Include cppflags-iterator.mk to add
284 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
285
a2964074
SP
286 * Makefile.in (bench-clean): New target.
287 * benchtests/Makefile (bench-clean): Likewise.
288
9fbf9aca
DH
2892013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
290
291 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
292
207d1e2a
TS
2932013-04-15 Thomas Schwinge <thomas@codesourcery.com>
294
295 * stdio-common/tstdiomisc.c: Fix coding-style violation.
296
306dfba9
AS
2972013-04-15 Andreas Schwab <schwab@suse.de>
298
299 * nscd/grpcache.c (cache_addgr): Properly check for short write.
300 * nscd/initgrcache.c (addinitgroupsX): Likewise.
301 * nscd/pwdcache.c (cache_addpw): Likewise.
302 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
303 more than recsize.
304
206a6699
SP
3052013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
306
307 * benchtests/Makefile (bench): Write all output to
308 bench-out.tmp together.
309
0582f6b3
AS
3102013-04-15 Andreas Schwab <schwab@suse.de>
311
312 * nscd/nscd.c (main): Don't fork again after closing files.
313
acb4325f
SP
3142013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
315
5cb26d0a
SP
316 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
317
acb4325f
SP
318 * benchtests/Rules (bench-deps): Collect dependencies into a
319 single variable. Add Makefile to dependencies.
320 ($(objpfx)bench-%.c): Depend on bench-deps.
321
47792506
RM
3222013-04-12 Roland McGrath <roland@hack.frob.com>
323 Xavier Roche <roche+kml2@exalead.com>
324
325 [BZ #15361]
326 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
327 just that it's a file descriptor.
328 * manual/llio.texi (Synchronizing AIO Operations): Update description
329 for EBADF error from aio_fsync.
330
8fc1bee5
SP
3312013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
332
333 * Rules (bench): Move target definition...
334 * benchtests/Makefile: ... here.
335
aba5e333
CD
3362013-04-11 Carlos O'Donell <carlos@redhat.com>
337
338 * math/libm-test.inc (cos_test): Fix PI/2 test.
339 (sincos_test): Likewise.
340 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
341 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
342
273cdee8
AS
3432013-04-11 Andreas Schwab <schwab@suse.de>
344
6ecec3b6
AS
345 [BZ #13988]
346 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
347 accept exponent character only when digits were seen.
348 * stdio-common/Makefile (tests): Add bug26.
349 * stdio-common/bug26.c: New file.
350
273cdee8
AS
351 [BZ #14293]
352 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
353 non-freeable.
354
8da491f5
SP
3552013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
356
01dc6df9
SP
357 * Makeconfig (rtld-prefix): Define built linker prefix.
358 * Rules (run-bench): Use it.
359 * math/Makefile (run-regen-ulps): Likewise.
360
8da491f5
SP
361 * Rules (bench): Remove eval.
362
abe7f530
SP
3632013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
364 Roland McGrath <roland@hack.frob.com>
365 Ondrej Bilka <neleai@seznam.cz>
366
367 [BZ #15346]
368 * time/getdate.c: Include ctype.h and alloca.h.
369 (__getdate_r): Trim leading and trailing spaces of input.
370 * time/tst-getdate.c (tests): Add tests with leading and
371 trailing spaces.
372
61c23e62
RM
3732013-04-08 Roland McGrath <roland@hack.frob.com>
374
375 [BZ #14280]
376 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
377 when computing value.
378
7208a313
CD
3792013-04-06 Carlos O'Donell <carlos@redhat.com>
380
085b2d41
CD
381 * math/README.libm-test (How can I generate "libm-test-ulps"?):
382 Use testrun.sh to run libm tests.
383
7208a313
CD
384 [BZ #15309]
385 * elf/dl-open.c (dl_open_worker): memset all of seen array.
386
872c0acd
MM
3872013-04-06 Marko Myllynen <myllynen@redhat.com>
388
389 [BZ #15264]
390 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
391
26510bdd
CD
3922013-04-06 Carlos O'Donell <carlos@redhat.com>
393
394 * Makefile.in (regen-ulps): New target.
395 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
396 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
397 [ifneq (no,$(PERL)] (regen-ulps): New target.
398 [ifeq (no,$(PERL)] (regen-ulps): New target.
399 * math/libm-test.inc (ulps_file_name): Define.
400 (output_dir): New variable.
401 (options): Add "output-dir" option.
402 (parse_opt): Handle 'o' case.
403 (main): If output_dir is non-NULL use it as a prefix
404 otherwise use "".
405 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
406
a01f19c8
CD
4072013-04-06 Carlos O'Donell <carlos@redhat.com>
408
409 [BZ #10060, #10062]
410 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
411 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
412 fail configure if __sync_val_compare_and_swap is not inlined.
413 * sysdeps/i386/configure: Regenerate.
414 * configure.in: Build for i686 when configured for i386.
415 * configure: Regenerate.
416 * README: Remove i386 reference.
417
b7a329a5
CD
4182013-04-06 Carlos O'Donell <carlos@redhat.com>
419
420 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
421 * sysdeps/s390/s390-64/sysdep.h: Likewise.
422
bf0f50df
TS
4232013-04-05 Thomas Schwinge <thomas@codesourcery.com>
424
ee091edf
TS
425 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
426 (lmsnanval): New variables.
427 (F): Add conversion tests.
428 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
429 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
430
a8b792d6
TS
431 * stdio-common/tstdiomisc.c (F): Properly collect individual
432 tests' results.
433
a1cbf437
TS
434 [BZ #14686, #15336]
435 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
436 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
437 Instead, use input NaN values or generate a qNaN by arithmetic
438 operation. Also fix bugs to comply with the standard.
439 * math/libm-test.inc (remainder_test): Add more tests.
440
8b43a0c9
TS
441 [BZ #15335, #15342]
442 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
443 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
444 input NaN values or generate a qNaN by arithmetic operation.
445
d91da4ce
TS
446 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
447 unreachable code.
448
bf0f50df
TS
449 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
450 definitions.
451
05e166c8
JM
4522013-04-03 Joseph Myers <joseph@codesourcery.com>
453
454 [BZ #14478]
455 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
456 underflowed result.
457 * math/s_cexpf.c (__cexpf): Likewise.
458 * math/s_cexpl.c (__cexpl): Likewise.
459 * math/libm-test.inc (cexp_test): Add more tests.
460
1cef1b19
AS
4612013-04-03 Andreas Schwab <schwab@suse.de>
462
463 [BZ #15330]
464 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
465 order arrays from heap if bigger than alloca cutoff.
466
74d87055
TS
4672013-04-03 Thomas Schwinge <thomas@codesourcery.com>
468
469 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
470 (SNAN_TESTS_double): Refer to GCC PR56831.
471 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
472 GCC PR56828.
473
d755bba4
SP
4742013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
475
90d5d5bb
SP
476 * Rules (bench): Move bench.out after the run is complete.
477
73e0cd5d
SP
478 * Rules (bench): Echo currently running benchmark.
479
64aabd4b
SP
480 * benchtests/Makefile (bench): Add atan and slowatan.
481 * benchtests/atan-inputs: New file.
482 * benchtests/slowatan-inputs: New file.
483 * benchtests/slowatan.c: New file.
484
c871eccd
SP
485 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
486 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
487 its value.
488
d755bba4
SP
489 [BZ #15305]
490 * sysdeps/unix/sysv/linux/kernel-features.h
491 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
492 __ASSUME_XFS_RESTRICTED_CHOWN.
493 * sysdeps/unix/sysv/linux/pathconf.c
494 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
495 Save and restore errno.
496
52ce4860
JM
4972013-04-02 Joseph Myers <joseph@codesourcery.com>
498
499 [BZ #15327]
500 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
501 arguments using __kernel_casinh.
502 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
503 arguments using __kernel_casinhf.
504 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
505 arguments using __kernel_casinhl.
506 * math/libm-test.inc (cacosh_test): Add more tests.
507 * sysdeps/i386/fpu/libm-test-ulps: Update.
508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
509
81f311c2
SP
5102013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
511
e7906a47
SP
512 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
514
92e3664b
SP
515 * bench/Makefile (bench): Add sin and slowsin.
516 * benchtests/sin-inputs: New file.
517 * benchtests/slowsin-inputs: New file.
518 * benchtests/slowsin.c: New file.
519
81f311c2
SP
520 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
521 (bench): Add slowexp and slowpow.
522 (exp-ITER): Increase iterations.
523 (pow-ITER): Likewise.
524 * benchtests/exp-inputs: Change input.
525 * benchtests/pow-inputs: Likewise.
526 * benchtests/slowexp-inputs: New file.
527 * benchtests/slowexp.c: New file.
528 * benchtests/slowpow-inputs: New file.
529 * benchtests/slowpow.c: New file.
530
ab0f1aa9
AZ
5312013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
532
533 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
534 instructions.
535 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
536 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
537 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
538 * benchtests/Makefile: Add rint benchtest.
539 * benchtests/rint-inputs: Input for rint benchtest.
540
57267616
TS
5412013-04-02 Thomas Schwinge <thomas@codesourcery.com>
542
543 * Versions.def (libm): Add GLIBC_2.18.
544 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
545 hidden libm prototypes.
546 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
547 * math/Makefile (libm-calls): Add s_issignaling.
548 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
549 __issignalingf, __issignalingl. Adjust all libm.abilist files.
550 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
551 declaration.
552 * math/math.h [__USE_GNU] (issignaling): New macro.
553 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
554 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
555 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
556 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
557 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
558 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
559 * manual/arith.texi (issignaling): New section.
560 * manual/libm-err-tab.pl (@all_functions): Update comment.
561 * math/gen-libm-test.pl (parse_args): Apply special handling for
562 issignaling.
563 * math/libm-test.inc (print_float, issignaling_test): New
564 functions.
565 (check_float_internal): Add issignaling checks.
566 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
567 default definition.
568 * sysdeps/powerpc/math-tests.h: New file.
569 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
570 tests.
571 * math/test-snan.c (TEST_FUNC): Likewise.
572
6142896d
DM
5732013-03-30 David S. Miller <davem@davemloft.net>
574
575 * po/de.po: Update from translation team.
576
ccc8cadf
JM
5772013-03-30 Joseph Myers <joseph@codesourcery.com>
578
579 [BZ #10357]
580 * math/k_casinh.c (__kernel_casinh): Handle arguments with
581 imaginary part less than 1.0 and real part less than 0.5
582 specially.
583 * math/k_casinhf.c (__kernel_casinhf): Likewise.
584 * math/k_casinhl.c (__kernel_casinhl): Likewise.
585 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
586 (cacos_test): Add more tests.
587 (casin_test): Likewise.
588 (casinh_test): Likewise.
589 * sysdeps/i386/fpu/libm-test-ulps: Update.
590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
591
0f6a8d4b
SP
5922013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
593
0d1029de
SP
594 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
595 ONE with its value.
596
c2d94018
SP
597 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
598 (__pow_mp): Replace ONE and MONE with their values.
599 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
600 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
601 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
602 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
603 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
604 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
605
27ec37f1
SP
606 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
607
a64d7e0e
SP
608 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
609 (__pow_mp): Replace ZERO and MZERO with their values.
610 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
611 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
612 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
614 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
615 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
616 (__sqr): Likewise.
617
d26dd3eb
SP
618 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
619
0f6a8d4b
SP
620 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
621
e57b0c61
RM
6222013-03-28 Roland McGrath <roland@hack.frob.com>
623
624 * include/stdlib.h [!SHARED] (__call_tls_dtors):
625 Declare with __attribute__ ((weak)).
626 * stdlib/exit.c (__libc_atexit) [!SHARED]:
627 Call __call_tls_dtors only if it's not NULL.
628
356b3480
RM
6292013-03-28 Roland McGrath <roland@hack.frob.com>
630
288f7d79
RM
631 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
632 didn't do it already, then set _dl_phdr and _dl_phnum based on the
633 magic __ehdr_start linker symbol if it's defined.
634 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
635 them up here if it was already done.
636
dc0a0263
RM
637 * elf/dl-support.c (_dl_phdr): Make pointer to const.
638 (_dl_aux_init): Use const in cast when setting it.
639 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
640 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
641 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
642
3d3436ae
RM
643 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
644 Declare them here.
645 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
646 * csu/libc-tls.c: Nor here.
647 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
648
356b3480
RM
649 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
650 (__libc_message): Never call vsyslog.
651
b0f1246a
AM
6522013-03-28 Alan Modra <amodra@gmail.com>
653
654 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
655 Define as empty.
656 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
657 Likewise.
658
fbbe2b9a
AZ
6592013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
660
661 [BZ #15214]
662 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
663 underflow.
664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
665
1728ab37
SP
6662013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
667
7a86be6e
SP
668 [BZ #15304]
669 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
670 Don't add gid passed as argument.
671
1728ab37
SP
672 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
673
3a7182a1
JM
6742013-03-27 Joseph Myers <joseph@codesourcery.com>
675
676 [BZ #15307]
677 * math/k_casinh.c (__kernel_casinh): Handle arguments with
678 imaginary part between 1.0 and 1.5 and real part less than 0.5
679 specially.
680 * math/k_casinhf.c (__kernel_casinhf): Likewise.
681 * math/k_casinhl.c (__kernel_casinhl): Likewise.
682 * math/libm-test.inc (cacos_test): Add more tests.
683 (casin_test): Likewise.
684 (casinh_test): Likewise.
685 * sysdeps/i386/fpu/libm-test-ulps: Update.
686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
687
6f2e90e7
SP
6882013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
689
5739f705
SP
690 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
691 constants.
692 (norm): Likewise.
693 (denorm): Likewise.
694 (__dbl_mp): Likewise.
695 (add_magnitudes): Likewise.
696 (sub_magnitudes): Likewise.
697 (__add): Likewise.
698 (__sub): Likewise.
699 (__mul): Likewise.
700 (__sqr): Likewise.
701 (__inv): Likewise.
702 (__dvd): Likewise.
703
e375e83d
SP
704 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
705 commented code.
706 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
707 (__dubcos): Likewise.
708 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
709 (__ieee754_acos): Likewise.
710 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
711 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
712 (__exp1): Likewise.
713 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
715 (log1): Likewise.
716 (my_log2): Likewise.
717 (checkint): Likewise.
718 * sysdeps/ieee754/dbl-64/e_remainder.c
719 (__ieee754_remainder): Likewise.
720 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
721 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
722 (bsloww): Likewise.
723 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
724
6f2e90e7
SP
725 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
726 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
727 MANTISSA_STORE_T to store computations on mantissa. Use
728 macros for rounding and division.
729 (denorm): Likewise.
730 (__dbl_mp): Likewise.
731 (add_magnitudes): Likewise.
732 (sub_magnitudes): Likewise.
733 (__mul): Likewise.
734 (__sqr): Likewise.
735 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
736 powers of two in terms of TWOPOW macro.
737 (mp_no): Make type of mantissa as MANTISSA_T.
738 [!RADIXI]: Define RADIXI.
739 [!TWO52]: Define TWO52.
740 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
741
fce14d4e
AZ
7422013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
743
744 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
745 llroundl symbol when building for PPC32.
746
9ad027fb
MW
7472013-03-24 Mark H Weaver <mhw@netris.org>
748
749 * manual/arith.texi (Normalization Functions): Fix prototypes for
750 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
751
e42a38dd
AZ
7522013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
753
754 [BZ #13889]
755 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
756 high value to check if expl overflow.
757 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
758 to check for underflow and overflow.
759 * math/libm-test.inc: Add exp test.
760
2e0fb521
DL
7612013-03-21 Dmitry V. Levin <ldv@altlinux.org>
762
763 [BZ #11120]
764 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
765 with NOT_IN_libc.
766
b5784d95
AZ
7672013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
768
769 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
770 symbol.
771
5aa4a1a1
TS
7722013-03-21 Thomas Schwinge <thomas@codesourcery.com>
773
bdef0be7
TS
774 * math/gen-libm-test.pl (parse_args, special_functions): Properly
775 wrap blocks consisting of several statements.
776
5aa4a1a1
TS
777 * sysdeps/generic/math-tests.h: New file.
778 * sysdeps/i386/fpu/math-tests.h: Likewise.
779 * math/test-snan.c: Include it.
780 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
781
98c48fe5
JM
7822013-03-21 Joseph Myers <joseph@codesourcery.com>
783
784 [BZ #15285]
785 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
786 (__ieee754_j0l): Do not improve calculations using cos of twice
787 input for inputs above LDBL_MAX / 2.0L.
788 (__ieee754_y0l): Likewise.
789 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
790 (__ieee754_j1l): Do not improve calculations using cos of twice
791 input for inputs above LDBL_MAX / 2.0L.
792 (__ieee754_y1l): Likewise.
793 * math/libm-test.inc (j0_test): Add another test.
794 (j1_test): Likewise.
795 (y0_test): Likewise.
796 (y1_test): Likewise.
797 * sysdeps/i386/fpu/libm-test-ulps: Update.
798
3775a8bc
SP
7992013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
800
801 * Rules ($(objpfx)bench-%.c): Include code from a C source
802 file.
803
0a1b2ae6
JM
8042013-03-21 Joseph Myers <joseph@codesourcery.com>
805
806 [BZ #15287]
807 * math/k_casinh.c (__kernel_casinh): Handle arguments with
808 imaginary part 1.0 and real part less than 0.5 specially.
809 * math/k_casinhf.c (__kernel_casinhf): Likewise.
810 * math/k_casinhl.c (__kernel_casinhl): Likewise.
811 * math/libm-test.inc (cacos_test): Add more tests.
812 (casin_test): Likewise.
813 (casinh_test): Likewise.
814 * sysdeps/i386/fpu/libm-test-ulps: Update.
815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
816
b33d4ce4
SP
8172013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
818
819 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
820 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
821
bef0b507
JM
8222013-03-20 Joseph Myers <joseph@codesourcery.com>
823
824 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
825 * config.make.in (config-cflags-sse4): Remove variable.
826 (config-cflags-avx): Likewise.
827 (config-cflags-sse2avx): Likewise.
828 (config-cflags-novzeroupper): Likewise.
829 (config-asflags-i686): Likewise.
830 (have-mfma4): Likewise.
831 (have-as-vis3): Likewise.
832 (MIG): Likewise.
833 * configure.in (MIG): Do not AC_SUBST.
834 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
835 (libc_cv_cc_sse4): Do not AC_SUBST.
836 (libc_cv_cc_avx): Likewise.
837 (libc_cv_cc_sse2avx): Likewise.
838 (libc_cv_cc_novzeroupper): Likewise.
839 (libc_cv_cc_fma4): Likewise.
840 (libc_cv_as_i686): Likewise.
841 (libc_cv_sparc_as_vis3): Likewise.
842 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
843 LIBC_CONFIG_VAR.
844 (config-asflags-i686): Likewise.
845 (config-cflags-avx): Likewise.
846 (config-cflags-sse2avx): Likewise.
847 (have-mfma4): Likewise.
848 (config-cflags-novzeroupper): Likewise.
849 * sysdeps/mach/configure.in (MIG): Likewise.
850 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
851 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
852 LIBC_CONFIG_VAR.
853 (config-cflags-avx): Likewise.
854 (config-cflags-sse2avx): Likewise.
855 (have-mfma4): Likewise.
856 (config-cflags-novzeroupper): Likewise.
857 * configure: Regenerated.
858 * sysdeps/i386/configure: Likewise.
859 * sysdeps/mach/configure: Likewise.
860 * sysdeps/sparc/configure: Likewise.
861 * sysdeps/x86_64/configure: Likewise.
862
912cc4b3
RM
8632013-03-20 Roland McGrath <roland@hack.frob.com>
864
865 [BZ #14812]
866 * locale/programs/localedef.c (options): Put N_ translation marker
867 on argument names, not just descriptions.
868
04eed2b0
MS
8692013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
870
871 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
872
a065ceff
OB
8732013-03-20 Ondřej Bílka <neleai@seznam.cz>
874
9bb2a810 875 [BZ #14176]
a065ceff
OB
876 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
877
a600e5ce
RM
8782013-03-19 Roland McGrath <roland@hack.frob.com>
879
880 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
881 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
882 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
883 [!BEFORE_ABORT] (before_abort): New function.
884 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
885 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
886 (writev_for_fatal): New function.
887 (WRITEV_FOR_FATAL): New macro; call that.
888 (backtrace_and_maps): New function.
889 (BEFORE_ABORT): New macro; call that.
890 (struct str_list): Type removed.
891 (__libc_message, __libc_fatal): Functions removed.
892 Include <sysdeps/posix/libc_fatal.c> instead.
893
6b18bea6
JM
8942013-03-19 Joseph Myers <joseph@codesourcery.com>
895
896 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
897 constants.
898 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
899 double constants.
900
aaa8cb4b
AS
9012013-03-19 Andreas Schwab <schwab@suse.de>
902
44673770
AS
903 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
904 * sysdeps/gnu/configure: Regenerate.
905
aaa8cb4b
AS
906 * configure.in: Substitute libc_cv_rtlddir.
907 * configure: Regenerate.
908 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
909 * Makeconfig (rtlddir, inst_rtlddir): New variables.
910 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
911 * elf/Makefile (install-others, CFLAGS-interp.c)
912 (ldso_install, common-ldd-rewrite): Likewise.
913 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
914 $(inst_slibdir)/$(rtld-installed-name).
915 * scripts/rellns-sh: Add -p option.
916 * Makerules (make-shlib-link): Use rellns-sh to get relative name
917 for source.
918
d3cfc668
SP
9192013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
920
921 * manual/nptl.texi: Renamed to ...
922 * manual/threads.texi: ... this.
923 * manual/Makefile (chapters): Update.
924
0e2b9cdd
RM
9252013-03-18 Roland McGrath <roland@hack.frob.com>
926
927 [BZ #14812]
928 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
929 on argument names, not just descriptions.
0e2b9cdd
RM
930 * malloc/memusagestat.c (options): Likewise.
931 * nss/getent.c (options): Likewise.
63270c24
RM
932
9332013-03-18 Benno Schulenberg <bensberg@justemail.net>
934
935 [BZ #14812]
936 * iconv/iconv_prog.c (options): Put N_ translation marker
937 on argument names, not just descriptions.
938 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 939
b2e1393c
OB
9402013-03-18 Ondrej Bilka <neleai@seznam.cz>
941
942 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
943 implementation which is faster on all x86_64 architectures.
944 Tested on AMD, Intel Nehalem, SNB, IVB.
945 * sysdeps/x86_64/strnlen.S: Likewise.
946
947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
948 Remove all multiarch strlen and strnlen versions.
949 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
950 Remove strlen and strnlen related parts.
951
952 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
953 Inline strlen part.
954 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
955
956 * sysdeps/x86_64/multiarch/strlen.S: Remove.
957 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
958 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
959 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
960 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
961 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
962
ec4ff04d
CD
9632013-03-17 Carlos O'Donell <carlos@redhat.com>
964
965 * manual/memory.texi (Malloc Tunable Parameters):
966 Sort parameters alphabetically. Add comments for missing entries.
967
cd18e90a
DM
9682013-03-17 David S. Miller <davem@davemloft.net>
969
970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
971
2a185d32
JM
9722013-03-16 Joseph Myers <joseph@codesourcery.com>
973
d2f9799e
JM
974 [BZ #15283]
975 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
976 for arguments at most half maximum finite value.
977 * math/libm-test.inc (j0_test): Add more tests.
978 (j1_test): Likewise.
979 (y0_test): Likewise.
980 (y1_test): Likewise.
981 * sysdeps/i386/fpu/libm-test-ulps: Update.
982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
983
2a185d32
JM
984 [BZ #14155]
985 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
986 1 / x and functions P and Q for arguments above 0x1p256L.
987 (__ieee754_y0l): Likewise.
988 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
989 (__ieee754_y1l): Likewise.
990 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
991 (j1_test): Likewise.
992 (y0_test): Likewise.
993 (y1_test): Likewise.
994
6cbec759
TS
9952013-03-16 Thomas Schwinge <thomas@codesourcery.com>
996
997 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
998 variable.
999
bc16e260
RM
10002013-03-15 Roland McGrath <roland@hack.frob.com>
1001
aefc9b8c
RM
1002 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1003 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1004 zero since it's initialized to EXEC_PAGESIZE.
1005
bc16e260
RM
1006 * sysdeps/unix/sysv/linux/ldsodefs.h
1007 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1008 * sysdeps/generic/ldsodefs.h: ... here.
1009
a57da955
TS
10102013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1011
af00a34d
TS
1012 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1013
495ded2c
TS
1014 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1015 math/test-snan.c.
1016 * math/test-snan.c: Renamed from
1017 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1018 * math/Makefile (tests): Add test-snan.
1019 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1020 test-powerpc-snan.
1021
777b0332
TS
1022 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1023 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1024 functions.
1025 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1026 __builtin_nan family of functions.
1027 * math/libm-test.inc (initialize): Initialize qnan_value with
1028 __builtin_nan family of functions.
1029 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1030 Remove variables.
1031 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1032 Remove functions.
1033 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1034 storage class. Initialize qNaN_var and sNaN_var with
1035 __builtin_nan and __builtin_nans families of functions,
1036 respectively.
1037
64d063b8
TS
1038 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1039 (sqrt_test): Remove duplicate test with qNaN input.
1040 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1041 (round_test, signbit_test, significand_test): Note missing +/-Inf
1042 as well as qNaN tests.
1043
67e971f1
TS
1044 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1045 qNaN_var. Fix a few strings, too.
1046 * math/libm-test.inc (nan_value): Rename to qnan_value.
1047 * math/gen-libm-test.pl (%beautify): Adjust to that.
1048 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1049 * math/test-misc.c (main): Likewise.
1050 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1051 to __qnan_bytes, and __qnan_union, respectively.
1052 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1053 Likewise.
1054 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1055 and lqnanval, respectively.
1056 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1057 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1058 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1059 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1060
64487e12
TS
1061 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1062 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1063 doubles.
1064
e015e27b
TS
1065 * math/test-misc.c (main): Fix copy'n'pastos.
1066 * misc/tst-efgcvt.c (special): Likewise.
1067
a57da955
TS
1068 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1069 Remove declarations.
1070
1e380345
SP
10712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1072
1073 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1074 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1075 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1076 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1077
ef26eece
AZ
10782013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1079
1080 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1081 macro to return vdso values correctly in IFUNC implementations.
1082 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1083 Optimization by using IFUNC.
1084
8cfdb7e0
SP
10852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1086 Richard Henderson <rth@redhat.com>
1087 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1088
1089 * Makefile.in (bench): New target.
1090 * NEWS: Mention the benchmark framework.
1091 * Rules (bench): Likewise.
1092 (binaries-bench): Generate binaries for functions to
1093 benchmark.
1094 * benchtests/Makefile: New makefile for benchmark tests.
1095 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1096 programs.
1097 * benchtests/exp-inputs: New input file for EXP function.
1098 * benchtests/pow-inputs: New input file for POW function.
1099 * scripts/bench.pl: New script to generate source files for
1100 benchmark programs.
1101
bcda9880
SP
11022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1103
d22ca8cd
SP
1104 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1105 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1106 computations on mantissa. Use macros for rounding and
1107 division.
1108 (denorm): Likewise.
1109 (__dbl_mp): Likewise.
1110 (add_magnitudes): Likewise.
1111 (sub_magnitudes): Likewise.
1112 (__mul): Likewise.
1113 (__sqr): Likewise.
1114 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1115 powers of two in terms of TWOPOW macro.
1116 (mp_no): Make type of mantissa as MANTISSA_T.
1117 [!RADIXI]: Define RADIXI.
1118 [!TWO52]: Define TWO52.
1119 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1120
bcda9880
SP
1121 * manual/nptl.texi (cindex): Modify threads to pthreads.
1122
06d5adfb
JM
11232013-03-15 Joseph Myers <joseph@codesourcery.com>
1124
1125 * sysdeps/x86_64/preconfigure: Regenerated.
1126
41c7328e
JM
11272013-03-14 Joseph Myers <joseph@codesourcery.com>
1128
1129 [BZ #14155]
1130 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1131 0x1p28 and above.
1132 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1133 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1134 0x1p28 and above.
1135 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1136 * math/libm-test.inc (j0_test): Do not allow one spurious
1137 underflow exception.
1138 (y1_test): Likewise.
1139
e25cfa60
SP
11402013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1141
0409959c
SP
1142 * manual/Makefile (chapters): Add nptl.
1143 * manual/debug.texi (Debugging Support): Add link to Threads
1144 chapter.
1145 * manual/nptl.texi: New file.
1146
e25cfa60
SP
1147 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1148
58a1335e
PB
11492013-03-14 Petr Baudis <pasky@ucw.cz>
1150
1151 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1152 for non-NULL pointer before the memory validity test. Pointed
1153 out by Holger Brunck <holger.brunck@keymile.com>.
1154
9dc7c64f
AS
11552013-03-13 Andreas Schwab <schwab@suse.de>
1156
1157 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1158 instead of .os.
1159
54206aa6
JM
11602013-03-13 Joseph Myers <joseph@codesourcery.com>
1161
1162 * timezone/zic.c: Update from tzcode 2013b.
1163
e98cdb38
CD
11642013-03-12 Carlos O'Donell <carlos@redhat.com>
1165
1166 * manual/install.texi (Configuring and compiling):
1167 Mention i686 and i586.
1168 * INSTALL: Regenerate.
1169
9967e003
RM
11702013-03-12 Roland McGrath <roland@hack.frob.com>
1171
1172 * sysdeps/init_array/elf-init.c: New file.
1173 * csu/elf-init.c
1174 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1175 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1176
1177 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1178 __gmon_start__ as global, but as static with a .preinit_array pointer.
1179 * sysdeps/init_array/gmon-start.c: New file. Use that.
1180 * sysdeps/init_array/crti.S: New file, empty except for comments.
1181 * sysdeps/init_array/crtn.S: Likewise.
1182
e6b5a293 11832013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1184
1185 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1186 definining bcopy.
80f844c9
OB
1187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1188 Remove Prefer_SSE_for_memop.
1189 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1190 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1191 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1193 memset-x86-64.
80f844c9 1194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1195 Remove bzero, memset ifunc support.
80f844c9
OB
1196 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1197 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1198 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1199 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1200
fb6b0fcb
AS
12012013-03-11 Andreas Schwab <schwab@suse.de>
1202
1203 [BZ #15234]
1204 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1205 by SHLIB_COMPAT.
1206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1207 (GLIBC_2.16): Remove pthread_atfork.
1208
3e6bd4b1
PP
12092013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1210
1211 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1212 (ptestcases.h): Likewise.
1213
222d7f00
RM
12142013-03-08 Roland McGrath <roland@hack.frob.com>
1215
1216 * Makeconfig ($(common-objpfx)config.status): Depend on
1217 sysdeps/*/preconfigure{,.in} too.
1218
1ba4f030
JM
12192013-03-08 Joseph Myers <joseph@codesourcery.com>
1220
a222d91a
JM
1221 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1222 (__free_hook): Use void * instead of __malloc_ptr_t.
1223 (__malloc_hook): Likewise.
1224 (__realloc_hook): Likewise.
1225 (__memalign_hook): Likewise.
1226 (__after_morecore_hook): Likewise.
1227 * malloc/arena.c (save_malloc_hook): Likewise.
1228 (save_free_hook): Likewise.
1229 * malloc/hooks.c (malloc_hook_ini): Likewise.
1230 (realloc_hook_ini): Likewise.
1231 (memalign_hook_ini): Likewise.
1232 * malloc/malloc.c (malloc_hook_ini): Likewise.
1233 (realloc_hook_ini): Likewise.
1234 (memalign_hook_ini): Likewise.
1235 (__free_hook): Likewise.
1236 (__malloc_hook): Likewise.
1237 (__realloc_hook): Likewise.
1238 (__memalign_hook): Likewise.
1239 (__libc_malloc): Likewise.
1240 (__libc_free): Likewise.
1241 (__libc_realloc): Likewise.
1242 (__libc_memalign): Likewise.
1243 (__libc_valloc): Likewise.
1244 (__libc_pvalloc): Likewise.
1245 (__libc_calloc): Likewise.
1246 (__posix_memalign): Likewise.
1247 * malloc/morecore.c (__sbrk): Likewise.
1248 (__default_morecore): Likewise.
1249
5cc45e10
JM
1250 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1251
dd54b864
JM
1252 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1253 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1254 __malloc_ptrdiff_t.
1255
1ba4f030
JM
1256 * malloc/malloc.h (__malloc_size_t): Remove macro.
1257 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1258 __malloc_size_t.
1259 (old_memalign_hook): Likewise.
1260 (old_realloc_hook): Likewise.
1261 (struct hdr): Likewise.
1262 (flood): Likewise.
1263 (mallochook): Likewise.
1264 (memalignhook): Likewise.
1265 (reallochook): Likewise.
1266 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1267 (tr_old_realloc_hook): Likewise.
1268 (tr_old_memalign_hook): Likewise.
1269 (tr_mallochook): Likewise.
1270 (tr_reallochook): Likewise.
1271 (tr_memalignhook): Likewise.
1272
edf66e57
AZ
12732013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1274
1275 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1276 default_ldbl_pack and using as default implementation.
1277 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1278 implementation.
1279 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1280 redundant definition.
1281 (ldbl_insert_mantissa): Likewise.
1282 (ldbl_canonicalize): Likewise.
1283 (ldbl_nearbyint): Likewise.
1284 (ldbl_pack): Rename to ldbl_pack_ppc.
1285 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1286 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1287 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1288
6d9145d8
SP
12892013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1290
1291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1292 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1293 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1294 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1296 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1297 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1298 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1299
4dd4e157
AJ
13002013-03-07 Andreas Jaeger <aj@suse.de>
1301
1302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1303 bits/mman-linux.h.
1304
adbb8027
SP
13052013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1306
ce544b5b
SP
1307 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1308 Include mpa.h and declare __MPEXP.
1309 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1310 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1311 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1312 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1313 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1314 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1315 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1316
4cc149fd
SP
1317 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1318 (__slowpow): Use long double EXPL and LOGL functions to
1319 compute POW.
1320 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1321 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1322 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1323 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1324 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1325 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1326
e6ebd4a7
SP
1327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1328 intermediate variable to calculate exponent.
1329 (__sqr): Likewise.
1330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1331 Likewise.
1332 (__sqr): Likewise.
1333
82a9811d
SP
1334 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1335 [!NO__SQR]: Define __sqr.
1336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1337 and NO__SQR. Remove all code except __mul and __sqr. Include
1338 sysdeps/ieee754/dbl-64/mpa.c.
1339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1340
adbb8027
SP
1341 [BZ #12723]
1342 * posix/Makefile (tests): Add tst-pathconf.
1343 * posix/tst-pathconf.c: New test case.
1344 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1345 _PC_PIPE_BUF.
1346 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1347
39120df9
PF
13482013-03-06 Patsy Franklin <pfrankli@redhat.com>
1349
1350 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1351
67525cb8
AJ
13522013-03-06 Andreas Jaeger <aj@suse.de>
1353
664a9ce4
AJ
1354 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1355 definition via __MAP_ANONYMOUS.
1356
8e39047d
AJ
1357 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1358 it's not part of Linux headers.
1359
67525cb8
AJ
1360 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1361 (MAP_HUGE_MASK): Define.
1362
1363 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1364 Define.
1365 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1366 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1367 Define.
1368 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1369 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1370 Define.
1371 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1372 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1373 Define.
1374 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1375
1376 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1377 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1378 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1379 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1380 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1381 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1382
1383 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1384 Handle f2fs.
1385
1386 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1387 Handle f2fs and efivarfs.
1388
1389 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1390 f2fs.
1391
1392 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1393 (EFIVARFS_MAGIC): Add.
1394 (F2FS_LINK_MAX): Add.
1395
e1b42695
PP
13962013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1397
1398 * stdio-common/vfprintf.c: Replace __builtin_expect with
1399 __glibc_unlikely.
1400
2d67d91a
JM
14012013-03-06 Joseph Myers <joseph@codesourcery.com>
1402
1403 [BZ #13550]
1404 * sysdeps/generic/bp-sym.h: Remove file.
1405 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1406 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1407 <bp-sym.h> and <bp-asm.h>.
1408 (__longjmp): Don't use BP_SYM.
1409 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1410 and <bp-asm.h>.
1411 (memcpy): Don't use BP_SYM.
1412 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1413 <bp-sym.h> and <bp-asm.h>.
1414 (memcpy): Don't use BP_SYM.
1415 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1416 <bp-asm.h>.
1417 (memcpy): Don't use BP_SYM.
1418 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1419 <bp-asm.h>.
1420 (memset): Don't use BP_SYM.
1421 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1422 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1423 (__bzero): Don't use BP_SYM.
1424 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1425 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1426 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1427 <bp-sym.h> and <bp-asm.h>.
1428 (memcmp): Don't use BP_SYM. Remove comment about bounded
1429 pointers.
1430 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1431 <bp-sym.h> and <bp-asm.h>.
1432 (memcpy): Don't use BP_SYM.
1433 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1434 <bp-sym.h> and <bp-asm.h>.
1435 (memset): Don't use BP_SYM.
1436 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1437 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1438 (__bzero): Don't use BP_SYM.
1439 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1440 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1441 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1442 <bp-sym.h> and <bp-asm.h>.
1443 (strncmp): Don't use BP_SYM. Remove comment about bounded
1444 pointers.
1445 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1446 <bp-sym.h> and <bp-asm.h>.
1447 (memcpy): Don't use BP_SYM.
1448 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1449 <bp-sym.h> and <bp-asm.h>.
1450 (memset): Don't use BP_SYM.
1451 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1452 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1453 (__bzero): Don't use BP_SYM.
1454 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1455 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1456 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1457 <bp-sym.h> and <bp-asm.h>.
1458 (__memchr): Don't use BP_SYM.
1459 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1460 <bp-sym.h> and <bp-asm.h>.
1461 (memcmp): Don't use BP_SYM. Remove comment about bounded
1462 pointers.
1463 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1464 <bp-sym.h> and <bp-asm.h>.
1465 (memcpy): Don't use BP_SYM.
1466 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1467 <bp-sym.h> and <bp-asm.h>.
1468 (__mempcpy): Don't use BP_SYM.
1469 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1470 <bp-sym.h> and <bp-asm.h>.
1471 (__memrchr): Don't use BP_SYM.
1472 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1473 <bp-sym.h> and <bp-asm.h>.
1474 (memset): Don't use BP_SYM.
1475 (__bzero): Likewise.
1476 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1477 <bp-sym.h> and <bp-asm.h>.
1478 (__rawmemchr): Don't use BP_SYM.
1479 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1480 <bp-sym.h> and <bp-asm.h>.
1481 (__STRCMP): Don't use BP_SYM.
1482 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1483 <bp-sym.h> and <bp-asm.h>.
1484 (strchr): Don't use BP_SYM.
1485 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1486 <bp-sym.h> and <bp-asm.h>.
1487 (__strchrnul): Don't use BP_SYM.
1488 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1489 <bp-sym.h> and <bp-asm.h>.
1490 (strlen): Don't use BP_SYM.
1491 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1492 <bp-sym.h> and <bp-asm.h>.
1493 (strncmp): Don't use BP_SYM. Remove comment about bounded
1494 pointers.
1495 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1496 <bp-sym.h> and <bp-asm.h>.
1497 (__strnlen): Don't use BP_SYM.
1498 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1499 <bp-sym.h> and <bp-asm.h>.
1500 (__GI__setjmp): Don't use BP_SYM.
1501 (_setjmp): Likewise.
1502 (__sigsetjmp): Likewise.
1503 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1504 (L(start_addresses)): Don't use BP_SYM.
1505 (_start): Likewise.
1506 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1507 <bp-asm.h>.
1508 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1509 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1510 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1511 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1512 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1513 <bp-asm.h>.
1514 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1515 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1516 about bounded pointers.
1517 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1518 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1519 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1520 <bp-asm.h>.
1521 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1522 about bounded pointers. Remove GKM FIXME comments.
1523 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1524 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1525 <bp-asm.h>.
1526 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1527 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1528 Remove GKM FIXME comments.
1529 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1530 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1531 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1532 <bp-asm.h>.
1533 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1534 about bounded pointers. Remove GKM FIXME comment.
1535 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1536 and <bp-asm.h>.
1537 (strncmp): Don't use BP_SYM. Remove comment about bounded
1538 pointers.
1539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1540 <bp-sym.h> and <bp-asm.h>.
1541 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1543 <bp-sym.h> and <bp-asm.h>.
1544 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1545 comment.
1546
cdcf361f
PP
15472013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1548
1549 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1550 call free(NULL).
1551
3c4a2b15
DM
15522013-03-05 David S. Miller <davem@davemloft.net>
1553
1554 * po/es.po: Update from translation team.
1555
cdcf361f 15562013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1557
1558 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1559 <bits/mman-linux.h>.
1560 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1561 is fine.
1562 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1563 <bits/mman-linux.h> to end of file.
1564 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1565 is fine.
1566 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1567 <bits/mman-linux.h> to end of file.
1568 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1569 is fine.
1570 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1571 <bits/mman-linux.h> to end of file.
1572
1573 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1574 (MCL_CURRENT, MCL_FUTURE): Define here.
1575
5f67c04f
AK
15762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1577
8a4473cc 1578 [BZ #15232]
5f67c04f
AK
1579 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1580 attribute_hidden.
1581 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1582
c3e94a95
AK
15832013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1584
1585 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1586 fourth parameter needed for rt_sigprocmask syscall.
1587 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1588 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1589 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1590 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1591 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1592 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1593
cfb6382a
JM
15942013-03-04 Joseph Myers <joseph@codesourcery.com>
1595
1596 [BZ #13550]
1597 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1598 comment about bounded pointers.
1599 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1600 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1601
539d8e01
AJ
16022013-03-04 Andreas Jaeger <aj@suse.de>
1603
1604 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1605 common definitions.
1606
1607 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1608 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1609 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1610 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1611 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1612 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1613
2e167a70 16142013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1615
1616 [BZ #15055]
1617 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1618 __ieee754_sqrl instead of __sqrl.
1619
68508633
JM
16202013-03-01 Joseph Myers <joseph@codesourcery.com>
1621
1622 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1623 * sysdeps/powerpc/fpu_control.h: ... here.
1624 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1625 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1626 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1627 * sysdeps/powerpc/bits/mathinline.h: ... here.
1628
7775448e
RM
16292013-03-01 Roland McGrath <roland@hack.frob.com>
1630
1631 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1632 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1633 to just [NEED_DL_SYSINFO_DSO].
1634 * elf/dl-support.c: Likewise.
1635 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1636 * elf/rtld.c (dl_main): Likewise.
1637 * elf/setup-vdso.h (setup_vdso): Likewise.
1638 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1639 * sysdeps/unix/sysv/linux/dl-sysdep.c
1640 (_dl_discover_osversion): Likewise.
1641
4e9b5995
CD
16422013-03-01 Carlos O'Donell <carlos@redhat.com>
1643
1644 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1645 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1646
e23872c8
SP
16472013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1648
e5c74c63
SP
1649 * NEWS: Mention libm performance improvements and non-x86 PI
1650 futex support.
1651
e23872c8
SP
1652 * csu/libc-start.c (__pthread_initialize_minimal): Change
1653 function arguments.
1654 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1655
b5510883
JM
16562013-02-28 Joseph Myers <joseph@codesourcery.com>
1657
1658 [BZ #13550]
1659 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1660 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1661 <bp-sym.h> and <bp-asm.h>.
1662 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1663 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1664 and <bp-asm.h>.
1665 (memcpy): Don't use BP_SYM.
1666 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1667 <bp-asm.h>.
1668 (__mpn_add_n): Don't use BP_SYM.
1669 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1670 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1671 and <bp-asm.h>.
1672 (__mpn_addmul_1): Don't use BP_SYM.
1673 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1674 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1675 <bp-sym.h>.
1676 (_setjmp): Don't use BP_SYM.
1677 (__novmx_setjmp): Likewise.
1678 (__GI__setjmp): Likewise.
1679 (__vmx_setjmp): Likewise.
1680 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1681 <bp-sym.h>.
1682 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1683 (__bzero): Don't use BP_SYM.
1684 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1685 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1686 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1687 <bp-sym.h> and <bp-asm.h>.
1688 (memcpy): Don't use BP_SYM.
1689 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1690 <bp-sym.h> and <bp-asm.h>.
1691 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1692 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1693 <bp-sym.h> and <bp-asm.h>.
1694 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1695 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1696 <bp-asm.h>.
1697 (__mpn_lshift): Don't use BP_SYM.
1698 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1699 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1700 <bp-asm.h>.
1701 (memset): Don't use BP_SYM.
1702 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1703 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1704 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1705 <bp-asm.h>.
1706 (__mpn_mul_1): Don't use BP_SYM.
1707 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1708 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1709 <bp-sym.h> and <bp-asm.h>.
1710 (memcmp): Don't use BP_SYM.
1711 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1712 <bp-sym.h> and <bp-asm.h>.
1713 (memcpy): Don't use BP_SYM.
1714 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1715 <bp-sym.h> and <bp-asm.h>.
1716 (memset): Don't use BP_SYM.
1717 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1718 <bp-sym.h> and <bp-asm.h>.
1719 (strncmp): Don't use BP_SYM.
1720 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1721 <bp-sym.h> and <bp-asm.h>.
1722 (memcpy): Don't use BP_SYM.
1723 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1724 <bp-sym.h> and <bp-asm.h>.
1725 (memset): Don't use BP_SYM.
1726 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1727 <bp-sym.h> and <bp-asm.h>.
1728 (__memchr): Don't use BP_SYM.
1729 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1730 <bp-sym.h> and <bp-asm.h>.
1731 (memcmp): Don't use BP_SYM.
1732 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1733 <bp-sym.h> and <bp-asm.h>.
1734 (memcpy): Don't use BP_SYM.
1735 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1736 <bp-sym.h> and <bp-asm.h>.
1737 (__mempcpy): Don't use BP_SYM.
1738 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1739 <bp-sym.h> and <bp-asm.h>.
1740 (__memrchr): Don't use BP_SYM.
1741 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1742 <bp-sym.h> and <bp-asm.h>.
1743 (memset): Don't use BP_SYM.
1744 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1745 <bp-sym.h> and <bp-asm.h>.
1746 (__rawmemchr): Don't use BP_SYM.
1747 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1748 <bp-sym.h> and <bp-asm.h>.
1749 (__STRCMP): Don't use BP_SYM.
1750 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1751 <bp-sym.h> and <bp-asm.h>.
1752 (strchr): Don't use BP_SYM.
1753 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1754 <bp-sym.h> and <bp-asm.h>.
1755 (__strchrnul): Don't use BP_SYM.
1756 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1757 <bp-sym.h> and <bp-asm.h>.
1758 (strlen): Don't use BP_SYM.
1759 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1760 <bp-sym.h> and <bp-asm.h>.
1761 (strncmp): Don't use BP_SYM.
1762 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1763 <bp-sym.h> and <bp-asm.h>.
1764 (__strnlen): Don't use BP_SYM.
1765 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1766 <bp-asm.h>.
1767 (__mpn_rshift): Don't use BP_SYM.
1768 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1769 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1770 <bp-sym.h> and <bp-asm.h>.
1771 (__sigsetjmp): Don't use BP_SYM.
1772 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1773 (L(start_addresses)): Don't use BP_SYM.
1774 (_start): Likewise.
1775 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1776 <bp-asm.h>.
1777 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1778 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1779 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1780 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1781 <bp-asm.h>.
1782 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1783 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1784 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1785 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1786 <bp-asm.h>.
1787 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1788 comments.
1789 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1790 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1791 <bp-asm.h>.
1792 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1793 FIXME comments.
1794 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1795 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1796 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1797 <bp-asm.h>.
1798 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1799 comment.
1800 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1801 and <bp-asm.h>.
1802 (strncmp): Don't use BP_SYM,
1803 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1804 <bp-asm.h>.
1805 (__mpn_sub_n): Don't use BP_SYM.
1806 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1807 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1808 and <bp-asm.h>.
1809 (__mpn_submul_1): Don't use BP_SYM.
1810 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1812 <bp-sym.h> and <bp-asm.h>.
1813 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1815 <bp-sym.h> and <bp-asm.h>.
1816 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1817 comment.
1818
8d19fe64
SP
18192013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1820
1821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1822 Use ZK to minimize writes to Z.
1823 (sub_magnitudes): Simplify code a bit.
1824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1825 Use ZK to minimize writes to Z.
1826 (sub_magnitudes): Simplify code a bit.
1827
85bd816a
RM
18282013-02-27 Roland McGrath <roland@hack.frob.com>
1829
1830 * csu/gmon-start.c: Add special exception to license text.
1831
b5977bf2
RH
18322013-02-27 Richard Henderson <rth@redhat.com>
1833
1834 * scripts/config.guess: Update from config.git.
1835 * scripts/config.sub: Likewise.
1836
11d6e2f2
SP
18372013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1838
09c14ed2
SP
1839 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1840
a688864e
SP
1841 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1842
6295157a
SP
1843 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1844
b8de2202
SP
1845 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1846
11d6e2f2
SP
1847 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1848
7e80ddb8
RM
18492013-02-26 Roland McGrath <roland@hack.frob.com>
1850
1851 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1852 [$(build-shared = yes].
7e80ddb8 1853
7da6d9ed
SP
18542013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1855
45f05884
SP
1856 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1857 (__mul): Reduce iterations for calculating mantissa.
1858
2236d359
SP
1859 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1860 MPTWO.
1861 (__mpranred): Likewise.
1862
7da6d9ed
SP
1863 [BZ #15160]
1864 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1865 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1866
b7688c42
PE
18672013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1868
1869 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1870 Define __attribute__.
1871
53a5c423
SP
18722013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1873
1874 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1875 unused.
1876 * posix/regex_internal.h (__attribute): Remove.
1877 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1878 (re_string_context_at): Likewise.
1879 (bitset_not): Use __attribute__ and mark function as possibly
1880 unused.
1881 (bitset_merge): Likewise.
1882 (bitset_mask): Likewise.
1883 (re_string_char_size_at): Likewise.
1884 (re_string_wchar_at): Likewise.
1885 (re_string_elem_size_at): Likewise.
1886
60f5a8b5
SP
18872013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1888
2a983a2e
SP
1889 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1890 code.
1891 (cc32): Likewise.
1892
e69804d1
SP
1893 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1894 (__acr): Likewise.
1895 (__cpy): Likewise.
1896 (norm): Likewise.
1897 (denorm): Likewise.
1898 (__dbl_mp): Likewise.
1899 (add_magnitudes): Likewise.
1900 (sub_magnitudes): Likewise.
1901 (__mul): Likewise.
1902 (__inv): Likewise.
1903
2f22a1e8
SP
1904 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1905 style.
1906
8930ddc7
SP
1907 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1908 style.
1909
dc60cb11
SP
1910 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1911 code.
1912
60f5a8b5
SP
1913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1914 up changes with default code.
1915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1916 Likewise.
1917
b4d1fd33
AM
19182013-02-24 Allan McRae <allan@archlinux.org>
1919
faf6f8bc
AM
1920 * manual/socket.texi (The Internet Namespace): Order menu items
1921 to match that in the file.
1922
b4d1fd33
AM
1923 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1924 node listing of the info page menu.
1925
2366713d
JM
19262013-02-21 Joseph Myers <joseph@codesourcery.com>
1927
1928 [BZ #13550]
1929 * sysdeps/i386/bp-asm.h: Remove file.
1930 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1931 (PARMS): Do not use macros from bp-asm.h.
1932 (S1): Likewise.
1933 (S2): Likewise.
1934 (SIZE): Likewise.
1935 (__mpn_add_n): Do not use BP_SYM
1936 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1937 "bp-asm.h".
1938 (PARMS): Do not use macros from bp-asm.h.
1939 (S1): Likewise.
1940 (SIZE): Likewise.
1941 (__mpn_addmul_1): Do not use BP_SYM
1942 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1943 "bp-asm.h".
1944 (PARMS): Do not use macros from bp-asm.h.
1945 (SIGMSK): Likewise.
1946 (_setjmp): Likewise. Do not use BP_SYM.
1947 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1948 "bp-asm.h".
1949 (PARMS): Do not use macros from bp-asm.h.
1950 (SIGMSK): Likewise.
1951 (setjmp): Likewise. Do not use BP_SYM.
1952 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1953 "bp-asm.h".
1954 (PARMS): Do not use macros from bp-asm.h.
1955 (__frexp): Do not use BP_SYM.
1956 (frexp): Likewise.
1957 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1958 "bp-asm.h".
1959 (PARMS): Do not use macros from bp-asm.h.
1960 (__frexpf): Do not use BP_SYM.
1961 (frexpf): Likewise.
1962 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1963 "bp-asm.h".
1964 (PARMS): Do not use macros from bp-asm.h.
1965 (__frexpl): Do not use BP_SYM.
1966 (frexpl): Likewise.
1967 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1968 "bp-asm.h".
1969 (PARMS): Do not use macros from bp-asm.h.
1970 (__remquo): Do not use BP_SYM.
1971 (remquo): Likewise.
1972 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1973 "bp-asm.h".
1974 (PARMS): Do not use macros from bp-asm.h.
1975 (__remquof): Do not use BP_SYM.
1976 (remquof): Likewise.
1977 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1978 "bp-asm.h".
1979 (PARMS): Do not use macros from bp-asm.h.
1980 (__remquol): Do not use BP_SYM.
1981 (remquol): Likewise.
1982 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1983 "bp-asm.h".
1984 (PARMS): Do not use macros from bp-asm.h.
1985 (DEST): Likewise.
1986 (SRC): Likewise.
1987 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1988 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1989 "bp-asm.h".
1990 (PARMS): Do not use macros from bp-asm.h.
1991 (strlen): Do not use BP_SYM.
1992 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1993 "bp-asm.h".
1994 (PARMS): Do not use macros from bp-asm.h.
1995 (S1): Likewise.
1996 (S2): Likewise.
1997 (SIZE): Likewise.
1998 (__mpn_add_n): Do not use BP_SYM.
1999 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2000 "bp-asm.h".
2001 (PARMS): Do not use macros from bp-asm.h.
2002 (S1): Likewise.
2003 (SIZE): Likewise.
2004 (__mpn_addmul_1): Do not use BP_SYM.
2005 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2006 weak_alias.
2007 (bzero): Likewise.
2008 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2009 "bp-asm.h".
2010 (PARMS): Do not use macros from bp-asm.h.
2011 (S): Likewise.
2012 (SIZE): Likewise.
2013 (__mpn_lshift): Do not use BP_SYM.
2014 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2015 "bp-asm.h".
2016 (PARMS): Do not use macros from bp-asm.h.
2017 (DEST): Likewise.
2018 (SRC): Likewise.
2019 (LEN): Likewise.
2020 (memcpy): Likewise. Do not use BP_SYM.
2021 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2022 libc_hidden_def and weak_alias.
2023 (mempcpy): Do not use BP_SYM in weak_alias.
2024 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2025 "bp-asm.h".
2026 (PARMS): Do not use macros from bp-asm.h.
2027 (DEST): Likewise.
2028 (LEN): Likewise.
2029 [!BZERO_P] (CHR): Likewise.
2030 (memset): Likewise. Do not use BP_SYM.
2031 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2032 "bp-asm.h".
2033 (PARMS): Do not use macros from bp-asm.h.
2034 (S1): Likewise.
2035 (SIZE): Likewise.
2036 (__mpn_mul_1): Do not use BP_SYM.
2037 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2038 "bp-asm.h".
2039 (PARMS): Do not use macros from bp-asm.h.
2040 (S): Likewise.
2041 (SIZE): Likewise.
2042 (__mpn_rshift): Do not use BP_SYM.
2043 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2044 "bp-asm.h".
2045 (PARMS): Do not use macros from bp-asm.h.
2046 (STR): Likewise.
2047 (CHR): Likewise.
2048 (strchr): Likewise. Do not use BP_SYM.
2049 (index): Do not use BP_SYM in weak_alias.
2050 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2051 "bp-asm.h".
2052 (PARMS): Do not use macros from bp-asm.h.
2053 (DEST): Likewise.
2054 (SRC): Likewise.
2055 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2056 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2057 "bp-asm.h".
2058 (PARMS): Do not use macros from bp-asm.h.
2059 (strlen): Do not use BP_SYM.
2060 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2061 "bp-asm.h".
2062 (PARMS): Do not use macros from bp-asm.h.
2063 (S1): Likewise.
2064 (S2): Likewise.
2065 (SIZE): Likewise.
2066 (__mpn_sub_n): Do not use BP_SYM.
2067 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2068 "bp-asm.h".
2069 (PARMS): Do not use macros from bp-asm.h.
2070 (S1): Likewise.
2071 (SIZE): Likewise.
2072 (__mpn_submul_1): Do not use BP_SYM.
2073 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2074 "bp-asm.h".
2075 (PARMS): Do not use macros from bp-asm.h.
2076 (S1): Likewise.
2077 (S2): Likewise.
2078 (SIZE): Likewise.
2079 (__mpn_add_n): Do not use BP_SYM.
2080 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2081 weak_alias.
2082 (bzero): Likewise.
2083 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2084 "bp-asm.h".
2085 (PARMS): Do not use macros from bp-asm.h.
2086 (BLK2): Likewise.
2087 (LEN): Likewise.
2088 (memcmp): Do not use BP_SYM.
2089 (bcmp): Do not use BP_SYM in weak_alias.
2090 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2091 "bp-asm.h".
2092 (PARMS): Do not use macros from bp-asm.h.
2093 (DEST): Likewise.
2094 (SRC): Likewise.
2095 (LEN): Likewise.
2096 (memcpy): Likewise. Do not use BP_SYM.
2097 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2098 "bp-asm.h".
2099 (PARMS): Do not use macros from bp-asm.h.
2100 (DEST): Likewise.
2101 (SRC): Likewise.
2102 (LEN): Likewise.
2103 (memmove): Likewise. Do not use BP_SYM.
2104 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2105 "bp-asm.h".
2106 (PARMS): Do not use macros from bp-asm.h.
2107 (DEST): Likewise.
2108 (SRC): Likewise.
2109 (LEN): Likewise.
2110 (__mempcpy): Likewise. Do not use BP_SYM.
2111 (mempcpy): Do not use BP_SYM in weak_alias.
2112 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2113 "bp-asm.h".
2114 (PARMS): Do not use macros from bp-asm.h.
2115 (DEST): Likewise.
2116 (LEN): Likewise.
2117 [!BZERO_P] (CHR): Likewise.
2118 (memset): Likewise. Do not use BP_SYM.
2119 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2120 "bp-asm.h".
2121 (PARMS): Do not use macros from bp-asm.h.
2122 (STR2): Likewise.
2123 (strcmp): Do not use BP_SYM.
2124 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2125 "bp-asm.h".
2126 (PARMS): Do not use macros from bp-asm.h.
2127 (STR): Likewise.
2128 (DELIM): Likewise.
2129 [USE_AS_STRTOK_R] (SAVE): Likewise.
2130 (FUNCTION): Likewise. Do not use BP_SYM.
2131 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2132 aliases.
2133 (strtok_r): Likewise.
2134 (__GI___strtok_r): Likewise.
2135 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2136 (PARMS): Do not use macros from bp-asm.h.
2137 (S): Likewise.
2138 (SIZE): Likewise.
2139 (__mpn_lshift): Do not use BP_SYM.
2140 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2141 (PARMS): Do not use macros from bp-asm.h.
2142 (STR): Likewise.
2143 (CHR): Likewise.
2144 (__memchr): Do not use BP_SYM.
2145 (memchr): Do not use BP_SYM in weak_alias.
2146 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2147 (PARMS): Do not use macros from bp-asm.h.
2148 (BLK2): Likewise.
2149 (LEN): Likewise.
2150 (memcmp): Do not use BP_SYM.
2151 (bcmp): Do not use BP_SYM in weak_alias.
2152 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2153 (PARMS): Do not use macros from bp-asm.h.
2154 (S1): Likewise.
2155 (SIZE): Likewise.
2156 (__mpn_mul_1): Do not use BP_SYM.
2157 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2158 "bp-asm.h".
2159 (PARMS): Do not use macros from bp-asm.h.
2160 (STR): Likewise.
2161 (CHR): Likewise.
2162 (__rawmemchr): Do not use BP_SYM.
2163 (rawmemchr): Do not use BP_SYM in weak_alias.
2164 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2165 (PARMS): Do not use macros from bp-asm.h.
2166 (S): Likewise.
2167 (SIZE): Likewise.
2168 (__mpn_rshift): Do not use BP_SYM.
2169 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2170 (PARMS): Do not use macros from bp-asm.h.
2171 (SIGMSK): Likewise.
2172 (__sigsetjmp): Likewise. Do not use BP_SYM.
2173 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2174 (_start): Do not use BP_SYM.
2175 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2176 (PARMS): Do not use macros from bp-asm.h.
2177 (DEST): Likewise.
2178 (SRC): Likewise.
2179 (__stpcpy): Likewise. Do not use BP_SYM.
2180 (stpcpy): Do not use BP_SYM in weak_alias.
2181 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2182 "bp-asm.h".
2183 (PARMS): Do not use macros from bp-asm.h.
2184 (DEST): Likewise.
2185 (SRC): Likewise.
2186 (LEN): Likewise.
2187 (__stpncpy): Likewise. Do not use BP_SYM.
2188 (stpncpy): Do not use BP_SYM in weak_alias.
2189 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2190 (PARMS): Do not use macros from bp-asm.h.
2191 (STR): Likewise.
2192 (CHR): Likewise.
2193 (strchr): Likewise. Do not use BP_SYM.
2194 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2195 "bp-asm.h".
2196 (PARMS): Do not use macros from bp-asm.h.
2197 (STR): Likewise.
2198 (CHR): Likewise.
2199 (__strchrnul): Likewise. Do not use BP_SYM.
2200 (strchrnul): Do not use BP_SYM in weak_alias.
2201 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2202 "bp-asm.h".
2203 (PARMS): Do not use macros from bp-asm.h.
2204 (STOP): Likewise.
2205 (strcspn): Do not use BP_SYM.
2206 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2207 "bp-asm.h".
2208 (PARMS): Do not use macros from bp-asm.h.
2209 (STR): Likewise.
2210 (STOP): Likewise.
2211 (strpbrk): Likewise. Do not use BP_SYM.
2212 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2213 "bp-asm.h".
2214 (PARMS): Do not use macros from bp-asm.h.
2215 (STR): Likewise.
2216 (CHR): Likewise.
2217 (strrchr): Likewise. Do not use BP_SYM.
2218 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2219 (PARMS): Do not use macros from bp-asm.h.
2220 (SKIP): Likewise.
2221 (strspn): Do not use BP_SYM.
2222 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2223 (PARMS): Do not use macros from bp-asm.h.
2224 (STR): Likewise.
2225 (DELIM): Likewise.
2226 (SAVE): Likewise.
2227 (FUNCTION): Likewise. Do not use BP_SYM.
2228 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2229 aliases.
2230 (strtok_r): Likewise.
2231 (__GI___strtok_r): Likewise.
2232 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2233 (PARMS): Do not use macros from bp-asm.h.
2234 (S1): Likewise.
2235 (S2): Likewise.
2236 (SIZE): Likewise.
2237 (__mpn_sub_n): Do not use BP_SYM.
2238 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2239 "bp-asm.h".
2240 (PARMS): Do not use macros from bp-asm.h.
2241 (S1): Likewise.
2242 (SIZE): Likewise.
2243 (__mpn_submul_1): Do not use BP_SYM.
2244 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2245 <bp-sym.h>.
2246 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2247 and <bp-asm.h>.
2248 (PARMS): Do not use macros from bp-asm.h.
2249 (FLAGS): Likewise.
2250 (PTID): Likewise.
2251 (TLS): Likewise.
2252 (CTID): Likewise.
2253 (__clone): Do not use BP_SYM.
2254 (clone): Do not use BP_SYM in weak_alias.
2255 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2256 and <bp-asm.h>.
2257 (PARMS): Do not use macros from bp-asm.h.
2258 (LEN): Likewise.
2259 (__mmap64): Do not use BP_SYM.
2260 (mmap64): Do not use BP_SYM in weak_alias.
2261 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2262 <bp-sym.h> and <bp-asm.h>.
2263 (PARMS): Do not use macros from bp-asm.h.
2264 (__posix_fadvise64_l64): Do not use BP_SYM.
2265 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2266 (PARMS): Do not use macros from bp-asm.h.
2267 (NSOPS): Likewise.
2268 (semtimedop): Do not use BP_SYM.
2269 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2270 and <bp-asm.h>.
2271
582a3cff
AM
22722013-02-21 Allan McRae <allan@archlinux.org>
2273
2274 * manual/message.texi (Charset conversion in gettext):
2275 Move @end statement to beginning of line.
2276
bab8a695
SP
22772013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2278
80945231
SP
2279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2280 static.
2281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2282 Likewise.
2283
bab8a695
SP
2284 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2285 (denorm): Likewise.
2286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2288
e21d7aa7
AK
22892013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2290
2291 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2292 tail-call to the resolved function if pltexit isn't needed.
2293
4c7a4263
SP
22942013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2295
2296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2297 or Y being zero as being unlikely.
2298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2299 Likewise.
2300
41f49342
CD
23012013-02-20 Carlos O'Donell <carlos@redhat.com>
2302
2303 * manual/nss.texi (System Databases and Name Service Switch):
2304 Remove frobnicate @pxref.
2305
50022a93
TS
23062013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2307
2308 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2309 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2310
08cbd996
PM
23112013-02-20 Petr Machata <pmachata@redhat.com>
2312
2313 * elf/elf.h (R_ARM_TARGET1): New macro.
2314 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2315 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2316 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2317 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2318 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2319 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2320 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2321 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2322 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2323 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2324 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2325 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2326 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2327 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2328 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2329 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2330 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2331 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2332 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2333 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2334 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2335 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2336 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2337 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2338 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2339 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2340 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2341 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2342 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2343 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2344 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2345 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2346 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2347 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2348 (R_ARM_THM_GOT_BREL12): Likewise.
2349 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2350 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2351 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2352 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2353 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2354 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2355 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2356 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2357 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2358
c7b275d6
TS
23592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2360
2361 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2362 __attribute_used__ to __attribute__ ((unused)).
2363
20cd7fb3
SP
23642013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2365
2366 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2367 powerpc mpa.c.
2368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2369 comment formatting.
2370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2371
92945b52
JM
23722013-02-19 Joseph Myers <joseph@codesourcery.com>
2373
2374 [BZ #13550]
2375 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2376 Remove macro.
2377 (ENTER): Remove both macro definitions.
2378 (LEAVE): Likewise.
2379 (CHECK_BOUNDS_LOW): Likewise.
2380 (CHECK_BOUNDS_HIGH): Likewise.
2381 (CHECK_BOUNDS_BOTH): Likewise.
2382 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2383 (RETURN_BOUNDED_POINTER): Likewise.
2384 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2385 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2386 (POP_ERRNO_LOCATION_RETURN): Likewise.
2387 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2388 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2389 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2390 macros.
2391 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2392 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2393 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2394 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2395 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2396 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2397 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2398 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2399 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2400 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2401 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2402 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2403 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2404 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2405 removed macros.
2406 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2407 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2408 macros.
2409 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2410 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2411 * sysdeps/i386/i586/memset.S (memset): Likewise.
2412 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2413 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2414 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2415 macros.
2416 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2417 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2418 Change uses of L(2) to L(out).
2419 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2420 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2421 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2422 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2423 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2424 removed macros.
2425 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2426 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2427 macros.
2428 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2429 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2430 (RETURN): Do not use macro LEAVE.
2431 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2432 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2433 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2434 * sysdeps/i386/i686/memset.S (memset): Likewise.
2435 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2436 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2437 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2438 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2439 Likewise.
2440 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2441 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2442 L(1_2) and L(1_3) into L(1).
2443 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2444 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2445 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2446 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2447 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2448 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2449 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2450 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2451 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2452 macros.
2453 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2454 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2455 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2456 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2457 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2458 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2459 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2460 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2461 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2462 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2463 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2464 * sysdeps/i386/strspn.S (strspn): Likewise.
2465 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2466 conditional code.
2467 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2468 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2469 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2470 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2471 L(1_3) into L(1_1).
2472 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2473 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2474 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2475 macros.
2476 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2477
2389741a
JJ
24782013-02-19 Jakub Jelinek <jakub@redhat.com>
2479
2480 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2481 macro.
2482
2016b3cd
SP
24832013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2484
e4f22324
SP
2485 * math/atest-exp.c (exp_mpn): Remove ROUND.
2486 * math/atest-exp2.c (exp_mpn): Likewise.
2487 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2488
2016b3cd
SP
2489 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2490 * stdlib/tst-tls-atexit-lib.c: Likewise.
2491 * stdlib/tst-tls-atexit.c: Likewise.
2492
4be9b544
MF
24932013-02-18 Mike Frysinger <vapier@gentoo.org>
2494
2495 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2496 and __attribute_alloc_size__.
2497
2f62b9ee
MF
24982013-02-18 Mike Frysinger <vapier@gentoo.org>
2499
2500 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2501 __attribute_alloc_size__.
2502 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2503 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2504
6ff444c4
MF
25052013-02-18 Mike Frysinger <vapier@gentoo.org>
2506
2507 * include/programs/xmalloc.h: New file.
2508 * catgets/gencat.c: Include it.
2509 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2510 * elf/pldd.c: Likewise.
2511 * iconv/iconv_charmap.c: Likewise.
2512 * iconv/iconvconfig.c: Likewise.
2513 * iconv/strtab.c: Likewise.
2514 * locale/programs/locale.c: Likewise.
2515 * locale/programs/localedef.h: Likewise.
2516 * locale/programs/simple-hash.c: Likewise.
2517 * nscd/nscd.h: Likewise.
2518 * nss/makedb.c: Likewise.
2519 * sysdeps/generic/ldconfig.h: Likewise.
2520
be179c8a
SP
25212013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2522
ba384f6e
SP
2523 * Versions.def: Add GLIBC_2.18.
2524 * include/link.h (struct link_map): New member l_tls_dtor_count.
2525 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2526 (__call_tls_dtors): Likewise.
2527 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2528 __cxa_thread_atexit_impl.
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2530 Likewise.
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2532 Likewise.
2533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2534 Likewise.
2535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2536 Likewise.
2537 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2539 Likewise.
2540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2541 Likewise.
2542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2544 Likewise.
2545 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2546 (tests): Add test case tst-tls-atexit.
2547 (modules-names): Add shared library for tst-tls-atexit.
2548 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2549 (GLIBC_PRIVATE): Add __call_tls_dtors.
2550 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2551 for libstdc++.
2552 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2553 * stdlib/tst-tls-atexit.c: New test case.
2554 * stdlib/tst-tls-atexit-lib.c: New test case.
2555
ffaa74cf 2556 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2557
be179c8a
SP
2558 * elf/Versions (ld): Add _dl_find_dso_for_object.
2559 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2560 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2561 (dl_open_worker): Use _dl_find_dso_for_object.
2562 * elf/dl-sym.c (do_sym): Likewise.
2563 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2564
f78b5caa
AK
25652013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2566
2567 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2568 Syntactic changes only.
2569 (_dl_runtime_profile): Do a tail-call to the resolved function.
2570
29691210
JM
25712013-02-17 Joseph Myers <joseph@codesourcery.com>
2572
2573 [BZ #13550]
2574 * sysdeps/x86_64/bp-asm.h: Remove file.
2575 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2576 <bp-sym.h> and <bp-asm.h>.
2577 (__clone): Do not use BP_SYM.
2578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2579 <bp-sym.h> and <bp-asm.h>.
2580 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2581 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2582 "bp-asm.h".
2583 (_setjmp): Do not use BP_SYM.
2584 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2585 "bp-asm.h".
2586 (setjmp): Do not use BP_SYM.
2587 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2588 libc_hidden_def.
2589 (mempcpy): Do not use BP_SYM in weak_alias.
2590 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2591 "bp-asm.h".
2592 (strchr): Do not use BP_SYM.
2593 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2594 "bp-asm.h".
2595 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2596 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2597 (_start): Do not use BP_SYM.
2598 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2599 "bp-asm.h".
2600 (strcat): Do not use BP_SYM.
2601 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2602 "bp-asm.h".
2603 (STRCMP): Do not use BP_SYM.
2604 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2605 "bp-asm.h".
2606 (STRCPY): Do not use BP_SYM.
2607 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2608 "bp-asm.h".
2609 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2610 "bp-asm.h".
2611 (FUNCTION): Do not use BP_SYM.
2612 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2613 weak_alias.
2614 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2615
f238fd19
AJ
26162013-02-17 Andreas Jaeger <aj@suse.de>
2617
2618 * time/Versions: Sort entries.
2619 * string/Versions: Likewise.
2620 * resolv/Versions: Likewise.
2621 * posix/Versions: Likewise.
2622 * iconv/Versions: Likewise.
2623 * elf/Versions: Likewise.
2624 * wcsmbs/Versions: Likewise.
2625
bd07f23c 26262013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2627
22af19f9
SP
2628 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2629 loop termination condition.
2630
4709fe76
SP
2631 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2632 variable to calculate EZ.
2633 (__sqr): Likewise.
2d0e0f29
SP
2634
2635 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2636 the lower precision input.
2637
daaa7713
JM
26382013-02-15 Joseph Myers <joseph@codesourcery.com>
2639
2640 [BZ #13550]
2641 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2642 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2643 (run-via-rtld-prefix): Do not handle %-bp tests.
2644 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2645 (all-object-suffixes): Remove .ob.
2646 (bppfx): Remove variable.
2647 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2648 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2649 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2650 [$(build-bounded) = yes] (libtype.ob): Likewise.
2651 * Makerules (elide-routines.ob): Remove variable.
2652 (do-tests-clean): Do not handle *-bp.out.
2653 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2654 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2655 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2656 (tests): Do not include $(tests-bp.out).
2657 (xtests): Do not include $(xtests-bp.out).
2658 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2659 [$(build-bounded) = yes] ($(addprefix
2660 $(objpfx),$(binaries-bounded))): Remove rule.
2661 ($(objpfx)%-bp.out): Remove rule.
2662 * config.make.in (build-bounded): Remove variable.
2663 * crypt/Makefile [$(build-bounded) = yes]
2664 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2665 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2666 append to variable.
2667 [$(build-bounded) = yes] (install-lib): Likewise.
2668 [$(build-bounded) = yes] (generated): Likewise.
2669 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2670 Remove rule.
2671 * intl/Makefile [$(build-bounded) = yes]
2672 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2673 * math/Makefile [$(build-bounded) = yes]
2674 ($(tests:%=$(objpfx)%-bp): Likewise.
2675 * misc/Makefile [$(build-bounded) = yes]
2676 ($(objpfx)tst-tsearch-bp): Likewise.
2677 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2678 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2679 Remove dependency.
2680 * string/Makefile (o-objects.ob): Remove variable.
2681 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2682 (CFLAGS-.ob): Remove variable.
2683 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2684 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2685 both definitions of variable.
2686 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2687 (ASFLAGS-.ob): Remove variable.
2688
e97ed6dd
JM
26892013-02-14 Joseph Myers <joseph@codesourcery.com>
2690
2bdd4ca6
JM
2691 [BZ #13550]
2692 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2693 Remove __BOUNDED_POINTERS__ from condition.
2694 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2695 * string/bits/string2.h [!__NO_STRING_INLINES &&
2696 !__BOUNDED_POINTERS__]: Likewise.
2697 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2698 Likewise.
2699 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2700 Remove conditional code.
2701 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2702 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2703 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2704 condition.
2705
e97ed6dd
JM
2706 [BZ #13550]
2707 * csu/libc-start.c: Do not include <bp-sym.h>.
2708 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2709 * elf/dl-open.c: Do not include <bp-sym.h>.
2710 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2711 * math/fegetenv.c: Do not include <bp-sym.h>.
2712 (fegetenv): Do not use BP_SYM in versioned symbols.
2713 * nptl/sysdeps/pthread/bits/libc-lockP.h
2714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2715 <bp-sym.h>.
2716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2717 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2719 (__pthread_mutex_destroy): Likewise.
2720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2721 (__pthread_mutex_lock): Likewise.
2722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2723 (__pthread_mutex_trylock): Likewise.
2724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2725 (__pthread_mutex_unlock): Likewise.
2726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2727 (__pthread_mutexattr_init): Likewise.
2728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2729 (__pthread_mutexattr_destroy): Likewise.
2730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2731 (__pthread_mutexattr_settype): Likewise.
2732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2733 (__pthread_rwlock_init): Likewise.
2734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2735 (__pthread_rwlock_destroy): Likewise.
2736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2737 (__pthread_rwlock_rdlock): Likewise.
2738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2739 (__pthread_rwlock_tryrdlock): Likewise.
2740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2741 (__pthread_rwlock_wrlock): Likewise.
2742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2743 (__pthread_rwlock_trywrlock): Likewise.
2744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2745 (__pthread_rwlock_unlock): Likewise.
2746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2747 (__pthread_key_create): Likewise.
2748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2749 (__pthread_setspecific): Likewise.
2750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2751 (__pthread_getspecific): Likewise.
2752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2753 Likewise.
2754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2755 (_pthread_cleanup_push_defer): Likewise.
2756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2757 (_pthread_cleanup_pop_restore): Likewise.
2758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2759 (pthread_setcancelstate): Likewise.
2760 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2761 <bp-sym.h>.
2762 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2763 (memchr): Do not use BP_SYM in weak_alias.
2764 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2765 (fegetenv): Do not use BP_SYM in versioned symbols.
2766 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2767 (fesetenv): Do not use BP_SYM in versioned symbols.
2768 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2769 (feupdateenv): Do not use BP_SYM in versioned symbols.
2770 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2771 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2772 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2773 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2774 (open64): Do not use BP_SYM in weak_alias.
2775 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2776 (fegetenv): Do not use BP_SYM in versioned symbols.
2777 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2778 (fesetenv): Do not use BP_SYM in versioned symbols.
2779 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2780 (feupdateenv): Do not use BP_SYM in versioned symbols.
2781 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2782 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2783 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2784 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2785 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2786 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2787 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2788 <bp-sym.h>.
2789 (__libc_start_main): Do not use BP_SYM.
2790
d6752ccd
SP
27912013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2792
cb57ce60
SP
2793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2794 redundant return line.
2795 (norm): Likewise.
2796 (denorm): Likewise.
2797 (dbl_mp): Likewise.
2798 (sub_magnitudes): Likewise.
2799 (__add): Likewise.
2800 (__sub): Likewise.
2801 (__mul): Likewise.
2802 (__inv): Likewise.
2803 (__dvd): Likewise.
2804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2805 (norm): Likewise.
2806 (denorm): Likewise.
2807 (dbl_mp): Likewise.
2808 (sub_magnitudes): Likewise.
2809 (__add): Likewise.
2810 (__sub): Likewise.
2811 (__mul): Likewise.
2812 (__inv): Likewise.
2813 (__dvd): Likewise.
2814
f414520d
SP
2815 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2816 instead of __mul.
2817 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2818 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2819 (cc32): Likewise.
2820
d6752ccd
SP
2821 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2822 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2824 of __mul for squares.
2825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2826 function
2827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2828 Likewise.
2829 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2830 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2831
70d9946a
JM
28322013-02-13 Joseph Myers <joseph@codesourcery.com>
2833
2834 [BZ #13550]
2835 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2836 code.
2837 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2838 prototype or function definition. Rename ubp_* variables and
2839 parameters. Remove argv definitions conditional on
2840 [__BOUNDED_POINTERS__].
2841 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2842 * elf/dl-runtime.c (_dl_fixup): Likewise.
2843 * include/set-hooks.h (RUN_HOOK): Likewise.
2844 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2845 definition.
2846 * string/strcpy.c (strcpy): Do not use __unbounded.
2847 * sysdeps/generic/frame.h (struct layout): Likewise.
2848 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2849 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2850 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2851 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2852 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2853 (__backtrace): Likewise.
2854 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2855 use __ptrvalue.
2856 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2857 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2858 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2859 Likewise.
2860 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2861 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2862 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2863 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2864 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2865 Do not use __unbounded.
2866 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2867 Rename __unboundedrlimits parameter to rlimits in prototype.
2868 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2869 Do not use __unbounded.
2870 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2871 not use __ptrvalue.
2872 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2873 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2874 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2875 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2876 __ptrvalue or __unbounded.
2877 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2878 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2879 use __unbounded.
2880 (__new_msgctl): Do not use __ptrvalue.
2881 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2882 __unbounded.
2883 (__libc_msgrcv): Do not use __ptrvalue.
2884 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2885 startup_info): Do not use __unbounded.
2886 (__libc_start_main): Likewise. Rename ubp_* variables and
2887 parameters. Remove argv definitions conditional on
2888 [__BOUNDED_POINTERS__].
2889 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2890 __ptrvalue.
2891 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2892 use __unbounded.
2893 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2894 or __ptrvalue.
2895 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2896 use __unbounded.
2897 (__new_shmctl): Do not use __ptrvalue.
2898 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2899 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2900 Likewise.
2901 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2902 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2903 (__libc_sigaction): Likewise.
2904 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2905 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2906 Likewise.
2907 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2908
cc7834d6
OB
29092013-02-13 Ondřej Bílka <neleai@seznam.cz>
2910
ffb1ec7b 2911 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2912
2913 * string/mempcpy.c: Implement by calling memcpy.
2914
bdf02814
SP
29152013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2916
c2af38aa
SP
2917 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2918
4e92d59e
SP
2919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2920 evaluation.
2921
909279a5
SP
2922 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2923 values in the mantissa.
2924
bdf02814
SP
2925 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2926 minimize writes to Z.
2927 (sub_magnitudes): Simplify code a bit.
2928
cd525923
RM
29292013-02-12 Roland McGrath <roland@hack.frob.com>
2930
2931 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2932 from the message. The linker prefixes all warnings with that already.
2933
7e2f0d2d
AS
29342013-02-12 Andreas Schwab <schwab@suse.de>
2935
a445af0b
AS
2936 [BZ #15078]
2937 * posix/regexec.c (extend_buffers): Add parameter min_len.
2938 (check_matching): Pass minimum needed length.
2939 (clean_state_log_if_needed): Likewise.
2940 (get_subexp): Likewise.
2941 * posix/Makefile (tests): Add bug-regex34.
2942 (bug-regex34-ENV): Define.
2943 * posix/bug-regex34.c: New file.
2944
7e2f0d2d
AS
2945 [BZ #11561]
2946 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2947 elements compare against the byte sequence of it, not its name.
2948 * posix/Makefile (tests): Add bug-regex35.
2949 (bug-regex35-ENV): Define.
2950 * posix/bug-regex35.c: New file.
2951
a175b684
TV
29522013-02-11 Tom de Vries <tom@codesourcery.com>
2953
2954 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2955 comment.
2956 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2957 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2958 (CHECK_EOL): Add undef.
2959
310998fe 29602013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2961
2962 * bits/stdlib-bsearch.h: New file.
2963 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2964 * stdlib/stdlib.h: Likewise.
41eda41d 2965
8ded91fb
RM
29662013-02-11 Roland McGrath <roland@hack.frob.com>
2967
2968 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2969 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2970 declaration.
2971 * manual/search.texi (Array Search Function): Add missing const in
2972 lfind prototype.
2973 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2974 declaration to use rlim_t.
2975 (Basic Scheduling Functions): Remove erroneous const from
2976 sched_getparam prototype. Remove erroneous * from
2977 sched_get_priority_max and sched_get_priority_min prototypes.
2978 (Resource Usage): Fix summary @comment on vtimes to refer to
2979 sys/vtimes.h rather than vtimes.h.
2980 Add missing *s in vtimes prototype.
2981 (Limits on Resources): Fix ulimit prototype to return long int.
2982 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2983 prototypes to use long int rather than double.
2984 (BSD Random): Fix initstate and setstate to use char *, not void *.
2985 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2986 prototype to make second argument 'struct aiocb64 *const[]'.
2987 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2988 (Status of AIO Operations): Remove erroneous const in aio_return and
2989 aio_return64 prototypes.
2990 (Synchronizing I/O): Fix sync prototype to return void.
2991 * manual/startup.texi (Suboptions): Remove an erroneous const in
2992 getsubopt prototype.
2993 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2994 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2995 use size_t rather than int.
2996 (Scanning All Users): Likewise for getpwent_r.
2997 (Setting Groups): Add missing const to setgroups prototype.
2998 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2999 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3000 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3001 'const void *' rather than 'const char *'.
3002 (Host Address Functions): Likewise for inet_ntop.
3003 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3004 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3005 ssize_t for return value.
3006 (Sending Data): Likewise for send, sendto, sendmsg.
3007 (Socket Option Functions): Add a missing const in setsockopt prototype.
3008 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3009 use wchar_t for the argument.
3010 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3011 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3012 take no arguments.
3013 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3014 double/float/long double for second argument.
3015 Fix return types of significand, significandf, significandl.
3016 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3017 argument in fchmod prototype.
3018 (File Owner): Use uid_t and gid_t in fchown prototype.
3019 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3020 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3021 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3022 use 'const struct dirent **' as argument types to CMP function pointer
3023 argument.
3024 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3025 (File Times): Fix summary magic @comment for struct utimbuf and utime
3026 to refer to utime.h, not time.h.
3027 * manual/string.texi (Argz Functions): Add missing const in
3028 argz_extract and argz_next prototypes.
3029 (Finding Tokens in a String): Likewise for basename.
3030 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3031 (Copying and Concatenation): Fix typo in wmemmove prototype.
3032 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3033 (Signal Stack): Remove erroneous const in sigstack prototype.
3034 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3035 prototype.
3036 (Simple Calendar Time): Likewise for stime.
3037 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3038 prototype.
3039 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3040 say sys/sysctl.h instead.
3041 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3042 and vsyslog prototypes.
3043
fe77fe6d
TV
30442013-02-11 Tom de Vries <tom@codesourcery.com>
3045
3046 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3047 Remove.
3048
3a09b620
RM
30492013-02-11 Roland McGrath <roland@hack.frob.com>
3050
3051 * misc/sys/mman.h: Fix typo in mremap comment.
3052
550a0b89
RM
30532013-02-08 Roland McGrath <roland@hack.frob.com>
3054
3055 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3056 the '\0' terminator.
3057
a2da1673
JM
30582013-02-08 Joseph Myers <joseph@codesourcery.com>
3059
3060 [BZ #13550]
3061 * debug/segfault.c: Don't include <bp-checks.h>.
3062 * sysdeps/generic/bp-checks.h: Remove file.
3063 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3064 (__GETDENTS): Don't use CHECK_N.
3065 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3066 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3067 (__getgroups): Don't use CHECK_N.
3068 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3069 (setgroups): Don't use CHECK_N.
3070 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3071 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3072 (__libc_msgrcv): Don't use CHECK_N.
3073 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3074 (__libc_msgsnd): Don't use CHECK_N.
3075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3076 <bp-checks.h>.
3077 (__libc_pread): Don't use CHECK_N.
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3079 include <bp-checks.h>.
3080 (__libc_pread64): Don't use CHECK_N.
3081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3082 include <bp-checks.h>.
3083 (__libc_pwrite): Don't use CHECK_N.
3084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3085 include <bp-checks.h>.
3086 (__libc_pwrite64): Don't use CHECK_N.
3087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3088 <bp-checks.h>.
3089 (__libc_pread): Don't use CHECK_N.
3090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3091 include <bp-checks.h>.
3092 (__libc_pread64): Don't use CHECK_N.
3093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3094 include <bp-checks.h>.
3095 (__libc_pwrite): Don't use CHECK_N.
3096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3097 include <bp-checks.h>.
3098 (__libc_pwrite64): Don't use CHECK_N.
3099 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3100 (do_pread): Don't use CHECK_N.
3101 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3102 (do_pread64): Don't use CHECK_N.
3103 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3104 (do_pwrite): Don't use CHECK_N.
3105 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3106 (do_pwrite64): Don't use CHECK_N.
3107 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3108 (__libc_readv): Don't use CHECK_N.
3109 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3110 (semop): Don't use CHECK_N.
3111 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3112 <bp-checks.h>.
3113 (semtimedop): Don't use CHECK_N.
3114 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3115 (__libc_pread): Don't use CHECK_N.
3116 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3117 <bp-checks.h>.
3118 (__libc_pread64): Don't use CHECK_N.
3119 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3120 <bp-checks.h>.
3121 (__libc_pwrite): Don't use CHECK_N.
3122 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3123 <bp-checks.h>.
3124 (__libc_pwrite64): Don't use CHECK_N.
3125 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3126 <bp-checks.h>.
3127 (__libc_msgrcv): Don't use CHECK_N.
3128 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3129 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3130 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3131 (__libc_writev): Don't use CHECK_N.
3132
b84660a8
RM
31332013-02-08 Roland McGrath <roland@hack.frob.com>
3134
7f3e75f8
RM
3135 * string/strcpy.c: Removed unused variable.
3136
b84660a8
RM
3137 * Makeconfig (+sysdep-includes): Define with := rather than =.
3138 Use an existing include/ subdir of each sysdeps dir before it.
3139
471514d3
CD
31402013-02-08 Carlos O'Donell <carlos@redhat.com>
3141
3142 * nscd/connection.c (register_traced_file): Comment function.
3143 [HAVE_INOTIFY] (union __inev): Define.
3144 [HAVE_INOTIFY] (inotify_check_files): New function.
3145 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3146 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3147 clear_db_cache.
3148 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3149
b2d3c3be
CD
31502013-02-08 Carlos O'Donell <carlos@redhat.com>
3151
3152 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3153 loaded if not already and that a failure is permanent.
3154
b39949d2
CD
31552013-02-08 Carlos O'Donell <carlos@redhat.com>
3156
ddacd1db 3157 [BZ #15006]
b39949d2
CD
3158 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3159 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3160
b2c9eff4
JM
31612013-02-08 Joseph Myers <joseph@codesourcery.com>
3162
f3aae3f3
JM
3163 [BZ #13550]
3164 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3165 (CHECK_1_NULL_OK): Likewise.
3166 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3167 (__fxstat): Do not use CHECK_1.
3168 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3169 <bp-checks.h>.
3170 (___fxstat64): Do not use CHECK_1.
3171 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3172 <bp-checks.h>.
3173 (__fxstatat): Do not use CHECK_1.
3174 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3175 <bp-checks.h>.
3176 (__fxstatat64): Do not use CHECK_1.
3177 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3178 <bp-checks.h>.
3179 (__fxstat): Do not use CHECK_1.
3180 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3181 <bp-checks.h>.
3182 (__fxstatat): Do not use CHECK_1.
3183 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3184 <bp-checks.h>.
3185 (__getresgid): Do not use CHECK_1.
3186 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3187 <bp-checks.h>.
3188 (__getresuid): Do not use CHECK_1.
3189 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3190 <bp-checks.h>.
3191 (__lxstat): Do not use CHECK_1.
3192 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3193 <bp-checks.h>.
3194 (__old_msgctl): Do not use CHECK_1.
3195 (__new_msgctl): Likewise.
3196 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3197 <bp-checks.h>.
3198 (__new_setrlimit): Do not use CHECK_1.
3199 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3200 <bp-checks.h>.
3201 (__old_shmctl): Do not use CHECK_1.
3202 (__new_shmctl): Likewise.
3203 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3204 <bp-checks.h>.
3205 (__xstat): Do not use CHECK_1.
3206 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3207 (__lxstat): Do not use CHECK_1.
3208 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3209 <bp-checks.h>.
3210 (___lxstat64): Do not use CHECK_1.
3211 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3212 (__old_msgctl): Do not use CHECK_1.
3213 (__new_msgctl): Likewise.
3214 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3215 <bp-checks.h>.
3216 (__gettimeofday): Do not use CHECK_1.
3217 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3218 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3219 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3220 <bp-checks.h>.
3221 (__gettimeofday): Do not use CHECK_1.
3222 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3223 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3224 (__new_shmctl): Do not use CHECK_1.
3225 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3226 <bp-checks.h>.
3227 (do_sigtimedwait): Do not use CHECK_1.
3228 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3229 <bp-checks.h>.
3230 (do_sigwaitinfo): Do not use CHECK_1.
3231 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3232 <bp-checks.h>.
3233 (msgctl): Do not use CHECK_1.
3234 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3235 <bp-checks.h>.
3236 (shmctl): Do not use CHECK_1.
3237 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3238 (ustat): Do not use CHECK_1.
3239 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3240 <bp-checks.h>.
3241 (__fxstat): Do not use CHECK_1.
3242 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3243 <bp-checks.h>.
3244 (__fxstatat): Do not use CHECK_1.
3245 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3246 <bp-checks.h>.
3247 (__lxstat): Do not use CHECK_1.
3248 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3249 <bp-checks.h>.
3250 (__xstat): Do not use CHECK_1.
3251 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3252 (__xstat): Do not use CHECK_1.
3253 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3254 (___xstat64): Do not use CHECK_1.
3255
b2c9eff4
JM
3256 [BZ #13550]
3257 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3258 definitions.
3259 (CHECK_BOUNDS_HIGH): Likewise.
3260 * string/strcpy.c: Do not include <bp-checks.h>.
3261 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3262
f1d70dad
RM
32632013-02-07 Roland McGrath <roland@hack.frob.com>
3264
3265 * nscd/nscd-client.h (__nscd_drop_map_ref):
3266 Add __attribute__ ((unused)).
3267 * nis/nss-nisplus.h (niserr2nss): Likewise.
3268
3269 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3270 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3271
3272 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3273 Remove inline keyword.
3274 * include/rounding-mode.h (round_away): Likewise.
3275 * libio/wfileops.c (adjust_wide_data): Likewise.
3276 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3277 (__m128i_strloadu_tolower): Likewise.
3278 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3279 (__m128i_strloadu_tolower): Likewise.
3280 * time/mktime.c (ydhms_diff): Likewise.
3281 * locale/elem-hash.h (elem_hash): Likewise.
3282 * locale/setlocale.c (setdata): Likewise.
3283 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3284 (re_string_wchar_at): Likewise.
3285 (bitset_not, bitset_merge, bitset_mask): Likewise.
3286 [!(__GNUC__ > 3)] (inline): Remove macro.
3287 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3288 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3289 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3290 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3291 * string/memcmp.c (memcmp_bytes): Likewise.
3292 * locale/programs/locarchive.c (compute_hashval): Likewise.
3293 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3294 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3295 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3296 * nss/getent.c (print_rpc, print_protocols): Likewise.
3297 (print_passwd, print_group, print_aliases): Likewise.
3298 * nis/nss-nisplus.h (niserr2nss): Likewise.
3299 * nscd/connections.c (restart_p): Likewise.
3300 Change return type to bool.
3301
eab55bfb
RM
33022013-02-05 Roland McGrath <roland@hack.frob.com>
3303
7bd642f5
RM
3304 * Makeconfig (all-Depend-files): Add existing
3305 $(sorted-subdirs:=/Depend) files.
3306 (all-subdirs): Remove nss.
3307 * sysdeps/unix/inet/Subdirs: Add it here instead.
3308 * hesiod/Depend: New file.
3309
573c29b2
RM
3310 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3311 instead of calling alloca.
3312
b2e25af0
RM
3313 * io/lseek.c (__lseek): Rename to __libc_lseek.
3314 Define __lseek as an alias.
3315
eab55bfb
RM
3316 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3317
9a0d1941
CD
33182013-02-04 Carlos O'Donell <carlos@redhat.com>
3319
3320 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3321 else clause and remove check for non-standard endianness.
3322
b83bbec4
DM
33232013-02-04 David S. Miller <davem@davemloft.net>
3324
3325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3326
6277fdab
JM
33272013-02-04 Joseph Myers <joseph@codesourcery.com>
3328
3329 [BZ #13550]
3330 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3331 (__ubp_memchr): Remove prototype.
3332 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3333 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3334 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3335 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3336 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3337 Remove alias.
3338 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3339 (__ubp_memchr): Likewise.
3340 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3341 (__ubp_memchr): Likewise.
3342 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3343 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3344 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3345 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3346 CHECK_STRING.
3347 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3348 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3349 (__getcwd): Do not use CHECK_STRING.
3350 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3351 <bp-checks.h>.
3352 (__real_chown): Do not use CHECK_STRING.
3353 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3354 <bp-checks.h>.
3355 (fchownat): Do not use CHECK_STRING.
3356 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3357 CHECK_STRING.
3358 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3359 <bp-checks.h>.
3360 (__lchown): Do not use CHECK_STRING.
3361 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3362 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3363 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3364 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3366 include <bp-checks.h>.
3367 (truncate64): Do not use CHECK_STRING.
3368 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3369 <bp-checks.h>.
3370 (__real_chown): Do not use CHECK_STRING.
3371 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3372 <bp-checks.h>.
3373 (__lchown): Do not use CHECK_STRING.
3374 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3375 <bp-checks.h>.
3376 (__chown): Do not use CHECK_STRING.
3377 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3378 <bp-checks.h>.
3379 (truncate64): Do not use CHECK_STRING.
3380 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3381 Likewise.
3382 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3383 (__xmknod): Do not use CHECK_STRING.
3384 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3385 <bp-checks.h>.
3386 (__xmknodat): Do not use CHECK_STRING.
3387 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3388 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3389
903ae060
AS
33902013-02-04 Andreas Schwab <schwab@suse.de>
3391
3392 [BZ #14142]
3393 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3394 * include/netdb.h: Likewise for h_errno.
3395 * elf/tst-stackguard1.c: Include <tls.h>.
3396
542f9466
JK
33972013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3398
3399 * elf/link.h (struct link_map): Extend the l_addr comment.
3400 * include/link.h (struct link_map): Likewise.
3401
e782a927
JM
34022013-02-01 Joseph Myers <joseph@codesourcery.com>
3403
3404 [BZ #13550]
3405 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3406 (BOUNDED_1): Remove macro.
3407 * debug/backtrace.c: Don't include <bp-checks.h>.
3408 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3409 (__backtrace): Likewise.
3410 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3411 <bp-checks.h>.
3412 (__backtrace): Don't use BOUNDED_1.
3413 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3414 <bp-checks.h>.
3415 (__backtrace): Don't use BOUNDED_1.
3416 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3417 (__backtrace): Don't use BOUNDED_1.
3418 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3419 (shmat): Don't use BOUNDED_N.
3420
8cf28c5e
JM
34212013-01-31 Joseph Myers <joseph@codesourcery.com>
3422
3a7ac8a0
JM
3423 [BZ #13550]
3424 * sysdeps/generic/bp-start.h: Remove file.
3425 * csu/libc-start.c: Don't include <bp-start.h>.
3426 (LIBC_START_MAIN): Set up __environ directly instead of using
3427 INIT_ARGV_and_ENVIRON.
3428 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3429 <bp-start.h>.
3430
f3499f95
JM
3431 [BZ #13550]
3432 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3433 definitions.
3434 (CHECK_FCNTL): Likewise.
3435 (CHECK_N_PAGES): Likewise.
3436
32a45bea
JM
3437 [BZ #13550]
3438 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3439 definitions.
3440 (CHECK_SIGSET_NULL_OK): Likewise.
3441 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3442 <bp-checks.h>.
3443 (sigpending): Don't use CHECK_SIGSET.
3444 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3445 <bp-checks.h>.
3446 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3447 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3448 <bp-checks.h>.
3449 (do_sigsuspend): Don't use CHECK_SIGSET.
3450 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3451 use CHECK_SIGSET.
3452 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3453 (do_sigwait): Don't use CHECK_SIGSET.
3454 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3455 use CHECK_SIGSET.
3456 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3457 include <bp-checks.h>.
3458 (sigpending): Don't use CHECK_SIGSET.
3459 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3460 include <bp-checks.h>.
3461 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3462 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3463 <bp-checks.h>.
3464 (sigpending): Don't use CHECK_SIGSET.
3465 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3466 <bp-checks.h>.
3467 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3468
2e8a5c8c
JM
3469 [BZ #13550]
3470 * sysdeps/generic/bp-semctl.h: Remove file.
3471 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3472 <bp-checks.h> and <bp-semctl.h>.
3473 (__old_semctl): Don't use CHECK_SEMCTL.
3474 (__new_semctl): Likewise.
3475 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3476 and <bp-semctl.h>.
3477 (__old_semctl): Don't use CHECK_SEMCTL.
3478 (__new_semctl): Likewise.
3479 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3480 <bp-checks.h> and <bp-semctl.h>.
3481 (__old_semctl): Don't use CHECK_SEMCTL.
3482 (__new_semctl): Likewise.
3483 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3484 <bp-checks.h> and <bp-semctl.h>.
3485 (semctl): Don't use CHECK_SEMCTL.
3486
c2d54929
JM
3487 [BZ #13550]
3488 * Makerules (elide-bp-thunks): Remove variable.
3489 (elide-routines.oS): Don't use $(elide-bp-thunks).
3490 (elide-routines.os): Likewise.
3491 (elide-routines.o): Likewise.
3492 (elide-routines.op): Likewise.
3493 (elide-routines.og): Likewise.
3494 (objects): Don't use $(bp-thunks).
3495 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3496 include.
3497 (common-generated): Do not add s-proto-bp.d.
3498 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3499 (int): Likewise.
3500 (typ): Likewise.
3501 Do not generate makefile rules for bounded-pointer thunks.
3502 * sysdeps/generic/bp-thunks.h: Remove file.
3503 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3504 * sysdeps/unix/s-proto-bp.S: Likewise.
3505
8cf28c5e
JM
3506 [BZ #15062]
3507 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3508 parts of result separately when argument is not close to line from
3509 -i to i and one part of argument is small.
3510 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3511 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3512 * math/libm-test.inc (cacos_test): Add more tests.
3513 (casin_test): Likewise.
3514 (casinh_test): Likewise.
3515 * sysdeps/i386/fpu/libm-test-ulps: Update.
3516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3517
c4e33b8d
DM
35182013-01-31 David S. Miller <davem@davemloft.net>
3519
3520 * po/de.po: Update from translation team.
3521
3b60b421
MK
35222013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3523
3524 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3525
bb931195
TS
35262013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3527
b5a5da23
TS
3528 * configure.in (_AC_PROG_CC_C89): New definition.
3529 * configure: Regenerate.
3530
bb931195
TS
3531 * configure.in (AC_PROG_CPP): New definition.
3532 * configure: Regenerate.
3533
8c53a12c
JM
35342013-01-23 Joseph Myers <joseph@codesourcery.com>
3535
3536 * debug/tst-backtrace.h: New file.
3537 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3538 (ret): Remove variable.
3539 (x): Likewise.
3540 (FAIL): Remove macro.
3541 (NO_INLINE): Likewise.
3542 (fn1): Use match function instead of strstr.
3543 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3544 (ret): Remove variable.
3545 (x): Likewise.
3546 (FAIL): Remove macro.
3547 (NO_INLINE): Likewise.
3548 (fn): Use match function instead of strstr.
3549 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3550 (ret): Remove variable.
3551 (x): Likewise.
3552 (FAIL): Remove macro.
3553 (NO_INLINE): Likewise.
3554 (handle_signal): Use match function instead of strstr.
3555 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3556 (ret): Remove variable.
3557 (x): Likewise.
3558 (FAIL): Remove macro.
3559 (NO_INLINE): Likewise.
3560 (handle_signal): Use match function instead of strstr.
3561
4858fa2a
RM
35622013-01-23 Roland McGrath <roland@hack.frob.com>
3563
3564 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3565
bae8e7f5
DM
35662013-01-23 David S. Miller <davem@davemloft.net>
3567
3568 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3569 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3570 argument of CAS if possible.
3571 * sysdeps/sparc/sparc64/bits/atomic.h
3572 (__arch_compare_and_exchange_val_32_acq): Likewise.
3573 (__arch_compare_and_exchange_val_64_acq): Likewise.
3574
9cbbc4ae
PT
35752013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3576
3577 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3578 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3579 Include <limits.h>.
67b3f58c 3580 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3581
5655a0b5
AC
35822013-01-23 Adam Conrad <adconrad@0c3.net>
3583
3584 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3585 (LDFLAGS-tst-array5): Likewise.
3586
052aff95
JM
35872013-01-23 Joseph Myers <joseph@codesourcery.com>
3588
3589 [BZ #15036]
3590 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3591 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3592 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3593 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3594
7c1e01aa
DM
35952013-01-21 David S. Miller <davem@davemloft.net>
3596
3597 * sysdeps/sparc/backtrace.c: New file.
3598 * sysdeps/sparc/sparc32/backtrace.h: New file.
3599 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3600 * sysdeps/sparc/sparc64/backtrace.h: New file.
3601 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3602 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3603 -funwind-tables.
3604
ab087e0a
AS
36052013-01-21 Andreas Schwab <schwab@suse.de>
3606
3607 [BZ #15020]
3608 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3609 closed its stdout.
3610
ed689c2f
AS
36112013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3612
3613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3614 "mpa2.h".
3615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3616
31d470ac
JM
36172013-01-18 Joseph Myers <joseph@codesourcery.com>
3618 Mark Mitchell <mark@codesourcery.com>
3619 Tom de Vries <tom@codesourcery.com>
3620 Paul Pluzhnikov <ppluzhnikov@google.com>
3621
3622 * debug/tst-backtrace2.c: New file.
3623 * debug/tst-backtrace3.c: Likewise.
3624 * debug/tst-backtrace4.c: Likewise.
3625 * debug/tst-backtrace5.c: Likewise.
3626 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3627 (CFLAGS-tst-backtrace3.c): Likewise.
3628 (CFLAGS-tst-backtrace4.c): Likewise.
3629 (CFLAGS-tst-backtrace5.c): Likewise.
3630 (LDFLAGS-tst-backtrace2): Likewise.
3631 (LDFLAGS-tst-backtrace3): Likewise.
3632 (LDFLAGS-tst-backtrace4): Likewise.
3633 (LDFLAGS-tst-backtrace5): Likewise.
3634 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3635 tst-backtrace4 and tst-backtrace5.
3636
90567f30 36372013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3638 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3639
3640 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3641 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3642 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3643 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3645 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3646 "+r" and remove output regs list as redundant. Add explicit inline
3647 asm to specify register of return val to work around compiler codegen
3648 bug. Remove (int) cast on return value. Add return type parameter to
3649 use in macro so that this macro does not truncate return value for
3650 64-bit values.
3651 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3652 pass to INTERNAL_VSYSCALL_NCS.
3653 (INLINE_VSYSCALL): Add 'long int' as return type to
3654 INTERNAL_VSYSCALL_NCS macro invocation.
3655 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3656 INTERNAL_VSYSCALL_NCS macro invocation.
3657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3658
d3b9ea61
SP
36592013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3660
0b57daeb
SP
3661 [BZ #14496]
3662 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3663 Fix application of SIMD FP exception mask.
3664
caa99d06
SP
3665 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3666 mp_no from a power of two.
3667 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3668 __mpexp_twomm1. Use __pow_mp.
3669
d3b9ea61
SP
3670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3671 multiplication.
3672
1dbaee3c
DM
36732013-01-17 David S. Miller <davem@davemloft.net>
3674
3675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3676
728d7b43
JM
36772013-01-17 Joseph Myers <joseph@codesourcery.com>
3678
3679 [BZ #15023]
3680 * include/complex.h: Condition contents on [!_COMPLEX_H].
3681 (__kernel_casinhf): New prototype.
3682 (__kernel_casinh): Likewise.
3683 (__kernel_casinhl): Likewise.
3684 * math/Makefile (libm_calls): Add k_casinh.
3685 * math/k_casinh.c: New file.
3686 * math/k_casinhf.c: Likewise.
3687 * math/k_casinhl.c: Likewise.
3688 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3689 finite nonzero arguments.
3690 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3691 finite nonzero arguments.
3692 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3693 finite nonzero arguments.
3694 * math/s_casinh.c: Do not include <float.h>.
3695 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3696 * math/s_casinhf.c: Do not include <float.h>.
3697 (__casinhf): Move code for finite nonzero arguments to
3698 k_casinhf.c.
3699 * math/s_casinhl.c: Do not include <float.h>.
3700 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3701 redefine.
3702 (__casinhl): Move code for finite nonzero arguments to
3703 k_casinhl.c.
3704 * math/libm-test.inc (cacos_test): Add more tests.
3705 * sysdeps/i386/fpu/libm-test-ulps: Update.
3706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3707
2a26ef3a
PT
37082013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3709
3710 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3711 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3712 [!HAVE_MREMAP]: Remove [defined linux] case.
3713 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3714
a897655d
SP
37152013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3716
3717 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3718
881ebe89 37192013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3720
3721 * elf/elf.h (R_386_SIZE32): New relocation.
3722 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3723 R_386_SIZE32.
3724 (elf_machine_rela): Likewise.
3725 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3726 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3727
59981e9b
JM
37282013-01-17 Joseph Myers <joseph@codesourcery.com>
3729
3730 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3731 (FP_FAST_FMA): Do not define.
3732 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3733 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3734 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3735 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3736 !_SOFT_FLOAT]: Likewise.
3737 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3738 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3739 value.
3740 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3741 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3742 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3743 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3744 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3745 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3746 file.
3747
cfa8054f
AS
37482013-01-16 Andreas Schwab <schwab@suse.de>
3749
3750 [BZ #14327]
3751 * include/stdlib.h (__mktemp): Add declaration.
3752 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3753 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3754
dd930cc5
SP
37552013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3756
881ebe89
SP
3757 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3758 definitions.
3759 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3760 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3761 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3762 definitions here.
3763 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3764 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3765 definitions.
3766 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3767 and ONE.
3768 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3769 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3770 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3771 definitions.
3772 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3773 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3774 definitions.
3775 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3776
dd930cc5
SP
3777 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3778
c19a9f89
DM
37792013-01-15 David S. Miller <davem@davemloft.net>
3780
1aa61767
DM
3781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3782 trunc{,f} to libm-sysdep_routes.
3783 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3785 file.
3786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3788 file.
3789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3790 file.
3791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3793 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3794 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3795 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3796 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3797 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3798 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3799
c42d5e98
DM
3800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3801 nearbyint{,f} to libm-sysdep_routes.
3802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3804 New file.
3805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3806 file.
3807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3808 New file.
3809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3810 file.
3811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3813 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3814 file.
3815 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3816 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3817 file.
3818 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3819 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3820 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3821
c19a9f89
DM
3822 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3823 libc_feholdexcept and libc_fesetenv.
3824
357679d2
MF
38252013-01-15 Mike Frysinger <vapier@gentoo.org>
3826
3827 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3828
65a82e3d
DM
38292013-01-14 David S. Miller <davem@davemloft.net>
3830
8b954ab9
DM
3831 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3832 (SPARC_ASM_VIS2_IFUNC): Likewise.
3833 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3835 use of 'siam' instruction.
3836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3837 Likewise.
3838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3839 Likewise.
3840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3841 Likewise.
3842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3847 file.
3848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3849 file.
3850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3851 file.
3852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3853 file.
3854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3859 new VIS2 routines.
3860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3863 Likewise.
3864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3869 routines to libm-sysdep_routines.
3870 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3871
65a82e3d
DM
3872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3873 fdim/fdimf to libm-sysdep_routines.
3874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3875 file.
3876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3878 file.
3879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3882 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3883 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3884 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3885 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3886
e34ab705
SP
38872013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3888
2a91b573
SP
3889 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3890 to optimize copies.
3891
1066a534
SP
3892 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3895
e34ab705
SP
3896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3897 local variable MPTWO.
3898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3899 Likewise.
3900
aba5e596
MF
39012013-01-13 Mike Frysinger <vapier@gentoo.org>
3902
3903 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3904 GLOB_NOESCAPE.
3905
e557e9e5
MF
39062013-01-13 Mike Frysinger <vapier@gentoo.org>
3907
3908 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3909
0428cec9
MF
39102013-01-13 Mike Frysinger <vapier@gentoo.org>
3911
3912 * manual/pattern.texi (glob_t): Document gl_flags.
3913 (glob64_t): Likewise.
3914
8794a964
DM
39152013-01-11 David S. Miller <davem@davemloft.net>
3916
66438c3f
RM
3917 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3918 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3919 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3920 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3921 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3922 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3923 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3924 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3925 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3926 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3927 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3928 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3929 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3930
4ae4244d
DM
3931 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3932 sparc V9 rather than using V8 code.
3933 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3934 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3935
8794a964
DM
3936 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3937 Move to...
3938 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3939 Here.
3940
6270516e
RM
39412013-01-11 Roland McGrath <roland@hack.frob.com>
3942
3943 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3944 not in the main loop.
3945 * configure: Regenerated.
3946
6a57d931
JM
39472013-01-11 Joseph Myers <joseph@codesourcery.com>
3948
3949 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3950 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3951 to just #else.
3952 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3953 [!__GLIBC_HAVE_LONG_LONG] case.
3954 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3955 condition to just #else.
3956 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3957 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3958 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3959 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3960 unconditional.
3961 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3962 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3963 #elif condition to just #else.
3964 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3965 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3966 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3967 #elif condition to just #else.
3968
0e8529e9
SE
39692013-01-11 Steve Ellcey <sellcey@mips.com>
3970
3971 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3972 (EF_MIPS_ARCH_64): Fix value.
3973 (EF_MIPS_ARCH_32R2): New.
3974 (EF_MIPS_ARCH_64R2): New.
3975
740b3dbe
L
39762013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3977
3978 * Makeconfig (+link-pie-before-libc): New.
3979 (+link-pie-after-libc): Likewise.
3980 (+link-pie-tests): Likewise.
3981 (+link-pie): Rewritten.
3982 (link-before-libc): Remove $(config-LDFLAGS).
3983 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3984 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3985 (config-LDFLAGS): Renamed to ...
3986 (rtld-LDFLAGS): This.
3987 (rtld-tests-LDFLAGS): New macro.
3988 (link-libc-rpath-link): Likewise.
3989 (link-libc-tests-rpath-link): Likewise.
3990 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3991 (link-libc): Prepand $(link-libc-rpath-link).
3992 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3993 (test-program-prefix): New macro.
3994 (test-via-rtld-prefix): Likewise.
3995 (test-program-cmd): Likewise.
3996 (host-test-program-cmd): Likewise.
3997 * Makefile ($(common-objpfx)testrun.sh): Replace
3998 $(run-program-prefix) with $(test-program-prefix).
3999 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4000 $(rtld-LDFLAGS).
4001 ($(common-objpfx)shlib.lds): Likewise.
4002 (build-module-helper): Likewise.
4003 ($(common-objpfx)format.lds): Likewise.
4004 * Rules (binaries-pie-tests): New.
4005 (binaries-pie-notests): Likewise.
4006 (binaries-pie): Rewritten.
4007 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4008 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4009 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4010 (make-test-out): Replace $(host-built-program-cmd) with
4011 $(host-test-program-cmd).
4012 * config.make.in (build-hardcoded-path-in-tests): New variable.
4013 * configure.in (--enable-hardcoded-path-in-tests): New configure
4014 option.
4015 (hardcoded_path_in_tests): New AC_SUBST.
4016 * configure: Regenerated.
4017 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4018 $(built-program-cmd) with $(test-program-cmd).
4019 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4020 (test_program_cmd): This.
4021 * elf/Makefile ($(objpfx)order.out): Run test with
4022 $(test-program-prefix).
4023 ($(objpfx)order2.out): Likewise.
4024 ($(objpfx)tst-initorder.out): Likewise.
4025 ($(objpfx)tst-initorder2.out): Likewise.
4026 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4027 $(test-program-cmd).
4028 ($(objpfx)tst-array1-static.out): Likewise.
4029 ($(objpfx)tst-array2.out): Likewise.
4030 ($(objpfx)tst-array3.out): Likewise.
4031 ($(objpfx)tst-array4.out): Likewise.
4032 ($(objpfx)tst-array5.out): Likewise.
4033 ($(objpfx)tst-array5-static.out): Likewise.
4034 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4035 $(test-program-cmd).
4036 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4037 $(run-program-prefix) with $(test-program-prefix).
4038 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4039 (test_program_prefix): This.
4040 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4041 $(run-program-prefix) with $(test-program-prefix).
4042 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4043 (test_program_prefix): This.
4044 * iconvdata/tst-tables.sh: Likewise.
4045 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4046 $(run-program-prefix) with $(test-program-prefix).
4047 ($(objpfx)tst-translit.out): Likewise.
4048 ($(objpfx)tst-gettext2.out): Likewise.
4049 ($(objpfx)tst-gettext4.out): Likewise.
4050 ($(objpfx)tst-gettext6.out): Likewise.
4051 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4052 (test_program_prefix): This.
4053 * intl/tst-gettext2.sh: Likewise.
4054 * intl/tst-gettext4.sh Likewise.
4055 * intl/tst-gettext6.sh: Likewise.
4056 * intl/tst-translit.sh: Likewise.
4057 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4058 with $(test-program-cmd).
4059 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4060 $(run-program-prefix) with $(test-program-prefix).
4061 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4062 (test_program_prefix): This.
4063 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4064 $(run-program-prefix) with $(test-program-prefix).
4065 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4066 (test_program_prefix): This.
4067 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4068 * posix/Makefile ($(objpfx)globtest.out): Replace
4069 $(run-via-rtld-prefix) and $(test-wrapper) with
4070 $(test-program-prefix) and $(test-via-rtld-prefix).
4071 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4072 $(test-program-prefix).
4073 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4074 $(host-test-program-cmd).
4075 (tst-spawn-ARGS): Likewise.
4076 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4077 $(test-program-prefix).
4078 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4079 (test_via_rtld_prefix): This.
4080 (test_wrapper): Renamed to ...
4081 (test_program_prefix): This.
4082 (run_program_prefix): Replaced by test_program_prefix.
4083 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4084 (test_program_prefix): This.
4085 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4086 with $(host-test-program-cmd).
4087 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4088 $(run-program-prefix) with $(test-program-prefix).
4089 ($(objpfx)tst-printf.out): Likewise.
4090 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4091 $(test-program-cmd).
4092 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4093 (test_program_prefix): This.
4094 * stdio-common/tst-unbputc.sh: Likewise.
4095 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4096 $(run-program-prefix) with $(test-program-prefix).
4097 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4098 (test_program_prefix): This.
4099 * string/Makefile ($(objpfx)tst-svc.out): Replace
4100 $(built-program-cmd) with $(test-program-cmd).
4101
c6fe55cf
AJ
41022013-01-11 Andreas Jaeger <aj@suse.de>
4103
4104 [BZ #15003]
4105 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4106 value. Sync with Linux 3.7.
4107
9e6919c8
DM
41082013-01-10 David S. Miller <davem@davemloft.net>
4109
4110 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4111 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4112 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4113
1c9f1a02
RM
41142013-01-10 Roland McGrath <roland@hack.frob.com>
4115
4116 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4117 never set.
4118 * configure: Regenerated.
4119
b9de2dde
DM
41202013-01-10 David S. Miller <davem@davemloft.net>
4121
4122 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4123 sparc V9 rather than using V8 code.
4124 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4125 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4126
e7f68ef4
RM
41272013-01-10 Roland McGrath <roland@hack.frob.com>
4128
4129 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4130 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4131 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4132 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4133 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4134 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4135 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4136 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4137 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4138 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4139 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4140 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4141 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4142 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4143 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4144 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4145 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4146 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4147 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4148 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4149 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4150 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4151 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4152 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4153 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4154 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4155 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4156
5a47cc9c
DM
41572013-01-10 David S. Miller <davem@davemloft.net>
4158
4159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4160
4cf8f209
L
41612013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4162
4163 * posix/Makefile (tests-static): New variable.
4164 (tests): Add $(tests-static).
4165 (tst-exec-static-ARGS): New variable.
4166 (tst-spawn-static-ARGS): Likewise.
4167 * posix/tst-exec-static.c: New file.
4168 * posix/tst-spawn-static.c: Likewise.
4169 * posix/tst-exec.c: Support run directly.
4170 * posix/tst-spawn.c: Likewise.
4171
fed0faa1
JM
41722013-01-10 Joseph Myers <joseph@codesourcery.com>
4173
828beb13
JM
4174 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4175 long.
4176 * math/bits/mathcalls.h (llrint): Likewise.
4177 (llround): Likewise.
4178 * stdlib/stdlib.h (struct drand48_data): Likewise.
4179 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4180 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4181 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4182 Likewise.
4183 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4184 Likewise.
4185 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4186 (elf_greg_t): Likewise.
4187 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4188 (__jmp_buf): Likewise.
4189 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4190 definitions.
4191 (llrint): Likewise, for all definitions.
4192 (llrintl): Likewise.
4193
fed0faa1
JM
4194 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4195 Remove [__GNUC__] condition.
4196 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4197 condition to just [__USE_ISOC99].
4198 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4199
1a20cb20
L
42002013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4201
4202 [BZ #14200]
4203 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4204 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4205 defined.
4206 (_POSIX_V6_ILP32_OFF32): Likewise.
4207 (_XBS5_ILP32_OFF32): Likewise.
4208 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4209 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4210
751b85f7
SP
42112013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4212
7490eb81
SP
4213 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4214
751b85f7
SP
4215 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4216 doubles __mpexp_twomm1. Adjust usage.
4217 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4218 Remove.
4219
988197f0
AS
42202013-01-10 Andreas Schwab <schwab@suse.de>
4221
4222 [BZ #14964]
4223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4224 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4225
e83d7298
DM
42262013-01-09 David S. Miller <davem@davemloft.net>
4227
034ed64b 4228 [BZ #15003]
e83d7298
DM
4229 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4230 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4231 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4232 TCP_FASTOPEN): Define.
4233 (tcp_repair_opt): New structure.
4234 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4235 enum values.
4236 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4237 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4238 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4239 (tcp_cookie_transactions): New structure.
4240
d5e0b9bd
AB
42412013-01-09 Anton Blanchard <anton@samba.org>
4242
4243 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4244 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4245 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4246 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4247
0c07e3ea
JM
42482013-01-09 Joseph Myers <joseph@codesourcery.com>
4249
4250 * include/features.h (__USE_ANSI): Remove.
4251
232f7002
RM
42522013-01-09 Roland McGrath <roland@hack.frob.com>
4253
ad98e30c
RM
4254 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4255
232f7002
RM
4256 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4257
950c99ca
SP
42582013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4259
b5792741
SP
4260 * sysdeps/s390/fpu/libm-test-ulps: Update.
4261
47cf2278
SP
4262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4263
950c99ca
SP
4264 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4265 (__acr): Likewise.
4266 (__cpy): Likewise.
4267 (norm): Likewise.
4268 (denorm): Likewise.
4269 (__mp_dbl): Likewise.
4270 (__dbl_mp): Likewise.
4271 (add_magnitudes): Likewise.
4272 (sub_magnitudes): Likewise.
4273 (__add): Likewise.
4274 (__sub): Likewise.
4275 (__mul): Likewise.
4276 (__inv): Likewise.
4277 (__dvd): Likewise.
4278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4279 (__acr): Likewise.
4280 (__cpy): Likewise.
4281 (norm): Likewise.
4282 (denorm): Likewise.
4283 (__mp_dbl): Likewise.
4284 (__dbl_mp): Likewise.
4285 (add_magnitudes): Likewise.
4286 (sub_magnitudes): Likewise.
4287 (__add): Likewise.
4288 (__sub): Likewise.
4289 (__mul): Likewise.
4290 (__inv): Likewise.
4291 (__dvd): Likewise.
4292 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4293 (__acr): Likewise.
4294 (__cpy): Likewise.
4295 (norm): Likewise.
4296 (denorm): Likewise.
4297 (__mp_dbl): Likewise.
4298 (__dbl_mp): Likewise.
4299 (add_magnitudes): Likewise.
4300 (sub_magnitudes): Likewise.
4301 (__add): Likewise.
4302 (__sub): Likewise.
4303 (__mul): Likewise.
4304 (__inv): Likewise.
4305 (__dvd): Likewise.
4306
eede9df9
JM
43072013-01-08 Joseph Myers <joseph@codesourcery.com>
4308
4309 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4310 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4311 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4312 2 && __USE_EXTERN_INLINES]: Likewise.
4313
c40ea3d9
AJ
43142013-01-08 Andreas Jaeger <aj@suse.de>
4315
4316 [BZ# 14985]
4317 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4318 Remove.
4319 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4320 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4321
2ccdea26
AB
43222013-01-07 Anton Blanchard <anton@samba.org>
4323
4324 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4325 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4326 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4327 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4328 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4329 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4330 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4331 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4333 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4334 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4335 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4336 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4337 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4338 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4339 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4340 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4341 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4342 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4343 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4344 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4345 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4346 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4347 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4348 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4349 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4350 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4351 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4352 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4353 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4354 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4355 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4356 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4357 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4358 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4359 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4360 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4361 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4362 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4363 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4364 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4365 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4366 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4367
a9708fed
JM
43682013-01-07 Joseph Myers <joseph@codesourcery.com>
4369
375607b9
JM
4370 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4371 (__MALLOC_PMT): Likewise.
4372 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4373 [__GNUC__], only on [_LIBC].
4374 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4375 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4376 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4377 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4378 forward declaration.
4379 (realloc_hook_ini): Likewise.
4380 (memalign_hook_ini): Likewise.
4381 (__libc_memalign): Do not use __MALLOC_PMT in variable
4382 declaration.
4383 (__libc_valloc): Likewise.
4384 (__libc_pvalloc): Likewise.
4385 (__libc_calloc): Likewise.
4386 (__posix_memalign): Likewise.
4387
a9708fed
JM
4388 [BZ #14996]
4389 * math/s_casinh.c: Include <float.h>.
4390 (__casinh): Do not do computation with squaring and square root
4391 for large arguments.
4392 * math/s_casinhf.c: Include <float.h>.
4393 (__casinhf): Do not do computation with squaring and square root
4394 for large arguments.
4395 * math/s_casinhl.c: Include <float.h>.
4396 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4397 (__casinhl): Do not do computation with squaring and square root
4398 for large arguments.
4399 * math/libm-test.inc (casin_test): Add more tests.
4400 (casinh_test): Likewise.
4401 * sysdeps/i386/fpu/libm-test-ulps: Update.
4402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4403
afec409a
L
44042013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4405
4406 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4407 (__x86_64_raw_data_cache_size): Likewise.
4408 (__x86_64_data_cache_size_half): Likewise.
4409 (__x86_64_raw_data_cache_size_half): Likewise.
4410 (__x86_64_shared_cache_size): Likewise.
4411 (__x86_64_raw_shared_cache_size): Likewise.
4412 (__x86_64_shared_cache_size_half): Likewise.
4413 (__x86_64_raw_shared_cache_size_half): Likewise.
4414 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4415 to ...
4416 (__x86_data_cache_size): This.
4417 (__x86_64_raw_data_cache_size): Renamed to ...
4418 (__x86_raw_data_cache_size): This.
4419 (__x86_64_data_cache_size_half): Renamed to ...
4420 (__x86_data_cache_size_half): This.
4421 (__x86_64_raw_data_cache_size_half): Renamed to ...
4422 (__x86_raw_data_cache_size_half): This.
4423 (__x86_64_shared_cache_size): Renamed to ...
4424 (__x86_shared_cache_size): This.
4425 (__x86_64_raw_shared_cache_size): Renamed to ...
4426 (__x86_raw_shared_cache_size): This.
4427 (__x86_64_shared_cache_size_half): Renamed to ...
4428 (__x86_shared_cache_size_half): This.
4429 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4430 (__x86_raw_shared_cache_size_half): This.
4431 * sysdeps/x86_64/memcpy.S: Updated.
4432 * sysdeps/x86_64/memset.S: Likewise.
4433 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4434 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4435 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4436
0b3986d0
DM
44372013-01-04 David S. Miller <davem@davemloft.net>
4438
4439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4440
e47686e9
AS
44412013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4442
d643bac1
AS
4443 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4444 1 to avoid redefinition warning.
4445 (__USE_GNU): Don't define.
4446 (init_signaling_nan): Protoize.
4447
e47686e9
AS
4448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4449
b18decba
SP
44502013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4451
fffb407f
SP
4452 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4454 (__cpymn): Likewise.
4455 (norm): Remove commented code.
4456 (denorm): Likewise.
4457 (__mp_dbl): Likewise.
4458 (__inv): Likewise.
4459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4460 (__cpymn): Likewise.
4461 (norm): Remove commented code.
4462 (denorm): Likewise.
4463 (__mp_dbl): Likewise.
4464 (__inv): Likewise.
4465
b18decba
SP
4466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4467 mp_no value for 1.0 and 2.0.
4468 (norm): Use RADIXI instead of radixi.d.
4469 (denorm): Likewise.
4470 (__mul): Use 0.0 instead of zero.d.
4471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4472 mp_no value for 1.0 and 2.0.
4473 (norm): Use RADIXI instead of radixi.d.
4474 (denorm): Likewise.
4475 (__mul): Use 0.0 instead of zero.d.
4476
cdc1c96f
JM
44772013-01-04 Joseph Myers <joseph@codesourcery.com>
4478
4479 [BZ #14994]
4480 * math/s_casinh.c (__casinh): Reduce finite argument to first
4481 quadrant then set signs of results at the end.
4482 * math/s_casinhf.c (__casinhf): Likewise.
4483 * math/s_casinhl.c (__casinhl): Likewise.
4484 * math/libm-test.inc (casin_test): Add more tests.
4485 (casinh_test): Likewise.
4486 * sysdeps/i386/fpu/libm-test-ulps: Update.
4487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4488
302913e1
SP
44892013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4490
6420d207
SP
4491 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4492
a9e48ab4
SP
4493 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4494
b7837264
SP
4495 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4496 declarations.
4497 (denorm): Likewise.
4498 (__mp_dbl): Likewise.
4499 (__inv): Likewise.
4500
f8af25d2
SP
4501 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4502 and adjust the header comment.
4503
302913e1
SP
4504 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4505 variable name from declaration.
4506
5d7dd1ca
L
45072013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4508
4509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4510 Initialize COMMON_CPUID_INDEX_7 element.
4511 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4512 (CPUID_RTM): Likewise.
4513 (HAS_RTM): Likewise.
4514 (COMMON_CPUID_INDEX_7): New enum.
4515
2f5f40f4
AS
45162013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4517
4518 [BZ #14981]
4519 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4520 size is zero, record memory as freed.
4521
4056f4a0
AJ
45222013-01-03 Andreas Jaeger <aj@suse.de>
4523
4524 * po/ia.po: Add new Interlingua translation.
4525
ab15736f 45262012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4527
4528 * locale/programs/localedef.c: Fix description of '--posix' flag.
4529
568035b7
JM
45302013-01-02 Joseph Myers <joseph@codesourcery.com>
4531
e6898b8d
JM
4532 * NEWS: Update dates in second copyright notice.
4533 * README: Update copyright dates in example.
4534 * manual/libc.texinfo: Update copyright dates.
4535 * scripts/test-installation.pl: Update copyright date in --version
4536 output.
4537
0e2f9562
JM
4538 * hurd/ctty-input.c: Fix copyright notice formatting.
4539 * hurd/ctty-output.c: Likewise.
4540 * hurd/dtable.c: Likewise.
4541 * hurd/hurd-raise.c: Likewise.
4542 * hurd/hurdprio.c: Likewise.
4543 * hurd/msgportdemux.c: Likewise.
4544 * misc/sys/file.h: Likewise.
4545 * misc/sys/ioctl.h: Likewise.
4546 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4547 * sysdeps/mach/hurd/chdir.c: Likewise.
4548 * sysdeps/mach/hurd/fchdir.c: Likewise.
4549 * sysdeps/mach/hurd/rename.c: Likewise.
4550 * sysdeps/mach/hurd/rmdir.c: Likewise.
4551 * sysdeps/mach/hurd/seekdir.c: Likewise.
4552 * sysdeps/mach/hurd/setsid.c: Likewise.
4553 * sysdeps/posix/wait3.c: Likewise.
4554
568035b7
JM
4555 * All files with FSF copyright notices: Update copyright dates
4556 using scripts/update-copyrights.
4557 * intl/plural.c: Regenerated.
4558 * locale/programs/charmap-kw.h: Likewise.
4559 * locale/programs/locfile-kw.h: Likewise.
4560
da08f647
SP
45612013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4562
0f5477af
SP
4563 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4564 four values.
4565
44e0d4c2
SP
4566 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4567 calculation loop and add branch prediction.
4568
4d55b4e5
SP
4569 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4570 check access beyond bounds of m1np.
4571
da08f647
SP
4572 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4573 MPTWO.
4574 (__inv): Remove local variable MPTWO to use the global
4575 constant.
4576 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4577 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4578 variable MPTWO.
4579 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4580 MP3HALFS static const.
4581
8e051029
DM
45822013-01-01 David S. Miller <davem@davemloft.net>
4583
4584 * po/ca.po: Update from translation team.
4585
f4cf5f2d
JM
45862013-01-01 Joseph Myers <joseph@codesourcery.com>
4587
4588 * scripts/update-copyrights: New file.
4589 * Makeconfig: Reformat copyright notice.
4590 * ctype/ctype.h: Likewise.
4591 * debug/swprintf_chk.c: Likewise.
4592 * elf/dl-cache.c: Likewise.
4593 * elf/dl-debug.c: Likewise.
4594 * elf/dl-object.c: Likewise.
4595 * grp/initgroups.c: Likewise.
4596 * hurd/Makefile: Likewise.
4597 * hurd/hurd/signal.h: Likewise.
4598 * hurd/hurdfault.c: Likewise.
4599 * hurd/hurdioctl.c: Likewise.
4600 * hurd/hurdlookup.c: Likewise.
4601 * hurd/intr-msg.c: Likewise.
4602 * iconv/gconv_open.c: Likewise.
4603 * libio/swprintf.c: Likewise.
4604 * locale/lc-ctype.c: Likewise.
4605 * locale/nl_langinfo.c: Likewise.
4606 * mach/Machrules: Likewise.
4607 * mach/Makefile: Likewise.
4608 * malloc/obstack.h: Likewise.
4609 * manual/Makefile: Likewise.
4610 * manual/tsort.awk: Likewise.
4611 * misc/bits/stab.def: Likewise.
4612 * nis/nis_print_group_entry.c: Likewise.
4613 * nis/nis_table.c: Likewise.
4614 * nis/nss_compat/compat-pwd.c: Likewise.
4615 * nis/nss_compat/compat-spwd.c: Likewise.
4616 * po/Makefile: Likewise.
4617 * posix/fnmatch.c: Likewise.
4618 * posix/regex.h: Likewise.
4619 * resolv/Makefile: Likewise.
4620 * resolv/nss_dns/dns-network.c: Likewise.
4621 * resolv/res_hconf.c: Likewise.
4622 * scripts/gen-sorted.awk: Likewise.
4623 * soft-fp/soft-fp.h: Likewise.
4624 * stdio-common/printf.h: Likewise.
4625 * stdlib/monetary.h: Likewise.
4626 * stdlib/random.c: Likewise.
4627 * stdlib/random_r.c: Likewise.
4628 * sysdeps/generic/Makefile: Likewise.
4629 * sysdeps/gnu/Makefile: Likewise.
4630 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4632 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4634 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4636 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4637 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4638 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4640 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4641 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4642 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4643 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4644 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4645 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4646 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4647 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4648 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4649 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4650 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4651 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4652 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4653 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4654 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4655 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4656 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4657 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4658 * sysdeps/mach/hurd/errnos.awk: Likewise.
4659 * sysdeps/mach/hurd/fork.c: Likewise.
4660 * sysdeps/mach/hurd/getcwd.c: Likewise.
4661 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4662 * sysdeps/mach/hurd/mmap.c: Likewise.
4663 * sysdeps/mach/hurd/utimes.c: Likewise.
4664 * sysdeps/mach/hurd/xmknod.c: Likewise.
4665 * sysdeps/posix/profil.c: Likewise.
4666 * sysdeps/posix/readdir_r.c: Likewise.
4667 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4668 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4669 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4670 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4672 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4673 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4674 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4675 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4676 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4677 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4678 * sysdeps/pthread/lio_listio.c: Likewise.
4679 * sysdeps/sparc/dl-procinfo.h: Likewise.
4680 * sysdeps/unix/i386/sysdep.S: Likewise.
4681 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4682 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4683 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4684 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4686 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4687 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4688 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4689 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4690 * sysdeps/wordsize-32/divdi3.c: Likewise.
4691 * time/sys/time.h: Likewise.
4692 * wcsmbs/Makefile: Likewise.
4693
0549fbba
DM
46942013-01-01 David S. Miller <davem@davemloft.net>
4695
a141f1a7
DM
4696 * po/fr.po: Update from translation team.
4697
0549fbba
DM
4698 * catgets/gencat.c: Update copyright year.
4699 * csu/version.c: Likewise.
4700 * debug/catchsegv.sh: Likewise.
4701 * debug/pcprofiledump.c: Likewise.
4702 * debug/xtrace.sh: Likewise.
4703 * elf/ldconfig.c: Likewise.
4704 * elf/ldd.bash.in: Likewise.
4705 * elf/pldd.c: Likewise.
4706 * elf/sotruss.ksh: Likewise.
4707 * elf/sprof.c: Likewise.
4708 * iconv/iconv_prog.c: Likewise.
4709 * iconv/iconvconfig.c: Likewise.
4710 * locale/programs/locale.c: Likewise.
4711 * locale/programs/localedef.c: Likewise.
4712 * login/programs/pt_chown.c: Likewise.
4713 * malloc/memusage.sh: Likewise.
4714 * malloc/memusagestat.c: Likewise.
4715 * malloc/mtrace.pl: Likewise.
4716 * nscd/nscd.c: Likewise.
4717 * nss/getent.c: Likewise.
4718 * nss/makedb.c: Likewise.
4719 * posix/getconf.c: Likewise.
4720
18ea052c
SP
47212012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4722
4723 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4724 numbers.
4725
9c89fca6
MF
47262012-12-30 Mike Frysinger <vapier@gentoo.org>
4727
4728 * math/bits/mathcalls.h (modf): Use __nonnull.
4729
085ec079
SP
47302012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4731
4732 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4733 (split): Use macro CN instead of the bare value.
4734 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4735 could be used.
4736 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4737 instead of the bare value.
4738 (power1): Likewise.
4739
6d9f97e1
SP
47402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4741
d63f73be
SP
4742 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4743 __ATAN_TWOM.
4744 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4745
6d9f97e1
SP
4746 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4747 their values.
4748 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4749 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4750 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4751 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4752
4c4febf5
AJ
47532012-12-28 Andreas Jaeger <aj@suse.de>
4754
af5843ef
AJ
4755 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4756 values are from Linux 3.7.
4757
4c4febf5
AJ
4758 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4759 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4760
99136f82
SP
47612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4762
2f216c3c 4763 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4764 TRUE case.
4765
99136f82
SP
4766 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4767 (norm): Likewise.
4768 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4769 variables with preprocessor constants.
4770 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4771 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4772 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4773
7fffbdff
BH
47742012-12-27 Bruno Haible <bruno@clisp.org>
4775
4776 [BZ #14317]
4777 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4778 only if needed.
4779
b76eb5f0
SP
47802012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4781
31a7fe5c
SP
4782 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4783 and use variable directly.
4784 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4785
b76eb5f0
SP
4786 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4787 MPONE.
4788 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4789 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4790 variable MPONE.
4791 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4792 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4793 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4794 include directive. Remove local variable MPONE.
4795 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4796 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4797 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4798
2c8bfe7d
DM
47992012-12-25 David S. Miller <davem@davemloft.net>
4800
4801 * version.h (RELEASE): Set to "development".
4802 (VERSION): Set to "2.17.90".
4803 * NEWS: Add 2.18 section.
4804
147d03b0
DM
48052012-12-21 David S. Miller <davem@davemloft.net>
4806
4807 * po/hr.po: Update from translation team.
4808
a8ebb2b9
AK
48092012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4810
4811 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4812
95b4f1b6
SE
48132012-12-19 Steve Ellcey <sellcey@mips.com>
4814
b2d94007 4815 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4816
cedb2a90
MS
48172012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4818
4819 * manual/contrib.texi (Contributors): Spelling correction.
4820
bbf527d6
DM
48212012-12-15 David S. Miller <davem@davemloft.net>
4822
4823 * po/ru.po: Update from translation team.
4824
bc38c906
DM
48252012-12-13 David S. Miller <davem@davemloft.net>
4826
85429b1a
DM
4827 * NEWS: Mention IFUNC testsuite enhancements.
4828
d283e353
DM
4829 * po/pl.po: Update from translation team.
4830 * po/bg.po: Likewise.
4831
bc38c906
DM
4832 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4833 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4834
a181b0d7
DM
48352012-12-11 David S. Miller <davem@davemloft.net>
4836
4641d57e
DM
4837 * po/sv.po: Update from translation team.
4838
f7bc6495
DM
4839 * po/vi.po: Update from translation team.
4840
6fc9048f
DM
4841 * po/cs.po: Update from translation team.
4842
a181b0d7
DM
4843 * po/de.po: Update from translation team.
4844 * po/eo.po: Likewise.
4845 * po/nl.po: Likewise.
4846
f70bfe80
SP
48472012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4848
3c8b4190
SP
4849 [BZ #14246]
4850 * manual/argp.texi (Argp Helper Functions): Move node to follow
4851 Argp Parsing State.
4852
f70bfe80
SP
4853 [BZ #14872]
4854 * manual/conf.texi (Limits on File System Capacity): Mention if
4855 terminating null is included in the max size.
4856
188f0adf
AJ
48572012-12-10 Andreas Jaeger <aj@suse.de>
4858
4859 * po/cs.po: Update from translation team.
4860
56e7d3ad
SP
48612012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4862
4863 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4864 void pointer and cast to uintptr_t.
4865 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4866 path.
4867 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4868 * sysdeps/s390/s390-64/memset.S: Likewise.
4869
76f2d2ea 48702012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4871
4872 [BZ #14833]
4873 * menual/message.texi (Message Translation): Fix typos.
4874 (Helper programs for gettext): Likewise.
4875
67cbf9a2
AS
48762012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4877
4878 [BZ #14898]
4879 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4880 Change to -1.
4881
682d0e9a
DM
48822012-12-07 David S. Miller <davem@davemloft.net>
4883
4884 * po/libc.pot: Update.
4885
573cd484
RH
48862012-12-07 Richard Henderson <rth@redhat.com>
4887
7e9da188 4888 [BZ #10114]
573cd484
RH
4889 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4890 normal/normal case to before the switch.
4891 (_FP_DIV): Likewise.
4892
e933a943
MF
48932012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4894 Mike Frysinger <vapier@gentoo.org>
4895
4896 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4897 check for __NR_fadvise64_64.
4898
82123268
CM
48992012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4900
4901 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4902 0, not just to plain "0" as a statement.
4903 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4904 with cw.
4905
d9814526
JM
49062012-12-06 Joseph Myers <joseph@codesourcery.com>
4907
4908 * NEWS: Use sourceware.org in Bugzilla URL.
4909
7728c574
SP
49102012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4911
f16946dd
SP
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4913 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4914
5704bbcb
SP
4915 * stdio-common/tst-put-error.c (do_test): Add newline to the
4916 padded test to ensure flush.
4917
17aa0516
JL
49182012-12-05 Jeff Law <law@redhat.com>
4919
4920 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4921
363313b5
JM
49222012-12-05 Joseph Myers <joseph@codesourcery.com>
4923
effbd42a
JM
4924 * README: Don't refer to ports add-on as distributed separately.
4925 Mention AArch64 in list of systems supported in the ports add-on.
4926
87600365
JM
4927 * LICENSES: Add more non-FSF copyright and license notices.
4928
a0d7066a
JM
4929 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4930 ((unused)).
4931
66ca5a5b
JM
4932 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4933
363313b5
JM
4934 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4935 10000 as width of padded output.
4936
b37984ad
JM
49372012-12-04 Joseph Myers <joseph@codesourcery.com>
4938
9003570a
JM
4939 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4940
b37984ad
JM
4941 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4942 variable LX with __attribute__ ((unused)).
4943 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4944 Likewise.
4945 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4946 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4947 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4948 with __attribute__ ((unused)).
4949
c8df52ec
DM
49502012-12-04 David S. Miller <davem@abraco.davemloft.net>
4951
4952 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4953
b3b099af
JM
49542012-12-04 Joseph Myers <joseph@codesourcery.com>
4955
c33aa6e3
JM
4956 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4957 (CFLAGS-nldbl-acos.c): New variable.
4958 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4959 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4960 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4961 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4962 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4963 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4964 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4965 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4966 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4967 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4968 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4969 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4970 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4971 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4972 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4973 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4974 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4975 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4976 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4977 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4978 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4979 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4980 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4981 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4982 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4983 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4984 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4985 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4986 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4987 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4988 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4989 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4990 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4991 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4992 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4993 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4994 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4995 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4996 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4997 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4998 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4999 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5000 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5001 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5002 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5003 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5004 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5005 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5006 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5007 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5008 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5009 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5010 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5011 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5012 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5013 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5014 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5015 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5016 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5017 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5018 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5019 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5020 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5021 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5022 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5023 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5024 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5025 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5026 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5027 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5028 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5029 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5030 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5031 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5032 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5033 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5034 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5035 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5036 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5037 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5038 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5039 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5040 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5041 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5042 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5043 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5044 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5045 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5046 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5047 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5048 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5049 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5050 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5051 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5052 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5053 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5054 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5055
20f0018d
JM
5056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5057 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5058
b3b099af
JM
5059 [BZ #14914]
5060 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5061 whole low double instead of just low 47 bits when splitting values
5062 into two parts.
5063
029264d1
AM
50642012-12-03 Allan McRae <allan@archlinux.org>
5065
5066 * manual/stdio.texi (Predefined Printf Handlers): Remove
5067 @hsep and @vsep usage.
5068
c9d6789e
MF
50692012-12-03 Mike Frysinger <vapier@gentoo.org>
5070
5071 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5072 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5073
4b7634a5
JL
50742012-12-03 Jeff Law <law@redhat.com>
5075
5076 * time/sys/time.h (settimeofday): Do not mark TV argument
5077 as __nonnull.
5078
eb6cbd24
MF
50792012-12-01 Mike Frysinger <vapier@gentoo.org>
5080
5081 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5082 when currently writing and seek to current position when not.
5083 * libio/Makefile (tests): Remove bug-fclose1.
5084 * libio/bug-fclose1.c: Delete.
5085
f638872a
JM
50862012-12-01 Joseph Myers <joseph@codesourcery.com>
5087
5088 * manual/arith.texi (feenableexcept): Fix typo.
5089 (fedisableexcept): Likewise.
5090
48085d14
RM
50912012-11-30 Roland McGrath <roland@hack.frob.com>
5092
5093 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5094 second, differently-typed declaration, rather than a cast.
5095
1a538b9f
SP
50962012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5097
5098 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5099 * include/rpc/svc.h: ... here.
5100
d07f2ff1 51012012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5102
5103 [BZ #13013]
5104 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5105 depending n and resplen2 to catch cases where answer
5106 equals answerp2.
5107
c93ec1f0
CD
51082012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5109
5110 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5111 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5112
37db69de
MF
51132012-11-29 Mike Frysinger <vapier@gentoo.org>
5114
5115 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5116
e10c4e4f
RM
51172012-11-29 Roland McGrath <roland@hack.frob.com>
5118
5119 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5120
2af1b328
JL
51212012-11-28 Jeff Law <law@redhat.com>
5122
5123 [BZ #13761]
5124 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5125 dataset_temporary. Track alloca usage into alloca_used.
5126 If dataset is large allocate and release it via malloc/free.
5127
111db5b1
FW
51282012-06-04 Florian Weimer <fweimer@redhat.com>
5129
f06cc227 5130 [BZ #14197]
111db5b1
FW
5131 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5132
dd694abd
DM
51332012-11-28 David S. Miller <davem@davemloft.net>
5134
5135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5136
9984dd01
JM
51372012-11-28 Joseph Myers <joseph@codesourcery.com>
5138
5139 [BZ #14803]
5140 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5141 of pi/2 rounded to nearest to 64 bits.
5142 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5143 nearest to 64 bits.
5144 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5145 bits.
5146
14bc93a9
JL
51472012-11-28 Jeff Law <law@redhat.com>
5148 Martin Osvald <mosvald@redhat.com>
5149
5150 [BZ #14889]
5151 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5152 * sunrpc/svc.c: Include time.h.
5153 (__svc_accept_failed): New function.
5154 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5155 any reason other than EINTR, call __svc_accept_failed.
5156 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5157 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5158
e3c6aa3a
AS
51592012-11-28 Andreas Schwab <schwab@suse.de>
5160
5161 * scripts/abilist.awk: Also handle indirect functions in .opd
5162 section.
5163
1bead169
JM
51642012-11-28 Joseph Myers <joseph@codesourcery.com>
5165
5166 [BZ #13881]
5167 * sysdeps/x86/fpu/powl_helper.c: New file.
5168 * sysdeps/x86/fpu/Makefile: Likewise.
5169 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5170 (p3): New object.
5171 (__ieee754_powl): Use __powl_helper for finite arguments except
5172 integer exponents below 8.
5173 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5174 (p3): New object.
5175 (__ieee754_powl): Use __powl_helper for finite arguments except
5176 integer exponents below 8.
5177 * math/libm-test.inc (pow_test): Add more tests and enable some
5178 previously disabled tests.
5179 * sysdeps/i386/fpu/libm-test-ulps: Update.
5180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5181
0817d63d
SP
51822012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5183 Carlos O'Donell <carlos_odonell@mentor.com>
5184
5185 * nss/makedb.c (is_prime): Assert that input is odd and greater
5186 than 4. Note that fact in a comment too.
5187 (next_prime): Add 4 to input.
5188
de2fd463
SP
51892012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5190
5191 [BZ #11741]
5192 * libio/Makefile (tests): Add test case tst-fwrite-error.
5193 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5194 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5195 * libio/tst-fwrite-error.c: New test case.
5196
c515fb51
L
51972012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5198
5199 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5200 before casting to void *.
5201 * include/libc-internal.h (__pointer_type): New macro.
5202 (__integer_if_pointer_type_sub): Likewise.
5203 (__integer_if_pointer_type): Likewise.
5204 (cast_to_integer): Likewise.
5205 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5206 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5207 before casting to atomic64_t.
5208 (atomic_exchange_acq): Likewise.
5209 (__arch_exchange_and_add_body): Likewise.
5210 (__arch_add_body): Likewise.
5211 (atomic_add_negative): Likewise.
5212 (atomic_add_zero): Likewise.
5213
4cf77aa9
JM
52142012-11-26 Joseph Myers <joseph@codesourcery.com>
5215
5216 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5217 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5218 (add_fdes): Likewise.
5219 (linear_search_fdes): Likewise.
5220 (binary_search_unencoded_fdes): Likewise.
5221
d260b3b4
AS
52222012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5223
5224 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5225
67060746
AC
52262012-11-24 Adam Conrad <adconrad@0c3.net>
5227
5228 * configure.in: Autodetect C++ header directories.
5229 * configure: Regenerated.
5230
800938a1
MF
52312012-11-23 Mike Frysinger <vapier@gentoo.org>
5232
5233 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5234
4e6e34e6
AS
52352012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5236
5237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5238
7c7feb47
JM
52392012-11-22 Joseph Myers <joseph@codesourcery.com>
5240
7184dcdf
JM
5241 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5242 LDBL_MANT_DIG == 106]: Disable some tests.
5243 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5244 Likewise.
5245 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5246 Likewise.
5247
0a42601f
JM
5248 [BZ #14871]
5249 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5250 input for small inputs. Return +/- pi/2 for large inputs.
5251 * math/libm-test.inc (atan_test): Add more tests.
5252
79c9b9fe
JM
5253 * sysdeps/generic/unwind-dw2-fde-glibc.c
5254 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5255 __attribute__ ((unused)).
5256
c60d3bf2
JM
5257 [BZ #14645]
5258 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5259 x * y if x and y are nonzero and z is zero.
5260
ef1e0867
JM
5261 [BZ #14811]
5262 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5263 nonzero exponents with absolute value below 0x1p-117 to +/-
5264 0x1p-117.
5265
1468ded3
JM
5266 [BZ #14869]
5267 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5268 up arguments below 2**-450, not just those below 2**-500.
5269 * math/libm-test.inc (hypot_test): Add another test.
5270
8e27e3cc
JM
5271 [BZ #14868]
5272 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5273 Return a+b for ratio over 2**120, not 2**60.
5274 * math/libm-test.inc (hypot_test): Add another test.
5275
c9c0279b
JM
5276 * math/libm-test.inc (clog_test): Use
5277 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5278 (clog10_test): Likewise.
5279
7c7feb47
JM
5280 [BZ #6778]
5281 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5282
fff1530e
AS
52832012-11-22 Andreas Schwab <schwab@suse.de>
5284
5285 * sysdeps/i386/fpu/libm-test-ulps: Update.
5286
94558d30
PT
52872012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5288
5289 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5290 printf output with newline.
5291
7e1be741
L
52922012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5293
6bfea974
L
5294 [BZ #14865]
5295 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5296 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5297 -z nodlopen, -z initfirst and -z execstack support.
5298 * configure: Regenerated.
5299
7e1be741
L
5300 * elf/elf.h (DF_1_NODIRECT): New macro.
5301 (DF_1_IGNMULDEF): Likewise.
5302 (DF_1_NOKSYMS): Likewise.
5303 (DF_1_NOHDR): Likewise.
5304 (DF_1_EDITED): Likewise.
5305 (DF_1_NORELOC): Likewise.
5306 (DF_1_SYMINTPOSE): Likewise.
5307 (DF_1_GLOBAUDIT): Likewise.
5308 (DF_1_SINGLETON): Likewise.
5309 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5310 DT_1_SUPPORTED_MASK bits.
5311 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5312
105ce2ce
CD
53132012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5314
5315 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5316
123be9de
TS
53172012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5318
d072f3f7
TS
5319 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5320 macro.
5321
123be9de
TS
5322 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5323 (sendmmsg): Move declarations...
5324 * socket/sys/socket.h: ... here.
5325 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5326 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5327 include it from...
5328 * socket/recvmmsg.c: ... this new file.
5329 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5330 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5331 definition of __sendmmsg hidden.
5332 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5333 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5334 Move ENOSYS stub into and include it from...
5335 * socket/sendmmsg.c: ... this new file.
5336 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5337 (sysdep_routines): Move recvmmsg and sendmmsg...
5338 * socket/Makefile (routines): ... here.
5339 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5340 (GLIBC_PRIVATE): Add __sendmmsg.
5341 * include/sys/socket.h (__sendmmsg): Add declarations.
5342 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5343 sendmmsg.
5344
cf9a5d18
JM
53452012-11-20 Joseph Myers <joseph@codesourcery.com>
5346
5347 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5348 variable I1 with __attribute__ ((unused)).
5349 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5350
ecd4caf9
JM
53512012-11-19 Joseph Myers <joseph@codesourcery.com>
5352
be14d48f
JM
5353 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5354 DUMMY variables with __attribute__ ((unused)).
5355
ecd4caf9
JM
5356 * bits/byteswap.h: Include <bits/types.h>.
5357 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5358
986cab95
PT
53592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5360
5361 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5362 string_t. Do not manually set errno.
5363 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5364 length with __strnlen. Make sure to both set errno and return it on
5365 failure.
5366
6d33cc9d
DM
53672012-11-19 David S. Miller <davem@davemloft.net>
5368
5369 With help from Joseph Myers.
5370 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5371 very large arguments properly.
5372 * math/libm-test.inc (atan_test): New tests.
5373 (atan2_test): New tests.
5374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5376
ee663277
JM
53772012-11-19 Joseph Myers <joseph@codesourcery.com>
5378
877f2d8e
JM
5379 [BZ #14856]
5380 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5381 Define to 3.
5382
116fc08a
JM
5383 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5384 [POSIX] (EADDRNOTAVAIL): Likewise.
5385 [POSIX] (EAFNOSUPPORT): Likewise.
5386 [POSIX] (EALREADY): Likewise.
5387 [POSIX] (ECONNABORTED): Likewise.
5388 [POSIX] (ECONNREFUSED): Likewise.
5389 [POSIX] (ECONNRESET): Likewise.
5390 [POSIX] (EDESTADDRREQ): Likewise.
5391 [POSIX] (EDQUOT): Likewise.
5392 [POSIX] (EHOSTUNREACH): Likewise.
5393 [POSIX] (EIDRM): Likewise.
5394 [POSIX] (EISCONN): Likewise.
5395 [POSIX] (ELOOP): Likewise.
5396 [POSIX] (EMULTIHOP): Likewise.
5397 [POSIX] (ENETDOWN): Likewise.
5398 [POSIX] (ENETUNREACH): Likewise.
5399 [POSIX] (ENOBUFS): Likewise.
5400 [POSIX] (ENODATA): Likewise.
5401 [POSIX] (ENOLINK): Likewise.
5402 [POSIX] (ENOMSG): Likewise.
5403 [POSIX] (ENOPROTOOPT): Likewise.
5404 [POSIX] (ENOSR): Likewise.
5405 [POSIX] (ENOSTR): Likewise.
5406 [POSIX] (ENOTCONN): Likewise.
5407 [POSIX] (ENOTSOCK): Likewise.
5408 [POSIX] (EOPNOTSUPP): Likewise.
5409 [POSIX] (EOVERFLOW): Likewise.
5410 [POSIX] (EPROTO): Likewise.
5411 [POSIX] (EPROTONOSUPPORT): Likewise.
5412 [POSIX] (EPROTOTYPE): Likewise.
5413 [POSIX] (ESTALE): Likewise.
5414 [POSIX] (ETIME): Likewise.
5415 [POSIX] (ETXTBSY): Likewise.
5416 [POSIX] (EWOULDBLOCK): Likewise.
5417 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5418 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5419 [POSIX] (SEEK_CUR): Likewise.
5420 [POSIX] (SEEK_END): Likewise.
5421 [POSIX || UNIX98] (mode_t): Do not require.
5422 [POSIX] (off_t): Likewise.
5423 [POSIX] (pid_t): Likewise.
5424 [POSIX] (sys/stat.h): Do not allow header.
5425 [POSIX] (unistd.h): Likewise.
5426 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5427 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5428 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5429 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5430 require.
5431 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5432 sigevent): Specify elements.
5433 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5434 entry.
5435 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5436 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5437
a483863f
JM
5438 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5439 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5440 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5441 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5442 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5443 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5444 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5445 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5446 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5447 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5448 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5449 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5450 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5451 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5452 Likewise.
5453 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5454 Likewise.
5455 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5456 Likewise.
5457 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5458 Likewise.
5459 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5460 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5461 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5462 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5463 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5464 Specify lower bound on value.
5465 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5466 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5467 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5468 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5469 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5470 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5471 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5472 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5473 value.
5474 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5475 as optional.
5476 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5477 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5478 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5479 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5480 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5481 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5482 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5483 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5484 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5485 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5486 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5487 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5488 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5489 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5490 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5491 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5492 entry.
5493 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5494 optional.
5495 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5496 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5497 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5498 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5499 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5500 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5501 Likewise.
5502 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5503 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5504 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5505 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5506 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5507 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5508 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5509 as optional.
5510 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5511 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5512 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5513 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5514 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5515 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5516 specify as optional.
5517 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5518 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5519 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5520 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5521 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5522 [XPG3] (NL_LANGMAX): Likewise.
5523 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5524 [POSIX || XPG3] (NL_NMAX): Likewise.
5525 [POSIX || XPG3] (NL_SETMAX): Likewise.
5526 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5527 [XPG3] (NZERO): Likewise.
5528 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5529 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5530 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5531 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5532 (REG_ERANGE): Expect.
5533 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5534 optional-constant.
5535 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5536 Use (void) in prototype.
5537 [POSIX] (*_t): Allow.
5538 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5539 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5540 (WRDE_BADVAL): Expect.
5541
5ba924e3
JM
5542 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5543 expect.
5544 [XPG3 || XPG4] (O_RSYNC): Likewise.
5545 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5546 Likewise.
5547 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5548 [XPG3 || XPG4] (sigqueue): Likewise.
5549 [XPG3 || XPG4] (sigtimedwait): Likewise.
5550 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5551 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5552 [XPG3 || XPG4] (vsnprintf): Likewise.
5553 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5554 Likewise.
5555 [XPG3 || XPG4] (blksize_t): Likewise.
5556 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5557 Likewise.
5558 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5559 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5560 [XPG3 || XPG4] (struct itimerspec): Likewise.
5561 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5562 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5563 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5564 [XPG3 || XPG4] (clockid_t): Likewise.
5565 [XPG3 || XPG4] (timer_t): Likewise.
5566 [XPG3 || XPG4] (clock_getres): Likewise.
5567 [XPG3 || XPG4] (clock_gettime): Likewise.
5568 [XPG3 || XPG4] (clock_settime): Likewise.
5569 [XPG3 || XPG4] (nanosleep): Likewise.
5570 [XPG3 || XPG4] (timer_create): Likewise.
5571 [XPG3 || XPG4] (timer_delete): Likewise.
5572 [XPG3 || XPG4] (timer_gettime): Likewise.
5573 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5574 [XPG3 || XPG4] (timer_settime): Likewise.
5575 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5576 [XPG3 || XPG4] (getlogin_r): Likewise.
5577 [XPG3 || XPG4] (pread): Likewise.
5578 [XPG3 || XPG4] (pthread_atfork): Likewise.
5579 [XPG3 || XPG4] (pwrite): Likewise.
5580
ee663277
JM
5581 [BZ #14835]
5582 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5583 <bits/siginfo.h>.
5584
942caa16
PT
55852012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5586
e19af380
PT
5587 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5588 finalizing MALLSTREAM.
5589
942caa16
PT
5590 * sysdeps/mach/hurd/syncfs.c: New file.
5591
cfde9b46
SP
55922012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5593
5594 [BZ #14719]
5595 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5596 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5597 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5598 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5599 (_nss_dns_gethostbyname4_r): Likewise.
5600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5601 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5602
f6da27e5
PH
56032012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5604
5605 [BZ #13763]
5606 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5607
6665d4a2
SM
56082012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5609
1f51ee92
SM
5610 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5611 * elf/cache.c (print_entry): Print ",AArch64" for
5612 FLAG_AARCH64_LIB64
5613
6665d4a2
SM
5614 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5615 * elf/cache.c (print_entry): Print ",hard-float" for
5616 FLAG_ARM_LIBHF.
5617
05b227bd
DM
56182012-11-18 David S. Miller <davem@davemloft.net>
5619
5620 With help from Joseph Myers.
5621 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5622 cutoff to 2**-13.
5623 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5624 cutoff to 2**-25.
5625 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5626 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5627 small.
5628 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5629 * math/libm-test.inc (y0_test): New tests.
5630 (y1_test): New tests.
5631 * sysdeps/i386/fpu/libm-test-ulps: Update.
5632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5634
786b0b67
AS
56352012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5636
5637 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5638 64-bit targets.
5639 * configure: Regenerated.
5640
8e18b86d
DM
56412012-11-17 David S. Miller <davem@davemloft.net>
5642
5643 [BZ #14811]
5644 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5645 nonzero exponents with absolute value below 0x1p-128 to +/-
5646 0x1p-128.
5647
531f1ae0
JM
56482012-11-17 Joseph Myers <joseph@codesourcery.com>
5649
12df29e2
JM
5650 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5651
150dc1a0
JM
5652 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5653
531f1ae0
JM
5654 * posix/getconf-speclist.c: New file.
5655 * posix/posix-envs.def: Likewise.
5656 * posix/confstr.c (START_ENV_GROUP): New macro.
5657 (END_ENV_GROUP): Likewise.
5658 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5659 (KNOWN_PRESENT_ENV_STRING): Likewise.
5660 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5661 (UNKNOWN_ENVIRONMENT): Likewise.
5662 (confstr): Include posix-envs.def instead of handling
5663 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5664 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5665 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5666 (END_ENV_GROUP): Likewise.
5667 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5668 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5669 (UNKNOWN_ENVIRONMENT): Likewise.
5670 (__sysconf): Include posix-envs.def instead of handling associated
5671 cases directly here.
5672 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5673 preprocessing getconf-speclist.c rather than running getconf or
5674 generating empty file.
5675
a93f9cbc
PT
56762012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5677
5678 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5679
d64d9f87
AL
56802012-11-16 Andrej Lajovic <natrij@gmail.com>
5681
5682 [BZ #14672]
5683 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5684
447885eb
DM
56852012-11-16 David S. Miller <davem@davemloft.net>
5686
5687 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5688 smaller than LDBL_EPSILON/2.0L, just return xm1.
5689
bcbf9830
L
56902012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5691
5692 * elf/tst-array1.c (init): Set constructor priority to 1000.
5693 (fini): Set destructor priority to 1000.
5694 * elf/tst-array2dep.c: Likewise.
5695
2b766585
SP
56962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5697
5698 [BZ #11741]
5699 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5700 (_IO_new_file_xsputn): Also return EOF if none of the input
5701 data was written when overflow failed.
5702 * libio/iopadn.c (_IO_padn): Likewise.
5703 * libio/iowpadn.c (_IO_wpadn): Likewise.
5704 * stdio-common/tst-put-error.c: Add copyright notice.
5705 (do_test): Add case for printing padded string.
5706 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5707 _IO_padn returned error.
5708 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5709 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5710 return EOF.
5711
b1848fde
SP
57122012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5713
5714 * libio/libioP.h: Add comment note that the references to C++
5715 bits are now obsolete.
5716
2fd89785
MS
57172012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5718
5719 * math/libm-test.inc (check_complex): Use asprintf.
5720
e3ea5409
JM
57212012-11-14 Joseph Myers <joseph@codesourcery.com>
5722
5723 * debug/pcprofiledump.c (print_version): Update copyright year.
5724 * malloc/memusagestat.c (print_version): Likewise.
5725
2e64d265
L
57262012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5727
5728 [BZ #14831]
5729 * elf/Makefile (tests): Add tst-audit8.
5730 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5731 ($(objpfx)tst-audit8.out): New target.
5732 (tst-audit8-ENV): New variable.
5733 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5734 audit if l_reloc_result is NULL.
5735 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5736 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5737 * elf/tst-audit8.c: New file.
5738
c485e4d2
MS
57392012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5740
5741 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5742 * misc/Makefile (CFLAGS-select.c): Define.
5743 * posix/Makefile (CFLAGS-pause.c): Define.
5744
3a0d900a
DM
57452012-11-13 David S. Miller <davem@davemloft.net>
5746
5747 * crypt/Makefile: Move test targets after toplevel Rules
5748 inclusion. Grab any necessary sysdep routines when linking.
5749 * crypt/md5.c (md5_process_block): Remove define, we will always
5750 name it __md5_process_block.
5751 (md5_finish_ctx): Update md5_process_block call.
5752 (md5_stream): Likewise.
5753 (md5_process_bytes): Likewise.
5754 (md5_process_block): Rename to __md5_process_block and move to ...
5755 * crypt/md5-block.c: ... here.
5756 * crypt/sha256.c (sha256_process_block): Move to ...
5757 * crypt/sha256-block.c: ... here.
5758 * crypt/sha512.c (sha512_process_block): Move to ...
5759 * crypt/sha512-block.c: ... here.
5760 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5761 path.
5762 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5763 * sysdeps/sparc/sparc64/multiarch/Makefile
5764 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5765 crypt subdir.
5766 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5767 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5768 multiarch changes.
5769 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5770 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5771 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5772 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5773 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5774 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5775 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5776 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5777 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5778 file.
5779 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5780 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5781 file.
5782 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5783
8ca89318
JM
57842012-11-13 Joseph Myers <joseph@codesourcery.com>
5785
e27d476a
JM
5786 * timezone/tzselect.ksh: Update from tzcode git revision
5787 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5788 * timezone/zdump.c: Likewise.
5789 * timezone/zic.c: Likewise.
5790 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5791 in TZVERSION setting, not $(PKGVERSION).
5792 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5793 REPORT_BUGS_TO settings.
5794
8ca89318
JM
5795 [BZ #14838]
5796 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5797 macro.
5798
47594329
MS
57992012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5800
5801 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5802 detection to immediately after _FP_ROUND().
5803 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5804 bits are 0.
5805
640ac3f1
DM
58062012-11-11 David S. Miller <davem@davemloft.net>
5807
5808 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5809 inttypes.h
5810 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5811 __close rather than their public counterparts.
5812
3d2577bb
JM
58132012-11-10 Joseph Myers <joseph@codesourcery.com>
5814
5815 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5816 file.
5817 [UNIX98] (sem_timedwait): Do not expect.
5818 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5819 [XPG4 || UNIX98] (sockatmark): Do not expect.
5820 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5821 (clock_getcpuclockid): Do not expect.
5822 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5823 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5824 Do not expect.
5825 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5826 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5827 [UNIX98] (vwscanf): Likewise.
5828 [UNIX98] (vswscanf): Likewise.
5829
fb1ae1ee
JM
58302012-11-09 Joseph Myers <joseph@codesourcery.com>
5831
9ec6f8bd
JM
5832 * timezone/version.h: Remove file.
5833 * timezone/README: Do not refer to version.h.
5834 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5835 $(objpfx)version.h.
5836 ($(objpfx)zdump.o): Likewise.
c3f81911 5837 ($(objpfx)version.h): New target.
9ec6f8bd 5838
0aa8f8a1
JM
5839 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5840 2012i.
5841 * timezone/README: Don't mention modification to tzselect.ksh.
5842 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5843 work on unmodified tzselect.ksh. Substitute version numbers in
5844 tzselect.ksh.
5845
4e87147f
JM
5846 * Makefile (format-me): Remove.
5847 (INSTALL): Adjust indentation. Use commands directly instead of
5848 using $(format-me).
5849
8b748aed
JM
5850 * aclocal.m4 (ACX_PKGVERSION): New macro.
5851 (ACX_BUGURL): Likewise.
5852 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5853 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5854 (REPORT_BUGS_TO): Likewise.
5855 * configure: Regenerated.
5856 * config.h.in (PKGVERSION): New macro.
5857 (REPORT_BUGS_TO): Likewise.
5858 * config.make.in (PKGVERSION): New variable.
5859 (PKGVERSION_TEXI): Likewise.
5860 (REPORT_BUGS_TO): Likewise.
5861 (REPORT_BUGS_TEXI): Likewise.
5862 * Makefile (format-me): Use -I$(common-objpfx)manual.
5863 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5864 ($(common-objpfx)manual/%): New target.
5865 (manual/%): Remove target.
5866 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5867 (print_version): Use PKGVERSION.
5868 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5869 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5870 and REPORT_BUGS_TO.
5871 ($(objpfx)xtrace): Likewise.
5872 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5873 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5874 (print_version): Use PKGVERSION.
5875 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5876 (do_version): Use PKGVERSION.
5877 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5878 REPORT_BUGS_TO.
5879 (common-ldd-rewrite): Likewise.
5880 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5881 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5882 (print_version): Use PKGVERSION.
5883 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5884 * elf/pldd.c (argp_program_bug_address): Remove variable.
5885 (more_help): New function.
5886 (argp): Use more_help.
5887 (print_version): Use PKGVERSION.
5888 * elf/sln.c (main): Use PKGVERSION.
5889 (usage): Use REPORT_BUGS_TO.
5890 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5891 (top level): Use PKGVERSION.
5892 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5893 (print_version): Use PKGVERSION.
5894 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5895 (print_version): Use PKGVERSION.
5896 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5897 (print_version): Use PKGVERSION.
5898 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5899 (print_version): Use PKGVERSION.
5900 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5901 (print_version): Use PKGVERSION.
5902 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5903 (print_version): Use PKGVERSION.
5904 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5905 and BUGURL.
5906 ($(objpfx)memusage): Likewise.
5907 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5908 (do_version): Use PKGVERSION.
5909 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5910 (print_version): Use PKGVERSION.
5911 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5912 ($PKGVERSION): New variable.
5913 ($REPORT_BUGS_TO): Likewise.
5914 (usage): Use $REPORT_BUGS_TO.
5915 (top level): Use $PKGVERSION.
5916 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5917 ($(objpfx)pkgvers.texi): New rule.
5918 ($(objpfx)stamp-pkgvers): Likewise.
5919 * manual/install.texi: Include pkgvers.texi.
5920 (--with-pkgversion): Document new configure option.
5921 (--with-bugurl): Likewise.
5922 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5923 than necessarily for this particular distribution. Use
5924 REPORT_BUGS_TO for where to report bugs.
5925 * INSTALL: Regenerated.
5926 * manual/libc.texinfo: Include pkgvers.texi.
5927 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5928 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5929 (print_version): Use PKGVERSION.
5930 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5931 (print_version): Use PKGVERSION.
5932 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5933 (print_version): Use PKGVERSION.
5934 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5935 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5936 macro.
5937 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5938 (print_version): Use PKGVERSION.
5939 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5940 (print_version): Use PKGVERSION.
5941 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5942 and PKGVERSION.
5943
92e4b6a9
JM
5944 * timezone/checktab.awk: Update from tzcode 2012i.
5945 * timezone/ialloc.c: Likewise.
5946 * timezone/private.h: Likewise.
5947 * timezone/scheck.c: Likewise.
5948 * timezone/tzfile.h: Likewise.
5949 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5950 (TZVERSION): Hardcode tzcode version number.
5951 * timezone/zdump.c: Update from tzcode 2012i.
5952 * timezone/zic.c: Likewise.
5953 * timezone/version.h: New file.
5954 * timezone/README: Describe version.h. Update upstream location.
5955
9bde902c
JM
5956 [BZ #14824]
5957 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5958 (mktemp): Enable declaration.
5959 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5960 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5961 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5962 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5963 Likewise.
5964 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5965 Likewise.
5966 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5967 Likewise.
5968 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5969 Likewise.
5970 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5971 Likewise.
5972 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5973 Likewise.
5974
fb1ae1ee
JM
5975 [BZ #14821]
5976 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5977 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5978 for copies of such integer values.
5979 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5980 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5981
2c1adbcb
AJ
59822012-11-09 Andreas Jaeger <aj@suse.de>
5983
5984 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5985 definitions and declarations that are provided by
5986 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5987
d0f8457e
AK
59882012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5989
3a235abb 5990 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5991 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5992 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5993 definition.
5994
57241e26
MS
59952012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5996
5997 * elf/elf.h: Update comment before AArch64 relocations.
5998
60e8270d
DM
59992012-11-07 David S. Miller <davem@davemloft.net>
6000
6001 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6002 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6003 (__start_context): Declare.
6004 (__makecontext_ret): Delete.
6005 (__makecontext): Hook up __start_context instead of
6006 __makecontext_ret.
6007 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6008 (sysdep_routines): Add __start_context when in stdlib.
6009
0fbb0fbc
JM
60102012-11-07 Joseph Myers <joseph@codesourcery.com>
6011
6012 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6013 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6014 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6015 hardcoded "nm".
6016 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6017 (READELF): New variable. Use it instead of hardcoded "readelf".
6018
eb48db7e
L
60192012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6020
6021 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6022 * sysdeps/x86/Makefile: Here.
6023 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6024 * sysdeps/x86/tst-xmmymm.sh: This.
6025
05bcf62a
JM
60262012-11-07 Joseph Myers <joseph@codesourcery.com>
6027
c4b6cf53
JM
6028 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6029 expectations.
6030 [UNIX98] (pthread_barrier_t): Do not expect.
6031 [UNIX98] (pthread_barrierattr_t): Likewise.
6032 [UNIX98] (pthread_spinlock_t): Likewise.
6033 [UNIX98] (pthread_barrier_destroy): Likewise.
6034 [UNIX98] (pthread_barrier_init): Likewise.
6035 [UNIX98] (pthread_barrier_wait): Likewise.
6036 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6037 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6038 [UNIX98] (pthread_barrierattr_init): Likewise.
6039 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6040 [UNIX98] (pthread_getcpuclockid): Likewise.
6041 [UNIX98] (pthread_mutex_timedlock): Likewise.
6042 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6043 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6044 [UNIX98] (pthread_sigmask): Likewise.
6045 [UNIX98] (pthread_spin_destroy): Likewise.
6046 [UNIX98] (pthread_spin_init): Likewise.
6047 [UNIX98] (pthread_spin_lock): Likewise.
6048 [UNIX98] (pthread_spin_trylock): Likewise.
6049 [UNIX98] (pthread_spin_unlock): Likewise.
6050 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6051 Do not expect.
6052 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6053 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6054 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6055 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6056 [XPG3 || XPG4] (pthread_key_t): Likewise.
6057 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6058 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6059 [XPG3 || XPG4] (pthread_once_t): Likewise.
6060 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6061 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6062 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6063 [XPG3 || XPG4] (pthread_t): Likewise.
6064
cbe6e120
JM
6065 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6066 not expect.
6067 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6068
1b126443
JM
6069 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6070 Change function return type to int.
6071
b961a573
JM
6072 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6073 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6074 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6075 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6076 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6077 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6078 [!POSIX] (posix_madvise): Likewise.
6079 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6080 && !UNIX98].
6081 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6082 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6083 (mode_t): Likewise.
6084 (posix_mem_offset): Likewise.
6085 (posix_typed_mem_get_info): Likewise.
6086 (posix_typed_mem_open): Likewise.
6087
9e188909
JM
6088 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6089 Change condition to [XOPEN2K8].
6090
05bcf62a
JM
6091 * conform/conformtest.pl: Preprocess allow-header data with -x c
6092 instead of from stdin.
6093 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6094 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6095 [C99-based standards] (cerfc): Likewise.
6096 [C99-based standards] (cexp2): Likewise.
6097 [C99-based standards] (cexpm1): Likewise.
6098 [C99-based standards] (clog10): Likewise.
6099 [C99-based standards] (clog1p): Likewise.
6100 [C99-based standards] (clog2): Likewise.
6101 [C99-based standards] (clgamma): Likewise.
6102 [C99-based standards] (ctgamma): Likewise.
6103 [C99-based standards] (cerff): Likewise.
6104 [C99-based standards] (cerfcf): Likewise.
6105 [C99-based standards] (cexp2f): Likewise.
6106 [C99-based standards] (cexpm1f): Likewise.
6107 [C99-based standards] (clog10f): Likewise.
6108 [C99-based standards] (clog1pf): Likewise.
6109 [C99-based standards] (clog2f): Likewise.
6110 [C99-based standards] (clgammaf): Likewise.
6111 [C99-based standards] (ctgammaf): Likewise.
6112 [C99-based standards] (cerfl): Likewise.
6113 [C99-based standards] (cerfcl): Likewise.
6114 [C99-based standards] (cexp2l): Likewise.
6115 [C99-based standards] (cexpm1l): Likewise.
6116 [C99-based standards] (clog10l): Likewise.
6117 [C99-based standards] (clog1pl): Likewise.
6118 [C99-based standards] (clog2l): Likewise.
6119 [C99-based standards] (clgammal): Likewise.
6120 [C99-based standards] (ctgammal): Likewise.
6121 * conform/data/inttypes.h-data [C99-based standards]: Include
6122 stdint.h-data. Remove all expectations for stdint.h contents.
6123 [C99-based standards] (PRI*): Do not allow.
6124 [C99-based standards] (SCN*): Likewise.
6125 [C99-based standards] (*_t): Likewise.
6126 [C99-based-standards] (PRId8): Expect macro.
6127 [C99-based-standards] (PRIi8): Likewise.
6128 [C99-based-standards] (PRIo8): Likewise.
6129 [C99-based-standards] (PRIu8): Likewise.
6130 [C99-based-standards] (PRIx8): Likewise.
6131 [C99-based-standards] (PRIX8): Likewise.
6132 [C99-based-standards] (SCNd8): Likewise.
6133 [C99-based-standards] (SCNi8): Likewise.
6134 [C99-based-standards] (SCNo8): Likewise.
6135 [C99-based-standards] (SCNu8): Likewise.
6136 [C99-based-standards] (SCNx8): Likewise.
6137 [C99-based-standards] (PRIdLEAST8): Likewise.
6138 [C99-based-standards] (PRIiLEAST8): Likewise.
6139 [C99-based-standards] (PRIoLEAST8): Likewise.
6140 [C99-based-standards] (PRIuLEAST8): Likewise.
6141 [C99-based-standards] (PRIxLEAST8): Likewise.
6142 [C99-based-standards] (PRIXLEAST8): Likewise.
6143 [C99-based-standards] (SCNdLEAST8): Likewise.
6144 [C99-based-standards] (SCNiLEAST8): Likewise.
6145 [C99-based-standards] (SCNoLEAST8): Likewise.
6146 [C99-based-standards] (SCNuLEAST8): Likewise.
6147 [C99-based-standards] (SCNxLEAST8): Likewise.
6148 [C99-based-standards] (PRIdFAST8): Likewise.
6149 [C99-based-standards] (PRIiFAST8): Likewise.
6150 [C99-based-standards] (PRIoFAST8): Likewise.
6151 [C99-based-standards] (PRIuFAST8): Likewise.
6152 [C99-based-standards] (PRIxFAST8): Likewise.
6153 [C99-based-standards] (PRIXFAST8): Likewise.
6154 [C99-based-standards] (SCNdFAST8): Likewise.
6155 [C99-based-standards] (SCNiFAST8): Likewise.
6156 [C99-based-standards] (SCNoFAST8): Likewise.
6157 [C99-based-standards] (SCNuFAST8): Likewise.
6158 [C99-based-standards] (SCNxFAST8): Likewise.
6159 [C99-based-standards] (PRId16): Likewise.
6160 [C99-based-standards] (PRIi16): Likewise.
6161 [C99-based-standards] (PRIo16): Likewise.
6162 [C99-based-standards] (PRIu16): Likewise.
6163 [C99-based-standards] (PRIx16): Likewise.
6164 [C99-based-standards] (PRIX16): Likewise.
6165 [C99-based-standards] (SCNd16): Likewise.
6166 [C99-based-standards] (SCNi16): Likewise.
6167 [C99-based-standards] (SCNo16): Likewise.
6168 [C99-based-standards] (SCNu16): Likewise.
6169 [C99-based-standards] (SCNx16): Likewise.
6170 [C99-based-standards] (PRIdLEAST16): Likewise.
6171 [C99-based-standards] (PRIiLEAST16): Likewise.
6172 [C99-based-standards] (PRIoLEAST16): Likewise.
6173 [C99-based-standards] (PRIuLEAST16): Likewise.
6174 [C99-based-standards] (PRIxLEAST16): Likewise.
6175 [C99-based-standards] (PRIXLEAST16): Likewise.
6176 [C99-based-standards] (SCNdLEAST16): Likewise.
6177 [C99-based-standards] (SCNiLEAST16): Likewise.
6178 [C99-based-standards] (SCNoLEAST16): Likewise.
6179 [C99-based-standards] (SCNuLEAST16): Likewise.
6180 [C99-based-standards] (SCNxLEAST16): Likewise.
6181 [C99-based-standards] (PRIdFAST16): Likewise.
6182 [C99-based-standards] (PRIiFAST16): Likewise.
6183 [C99-based-standards] (PRIoFAST16): Likewise.
6184 [C99-based-standards] (PRIuFAST16): Likewise.
6185 [C99-based-standards] (PRIxFAST16): Likewise.
6186 [C99-based-standards] (PRIXFAST16): Likewise.
6187 [C99-based-standards] (SCNdFAST16): Likewise.
6188 [C99-based-standards] (SCNiFAST16): Likewise.
6189 [C99-based-standards] (SCNoFAST16): Likewise.
6190 [C99-based-standards] (SCNuFAST16): Likewise.
6191 [C99-based-standards] (SCNxFAST16): Likewise.
6192 [C99-based-standards] (PRId32): Likewise.
6193 [C99-based-standards] (PRIi32): Likewise.
6194 [C99-based-standards] (PRIo32): Likewise.
6195 [C99-based-standards] (PRIu32): Likewise.
6196 [C99-based-standards] (PRIx32): Likewise.
6197 [C99-based-standards] (PRIX32): Likewise.
6198 [C99-based-standards] (SCNd32): Likewise.
6199 [C99-based-standards] (SCNi32): Likewise.
6200 [C99-based-standards] (SCNo32): Likewise.
6201 [C99-based-standards] (SCNu32): Likewise.
6202 [C99-based-standards] (SCNx32): Likewise.
6203 [C99-based-standards] (PRIdLEAST32): Likewise.
6204 [C99-based-standards] (PRIiLEAST32): Likewise.
6205 [C99-based-standards] (PRIoLEAST32): Likewise.
6206 [C99-based-standards] (PRIuLEAST32): Likewise.
6207 [C99-based-standards] (PRIxLEAST32): Likewise.
6208 [C99-based-standards] (PRIXLEAST32): Likewise.
6209 [C99-based-standards] (SCNdLEAST32): Likewise.
6210 [C99-based-standards] (SCNiLEAST32): Likewise.
6211 [C99-based-standards] (SCNoLEAST32): Likewise.
6212 [C99-based-standards] (SCNuLEAST32): Likewise.
6213 [C99-based-standards] (SCNxLEAST32): Likewise.
6214 [C99-based-standards] (PRIdFAST32): Likewise.
6215 [C99-based-standards] (PRIiFAST32): Likewise.
6216 [C99-based-standards] (PRIoFAST32): Likewise.
6217 [C99-based-standards] (PRIuFAST32): Likewise.
6218 [C99-based-standards] (PRIxFAST32): Likewise.
6219 [C99-based-standards] (PRIXFAST32): Likewise.
6220 [C99-based-standards] (SCNdFAST32): Likewise.
6221 [C99-based-standards] (SCNiFAST32): Likewise.
6222 [C99-based-standards] (SCNoFAST32): Likewise.
6223 [C99-based-standards] (SCNuFAST32): Likewise.
6224 [C99-based-standards] (SCNxFAST32): Likewise.
6225 [C99-based-standards] (PRId64): Likewise.
6226 [C99-based-standards] (PRIi64): Likewise.
6227 [C99-based-standards] (PRIo64): Likewise.
6228 [C99-based-standards] (PRIu64): Likewise.
6229 [C99-based-standards] (PRIx64): Likewise.
6230 [C99-based-standards] (PRIX64): Likewise.
6231 [C99-based-standards] (SCNd64): Likewise.
6232 [C99-based-standards] (SCNi64): Likewise.
6233 [C99-based-standards] (SCNo64): Likewise.
6234 [C99-based-standards] (SCNu64): Likewise.
6235 [C99-based-standards] (SCNx64): Likewise.
6236 [C99-based-standards] (PRIdLEAST64): Likewise.
6237 [C99-based-standards] (PRIiLEAST64): Likewise.
6238 [C99-based-standards] (PRIoLEAST64): Likewise.
6239 [C99-based-standards] (PRIuLEAST64): Likewise.
6240 [C99-based-standards] (PRIxLEAST64): Likewise.
6241 [C99-based-standards] (PRIXLEAST64): Likewise.
6242 [C99-based-standards] (SCNdLEAST64): Likewise.
6243 [C99-based-standards] (SCNiLEAST64): Likewise.
6244 [C99-based-standards] (SCNoLEAST64): Likewise.
6245 [C99-based-standards] (SCNuLEAST64): Likewise.
6246 [C99-based-standards] (SCNxLEAST64): Likewise.
6247 [C99-based-standards] (PRIdFAST64): Likewise.
6248 [C99-based-standards] (PRIiFAST64): Likewise.
6249 [C99-based-standards] (PRIoFAST64): Likewise.
6250 [C99-based-standards] (PRIuFAST64): Likewise.
6251 [C99-based-standards] (PRIxFAST64): Likewise.
6252 [C99-based-standards] (PRIXFAST64): Likewise.
6253 [C99-based-standards] (SCNdFAST64): Likewise.
6254 [C99-based-standards] (SCNiFAST64): Likewise.
6255 [C99-based-standards] (SCNoFAST64): Likewise.
6256 [C99-based-standards] (SCNuFAST64): Likewise.
6257 [C99-based-standards] (SCNxFAST64): Likewise.
6258 [C99-based-standards] (PRIdMAX): Likewise.
6259 [C99-based-standards] (PRIiMAX): Likewise.
6260 [C99-based-standards] (PRIoMAX): Likewise.
6261 [C99-based-standards] (PRIuMAX): Likewise.
6262 [C99-based-standards] (PRIxMAX): Likewise.
6263 [C99-based-standards] (PRIXMAX): Likewise.
6264 [C99-based-standards] (SCNdMAX): Likewise.
6265 [C99-based-standards] (SCNiMAX): Likewise.
6266 [C99-based-standards] (SCNoMAX): Likewise.
6267 [C99-based-standards] (SCNuMAX): Likewise.
6268 [C99-based-standards] (SCNxMAX): Likewise.
6269 [C99-based-standards] (PRIdPTR): Likewise.
6270 [C99-based-standards] (PRIiPTR): Likewise.
6271 [C99-based-standards] (PRIoPTR): Likewise.
6272 [C99-based-standards] (PRIuPTR): Likewise.
6273 [C99-based-standards] (PRIxPTR): Likewise.
6274 [C99-based-standards] (PRIXPTR): Likewise.
6275 [C99-based-standards] (SCNdPTR): Likewise.
6276 [C99-based-standards] (SCNiPTR): Likewise.
6277 [C99-based-standards] (SCNoPTR): Likewise.
6278 [C99-based-standards] (SCNuPTR): Likewise.
6279 [C99-based-standards] (SCNxPTR): Likewise.
6280 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6281 allow.
6282 * conform/data/stdint.h-data: Update comments to clarify
6283 requirements.
6284 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6285 type.
6286 [C99-based standards] (INT8_MAX): Likewise.
6287 [C99-based standards] (INT16_MIN): Likewise.
6288 [C99-based standards] (INT16_MAX): Likewise.
6289 [C99-based standards] (INT32_MIN): Likewise.
6290 [C99-based standards] (INT32_MAX): Likewise.
6291 [C99-based standards] (INT64_MIN): Likewise.
6292 [C99-based standards] (INT64_MAX): Likewise.
6293 [C99-based standards] (UINT8_MAX): Likewise.
6294 [C99-based standards] (UINT16_MAX): Likewise.
6295 [C99-based standards] (UINT32_MAX): Likewise.
6296 [C99-based standards] (UINT64_MAX): Likewise.
6297 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6298 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6299 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6300 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6301 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6302 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6303 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6304 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6305 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6306 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6307 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6308 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6309 [C99-based standards] (INT_FAST8_MIN): Likewise.
6310 [C99-based standards] (INT_FAST8_MAX): Likewise.
6311 [C99-based standards] (INT_FAST16_MIN): Likewise.
6312 [C99-based standards] (INT_FAST16_MAX): Likewise.
6313 [C99-based standards] (INT_FAST32_MIN): Likewise.
6314 [C99-based standards] (INT_FAST32_MAX): Likewise.
6315 [C99-based standards] (INT_FAST64_MIN): Likewise.
6316 [C99-based standards] (INT_FAST64_MAX): Likewise.
6317 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6318 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6319 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6320 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6321 [C99-based standards] (INTPTR_MIN): Likewise.
6322 [C99-based standards] (INTPTR_MAX): Likewise.
6323 [C99-based standards] (UINTPTR_MAX): Likewise.
6324 [C99-based standards] (INTMAX_MIN): Likewise.
6325 [C99-based standards] (INTMAX_MAX): Likewise.
6326 [C99-based standards] (UINTMAX_MAX): Likewise.
6327 [C99-based standards] (PTRDIFF_MIN): Likewise.
6328 [C99-based standards] (PTRDIFF_MAX): Likewise.
6329 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6330 [C99-based standards] (SIZE_MAX): Likewise.
6331 [C99-based standards] (WCHAR_MAX): Likewise.
6332 [C99-based standards] (WINT_MAX): Likewise.
6333 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6334 constraint on value.
6335 [C99-based standards] (WCHAR_MIN): Likewise.
6336 [C99-based standards] (WINT_MIN): Likewise.
6337 [C99-based standards] (*_t): Allow.
6338 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6339 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6340 Include math.h-data and complex.h-data. Remove all expectations
6341 of math.h and complex.h contents.
6342 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6343 at end of line.
6344 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6345 (struct tm): Expect tag.
6346 [C99-based-standards] (wcstof): Expect function.
6347 [C99-based-standards] (wcstold): Likewise.
6348 [C99-based-standards] (wcstoll): Likewise.
6349 [C99-based-standards] (wcstoull): Likewise.
6350 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6351 macro-int-constant. Specify type.
6352 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6353 constraint on value.
6354 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6355 Specify type.
6356 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6357 Specify value.
6358 [ISO C standards]: Do not allow headers.
6359 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6360 wcs[abcdefghijklmnopqrstuvwxyz]*.
6361 [ISO C standards] (*_t): Do not allow.
6362 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6363 Expect function.
6364 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6365 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6366 Specify type.
6367 [ISO C standards]: Do not allow headers.
6368 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6369 is[abcdefghijklmnopqrstuvwxyz]*.
6370 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6371 to[abcdefghijklmnopqrstuvwxyz]*.
6372 [ISO C standards] (*_t): Do not allow.
6373 * conform/data/stdalign.h-data: New file.
6374 * conform/data/stdbool.h-data: Likewise.
6375 * conform/data/stdnoreturn.h-data: Likewise.
6376
7514feb8
RM
63772012-11-07 Roland McGrath <roland@hack.frob.com>
6378
6379 [BZ #14815]
6380 * manual/filesys.texi (Directory Entries): Typo fix.
6381 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6382
19b2ecfc
MS
63832012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6384
6385 * elf/elf.h (EM_AARCH64): New macro.
6386 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6387 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6388 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6389 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6390 (R_AARCH64_TLSDESC): Likewise.
6391 (NT_ARM_TLS): Likewise.
6392 (NT_ARM_HW_BREAK): Likewise.
6393 (NT_ARM_HW_WATCH): Likewise.
6394
60e235ee
JM
63952012-11-07 Joseph Myers <joseph@codesourcery.com>
6396
6397 [BZ #14811]
6398 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6399 (__ieee754_powl): Saturate nonzero exponents with absolute value
6400 below 0x1p-79 to +/- 0x1p-79.
6401 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6402 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6403 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6404 nonzero exponents with absolute value below 0x1p-32 to +/-
6405 0x1p-32.
6406 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6407 (__ieee754_powl): Saturate nonzero exponents with absolute value
6408 below 0x1p-79 to +/- 0x1p-79.
6409 * math/libm-test.inc (pow_test): Add more tests.
6410
0ab234b7
AK
64112012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6412
6413 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6414 _dl_s390_cap_flags with kernel. Increase string length.
6415 (_dl_s390_platforms): Add z196 and zEC12.
6416
45832f74
JM
64172012-11-07 Joseph Myers <joseph@codesourcery.com>
6418
6419 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6420 Change XOPEN21K to XOPEN2K.
6421
19218757
MK
64222012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6423
6424 * string/memmove.c: Use memcpy when possible.
6425
c5f45721
AJ
64262012-11-06 Andreas Jaeger <aj@suse.de>
6427
6428 * po/eo.po: Update from translation team.
6429
82477c28
JM
64302012-11-06 Joseph Myers <joseph@codesourcery.com>
6431
6432 [BZ #14793]
6433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6434 exponent and small x and y exponents, scale x or y up. Increase
6435 by 2 the exponent used in scaling up.
6436 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6438 * math/libm-test.inc (fma_test): Add more tests.
6439 (fma_test_towardzero): Likewise.
6440 (fma_test_downward): Likewise.
6441 (fma_test_upward): Likewise.
6442
99252c8c
JM
64432012-11-05 Joseph Myers <joseph@codesourcery.com>
6444
acfa885f
JM
6445 [BZ #14805]
6446 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6447 fenv_t *.
6448
99252c8c
JM
6449 [BZ #14801]
6450 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6451 namespace for names of struct fields.
6452 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6453 fenv_t fields.
6454 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6455 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6456
d6d98dea
ST
64572012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6458
6459 [BZ #3665]
6460 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6461
e10bb107
TS
64622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6463
6464 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6465 PTR_DEMANGLE.
6466
6467 [BZ #5246]
6468 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6469 PTR_DEMANGLE.
6470
a0c2940d
JM
64712012-11-04 Joseph Myers <joseph@codesourcery.com>
6472
6473 [BZ #14797]
6474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6475 definitely overflow as x * y not x * y + z.
6476 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6477 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6478 * math/libm-test.inc (fma_test): Add more tests.
6479 (fma_test_towardzero): Likewise.
6480 (fma_test_downward): Likewise.
6481 (fma_test_upward): Likewise.
6482
b830319d
TS
64832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6484
6485 [BZ #157]
6486
6487 * include/stub-tag.h: Remove file.
6488 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6489 '#include' of it.
6490 * manual/maint.texi (Porting): Don't reference it.
6491 * Makerules ($(objpfx)stubs): Likewise.
6492 * dirent/closedir.c: Don't include <stub-tag.h>.
6493 * dirent/dirfd.c: Likewise.
6494 * dirent/fdopendir.c: Likewise.
6495 * dirent/getdents.c: Likewise.
6496 * dirent/getdents64.c: Likewise.
6497 * dirent/opendir.c: Likewise.
6498 * dirent/readdir.c: Likewise.
6499 * dirent/readdir64.c: Likewise.
6500 * dirent/readdir64_r.c: Likewise.
6501 * dirent/readdir_r.c: Likewise.
6502 * dirent/rewinddir.c: Likewise.
6503 * dirent/seekdir.c: Likewise.
6504 * dirent/telldir.c: Likewise.
6505 * gmon/profil.c: Likewise.
6506 * grp/setgroups.c: Likewise.
6507 * inet/if_index.c: Likewise.
6508 * io/access.c: Likewise.
6509 * io/chdir.c: Likewise.
6510 * io/chmod.c: Likewise.
6511 * io/chown.c: Likewise.
6512 * io/close.c: Likewise.
6513 * io/dup.c: Likewise.
6514 * io/dup2.c: Likewise.
6515 * io/dup3.c: Likewise.
6516 * io/euidaccess.c: Likewise.
6517 * io/faccessat.c: Likewise.
6518 * io/fchdir.c: Likewise.
6519 * io/fchmod.c: Likewise.
6520 * io/fchmodat.c: Likewise.
6521 * io/fchown.c: Likewise.
6522 * io/fchownat.c: Likewise.
6523 * io/fcntl.c: Likewise.
6524 * io/flock.c: Likewise.
6525 * io/fstatfs.c: Likewise.
6526 * io/fstatfs64.c: Likewise.
6527 * io/fstatvfs.c: Likewise.
6528 * io/fstatvfs64.c: Likewise.
6529 * io/futimens.c: Likewise.
6530 * io/fxstat.c: Likewise.
6531 * io/fxstat64.c: Likewise.
6532 * io/fxstatat.c: Likewise.
6533 * io/fxstatat64.c: Likewise.
6534 * io/getcwd.c: Likewise.
6535 * io/isatty.c: Likewise.
6536 * io/lchmod.c: Likewise.
6537 * io/lchown.c: Likewise.
6538 * io/link.c: Likewise.
6539 * io/linkat.c: Likewise.
6540 * io/lseek.c: Likewise.
6541 * io/lseek64.c: Likewise.
6542 * io/lxstat64.c: Likewise.
6543 * io/mkdir.c: Likewise.
6544 * io/mkdirat.c: Likewise.
6545 * io/mkfifo.c: Likewise.
6546 * io/mkfifoat.c: Likewise.
6547 * io/open.c: Likewise.
6548 * io/open64.c: Likewise.
6549 * io/openat.c: Likewise.
6550 * io/openat64.c: Likewise.
6551 * io/pipe.c: Likewise.
6552 * io/pipe2.c: Likewise.
6553 * io/poll.c: Likewise.
6554 * io/posix_fadvise.c: Likewise.
6555 * io/posix_fadvise64.c: Likewise.
6556 * io/posix_fallocate.c: Likewise.
6557 * io/posix_fallocate64.c: Likewise.
6558 * io/read.c: Likewise.
6559 * io/readlink.c: Likewise.
6560 * io/readlinkat.c: Likewise.
6561 * io/rmdir.c: Likewise.
6562 * io/sendfile.c: Likewise.
6563 * io/sendfile64.c: Likewise.
6564 * io/statfs.c: Likewise.
6565 * io/statfs64.c: Likewise.
6566 * io/statvfs.c: Likewise.
6567 * io/statvfs64.c: Likewise.
6568 * io/symlink.c: Likewise.
6569 * io/symlinkat.c: Likewise.
6570 * io/ttyname.c: Likewise.
6571 * io/ttyname_r.c: Likewise.
6572 * io/umask.c: Likewise.
6573 * io/unlink.c: Likewise.
6574 * io/unlinkat.c: Likewise.
6575 * io/utime.c: Likewise.
6576 * io/utimensat.c: Likewise.
6577 * io/write.c: Likewise.
6578 * io/xmknod.c: Likewise.
6579 * io/xmknodat.c: Likewise.
6580 * io/xstat.c: Likewise.
6581 * io/xstat64.c: Likewise.
6582 * login/getpt.c: Likewise.
6583 * login/grantpt.c: Likewise.
6584 * login/unlockpt.c: Likewise.
6585 * math/e_acoshl.c: Likewise.
6586 * math/e_acosl.c: Likewise.
6587 * math/e_asinl.c: Likewise.
6588 * math/e_atan2l.c: Likewise.
6589 * math/e_atanhl.c: Likewise.
6590 * math/e_coshl.c: Likewise.
6591 * math/e_expl.c: Likewise.
6592 * math/e_fmodl.c: Likewise.
6593 * math/e_gammal_r.c: Likewise.
6594 * math/e_hypotl.c: Likewise.
6595 * math/e_j0l.c: Likewise.
6596 * math/e_j1l.c: Likewise.
6597 * math/e_jnl.c: Likewise.
6598 * math/e_lgammal_r.c: Likewise.
6599 * math/e_log10l.c: Likewise.
6600 * math/e_log2l.c: Likewise.
6601 * math/e_logl.c: Likewise.
6602 * math/e_powl.c: Likewise.
6603 * math/e_rem_pio2l.c: Likewise.
6604 * math/e_sinhl.c: Likewise.
6605 * math/e_sqrtl.c: Likewise.
6606 * math/fclrexcpt.c: Likewise.
6607 * math/fedisblxcpt.c: Likewise.
6608 * math/feenablxcpt.c: Likewise.
6609 * math/fegetenv.c: Likewise.
6610 * math/fegetexcept.c: Likewise.
6611 * math/fegetround.c: Likewise.
6612 * math/feholdexcpt.c: Likewise.
6613 * math/fesetenv.c: Likewise.
6614 * math/fesetround.c: Likewise.
6615 * math/feupdateenv.c: Likewise.
6616 * math/fgetexcptflg.c: Likewise.
6617 * math/fraiseexcpt.c: Likewise.
6618 * math/fsetexcptflg.c: Likewise.
6619 * math/ftestexcept.c: Likewise.
6620 * math/k_cosl.c: Likewise.
6621 * math/k_rem_pio2l.c: Likewise.
6622 * math/k_sinl.c: Likewise.
6623 * math/k_tanl.c: Likewise.
6624 * math/s_asinhl.c: Likewise.
6625 * math/s_atanl.c: Likewise.
6626 * math/s_cbrtl.c: Likewise.
6627 * math/s_erfl.c: Likewise.
6628 * math/s_expm1l.c: Likewise.
6629 * math/s_log1pl.c: Likewise.
6630 * math/s_tanhl.c: Likewise.
6631 * misc/acct.c: Likewise.
6632 * misc/brk.c: Likewise.
6633 * misc/chflags.c: Likewise.
6634 * misc/chroot.c: Likewise.
6635 * misc/fchflags.c: Likewise.
6636 * misc/fgetxattr.c: Likewise.
6637 * misc/flistxattr.c: Likewise.
6638 * misc/fremovexattr.c: Likewise.
6639 * misc/fsetxattr.c: Likewise.
6640 * misc/fsync.c: Likewise.
6641 * misc/ftruncate.c: Likewise.
6642 * misc/futimes.c: Likewise.
6643 * misc/futimesat.c: Likewise.
6644 * misc/getdomain.c: Likewise.
6645 * misc/getdtsz.c: Likewise.
6646 * misc/gethostid.c: Likewise.
6647 * misc/gethostname.c: Likewise.
6648 * misc/getloadavg.c: Likewise.
6649 * misc/getpagesize.c: Likewise.
6650 * misc/getsysstats.c: Likewise.
6651 * misc/getxattr.c: Likewise.
6652 * misc/gtty.c: Likewise.
6653 * misc/ioctl.c: Likewise.
6654 * misc/lgetxattr.c: Likewise.
6655 * misc/listxattr.c: Likewise.
6656 * misc/llistxattr.c: Likewise.
6657 * misc/lremovexattr.c: Likewise.
6658 * misc/lsetxattr.c: Likewise.
6659 * misc/lutimes.c: Likewise.
6660 * misc/madvise.c: Likewise.
6661 * misc/mincore.c: Likewise.
6662 * misc/mlock.c: Likewise.
6663 * misc/mlockall.c: Likewise.
6664 * misc/mmap.c: Likewise.
6665 * misc/mprotect.c: Likewise.
6666 * misc/msync.c: Likewise.
6667 * misc/munlock.c: Likewise.
6668 * misc/munlockall.c: Likewise.
6669 * misc/munmap.c: Likewise.
6670 * misc/preadv.c: Likewise.
6671 * misc/preadv64.c: Likewise.
6672 * misc/ptrace.c: Likewise.
6673 * misc/pwritev.c: Likewise.
6674 * misc/pwritev64.c: Likewise.
6675 * misc/readv.c: Likewise.
6676 * misc/reboot.c: Likewise.
6677 * misc/remap_file_pages.c: Likewise.
6678 * misc/removexattr.c: Likewise.
6679 * misc/revoke.c: Likewise.
6680 * misc/select.c: Likewise.
6681 * misc/setdomain.c: Likewise.
6682 * misc/setegid.c: Likewise.
6683 * misc/seteuid.c: Likewise.
6684 * misc/sethostid.c: Likewise.
6685 * misc/sethostname.c: Likewise.
6686 * misc/setregid.c: Likewise.
6687 * misc/setreuid.c: Likewise.
6688 * misc/setxattr.c: Likewise.
6689 * misc/sstk.c: Likewise.
6690 * misc/stty.c: Likewise.
6691 * misc/swapoff.c: Likewise.
6692 * misc/swapon.c: Likewise.
6693 * misc/sync.c: Likewise.
6694 * misc/syncfs.c: Likewise.
6695 * misc/syscall.c: Likewise.
6696 * misc/truncate.c: Likewise.
6697 * misc/ualarm.c: Likewise.
6698 * misc/usleep.c: Likewise.
6699 * misc/ustat.c: Likewise.
6700 * misc/utimes.c: Likewise.
6701 * misc/vhangup.c: Likewise.
6702 * misc/writev.c: Likewise.
6703 * posix/_exit.c: Likewise.
6704 * posix/alarm.c: Likewise.
6705 * posix/execve.c: Likewise.
6706 * posix/fexecve.c: Likewise.
6707 * posix/fork.c: Likewise.
6708 * posix/fpathconf.c: Likewise.
6709 * posix/getaddrinfo.c: Likewise.
6710 * posix/getegid.c: Likewise.
6711 * posix/geteuid.c: Likewise.
6712 * posix/getgid.c: Likewise.
6713 * posix/getgroups.c: Likewise.
6714 * posix/getlogin.c: Likewise.
6715 * posix/getlogin_r.c: Likewise.
6716 * posix/getpgid.c: Likewise.
6717 * posix/getpid.c: Likewise.
6718 * posix/getppid.c: Likewise.
6719 * posix/getresgid.c: Likewise.
6720 * posix/getresuid.c: Likewise.
6721 * posix/getsid.c: Likewise.
6722 * posix/getuid.c: Likewise.
6723 * posix/glob64.c: Likewise.
6724 * posix/nanosleep.c: Likewise.
6725 * posix/pathconf.c: Likewise.
6726 * posix/pause.c: Likewise.
6727 * posix/posix_madvise.c: Likewise.
6728 * posix/pread.c: Likewise.
6729 * posix/pread64.c: Likewise.
6730 * posix/pwrite.c: Likewise.
6731 * posix/pwrite64.c: Likewise.
6732 * posix/sched_getaffinity.c: Likewise.
6733 * posix/sched_getp.c: Likewise.
6734 * posix/sched_gets.c: Likewise.
6735 * posix/sched_primax.c: Likewise.
6736 * posix/sched_primin.c: Likewise.
6737 * posix/sched_rr_gi.c: Likewise.
6738 * posix/sched_setaffinity.c: Likewise.
6739 * posix/sched_setp.c: Likewise.
6740 * posix/sched_sets.c: Likewise.
6741 * posix/sched_yield.c: Likewise.
6742 * posix/setgid.c: Likewise.
6743 * posix/setlogin.c: Likewise.
6744 * posix/setpgid.c: Likewise.
6745 * posix/setresgid.c: Likewise.
6746 * posix/setresuid.c: Likewise.
6747 * posix/setsid.c: Likewise.
6748 * posix/setuid.c: Likewise.
6749 * posix/sleep.c: Likewise.
6750 * posix/spawni.c: Likewise.
6751 * posix/sysconf.c: Likewise.
6752 * posix/times.c: Likewise.
6753 * posix/wait.c: Likewise.
6754 * posix/wait3.c: Likewise.
6755 * posix/wait4.c: Likewise.
6756 * posix/waitpid.c: Likewise.
6757 * resolv/gai_sigqueue.c: Likewise.
6758 * resource/getpriority.c: Likewise.
6759 * resource/getrlimit.c: Likewise.
6760 * resource/getrusage.c: Likewise.
6761 * resource/nice.c: Likewise.
6762 * resource/setpriority.c: Likewise.
6763 * resource/setrlimit.c: Likewise.
6764 * resource/ulimit.c: Likewise.
6765 * rt/aio_cancel.c: Likewise.
6766 * rt/aio_fsync.c: Likewise.
6767 * rt/aio_read.c: Likewise.
6768 * rt/aio_sigqueue.c: Likewise.
6769 * rt/aio_suspend.c: Likewise.
6770 * rt/aio_write.c: Likewise.
6771 * rt/clock_getres.c: Likewise.
6772 * rt/clock_gettime.c: Likewise.
6773 * rt/clock_nanosleep.c: Likewise.
6774 * rt/clock_settime.c: Likewise.
6775 * rt/lio_listio.c: Likewise.
6776 * rt/mq_close.c: Likewise.
6777 * rt/mq_getattr.c: Likewise.
6778 * rt/mq_notify.c: Likewise.
6779 * rt/mq_open.c: Likewise.
6780 * rt/mq_receive.c: Likewise.
6781 * rt/mq_send.c: Likewise.
6782 * rt/mq_setattr.c: Likewise.
6783 * rt/mq_timedreceive.c: Likewise.
6784 * rt/mq_timedsend.c: Likewise.
6785 * rt/mq_unlink.c: Likewise.
6786 * rt/shm_open.c: Likewise.
6787 * rt/shm_unlink.c: Likewise.
6788 * rt/timer_create.c: Likewise.
6789 * rt/timer_delete.c: Likewise.
6790 * rt/timer_getoverr.c: Likewise.
6791 * rt/timer_gettime.c: Likewise.
6792 * rt/timer_settime.c: Likewise.
6793 * setjmp/__longjmp.c: Likewise.
6794 * setjmp/setjmp.c: Likewise.
6795 * signal/kill.c: Likewise.
6796 * signal/killpg.c: Likewise.
6797 * signal/raise.c: Likewise.
6798 * signal/sigaction.c: Likewise.
6799 * signal/sigaltstack.c: Likewise.
6800 * signal/sigblock.c: Likewise.
6801 * signal/sigignore.c: Likewise.
6802 * signal/sigintr.c: Likewise.
6803 * signal/signal.c: Likewise.
6804 * signal/sigpause.c: Likewise.
6805 * signal/sigpending.c: Likewise.
6806 * signal/sigqueue.c: Likewise.
6807 * signal/sigreturn.c: Likewise.
6808 * signal/sigset.c: Likewise.
6809 * signal/sigsetmask.c: Likewise.
6810 * signal/sigstack.c: Likewise.
6811 * signal/sigsuspend.c: Likewise.
6812 * signal/sigtimedwait.c: Likewise.
6813 * signal/sigvec.c: Likewise.
6814 * signal/sigwait.c: Likewise.
6815 * signal/sigwaitinfo.c: Likewise.
6816 * signal/sysv_signal.c: Likewise.
6817 * socket/accept.c: Likewise.
6818 * socket/accept4.c: Likewise.
6819 * socket/bind.c: Likewise.
6820 * socket/connect.c: Likewise.
6821 * socket/getpeername.c: Likewise.
6822 * socket/getsockname.c: Likewise.
6823 * socket/getsockopt.c: Likewise.
6824 * socket/isfdtype.c: Likewise.
6825 * socket/listen.c: Likewise.
6826 * socket/recv.c: Likewise.
6827 * socket/recvfrom.c: Likewise.
6828 * socket/recvmsg.c: Likewise.
6829 * socket/send.c: Likewise.
6830 * socket/sendmsg.c: Likewise.
6831 * socket/sendto.c: Likewise.
6832 * socket/setsockopt.c: Likewise.
6833 * socket/shutdown.c: Likewise.
6834 * socket/sockatmark.c: Likewise.
6835 * socket/socket.c: Likewise.
6836 * socket/socketpair.c: Likewise.
6837 * stdio-common/ctermid.c: Likewise.
6838 * stdio-common/cuserid.c: Likewise.
6839 * stdio-common/remove.c: Likewise.
6840 * stdio-common/rename.c: Likewise.
6841 * stdio-common/renameat.c: Likewise.
6842 * stdio-common/tempname.c: Likewise.
6843 * stdlib/getcontext.c: Likewise.
6844 * stdlib/makecontext.c: Likewise.
6845 * stdlib/setcontext.c: Likewise.
6846 * stdlib/swapcontext.c: Likewise.
6847 * stdlib/system.c: Likewise.
6848 * streams/fattach.c: Likewise.
6849 * streams/fdetach.c: Likewise.
6850 * streams/getmsg.c: Likewise.
6851 * streams/getpmsg.c: Likewise.
6852 * streams/putmsg.c: Likewise.
6853 * streams/putpmsg.c: Likewise.
6854 * sysdeps/unix/bsd/getpt.c: Likewise.
6855 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6856 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6857 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6859 Likewise.
6860 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6861 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6862 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6863 * sysvipc/msgctl.c: Likewise.
6864 * sysvipc/msgget.c: Likewise.
6865 * sysvipc/msgrcv.c: Likewise.
6866 * sysvipc/msgsnd.c: Likewise.
6867 * sysvipc/semctl.c: Likewise.
6868 * sysvipc/semget.c: Likewise.
6869 * sysvipc/semop.c: Likewise.
6870 * sysvipc/semtimedop.c: Likewise.
6871 * sysvipc/shmat.c: Likewise.
6872 * sysvipc/shmctl.c: Likewise.
6873 * sysvipc/shmdt.c: Likewise.
6874 * sysvipc/shmget.c: Likewise.
6875 * termios/tcdrain.c: Likewise.
6876 * termios/tcflow.c: Likewise.
6877 * termios/tcflush.c: Likewise.
6878 * termios/tcgetattr.c: Likewise.
6879 * termios/tcgetpgrp.c: Likewise.
6880 * termios/tcsendbrk.c: Likewise.
6881 * termios/tcsetattr.c: Likewise.
6882 * termios/tcsetpgrp.c: Likewise.
6883 * time/adjtime.c: Likewise.
6884 * time/clock.c: Likewise.
6885 * time/getitimer.c: Likewise.
6886 * time/gettimeofday.c: Likewise.
6887 * time/setitimer.c: Likewise.
6888 * time/settimeofday.c: Likewise.
6889 * time/stime.c: Likewise.
6890 * time/time.c: Likewise.
6891
68922012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6893
a20492cf
PT
6894 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6895 /usr/old/bin.
6896
72e182e3
PT
6897 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6898 instead of spaces.
6899 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6900
fbeafede
JM
69012012-11-03 Joseph Myers <joseph@codesourcery.com>
6902
5b5b04d6
JM
6903 [BZ #14796]
6904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6905 FE_TONEAREST before applying Dekker multiplication and Knuth
6906 addition. Clear inexact exceptions and check for exact zero
6907 results afterwards.
6908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6909 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6910 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6911 * math/libm-test.inc (fma_test): Add more tests.
6912 (fma_test_towardzero): Likewise.
6913 (fma_test_downward): Likewise.
6914 (fma_test_upward): Likewise.
6915 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6916 function.
6917 (libc_fesetround): New macro.
6918 (libc_fesetroundf): Likewise.
6919 (libc_fesetroundl): Likewise.
6920 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6921 function.
6922 (libc_fesetround_387): Likewise.
6923 (libc_fesetroundf): New macro.
6924 (libc_fesetround): Likewise.
6925 (libc_fesetroundl): Likewise.
6926 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6927 function.
6928 (libc_fesetroundf): New macro.
6929 (libc_fesetround): Likewise.
6930 (libc_fesetroundl): Likewise.
6931 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6932 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6933 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6934 libm_hidden_ver.
6935 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6936 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6937 libm_hidden_def.
6938 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6939 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6940 libm_hidden_ver.
6941 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6942 libm_hidden_def.
6943
fbeafede
JM
6944 [BZ #3439]
6945 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6946 integer constant usable in #if and use that to give value to enum
6947 constant.
6948 (FE_DIVBYZERO): Likewise.
6949 (FE_UNDERFLOW): Likewise.
6950 (FE_OVERFLOW): Likewise.
6951 (FE_INVALID): Likewise.
6952 (FE_INVALID_SNAN): Likewise.
6953 (FE_INVALID_ISI): Likewise.
6954 (FE_INVALID_IDI): Likewise.
6955 (FE_INVALID_ZDZ): Likewise.
6956 (FE_INVALID_IMZ): Likewise.
6957 (FE_INVALID_COMPARE): Likewise.
6958 (FE_INVALID_SOFTWARE): Likewise.
6959 (FE_INVALID_SQRT): Likewise.
6960 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6961 (FE_TONEAREST): Likewise.
6962 (FE_TOWARDZERO): Likewise.
6963 (FE_UPWARD): Likewise.
6964 (FE_DOWNWARD): Likewise.
6965 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6966 (FE_DIVBYZERO): Likewise.
6967 (FE_OVERFLOW): Likewise.
6968 (FE_UNDERFLOW): Likewise.
6969 (FE_INEXACT): Likewise.
6970 (FE_TONEAREST): Likewise.
6971 (FE_DOWNWARD): Likewise.
6972 (FE_UPWARD): Likewise.
6973 (FE_TOWARDZERO): Likewise.
6974 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6975 (FE_UNDERFLOW): Likewise.
6976 (FE_OVERFLOW): Likewise.
6977 (FE_DIVBYZERO): Likewise.
6978 (FE_INVALID): Likewise.
6979 (FE_TONEAREST): Likewise.
6980 (FE_TOWARDZERO): Likewise.
6981 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6982 (FE_OVERFLOW): Likewise.
6983 (FE_UNDERFLOW): Likewise.
6984 (FE_DIVBYZERO): Likewise.
6985 (FE_INEXACT): Likewise.
6986 (FE_TONEAREST): Likewise.
6987 (FE_TOWARDZERO): Likewise.
6988 (FE_UPWARD): Likewise.
6989 (FE_DOWNWARD): Likewise.
6990 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6991 (FE_DIVBYZERO): Likewise.
6992 (FE_OVERFLOW): Likewise.
6993 (FE_UNDERFLOW): Likewise.
6994 (FE_INEXACT): Likewise.
6995 (FE_TONEAREST): Likewise.
6996 (FE_DOWNWARD): Likewise.
6997 (FE_UPWARD): Likewise.
6998 (FE_TOWARDZERO): Likewise.
6999
105ca950
CM
70002012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7001
7002 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7003
a542b389
AS
70042012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7005
7006 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7007 commands. Quote $PWD.
7008 (blacklist_exports): Don't use remove_newlines. Replace "declare
7009 -x" by "export".
7010 (remove_newlines): Remove.
7011
f62c8abc
L
70122012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7013
7014 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7015 * stdlib/stdlib.h (atof): Moved to ...
7016 * include/bits/stdlib-float.h: Here. New file.
7017 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7018 * stdlib/bits/stdlib-float.h: New file.
7019 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7020 -mno-sse -mno-mmx.
7021 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7022 <xmmintrin.h>.
7023
0155d5b2
JM
70242012-11-02 Joseph Myers <joseph@codesourcery.com>
7025
a68d0680
JM
7026 * conform/conformtest.pl (@headers): Add fenv.h.
7027 * conform/data/fenv.h-data: New file.
7028 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7029 include of <math/fenv.h>.
7030
caf7f573
JM
7031 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7032 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7033 && !UNIX98]. Enables tests for XOPEN2K8.
7034 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7035 POSIX2008]: Likewise.
7036
6c073ad6
JM
7037 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7038 (struct rusage): Do not expect type or its members.
7039
0155d5b2
JM
7040 [BZ #3439]
7041 * math/math.h (FP_NAN): Define macro to integer constant usable in
7042 #if and use that to give value to enum constant.
7043 (FP_INFINITE): Likewise.
7044 (FP_ZERO): Likewise.
7045 (FP_SUBNORMAL): Likewise.
7046 (FP_NORMAL): Likewise.
7047
b5dcacb4
AS
70482012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7049
7050 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7051 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7052 arguments.
7053
f7934be8
RM
70542012-11-02 Roland McGrath <roland@hack.frob.com>
7055
7056 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7057 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7058 autoconf-time if not.
7059 * configure.in: Remove AC_PREREQ.
7060
d7d08bde
TMQMF
70612012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7062
7063 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7064 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7065 of the internal implementation.
7066
dcdae19a
JM
70672012-11-02 Joseph Myers <joseph@codesourcery.com>
7068
7069 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7070 except include of <misc/sys/syslog.h>.
7071
d6cffd3e
AS
70722012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7073
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7075 function returns with a NULL context exit with zero.
7076
b3563932
TMQMF
70772012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7078
7079 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7080
b288a93d
L
70812012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7082
7083 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7084 (run_program_cmd): This.
7085 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7086 (tst_langinfo): New variable. Use it.
7087
a2421a68
SAS
70882012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7089
7090 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7091 floating point opcodes.
7092
6f796e1b
TS
70932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7094
7402596b
TS
7095 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7096 variable.
7097
d0d4f868
TS
7098 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7099
6f796e1b
TS
7100 * sysdeps/mach/hurd/powerpc: Remove directory.
7101 * sysdeps/mach/powerpc: Likewise.
7102
4da224a2
AS
71032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7104
7105 * scripts/check-local-headers.sh: Ignore c++ headers.
7106
341dd673
TS
71072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7108
7109 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7110 __libc_cleanup_region_start argument.
7111
473611b2
JM
71122012-11-01 Joseph Myers <joseph@codesourcery.com>
7113
7114 [BZ #14784]
7115 [BZ #14785]
7116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7117 x * y using scaling, not as x * y + z.
7118 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7119 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7120 * math/libm-test.inc (fma_test): Add more tests.
7121 (fma_test_towardzero): Likewise.
7122 (fma_test_downward): Likewise.
7123 (fma_test_upward): Likewise.
7124
4078da3d
TS
71252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7126
7127 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7128
903252aa
JM
71292012-10-31 Joseph Myers <joseph@codesourcery.com>
7130
7131 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7132 New variable.
7133
cbc818d0
TS
71342012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7135
7136 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7137
5a03cb1e
AS
71382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7139
7140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7141 Fix sort order.
7142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7143 Likewise.
7144
90aff2ff
TMQMF
71452012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7146
7147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7148 Fix the order of the list for glibc 2.17.
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7150 Likewise.
7151
1818fcb7
AS
71522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7153
7154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7155
ef82f4da
JM
71562012-10-31 Joseph Myers <joseph@codesourcery.com>
7157
16a0e2ec
JM
7158 [BZ #14610]
7159 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7160 for low part of x being zero before using __atanl (y).
7161 * math/libm-test.inc (atan2_test): Add another test.
7162
0eb69512
JM
7163 * manual/install.texi (Configuring and compiling): Document
7164 general use of test-wrapper and test-wrapper-env.
7165 * INSTALL: Regenerated.
7166
ef82f4da
JM
7167 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7168 (__fma): Do not extract and scale down low bits on after-rounding
7169 systems when result rounded to normal precision would have normal
7170 exponent.
7171 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7172 (__fmal): Do not extract and scale down low bits on after-rounding
7173 systems when result rounded to normal precision would have normal
7174 exponent.
7175 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7176 (__fmal): Do not extract and scale down low bits on after-rounding
7177 systems when result rounded to normal precision would have normal
7178 exponent.
7179 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7180 macro.
7181 (fma_test): Add more tests.
7182 (fma_test_towardzero): Likewise.
7183 (fma_test_downward): Likewise.
7184 (fma_test_upward): Likewise.
7185
954ef0d9
L
71862012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7187
7188 * sysdeps/i386/tininess.h: Renamed to ...
7189 * sysdeps/x86/tininess.h: This.
7190 * sysdeps/x86_64/tininess.h: Removed.
7191
df61ffb2
JM
71922012-10-30 Joseph Myers <joseph@codesourcery.com>
7193
7194 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7195 input. Use $(build-program-cmd).
7196 ($(objpfx)tst-array1-static.out): Likewise.
7197 ($(objpfx)tst-array2.out): Likewise.
7198 ($(objpfx)tst-array3.out): Likewise.
7199 ($(objpfx)tst-array4.out): Likewise.
7200 ($(objpfx)tst-array5.out): Likewise.
7201 ($(objpfx)tst-array5-static.out): Likewise.
7202
01767843
CM
72032012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7204
47cc1490
CM
7205 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7206 if defined.
7207
01767843
CM
7208 * nss/nsswitch.h (nss_interface_function): Provide new
7209 macro for use with NSS functions.
7210 * grp/initgroups.c: Use new macro.
7211 * nss/getXXbyYY.c: Likewise.
7212 * nss/getXXbyYY_r.c: Likewise.
7213 * nss/getXXent.c: Likewise.
7214 * nss/getXXent_r.c: Likewise.
7215 * sysdeps/posix/getaddrinfo.c: Likewise.
7216
8321aa97
AJ
72172012-10-30 Andreas Jaeger <aj@suse.de>
7218
7219 * po/ru.po: Update Russion translation from translation project.
7220
2a27fd6d
JM
72212012-10-30 Joseph Myers <joseph@codesourcery.com>
7222
8627a232
JM
7223 [BZ #14152]
7224 [BZ #14783]
7225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7226 result and shift together with sticky bit instead of replicating
7227 round-to-nearest rounding.
7228 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7229 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7230 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7231 missing underflow exceptions.
7232 (fma_test_towardzero): Add more tests.
7233 (fma_test_downward): Likewise.
7234 (fma_test_upward): Likewise.
7235
2a27fd6d
JM
7236 [BZ #14047]
7237 * sysdeps/generic/tininess.h: New file.
7238 * sysdeps/i386/tininess.h: Likewise.
7239 * sysdeps/sh/tininess.h: Likewise.
7240 * sysdeps/x86_64/tininess.h: Likewise.
7241 * stdlib/tst-strtod-underflow.c: Likewise.
7242 * stdlib/tst-tininess.c: Likewise.
7243 * stdlib/strtod_l.c: Include <tininess.h>.
7244 (round_and_return): Do not set errno for exact underflow cases.
7245 Force an underflow exception when setting errno for underflow.
7246 Determine underflow based on rounding to normal precision if
7247 TININESS_AFTER_ROUNDING.
7248 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7249 ERANGE for exact underflow cases.
7250 * stdlib/Makefile (tests): Add tst-tininess and
7251 tst-strtod-underflow.
7252 ($(objpfx)tst-tininess): Use $(link-libm).
7253 ($(objpfx)tst-strtod-underflow): Likewise.
7254
e7170363
AJ
72552012-10-30 Andreas Jaeger <aj@suse.de>
7256
e5088dc6
AJ
7257 [BZ#14767]
7258 * elf/Makefile (tests): Remove conditional for have-initfini-array
7259 since this is now always required and the variable does not exist
7260 anymore.
7261 (tests-static): Likewise.
7262 (modules-names): Likewise.
7263
e7170363 7264 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7265
7266 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7267 merged with constructor/destructor.
7268 (init_array): Likewise.
7269 * elf/tst-array2dep.c (fini_array): Likewise.
7270 (init_array): Likewise.
7271
60457d8a
MF
72722012-10-29 Mike Frysinger <vapier@gentoo.org>
7273
7274 * manual/message.texi: Delete @cartouche tags.
7275
8bece752
PT
72762012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7277
94ce799f
PT
7278 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7279 EOPNOTSUPP.
7280 * sysdeps/mach/hurd/fsync.c: Likewise.
7281
8bece752
PT
7282 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7283 [_POSIX_REALTIME_SIGNALS]: Change condition to
7284 [_POSIX_REALTIME_SIGNALS > 0].
7285
86ebe6b1
AJ
72862012-10-27 Andreas Jaeger <aj@suse.de>
7287
7288 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7289 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7290 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7291 [__WORDSIZE != 64]: Likewise.
7292
54399c08
L
72932012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7294
7295 * iconvdata/tst-table.sh: Remove ${SHELL}.
7296 * iconvdata/tst-tables.sh: Likewise.
7297
e2211bed
DM
72982012-10-25 David S. Miller <davem@davemloft.net>
7299
7300 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7301 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7302 of strtoull.
7303
f303f97c
DM
7304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7305 ifunc-impl-list.c
7306 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7307 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7308 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7309 file.
7310
1e9d84cd
RM
73112012-10-25 Roland McGrath <roland@hack.frob.com>
7312
7313 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7314 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7315 __getdirentries.
7316
df381762
JM
73172012-10-25 Joseph Myers <joseph@codesourcery.com>
7318 Jim Blandy <jimb@codesourcery.com>
7319
7320 * scripts/cross-test-ssh.sh: New file.
7321 * manual/install.texi (Configuring and compiling): Document use of
7322 cross-test-ssh.sh.
7323 * INSTALL: Regenerated.
7324
bff64913
PT
73252012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7326
7327 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7328 EOPNOTSUPP.
7329
25fe8932
JM
73302012-10-25 Joseph Myers <joseph@codesourcery.com>
7331
7332 * Makeconfig (run-program-prefix): Fix comment.
7333
cc1290d0
JM
73342012-10-24 Joseph Myers <joseph@codesourcery.com>
7335 Jim Blandy <jimb@codesourcery.com>
7336
7337 * Makeconfig (test-wrapper): New variable,
7338 (test-wrapper-env): Likewise.
7339 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7340 (run-built-tests): Define to yes.
7341 (run-program-prefix): Use $(test-wrapper).
7342 (built-program-cmd): Likewise.
7343 * Rules (make-test-out): Use $(test-wrapper-env) and
7344 $(host-built-program-cmd).
7345 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7346 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7347 tst-pathopt.sh.
7348 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7349 $(test-wrapper-env) to tst-rtld-load-self.sh.
7350 ($(objpfx)order2.out): Use $(test-wrapper).
7351 ($(objpfx)tst-initorder.out): Likewise.
7352 ($(objpfx)tst-initorder2.out): Likewise.
7353 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7354 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7355 (test_wrapper_env): New variable. Use it to run ld.so.
7356 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7357 Use it to run ld.so.
7358 (test_wrapper_env): Likewise.
7359 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7360 $(test-wrapper) to run-iconv-test.sh.
7361 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7362 (ICONV): Use $test_wrapper.
7363 * posix/Makefile ($(objpfx)globtest.out): Pass
7364 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7365 globtest.sh, not $(run-program-prefix).
7366 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7367 (test_wrapper): Likewise.
7368 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7369 set together with run_via_rtld_prefix.
7370 (run_program_prefix): Define in terms of test_wrapper and
7371 run_via_rtld_prefix.
7372
6e6249d0
RM
73732012-10-24 Roland McGrath <roland@hack.frob.com>
7374
7375 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7376 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7377 Targets removed.
7378
7379 [BZ #14743]
7380 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7381 Declare __clock_getres, __clock_gettime, __clock_settime,
7382 __clock_nanosleep, and __clock_getcpuclockid.
7383 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7384 Remove librt_hidden_def (clock_gettime).
7385 * sysdeps/unix/clock_gettime.c: Likewise.
7386 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7387 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7388 * rt/clock_getres.c: Define __clock_getres as an alias.
7389 * sysdeps/posix/clock_getres.c: Likewise.
7390 * rt/clock_settime.c: Define __clock_settime as an alias.
7391 * sysdeps/unix/clock_settime.c: Likewise.
7392 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7393 * sysdeps/unix/clock_nanosleep.c: Likewise.
7394 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7395 * rt/clock-compat.c: New file.
7396 * rt/Makefile (librt-routines): Add clock-compat and move
7397 $(clock-routines) to ...
7398 (routines): ... here, new variable.
7399 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7400 Don't add get_clockfreq here.
7401 * rt/Versions (libc: GLIBC_2.17): New version set.
7402 Add clock_* symbols here.
7403 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7404 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7405 (GLIBC_2.17): Add clock_* symbols.
7406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7408 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7410 Likewise.
7411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7412 Likewise.
7413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7417 * NEWS: Mention the move.
7418
7419 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7420 Use __open, __read, __close rather than their public counterparts.
7421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7422 (__get_clockfreq_via_cpuinfo): Likewise.
7423 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7424 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7425
7426 * config.h.in (HAVE_IFUNC): New #undef.
7427 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7428 was successful.
7429 * configure: Regenerated.
7430
0cae3f4b
MF
74312012-10-24 Mike Frysinger <vapier@gentoo.org>
7432
7433 * configure.in: Move READELF check to start of file.
7434 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7435 libc_cv_asm_gnu_indirect_function in the process.
7436 * configure: Regenerated.
7437
8175a253
MF
74382012-10-24 Mike Frysinger <vapier@gentoo.org>
7439
7440 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7441 send the output to /dev/null.
7442 (libc_cv_cc_with_libunwind): Likewise.
7443 (libc_cv_as_noexecstack): Likewise.
7444 * configure: Regenerate.
7445
0708a7d1
JM
74462012-10-24 Joseph Myers <joseph@codesourcery.com>
7447
10b40d85
JM
7448 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7449
0708a7d1
JM
7450 * posix/globtest.sh (TMPDIR): Do not set.
7451 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7452 (testout): Likewise.
7453
9fddec1a
AJ
74542012-10-24 Andreas Jaeger <aj@suse.de>
7455
3a8db22f
AJ
7456 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7457 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7458 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7459 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7460 posix_fadvise64, posix_fallocate64.
7461
9fddec1a
AJ
7462 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7463 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7464 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7465 Likewise.
7466 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7467 Likewise.
7468 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7469
7470 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7471 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7472 <bits/fcntl-linux.h>.
7473 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7474
7475 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7476 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7477 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7478 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7479 [__WORDSIZE != 64]: Likewise.
7480
ebfd1bbd
JM
74812012-10-23 Joseph Myers <joseph@codesourcery.com>
7482
03ac099f
JM
7483 * Makeconfig (run-built-tests): New variable.
7484 * Rules [$(cross-compiling) = yes]: Change condition to
7485 [$(run-built-tests) = no].
7486 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7487 to [$(run-built-tests) = yes].
7488 * elf/Makefile [$(cross-compiling) = no]: Likewise
7489 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7490 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7491 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7492 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7493 * io/Makefile [$(cross-compiling) = no]: Likewise.
7494 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7495 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7496 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7497 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7498 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7499 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7500 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7501 * string/Makefile [$(cross-compiling) = no]: Likewise.
7502
ebfd1bbd
JM
7503 * posix/Makefile ($(objpfx)globtest.out): Pass
7504 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7505 $(rtld-installed-name).
7506 * posix/globtest.sh (elf_objpfx): Remove variable.
7507 (rtld_installed_name): Likewise.
7508 (library_path): Likewise.
7509 (run_program_prefix): New variable. Use for running globtest
7510 binary.
7511
166bca24
JB
75122012-10-23 Jim Blandy <jimb@codesourcery.com>
7513 Joseph Myers <joseph@codesourcery.com>
7514
7515 * Makeconfig (host-built-program-cmd): New variable.
7516 * elf/Makefile (tst-stackguard1-ARGS): Use
7517 $(host-built-program-cmd).
7518 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7519 (tst-spawn-ARGS): Likewise.
7520 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7521
88866099
JM
75222012-10-23 Joseph Myers <joseph@codesourcery.com>
7523 Jim Blandy <jimb@codesourcery.com>
7524
7525 * Makeconfig (run-via-rtld-prefix): New variable.
7526 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7527 (built-program-cmd): Likewise.
7528
b4b4c296
AJ
75292012-10-22 Andreas Jaeger <aj@suse.de>
7530
7531 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7532 __O_RSYNC if it exists, otherwise to O_SYNC.
7533
6fb54a22
JB
75342012-10-22 Jim Blandy <jimb@codesourcery.com>
7535 Joseph Myers <joseph@codesourcery.com>
7536
7537 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7538 /dev/null.
7539 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7540 from /dev/null
7541 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7542 /dev/null.
7543
481b90b9
AJ
75442012-10-22 Andreas Jaeger <aj@suse.de>
7545
2a0e2669
AJ
7546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7547 Define always.
7548 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7549
76e38f9a
AJ
7550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7551 bits/fcntl-linux.h.
7552
7cd37b43
AJ
7553 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7554 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7555
481b90b9
AJ
7556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7557 to __O_LARGEFILE.
7558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7559 to __O_LARGEFILE.
7560
aba75984
JB
75612012-10-21 Jim Blandy <jimb@codesourcery.com>
7562 Joseph Myers <joseph@codesourcery.com>
7563
7564 * config.make.in (NM): New variable.
7565
88d4247f
AJ
75662012-10-21 Andreas Jaeger <aj@suse.de>
7567
7568 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7569 definitions and declarations that are provided by
7570 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7571
f2eed205
L
75722012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7573
7574 [BZ #14683]
7575 * elf/Makefile (tests-static): Add tst-leaks1-static.
7576 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7577 ($(objpfx)tst-leaks1-static): New rule.
7578 ($(objpfx)tst-leaks1-static-mem): Likewise.
7579 (tst-leaks1-static-ENV): New macro.
7580 * elf/dl-open.c (dl_open_worker): Check the main application
7581 only if SHARED is defined.
7582 * elf/tst-leaks1-static.c: New file.
7583
335e6931
AJ
75842012-10-20 Andreas Jaeger <aj@suse.de>
7585
7586 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7587 generic values for Linux.
7588 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7589 and declarations that are provided by <bits/fcntl-linux.h> and
7590 include <bits/fcntl-linux.h>.
7591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7592 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7593
ac5c94d3
RM
75942012-10-20 Roland McGrath <roland@hack.frob.com>
7595
7596 * io/fcntl.h: Move include of <bits/types.h> to the top and
7597 include it unconditionally.
7598
de54b33a
L
75992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7600
228cfb01
L
7601 * wcsmbs/Makefile (tests-ifunc): New variable.
7602 (tests): Add $(tests-ifunc).
7603 * wcsmbs/test-wcschr-ifunc.c: New file.
7604 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7605 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7606 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7607 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7608 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7609
69f07e5f
L
7610 * string/Makefile (tests-ifunc): New variable.
7611 (tests): Add $(tests-ifunc).
7612 * string/test-memccpy.c (TEST_NAME): New macro.
7613 * string/test-memchr.c (TEST_NAME): Likewise.
7614 * string/test-memcmp.c (TEST_NAME): Likewise.
7615 * string/test-memcpy.c (TEST_NAME): Likewise.
7616 * string/test-memmem.c (TEST_NAME): Likewise.
7617 * string/test-memmove.c (TEST_NAME): Likewise.
7618 * string/test-memset.c (TEST_NAME): Likewise.
7619 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7620 * string/test-stpcpy.c (TEST_NAME): Likewise.
7621 * string/test-stpncpy.c (TEST_NAME): Likewise.
7622 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7623 * string/test-strcasestr.c (TEST_NAME): Likewise.
7624 * string/test-strcat.c (TEST_NAME): Likewise.
7625 * string/test-strchr.c (TEST_NAME): Likewise.
7626 * string/test-strcmp.c(TEST_NAME): Likewise.
7627 * string/test-strcpy.c (TEST_NAME): Likewise.
7628 * string/test-strcspn.c (TEST_NAME): Likewise.
7629 * string/test-strlen.c (TEST_NAME): Likewise.
7630 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7631 * string/test-strncmp.c (TEST_NAME): Likewise.
7632 * string/test-strncpy.c (TEST_NAME): Likewise.
7633 * string/test-strnlen.c (TEST_NAME): Likewise.
7634 * string/test-strpbrk.c (TEST_NAME): Likewise.
7635 * string/test-strrchr.c (TEST_NAME): Likewise.
7636 * string/test-strspn.c (TEST_NAME): Likewise.
7637 * string/test-strstr.c (TEST_NAME): Likewise.
7638 * string/test-bcopy-ifunc.c: New file.
7639 * string/test-bzero-ifunc.c: Likewise.
7640 * string/test-memccpy-ifunc.c: Likewise.
7641 * string/test-memchr-ifunc.c: Likewise.
7642 * string/test-memcmp-ifunc.c: Likewise.
7643 * string/test-memcpy-ifunc.c: Likewise.
7644 * string/test-memmem-ifunc.c: Likewise.
7645 * string/test-memmove-ifunc.c: Likewise.
7646 * string/test-mempcpy-ifunc.c: Likewise.
7647 * string/test-memset-ifunc.c: Likewise.
7648 * string/test-rawmemchr-ifunc.c: Likewise.
7649 * string/test-stpcpy-ifunc.c: Likewise.
7650 * string/test-stpncpy-ifunc.c: Likewise.
7651 * string/test-strcasecmp-ifunc.c: Likewise.
7652 * string/test-strcasestr-ifunc.c: Likewise.
7653 * string/test-strcat-ifunc.c: Likewise.
7654 * string/test-strchr-ifunc.c: Likewise.
7655 * string/test-strchrnul-ifunc.c: Likewise.
7656 * string/test-strcmp-ifunc.c: Likewise.
7657 * string/test-strcpy-ifunc.c: Likewise.
7658 * string/test-strcspn-ifunc.c: Likewise.
7659 * string/test-strlen-ifunc.c: Likewise.
7660 * string/test-strncasecmp-ifunc.c: Likewise.
7661 * string/test-strncat-ifunc.c: Likewise.
7662 * string/test-strncmp-ifunc.c: Likewise.
7663 * string/test-strncpy-ifunc.c: Likewise.
7664 * string/test-strnlen-ifunc.c: Likewise.
7665 * string/test-strpbrk-ifunc.c: Likewise.
7666 * string/test-strrchr-ifunc.c: Likewise.
7667 * string/test-strspn-ifunc.c: Likewise.
7668 * string/test-strstr-ifunc.c: Likewise.
7669
de54b33a
L
7670 * debug/Makefile (tests-ifunc): New variable.
7671 (tests): Add $(tests-ifunc).
7672 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7673 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7674 * debug/test-stpcpy_chk-ifunc.c: New file.
7675 * debug/test-strcpy_chk-ifunc.c: Likewise.
7676
88481c16
SP
76772012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7678
7679 [BZ #13601]
7680 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7681 header is not read in.
7682
135948bd
JM
76832012-10-19 Joseph Myers <joseph@codesourcery.com>
7684
89f1c388
JM
7685 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7686 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7687 directly. Pass built executable to script as
7688 $(built-program-cmd).
7689 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7690 $testprogram without using LD_LIBRARY_PATH and $ldso.
7691
e40a0d21
JM
7692 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7693 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7694 $(rtld-installed-name).
7695 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7696 (rtld_installed_name): Likewise.
7697 (library_path): Likewise.
7698 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7699 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7700 $(run-program-prefix) to tst-tables.sh.
7701 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7702 it to run tst-table-from and tst-table-to.
7703 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7704 Pass it to tst-table.sh.
7705 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7706 $(run-program-prefix) to tst-gettext.sh.
7707 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7708 tst-translit.sh.
7709 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7710 tst-gettext2.sh.
7711 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7712 to run tst-gettext.
7713 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7714 to run tst-gettext2.
7715 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7716 to run tst-translit.
7717 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7718 $(run-program-prefix) to tst-mtrace.sh.
7719 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7720 to run tst-mtrace.
7721 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7722 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7723 $(rtld-installed-name).
7724 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7725 (rtld_installed_name): Likewise.
7726 (run_program_prefix): New variable. Use it to run wordexp-test.
7727
728e272a
JM
7728 * Makeconfig (ARCH): Remove all definitions.
7729 (machine): Likewise.
7730 [ARCH]: Remove conditional code.
7731 [!objdir]: Give error.
7732 [!objdir] (objpfx): Remove.
7733 [!objdir] (common-objpfx): Likewise.
7734 [!objdir] (common-objdir): Likewise.
7735 * configure.in (config_makefile): Remove. Hardcode Makefile in
7736 AC_CONFIG_FILES call.
7737 * configure: Regenerated.
7738
d528cdcf
JM
7739 [BZ #13888]
7740 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7741 or TMPDIR.
7742 (testout): Likewise.
7743
135948bd
JM
7744 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7745 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7746 $(rtld-installed-name).
7747 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7748 (rtld_installed_name): Likwise.
7749 (runit): Remove function.
7750 (run_getconf): New variable, Use it for running getconf binary.
7751
38c78296
L
77522012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7753
7754 [BZ #14716]
7755 * string/test-memmem.c (check_result): New function.
7756 (do_one_test): Use it.
7757 (check1): New function.
7758 (test_main): Use it.
7759
d077f65f
MT
77602012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7761
7762 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7763
ced52c71
JM
77642012-10-18 Joseph Myers <joseph@codesourcery.com>
7765
7766 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7767 (_G_LSEEK64): Likewise.
7768 (_G_MMAP64): Likewise.
7769 (_G_FSTAT64): Likewise.
7770 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7771 (_G_LSEEK64): Likewise.
7772 (_G_MMAP64): Likewise.
7773 (_G_FSTAT64): Likewise.
7774 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7775 unconditional. Call __mmap64 directly.
7776 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7777 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7778 __lseek64 directly.
7779 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7780 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7781 __mmap64 directly.
7782 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7783 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7784 __lseek64 directly.
7785 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7786 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7787 __lseek64 directly.
7788 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7789 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7790 __lseek64 directly.
7791 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7792 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7793 __fxstat64 directly.
7794 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7795 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7796 unconditional.
7797 (freopen64) [!_G_OPEN64]: Remove conditional code.
7798 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7799 unconditional.
7800 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7801 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7802 unconditional.
7803 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7804 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7805 unconditional.
7806 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7807 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7808 unconditional.
7809 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7810 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7811 unconditional.
7812 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7813 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7814 unconditional.
7815 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7816 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7817 unconditional.
7818 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7819
b741de23
SP
78202012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7821
7822 [BZ #12140]
7823 * manual/memory.texi (Malloc Tunable Parameters): Add note
7824 about free list pointers overwriting some perturb bytes.
7825 Wording suggested by Roland McGrath.
7826
f9b9d9c9
JM
78272012-10-17 Joseph Myers <joseph@codesourcery.com>
7828
7829 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7830 (lgamma_test): Likewise.
7831 (tgamma_test): Likewise.
7832
172a631a
FW
78332012-10-16 Florian Weimer <fweimer@redhat.com>
7834
7835 [BZ #14700]
7836 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7837 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7838
e9f37252
MK
78392012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7840
7841 * NEWS: Mention BZ #14716.
7842 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7843 when removing AVAILABLE1_USES_J macro.
7844
d394eb74
L
78452012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7846
7847 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7848 (__bswap_64): __uint64_t for unsigned 64-bit int.
7849
ca38dc17
AS
78502012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7851
7852 * include/string.h (memmem): Declare libc hidden alias.
7853 * string/memmem.c (memmem): Define libc hidden alias.
7854 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7855 __read, __close instead of open, read, close.
7856
9a387d1f
L
78572012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7858
ac49ecaf
L
7859 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7860 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7861 global and hidden.
7862 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7863 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7864 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7865 Likewise.
7866 (__rawmemchr_sse2): Likewise.
7867 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7868 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7869 (__strchr_sse2): Likewise.
7870 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7871 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7872 (__strcasecmp_sse2): Likewise.
7873 (__strncasecmp_sse2): Likewise.
7874 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7875 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7876 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7877 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7878 (__strrchr_sse2): Likewise.
7879 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7880 ifunc-impl-list.c.
7881 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7882 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7883 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7884 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7885 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7886 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7887 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7888 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7889 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7890 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7891 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7892 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7893 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7894 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7895 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7896 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7897 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7898 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7899 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7900 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7901 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7902 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7903 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7904 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7905 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7906 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7907 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7908 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7909 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7910 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7911
b090e8ea
L
7912 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7913 global and hidden.
7914 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7915 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7916 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7917 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7918 Likewise.
7919 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7920 Likewise.
7921 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7922 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7923 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7924 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7925 ifunc-impl-list.c.
7926 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7927 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7928 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7929 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7930 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7931 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7932 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7933 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7934 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7935 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7936 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7937 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7938 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7939 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7940 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7941 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7942 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7943 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7944 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7945 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7946 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7947 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7948 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7949 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7950 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7951 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7952 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7953 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7954 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7955 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7956 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7957 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7958 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7959 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7960 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7961 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7962 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7963 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7964 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7965 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7966 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7967
11dd4af6
L
7968 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7969 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7970 * include/ifunc-impl-list.h: New file.
7971 * misc/ifunc-impl-list.c: Likewise.
7972 * misc/Makefile (routines): Add ifunc-impl-list.
7973 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7974 * string/test-string.h: Include <ifunc-impl-list.h>.
7975 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7976 impl_array): New variables.
7977 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7978 are defined.
7979 (test_init): Call __libc_ifunc_impl_list to initialize
7980 func_list if TEST_IFUNC and TEST_NAME are defined.
7981
9a387d1f
L
7982 * string/Makefile (strop-tests): Add bcopy and bzero.
7983 * string/test-bcopy.c: New file.
7984 * string/test-bzero.c: Likewise.
7985 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7986 defined.
7987 * string/test-memset.c: Support bzero test if TEST_BZERO is
7988 defined.
7989 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7990 __libc_memmove.
7991 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7992 __libc_memset.
7993 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7994 of memset.
7995
472371b9
JM
79962012-10-10 Joseph Myers <joseph@codesourcery.com>
7997
1e4a9536
JM
7998 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7999 * configure: Regenerated.
8000
d173d12e
JM
8001 * Makeconfig (+link-static-before-libc): Don't include
8002 $(link-static-libc).
8003
472371b9
JM
8004 * libio/libio.h (_IO_pos_t): Remove.
8005
89a3ad0b
AO
80062012-10-10 Alexandre Oliva <aoliva@redhat.com>
8007
8008 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8009 McGrath.
8010
e7451425
AO
80112012-10-10 Alexandre Oliva <aoliva@redhat.com>
8012
8013 * crypt/crypt-entry.c: Include fips-private.h.
8014 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8015 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8016 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8017 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8018
4ba74a35
AO
80192012-10-10 Alexandre Oliva <aoliva@redhat.com>
8020
8021 * crypt/crypt-private.h: Include stdbool.h.
8022 (_ufc_setup_salt_r): Return bool.
8023 * crypt/crypt-entry.c: Include errno.h.
8024 (__crypt_r): Return NULL with EINVAL for bad salt.
8025 * crypt/crypt_util.c (bad_for_salt): New.
8026 (_ufc_setup_salt_r): Check that salt is long enough and within
8027 the specified alphabet.
8028 * crypt/badsalttest.c: New file.
8029 * crypt/Makefile (tests): Add it.
8030 ($(objpfx)badsalttest): New.
8031
f96f1242
MK
80322012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8033
8034 * NEWS: Add entry for BZ #14602.
8035
0e8e0c1c
JM
80362012-10-09 Joseph Myers <joseph@codesourcery.com>
8037
8038 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8039 type-generic.
8040 * math/libm-test.inc: Update comment listing what functions and
8041 macros are tested.
8042 (isgreater_test): New function.
8043 (isgreaterequal_test): Likewise.
8044 (isless_test): Likewise.
8045 (islessequal_test): Likewise.
8046 (islessgreater_test): Likewise.
8047 (isunordered_test): Likewise.
8048 (main): Call the new functions.
8049
273edc5e
RM
80502012-10-09 Roland McGrath <roland@hack.frob.com>
8051
b8493de0
RM
8052 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8053 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8054 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8055 * sysdeps/i386/configure: Regenerated.
8056 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8057 * sysdeps/mach/configure: Regenerated.
8058 * sysdeps/mach/hurd/configure: Regenerated.
8059 * sysdeps/powerpc/configure: Regenerated.
8060 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8061 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8062 * sysdeps/s390/s390-32/configure: Regenerated.
8063 * sysdeps/s390/s390-64/configure: Regenerated.
8064 * sysdeps/sh/configure: Regenerated.
8065 * sysdeps/sparc/configure: Regenerated.
8066 * sysdeps/unix/sysv/linux/configure: Regenerated.
8067 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8068 * sysdeps/x86_64/configure: Regenerated.
8069
273edc5e
RM
8070 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8071 defined. Don't check if MAP is NULL.
8072
c8450f70
JM
80732012-10-09 Joseph Myers <joseph@codesourcery.com>
8074
8075 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8076 (_G_stat64): Likewise.
8077 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8078 (_G_stat64): Likewise.
8079 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8080 instead of struct _G_stat64.
8081 * libio/fileops.c (mmap_remap_check): Likewise.
8082 (decide_maybe_mmap): Likewise.
8083 (_IO_new_file_seekoff): Likewise.
8084 (_IO_file_stat): Likewise.
8085 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8086 _G_off64_t.
8087 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8088 instead of struct _G_stat64.
8089 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8090
57e605ba
MK
80912012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8092
8093 [BZ #14602]
8094 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8095 Replace with ...
8096 (CHECK_EOL): New macro.
8097 (two_way_short_needle): Check beginning of haystack for EOL. Use
8098 CHECK_EOL.
8099 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8100 Replace with CHECK_EOL.
8101 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8102 Replace with CHECK_EOL.
8103
ef1bb361
JM
81042012-10-08 Joseph Myers <joseph@codesourcery.com>
8105
8106 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8107 type-generic.
8108 * math/libm-test.inc: Update comment listing what functions and
8109 macros are tested.
8110 (finite_test): New function.
8111 (isinf_test): Likewise.
8112 (isnan_test): Likewise.
8113 (fpclassify_test): Test subnormal input.
8114 (isfinite_test): Likewise.
8115 (isnormal_test): Likewise.
8116 (main): Call the new functions.
8117
55f11534
JN
81182012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8119
8120 [BZ #14660]
8121 * Makerules (%.dynsym): Force C locale when running
8122 $(OBJDUMP) --dynamic-syms.
8123
1ab29350
AS
81242012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8125
8126 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8127 <stdint.h>.
8128
f1ecb7ef
DM
81292012-10-06 David S. Miller <davem@davemloft.net>
8130
8131 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8132 upper 32-bits of the length value in %o2 since we use branch-on-register
8133 tests which consider the entire 64-bit register.
8134
5d41d91a
L
81352012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8136
8137 * string/test-strstr.c (check2): Add a test for page boundary.
8138
3baddb72
DM
81392012-10-05 David S. Miller <davem@davemloft.net>
8140
8141 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8142 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8143 file.
8144 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8145 sysdep_routines.
8146 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8147 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8148 and bzero when HWCAP_SPARC_CRYPTO is present.
8149
9cee5585
L
81502012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8151
d7e0dab9
L
8152 [BZ #14602]
8153 * string/test-strstr.c (check2): New function.
8154 (test_main): Call check2.
8155
03759f47
L
8156 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8157 and bug-strchr1.
8158 * string/bug-strcasestr1.c (do_test): Moved to ...
8159 * string/test-strcasestr.c (check1): Here. New function.
8160 (do_one_test): Break out result checking code into ...
8161 (check_result): This. New function.
8162 (do_one_test): Call check_result.
8163 (test_main): Call check1.
8164 * string/bug-strchr1.c (do_test): Moved to ...
8165 * string/test-strchr.c (check1): Here. New function.
8166 (do_one_test): Break out result checking code into ...
8167 (check_result): This. New function.
8168 (do_one_test): Call check_result.
8169 (test_main): Call check1.
8170 * string/bug-strstr1.c (main): Moved to ...
046f153e 8171 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8172 (do_one_test): Break out result checking code into ...
8173 (check_result): This. New function.
8174 (do_one_test): Call check_result.
8175 (test_main): Call check1.
8176 * string/bug-strcasestr1.c: Removed.
8177 * string/bug-strchr1.c: Likewise.
8178 * string/bug-strstr1.c: Likewise.
8179
53cea63e
L
8180 * elf/Makefile (dl-routines): Add hwcaps.
8181 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8182 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8183 (_dl_important_hwcaps): Moved to ...
8184 * elf/dl-hwcaps.c: Here. New file.
8185 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8186
9cee5585 8187 [BZ #14557]
bb859b06
L
8188 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8189 if IS_IN_rtld isn't defined.
8190
9cee5585
L
8191 * elf/dl-support.c (_dl_sysinfo_map): New.
8192 Include "get-dynamic-info.h" and "setup-vdso.h".
8193 (_dl_non_dynamic_init): Call setup_vdso.
8194 * elf/dynamic-link.h: Don't include <assert.h>.
8195 (elf_get_dynamic_info): Moved to ...
8196 * elf/get-dynamic-info.h: Here. New file.
8197 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8198 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8199 * elf/setup-vdso.h: Here. New file.
8200 * elf/rtld.c: Include "setup-vdso.h".
8201 (dl_main): Call setup_vdso.
8202
23c31b76
JM
82032012-10-05 Joseph Myers <joseph@codesourcery.com>
8204
28234b07
JM
8205 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8206 creal in comment listing functions tested. List finite, isinf,
8207 isnan, isless, islessequal, isgreater, isgreaterequal,
8208 islessgreater, isunordered, lgamma_r and pow10 as functions and
8209 macros not tested. Mention which functions not tested are aliases
8210 for other functions. Fix typo. Note that signs of NaNs are not
8211 tested.
8212
23c31b76
JM
8213 * scripts/config.guess: Update from config.git.
8214 * scripts/config.sub: Likewise.
8215
9043e228
RM
82162012-10-04 Roland McGrath <roland@hack.frob.com>
8217
8218 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8219 * misc/madvise.c (madvise): Renamed to __madvise.
8220 Make madvise a weak alias.
8221 * include/sys/mman.h: Declare __madvise.
8222 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8223 * sysdeps/unix/syscalls.list
8224 (madvise): Make __madvise the strong name, and madvise a weak alias.
8225 * sysdeps/unix/sysv/linux/syscalls.list
8226 (madvise, mmap): Remove redundant entries.
8227 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8228 * malloc/malloc.c (mtrim): Likewise.
8229 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8230
f57f8055
RM
82312012-10-03 Roland McGrath <roland@hack.frob.com>
8232
8233 * sysdeps/mach/hurd/dl-cache.c: File removed.
8234 * config.h.in (USE_LDCONFIG): New #undef.
8235 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8236 * configure: Regenerated.
8237 * elf/Makefile (dl-routines): Add dl-cache only under
8238 [$(use-ldconfig) = yes].
8239 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8240 cache on [USE_LDCONFIG].
8241 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8242 [USE_LDCONFIG].
8243 * elf/rtld.c (dl_main): Likewise.
8244
5bb0c10a
PT
82452012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8246
8247 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8248 _SC_LEVEL4_CACHE_LINESIZE.
8249
010188c6
RM
82502012-10-03 Roland McGrath <roland@hack.frob.com>
8251
8252 * sysdeps/unix/bsd/confstr.h: File removed.
8253
b6c5ec07
AO
82542012-10-02 Alexandre Oliva <aoliva@redhat.com>
8255
8256 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8257 sys/sdt-config.h.
8258
408223d4
RM
82592012-10-02 Roland McGrath <roland@hack.frob.com>
8260
8261 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8262 Make 'mapoff' field ElfW(Off) rather than off_t.
8263
bb9510dc
DL
82642012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8265
fc997c6e
DL
8266 * nscd/Makefile: Remove nscd-cflags and all its users.
8267 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8268 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8269
bb9510dc
DL
8270 [BZ #10631]
8271 * malloc.c (malloc_printerr): Clarify error message.
8272
05699367
L
82732012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8274
8275 [BZ #14648]
8276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8277 Set bit_FMA_Usable if FMA is supported.
8278 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8279 macro.
8280 (bit_FMA4_Usable): Updated.
8281 (index_FMA_Usable): New macro.
8282 (CPUID_FMA): Likewise
8283 (HAS_FMA): Defined with bit_FMA_Usable.
8284
51367701
RM
82852012-10-01 Roland McGrath <roland@hack.frob.com>
8286
8287 * bits/types.h (__swblk_t): Type removed.
8288 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8289 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8291 (__SWBLK_T_TYPE): Likewise.
8292 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8293 (__SWBLK_T_TYPE): Likewise.
8294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8295 (__SWBLK_T_TYPE): Likewise.
8296 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8297 (__SWBLK_T_TYPE): Likewise.
8298
4d57bf63 82992012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8300 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8301
8302 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8303 (xdr_mapname): Use YPMAXMAP as maxsize.
8304 (xdr_peername): Use YPMAXPEER as maxsize.
8305 (xdr_keydat): Use YPAXRECORD as maxsize.
8306 (xdr_valdat): Use YPMAXRECORD as maxsize.
8307
93c65d43
RM
83082012-10-01 Roland McGrath <roland@hack.frob.com>
8309
497a03d6
RM
8310 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8311
93c65d43
RM
8312 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8313 * csu/init-first.c: ... here.
8314 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8315 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8316 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8317 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8318 * sysdeps/i386/init-first.c: File removed.
8319 * sysdeps/sh/init-first.c: File removed.
8320
bec749fd
JM
83212012-10-01 Joseph Myers <joseph@codesourcery.com>
8322
8323 [BZ #14645]
8324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8325 if x * y might underflow to zero and z is zero.
8326 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8327 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8328 * math/libm-test.inc (min_subnorm_value): New variable.
8329 (fma_test): Add more tests.
8330 (fma_test_towardzero): Likewise.
8331 (fma_test_downward): Likewise
8332 (fma_test_upward): Likewise.
8333 (initialize): Set min_subnorm_value.
8334
8ec5b013
JM
83352012-09-29 Joseph Myers <joseph@codesourcery.com>
8336
8337 [BZ #14638]
8338 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8339 0 + 0.
8340 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8341 mode for addition resulting in exact zero.
8342 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8343 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8344 exact 0 + 0.
8345 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8346 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8347 * math/libm-test.inc (fma_test): Add more tests.
8348 (fma_test_towardzero): New function.
8349 (fma_test_downward): Likewise.
8350 (fma_test_upward): Likewise.
8351 (main): Call the new functions.
8352
b1fa802e
DM
83532012-09-28 David S. Miller <davem@davemloft.net>
8354
8355 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8356
d3b9fd9e
RM
83572012-09-28 Roland McGrath <roland@hack.frob.com>
8358
ea4d37b3
RM
8359 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8360 instead of SIGALRM.
8361
ac51c949
RM
8362 * sysdeps/gnu/_G_config.h: Moved to ...
8363 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8364 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8365 * sysdeps/generic/_G_config.h: ... here.
8366
28c195f7
RM
8367 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8368
848917f9
RM
8369 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8370
6bacf05b
RM
8371 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8372 Conditionalize target on [libnss_test1.so-version].
8373
91363dbb
RM
8374 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8375
cc87f7d8
RM
8376 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8377 (elfobjdir): Move out of conditionals.
8378
b1c608fe
RM
8379 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8380 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8381 (__nss_lookup_function): Conditionalize label remove_from_tree on
8382 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8383
1d9a6d96
DM
83842012-09-28 David S. Miller <davem@davemloft.net>
8385
8386 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8387 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8388 file.
8389 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8390 sysdep_routines.
8391 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8393 when HWCAP_SPARC_CRYPTO is present.
8394
72581615
PT
83952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8396
8397 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8398
715a900c
JL
83992012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8400
8401 [BZ #6530]
8402 * stdio-common/vfprintf.c (process_string_arg): Revert
8403 2000-07-22 change.
8404
84052011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8406
8407 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8408 for testcase.
8409 * stdio-common/tst-sprintf.c: Include <locale.h>
8410 (main): Test sprintf's handling of incomplete multibyte
8411 characters.
8412
9bac1d86
L
84132012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8414
8415 * elf/dl-runtime.c (VERSYMIDX): Removed.
8416 * elf/dl-version.c (VERSYMIDX): Likewise.
8417 * elf/do-rel.h (VERSYMIDX): Likewise.
8418 (VALIDX): Likewise.
8419 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8420 * elf/rtld.c (VALIDX): Likewise.
8421 (ADDRIDX): Likewise.
9bac1d86
L
8422 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8423 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8424 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8425 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8426 (VALIDX): Likewise.
8427 (ADDRIDX): Likewise.
9bac1d86 8428
b31606c0
PT
84292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8430
8431 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8432
11541177
JL
84332012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8434
8435 [BZ #11438]
8436 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8437 to global scope.
8438 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8439 addresses are in the same scope as 192.0.2/24.
8440 * posix/gai.conf: Document new scope table defaults.
8441
adb26fae
SP
84422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8443
8444 [BZ #5298]
8445 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8446 for ftell. Compute offsets from write pointers instead.
8447 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8448
4573c6b0
SP
84492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8450
8451 [BZ #14543]
8452 * libio/Makefile (tests): New test case tst-fseek.
8453 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8454 combination works in wide mode.
8455 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8456 state when the external buffer state changes.
8457
aa9bbfe6
DM
84582012-09-27 David S. Miller <davem@davemloft.net>
8459
8460 [BZ #14376]
8461 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8462 pass reloc->r_addend in as the 'high' argument to
8463 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8464
784421e7
DM
8465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8466
c39bc8b8
PT
84672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8468
8469 * rt/tst-aio2.c: Include <pthread.h>.
8470 * rt/tst-aio3.c: Likewise.
8471
1ccc2399
SE
84722012-09-27 Steve Ellcey <sellcey@mips.com>
8473
8474 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8475
31ed4153
L
84762012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8477
25f5f885
L
8478 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8479 contents on [SHARED].
31ed4153 8480
b7bfe116
MP
84812012-09-26 Marek Polacek <polacek@redhat.com>
8482
8483 [BZ #14530]
8484 [BZ #13741]
8485 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8486 for C++ and GCC <4.3 as well as for non GCC compilers.
8487
43c4edba
MT
84882012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8489
8490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8491
6a1bf82f
RM
84922012-09-25 Roland McGrath <roland@hack.frob.com>
8493
8494 * Makefile.in (all, install): Declare with .PHONY.
8495 Reported by Michael Hope <michael.hope@linaro.org>.
8496
8ad11b9a
TMQMF
84972012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8498
8499 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8500 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8501 system header.
8502 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8503 Likewise.
8504 (sydep_routines): Add the new and the internal functions.
8505 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8506 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8508 (GLIBC_2.17): Add the new function.
8509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8510 (GLIBC_2.17): Likewise.
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8512 (GLIBC_2.17): Likewise.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8514 (GLIBC_2.17): Likewise.
8515 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8516
7e2fca8d
AM
85172012-09-25 Alan Modra <amodra@gmail.com>
8518
8519 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8520 Add release barrier before setting once_control to say
8521 initialisation is done. Add hints on lwarx. Use macro in
8522 place of isync.
8523 (clear_once_control): Add release barrier.
8524
b87c4b24
JM
85252012-09-25 Joseph Myers <joseph@codesourcery.com>
8526
d032e0d2
JM
8527 [BZ #13629]
8528 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8529 specially.
8530 * math/s_clog10.c (__clog10): Likewise.
8531 * math/s_clog10f.c (__clog10f): Likewise.
8532 * math/s_clog10l.c (__clog10l): Likewise.
8533 * math/s_clogf.c (__clogf): Likewise.
8534 * math/s_clogl.c (__clogl): Likewise.
8535 * math/Makefile (libm-calls): Add x2y2m1.
8536 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8537 (__x2y2m1): Likewise.
8538 (__x2y2m1l): Likewise.
8539 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8540 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8541 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8542 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8543 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8544 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8545 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8546 * sysdeps/i386/fpu/libm-test-ulps: Update.
8547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8548
b87c4b24
JM
8549 [BZ #14621]
8550 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8551 int as type of variable DEPTH.
8552 (glob): Use size_t instead of int as type of variables NEWCOUNT
8553 and OLD_PATHC.
8554
6d3bf199
LD
85552012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8556
22bf5c17
LD
8557 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8558 Add s_sincosf-sse2.
8559 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8560 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8561 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8562 macros for using routine as __sincosf_ia32.
8563 Use macro for function declaration and weak_alias.
8564 * sysdeps/i386/fpu/libm-test-ulps: Update.
8565
8566 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8568
8569 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8570 subnormal argument.
8571 * math/s_cexpf.c (__cexpf): Likewise.
8572 * math/s_csinf.c (__csinf): Likewise.
8573 * math/s_csinhf.c (__csinhf): Likewise.
8574 * math/s_ctanf.c (__ctanf): Likewise.
8575 * math/s_ctanhf.c (__ctanhf): Likewise.
8576 * math/s_ccosh.c (__ccoshf): Likewise.
8577 * math/s_cexp.c (__cexpl): Likewise.
8578 * math/s_csin.c (__csin): Likewise.
8579 * math/s_csinh.c (__csinh): Likewise.
8580 * math/s_ctan.c (__ctan): Likewise.
8581 * math/s_ctanh.c (ctanh): Likewise.
8582 * math/s_ccoshl.c (__ccoshl): Likewise.
8583 * math/s_cexpl.c (__cexpl): Likewise.
8584 * math/s_csinl.c (__csinl): Likewise.
8585 * math/s_csinhl.c (__csinhl): Likewise.
8586 * math/s_ctanl.c (__ctanl): Likewise.
8587 * math/s_ctanhl.c (__ctanhl): Likewise.
8588
203e5603
JM
85892012-09-25 Joseph Myers <joseph@codesourcery.com>
8590
8591 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8592 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8593 (_IO_off_t): Define to __off_t, not _G_off_t.
8594 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8595 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8596 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8597 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8598 type of __dummy and __dummy2 fields.
8599 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8600 (_G_ssize_t): Likewise.
8601 (_G_off_t): Likewise.
8602 (_G_pid_t): Likewise.
8603 (_G_uid_t): Likewise.
8604 (_G_wchar_t): Likewise.
8605 (_G_wint_t): Likewise.
8606 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8607 (_G_ssize_t): Likewise.
8608 (_G_off_t): Likewise.
8609 (_G_pid_t): Likewise.
8610 (_G_uid_t): Likewise.
8611 (_G_wchar_t): Likewise.
8612 (_G_wint_t): Likewise.
8613 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8614 (_G_ssize_t): Likewise.
8615 (_G_off_t): Likewise.
8616 (_G_pid_t): Likewise.
8617 (_G_uid_t): Likewise.
8618 (_G_wchar_t): Likewise.
8619 (_G_wint_t): Likewise.
8620
9fab36eb
SP
86212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8622
8623 * malloc/arena.c: Include malloc-sysdep.h.
8624 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8625 is sufficient to shrink the heap or an unmap is needed.
8626 * sysdeps/generic/malloc-sysdep.h: New file. Define
8627 new function check_may_shrink_heap.
8628 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8629 new function check_may_shrink_heap.
8630
2b4f00d1
SP
86312012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8632
8633 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8634 comments.
8635
9a9028b1
DL
86362012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8637
57c69bef
DL
8638 * catgets/test-gencat.sh: Add "set -e".
8639 * elf/tst-pathopt.sh: Likewise.
8640 * grp/tst_fgetgrent.sh: Likewise.
8641 * iconvdata/run-iconv-test.sh: Likewise.
8642 * intl/tst-gettext.sh: Likewise.
8643 * intl/tst-gettext2.sh: Likewise.
8644 * intl/tst-gettext4.sh: Likewise.
8645 * intl/tst-gettext6.sh: Likewise.
8646 * intl/tst-translit.sh: Likewise.
8647 * io/ftwtest-sh: Likewise.
8648 * libio/test-freopen.sh: Likewise.
8649 * malloc/tst-mtrace.sh: Likewise.
8650 * posix/globtest.sh: Likewise.
8651 * posix/tst-getconf.sh: Likewise.
8652 * posix/wordexp-tst.sh: Likewise.
8653 * stdio-common/tst-printf.sh: Likewise.
8654 * stdio-common/tst-unbputc.sh: Likewise.
8655 * stdlib/tst-fmtmsg.sh: Likewise.
8656 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8657 * catgets/Makefile: Do not specify -e option when running
8658 testsuite shell scripts.
8659 * elf/Makefile: Likewise.
8660 * grp/Makefile: Likewise.
8661 * iconvdata/Makefile: Likewise.
8662 * intl/Makefile: Likewise.
8663 * io/Makefile: Likewise.
8664 * libio/Makefile: Likewise.
8665 * malloc/Makefile: Likewise.
8666 * posix/Makefile: Likewise.
8667 * stdio-common/Makefile: Likewise.
8668 * stdlib/Makefile: Likewise.
8669 * sysdeps/x86_64/Makefile: Likewise.
8670
9a9028b1
DL
8671 * io/ftwtest-sh: Add copyright header.
8672 * posix/globtest.sh: Likewise.
8673 * posix/tst-getconf.sh: Likewise.
8674 * posix/wordexp-tst.sh: Likewise.
8675 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8676
ced6f16e
L
86772012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8678
94b32c39
L
8679 [BZ #13679]
8680 * Makeconfig (+link): Defined as $(+link-static) if
8681 $(build-shared) isn't yes.
8682 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8683 isn't yes.
8684 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8685
189e935b
L
8686 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8687
ced6f16e
L
8688 [BZ #14562]
8689 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8690 new chunk size with MALLOC_ALIGN_MASK.
8691
a9f8e53a
JM
86922012-09-24 Joseph Myers <joseph@codesourcery.com>
8693
8694 [BZ #5044]
8695 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8696 <rounding-mode.h>.
8697 (__printf_fphex): Determine rounding using get_rounding_mode and
8698 round_away.
8699 * stdio-common/tst-printf-round.c (struct hex_test): New
8700 structure.
8701 (hex_tests): New variable.
8702 (test_hex_in_one_mode): New function.
8703 (do_test): Also run tests for hex float output.
8704
43153109
JM
87052012-09-21 Joseph Myers <joseph@codesourcery.com>
8706
8707 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8708 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8709 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8710 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8711 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8712 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8713 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8714 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8715
8a26625d
JM
87162012-09-20 Joseph Myers <joseph@codesourcery.com>
8717
8718 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8719 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8720 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8721 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8722
f3fd569c
DL
87232012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8724
8725 [BZ #14579]
8726 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8727 mode only.
8728 * elf/tst-rtld-load-self.sh: New test.
8729 * elf/Makefile: Run it.
8730
63bbedd4
JM
87312012-09-18 Joseph Myers <joseph@codesourcery.com>
8732
8733 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8734 (tst-writev-ENV): Remove.
8735 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8736
626f8b6a
CM
87372012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8738
8739 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8740
b7aaa4d6
JM
87412012-09-17 Joseph Myers <joseph@codesourcery.com>
8742
8743 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8744 unconditional.
8745 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8746 Likewise.
8747 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8748 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8749 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8750 Likewise.
8751
65513990
L
87522012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8753
8754 [BZ #14587]
8755 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8756 * config.make.in (have-cpp-asm-debuginfo): Removed.
8757 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8758 * configure: Regenerated.
8759
784761be
JM
87602012-09-14 Joseph Myers <joseph@codesourcery.com>
8761
8762 [BZ #5044]
8763 * stdio-common/printf_fp.c: Include <stdbool.h> and
8764 <rounding-mode.h>.
8765 (___printf_fp): Determine rounding using get_rounding_mode and
8766 round_away.
8767 * stdio-common/tst-printf-round.c: New file.
8768 * stdio-common/Makefile (tests): Add tst-printf-round.
8769 (link-libm): New variable.
8770 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8771
9503345f
L
87722012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8773
8774 [BZ #14576]
8775 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8776 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8777 Likewise.
8778 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8779 Likewise.
8780
ad35fc00
JM
87812012-09-13 Joseph Myers <joseph@codesourcery.com>
8782
8783 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8784 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8785 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8786 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8787
6c9b0f68
JM
87882012-09-12 Joseph Myers <joseph@codesourcery.com>
8789
8790 [BZ #14518]
8791 * include/rounding-mode.h: New file.
8792 * sysdeps/generic/get-rounding-mode.h: Likewise.
8793 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8794 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8795 (MAX_VALUE): New macro.
8796 (MIN_VALUE): Likewise.
8797 (overflow_value): New function.
8798 (underflow_value): Likewise.
8799 (round_and_return): Use overflow_value and underflow_value to
8800 determine return values in overflow and underflow cases. Use
8801 round_away to determine rounding depending on rounding mode.
8802 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8803 determine return values in overflow and underflow cases.
8804 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8805 (struct test_results): New structure.
8806 (struct test): Use struct test_results to store expected results
8807 for all rounding modes.
8808 (TEST): Include expected results for all rounding modes.
8809 (test_in_one_mode): New function.
8810 (do_test): Use test_in_one_mode to compute and check results.
8811 Check results for all rounding modes.
8812 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8813 $(link-libm).
8814
19fcedd5
AM
88152012-12-09 Allan McRae <allan@archlinux.org>
8816
1e9d84cd 8817 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8818
8bbfd2f1
JM
88192012-09-11 Joseph Myers <joseph@codesourcery.com>
8820
8821 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8822 (_G_int32_t): Likewise.
8823 (_G_uint16_t): Likewise.
8824 (_G_uint32_t): Likewise.
8825 (_G_HAVE_BOOL): Likewise.
8826 (_G_HAVE_ATEXIT): Likewise.
8827 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8828 (_G_HAVE_IO_FILE_OPEN): Likewise.
8829 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8830 (_G_int32_t): Likewise.
8831 (_G_uint16_t): Likewise.
8832 (_G_uint32_t): Likewise.
8833 (_G_HAVE_BOOL): Likewise.
8834 (_G_HAVE_ATEXIT): Likewise.
8835 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8836 (_G_HAVE_IO_FILE_OPEN): Likewise.
8837 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8838 (_G_int32_t): Likewise.
8839 (_G_uint16_t): Likewise.
8840 (_G_uint32_t): Likewise.
8841 (_G_HAVE_BOOL): Likewise.
8842 (_G_HAVE_ATEXIT): Likewise.
8843 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8844 (_G_HAVE_IO_FILE_OPEN): Likewise.
8845
b1dc5912
L
88462012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8847
8848 * csu/libc-tls.c: Update copyright years.
8849
0e886ef9
JM
88502012-09-10 Joseph Myers <joseph@codesourcery.com>
8851
28361c5e
JM
8852 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8853 [!_G_USING_THUNKS]: Remove conditional code.
8854 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8855 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8856
0e886ef9
JM
8857 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8858 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8859 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8860 (_G_VTABLE_LABEL_PREFIX): Likewise.
8861 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8862 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8863 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8864 (_G_VTABLE_LABEL_PREFIX): Likewise.
8865 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8866 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8867 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8868 (_G_VTABLE_LABEL_PREFIX): Likewise.
8869 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8870
bcba7aa2
L
88712012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8872
8873 * libio/Makefile: Include ../Makeconfig before tests.
8874 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8875 only if $(build-shared) is yes.
8876
06585ee8
L
8877 * iconv/gconv_db.c: Update copyright years.
8878
80ccd52c
LD
88792012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8880
8881 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8882 unwind info if defined PIC. Fix special cases description.
8883 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8884
8885 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8886 DP_HI_MASK entry.
8887 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8888
691bc9c1
L
88892012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8890
3d9b46b3
L
8891 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8892
de2139a9
L
8893 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8894 is NULL.
8895
5ca78dd0
L
8896 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8897 (LDLIBS-tst-chk4): This.
8898 (LDFLAGS-tst-chk5): Renamed to ...
8899 (LDLIBS-tst-chk5): This.
8900 (LDFLAGS-tst-chk6): Renamed to ...
8901 (LDLIBS-tst-chk6): This.
8902 (LDFLAGS-tst-lfschk4): Renamed to ...
8903 (LDLIBS-tst-lfschk4): This.
8904 (LDFLAGS-tst-lfschk5): Renamed to ...
8905 (LDLIBS-tst-lfschk5): This.
8906 (LDFLAGS-tst-lfschk6): Renamed to ...
8907 (LDLIBS-tst-lfschk6): This.
8908
691bc9c1
L
8909 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8910 on $(common-objpfx)soversions.mk.
8911
65cafb1c
JM
89122012-09-07 Joseph Myers <joseph@codesourcery.com>
8913
8914 [BZ #10014]
8915 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8916 example host name.
8917
c78ab094
SP
89182012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8919
8920 * malloc/arena.c (arena_get_retry): New function that gets
8921 another arena for the caller to try its request on.
8922 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8923 current arena cannot fulfill the request.
8924 (__libc_memalign): Likewise.
8925 (__libc_memalign): Likewise.
8926 (__libc_pvalloc): Likewise.
8927 (__libc_calloc): Likewise.
8928
01f49f59
JT
89292012-09-05 John Tobey <john.tobey@gmail.com>
8930
8931 [BZ #13542]
8932 * manual/arith.texi (Operations on Complex): Fix description
8933 of carg branch cut.
8934
4c23fed5
JM
89352012-09-06 Joseph Myers <joseph@codesourcery.com>
8936
1d3c8572
JM
8937 [BZ #10014]
8938 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8939 host name.
8940
4c23fed5
JM
8941 [BZ #10038]
8942 * manual/memory.texi (Memory): Make order of menu items match
8943 order of sections.
8944
04570aaa
L
89452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8946
8947 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8948 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8949 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8950
b80af2f4
L
89512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8952
8953 * csu/libc-tls.c (static_dtv): Renamed to ...
8954 (_dl_static_dtv): This. Make it global.
8955 (_dl_initial_dtv): Removed.
8956 (__libc_setup_tls): Updated.
8957 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8958 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8959 DL_INITIAL_DTV.
8960
2abe9f15
PM
89612012-09-06 Petr Machata <pmachata@redhat.com>
8962
8963 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8964 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8965 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8966 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8967
0948c3af
L
89682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8969
8970 [BZ #14545]
8971 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8972 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8973 freeing dtv[-1].
8974
a5055ad1
L
89752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8976
8977 [BZ #14544]
8978 * Makeconfig (link-static-before-libc): Replace $(+prector)
8979 with $(+prectorT).
8980 (link-static-after-libc): Replace $(+postctor) with
8981 $(+postctorT).
8982 (link-bounded): Replace $(+prector)/$(+postctor) with
8983 $(+prectorT)/$(+postctorT).
8984 (+prectorT): New macro.
8985 (+postctorT): Likewise.
8986
ed8c2ecd
JM
89872012-09-06 Joseph Myers <joseph@codesourcery.com>
8988
8989 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8990 (round_str): Handle values above the maximum for IBM long double
8991 as inexact.
8992 * stdlib/tst-strtod-round.c (tests): Regenerated.
8993
14c996c8
AK
89942012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8995
8996 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8997 assembler flag.
8998 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8999 zarch_nohighgprs around the zarch optimized routines.
9000 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9001 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9002 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9003 for zarch.
9004
430d6ce6
DM
90052012-09-05 David S. Miller <davem@davemloft.net>
9006
9007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9008
ff04dda4
DM
9009 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9010 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9011 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9012 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9013 entries.
9014
24d4e01b
AO
90152012-09-05 Alexandre Oliva <aoliva@redhat.com>
9016
9017 * malloc/arena.c: Fold copyright years.
9018 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9019
61d58174
AO
90202012-09-05 Alexandre Oliva <aoliva@redhat.com>
9021
9022 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9023
20196a5e
AO
90242012-09-05 Alexandre Oliva <aoliva@redhat.com>
9025
9026 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9027
5c447383
AO
90282012-09-05 Alexandre Oliva <aoliva@redhat.com>
9029
9030 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9031 change internal state upon failure.
9032
fad64255
AO
90332012-09-05 Alexandre Oliva <aoliva@redhat.com>
9034
9035 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9036 * malloc/memusage.c (mmap): Likewise.
9037 (mmap64, mremap): Likewise. Adjust name in comment.
9038
1ffb8c90
SP
90392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9040
9041 * libio/fileops.c: Fix typos in comments.
9042 * libio/oldfileops.c: Likewise.
9043 * libio/wfileops.c: Likewise.
9044
6ef9cc37
SP
90452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9046
9047 [BZ #1349]
9048 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9049 (tst-malloc-usable-ENV): Set environment for test case.
9050 * malloc/hooks.c (malloc_check_get_size): New function to get
9051 requested size.
9052 * malloc/malloc.c (musable): Use malloc_check_get_size.
9053 * malloc/tst-malloc-usable.c: New test case.
9054
4d038ae3
AS
90552012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9056
9057 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9058
c4e85184
AM
90592012-09-05 Allan McRae <allan@archlinux.org>
9060
b9dafc56 9061 [BZ #13966]
c4e85184
AM
9062 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9063 determine header location.
9064 * configure: Regenerated.
9065
e1343020
AS
90662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9067
9068 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9069 float format.
9070 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9071 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9072 format.
e1343020
AS
9073 (test): Regenerate.
9074
0a9f1987
DM
90752012-09-04 David S. Miller <davem@davemloft.net>
9076
9077 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9078 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9079 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9080
29237804
FW
90812012-09-04 Florian Weimer <fweimer@redhat.com>
9082
9083 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9084 failures.
9085
edb3cb88
FW
9086 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9087
60160d83
JM
90882012-09-04 Joseph Myers <joseph@codesourcery.com>
9089
9090 [BZ #9914]
9091 * libio/iogetdelim.c: Include <limits.h>.
9092 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9093 + len + 1 would overflow.
9094
bcd6c8dc
AJ
90952012-09-03 Andreas Jaeger <aj@suse.de>
9096
9097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9098 * sysdeps/i386/fpu/libm-test-ulps: Update.
9099
4ffffbd2
LD
91002012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9101
9102 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9103 Add s_sinf-sse2, s_conf-sse2.
9104
9105 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9106 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9107 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9108 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9109
9110 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9111 for using routine as __sinf_ia32.
9112 Use macro for function declaration and weak_alias.
9113 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9114 for using routine as __cosf_ia32.
9115 Use macro for function declaration and weak_alias.
9116
9117 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9118 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9119
9120 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9121 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9123
9124 * math/libm-test.inc (cos_test): Add more test cases.
9125 (sin_test): Likewise.
9126 (sincos_test): Likewise.
9127
511fa286
AK
91282012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9129
9130 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9131 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9132 hidden.
9133 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9134
5f30cfec
L
91352012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9136
9137 [BZ #14538]
9138 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9139 first element of the GOT.
9140 (elf_machine_load_address): Return the difference between
9141 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9142
0786794f
AM
91432012-09-01 Allan McRae <allan@archlinux.org>
9144
5f30cfec
L
9145 [BZ #13412]
9146 * configure.in (AWK): Require gawk version 3.0 or later.
9147 * configure: Regenerated.
0786794f 9148
26889eac
JM
91492012-09-01 Joseph Myers <joseph@codesourcery.com>
9150
9151 * sysdeps/unix/sysv/linux/kernel-features.h
9152 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9153 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9154 [__NR_clock_getres]: Make code unconditional.
9155 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9156 (clock_getcpuclockid): Remove code left unreachable by removal of
9157 conditionals.
9158 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9159 code unconditional.
9160 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9161 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9162 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9163 Make code unconditional.
9164 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9165 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9166 * sysdeps/unix/sysv/linux/clock_settime.c
9167 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9168 conditional code.
9169 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9170 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9171
d22e28b0
L
91722012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9173
9174 [BZ #14476]
9175 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9176 scripts/test-installation.pl.
9177
9178 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9179 and $ld_so_version if it is set.
9180
050af9c4
SP
91812012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9182
9183 [BZ #14516]
9184 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9185 failure if reading from procfs failed.
9186 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9187
ad845c0b
JM
91882012-08-27 Joseph Myers <joseph@codesourcery.com>
9189
9190 * sysdeps/unix/sysv/linux/kernel-features.h
9191 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9192 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9193 Remove conditional code.
9194 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9195 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9196 Remove conditional code.
9197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9198 * sysdeps/unix/sysv/linux/i386/fxstat.c
9199 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9200 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9201 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9202 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9203 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9204 * sysdeps/unix/sysv/linux/i386/lxstat.c
9205 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9206 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9207 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9208 Remove conditional code.
9209 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9210 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9211 Remove conditional code.
9212 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9213 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9214 <kernel-features.h>.
9215 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9216 Remove.
9217 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9218 Remove conditional code.
9219 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9220 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9221 Remove conditional.
9222
5dbf56af
MF
92232012-08-27 Mike Frysinger <vapier@gentoo.org>
9224
9225 [BZ #5400]
9226 * NEWS: Add fixed bug number.
9227
d6e70f43
JM
92282012-08-27 Joseph Myers <joseph@codesourcery.com>
9229
7efb4737
JM
9230 [BZ #14519]
9231 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9232 underflowing exponent in case of negative sign.
9233 * stdlib/tst-strtod-round-data: Add more tests.
9234 * stdlib/tst-strtod-round.c (tests): Regenerated.
9235
af92131a
JM
9236 [BZ #3479]
9237 * stdlib/strtod_l.c (NDIG): Remove.
9238 (HEXNDIG): Likewise.
9239 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9240 smallest representable value.
9241 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9242 lie within an exact representation of 1/2 ulp of the result.
9243 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9244 unconditionally.
9245 (TENS_P9_IDX): Define unconditionally.
9246 (TENS_P9_SIZE): Likewise.
9247 (TENS_P10_IDX): Likewise.
9248 (TENS_P10_SIZE): Likewise.
9249 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9250 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9251 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9252 entries for 10^2^13 and 10^2^14.
9253 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9254 (TENS_P13_IDX): Define.
9255 (TENS_P13_SIZE): Likewise.
9256 (TENS_P14_IDX): Likewise.
9257 (TENS_P14_SIZE): Likewise.
9258 (_fpioconst_pow10): Change array size to
9259 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9260 unconditional.
9261 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9262 1024]: Add entries for 10^2^13 and 10^2^14.
9263 [LAST_POW10 > _LAST_POW10]: Remove #error.
9264 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9265 (_fpioconst_pow10): Change array size to
9266 FPIOCONST_POW10_ARRAY_SIZE.
9267 * stdlib/gen-fpioconst.c: New file.
9268 * stdlib/gen-tst-strtod-round.c: Likewise.
9269 * stdlib/tst-strtod-round-data: Likewise.
9270 * stdlib/tst-strtod-round.c: Likewise.
9271 * stdlib/Makefile (tests): Add tst-strtod-round.
9272
d6e70f43
JM
9273 [BZ #14459]
9274 * stdlib/strtod_l.c: Include <stdint.h>.
9275 (NDEBUG): Do not define.
9276 (round_and_return): Change EXPONENT parameter to type intmax_t.
9277 Rearrange calculations to avoid internal overflow possibilities.
9278 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9279 Rearrange calculations to avoid internal overflow possibilities.
9280 Assert that number fits inside MPNSIZE limbs.
9281 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9282 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9283 calculations and add assertions to avoid internal overflow
9284 possibilities. Add casts to avoid signed/unsigned operations.
9285 * stdlib/tst-strtod-overflow.c: New file.
9286 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9287
1f529f7d
MP
92882012-08-25 Marek Polacek <polacek@redhat.com>
9289
9290 * time/time.h: Fix some typos in comments.
9291
59a629f1
RM
92922012-08-23 Roland McGrath <roland@hack.frob.com>
9293
9294 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9295 * posix/tst-rfc3484-2.c: Likewise.
9296 * posix/tst-rfc3484-3.c: Likewise.
9297
d3bafbc9
SM
92982012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9299
9300 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9301 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9302
4efcc022
JM
93032012-08-23 Joseph Myers <joseph@codesourcery.com>
9304
9305 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9306 #include of fxstatat64.c.
9307
3cc3ef96
RM
93082012-08-22 Roland McGrath <roland@hack.frob.com>
9309
f04e2132
RM
9310 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9311 * shadow/getspent_r.c: Likewise.
9312 * shadow/getspnam.c: Likewise.
9313 * shadow/getspnam_r.c: Likewise.
9314 * gshadow/getsgent.c: Likewise.
9315 * gshadow/getsgent_r.c: Likewise.
9316 * gshadow/getsgnam.c: Likewise.
9317 * gshadow/getsgnam_r.c: Likewise.
9318 * inet/getnetbyad.c: Likewise.
9319 * inet/getnetbyad_r.c: Likewise.
9320 * inet/getnetbynm.c: Likewise.
9321 * inet/getnetbynm_r.c: Likewise.
9322 * inet/getnetent.c: Likewise.
9323 * inet/getnetent_r.c: Likewise.
9324 * inet/getproto.c: Likewise.
9325 * inet/getproto_r.c: Likewise.
9326 * inet/getprtent.c: Likewise.
9327 * inet/getprtent_r.c: Likewise.
9328 * inet/getprtname.c: Likewise.
9329 * inet/getprtname_r.c: Likewise.
9330 * inet/getrpcbyname.c: Likewise.
9331 * inet/getrpcbyname_r.c: Likewise.
9332 * inet/getrpcbynumber.c: Likewise.
9333 * inet/getrpcbynumber_r.c: Likewise.
9334 * inet/getrpcent.c: Likewise.
9335 * inet/getrpcent_r.c: Likewise.
9336 * inet/getaliasent.c: Likewise.
9337 * inet/getaliasent_r.c: Likewise.
9338 * inet/getaliasname.c: Likewise.
9339 * inet/getaliasname_r.c: Likewise.
9340 * nscd/getgrgid_r.c: Likewise.
9341 * nscd/getgrnam_r.c: Likewise.
9342 * nscd/gethstbyad_r.c: Likewise.
9343 * nscd/gethstbynm3_r.c: Likewise.
9344 * nscd/getpwnam_r.c: Likewise.
9345 * nscd/getpwuid_r.c: Likewise.
9346 * nscd/getsrvbynm_r.c: Likewise.
9347 * nscd/getsrvbypt_r.c: Likewise.
9348 * nscd/gai.c: Likewise.
9349
c53d909c
RM
9350 * configure.in (build_nscd): New substituted variable, set
9351 by --disable-build-nscd and defaults to $use_nscd.
9352 * configure: Regenerated.
9353 * config.make.in (build-nscd): New substituted variable.
9354 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9355 Change conditional to require [$(build-nscd) = yes] as well.
9356 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9357
3cc3ef96
RM
9358 [BZ# 13696]
9359 * configure.in (use_nscd): New substituted variable, set by
9360 --disable-nscd. If enabled, define USE_NSCD.
9361 * configure: Regenerated.
9362 * config.h.in: Add USE_NSCD.
9363 * config.make.in (use-nscd): New substituted variable.
9364 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9365 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9366 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9367 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9368 (CFLAGS-getgrnam_r.c): Likewise.
9369 (CFLAGS-initgroups.c): Likewise.
9370 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9371 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9372 Variables removed.
9373 * inet/getnetgrent_r.c
9374 (nscd_setnetgrent): New function, broken out of ...
9375 (setnetgrent): ... here. Call it.
9376 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9377 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9378 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9379 * nscd/Makefile (routines, aux): Move definitions after include of
9380 Makeconfig. Conditionalize on [$(use-nscd) != no].
9381 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9382 Conditionalize on [USE_NSCD].
9383 (is_nscd, nscd_init_cb): Likewise.
9384 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9385 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9386 * nss/nss_db/db-init.c: Likewise.
9387 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9388 [USE_NSCD].
9389 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9390 (make_request): Use it.
9391 (cache_valid_p): New function.
9392 (__check_pf): Use it.
9393 * NEWS: Add item for --disable-nscd.
9394
07e51550
DL
93952012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9396
9397 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9398 to support sed >= 4.2.1-20-ga9bf076.
9399 * configure: Regenerated.
9400
35a5b08b
RM
94012012-08-22 Roland McGrath <roland@hack.frob.com>
9402
9403 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9404 Conditionalize whole body on [IREL].
9405
8479f23a
JL
94062012-08-22 Jeff Law <law@redhat.com>
9407
9408 [BZ #14505]
9409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9410 if the family is PF_UNSPEC.
9411
48da0b21
MF
94122012-08-22 Mike Frysinger <vapier@gentoo.org>
9413
9414 * Makerules (lib-version): Rename from V.
9415 (install-lib-nosubdir): Change V to lib-version.
9416
15d0da8c
WS
94172012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9418
9419 [BZ #14252]
9420 * powerpc32/power6/wcschr.c: New file.
9421 * powerpc32/power6/wcscpy.c: New file.
9422 * powerpc32/power6/wcsrchr.c: New file.
9423 * powerpc64/power6/wcschr.c: New file.
9424 * powerpc64/power6/wcscpy.c: New file.
9425 * powerpc64/power6/wcsrchr.c: New file.
9426
bcca0895
MK
94272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9428
9429 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9430 (two_way_short_needle): Use it.
5a4aaa33
RM
9431 * string/strstr.c (AVAILABLE1_USES_J): Define.
9432 * string/strcasestr.c: Likewise.
99677e57
MK
9433
9434 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9435 array references.
9436 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9437
400726de
MK
9438 [BZ #11607]
9439 * NEWS: Add an entry.
9440 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9441 define their defaults.
9442 (two_way_short_needle): Detect end-of-string on-the-fly.
9443 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9444 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9445 * string/bug-strcasestr1.c: New test.
9446 * string/Makefile: Run it.
9447
20a71f2c
MK
94482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9449
9450 [BZ #11607]
9451 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9452 the first character.
9453
21ad0558
RM
94542012-08-21 Roland McGrath <roland@hack.frob.com>
9455
9456 * csu/elf-init.c (__libc_csu_irel): Function removed.
9457 * csu/libc-start.c (apply_irel): New function.
9458 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9459
0e1d9911
JM
94602012-08-21 Joseph Myers <joseph@codesourcery.com>
9461
9462 * sysdeps/unix/sysv/linux/kernel-features.h
9463 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9464 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9465 <kernel-features.h>.
9466 [__NR_fadvise64_64]: Make code unconditional.
9467 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9468 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9469 !__NR_fadvise64_64)]: Likewise.
9470 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9471 !__NR_fadvise64_64))]: Likewise.
9472 [__NR_fadvise64]: Make code unconditional.
9473 [!__NR_fadvise64]: Remove conditional code.
9474 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9475 <kernel-features.h>.
9476 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9477 unconditional.
9478 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9479 conditional code.
9480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9481 not include <kernel-features.h>.
9482 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9483 unconditional.
9484 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9485 conditional code.
9486 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9487 include <kernel-features.h>.
9488 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9489 unconditional.
9490 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9491 conditional code.
9492
14a50c9d
WS
94932012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9494
9495 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9496 slight instruction rearrangements per scrollpipe analysis.
9497 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9498
c0f4faf0
RM
94992012-08-20 Roland McGrath <roland@hack.frob.com>
9500
696da859
RM
9501 * manual/syslog.texi (syslog; vsyslog, closelog):
9502 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9503 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9504
c0f4faf0
RM
9505 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9506 DSOCAPS to match condition on defining it.
9507
348363b2
JM
95082012-08-20 Joseph Myers <joseph@codesourcery.com>
9509
a35cbf28
JM
9510 * sysdeps/unix/sysv/linux/kernel-features.h
9511 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9513 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9514 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9516 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9517 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9519 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9520 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9521
445f7ecd
JM
9522 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9523 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9524
348363b2
JM
9525 * sysdeps/unix/sysv/linux/kernel-features.h
9526 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9527 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9528 unconditional.
9529 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9530 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9531 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9532 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9533 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9534 Make code unconditional.
9535 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9536 (__mmap64) [!__NR_mmap2]: Likewise.
9537 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9538 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9539 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9540 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9541 [__NR_mmap2]: Make code unconditional.
9542 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9543 (__mmap64) [!__NR_mmap2]: Likewise.
9544
bc5bc0e5
AK
95452012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9546
9547 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9548
88d506de
AJ
95492012-08-18 Andreas Jaeger <aj@suse.de>
9550
9551 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9552
493387d2
MF
95532012-08-18 Mike Frysinger <vapier@gentoo.org>
9554
9555 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9556 * include/unistd.h (__have_sock_cloexec): Likewise.
9557 (__have_pipe2): Likewise.
9558 (__have_dup3): Likewise.
9559
a277af22
MF
95602012-08-18 Mike Frysinger <vapier@gentoo.org>
9561
9562 [BZ #9685]
9563 * include/unistd.h (__have_pipe2): Change define into an extern int.
9564 (__have_dup3): Likewise.
9565 * socket/have_sock_cloexec.c: Include fcntl.h.
9566 (__have_pipe2): New variable.
9567 (__have_dup3): Likewise.
9568
fdab8fd3
MF
95692012-08-17 Mike Frysinger <vapier@gentoo.org>
9570
9571 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9572
31035e80
MP
95732012-08-17 Marek Polacek <polacek@redhat.com>
9574
9575 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9576 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9577
3bd9e993
RM
95782012-08-17 Roland McGrath <roland@hack.frob.com>
9579
c91c505f
RM
9580 * configure.in: Add AC_SUBST for sysheaders.
9581 * configure: Regenerated.
9582 * config.make.in (sysheaders): New substituted variable.
9583
7c6f9d53
RM
9584 * sysdeps/unix/mkfifo.c: Moved ...
9585 * sysdeps/posix/mkfifo.c: ... here.
9586 * sysdeps/unix/mkfifoat.c: Moved ...
9587 * sysdeps/posix/mkfifoat.c: ... here.
9588
9589 * sysdeps/unix/utime.c: Moved ...
9590 * sysdeps/posix/utime.c: ... here.
9591
9592 * sysdeps/unix/time.c: Moved ...
9593 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9594 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9595 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9596
9597 * sysdeps/unix/nice.c: Moved ...
9598 * sysdeps/posix/nice.c: ... here.
9599
9600 * sysdeps/unix/alarm.c: Moved ...
9601 * sysdeps/posix/alarm.c: ... here.
9602
3bd9e993
RM
9603 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9604
d1f09384
JL
96052012-08-17 Jeff Law <law@redhat.com>
9606
9607 * intl/Makefile (codeset_mo): New variable.
9608 ($(codeset_mo)): New target.
9609 (tst-codeset.out): Depend on that. Remove explicit rule.
9610 (tst-gettext3.out, tst-gettext5.out): Likewise.
9611 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9612 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9613 * intl/tst-codeset.sh: Remove.
9614 * intl/tst-gettext3.sh: Likewise.
9615 * intl/tst-gettext5.sh: Likewise.
9616
2ae1ae5c
RM
96172012-08-17 Roland McGrath <roland@hack.frob.com>
9618
c31fdb83
RM
9619 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9620 * sysdeps/unix/syscalls.list: ... here.
9621
a0844057
RM
9622 * sysdeps/posix/getaddrinfo.c
9623 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9624 (gaiconf_init, gaiconf_reload): Use them.
9625 [!_STATBUF_ST_NSEC]
9626 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9627 Define using time_t rather than struct timespec.
9628
750c1f2a
RM
9629 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9630 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9631 Macros removed.
9632 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9633 [!NO_THREADS].
9634 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9635 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9636 Likewise.
9637
2ae1ae5c
RM
9638 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9639 __libc_cleanup_push argument.
9640
e66a42f5
RM
9641 * bits/param.h: New file.
9642 * misc/sys/param.h: New file.
9643 * include/sys/param.h: New file.
9644 * misc/Makefile (headers): Add bits/param.h.
9645 * sysdeps/generic/sys/param.h: File removed.
9646 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9647 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9648 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9649 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9650
b7c08a66
RM
9651 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9652 last change.
9653
b2e1c562
RM
9654 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9655 [_IO_MTSAFE_IO].
9656 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9657 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9658 New macros.
9659
c75ccd4c
RM
9660 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9661 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9662 rather than -D_IO_MTSAFE_IO conditionally.
9663 * stdio-common/Makefile (CPPFLAGS): Likewise.
9664 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9665 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9666 Use $(libio-mtsafe).
9667 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9668 of -D_IO_MTSAFE_IO.
9669 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9670 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9671 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9672 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9673 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9674 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9675 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9676 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9677 (CFLAGS-fread_u_chk.c): Likewise.
9678 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9679 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9680 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9681 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9682 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9683 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9684 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9685 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9686 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9687
9688 * libio/Makefile: Test [$(libc-reentrant) = yes]
9689 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9690
9691 * Makeconfig
9692 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9693 * sysdeps/pthread/configure: File removed.
9694 * sysdeps/pthread/Makeconfig: New file.
9695 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9696 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9697
d9195db8
GB
96982012-08-16 Gary Benson <gbenson@redhat.com>
9699
9700 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9701 unmapping the first object in a namespace.
9702
86466cd9
RM
97032012-08-16 Roland McGrath <roland@hack.frob.com>
9704
9705 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9706 (__internal_setnetgrent): ... this. Add internal_function to
9707 definition. Add libc_hidden_def.
9708 (setnetgrent): Update caller.
9709 (internal_endnetgrent): Renamed to ...
9710 (__internal_endnetgrent): ... this. Add internal_function to
9711 definition. Add libc_hidden_def.
9712 (endnetgrent): Update caller.
9713 (internal_getnetgrent_r): Renamed to ...
9714 (__internal_getnetgrent_r): ... this. Add internal_function to
9715 definition. Add libc_hidden_def.
9716 (__getnetgrent_r): Update caller.
9717 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9718
c3c8283c
JM
97192012-08-16 Joseph Myers <joseph@codesourcery.com>
9720
9721 * stdlib/longlong.h: Update from GCC.
9722
db1ee0a8
RM
97232012-08-16 Roland McGrath <roland@hack.frob.com>
9724
9725 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9726 on _QL, which is set by umul_ppmm but never used.
9727 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9728 variables, which are set by GMP macros but never used.
9729 * stdio-common/_itowa.c (_itowa): Likewise.
9730 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9731 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9732
30f69637
CD
97332012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9734
9735 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9736 struct La_sh_regs is not constant.
9737 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9738 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9739 and struct La_sparc64_regs are not constant.
9740
93a78ac4
JM
97412012-08-16 Joseph Myers <joseph@codesourcery.com>
9742
9743 * sysdeps/unix/sysv/linux/kernel-features.h
9744 (__ASSUME_POSIX_TIMERS): Remove.
9745 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9746 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9747 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9748 Make code unconditional.
9749 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9750 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9751 Make code unconditional.
9752 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9753 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9754 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9755 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9756 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9757 Make code unconditional.
9758 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9759 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9760 (__libc_missing_posix_timers): Remove.
9761
dd924cd7
RM
97622012-08-15 Roland McGrath <roland@hack.frob.com>
9763
4b4f2771
RM
9764 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9765 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9766
601c888b
RM
9767 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9768
176790a7
RM
9769 * elf/dl-sym.c: Include <stdlib.h>.
9770
329bc018
RM
9771 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9772 constants, which avoids warnings in 32-bit builds.
9773
e04e272d
RM
9774 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9775 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9776
952bf94a
RM
9777 * misc/lseek.c: File moved to ...
9778 * io/lseek.c: ... here.
9779
7c99b50a
RM
9780 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9781
dd924cd7
RM
9782 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9783 shifting LEN more than 31 bits at once.
9784
b3f479a8
LD
97852012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9786
9787 [BZ #14195]
8c4ae0d4
RM
9788 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9789 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9790 * string/test-strncasecmp.c (check1): Renamed to...
9791 (bz12205): ...this.
9792 (bz14195): Add new testcase for two empty input strings and N > 0.
9793 (test_main): Call new testcase, adapt for renamed function.
9794
9c55864e
AJ
97952012-08-15 Andreas Jaeger <aj@suse.de>
9796
9797 [BZ #14090]
9798 * crypt/md5test2.c: New test, based on test supplied by Serge
9799 Belyshev <belyshev@depni.sinp.msu.ru>.
9800 * crypt/Makefile (xtests): Add md5test-giant..
9801 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9802
02dcb6c5
PE
98032012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9804
9805 [BZ #14090]
9806 * crypt/md5.c (md5_process_block): Don't assume the buffer
9807 length is less than 2**32.
9808 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9809 length is less than 2**64.
9810
a3f95dcc
RM
98112012-08-15 Roland McGrath <roland@hack.frob.com>
9812
be75d758
RM
9813 * string/str-two-way.h: Include <sys/param.h>.
9814 (MAX): Macro removed.
9815
7312ca90
RM
9816 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9817 Move #define and #undef of memmove to just before and after
9818 including <string.h>.
9819
9a0a5486
RM
9820 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9821 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9822 and after including <string.h>. Move declarations of
9823 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9824 to before #include "string/memmove.c".
9825
67cc348d
RM
9826 * include/dirent.h: Declare __getdirentries.
9827
a3f95dcc
RM
9828 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9829 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9830
ca98e171
MF
98312012-08-14 Mike Frysinger <vapier@gentoo.org>
9832
9833 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9834 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9835 * sysdeps/i386/configure: Regenerated.
9836 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9837 STABS_CURRENT_FILE, and STABS_FUN.
9838 (END): Remove call to STABS_FUN_END.
9839 (STABS_CURRENT_FILE1): Delete.
9840 (STABS_CURRENT_FILE): Likewise.
9841 (STABS_FUN): Likewise.
9842 (STABS_FUN_END): Likewise.
9843 (STABS_FUN2): Likewise.
9844 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9845 * sysdeps/x86_64/configure: Regenerated.
9846
5908bf46
RM
98472012-08-14 Roland McGrath <roland@hack.frob.com>
9848
9849 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9850 * elf/dl-lookup.c: Likewise.
5908bf46 9851
f2c05b9e
JM
98522012-08-14 Joseph Myers <joseph@codesourcery.com>
9853
9854 * sysdeps/unix/sysv/linux/kernel-features.h
9855 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9856 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9857 unconditionally.
9858 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9859 unconditionally.
9860 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9861 condition on __ASSUME_CLONE_THREAD_FLAGS.
9862
e11f5155
AJ
98632012-08-14 Andreas Jaeger <aj@suse.de>
9864
9865 * sysdeps/i386/fpu/libm-test-ulps: Update.
9866
51a9ba86
MK
98672012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9868
2fdd4f78
AJ
9869 * include/atomic.h (atomic_exchange_and_add): Split into ...
9870 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9871 New atomic macros.
51a9ba86 9872
ba6cba9e
MT
98732012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9874
9875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9876
42443a47
JL
98772012-08-13 Jeff Law <law@redhat.com>
9878
9879 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9880 null byte in the output string.
9881
121dce05
JM
98822012-08-10 Joseph Myers <joseph@codesourcery.com>
9883
9884 * sysdeps/unix/sysv/linux/kernel-features.h
9885 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9886 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9887 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9888 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9889 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9890 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9891 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9892
bf51f568
JL
98932012-08-09 Jeff Law <law@redhat.com>
9894
9895 [BZ #13939]
9896 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9897 When avoid_arena is set, don't retry in the that arena. Pick the
9898 next one, whatever it might be.
9899 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9900 (arena_lock): Pass in new parameter to arena_get2.
9901 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9902 arena_get2.
9903 (__libc_malloc): Unify retrying after main arena failure with
9904 __libc_memalign version.
9905 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9906
f85fa270
L
99072012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9908
9909 [BZ #14166]
9910 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9911 to __redirect_strstr.
9912 (__strstr_sse42): Use typeof __redirect_strstr.
9913 (__strstr_ia32): Likewise.
9914 (__libc_strstr): New prototype.
9915 (strstr): Renamed to ...
9916 (__libc_strstr): This.
9917 (strstr): New strong alias of __libc_strstr.
9918 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9919 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9920 __redirect_time.
9921 Include <time.h>.
9922 (__libc_time): New prototype.
9923 (time_ifunc): Replace time with __libc_time.
9924 (time): New strong alias and hidden definition of __libc_time.
9925 (__GI_time): Remove strong alias.
9926 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9927 Include <stddef.h>.
9928 (memmove): Redefined to __redirect_memmove.
9929 (__memmove_sse2): Use typeof __redirect_memmove.
9930 (__memmove_ssse3): Likewise.
9931 (__memmove_ssse3_back): Likewise.
9932 (__libc_memmove): New prototype.
9933 (memmove): Renamed to ...
9934 (__libc_memmove): This.
9935 (memmove): New strong alias of __libc_memmove.
9936
33b4a91e
MS
99372012-08-08 Mark Salter <msalter@redhat.com>
9938
9939 * elf/elf.h
9940 (R_MN10300_TLS_GD): Define.
9941 (R_MN10300_TLS_LD): Likewise.
9942 (R_MN10300_TLS_LDO): Likewise.
9943 (R_MN10300_TLS_GOTIE): Likewise.
9944 (R_MN10300_TLS_IE): Likewise.
9945 (R_MN10300_TLS_LE): Likewise.
9946 (R_MN10300_TLS_DTPMOD): Likewise.
9947 (R_MN10300_TLS_DTPOFF): Likewise.
9948 (R_MN10300_TLS_TPOFF): Likewise.
9949 (R_MN10300_SYM_DIFF): Likewise.
9950 (R_MN10300_ALIGN): Likewise.
9951 (R_MN10300_NUM): Update.
9952
b36137f1
JM
99532012-08-08 Joseph Myers <joseph@codesourcery.com>
9954
9955 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9956 Remove.
9957
cdd915fd
RM
99582012-08-08 Roland McGrath <roland@hack.frob.com>
9959
a2433aac
RM
9960 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9961
cdd915fd
RM
9962 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9963 sysdeps/unix -> sysdeps/posix move.
9964 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9965
bf9b740a
AM
99662012-08-07 Allan McRae <allan@archlinux.org>
9967
9968 [BZ #14303]
9969 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9970 (SUNOS_CPP): Likewise.
9971 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9972 not found.
9973 (open_input): Call CPP using execvp.
9974
93df14ee
JM
99752012-08-07 Joseph Myers <joseph@codesourcery.com>
9976
9977 * sysdeps/unix/sysv/linux/kernel-features.h
9978 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9979 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9980 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9981 (__ASSUME_WAITID_SYSCALL): Likewise.
9982 * sysdeps/unix/sysv/linux/dl-execstack.c
9983 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9984 code unconditional.
9985 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9986 conditional code.
9987 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9988 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9989 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9990 code.
9991 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9992 unconditional.
9993 [__ASSUME_WAITID_SYSCALL]: Likewise.
9994 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9995
d34689de
RM
99962012-08-07 Roland McGrath <roland@hack.frob.com>
9997
a281decc
RM
9998 * sysdeps/unix/closedir.c: Renamed to ...
9999 * sysdeps/posix/closedir.c: ... here.
10000 * sysdeps/unix/dirfd.c: Renamed to ...
10001 * sysdeps/posix/dirfd.c: ... here.
10002 * sysdeps/unix/dirstream.h: Renamed to ...
10003 * sysdeps/posix/dirstream.h: ... here.
10004 * sysdeps/unix/fdopendir.c: Renamed to ...
10005 * sysdeps/posix/fdopendir.c: ... here.
10006 * sysdeps/unix/opendir.c: Renamed to ...
10007 * sysdeps/posix/opendir.c: ... here.
10008 * sysdeps/unix/readdir.c: Renamed to ...
10009 * sysdeps/posix/readdir.c: ... here.
10010 * sysdeps/unix/readdir_r.c: Renamed to ...
10011 * sysdeps/posix/readdir_r.c: ... here.
10012 * sysdeps/unix/rewinddir.c: Renamed to ...
10013 * sysdeps/posix/rewinddir.c: ... here.
10014 * sysdeps/unix/seekdir.c: Renamed to ...
10015 * sysdeps/posix/seekdir.c: ... here.
10016 * sysdeps/unix/telldir.c: Renamed to ...
10017 * sysdeps/posix/telldir.c: ... here.
10018 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10019 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10020 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10021 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10022
22895b47
RM
10023 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10024 * bits/fcntl.h: ... here.
10025
707a53b6
RM
10026 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10027 not 0.
10028 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10029 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10030 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10031 (struct flock): Move l_start, l_len to the beginning.
10032 Use __pid_t for l_pid.
10033 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10034 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10035 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10036 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10037 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10038 [__USE_LARGEFILE64] (struct flock64): New type.
10039 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10040
f0bd3e25
RM
10041 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10042 * bits/dirent.h: ... here.
10043
d34689de
RM
10044 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10045 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10046
6dad2c06
JM
100472012-08-07 Joseph Myers <joseph@codesourcery.com>
10048
10049 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10050 Change from 2.6.0 to 2.6.16.
10051 * sysdeps/unix/sysv/linux/configure: Regenerated.
10052 * sysdeps/unix/sysv/linux/kernel-features.h
10053 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10054 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10055 version.
10056 (__ASSUME_UTIMES): Likewise.
10057 (__ASSUME_CLONE_STOPPED): Remove.
10058 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10059 architectures, not kernel version.
10060 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10061 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10062 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10063 (__ASSUME_WAITID_SYSCALL): Likewise.
10064 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10065 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10066 * README: State 2.6.16 as minimum Linux kernel version. Do not
10067 refer to older versions.
10068
03af9520
RM
100692012-08-06 Roland McGrath <roland@hack.frob.com>
10070
8e49df1d
RM
10071 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10072 Define alphasort64 as an alias.
10073 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10074 Define versionsort64 as an alias.
10075 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10076 Define scandir64 as an alias.
10077 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10078 Define scandirat64 as an alias.
10079 * dirent/alphasort64.c (alphasort64):
10080 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10081 * dirent/versionsort64.c: Likewise.
10082 * dirent/scandir64.c: Likewise.
10083 * dirent/scandirat64.c: Likewise.
10084 * sysdeps/wordsize-64/alphasort.c: File removed.
10085 * sysdeps/wordsize-64/alphasort64.c: File removed.
10086 * sysdeps/wordsize-64/scandir.c: File removed.
10087 * sysdeps/wordsize-64/scandir64.c: File removed.
10088 * sysdeps/wordsize-64/scandirat.c: File removed.
10089 * sysdeps/wordsize-64/scandirat64.c: File removed.
10090 * sysdeps/wordsize-64/versionsort.c: File removed.
10091 * sysdeps/wordsize-64/versionsort64.c: File removed.
10092 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10093 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10094 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10095 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10096 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10097 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10098 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10099 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10100
10101 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10102 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10103 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10104 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10105 [defined __arch64__ || defined __sparcv9]
10106 (__INO_T_MATCHES_INO64_T): New macro.
10107 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10108 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10109 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10110 * sysdeps/unix/sysv/linux/bits/dirent.h
10111 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10112 (_DIRENT_MATCHES_DIRENT64): New macro.
10113
03af9520
RM
10114 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10115 Define lockf64 as an alias.
10116 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10117 Define fseeko64 as an alias.
10118 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10119 Define ftello64 as an alias.
10120 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10121 Define _IO_fgetpos64 and fgetpos64 as aliases.
10122 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10123 Define _IO_fsetpos64 and fsetpos64 as aliases.
10124 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10125 Conditionalize body on this.
10126 * libio/fseeko64.c: Likewise.
10127 * libio/ftello64.c: Likewise.
10128 * libio/iofgetpos64.c: Likewise.
10129 * libio/iofsetpos64.c: Likewise.
10130 * sysdeps/wordsize-64/lockf.c: File removed.
10131 * sysdeps/wordsize-64/lockf64.c: File removed.
10132 * sysdeps/wordsize-64/fseeko.c: File removed.
10133 * sysdeps/wordsize-64/fseeko64.c: File removed.
10134 * sysdeps/wordsize-64/ftello.c: File removed.
10135 * sysdeps/wordsize-64/ftello64.c: File removed.
10136 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10137 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10138 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10139 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10140 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10141 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10142 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10143 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10144 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10145 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10146 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10147 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10148 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10149 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10150
10151 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10153 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10154 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10155 [defined __arch64__ || defined __sparcv9]
10156 (__OFF_T_MATCHES_OFF64_T): New macro.
10157 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10158 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10160 (__OFF_T_MATCHES_OFF64_T): New macro.
10161
c5757acd
L
101622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10163
10164 * stdlib/secure-getenv.c (__secure_getenv): Replace
10165 GLIBC_2_16 with GLIBC_2_17.
10166
3a31811e
L
101672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10168
10169 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10170 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10171
faa2bccb
DM
101722012-08-03 David S. Miller <davem@davemloft.net>
10173
10174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10175
85fe1997
JM
101762012-08-03 Joseph Myers <joseph@codesourcery.com>
10177
10178 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10179 Remove.
10180 (__ASSUME_CORRECT_SI_PID): Likewise.
10181 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10182 (__ASSUME_TMPFS_NAME): Likewise.
10183 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10184 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10185 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10186 (HAVE_AUX_SECURE): Make definition unconditional.
10187 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10188 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10189
4f75b7a0
RM
101902012-08-03 Roland McGrath <roland@hack.frob.com>
10191
10192 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10193 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10194 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10195 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10196 __eloop_threshold instead of SYMLOOP_MAX.
10197
10198 * sysdeps/generic/eloop-threshold.h: New file.
10199 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10200 of MAXSYMLINKS.
10201 * elf/chroot_canon.c (chroot_canon): Likewise.
10202
7aab07e4
JM
102032012-08-03 Joseph Myers <joseph@codesourcery.com>
10204
10205 [BZ #13717]
10206 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10207 Change to 2.6.0 everywhere.
10208 * sysdeps/unix/sysv/linux/configure: Regenerated.
10209 * sysdeps/unix/sysv/linux/kernel-features.h
10210 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10211 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10212 kernel versions.
10213 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10214 (__ASSUME_FUTEX_REQUEUE): Remove.
10215 (__ASSUME_STATFS64): Define unconditionally.
10216 (__ASSUME_AT_SECURE): Likewise.
10217 (__ASSUME_CORRECT_SI_PID): Likewise.
10218 (__ASSUME_TGKILL): Define without depending on kernel version for
10219 i386.
10220 (__ASSUME_UTIMES): Likewise.
10221 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10222 kernel version.
10223 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10224 (__ASSUME_TMPFS_NAME): Likewise.
10225 * README: Update reference to Linux kernel versions.
10226
b67e9372
MP
102272012-08-02 Marek Polacek <polacek@redhat.com>
10228
1f529f7d 10229 [BZ# 14150]
b67e9372
MP
10230 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10231 libc_cv_asm_type_prefix with %.
10232 * configure: Regenerated.
d2441631
RM
10233 * include/libc-symbols.h: Remove comment about
10234 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10235 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10236 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10237 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10238 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10239 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10240 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10241 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10242 * elf/tst-unique2mod1.c: Likewise.
10243 * elf/tst-unique1mod2.c: Likewise.
10244 * elf/tst-unique1mod1.c: Likewise.
10245 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10246 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10247 Replace ASM_TYPE_DIRECTIVE with .type.
10248 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10249 * sysdeps/i386/sysdep.h: Likewise.
10250 * sysdeps/x86_64/sysdep.h: Likewise.
10251 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10253 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10254 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10255 * sysdeps/powerpc/powerpc32/sysdep.h:
10256 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10257 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10258 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10259 * sysdeps/i386/fpu/e_powf.S: Likewise.
10260 * sysdeps/i386/fpu/e_expl.S: Likewise.
10261 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10262 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10263 * sysdeps/i386/fpu/e_pow.S: Likewise.
10264 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10265 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10266 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10267 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10268 * sysdeps/i386/fpu/e_log2.S: Likewise.
10269 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10270 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10271 * sysdeps/i386/fpu/e_powl.S: Likewise.
10272 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10273 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10274 * sysdeps/i386/fpu/e_logl.S: Likewise.
10275 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10276 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10277 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10278 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10279 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10280 * sysdeps/i386/fpu/e_log.S: Likewise.
10281 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10282 * sysdeps/i386/fpu/e_logf.S: Likewise.
10283 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10284 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10285 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10286 * sysdeps/i386/fpu/e_log10.S: Likewise.
10287 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10288 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10289 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10290 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10291 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10292 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10293 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10294 * sysdeps/i386/i686/strtok.S: Likewise.
10295 * sysdeps/i386/i386-mcount.S: Likewise.
10296 * sysdeps/i386/strtok.S: Likewise.
10297 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10298 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10299 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10300 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10301 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10302 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10303 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10304 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10305 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10306 * sysdeps/x86_64/_mcount.S: Likewise.
10307 * sysdeps/x86_64/strtok.S: Likewise.
10308 * sysdeps/sh/_mcount.S: Likewise.
10309
2747bf9a
RM
103102012-08-01 Roland McGrath <roland@hack.frob.com>
10311
10312 * libio/iofopen.c: Include <fcntl.h>.
10313 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10314 (_IO_fopen64, fopen64): Define as aliases.
10315 * libio/iofopen64.c: Include <fcntl.h>.
10316 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10317 Conditionalize body on this.
10318 * sysdeps/wordsize-64/iofopen.c: File removed.
10319 * sysdeps/wordsize-64/iofopen64.c: File removed.
10320
3fb791b8
MP
103212012-08-01 Marek Polacek <polacek@redhat.com>
10322
10323 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10324 Use dlfcn directly instead of a variable.
10325 (binfmt-subdir): Do not define.
10326 (dlfcn): Likewise.
10327
a9f1039f
JM
103282012-08-01 Joseph Myers <joseph@codesourcery.com>
10329
23bddc06
JM
10330 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10331 Remove all definitions.
10332 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10333 <kernel-features.h>.
10334 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10335 (miss_F_GETOWN_EX): Remove all definitions.
10336 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10337 macro definition.
10338 [!__ASSUME_FCNTL64]: Remove conditional code.
10339 [__ASSUME_FCNTL64]: Make code unconditional.
10340 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10341 <kernel-features.h>.
10342 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10343 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10344 (lockf64) [__NR_fcntl64]: Make code unconditional.
10345 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10346
a9f1039f
JM
10347 * sysdeps/unix/sysv/linux/kernel-features.h
10348 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10349 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10350 Make code unconditional.
10351 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10352 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10354 [__NR_vfork]: Make code unconditional.
10355 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10356 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10358 [__NR_vfork]: Make code unconditional.
10359 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10360 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10361
09c0ee5f
RM
103622012-08-01 Roland McGrath <roland@hack.frob.com>
10363
48aec5b9
RM
10364 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10365 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10366
cd97c966
RM
10367 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10368 Define mkstemp64 as an alias.
3f55550c
RM
10369 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10370 Define mkstemps64 as an alias.
cd97c966
RM
10371 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10372 Define mkostemp64 as an alias.
b8625cfc
RM
10373 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10374 Define mkostemps64 as an alias.
cd97c966
RM
10375 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10376 Conditionalize body on this.
10377 * misc/mkostemp64.c: Likewise.
b8625cfc 10378 * misc/mkostemps64.c: Likewise.
3f55550c 10379 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10380 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10381 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10382 * sysdeps/wordsize-64/mkostemp.c: File removed.
10383 * sysdeps/wordsize-64/mkstemp.c: File removed.
10384 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10385 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10386 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10387 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10388
09c0ee5f
RM
10389 [BZ #14138]
10390 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10391 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10392 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10393 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10394
10395 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10396 compat_symbol macros from <shlib-compat.h> rather than the underlying
10397 default_symbol_version and symbol_version macros, so that DEFAULT
10398 lines in shlib-versions are respected.
10399 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10400
7e66ee51
FW
104012012-08-01 Florian Weimer <fweimer@redhat.com>
10402
10403 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10404 Declare with warn_unused_result.
10405 (setgid, setregid, setegid, setresgid): Likewise.
10406 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10407 Likewise.
10408 * WUR-REPORT: Remove set*id functions.
10409
d2a54255
PT
104102012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10411
10412 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10413
7ecdb005
RM
104142012-07-31 Roland McGrath <roland@hack.frob.com>
10415
789bd351
RM
10416 * include/sys/socket.h (__libc_accept, __libc_accept4):
10417 Add attribute_hidden.
10418 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10419
40ce302d
RM
10420 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10421 use of PTR_MANGLE.
10422 * inet/getnetgrent_r.c (setup): Likewise.
10423
7ecdb005
RM
10424 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10425
e2eabb2c
DM
104262012-07-31 David S. Miller <davem@davemloft.net>
10427
10428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10429
d0419dbf
JM
104302012-07-31 Joseph Myers <joseph@codesourcery.com>
10431
10432 [BZ #13629]
10433 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10434 value between 1.0 and 2.0 and smaller part has absolute value less
10435 than 1.0.
10436 * math/s_clog10.c (__clog10): Likewise.
10437 * math/s_clog10f.c (__clog10f): Likewise.
10438 * math/s_clog10l.c (__clog10l): Likewise.
10439 * math/s_clogf.c (__clogf): Likewise.
10440 * math/s_clogl.c (__clogl): Likewise.
10441 * math/libm-test.inc (clog_test): Add more tests.
10442 (clog10_test): Likewise.
10443 * sysdeps/i386/fpu/libm-test-ulps: Update.
10444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10445
2bc13872
FW
104462012-07-31 Florian Weimer <fweimer@redhat.com>
10447
10448 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10449 Exit with zero in case no suitable GID is found, and write a
10450 message to standard error.
10451
bea9b193
RM
104522012-07-30 Roland McGrath <roland@hack.frob.com>
10453
10454 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10455 rather than to 1.
10456 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10457 (MAXPATHLEN): Removed.
10458 (NOGROUP, NODEV): New macros.
10459 (setbit, clrbit, isset, isclr): New macros.
10460 (howmany, roundup, powerof2): New macros.
10461 (DEV_BSIZE): New macro.
10462
10463 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10464 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10465
10466 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10467 definition on [!__NO_LONG_DOUBLE_MATH].
10468
10469 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10470 PTR_MANGLE and PTR_DEMANGLE.
10471
10472 * socket/accept4.c (accept4): Rename to __libc_accept4.
10473 Define accept4 as a weak alias.
10474
10475 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10476 on [_DIRENT_HAVE_D_TYPE].
10477 * io/ftw.c (ftw_dir): Likewise.
10478
10479 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10480
10481 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10482
10483 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10484 Use the BSD numbers rather than the arbitrary ones we had.
10485 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10486 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10487 (SIGXCPU, SIGXFSZ): New macros.
10488 (_NSIG): Now 32.
10489
10490 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10491 initializer on [_LIBC_REENTRANT].
10492
10493 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10494 definitions inside [_POSIX_MAPPED_FILES].
10495
10496 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10497
10498 * dirent/opendir.c: Include <fcntl.h>.
10499
10500 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10501 (__libc_getspecific): Likewise.
10502 (__libc_key_create): Likewise.
10503
10504 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10505 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10506 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10507 (tmpfile64): Define as alias.
10508 * sysdeps/wordsize-64/tmpfile.c: File removed.
10509 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10510 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10511 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10512
10513 * stdio-common/vfscanf.c: Include <stdbool.h>.
10514 * nss/makedb.c: Likewise.
10515 * stdio-common/_i18n_number.h: Likewise.
10516 * argp/argp-help.c: Likewise.
10517 * posix/wordexp.c: Likewise.
10518 * sysdeps/posix/spawni.c: Likewise.
10519 * nss/nss_files/files-initgroups.c: Likewise.
10520 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10521 * nss/nss_files/files-initgroups.c: Likewise.
10522 * nss/nss_db/db-netgrp.c: Likewise.
10523 * nss/nss_db/db-initgroups.c: Likewise.
10524 * io/fchmodat.c: Include <sys/stat.h>.
10525
10526 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10527 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10528
10529 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10530 [HAVE_MMAP].
10531
10532 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10533 Add multiple inclusion protection.
10534
e5abc686
DM
105352012-07-27 David S. Miller <davem@davemloft.net>
10536
10537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10538
815e6fa3
GB
105392012-07-27 Gary Benson <gbenson@redhat.com>
10540
10541 [BZ #14298]
10542 * elf/rtld.c: Include <stap-probe.h>.
10543 (dl_main): Added static probes "init_start" and "init_complete".
10544 * elf/dl-load.c: Include <stap-probe.h>.
10545 (lose): Take new parameter "nsid".
10546 Added static probe "map_failed".
10547 (_dl_map_object_from_fd): Pass namespace id to lose.
10548 Added static probe "map_start".
10549 (open_verify): Pass namespace id to lose.
10550 * elf/dl-open.c: Include <stap-probe.h>.
10551 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10552 and "reloc_complete".
10553 * elf/dl-close.c: Include <stap-probe.h>.
10554 (_dl_close_worker): Added static probes "unmap_start" and
10555 "unmap_complete".
10556 * elf/rtld-debugger-interface.txt: New file documenting the above.
10557
9f98c16c
RM
105582012-07-26 Roland McGrath <roland@hack.frob.com>
10559
10560 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10561 rather than a string variable.
10562 * sunrpc/rpc_main.c (h_output): Likewise.
10563 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10564
f3c22df3
PT
105652012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10566
10567 * inet/check_native.c: New file.
10568
3129cfc6
JM
105692012-07-26 Joseph Myers <joseph@codesourcery.com>
10570
da865e95
JM
10571 [BZ #13629]
10572 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10573 if larger part has absolute value 1.0.
10574 * math/s_clog10.c (__clog10): Likewise.
10575 * math/s_clog10f.c (__clog10f): Likewise.
10576 * math/s_clog10l.c (__clog10l): Likewise.
10577 * math/s_clogf.c (__clogf): Likewise.
10578 * math/s_clogl.c (__clogl): Likewise.
10579 * math/libm-test.inc (clog_test): Add more tests.
10580 (clog10_test): Likewise.
10581 * sysdeps/i386/fpu/libm-test-ulps: Update.
10582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10583
3129cfc6
JM
10584 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10585 (pltexit): Likewise.
10586 (La_regs): Likewise.
10587 (La_retval): Likewise.
10588 (int_retval): Likewise.
10589 Update #error for removed macros to refer only to definitions in
10590 tst-audit.h.
10591 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10592 macro.
10593 (pltexit): Likewise.
10594 (La_regs): Likewise.
10595 (La_retval): Likewise.
10596 (int_retval): Likewise.
10597 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10598 macro.
10599 (pltexit): Likewise.
10600 (La_regs): Likewise.
10601 (La_retval): Likewise.
10602 (int_retval): Likewise.
10603 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10604 macro.
10605 (pltexit): Likewise.
10606 (La_regs): Likewise.
10607 (La_retval): Likewise.
10608 (int_retval): Likewise.
10609 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10610 macro.
10611 (pltexit): Likewise.
10612 (La_regs): Likewise.
10613 (La_retval): Likewise.
10614 (int_retval): Likewise.
10615 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10616 macro.
10617 (pltexit): Likewise.
10618 (La_regs): Likewise.
10619 (La_retval): Likewise.
10620 (int_retval): Likewise.
10621 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10622 macro.
10623 (pltexit): Likewise.
10624 (La_regs): Likewise.
10625 (La_retval): Likewise.
10626 (int_retval): Likewise.
10627 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10628 macro definitions in tst-audit.h.
10629 * sysdeps/i386/tst-audit.h: New file.
10630 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10631 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10632 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10633 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10634 * sysdeps/sh/tst-audit.h: Likewise.
10635 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10636 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10637 * sysdeps/x86_64/tst-audit.h: Likewise.
10638
bfc07087
AJ
106392012-07-26 Andreas Jaeger <aj@suse.de>
10640
b1b2aaf8
AJ
10641 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10642 ptrace.
10643
10644 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10645 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10646 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10647 PTRACE_O_MASK.
10648 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10649 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10650 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10651
bfc07087
AJ
10652 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10653 value.
10654
10655 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10656 _sigsys.
10657 (si_call_addr, si_syscall, si_arch): Define new macro.
10658 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10659 _sigsys.
10660 (si_call_addr, si_syscall, si_arch): Define new marcro.
10661 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10662 _sigsys.
10663 (si_call_addr, si_syscall, si_arch): Define new macro.
10664 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10665 _sigsys.
10666 (si_call_addr, si_syscall, si_arch): Define new macro.
10667
89b4b02f
JM
106682012-07-25 Joseph Myers <joseph@codesourcery.com>
10669
10670 [BZ #13717]
10671 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10672 Change to 2.4.21 where previously 2.4.1.
10673 * sysdeps/unix/sysv/linux/configure: Regenerated.
10674 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10675 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10676 Linux kernel version.
10677 (__ASSUME_STD_AUXV): Remove.
10678 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10679 kernel version.
10680 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10681 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10682 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10683 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10684 (__ASSUME_NETLINK_SUPPORT): Likewise.
10685 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10686 (__no_netlink_support): Remove conditional definition.
10687 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10688 Remove.
10689 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10690 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10691 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10692 (if_nameindex_ioctl): Remove.
10693 (if_nameindex_netlink): Do not handle __no_netlink_support.
10694 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10695 code.
10696 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10697 Remove conditional code.
10698 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10699 code.
10700 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10701 unconditional.
10702 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10703 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10704 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10705 Remove.
10706 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10707 [!__ASSUME_STD_AUXV]: Remove conditional code.
10708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10709 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10710 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10712 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10713 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10714 code.
10715 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10717 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10718 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10719 conditional code.
10720 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10722 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10723 code.
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10725 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10726 conditional code.
10727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10728 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10729 code unconditional.
10730 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10731 conditional code.
10732 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10733 unconditional.
10734 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10735 conditional code.
10736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10737 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10738 unconditional.
10739 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10740 conditional code.
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10742 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10743 code unconditional.
10744 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10745 conditional code.
10746 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10747 unconditional.
10748 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10749 conditional code.
10750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10751 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10752 code unconditional.
10753 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10754 conditional code.
10755 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10756 unconditional.
10757 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10758 conditional code.
10759
842a39cd
AS
107602012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10761
10762 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10763 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10764 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10765 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10766 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10767 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10768 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10769 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10770 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10771 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10772 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10773 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10774 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10775 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10776 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10777 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10778 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10779 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10780 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10782 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10783 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10784 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10785
84b3fd84
FW
107862012-07-25 Florian Weimer <fweimer@redhat.com>
10787
10788 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10789 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10790 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10791 Introduce __libc_secure_getenv.
0c7936d5
FW
10792 * stdlib/Versions (2.17): Add secure_getenv
10793 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10794 * stdlib/secure-getenv.c: Rename __secure_getenv to
10795 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10796 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10797 * stdlib/tst-secure-getenv.c: New.
10798 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10799 * manual/startup.texi (Environment Access): Document
10800 secure_getenv.
84b3fd84
FW
10801 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10802 __libc_secure_getenv.
10803 * inet/ruserpass.c (ruserpass): Likewise.
10804 * malloc/mtrace.c (mtrace): Likewise.
10805 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10806 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10807 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10808 * sysdeps/posix/tempname.c: Likewise. Evaluate
10809 HAVE_SECURE_GETENV.
10810 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10811 __secure_getenv to __libc_secure_getenv.
84b3fd84 10812 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10814 Likewise.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10816 Likewise.
10817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10819 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10824
56e49b71
JM
108252012-07-25 Joseph Myers <joseph@codesourcery.com>
10826
10827 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10828 (struct La_i86_retval): Likewise.
10829 (struct La_x86_64_regs): Likewise.
10830 (struct La_x86_64_retval): Likewise.
10831 (struct La_x32_regs): Likewise.
10832 (struct La_x32_retval): Likewise.
10833 (struct La_ppc32_regs): Likewise.
10834 (struct La_ppc32_retval): Likewise.
10835 (struct La_ppc64_regs): Likewise.
10836 (struct La_ppc64_retval): Likewise.
10837 (struct La_sh_regs): Likewise.
10838 (struct La_sh_retval): Likewise.
10839 (struct La_s390_32_regs): Likewise.
10840 (struct La_s390_32_retval): Likewise.
10841 (struct La_s390_64_regs): Likewise.
10842 (struct La_s390_64_retval): Likewise.
10843 (struct La_sparc32_regs): Likewise.
10844 (struct La_sparc32_retval): Likewise.
10845 (struct La_sparc64_regs): Likewise.
10846 (struct La_sparc64_retval): Likewise.
10847 (struct audit_ifaces): Remove architecture-specific pltenter and
10848 pltexit members.
10849 * sysdeps/i386/ldsodefs.h: New file.
10850 * sysdeps/powerpc/ldsodefs.h: Likewise.
10851 * sysdeps/s390/ldsodefs.h: Likewise.
10852 * sysdeps/sh/ldsodefs.h: Likewise.
10853 * sysdeps/sparc/ldsodefs.h: Likewise.
10854 * sysdeps/x86_64/ldsodefs.h: Likewise.
10855
354691b7
MP
108562012-07-25 Marek Polacek <polacek@redhat.com>
10857
10858 [BZ #6808]
10859 * math/libm-test.inc (yn_test): Add another test.
10860 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10861 to ERANGE when the result is +-Inf.
10862 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10863 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10864 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10865 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10866
bf9e2071
JM
108672012-07-24 Joseph Myers <joseph@codesourcery.com>
10868
10869 * conform/data/time.h-data (NULL): Use macro-constant. Require
10870 equal to 0.
10871 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10872 clock_t.
10873 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10874
57633811
TS
108752012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10876
10877 * configure.in <sysdeps resolving>: Correct printing
10878 Implies_before.
10879 * configure: Regenerate.
10880
c23c33b0
TS
108812012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10882
10883 * math/w_ilogb.c: Include <limits.h>.
10884 * math/w_ilogbl.c: Likewise.
10885
b5982523
JM
108862012-07-20 Joseph Myers <joseph@codesourcery.com>
10887
10888 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10889 va_copy. Document allowing for unavailable va_copy only as
10890 pre-C99 compatibility.
10891 * manual/string.texi (Copying and Concatenation): Use va_copy
10892 instead of __va_copy in concat example.
10893
ac4ea442
PT
108942012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10895
10896 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10897 (__sendto): Use create_address_port. Initialize APORT and deallocate
10898 it if not null.
10899
f98eafbd
PT
10900 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10901 with O_NOLINK passed to __file_name_lookup.
10902
898c7aab
PT
10903 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10904 with O_NOLINK passed to __file_name_lookup.
10905
0ced335a
PT
10906 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10907 negative N or less than NGIDS.
10908
b3404dbd
PT
10909 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10910 type to string_t. Set ERANGE as errno and return it if NAME is not big
10911 enough. Use memcpy instead of strncpy.
10912
0f48659e
JM
109132012-07-20 Joseph Myers <joseph@codesourcery.com>
10914
10915 * elf/Makefile (check-data): Remove.
10916 (localplt.data): New vpath directive.
10917 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10918 instead of $(check-data).
10919 * scripts/data/localplt-generic.data: Move to ...
10920 * sysdeps/generic/localplt.data: ... here.
10921 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10922 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10923 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10925 ... here.
10926 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10928 ... here.
10929 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10931 ... here.
10932 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10934 ... here.
10935 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10937 ... here.
10938 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10940 ... here.
10941
d37cbdaa
AZ
109422012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10943
10944 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10945 PPC32 and PPC64 files.
10946 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10947 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10948
46f85fc2
AK
109492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10950
10951 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10952 __makecontext_ret to ...
10953 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10954 ... here and call exit if uc_link is NULL. New file.
10955 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10956 __makecontext_ret.S.
10957 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10958 __makecontext_ret to ...
10959 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10960 ... here and call exit if uc_link is NULL. New file.
10961 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10962 __makecontext_ret.S.
10963
08f43f9b
AK
109642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10965
10966 * elf/elf.h (R_390_IRELATIVE): New definition.
10967 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10968 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10969 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10970 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10971 (elf_machine_lazy_rel): Likewise.
10972 * sysdeps/s390/dl-irel.h: New file.
10973 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10974 * sysdeps/s390/s390-64/memset.S: New asm code.
10975 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10976 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10977 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10978 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10979 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10980 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10981 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10982 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10983 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10984 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10985 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10986 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10987 * sysdeps/s390/s390-32/memset.S: New asm code.
10988 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10989
3b05db33
MP
109902012-07-17 Marek Polacek <polacek@redhat.com>
10991
10992 [BZ #14349]
10993 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10994 * sysdeps/s390/s390-64/configure.in: Likewise.
10995 * sysdeps/sparc/configure.in: Likewise.
10996 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10997 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10998 * sysdeps/i386/configure.in: Likewise.
10999 * sysdeps/x86_64/configure.in: Likewise.
11000 * sysdeps/sh/configure.in: Likewise.
11001 * sysdeps/s390/s390-32/configure: Regenerated.
11002 * sysdeps/s390/s390-64/configure: Likewise.
11003 * sysdeps/x86_64/configure: Likewise.
11004 * sysdeps/sh/configure: Likewise.
11005 * sysdeps/powerpc/powerpc64/configure: Likewise.
11006 * sysdeps/powerpc/powerpc32/configure: Likewise.
11007 * sysdeps/sparc/configure: Likwise.
11008 * sysdeps/i386/configure: Likewise.
11009
a66877c6
MP
11010 * elf/dl-open.c: Comment fixes.
11011
cfc82fd8
JM
110122012-07-17 Joseph Myers <joseph@codesourcery.com>
11013
bd29910a
JM
11014 * Makefile [CXX] (check-data): Remove.
11015 [CXX] (c++-types.data): New vpath directive.
11016 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11017 vpath. Do not allow for C++ type data being missing.
11018 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11019 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11020 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11021 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11022 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11023 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11024 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11026 ... here.
11027 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11029 ... here.
11030 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11032 ... here.
11033 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11035 ... here.
11036 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11038 ... here.
11039 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11041 ... here.
11042 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11044 ... here.
11045 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11047
cfc82fd8
JM
11048 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11049 definitions to architecture-specific files.
11050 (TLS_IE): Likewise.
11051 (TLS_LD): Likewise.
11052 (TLS_GD): Likewise.
11053 * sysdeps/i386/tls-macros.h: New file.
11054 * sysdeps/powerpc/tls-macros.h: Likewise.
11055 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11056 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11057 * sysdeps/sh/tls-macros.h: Likewise.
11058 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11059 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11060 * sysdeps/x86_64/tls-macros.h: Likewise.
11061
f7db3170
TS
110622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11063
07cbfc23
TS
11064 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11065 zero value for regular exit case.
11066
f7db3170
TS
11067 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11068 (__start_context): Preserve zero value for regular exit case.
11069
dc97c227
TS
110702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11071 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11072
11073 * manual/setjmp.texi (setcontext): Clarify normal process
11074 termination when uc_link is the null pointer.
11075 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11076 exit call.
11077
d0cd7d02
AS
110782012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11079
11080 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11081 preprocessor. Test for each exception mask separately.
11082
dd318934
AJ
110832012-07-16 Andreas Jaeger <aj@suse.de>
11084
11085 * po/ru.po: Update from translation team.
11086
8048311a
JM
110872012-07-15 Joseph Myers <joseph@codesourcery.com>
11088
11089 * conform/data/string.h-data (NULL): Use macro-constant. Require
11090 equal to 0.
11091 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11092 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11093 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11094 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11095 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11096
b637d46e
AJ
110972012-07-13 Andreas Jaeger <aj@suse.de>
11098
11099 * po/fr.po: Update from translation team.
11100
541428fe
MP
111012012-07-12 Marek Polacek <polacek@redhat.com>
11102
11103 [BZ #14173]
11104 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11105 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11106 loop condition.
11107
ec332e94
JM
111082012-07-12 Joseph Myers <joseph@codesourcery.com>
11109
11110 [BZ #13717]
11111 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11112 Change to 2.4.1 where previously 2.4.0.
11113 * sysdeps/unix/sysv/linux/configure: Regenerated.
11114 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11115 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11116 version.
11117 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11118 (__ASSUME_AT_CLKTCK): Remove.
11119 (__ASSUME_AT_PAGESIZE): Likewise.
11120 (__ASSUME_AT_XID): Likewise.
11121 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11122 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11123 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11124 unconditionally.
11125 (HAVE_AUX_PAGESIZE): Likewise.
11126 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11127 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11128 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11129
7b6e99be
JB
111302012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11131
11132 [BZ #14307]
11133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11134 the temporary buffer used to invoke __gethostbyname2_r,
11135 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11136 host_data / struct gaih_addrtuple.
11137 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11138 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11139 header file nss/nsswitch.h.
11140 * nss/nsswitch.h (global scope): Add definition of implementation
11141 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11142 resolv/nss_dns/dns-host.c).
11143
608404eb
AJ
111442012-07-11 Andreas Jaeger <aj@suse.de>
11145
11146 * po/fr.po: Update from translation team.
11147
71220aca
AJ
11148 * po/sv.po: Update from translation team
11149 * po/fr.po: Another update from translation team.
11150
28cfe843
AZ
111512012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11152
11153 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11154 for subnormals or multiply small sinh result by itself.
11155 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11157
6b90f981
DM
111582012-07-11 David S. Miller <davem@davemloft.net>
11159
11160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11161
c6825772
AS
111622012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11163
11164 [BZ #14347]
11165 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11166 (INTERNAL_MARK): Shift it here.
11167
7b8e0d49
MP
111682012-07-10 Marek Polacek <polacek@redhat.com>
11169
11170 [BZ #14151]
11171 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11172 libc_cv_asm_global_directive with .globl.
11173 * configure: Regenerated.
11174 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11175 with .globl.
11176 * sysdeps/i386/configure: Regenerated.
11177 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11178 with .globl.
11179 * sysdeps/x86_64/configure: Regenerated.
11180 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11181 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11182 * elf/tst-unique2mod2.c: Likewise.
11183 * elf/tst-unique2mod1.c: Likewise.
11184 * elf/tst-unique1mod2.c: Likewise.
11185 * elf/tst-unique1mod1.c: Likewise.
11186 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11187 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11188 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11189 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11190 * sysdeps/mach/sysdep.h: Likewise.
11191 * sysdeps/i386/sysdep.h: Likewise.
11192 * sysdeps/i386/i386-mcount.S: Likewise.
11193 * sysdeps/x86_64/_mcount.S: Likewise.
11194 * sysdeps/x86_64/sysdep.h: Likewise.
11195 * sysdeps/sh/_mcount.S: Likewise.
11196 * sysdeps/sh/sysdep.h: Likewise.
11197 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11198 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11199 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11200 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11201 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11202 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11203 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11204 * locale/localeinfo.h: Likewise.
11205 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11206 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11207
6c55cda3
RM
112082012-07-09 Roland McGrath <roland@hack.frob.com>
11209
11210 [BZ #14336]
11211 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11212 system".
11213 * manual/message.texi (The Uniforum approach): Likewise.
11214 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11215 (glibc iconv Implementation): Likewise.
11216
638a572e
JM
112172012-07-09 Joseph Myers <joseph@codesourcery.com>
11218
11219 [BZ #14337]
11220 * math/s_clog.c (__clog): Avoid scaling a value down where that
11221 could result in underflow.
11222 * math/s_clog10.c (__clog10): Likewise.
11223 * math/s_clog10f.c (__clog10f): Likewise.
11224 * math/s_clog10l.c (__clog10l): Likewise.
11225 * math/s_clogf.c (__clogf): Likewise.
11226 * math/s_clogl.c (__clogl): Likewise.
11227 * math/libm-test.inc (clog_test): Add more tests.
11228 (clog10_test): Likewise.
11229 * sysdeps/i386/fpu/libm-test-ulps: Update.
11230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11231
261f4859
AS
112322012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11233
0abaf3e4
AS
11234 [BZ #14283]
11235 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11236 by 7 not 8 to examine high bit of fractional part.
11237
261f4859
AS
11238 [BZ #14042]
11239 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11240 for call to __mcount_internal.
11241 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11242 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11243 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11244
f17ac40d
JM
112452012-07-06 Joseph Myers <joseph@codesourcery.com>
11246
9ad63c23
JM
11247 [BZ #14154]
11248 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11249 approximation for values within 0x1p-13f of an odd multiple of
11250 pi/4.
11251 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11252 exception. Add more tests.
11253 * sysdeps/i386/fpu/libm-test-ulps: Update.
11254
f17ac40d
JM
11255 [BZ #6778]
11256 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11257 inputs and return -1 for them. Do not check for +Inf in case not
11258 reachable for +Inf.
11259 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11260 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11261 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11262 and return -1 for them. Do not check for +Inf in case not
11263 reachable for +Inf.
11264 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11265 define.
11266 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11267 and return -1 for them. Do not check for +Inf in case not
11268 reachable for +Inf.
11269 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11270 spurious underflow.
11271 * sysdeps/i386/fpu/libm-test-ulps: Update.
11272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11273
fb21f89b
MF
112742012-07-06 Mike Frysinger <vapier@gentoo.org>
11275
11276 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11277
cdfe2c5e
JM
112782012-07-05 Joseph Myers <joseph@codesourcery.com>
11279
11280 [BZ #14157]
11281 [BZ #14331]
11282 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11283 could result in spurious underflow. Scale down values above
11284 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11285 * math/s_csqrtf.c (__csqrtf): Likewise.
11286 * math/s_csqrtl.c (__csqrtl): Likewise.
11287 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11288 spurious underflow.
11289 * sysdeps/i386/fpu/libm-test-ulps: Update.
11290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11291
70d35b67
AS
112922012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11293
704bc459
AS
11294 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11295 xopen-msg.sed.
11296 * catgets/xopen-msg.awk: New file.
11297 * catgets/xopen-msg.sed: Removed.
11298
70d35b67
AS
11299 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11300 po2text.sed.
11301 * intl/po2test.awk: New file.
11302 * intl/po2test.sed: Removed.
11303
ca61cf32
JM
113042012-07-04 Joseph Myers <joseph@codesourcery.com>
11305
11306 [BZ #14328]
11307 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11308 or multiply small sinh result by itself.
11309 * math/s_ctanf.c (__ctanf): Likewise.
11310 * math/s_ctanh.c (__ctanh): Likewise.
11311 * math/s_ctanhf.c (__ctanhf): Likewise.
11312 * math/s_ctanhl.c (__ctanhl): Likewise.
11313 * math/s_ctanl.c (__ctanl): Likewise.
11314 * math/libm-test.inc (ctan_test_tonearest): New function.
11315 (ctan_test_towardzero): Likewise.
11316 (ctan_test_downward): Likewise.
11317 (ctan_test_upward): Likewise.
11318 (ctanh_test_tonearest): Likewise.
11319 (ctanh_test_towardzero): Likewise.
11320 (ctanh_test_downward): Likewise.
11321 (ctanh_test_upward): Likewise.
11322 (main): Call these new functions.
11323 * sysdeps/i386/fpu/libm-test-ulps: Update.
11324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11325
ca48a46a
MF
113262012-07-03 Mike Frysinger <vapier@gentoo.org>
11327
11328 * .gitignore: Delete /ports entry.
11329
9d63d37d
AJ
113302012-07-03 Andreas Jaeger <aj@suse.de>
11331
11332 * po/bg.po: Update from translation team.
11333 * po/cs.po: Likewise.
11334 * po/de.po: Likewise.
11335 * po/hr.po: Likewise.
11336 * po/nl.pl: Likewise.
11337 * po/pl.po: Likewise.
11338 * po/vi.po: Likewise.
11339
370ca3d2
JM
113402012-07-03 Joseph Myers <joseph@codesourcery.com>
11341
95f5a9a8
JM
11342 * Makeconfig [!+link] (+link-before-libc): New variable.
11343 [!+link] (+link-after-libc): Likewise.
11344 [!+link] (+link-tests): Likewise.
11345 [!+link] (+link): Define in terms of $(+link-before-libc) and
11346 $(+link-after-libc).
11347 [!+link-static] (+link-static-before-libc): New variable.
11348 [!+link-static] (+link-static-after-libc): Likewise.
11349 [!+link-static] (+link-static-tests): Likewise.
11350 [!+link-static] (+link-static): Define in terms of
11351 $(+link-static-before-libc) and $(+link-static-after-libc).
11352 [build-shared] (link-libc-before-gnulib): New variable.
11353 [build-shared] (link-libc-tests): Likewise.
11354 [build-shared] (link-libc): Define in terms of
11355 $(link-libc-before-gnulib).
11356 [!build-shared] (link-libc-tests): New variable.
11357 (link-libc-static-tests): New variable.
11358 [!gnulib] (gnulib-arch): New variable.
11359 [!gnulib] (gnulib-tests): Likewise.
11360 [!gnulib] (static-gnulib-arch): Likewise.
11361 [!gnulib] (static-gnulib-tests): Likewise.
11362 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11363 Define with "=" instead of ":=".
11364 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11365 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11366 * Rules (binaries-all-notests): New variable.
11367 (binaries-all-tests): Likewise.
11368 (binaries-static-notests): Likewise.
11369 (binaries-static-tests): Likewise.
11370 (binaries-all): Define using $(binaries-all-notests) and
11371 $(binaries-all-tests).
11372 (binaries-static): Define using $(binaries-static-notests) and
11373 $(binaries-static-tests).
11374 (binaries-shared-tests): New variable.
11375 (binaries-shared-notests): Likewise.
11376 (binaries-shared): Remove variable.
11377 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11378 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11379 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11380 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11381 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11382 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11383 * elf/Makefile (sln-modules): New variable.
11384 (extra-objs): Add $(sln-modules:=.o).
11385 (ldconfig-modules): Add static-stubs.
11386 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11387 * elf/static-stubs.c: New file.
11388
7a845b2c
JM
11389 [BZ #14283]
11390 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11391 by 7 not 8 to examine high bit of fractional part. Use volatile
11392 variables when splitting into final array of floats if
11393 __FLT_EVAL_METHOD__ != 0.
11394 * math/libm-test.inc (cos_test): Add another test.
11395 (sin_test): Likewise.
11396 * sysdeps/i386/fpu/libm-test-ulps: Update.
11397
e2283f38
JM
11398 [BZ #14273]
11399 * math/libm-test.inc (cosh_test): Add more tests.
11400
370ca3d2
JM
11401 * version.h (RELEASE): Set to "development".
11402 (VERSION): Set to "2.16.90".
11403
ee9247c3
CD
114042012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11405
11406 * NEWS: Update copyright. Remove last-updated date.
11407 Mention math library bug fixes and timezone data changes.
11408 * README: Mention GNU/Hurd, x32, and HPPA support status.
11409
4648c381
TS
114102012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11411
11412 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11413
aac78a43
AJ
114142012-06-27 Andreas Jaeger <aj@suse.de>
11415
11416 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11417
ed3dbfad
AJ
114182012-06-25 Andreas Jaeger <aj@suse.de>
11419
11420 * sysdeps/s390/fpu/libm-test-ulps: Update.
11421
4d0ee855
AS
114222012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11423 Thomas Schwinge <thomas@codesourcery.com>
11424
11425 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11426 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11427 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11428 fanotify_mark.
11429
af1bce34
TS
114302012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11431
a9fa33ba
TS
11432 * sysdeps/mach/start.c: Remove file.
11433 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11434 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11435 * sysdeps/sh/init-first.c: Likewise.
11436
58f902b8
TS
11437 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11438 registers for frame unwinding purposes, add CFI directives.
11439 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11440 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11441 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11442 Likewise.
11443
1518f58b
TS
11444 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11445 __fortify_fail returning.
11446 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11447
db9b5059
TS
11448 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11449 sysdeps/sh/____longjmp_chk.S.
11450 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11451 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11452 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11453 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11454
967705fe
TS
11455 * sysdeps/sh/abort-instr.h: New file.
11456 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11457 process in case exit returns.
11458
a9def8c4
TS
11459 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11460 initialize the GOT register before use.
11461
2a649725
TS
11462 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11463 calculation of ARGC > 4.
11464
af1bce34
TS
11465 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11466 meaningful names to some local labels.
11467
d230f50a
KK
114682012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11469 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11470
11471 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11472 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11473 (__arch_compare_and_exchange_val_16_acq): Likewise.
11474 (__arch_compare_and_exchange_val_32_acq): Likewise.
11475 (atomic_exchange_and_add): Fix gUSA sequence.
11476 (atomic_add): Likewise.
11477 (atomic_add_negative): Likewise.
11478 (atomic_add_zero): Likewise.
11479 (atomic_bit_test_set): Likewise.
11480
0479b305
AS
114812012-06-22 Andreas Schwab <schwab@redhat.com>
11482
11483 [BZ #13579]
11484 * include/link.h (struct link_map): Add l_free_initfini.
11485 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11486 l_initfini.
11487 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11488 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11489 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11490 set.
11491
0e3933b9
CD
114922012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11493
11494 * configure.in: Use AC_LANG_SOURCE.
11495 * configure: Regenerate.
11496
4248b1b1
RM
114972012-06-22 Roland McGrath <roland@hack.frob.com>
11498
11499 * configure.in (libc_cv_localstatedir): New substituted variable.
11500 * configure: Regenerated.
11501 * config.make.in (localstatedir): New variable, substituted from
11502 libc_cv_localstatedir.
11503 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11504 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11505 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11506 * sysdeps/gnu/configure: Regenerated.
11507
006dd861
JL
115082012-06-21 Jeff Law <law@redhat.com>
11509
11510 [BZ #14277]
11511 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11512 free. Simplify list management for _LIBC case.
11513
79662d42
JM
115142012-06-21 Joseph Myers <joseph@codesourcery.com>
11515
b7abb4bf
JM
11516 [BZ #14273]
11517 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11518 Clear sign bit of 64-bit integer value before comparing against
11519 overflow value.
11520
79662d42
JM
11521 * sysdeps/mach/configure: Regenerated.
11522
1f150908
L
115232012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11524
11525 [BZ #14278]
11526 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11527
28363bbf
JL
115282012-06-21 Jeff Law <law@redhat.com>
11529
11530 [BZ #13882]
11531 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11532 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11533 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11534 * elf/dl-open.c (dl_open_worker): Likewise.
11535
09615db4
CD
115362012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11537
11538 * scripts/list-sources.sh: Scan PORTS for translations.
11539 * po/libc.pot: Regenerated.
11540
2174c6dd
AJ
115412012-06-21 Andreas Jaeger <aj@suse.de>
11542
11543 [BZ #12194]
11544 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11545 warning.
11546 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11547 * bits/byteswap-16.h (__bswap_16): Likewise.
11548 * bits/byteswap.h (__bswap_constant_16): Likewise.
11549
3ee947b1
L
115502012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11551
11552 [BZ #14117]
a2f34833
L
11553 * sysdeps/i386/fpu_control.h: Removed.
11554 * sysdeps/x86_64/fpu_control.h: Moved to ...
11555 * sysdeps/x86/fpu_control.h: Here.
11556
3ee947b1
L
11557 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11558 (_FPU_SETCW): Likewise.
11559
ed1825f8
L
115602012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11561
25f1282a
L
11562 [BZ #14117]
11563 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11564 * sysdeps/x86/fpu/bits/mathinline.h: This.
11565 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11566
ed1825f8
L
11567 [BZ #14050]
11568 [BZ #14117]
11569 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11570 functions if __x86_64__ is defined.
11571
36d54b74
CLT
115722012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11573
11574 * string/endian.h: Add !__ASSEMBLER__ condition for including
11575 conversion interfaces.
11576
10285c21
JM
115772012-06-15 Joseph Myers <joseph@codesourcery.com>
11578
11579 [BZ #14241]
11580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11581 of ABS(x) in calculating zero to negative powers other than odd
11582 integers.
11583 * math/libm-test.inc (pow_test): Add more tests.
11584
06c5abbd
AJ
115852012-06-15 Andreas Jaeger <aj@suse.de>
11586
11587 * manual/contrib.texi (Contributors): Update entry of Liubov
11588 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11589 Machado Filho.
11590
a3aeac40
CH
115912012-06-15 Cyril Hrubis <metan@ucw.cz>
11592
11593 * string/string.h: Add __wur to GNU version of strerror_r.
11594
49bdf4c1
L
115952012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11596
11597 [BZ #14229]
11598 * string/Makefile (tests): Add tst-strtok_r.
11599 * string/tst-strtok_r.c: New file.
11600 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11601 RAX_LP/RDX_LP on SAVE_PTR.
11602
834f9b8d
RM
116032012-06-14 Roland McGrath <roland@hack.frob.com>
11604
11605 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11606
75fa1921
JM
116072012-06-14 Joseph Myers <joseph@codesourcery.com>
11608
11609 * libm_test.inc (csqrt_test): Allow more spurious underflow
11610 exceptions.
11611 (j0_test): Likewise.
11612 (j1_test): Likewise.
11613 (y0_test): Likewise.
11614 (y1_test): Likewise.
11615
771766df
CD
116162012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11617
11618 * po/Makefile (libc.pot): Use UTF-8 charset.
11619
ceb9e56b
PP
116202012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11621
11622 [BZ #14210]
11623 Suppress sign-conversion warning from FD_SET.
11624 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11625 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11626 not unsigned long int.
11627 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11628
ddb28975
L
116292012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11630
11631 [BZ #14050]
11632 [BZ #14117]
11633 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11634 __extern_always_inline instead of __extern_inline.
11635 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11636 (__signbit): Likewise.
11637 (__signbitl): Support C++ namespace.
11638 (lrintf): New inline function.
11639 (lrint): Likewise.
11640 (llrintf): Likewise.
11641 (llrint): Likewise.
11642 (fmaxf): Likewise.
11643 (fmax): Likewise.
11644 (fminf): Likewise.
11645 (fmin): Likewise.
11646 (rint): Likewise.
11647 (rintf): Likewise.
11648 (ceil): Likewise.
11649 (ceilf): Likewise.
11650 (floor): Likewise.
11651 (floorf): Likewise.
11652 (nearbyint): Likewise.
11653 (nearbyintf): Likewise.
11654
d7b4fb26
TS
116552012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11656
11657 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11658 non-default versions.
11659
eb55f5c2
RM
116602012-06-11 Roland McGrath <roland@hack.frob.com>
11661
11662 [BZ #14218]
11663 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11664
366af02c
TS
116652012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11666
99ff6e5c
TS
11667 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11668 (FE_UPWARD, FE_DOWNWARD): Don't define.
11669 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11670 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11671
366af02c
TS
11672 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11673 reading it.
11674 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11675 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11676
793ea851
KK
116772012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11678
11679 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11680 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11681 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11682 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11683
a728a38f
L
116842012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11685
11686 [BZ #14117]
c08010c7
L
11687 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11688 * sysdeps/i386/fpu/Implies: New file.
11689 * sysdeps/x86_64/fpu/Implies: Likewise.
11690 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11691 * sysdeps/x86/fpu/bits/fenv.h: This.
11692
a728a38f
L
11693 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11694 __SSE_MATH__.
11695
6e230d11
SP
116962012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11697
11698 [BZ #14134]
11699 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11700 character 0xffff that matches the last element of the
11701 conversion table.
11702
1b671feb
AZ
117032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11704
11705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11706 fmodl commit.
11707
6043738b
AZ
117082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11709
11710 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11711 values higher than 25.6283.
11712
34ae0b32
AZ
117132012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11714
11715 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11716 subnormal exponent extraction and add some __builtin_expect.
11717 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11718 Fix for subnormal mantissa calculation.
11719
1214ec8f
MF
117202012-06-04 Mike Frysinger <vapier@gentoo.org>
11721
11722 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11723 cpu2 is -1 and errno is not ENOSYS.
11724
f3d1f93c
L
117252012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11726
11727 [BZ #14117]
0e4a3cd7
L
11728 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11729 * sysdeps/x86/bits/string.h: This.
11730 * sysdeps/x86_64/bits/string.h: Removed.
11731
6704c645
L
11732 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11733 if not compiling for x86-64, but compiling for >= i486.
11734
48495318
L
11735 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11736 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11737
14adcbfc
L
11738 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11739 New macro from Linux kernel 3.4.0.
11740 (FP_XSTATE_MAGIC2): Likewise.
11741 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11742 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11743 (struct _fpx_sw_bytes): New struct.
11744 (struct _xsave_hdr): Likewise.
11745 (struct _ymmh_state): Likewise.
11746 (struct _xstate): Likewise.
11747
68e408ab
L
11748 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11749 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11750 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11751 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11752 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11753 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11754
f3d1f93c
L
11755 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11756 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11757 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11758 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11759 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11760 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11761
d9dc34cd
TMQMF
117622012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11763
11764 [BZ #13743]
11765 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11766 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11767 (sysdep_headers): Include sys/platform/ppc.h.
11768 * sysdeps/powerpc/test-gettimebase.c: Test for
11769 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11770 * manual/Makefile (appendices): Include platform.texi.
11771 * manual/contrib.texi (Contributors): Update @node pointers.
11772 * manual/maint.texi (Maintenance): Likewise.
11773 (Platform): New node.
11774 * manual/platform.texi: New file. Document the new features.
11775
4af3879c
SP
117762012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11777 Jakub Jelinek <jakub@redhat.com>
11778
11779 [BZ #14188]
11780 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11781 where __builtin_expect is unavailable.
11782
2fd6ff13
DM
117832012-06-03 David S. Miller <davem@davemloft.net>
11784
11785 * stdlib/longlong.h: Updated from GCC.
11786
173f7220
AS
117872012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11788
11789 [BZ #14042]
11790 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11791 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11792 __mcount_internal.
11793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11794 (GLIBC_2.16): Likewise.
11795
f34a1c6f
L
117962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11797
11798 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11799
88a4576f
JM
118002012-06-01 Joseph Myers <joseph@codesourcery.com>
11801
ea32bcdd
JM
11802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11803 (default-abi): New variable.
11804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11805 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11806 variable.
11807 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11808 Likewise.
11809 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11810 Likewise.
11811 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11812 Likewise.
11813
88a4576f
JM
11814 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11815 definition. Document in comment.
11816
402fe938
DM
118172012-06-01 David S. Miller <davem@davemloft.net>
11818
11819 * stdlib/longlong.h: Updated from GCC.
11820
3553723f
L
118212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11822
11823 [BZ #14117]
3bd872c4
L
11824 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11825 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11826 sys/debugreg.h sys/io.h here.
11827 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11828 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11829 sys/io.h.
11830 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11831 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11832 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11833 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11834 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11835 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11836
3553723f
L
11837 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11838 Define only if __x86_64__ is defined.
11839
4842e4fe
JM
118402012-06-01 Joseph Myers <joseph@codesourcery.com>
11841
c5bfe3d5
JM
11842 [BZ #14048]
11843 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11844 Use int64_t for variable i.
11845 * math/libm-test.inc (fmod_test): Add more tests.
11846
4842e4fe
JM
11847 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11848 z computation is not scheduled after fetestexcept.
11849 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11850 Use math_force_eval instead of asm to ensure calculation scheduled
11851 before exception test.
11852 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11853 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11854
efb73488
AJ
118552012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11856
11857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11858 computation is not scheduled after fetestexcept.
11859
29bcce7c
L
118602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11861
11862 [BZ #14117]
11863 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11864 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11865
73a68f94
AZ
118662012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11867
11868 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11869 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11870
67b6df78
L
118712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11872
edf2933a 11873 [BZ #14117]
ebc64a18
L
11874 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11875 <bits/wordsize.h>.
11876 (__WCHAR_MIN): Support __WORDSIZE == 64.
11877 (__WCHAR_MAX): Likewise.
11878
edf2933a
L
11879 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11880 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11881
57c6cf40
L
11882 [BZ #14183]
11883 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11884 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11885
67b6df78 11886 [BZ #14117]
8eb6281e
L
11887 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11888 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11889
aac639f4
L
11890 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11891 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11892
67b6df78
L
11893 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11894 Defined to 1 if __x86_64__ isn't defined.
11895 (_STAT_VER_LINUX_OLD): New.
11896 (st_atime): Remove duplicate.
11897 (st_mtime): Likewise.
11898 (st_ctime): Likewise.
11899
1c2cfe81
DM
119002012-05-31 David S. Miller <davem@davemloft.net>
11901
11902 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11903 entries.
11904
5be8418c
AS
119052012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11906
e7725326
AS
11907 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11908 gen-libm-test.pl.
11909
5be8418c
AS
11910 [BZ #14132]
11911 * elf/dl-reloc.c: Include <_itoa.h>.
11912 (_dl_reloc_bad_type): Remove use of INTUSE.
11913 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11914 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11915 * stdio-common/psiginfo.c (psiginfo): Likewise.
11916 * stdio-common/psignal.c (psignal): Likewise.
11917 * string/strsignal.c (strsignal): Likewise.
11918 * include/signal.h (_sys_siglist): Declare hidden proto.
11919 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11920 INTVARDEF with libc_hidden_data_def.
11921 * stdio-common/itoa-udigits.c: Likewise.
11922 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11923 (_itoa_lower_digits_internal): Remove declaration.
11924 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11925 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11926 (_sys_sigabbrev_internal): Remove aliases.
11927 (_sys_siglist): Define hidden alias.
11928
507352f1
MT
119292012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11930
11931 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11932 bits/sysctl.h.
11933
42bbb1c3
L
119342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11935
11936 [BZ #14117]
6bd784b6
L
11937 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11938 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11939
8bca20f0
L
11940 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11941 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11942 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11943 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11944 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11945 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11946
f9e890a9
L
11947 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11948 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11949 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11950
471101a1
L
11951 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11952 with __addr.
11953 (insw): Likewise.
11954 (insl): Likewise.
11955 (outsb): Likewise.
11956 (outsw): Likewise.
11957 (outsl): Likewise.
11958
6451c862
L
11959 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11960 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11961 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11962
a254b8c9
L
11963 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11964 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11965 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11966 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11967 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11968 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11969
b8dfdd92
L
11970 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11971 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11972
578cd270
L
11973 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11974 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11975
de662f5f
L
11976 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11977 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11978 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11979
25653439
L
11980 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11981 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11982 to ...
11983 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11984
6bad24a0
L
11985 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11986 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11987 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11988
42bbb1c3
L
11989 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11990 for x86-64.
11991 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11992
2d10d547
JM
119932012-05-31 Joseph Myers <joseph@codesourcery.com>
11994
11995 * math/math.h (M_El): Use two more decimal places.
11996 (M_LOG2El): Likewise.
11997 (M_LOG10El): Likewise.
11998 (M_LN2l): Likewise.
11999 (M_LN10l): Likewise.
12000 (M_PIl): Likewise.
12001 (M_PI_2l): Likewise.
12002 (M_PI_4l): Likewise.
12003 (M_1_PIl): Likewise.
12004 (M_2_PIl): Likewise.
12005 (M_2_SQRTPIl): Likewise.
12006 (M_SQRT2l): Likewise.
12007 (M_SQRT1_2l): Likewise.
12008
f230c29b
DM
120092012-05-31 David S. Miller <davem@davemloft.net>
12010
12011 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12012 values between float registers.
12013 * sysdeps/sparc/sparc64/memset.S: Likewise.
12014 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12015
fed806c3
MF
120162012-05-31 Mike Frysinger <vapier@gentoo.org>
12017
12018 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12019 -D_FORTIFY_SOURCE=1.
12020 (CPPFLAGS-tst-longjmp_chk.c): Define.
12021 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12022 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12023 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12024 CFLAGS-tst-wchar-h.c.
12025
30917259
MP
120262012-05-31 Marek Polacek <polacek@redhat.com>
12027
12028 [BZ #14132]
12029 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12030 __endmntent_internal): Remove declaration.
12031 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12032 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12033 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12034
1c58d5dc
DM
120352012-05-30 David S. Miller <davem@davemloft.net>
12036
12037 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12038 (___Q_simulate_exceptions): Use real FP ops rather than writing
12039 into the %fsr.
12040 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12041 Likewise.
12042
7dc00e0d
L
120432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12044
12045 [BZ #14117]
0bd53985
L
12046 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12047 * sysdeps/x86/bits/xtitypes.h: This.
12048
3a257e66
L
12049 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12050 * sysdeps/x86/bits/wordsize.h: This.
12051
62f62904
L
12052 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12053 * sysdeps/x86/bits/huge_vall.h: This.
12054
404fe9d9
L
12055 * sysdeps/i386/bits/select.h: Removed.
12056 * sysdeps/x86_64/bits/select.h: Renamed to ...
12057 * sysdeps/x86/bits/select.h: This.
12058
d48d0446
L
12059 * sysdeps/i386/bits/setjmp.h: Removed.
12060 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12061 * sysdeps/x86/bits/setjmp.h: This.
12062
7dc00e0d
L
12063 * sysdeps/i386/bits/mathdef.h: Removed.
12064 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12065 * sysdeps/x86/bits/mathdef.h: This.
12066
03277f8f
AS
120672012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12068
12069 [BZ #14132]
12070 * include/sys/socket.h (__connect_internal)
12071 (__libc_sa_len_internal): Remove declaration.
12072 (__connect, __libc_sa_len): Declare hidden_proto.
12073 (SA_LEN): Remove use of INTUSE.
12074 * socket/connect.c: Add libc_hidden_def.
12075 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12076 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12077 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12078 alias.
12079 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12080 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12081 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12082 of adding _internal alias.
12083
13764867
L
120842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12085
12086 [BZ #14117]
6bd97696
L
12087 * sysdeps/i386/bits/link.h: Removed.
12088 * sysdeps/i386/bits/linkmap.h: Likewise.
12089 * sysdeps/x86_64/bits/link.h: Renamed to ...
12090 * sysdeps/x86/bits/link.h: This.
12091 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12092 * sysdeps/x86/bits/linkmap.h: This.
12093
f726f0bb
L
12094 * sysdeps/i386/bits/endian.h: Removed.
12095 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12096 * sysdeps/x86/bits/endian.h: This.
12097
13764867
L
12098 * sysdeps/i386/bits/byteswap.h: Removed.
12099 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12100 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12101 * sysdeps/x86/bits/byteswap.h: This.
12102 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12103 * sysdeps/x86/bits/byteswap-16.h: This.
12104 * sysdeps/i386/Implies: Add x86.
12105 * sysdeps/x86_64/Implies: Likewise.
12106
ae251b0b
DM
121072012-05-30 David S. Miller <davem@davemloft.net>
12108
12109 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12110 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12111 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12112 (FP_TRAPPING_EXCEPTIONS): Define.
12113 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12114 (FP_TRAPPING_EXCEPTIONS): Define.
12115 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12116 subnormals only when inexact has been signalled or underflow
12117 exceptions are enabled.
12118 (_FP_PACK_CANONICAL): Likewise.
12119
d5c90867
L
121202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12121
12122 [BZ #14183]
12123 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12124 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12125
63f1549e
RH
121262012-05-30 Richard Henderson <rth@twiddle.net>
12127
8d8f2279
RH
12128 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12129 with #ifndef NOT_IN_libc.
12130
63f1549e
RH
12131 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12132 marked to avoid plt entry.
12133
0ab0291b
L
121342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12135
12136 [BZ #14112]
12137 * Makeconfig (default-abi): New macro.
12138 (abi-includes): Likewise.
12139 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12140 $(abi-$(default-abi)-lib-soname) for soname if defined.
12141 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12142 abi-variants.
12143 * Makefile (installed-stubs): Likewise.
12144 * include/stubs-biarch.h: Removed.
12145 * scripts/lib-names.awk: Only handle one library at a time.
12146 * scripts/soversions.awk: Remove WORDSIZE support.
12147 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12148 entries.
12149 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12150 Removed.
12151 (syscall-list-default-condition): Likewise.
12152 (syscall-list-default-condition): Likewise.
12153 (syscall-list-includes): Likewise.
12154 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12155 syscall-list-* with abi-*. Handle undefined abi-variants.
12156 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12157 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12158 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12159 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12160 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12161 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12162 Removed.
12163 (syscall-list-32-options): Likewise.
12164 (syscall-list-32-condition): Likewise.
12165 (syscall-list-64-options): Likewise.
12166 (syscall-list-64-condition): Likewise.
12167 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12168 macro.
12169 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12170 Renamed to ...
12171 (abi-*): This.
12172 (abi-64-ld-soname): New macro.
12173 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12174 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12175 Renamed to ...
12176 (abi-*): This.
12177 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12178 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12179
4da0431d
JM
121802012-05-30 Joseph Myers <joseph@codesourcery.com>
12181
3a85279c
JM
12182 * sysdeps/unix/sysv/linux/kernel-features.h
12183 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12184 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12185 include <kernel-features.h>.
12186 [!__NR_ftruncate64]: Remove conditional code.
12187 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12188 [__NR_ftruncate64]: Make code unconditional.
12189 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12190 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12191 include <kernel-features.h>.
12192 [!__NR_ftruncate64]: Remove conditional code.
12193 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12194 [__NR_ftruncate64]: Make code unconditional.
12195 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12197 include <kernel-features.h>.
12198 [!__NR_ftruncate64]: Remove conditional code.
12199 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12200 [__NR_ftruncate64]: Make code unconditional.
12201 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12203 include <kernel-features.h>.
12204 [!__NR_ftruncate64]: Remove conditional code.
12205 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12206 [__NR_ftruncate64]: Make code unconditional.
12207 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12208
4da0431d
JM
12209 * configure.in (libc_cv_fpie): Weaken to a compile test using
12210 LIBC_TRY_CC_OPTION.
12211 * configure: Regenerated.
12212
11ef492c
AK
122132012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12214
12215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12219 Refreshed.
12220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12226 Refreshed.
12227
d66ef399
DM
122282012-05-27 David S. Miller <davem@davemloft.net>
12229
12230 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12231 (___Q_zero): New.
12232 (__Q_simulate_exceptions): Return void. Change to simulate
12233 exceptions by writing into the %fsr.
12234 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12235 (__Qp_handle_exceptions): Likewise.
12236 (numbers): Delete.
12237 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12238 __Qp_handle_exceptions.
12239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12240 __Qp_handle_exceptions.
12241 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12242 as unused and give dummy FP_RND_NEAREST initializer.
12243 (FP_INHIBIT_RESULTS): Define.
12244 (___Q_simulate_exceptions): Update declaration.
12245 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12246 formatting.
12247 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12248 as unused and give dummy FP_RND_NEAREST initializer.
12249 (__Qp_handle_exceptions): Update declaration.
12250 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12251 formatting.
12252
04fb54b5
TS
122532012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12254
12255 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12256 the temporary FPU control word.
12257 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12258 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12259 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12260 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12261 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12262 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12263 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12264 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12265 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12266 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12267 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12268
3f99608f
KK
122692012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12270
12271 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12272 fields.
12273
65a4de4e
CLT
122742012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12275
12276 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12277 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12278 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12279 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12280 Likewise.
12281 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12282 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12283 Likewise.
12284
15749d40
UD
122852012-05-27 Ulrich Drepper <drepper@gmail.com>
12286
12287 * po/h.po: Update from translation team.
12288
25dbcb27
AS
122892012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12290
3d3f8e55
AS
12291 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12292
25dbcb27
AS
12293 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12294 handling of denormals.
12295 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12296 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12297 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12298 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12300 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12301 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12302 Likewise.
12303
7ad47a80 123042012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12305
12306 [BZ #14152]
12307 * math/libm-test.inc (fma_test): Don't always expect underflow
12308 exception.
12309
9c6ea9fa
SP
123102012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12311
12312 [BZ #12416]
12313 * elf/tst-execstack.c: Include stackinfo.h.
12314 (do_test): Adjust test case to ensure that pthread_getattr_np
12315 behaviour remains the same after marking stack executable.
12316
a8239222
JM
123172012-05-25 Joseph Myers <joseph@codesourcery.com>
12318
12319 * sysdeps/unix/sysv/linux/kernel-features.h
12320 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12321 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12322 kernel-features.h.
12323 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12324 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12325 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12326 kernel-features.h.
12327 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12328 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12329
918b5606
L
123302012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12331
12332 * configure.in: Define the default includes to being none.
12333 * configure: Regenerated.
12334
3a097cc7
RM
123352012-05-25 Roland McGrath <roland@hack.frob.com>
12336
8422c9a5
RM
12337 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12338 * sysdeps/x86_64/setjmp.S: Likewise.
12339 * sysdeps/i386/bsd-setjmp.S: Likewise.
12340 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12341 * sysdeps/i386/setjmp.S: Likewise.
12342 * sysdeps/i386/__longjmp.S: Likewise.
12343 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12344 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12345
3a097cc7
RM
12346 * include/stap-probe.h: New file.
12347 * configure.in: Handle --enable-systemtap.
12348 * configure: Regenerated.
12349 * config.h.in (USE_STAP_PROBE): New #undef.
12350 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12351 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12352 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12353
21708942
JM
123542012-05-25 Joseph Myers <joseph@codesourcery.com>
12355
12356 [BZ #13717]
12357 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12358 to 2.4.0 where earlier.
12359 * sysdeps/unix/sysv/linux/configure: Regenerated.
12360 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12361 <kernel-features.h>.
12362 [__ASSUME_32BITUIDS]: Make code unconditional.
12363 [!__ASSUME_32BITUIDS]: Remove conditional code.
12364 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12365 <kernel-features.h>.
12366 [__ASSUME_32BITUIDS]: Make code unconditional.
12367 [!__ASSUME_32BITUIDS]: Remove conditional code.
12368 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12369 [__ASSUME_32BITUIDS]: Make code unconditional.
12370 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12371 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12372 <kernel-features.h>.
12373 [__ASSUME_32BITUIDS]: Make code unconditional.
12374 [!__ASSUME_32BITUIDS]: Remove conditional code.
12375 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12376 <kernel-features.h>.
12377 [__ASSUME_32BITUIDS]: Make code unconditional.
12378 [!__ASSUME_32BITUIDS]: Remove conditional code.
12379 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12380 <kernel-features.h>.
12381 [__ASSUME_32BITUIDS]: Make code unconditional.
12382 [!__ASSUME_32BITUIDS]: Remove conditional code.
12383 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12384 <kernel-features.h>.
12385 [__ASSUME_32BITUIDS]: Make code unconditional.
12386 [!__ASSUME_32BITUIDS]: Remove conditional code.
12387 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12388 <kernel-features.h>.
12389 [__ASSUME_32BITUIDS]: Make code unconditional.
12390 [!__ASSUME_32BITUIDS]: Remove conditional code.
12391 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12392 <kernel-features.h>.
12393 [__ASSUME_32BITUIDS]: Make code unconditional.
12394 [!__ASSUME_32BITUIDS]: Remove conditional code.
12395 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12396 <kernel-features.h>.
12397 [__ASSUME_32BITUIDS]: Make code unconditional.
12398 [!__ASSUME_32BITUIDS]: Remove conditional code.
12399 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12400 <kernel-features.h>.
12401 [__ASSUME_32BITUIDS]: Make code unconditional.
12402 [!__ASSUME_32BITUIDS]: Remove conditional code.
12403 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12404 <kernel-features.h>.
12405 [__ASSUME_32BITUIDS]: Make code unconditional.
12406 [!__ASSUME_32BITUIDS]: Remove conditional code.
12407 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12408 <kernel-features.h>.
12409 [__ASSUME_32BITUIDS]: Make code unconditional.
12410 [!__ASSUME_32BITUIDS]: Remove conditional code.
12411 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12412 <kernel-features.h>.
12413 [__NR_setresgid] (__setresgid): Do not declare.
12414 [__ASSUME_32BITUIDS]: Make code unconditional.
12415 [!__ASSUME_32BITUIDS]: Remove conditional code.
12416 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12417 <kernel-features.h>.
12418 [__NR_setresuid] (__setresuid): Do not declare.
12419 [__ASSUME_32BITUIDS]: Make code unconditional.
12420 [!__ASSUME_32BITUIDS]: Remove conditional code.
12421 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12422 <kernel-features.h>.
12423 [__ASSUME_32BITUIDS]: Make code unconditional.
12424 [!__ASSUME_32BITUIDS]: Remove conditional code.
12425 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12426 <kernel-features.h>.
12427 [__ASSUME_32BITUIDS]: Make code unconditional.
12428 [!__ASSUME_32BITUIDS]: Remove conditional code.
12429 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12430 <kernel-features.h>.
12431 [__ASSUME_32BITUIDS]: Make code unconditional.
12432 [!__ASSUME_32BITUIDS]: Remove conditional code.
12433 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12434 <kernel-features.h>.
12435 [__ASSUME_32BITUIDS]: Make code unconditional.
12436 [!__ASSUME_32BITUIDS]: Remove conditional code.
12437 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12438 <kernel-features.h>.
12439 [__ASSUME_32BITUIDS]: Make code unconditional.
12440 [!__ASSUME_32BITUIDS]: Remove conditional code.
12441 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12442 <kernel-features.h>.
12443 [__ASSUME_32BITUIDS]: Make code unconditional.
12444 [!__ASSUME_32BITUIDS]: Remove conditional code.
12445 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12446 <kernel-features.h>.
12447 [__ASSUME_32BITUIDS]: Make code unconditional.
12448 [!__ASSUME_32BITUIDS]: Remove conditional code.
12449 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12450 <kernel-features.h>.
12451 [__ASSUME_32BITUIDS]: Make code unconditional.
12452 [!__ASSUME_32BITUIDS]: Remove conditional code.
12453 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12454 <kernel-features.h>.
12455 [__ASSUME_32BITUIDS]: Make code unconditional.
12456 [!__ASSUME_32BITUIDS]: Remove conditional code.
12457 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12458 <kernel-features.h>.
12459 [__ASSUME_32BITUIDS]: Make code unconditional.
12460 [!__ASSUME_32BITUIDS]: Remove conditional code.
12461 * sysdeps/unix/sysv/linux/kernel-features.h
12462 (__ASSUME_SETRESUID_SYSCALL): Remove.
12463 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12464 (__ASSUME_32BITUIDS): Likewise.
12465 (__ASSUME_LDT_WORKS): Likewise.
12466 (__ASSUME_O_DIRECTORY): Likewise.
12467 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12468 architecture but not kernel version.
12469 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12470 (__ASSUME_MMAP2_SYSCALL): Likewise.
12471 (__ASSUME_STAT64_SYSCALL): Likewise.
12472 (__ASSUME_IPC64): Likewise.
12473 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12474 <kernel-features.h>.
12475 [__ASSUME_32BITUIDS]: Make code unconditional.
12476 [!__ASSUME_32BITUIDS]: Remove conditional code.
12477 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12478 <kernel-features.h>.
12479 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12480 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12481 132096]: Remove conditional code.
12482 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12483 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12484 <kernel-features.h>.
12485 [__ASSUME_32BITUIDS]: Make code unconditional.
12486 [!__ASSUME_32BITUIDS]: Remove conditional code.
12487 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12488 <kernel-features.h>.
12489 [__ASSUME_32BITUIDS]: Make code unconditional.
12490 [!__ASSUME_32BITUIDS]: Remove conditional code.
12491 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12492 <kernel-features.h>.
12493 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12494 unconditional.
12495 (__setresgid): Do not declare.
12496 [__ASSUME_32BITUIDS]: Make code unconditional.
12497 [!__ASSUME_32BITUIDS]: Remove conditional code.
12498 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12499 <kernel-features.h>.
12500 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12501 unconditional.
12502 (__setresuid): Do not declare.
12503 [__ASSUME_32BITUIDS]: Make code unconditional.
12504 [!__ASSUME_32BITUIDS]: Remove conditional code.
12505 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12506 <kernel-features.h>.
12507 [__ASSUME_32BITUIDS]: Make code unconditional.
12508 [!__ASSUME_32BITUIDS]: Remove conditional code.
12509 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12510 <kernel-features.h>.
12511 [__ASSUME_32BITUIDS]: Make code unconditional.
12512 [!__ASSUME_32BITUIDS]: Remove conditional code.
12513
a386f1cc
RH
125142012-05-25 Richard Henderson <rth@twiddle.net>
12515
12516 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12517 dl_hwcap to ifunc resolver.
12518 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12519 elf_ifunc_invoke.
12520 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12521 dl_hwcap to ifunc resolver.
12522 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12523
b6550497
JM
125242012-05-24 Joseph Myers <joseph@codesourcery.com>
12525
12526 [BZ #14153]
12527 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12528 for |x| <= 2**-26, not 2**-57.
12529 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12530 exception.
12531
b0bc23a1
JL
125322012-05-24 Jeff Law <law@redhat.com>
12533
12534 * stdio-common/Makefile (tests): Add bug25.
12535 * stdio-common/bug25.c: New test.
12536
347c92e9
L
125372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12538
12539 [BZ #13576]
12540 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12541 multiple of MALLOC_ALIGNMENT in size.
12542 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12543
6bcc8b3f
JM
125442012-05-24 Joseph Myers <joseph@codesourcery.com>
12545
12546 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12547 Require >= 256.
12548 (FILENAME_MAX): Use macro-int-constant.
12549 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12550 (_IOFBF): Use macro-int-constant.
12551 (_IOLBF): Likewise.
12552 (_IONBF): Likewise.
12553 (SEEK_CUR): Likewise.
12554 (SEEK_END): Likewise.
12555 (SEEK_SET): Likewise.
12556 (TMP_MAX): Likewise.
12557 (EOF): Use macro-int-constant. Require < 0.
12558 (NULL): Use macro-constant. Require == 0.
12559 (stdin): Require type to be FILE *.
12560 (stdout): Likewise.
12561 (stderr): Likewise.
12562 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12563 macro-int-constant.
12564 (EXIT_SUCCESS): Likewise.
12565 (NULL): Use macro-constant. Require == 0.
12566 (RAND_MAX): Use macro-int-constant.
12567 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12568 [C99-based standards] (strtof): Require function.
12569 [C99-based standards] (strtold): Likewise.
12570 [C99-based standards] (strtoll): Likewise.
12571 [C99-based standards] (strtoull): Likewise.
12572 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12573 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12574 [ISO || ISO99 || ISO11] (math.h): Likewise.
12575 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12576 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12577 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12578
d18ea0c5
AS
125792012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12580
12581 [BZ #14132]
56d25bb8
AS
12582 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12583 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12584 * intl/dgettext.c (DCGETTEXT): Likewise.
12585 * intl/gettext.c (DCGETTEXT): Likewise.
12586 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12587 * posix/regex_internal.h (gettext): Likewise.
12588 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12589 Remove declaration.
12590 * include/argz.h (__argz_count_internal)
12591 (__argz_stringify_internal): Remove declaration.
12592 (__argz_count, __argz_stringify): Declare hidden proto.
12593 * intl/dcgettext.c: Remove use of INTDEF.
12594 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12595 * string/argz-stringify.c: Likewise.
12596 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12597 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12598 Declare hidden proto.
d18ea0c5
AS
12599 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12600 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12601 Declare hidden proto.
12602 * include/stdio.h (__asprintf_internal): Don't declare.
12603 (__asprintf): Don't define as macro. Declare hidden proto.
12604 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12605 (__fsetlocking): Declare hidden proto.
12606 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12607 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12608 hidden proto.
12609 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12610 (_IO_setlinebuf): Remove use of INTUSE.
12611 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12612 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12613 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12614 Remove declaration.
12615 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12616 (_IO_do_flush): Remove use of INTUSE.
12617 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12618 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12619 (_IO_adjust_column, _IO_least_wmarker)
12620 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12621 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12622 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12623 (_IO_default_doallocate, _IO_wdefault_doallocate)
12624 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12625 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12626 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12627 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12628 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12629 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12630 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12631 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12632 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12633 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12634 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12635 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12636 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12637 proto.
12638 (_IO_flush_all_internal, _IO_adjust_column_internal)
12639 (_IO_default_uflow_internal, _IO_default_finish_internal)
12640 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12641 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12642 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12643 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12644 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12645 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12646 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12647 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12648 (_IO_file_close_internal, _IO_file_close_it_internal)
12649 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12650 (_IO_file_init_internal, _IO_file_attach_internal)
12651 (_IO_file_fopen_internal, _IO_file_read_internal)
12652 (_IO_file_sync_internal, _IO_file_seek_internal)
12653 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12654 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12655 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12656 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12657 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12658 (_IO_list_all_internal, _IO_link_in_internal)
12659 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12660 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12661 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12662 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12663 (_IO_do_write_internal, _IO_padn_internal)
12664 (_IO_getline_info_internal, _IO_getline_internal)
12665 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12666 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12667 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12668 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12669 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12670 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12671 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12672 with libc_hidden_ver, remove use of INTUSE.
12673 * libio/genops.c: Likewise.
12674 * libio/freopen.c: Likewise.
12675 * libio/freopen64.c: Likewise.
12676 * libio/iofclose.c: Likewise.
12677 * libio/iofdopen.c: Likewise.
12678 * libio/iofflush.c: Likewise.
12679 * libio/iofflush_u.c: Likewise.
12680 * libio/iofgets.c: Likewise.
12681 * libio/iofgets_u.c: Likewise.
12682 * libio/iofopen.c: Likewise.
12683 * libio/iofopncook.c: Likewise.
12684 * libio/iofread.c: Likewise.
12685 * libio/iofread_u.c: Likewise.
12686 * libio/ioftell.c: Likewise.
12687 * libio/iofwrite.c: Likewise.
12688 * libio/iogetline.c: Likewise.
12689 * libio/iogets.c: Likewise.
12690 * libio/iogetwline.c: Likewise.
12691 * libio/iopadn.c: Likewise.
12692 * libio/iopopen.c: Likewise.
12693 * libio/ioseekoff.c: Likewise.
12694 * libio/ioseekpos.c: Likewise.
12695 * libio/iosetbuffer.c: Likewise.
12696 * libio/iosetvbuf.c: Likewise.
12697 * libio/ioungetc.c: Likewise.
12698 * libio/ioungetwc.c: Likewise.
12699 * libio/iovdprintf.c: Likewise.
12700 * libio/iovsprintf.c: Likewise.
12701 * libio/iovsscanf.c: Likewise.
12702 * libio/memstream.c: Likewise.
12703 * libio/obprintf.c: Likewise.
12704 * libio/oldfileops.c: Likewise.
12705 * libio/oldiofclose.c: Likewise.
12706 * libio/oldiofdopen.c: Likewise.
12707 * libio/oldiofopen.c: Likewise.
12708 * libio/oldiopopen.c: Likewise.
12709 * libio/oldstdfiles.c: Likewise.
12710 * libio/putc.c: Likewise.
12711 * libio/setbuf.c: Likewise.
12712 * libio/setlinebuf.c: Likewise.
12713 * libio/stdfiles.c: Likewise.
12714 * libio/strops.c: Likewise.
12715 * libio/vasprintf.c: Likewise.
12716 * libio/vscanf.c: Likewise.
12717 * libio/vsnprintf.c: Likewise.
12718 * libio/vswprintf.c: Likewise.
12719 * libio/wfiledoalloc.c: Likewise.
12720 * libio/wfileops.c: Likewise.
12721 * libio/wgenops.c: Likewise.
12722 * libio/wmemstream.c: Likewise.
12723 * libio/wstrops.c: Likewise.
12724 * libio/__fpurge.c: Likewise.
12725 * libio/__fsetlocking.c: Likewise.
12726 * assert/assert.c: Likewise.
12727 * debug/fgets_chk.c: Likewise.
12728 * debug/fgets_u_chk.c: Likewise.
12729 * debug/fread_chk.c: Likewise.
12730 * debug/fread_u_chk.c: Likewise.
12731 * debug/gets_chk.c: Likewise.
12732 * debug/obprintf_chk.c: Likewise.
12733 * debug/vasprintf_chk.c: Likewise.
12734 * debug/vdprintf_chk.c: Likewise.
12735 * debug/vsnprintf_chk.c: Likewise.
12736 * debug/vsprintf_chk.c: Likewise.
12737 * malloc/mtrace.c: Likewise.
12738 * misc/error.c: Likewise.
12739 * misc/syslog.c: Likewise.
12740 * stdio-common/asprintf.c: Likewise.
12741 * stdio-common/fxprintf.c: Likewise.
12742 * stdio-common/getw.c: Likewise.
12743 * stdio-common/isoc99_fscanf.c: Likewise.
12744 * stdio-common/isoc99_scanf.c: Likewise.
12745 * stdio-common/isoc99_vfscanf.c: Likewise.
12746 * stdio-common/isoc99_vscanf.c: Likewise.
12747 * stdio-common/isoc99_vsscanf.c: Likewise.
12748 * stdio-common/printf-prs.c: Likewise.
12749 * stdio-common/printf_fp.c: Likewise.
12750 * stdio-common/printf_fphex.c: Likewise.
12751 * stdio-common/printf_size.c: Likewise.
12752 * stdio-common/putw.c: Likewise.
12753 * stdio-common/scanf.c: Likewise.
12754 * stdio-common/sprintf.c: Likewise.
12755 * stdio-common/tmpfile.c: Likewise.
12756 * stdio-common/vfprintf.c: Likewise.
12757 * stdio-common/vfscanf.c: Likewise.
12758 * stdlib/strfmon_l.c: Likewise.
12759 * sunrpc/openchild.c: Likewise.
12760 * sunrpc/xdr_stdio.c: Likewise.
12761 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12762 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12763
d6c33fda
RM
127642012-05-24 Roland McGrath <roland@hack.frob.com>
12765
c1487492
RM
12766 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12767
12768 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12769 in the third column, to generate for the shared library an IFUNC
12770 that uses _dl_vdso_vsym.
12771 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12772 * Makeconfig (object-suffixes-noshared): New variable.
12773
12774 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12775 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12776 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12777 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12778
d6c33fda
RM
12779 [BZ #14132]
12780 * include/sys/time.h (__gettimeofday): Remove macro.
12781 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12782 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12783 Remove INTDEF.
12784 (__gettimeofday): Add libc_hidden_def.
12785 (gettimeofday): Add libc_hidden_weak.
12786 * sysdeps/mach/gettimeofday.c: Likewise.
12787 * sysdeps/posix/gettimeofday.c: Likewise.
12788 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12789 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12791 (__gettimeofday_internal): Remove strong_alias.
12792 (__gettimeofday): Add libc_hidden_def.
12793 (gettimeofday): Add libc_hidden_weak.
12794 * sysdeps/unix/syscalls.list (gettimeofday):
12795 Remove __gettimeofday_internal alias.
12796
b5a2bbe6
L
127972012-05-24 Daniel Jacobowitz <drow@false.org>
12798 H.J. Lu <hongjiu.lu@intel.com>
12799
12800 [BZ #12495]
12801 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12802 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12803 (largebin_index_32_big): New.
12804 (largebin_index): Use it for 16-byte alignment.
12805 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12806 correction with front_misalign.
12807
cfba4fda
L
128082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12809
7f907421
L
12810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12812 Likewise.
12813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12814 Likewise.
12815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12816 Likewise.
12817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12818 Likewise.
12819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12820 Likewise.
12821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12822 Likewise.
12823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12824 Likewise.
12825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12826 Likewise.
12827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12828 Likewise.
12829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12830 Likewise.
12831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12832 Likewise.
12833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12834 Likewise.
12835
cfba4fda
L
12836 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12837 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12838
80bad0cc
JM
128392012-05-24 Joseph Myers <joseph@codesourcery.com>
12840
7a25eb06
JM
12841 [BZ #10846]
12842 [BZ #14036]
12843 * math/libm-test.inc (exp_test): Add test from bug 14036.
12844 (pow_test): Add test from bug 10846.
12845
795405f9
JM
12846 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12847 and other flags.
12848 (special_function): Do not include flags in test name.
12849 (parse_args): Likewise.
12850 * sysdeps/i386/fpu/libm-test-ulps: Update.
12851 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12852 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12853 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12855
80bad0cc
JM
12856 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12857 exceptions.
12858 * math/libm-test.inc ("Philosophy"): Update comment about
12859 exception testing.
12860 (UNDERFLOW_EXCEPTION): New macro.
12861 (UNDERFLOW_EXCEPTION_OK): Likewise.
12862 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12863 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12864 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12865 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12866 (INVALID_EXCEPTION_OK): Update value.
12867 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12868 (OVERFLOW_EXCEPTION_OK): Likewise.
12869 (IGNORE_ZERO_INF_SIGN): Likewise.
12870 (test_exceptions): Handle underflow exceptions.
12871 (acos_test): Update for underflow exception expectations.
12872 (cexp_test): Likewise.
12873 (clog_test): Likewise.
12874 (clog10_test): Likewise.
12875 (csqrt_test): Likewise.
12876 (ctan_test): Likewise.
12877 (ctanh_test): Likewise.
12878 (exp_test): Likewise.
12879 (exp10_test): Likewise.
12880 (exp2_test): Likewise.
12881 (expm1_test): Likewise.
12882 (fma_test): Likewise.
12883 (j0_test): Likewise.
12884 (jn_test): Likewise.
12885 (nexttoward_test): Likewise.
12886 (pow_test): Likewise.
12887 (scalbn_test): Likewise.
12888 (scalbln_test): Likewise.
12889 (tan_test): Likewise.
12890 (y1_test): Likewise.
12891 * sysdeps/i386/fpu/libm-test-ulps: Update.
12892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12893
9e0e3d0b
DM
128942012-05-23 David S. Miller <davem@davemloft.net>
12895
12896 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12897 (__libc_sigaction): Remove unused local variables.
12898
ccd0a08f
L
128992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12900
12901 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12902
62bdf9a6
PE
129032012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12904
f8591f80
PE
12905 mktime: avoid signed integer overflow
12906 * time/mktime.c (__mktime_internal): Do not mishandle the case
12907 where diff == INT_MIN.
12908
94c7d826
PE
12909 mktime: simplify computation of average
12910 * time/mktime.c (ranged_convert): Use new time_t_avg function
12911 instead of rolling our own (probably-slower) code.
12912
ce73d683
PE
12913 mktime: do not assume signed right shift propagates sign bit
12914 * time/mktime.c (isdst_differ): New static function.
12915 (__mktime_internal): No need to normalize tm_isdst now.
12916 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12917 tm_isdst values.
12918
72a22e59
PE
12919 mktime: merge another wrapv change from gnulib
12920 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12921 from some compilers.
12922
68605433
PE
12923 mktime: remove incorrect attempt at unusual arithmetics
12924 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12925 The code didn't really work on such machines anyway.
12926 (TYPE_MINIMUM): Assume two's complement.
12927 (twos_complement_arithmetic): Verify that long_int and time_t
12928 are two's complement (or unsigned, in the latter case).
12929
03cf7fe3
PE
12930 mktime: check signed shifts on long_int and time_t, too
12931 * time/mktime.c (SHR): Check that shifts work as desired
12932 on the types long_int and time_t too, as SHR is used on
12933 such types.
12934
f04dfbc2
PE
12935 mktime: do not assume 'long' is wide enough
12936 * time/mktime.c (verify): Move decl up.
12937 (long_int): New type.
12938 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12939 to remove assumption in the code that 'long' is wide enough to
12940 store year values. This assumption is not true on x32 and on
12941 some non-glibc platforms.
12942
62bdf9a6
PE
12943 mktime: merge wrapv change from gnulib
12944 * time/mktime.c (WRAPV): New macro.
12945 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12946 (guess_time_tm, __mktime_internal): Do not assume that signed
12947 integer overflow wraps around; modern compilers generate code
12948 where this assumption is no longer valid.
12949
5e292e4f
L
129502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12951
12952 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12953 Replace "jmp L(pseudo_end)" with "ret".
12954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12955 Likewise.
12956
8caf8c87
AJ
129572012-05-23 Andreas Jaeger <aj@suse.de>
12958
12959 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12960 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12961
1a09dc56
AJ
129622012-05-23 Andreas Jaeger <aj@suse.de>
12963 Maximilian Attems <max@stro.at>
12964
12965 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12966 New macros.
12967
1c87aba0
L
129682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12969
12970 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12971 code so that pseudo_end is just ret and the stack pointer is
12972 correct also for static library in error case.
12973
40e45bd5
JM
129742012-05-23 Joseph Myers <joseph@codesourcery.com>
12975
c2670533
JM
12976 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12977 move to syscalls.list.
12978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12982
40e45bd5
JM
12983 * manual/install.texi (Running make install): Do not mention Linux
12984 kernel version for which pt_chown is not needed.
12985 (Linux): Do not mention problems with nscd with 2.0 kernels.
12986 * INSTALL: Regenerated.
12987
be08eda5
AJ
129882012-05-23 Andreas Jaeger <aj@suse.de>
12989
12990 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12991 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12992 macro.
12993 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12994 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12995 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12996 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12997 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12998 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12999 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13000 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13001 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13002 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13003 * sysdeps/unix/sysv/linux/bits/in.h
13004 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13005
a6a056bb
RM
130062012-05-22 Roland McGrath <roland@hack.frob.com>
13007
13008 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13009 (PREPARE_VERSION): Just use assert instead, it will be elided
13010 under [NDEBUG] anyway.
13011
c9009328
L
130122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13013
13014 * sysdeps/unix/sysv/linux/Makefile: Include
13015 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13016 (sysdep_routines): Remove sysctl.
c9009328
L
13017 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13018 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13019 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13020 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13021 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13022
73338355
AJ
130232012-05-22 Andreas Jaeger <aj@suse.de>
13024
13025 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13026 that pseudo_end is just ret and the stack pointer is correct also
13027 for static library in error case.
13028
d44638b0
PP
130292012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13030
13031 [BZ #14122]
13032 * nss/nsswitch.c (defconfig_entries): New variable.
13033 (__nss_database_lookup): Don't leak defconfig entries.
13034 (nss_parse_service_list): Don't leak on error paths.
13035 (free_database_entries): New function.
13036 (free_defconfig): New function.
13037 (free_mem): Move common code to free_database_entries.
13038
31a39bd8
L
130392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13040
da0331a8
L
13041 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13042 Add arch_prctl.
13043 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13044
31a39bd8
L
13045 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13046 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13047 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13048 New macro.
13049 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13050 (INTERNAL_SYSCALL_TYPES): Likewise.
13051 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13052 (LOAD_REGS_TYPES_[1-6]): Likewise.
13053 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13054 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13055
45470df3
AZ
130562012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13057
13058 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13059 copysignl for GLIBC_2_0.
13060 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13061 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13062 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13063 logbl for GLIBC_2_0.
13064 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13065 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13066
98a61bcb
L
130672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13068
a4f6e481
L
13069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13070 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13071
f63d5db6
L
13072 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13073 Use "neg %eax".
13074
98a61bcb
L
13075 * time/mktime.c: Update copyright years.
13076
95770f14
PE
130772012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13078
6226efbd
PE
13079 mktime: merge comment-quoting-style change from gnulib
13080 * time/mktime.c: Quote 'like this' in comments.
13081 The GNU coding standards suggest that we no longer quote `like this',
13082 as "`" and "'" are typically rendered asymmetrically nowadays.
13083 The typical gnulib style is to quote 'like this' when quoting
13084 code, and "like this" when quoting English.
13085
b99e4f78
PE
13086 * time/mktime.c (compile-command): Add "-I.".
13087
643e01e6
PE
13088 mktime: merge mktime-internal.h change from gnulib
13089 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13090
2554247d
PE
13091 mktime: merge time_r change from gnulib
13092 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13093
826dd0ab
PE
13094 mktime: merge DEBUG change from gnulib
13095 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13096 case system <time.h> has a #define.
13097
bd83aabe
PE
13098 mktime: merge <sys/types.h> change from gnulib
13099 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13100 since <time.t> is now guaranteed to define time_t.
13101
95770f14
PE
13102 mktime: merge HAVE_CONFIG_H change from gnulib
13103 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13104
5e1a27a9
L
131052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13106
0e44a77e
L
13107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13108 Use "neg %eax".
13109
5e1a27a9
L
13110 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13111 __rlim_t cast.
13112 (struct rusage): Use anonymous union to pad each field to
13113 __syscall_slong_t.
13114
46259bec
DM
131152012-05-21 David S. Miller <davem@davemloft.net>
13116
13117 * Makefules (o-iterator): Remove .s cases.
13118 (compile-command.s): Delete.
13119 (COMPILE.s): Delete.
13120 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13121
59f0c22e
JM
131222012-05-21 Joseph Myers <joseph@codesourcery.com>
13123
13124 * configure.in (libc_cv_predef_stack_protector): Only consider
13125 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13126 * configure: Regenerated.
13127
20c07380
L
131282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13129
bbb3154b
L
13130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13131 New macro. Use R*LP on int and pointer.
13132 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13133 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13134 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13135 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13136
20c07380
L
13137 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13138 [__WORDSIZE_TIME64_COMPAT32] instead of
13139 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13140 (struct utmp): Likewise.
13141 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13142 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13143 Renamed to ...
13144 (__WORDSIZE_TIME64_COMPAT32): This.
13145 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13146 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13147 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13148 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13149 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13150 (__WORDSIZE_TIME64_COMPAT32): New macro.
13151
d8d1017e
AJ
131522012-05-21 Andreas Jaeger <aj@suse.de>
13153
13154 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13155 only if [SHARED]. Add prototype for __wcschr_ia32.
13156
6c7fb145
RM
131572012-05-21 Roland McGrath <roland@hack.frob.com>
13158
13159 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13160 of %rbp unmolested in the jmp_buf while mangling the low bits.
13161 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13162 unmolested high bits of %rbp while demangling the low bits.
13163 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13164
66274218
AJ
131652012-05-21 Andreas Jaeger <aj@suse.de>
13166
07c58f8f
AJ
13167 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13168 * sunrpc/svc_simple.c: Use it for registerrpc.
13169 * sunrpc/xcrypt.c: Use it for passwd2des.
13170
66274218
AJ
13171 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13172
61f65140
L
131732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13174
13175 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13176 Don't define if [__SYSCALL_WORDSIZE != 32].
13177 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13178 New macro.
13179
5fefb436
AJ
131802012-05-21 Bruno Haible <bruno@clisp.org>
13181 Andreas Jaeger <aj@suse.de>
13182
13183 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13184 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13185 inptr and inend for must_buffer_ch.
13186 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13187 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13188 * stdio-common/Makefile (tests): Remove bug15.
13189 (bug15-ENV): Remove macro.
13190 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13191 anymore.
13192
d8e272ab
AJ
131932012-05-19 Andreas Jaeger <aj@suse.de>
13194 Roland McGrath <roland@hack.frob.com>
13195
13196 * manual/contrib.texi: Completely rewritten. It contains now an
13197 alphabetical list of contributors and their contributions.
13198
4a56a162
RH
131992012-05-21 Richard Henderson <rth@twiddle.net>
13200
13201 * misc/getauxval.c (__getauxval): Use unsigned long int.
13202 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13203 (getauxval): Use unsigned long int.
13204
d024d23c
L
132052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13206
13207 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13208
cbc00a03
RM
132092012-05-21 Roland McGrath <roland@hack.frob.com>
13210
13211 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13212 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13213 __alignof__ (long double).
13214
478143fa
AZ
132152012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13216
13217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13218
c7683a6d
RH
132192012-05-20 Richard Henderson <rth@twiddle.net>
13220
13221 * misc/getauxval.c: New file.
13222 * misc/sys/auxv.h: New file.
13223 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13224 (routines): Add getauxval.
13225 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13226 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13227 * elf/dl-sysdep.c (_dl_auxv): Remove.
13228 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13229 * elf/dl-support.c (_dl_auxv): New variable.
13230 (_dl_aux_init): Initialize it.
13231 * manual/startup.texi (Auxiliary Vector): New node.
13232 * sysdeps/generic/bits/hwcap.h: New file.
13233 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13234 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13235 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13236 * sysdeps/sparc/sysdep.h: ... here. Include it.
13237 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13238 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13240 Update.
c7683a6d
RH
13241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13244 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13249
a6f1845d
AZ
132502012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13251
13252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13253
cbcbe830
DM
132542012-05-19 David S. Miller <davem@davemloft.net>
13255
13256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13257
e0b16cc2
JM
132582012-05-19 Joseph Myers <joseph@codesourcery.com>
13259
13260 [BZ #14123]
13261 * math/s_ccosh.c: Include <float.h>
13262 (__ccosh): Avoid internal overflow calculating sinh and cosh
13263 values before multiplying by sin and cos values.
13264 * math/s_ccoshf.c: Likewise.
13265 * math/s_ccoshl.c: Likewise.
13266 * math/s_csin.c: Likewise.
13267 * math/s_csinf.c: Likewise.
13268 * math/s_csinl.c: Likewise.
13269 * math/s_csinh.c: Likewise.
13270 * math/s_csinhf.c: Likewise.
13271 * math/s_csinhl.c: Likewise.
13272 * math/libm-test.inc (ccos_test): Add more tests.
13273 (ccosh_test): Likewise.
13274 (csin_test): Likewise.
13275 (csinh_test): Likewise.
13276 * sysdeps/i386/fpu/libm-test-ulps: Update.
13277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13278
6ad13e08
L
132792012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13280
f66f0ce8
L
13281 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13282 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13283
6ad13e08
L
13284 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13285
b1d072a7
JM
132862012-05-19 Joseph Myers <joseph@codesourcery.com>
13287
13288 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13289 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13290 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13291 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13292 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13293 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13294 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13295 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13296 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13297 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13298 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13299 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13300 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13301 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13302 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13303 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13304 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13305 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13306 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13307 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13308 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13309 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13310 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13311 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13312 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13313 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13314 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13315 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13316 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13317 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13318 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13319
9eae47cb
AJ
133202012-05-18 Andreas Jaeger <aj@suse.de>
13321
13322 * csu/.gitignore: Delete.
13323
bb07f69f
L
133242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13325
13326 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13327 (timex): Use __syscall_slong_t.
13328
e6bdb741
AJ
133292012-05-18 Andreas Jaeger <aj@suse.de>
13330 Carlos O'Donell <carlos_odonell@mentor.com>
13331
13332 * manual/install.texi (Configuring and compiling): Update
13333 description about files modified in the source directory.
d6c33fda 13334 * INSTALL: Regenerated.
e6bdb741 13335
1b74487e
L
133362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13337
13338 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13339 value. Use "or" to set return value to -1.
13340 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13341 negate return value.
13342
a88b64b9
TMQMF
133432012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13344
13345 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13346 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13347 failure if the compiler has Graphite support disabled.
13348 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13349 Likewise.
13350 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13351 CFLAGS-memmove.c): Likewise.
13352 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13353 Likewise.
13354
3707636e
L
133552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13356
610b8622
L
13357 * sysdeps/x86_64/x32/_itoa.h: New file.
13358
7cd195df
L
13359 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13360 getdents system call only if kernel and user dirents have the
13361 same d_ino and d_off.
13362
94b07d20
L
13363 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13364 LLONG_MAX != LONG_MAX.
13365 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13366 (_fitoa_word): Likewise.
13367
18298070
L
13368 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13369 years.
13370 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13371 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13372 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13373
553c7ea4
L
13374 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13375 include <bits/wordsize.h>. Check __x86_64__ instead of
13376 __WORDSIZE.
13377 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13378 if __x86_64__ is defined. Use anonymous union on fpstate.
13379
3707636e
L
13380 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13381 anonymous union.
13382
b53ef01a
AS
133832012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13384
37fb1dc0
AS
13385 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13386 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13387 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13388 Refer to _rtld_local_ro instead of _rtld_global_ro.
13389 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13390 Likewise.
13391 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13392 Likewise.
13393 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13394 Likewise.
13395 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13396 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13397 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13398
b53ef01a
AS
13399 * sysdeps/powerpc/powerpc32/dl-machine.c
13400 (__elf_machine_runtime_setup) [PROF]: Don't reference
13401 _dl_prof_resolve.
13402
7a185db2
AJ
134032012-05-18 Andreas Jaeger <aj@suse.de>
13404
13405 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13406 function only available for GCCs before 3.4 since GCC 3.4
13407 introduced a builtin.
13408 (lrint): Likewise.
13409 (llrintf): Likewise.
13410 (llrint): Likewise.
13411 (fmaxf): Likewise.
13412 (fmax): Likewise.
13413 (fminf): Likewise.
13414 (fmin): Likewise.
13415 (rint): Likewise.
13416 (rintf): Likewise.
13417 (nearbyint): Likewise.
13418 (nearbyintf): Likewise.
13419 (ceil): Likewise.
13420 (ceilf): Likewise.
13421 (floor): Likewise.
13422 (floorf): Likewise.
13423
3e5aef87
L
134242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13425
428bd707
L
13426 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13427 on both fields and cast pointer to __syscall_ulong_t.
13428
3e5aef87
L
13429 * bits/types.h (__fsword_t): New type.
13430 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13431 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13432 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13433 (__FSWORD_T_TYPE): Likewise.
13434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13435 (__FSWORD_T_TYPE): Likewise.
13436 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13437 (__FSWORD_T_TYPE): Likewise.
13438 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13439 (__FSWORD_T_TYPE): Likewise.
13440 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13441 __SWORD_TYPE with __fsword_t.
13442 (statfs64): Likewise.
13443
1ba7c3dc
DM
134442012-05-17 David S. Miller <davem@davemloft.net>
13445
13446 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13447
59910343
AJ
134482012-05-17 Andreas Jaeger <aj@suse.de>
13449
13450 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13451 warning.
13452
2e4c1e9e
L
134532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13454
13455 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13456
de7f5ce7
AJ
134572012-05-17 Andreas Jaeger <aj@suse.de>
13458
13459 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13460 when it is used.
13461
286abc3d
CM
134622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13463
13464 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13465
477cc68e
L
134662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13467
13468 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13469 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13470
1a0994f5
CD
134712012-05-17 Andreas Jaeger <aj@suse.de>
13472 Carlos O'Donell <carlos_odonell@mentor.com>
13473
13474 [BZ #14059]
13475 * sysdeps/x86_64/multiarch/init-arch.h
13476 (bit_YMM_Usable): Rename to...
13477 (bit_AVX_Usable): ... this.
13478 (bit_FMA4_Usable): New macro.
13479 (bit_XMM_state): New macro.
13480 (bit_YMM_state): New macro.
13481 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13482 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13483 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13484 (CPUID_OSXSAVE): New macro.
13485 (CPUID_AVX): New macro.
13486 (CPUID_FMA4): New macro.
13487 (index_YMM_Usable): Rename to...
13488 (index_AVX_Usable): ... this.
13489 (HAS_AVX): Use HAS_ARCH_FEATURE.
13490 (HAS_FMA4): Likewise.
13491 (HAS_YMM_USABLE): Remove.
13492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13493 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13494 are present.
13495 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13496 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13497 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13498 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13499 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13500
0af797de
CM
135012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13502
13503 * math/libm-test.c: Support platforms without multiple rounding modes.
13504 * math/bug-nextafter.c: Support platforms without FP exceptions.
13505 * math/bug-nexttoward.c: Likewise.
13506 * math/test-fenv.c: Likewise.
13507 * math/test-misc.c: Likewise.
13508 * stdlib/bug-getcontext.c: Likewise.
13509
e39745ff
AJ
135102012-05-17 Andreas Jaeger <aj@suse.de>
13511
13512 * manual/examples/search.c (critter_cmp): Change signature to
13513 avoid warnings.
13514 * manual/string.texi (Collation Functions): Likewise.
13515
48970aba
L
135162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13517
13518 * bits/types.h: Fold copyright years.
13519 * bits/typesizes.h: Likewise.
13520 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13521 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13522 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13523 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13524 * time/time.h: Likewise.
13525
bedee953
PP
135262012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13527
13528 [BZ #208]
13529 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13530 in instead of returning them. Return void.
13531 (__libc_mallinfo): Accumulate over all arenas.
13532 (__malloc_stats): Adjust for change in int_mallinfo interface.
13533
61653dfb
RM
135342012-05-16 Roland McGrath <roland@hack.frob.com>
13535
30b99d79
RM
13536 [BZ #10375]
13537 * configure.in (NM): Add AC_CHECK_TOOL for it.
13538 (libc_extra_cflags): New substituted variable.
13539 Check for -fstack-protector being used implicitly.
13540 * configure: Regenerated.
13541 * config.make.in (config-extra-cflags): New variable,
13542 gets @libc_extra_cflags@.
13543 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13544
61653dfb
RM
13545 [BZ #10375]
13546 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13547 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13548 * configure: Regenerated.
13549 * config.make.in (CPPUNDEFS): New substituted variable.
13550 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13551 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13552 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13553
661768bb
L
135542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13555
13556 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13557 (mq_attr): Use __syscall_slong_t.
13558
d4261567
L
135592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13560
13561 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13562 Check __x86_64__ instead of __WORDSIZE.
13563 (_STAT_VER_LINUX): Likewise.
13564 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13565 __syscall_ulong_t and __syscall_slong_t.
13566 (stat64): Likewise.
13567
cf3ff365
L
135682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13569
13570 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13571
76cf3e4d
L
135722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13573
13574 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13575
a637753a
L
135762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13577
13578 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13579 __syscall_ulong_t.
13580
d5e05119
L
13581 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13582 include <bits/wordsize.h>. Check __x86_64__ instead of
13583 __WORDSIZE.
13584 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13585 defined.
13586 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13587
f62ee380
L
13588 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13589 include <bits/wordsize.h>. Check __x86_64__ instead of
13590 __WORDSIZE.
13591 (user_regs_struct): Use "__extension__ unsigned long long"
13592 instead of "unsigned long" if __x86_64__ is defined.
13593 (user): Likewise. Pad after pointer field if __ILP32__ is
13594 defined.
13595
4e124ced
JM
135962012-05-16 Joseph Myers <joseph@codesourcery.com>
13597
6a3951a0
JM
13598 * configure.in (makeinfo): Require version 4.5 or later. Allow
13599 versions 5 to 9.
13600 * configure: Regenerated.
13601 * manual/install.texi (texinfo): Increase version requirement to
13602 4.5 or later.
13603 * INSTALL: Regenerated.
13604
4e124ced
JM
13605 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13606
953ca31a
L
136072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13608
13609 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13610
617aca05
L
13611 * sysdeps/x86_64/x32/ffs.c: New file.
13612
5762f7ae
L
13613 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13614 __syscall_ulong_t.
13615 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13616 defined. Use __syscall_ulong_t.
13617 (shminfo): Use __syscall_ulong_t.
13618 (shm_info): Likewise.
13619
a26b6856
L
13620 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13621 __syscall_ulong_t.
13622
cb2b9ef7
L
13623 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13624 <bits/wordsize.h>.
13625 (msgqnum_t): Use __syscall_ulong_t.
13626 (msglen_t): Likewise.
13627 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13628 __syscall_ulong_t.
13629
34683bb0
L
13630 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13631 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13632
84a68786
L
13633 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13634
48baa5f1
L
13635 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13636 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13637
180be88b
L
13638 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13639 __syscall_slong_t.
13640
5e90c8ad
L
13641 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13642 include <bits/wordsize.h>. Check __x86_64__ instead of
13643 __WORDSIZE.
13644
23dfb58b
L
13645 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13646 "unsigned long long int" if __x86_64__ is defined.
13647 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13648
ce5d54b0
L
13649 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13650 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13651 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13652
13dc9eac
L
13653 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13654 <stdint.h>.
13655 (GET_PC): Cast to uintptr_t first.
13656 (GET_FRAME): Likewise.
13657 (GET_STACK): Likewise.
13658
a7895d15
L
13659 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13660 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13661 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13662 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13663 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13664 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13665 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13666 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13667 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13668 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13669 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13670 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13671 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13672 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13673 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13674 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13675 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13676 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13677 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13678 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13679 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13680 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13681 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13682 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13683 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13684 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13685 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13686 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13687 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13688
656416c9
AS
136892012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13690
5bd66283
AS
13691 * Makerules (+depfiles): Also collect depfiles from .oS in
13692 $(extra-objs).
13693 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13694 .oS, $(libnldbl-routines)).
13695
656416c9
AS
13696 * Makerules (native-compile-mkdep-flags): Define.
13697 * sunrpc/Makefile (extra-objs): Add $(addprefix
13698 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13699 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13700 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13701 calling $(make-target-directory).
13702
a46f2169
L
137032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13704
13705 * bits/types.h (__snseconds_t): Removed.
13706 * time/time.h (struct timespec): Replace __snseconds_t with
13707 __syscall_slong_t.
13708 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13709 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13710 Likewise.
13711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13712 (__SNSECONDS_T_TYPE): Likewise.
13713 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13714 (__SNSECONDS_T_TYPE): Likewise.
13715 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13716 (__SNSECONDS_T_TYPE): Likewise.
13717
6af6528b
L
137182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13719
13720 * sysdeps/mach/hurd/bits/typesizes.h
13721 (__SYSCALL_SLONG_TYPE): New macro.
13722 (__SYSCALL_ULONG_TYPE): Likewise.
13723
de986b56
L
137242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13725
13726 * bits/types.h (__syscall_slong_t): New type.
13727 (__syscall_ulong_t): Likewise.
13728
13729 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13730 (__SYSCALL_ULONG_TYPE): Likewise.
13731 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13732 (__SYSCALL_SLONG_TYPE): Likewise.
13733 (__SYSCALL_ULONG_TYPE): Likewise.
13734 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13735 (__SYSCALL_SLONG_TYPE): Likewise.
13736 (__SYSCALL_ULONG_TYPE): Likewise.
13737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13738 (__SYSCALL_SLONG_TYPE): Likewise.
13739 (__SYSCALL_ULONG_TYPE): Likewise.
13740
85736dc7
L
137412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13742
13743 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13744 Add sigaltstack-offsets.sym.
13745 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13746 <sigaltstack-offsets.h>.
13747 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13748 longjmp_msg pointer.
13749 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13750 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13751 signal stack.
13752 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13753
cc03b296
JM
137542012-05-15 Joseph Myers <joseph@codesourcery.com>
13755
a9538892
JM
13756 * elf/stackguard-macros.h: Remove file.
13757 * sysdeps/generic/stackguard-macros.h: New file.
13758 * sysdeps/i386/stackguard-macros.h: Likewise.
13759 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13760 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13761 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13762 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13763 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13764 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13765 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13766 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13767 <elf/stackguard-macros.h>.
13768
cc03b296
JM
13769 [BZ #14109]
13770 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13771 __aligned__ in attribute.
13772 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13773 (gregset_t): Likewise.
13774
93171016
L
137752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13776
13777 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13778 * sysdeps/x86_64/64/Implies-after: Here. New file.
13779 * sysdeps/x86_64/x32/Implies-after: New file.
13780
d86813a0
L
137812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13782
13783 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13784 and access return value for _dl_profile_fixup. Use R10_LP to
13785 load frame size.
13786
2953ec75
L
137872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13788
13789 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13790
3b550e9e
L
137912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13792
13793 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13794 * sysdeps/x86_64/x32/sysdep.h: New file.
13795
eda41706
L
137962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13797
13798 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13799 * sysdeps/x86_64/setjmp.S: Likewise.
13800
9ea01d93
AZ
138012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13802
13803 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13804 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13805 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13806 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13807 remove unused global constant.
13808
02a91938
CM
138092012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13810
13811 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13812 include of <not-cancel.h>.
13813
6540185f
RM
138142012-05-15 Roland McGrath <roland@hack.frob.com>
13815
13816 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13817
509072a0
AJ
138182012-05-15 Jeff Law <law@redhat.com>
13819 Andreas Jaeger <aj@suse.de>
13820
13821 [BZ #13594]
13822 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13823 out from...
13824 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13825 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13826 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13827 code changing __hst_map_handle.map.
13828
ba75122d
RM
138292012-05-15 Roland McGrath <roland@hack.frob.com>
13830
13831 * configure.in (sysnames): Look for Implies-before and Implies-after
13832 files.
13833 * configure: Regenerated.
13834
890d8bd8
L
138352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13836
13837 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13838 8-byte data alignment with LP_SIZE alignment.
13839
f6ee6623
L
138402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13841
13842 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13843 into R10_LP.
13844
ea2626f6
L
138452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13846
13847 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13848
085f715e
L
138492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13850
13851 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13852 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13853 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13854 Likewise.
13855 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13856
be8498fc
L
138572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13858
13859 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13860 (stackinfo_sub_sp): Likewise.
13861
70bc83b9
L
138622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13863
13864 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13865 RAX_LP.
13866
9bc0b730
L
138672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13868
13869 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13870 into R*_LP.
13871
6d2850e7
L
138722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13873
13874 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13875 sizes into R*_LP.
13876
3cb84561
L
138772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13878
13879 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13880
54e2ed81
L
138812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13882
13883 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13884 into R11_LP and load __x86_64_shared_cache_size_half into
13885 R8_LP.
13886
8a17f349
L
138872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13888
13889 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13890 R8_LP.
13891
777b1eea
AZ
138922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13893
13894 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13895 logb for POWER7.
13896 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13897 logbf for POWER7.
13898 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13899 logbl for POWER7.
13900 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13901 powerpc32/power7/fpu/s_logb.c via #include.
13902 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13903 powerpc32/power7/fpu/s_logbf.c via #include.
13904 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13905 powerpc32/power7/fpu/s_logbl.c via #include.
13906
d20d4ac2
JM
139072012-05-15 Joseph Myers <joseph@codesourcery.com>
13908
13909 * README.libm: Remove file.
13910
6cdef1ab
L
139112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13912
13913 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13914 count for x32. Use R*_LP and omit operand-size suffix.
13915
0b254d8f
L
139162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13917
13918 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13919 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13920 * sysdeps/x86_64/x32/shlib-versions: New file.
13921
ceb809dc
RM
139222012-05-14 Roland McGrath <roland@hack.frob.com>
13923
13924 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13925 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13926 Use _dl_fatal_printf instead.
13927
37f1abd4
JM
139282012-05-14 Joseph Myers <joseph@codesourcery.com>
13929
13930 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13931 set if not set by the user. Do not allow for being unset.
13932 * sysdeps/unix/sysv/linux/configure: Regenerated.
13933
11de3a33
L
139342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13935
13936 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13937 the `q' suffix from lea and replace .quad with ASM_ADDR.
13938
e02f153a
L
139392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13940
13941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13942 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13943 instead of $17.
13944 (PTR_DEMANGLE): Likewise.
13945
520ae0fd
L
139462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13947
13948 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13949 (LP_OP): Likewise.
13950 (ASM_ADDR): Likewise.
13951 (RAX_LP): Likewise.
13952 (RBP_LP): Likewise.
13953 (RBX_LP): Likewise.
13954 (RCX_LP): Likewise.
13955 (RDI_LP): Likewise.
13956 (RSI_LP): Likewise.
13957 (RSP_LP): Likewise.
13958 (R8_LP): Likewise.
13959 (R9_LP): Likewise.
13960 (R10_LP): Likewise.
13961 (R10_LP): Likewise.
13962 (R11_LP): Likewise.
13963 (R12_LP): Likewise.
13964 (R13_LP): Likewise.
13965 (R14_LP): Likewise.
13966 (R15_LP): Likewise.
13967
b985be81
L
139682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13969
13970 * sysdeps/x86_64/x32/dl-machine.h: New file.
13971
6a4888ff
AJ
139722012-05-14 Andreas Jaeger <aj@suse.de>
13973
13974 * manual/Makefile (subdir): Remove export of subdir.
13975 (all): Remove target.
13976 (.PHONY): Remove all from list.
13977 (mkinstalldirs): Remove.
13978 (.PHONY): Remove installdirs from list.
13979 ($(inst_infodir)/libc.info): Use make-target-directory.
13980 (installdirs): Remove.
13981 (subdir_%): Remove.
13982 (glibc-targets): Remove.
13983 (lib): Remove.
13984 (stubs): Remove.
13985 ($(objpfx)stubs ../po/manual.pot): Remove.
13986 ($(objpfx)stamp%): Remove.
13987 (make-target-directory): Remove.
13988 (subdir_install): Remove.
13989 (routines): Remove.
13990 (aux): Remove.
13991 (sources): Remove.
13992 (objects): Remove.
13993 (headers): Remove.
13994
13995 [BZ #13750]
13996 * manual/.gitignore: Remove, it's not needed anymore.
13997 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13998 all files in it.
13999 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14000 directory.
14001 (texis): Renamed to $(objpfx)texis.
14002 (texis-path): New, contains path to generated files.
14003 (chapters.%): Use texis-path for complete path, add extra argument
14004 libc-texinfo.sh.
14005 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14006 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14007 (summary,texi, stamp-summary): Use complete path of
14008 files. Generate files in build dir.
14009 (dir-add.texi): Build in build dir.
14010 (libm-err.texi,stamp-libm-err): Likewise.
14011 (version.texi, stamp-version): Likewise.
14012 (.%c.texi): Likewise.
14013 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14014 (mostlyclean): Remove target.
14015 (realclean): Remove target.
14016 (generated): Add new variable with contents from mostlyclean and
14017 realclean, remove entries duplicated in common-mostlyclean, add
14018 stamp-libm-err and stamp-version.
14019 (generated-dirs): Add libc directory.
14020 ($(inst_infodir)/libc.info): Install files from build dir.
14021
14022 * manual/install.texi (Configuring and compiling): Adjust since
14023 the info files are not part of the tar ball anymore.
14024
7ac77294
AJ
140252012-05-14 Andreas Jaeger <aj@suse.de>
14026
14027 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14028 variable.
14029
ffb7875d
JM
140302012-05-14 Joseph Myers <joseph@codesourcery.com>
14031
14032 [BZ #13717]
14033 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14034 to 2.2.0 where earlier.
14035 * sysdeps/unix/sysv/linux/configure: Regenerated.
14036 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14037 Remove conditional code.
14038 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14039 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14040 Remove conditional code.
14041 [!__NR_lchown]: Likewise.
14042 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14043 [__NR_lchown]: Likewise.
14044 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14045 comment referencing __ASSUME_LCHOWN_SYSCALL.
14046 * sysdeps/unix/sysv/linux/i386/sigaction.c
14047 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14048 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14049 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14050 Remove conditional code.
14051 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14052 (__protocol_available): Remove #if 0 code.
14053 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14054 conditional code.
14055 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14056 * sysdeps/unix/sysv/linux/kernel-features.h
14057 (__ASSUME_GETCWD_SYSCALL): Don't define.
14058 (__ASSUME_REALTIME_SIGNALS): Likewise.
14059 (__ASSUME_PREAD_SYSCALL): Likewise.
14060 (__ASSUME_PWRITE_SYSCALL): Likewise.
14061 (__ASSUME_POLL_SYSCALL): Likewise.
14062 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14063 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14064 non-SPARC.
14065 (__ASSUME_SIOCGIFNAME): Don't define.
14066 (__ASSUME_MSG_NOSIGNAL): Likewise.
14067 (__ASSUME_SENDFILE): Define unconditionally.
14068 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14069 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14070 conditional code.
14071 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14072 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14073 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14074 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14075 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14076 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14077 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14079 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14080 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14082 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14083 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14085 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14086 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14088 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14089 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14091 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14092 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14094 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14095 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14097 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14098 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14100 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14102 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14103 Remove conditional code.
14104 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14105 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14106 Remove conditional code.
14107 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14108 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14109 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14110 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14111 Remove conditional code.
14112 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14113 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14114 Remove conditional code.
14115 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14116 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14117 Remove conditional code.
14118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14119 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14120 Remove conditional code.
14121 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14122 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14123 Remove conditional code.
14124 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14125 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14126 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14127 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14128 * sysdeps/unix/sysv/linux/sigaction.c
14129 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14130 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14131 * sysdeps/unix/sysv/linux/sigpending.c
14132 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14133 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14134 * sysdeps/unix/sysv/linux/sigprocmask.c
14135 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14136 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14137 * sysdeps/unix/sysv/linux/sigsuspend.c
14138 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14139 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14140 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14141 (__libc_missing_rt_sigs): Remove.
14142 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14143 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14144 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14145 Remove conditional code.
14146 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14147 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14148 return 1.
14149 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14150 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14151 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14152 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14153
1bfb7291
AJ
141542012-05-14 Andreas Jaeger <aj@suse.de>
14155
caae5a81
AJ
14156 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14157 it's not used in glibc.
14158 (__coshm1): Likewise.
14159 (__acosh1p): Likewise.
14160 (__sgn): Likewise.
14161
1bfb7291
AJ
14162 * manual/string.texi (Copying and Concatenation): Add missing
14163 variable in concat example.
14164 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14165
c044d724
L
141662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14167
144c5467 14168 [BZ #14103]
c044d724
L
14169 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14170 __builtin_clzl with __builtin_clzll.
14171
2523c62b
L
141722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14173
14174 [BZ #14104]
14175 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14176 libc_freeres_ptr.
14177
d7bb4c42
LD
141782012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14179
14180 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14181 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14182 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14183 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14184
9dc4e1fb
MF
141852012-05-14 Mike Frysinger <vapier@gentoo.org>
14186
14187 * NEWS: Update ia64 info.
14188
c7df0112
AS
141892012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14190
14191 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14192 used as bcopy.
14193
dc70356c
TS
141942012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14195
14196 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14197 * sysdeps/unix/syscalls.list (dup3): Likewise.
14198 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14199 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14200
9fb1a21f
L
142012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14202
14203 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14204 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14205
4822a2a5
L
142062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14207
14208 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14209 thread pointer.
14210 (TLS_IE): Use mov/add instead of movq/addq to load thread
14211 pointer.
14212 (TLS_GD_PREFIX): New.
14213 (TLS_GD): Use it.
14214
842b81d6
DM
142152012-05-11 David S. Miller <davem@davemloft.net>
14216
14217 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14218 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14219 (_FPU_SETCW): Likewise.
14220
1cf463cd
L
142212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14222
14223 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14224 is 32-byte aligned.
14225
60cc4a18
AS
142262012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14227
14228 [BZ #11837]
14229 * iconvdata/gb18030.c: Update tables.
14230 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14231 characters specially.
14232 (BODY for TO_LOOP): Add encoding of missing ranges.
14233
febb44a4
TS
142342012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14235
14236 [BZ #13673]
14237 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14238 * sysdeps/mach/hurd/dup3.c: Likewise.
14239 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14240 * sysdeps/powerpc/memmove.c:: Likewise.
14241
0a10fb9e
L
142422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14243
14244 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14245 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14246
df8a552f
L
142472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14248
14249 * elf/elf.h (R_X86_64_RELATIVE64): New.
14250 (R_X86_64_NUM): Updated.
14251 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14252 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14253 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14254 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14255 tst-quad1pie tst-quad2pie
14256 (modules-names): Add tst-quadmod1 tst-quadmod2.
14257 ($(objpfx)tst-quad1): New dependency.
14258 ($(objpfx)tst-quad2): Likewise.
14259 ($(objpfx)tst-quad1pie): Likewise.
14260 ($(objpfx)tst-quad2pie): Likewise.
14261 * sysdeps/x86_64/tst-quad1.c: New file.
14262 * sysdeps/x86_64/tst-quad1pie.c: New file.
14263 * sysdeps/x86_64/tst-quad2.c: Likewise.
14264 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14265 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14266 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14267 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14268 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14269
f34d6f84
ST
142702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14271
f42d41d1
ST
14272 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14273 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14274 * streams/stropts.h (t_scalar_t): Define type.
14275
3c3571fc
ST
14276 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14277 (_PATH_PRESERVE): Set to "/var/lib".
14278 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14279
61f06bd3
ST
14280 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14281 instead of int.
14282
918d4d71
ST
14283 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14284 if __dir_mkfile succeeded.
14285
f34d6f84
ST
14286 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14287 checking for _hurd_dtablesize. Unlock it right after having
14288 finished _hurd_dtable allocation.
14289
10589b4a
TS
142902012-05-10 Thomas Schwinge <thomas@schwinge.name>
14291
674cdbc7
TS
14292 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14293 * sysdeps/mach/hurd/configure: Regenerated.
14294 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14295 special-casing to...
14296 * sysdeps/gnu/configure.in: ... this new file.
14297 * sysdeps/unix/sysv/linux/configure: Regenerated.
14298 * sysdeps/gnu/configure: New generated file.
14299
8e41b99f
TS
14300 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14301 for Linux: use nsec instead of usec, as well as:
14302 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14303 members of type struct timespec.
14304 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14305 New macros.
14306 (struct stat64): Likewise.
14307 (_STATBUF_ST_NSEC): New macro.
14308 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14309
10589b4a
TS
14310 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14311 __strtoul_internal rather than strtoul.
14312
63643c85
PT
143132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14314
14315 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14316 and reject them.
14317
3faebe6a
ST
143182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14319
14320 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14321 which preserves existing values.
14322 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14323
c6474b07
PT
143242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14325
14326 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14327 TIMEOUT values. Return EINVAL for NFDS values either negative or
14328 greater than FD_SETSIZE.
14329
1043890b
ST
143302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14331
14332 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14333 allocated, call __vm_protect to finish enabling the existing space, and
14334 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14335 allocate the remainder.
14336
37ed8b9b
PT
143372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14338
14339 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14340 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14341
db653660
ST
143422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14343
37ed8b9b
PT
14344 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14345 sysdeps/mach/hurd/readlink.c.
b29d4053 14346
db653660
ST
14347 * posix/tst-sysconf.c (posix_options): Only use
14348 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14349 _POSIX_SYNCHRONIZED_IO when they are defined
14350 * sysdeps/mach/hurd/bits/posix_opt.h:
14351 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14352 (_XOPEN_REALTIME): Undefine macro.
14353 (_XOPEN_REALTIME_THREADS): Undefine macro.
14354 (_XOPEN_SHM): Undefine macro.
14355 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14356 macro to -1.
14357 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14358 macro to -1.
14359 (_POSIX_ASYNC_IO): Undefine macro.
14360 (_POSIX_PRIORITIZED_IO): Undefine macro.
14361 (_POSIX_SPIN_LOCKS): Define macro to -1.
14362
ee16e894
ST
14363 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14364 SA_NODEFER, SA_RESETHAND.
14365 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14366 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14367 F_DUPFD_CLOEXEC.
14368
6103ae3b
TS
143692012-05-10 Thomas Schwinge <thomas@schwinge.name>
14370
14371 * elf/Makefile (pldd-modules): Define unconditionally.
14372
80b4e5f3
TS
143732012-05-10 Thomas Schwinge <thomas@schwinge.name>
14374
14375 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14376
edadcbd6
ST
143772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14378
14379 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14380 Return ENOENT when name is empty.
14381 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14382
80694780
TS
143832012-05-10 Thomas Schwinge <thomas@schwinge.name>
14384
1792c087
TS
14385 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14386
80694780
TS
14387 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14388
6b645f0d
ST
143892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14390
80694780
TS
14391 Fix mlock in all cases except non-readable pages.
14392 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14393 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14394
6b645f0d
ST
14395 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14396 (__mkdir): When path is `/', just fail with EEXIST.
14397 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14398
e468f8a3
TS
143992012-05-10 Thomas Schwinge <thomas@schwinge.name>
14400
14401 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14402 <sys/uio.h> (for writev).
14403 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14404 and <sys/param.h> (for MIN).
14405
a4186cff
PT
144062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14407
14408 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14409 REQUESTED_TIME. Properly set the remaining time and return EINTR
14410 if interrupted.
14411
510bbf14
TS
144122012-05-10 Thomas Schwinge <thomas@schwinge.name>
14413
14414 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14415 Depend on against $(link-rpcuserlibs).
14416
5d5722e8
ST
144172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14418
a4186cff
PT
14419 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14420 (__libc_stack_end): Do not use attribute_relro.
14421 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14422 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14423 to libthread-provided value.
a4186cff
PT
14424 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14425 attribute_relro.
5d5722e8 14426
37233df9
TS
144272012-05-10 Thomas Schwinge <thomas@schwinge.name>
14428
be971a2b
TS
14429 [BZ #3748]
14430 * bits/libc-lock.h (__libc_once_get): New macro.
14431 * sysdeps/mach/bits/libc-lock.h: Likewise.
14432 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14433 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14434 instead of using implementation details.
14435
37233df9
TS
14436 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14437 * libio/freopen.c: Likewise.
14438 * libio/freopen64.c: Likewise.
14439 * misc/syslog.c: Likewise.
14440 * nscd/connections.c: Likewise.
14441 * nscd/netgroupcache.c: Likewise.
14442 * sysdeps/posix/getcwd.c: Likewise.
14443
38de94a5
RM
144442012-05-10 Roland McGrath <roland@hack.frob.com>
14445
14446 * math/w_ilogbf.c: Add #include <limits.h>.
14447
67530489
ST
144482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14449
a4186cff 14450 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14451 path instead of returning without unlocking.
14452
67530489
ST
14453 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14454 immediate-write ioctls.
14455 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14456
5aa3a74a
TS
144572012-05-10 Thomas Schwinge <thomas@schwinge.name>
14458
18bad2ae
TS
14459 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14460 __builtin_frame_address instead of making assumptions about the
14461 location of the return address relative to DATA. Force early load of
14462 the return address.
14463 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14464 __builtin_frame_address.
14465
5aa3a74a
TS
14466 dup3 for GNU Hurd.
14467 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14468 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14469 implement dup3 and do some further code clean-ups.
14470 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14471 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14472
ecd0de9a
ST
144732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14474
cd9fa985
ST
14475 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14476
a4186cff
PT
14477 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14478 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14479 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14480 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14481 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14482 d->port.lock.
802ca5a5 14483
a4186cff
PT
14484 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14485 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14486 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14487
bcf55240
TS
144882012-05-10 Thomas Schwinge <thomas@schwinge.name>
14489
6960eb42
TS
14490 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14491 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14492 definitions.
14493
eb43375f
TS
14494 accept4 for GNU Hurd.
14495 * include/sys/socket.h (__libc_accept4): New prototype.
14496 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14497 to implement __libc_accept4.
14498 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14499 __libc_accept4.
14500 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14501
bcf55240
TS
14502 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14503 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14504 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14505 signal-defines.sym.
14506
6178c55b
ST
145072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14508
a4186cff 14509 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14510
6f080c2f
TS
145112012-05-10 Thomas Schwinge <thomas@schwinge.name>
14512
14513 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14514 assertion on O_CLOEXEC flag.
14515 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14516 * hurd/intern-fd.c: Likewise.
14517 * hurd/port2fd.c: Likewise.
14518
bcfe3a54
ST
145192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14520
14521 [BZ #3906]
14522 * bits/in.h (IPV6_PKTINFO): Define new macro.
14523 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14524
89c9aa49
AZ
145252012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14526
14527 [BZ #13954]
14528 [BZ #13955]
14529 [BZ #13956]
14530 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14531 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14532 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14533 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14534 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14535 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14536 * math/libm-test.inc (logb_test) : Additional logb tests.
14537
021db4be
AJ
145382012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14539 Andreas Jaeger <aj@suse.de>
14540
14541 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14542 * configure: Regenerated.
14543 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14544 * config.make.in (link-obsolete-rpc): New substituted variable.
14545 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14546 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14547 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14548 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14549 so that libc.a contains the symbols.
14550 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14551 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14552 * sunrpc/auth_none.c: Likewise.
14553 * sunrpc/auth_unix.c: Likewise.
14554 * sunrpc/authdes_prot.c: Likewise.
14555 * sunrpc/authuxprot.c: Likewise.
14556 * sunrpc/clnt_gen.c: Likewise.
14557 * sunrpc/clnt_perr.c: Likewise.
14558 * sunrpc/clnt_raw.c: Likewise.
14559 * sunrpc/clnt_simp.c: Likewise.
14560 * sunrpc/clnt_tcp.c: Likewise.
14561 * sunrpc/clnt_udp.c: Likewise.
14562 * sunrpc/clnt_unix.c: Likewise.
14563 * sunrpc/des_crypt.c: Likewise.
14564 * sunrpc/des_soft.c: Likewise.
14565 * sunrpc/get_myaddr.c: Likewise.
14566 * sunrpc/key_call.c: Likewise.
14567 * sunrpc/key_prot.c: Likewise.
14568 * sunrpc/netname.c: Likewise.
14569 * sunrpc/pm_getmaps.c: Likewise.
14570 * sunrpc/pm_getport.c: Likewise.
14571 * sunrpc/pmap_clnt.c: Likewise.
14572 * sunrpc/pmap_prot.c: Likewise.
14573 * sunrpc/pmap_prot2.c: Likewise.
14574 * sunrpc/pmap_rmt.c: Likewise.
14575 * sunrpc/publickey.c: Likewise.
14576 * sunrpc/rpc_cmsg.c: Likewise.
14577 * sunrpc/rpc_common.c: Likewise.
14578 * sunrpc/rpc_dtable.c: Likewise.
14579 * sunrpc/rpc_prot.c: Likewise.
14580 * sunrpc/rpc_thread.c: Likewise.
14581 * sunrpc/rtime.c: Likewise.
14582 * sunrpc/svc.c: Likewise.
14583 * sunrpc/svc_auth.c: Likewise.
14584 * sunrpc/svc_raw.c: Likewise.
14585 * sunrpc/svc_run.c: Likewise.
14586 * sunrpc/svc_tcp.c: Likewise.
14587 * sunrpc/svc_udp.c: Likewise.
14588 * sunrpc/svc_unix.c: Likewise.
14589 * sunrpc/svcauth_des.c: Likewise.
14590 * sunrpc/xcrypt.c: Likewise.
14591 * sunrpc/xdr.c: Likewise.
14592 * sunrpc/xdr_array.c: Likewise.
14593 * sunrpc/xdr_float.c: Likewise.
14594 * sunrpc/xdr_intXX_t.c: Likewise.
14595 * sunrpc/xdr_mem.c: Likewise.
14596 * sunrpc/xdr_rec.c: Likewise.
14597 * sunrpc/xdr_ref.c: Likewise.
14598 * sunrpc/xdr_sizeof.c: Likewise.
14599 * sunrpc/xdr_stdio.c: Likewise.
14600
b5c086a2
RM
146012012-05-10 Roland McGrath <roland@hack.frob.com>
14602
14603 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14604 change. Update copyright years.
14605
6d74dd09
JM
146062012-05-10 Joseph Myers <joseph@codesourcery.com>
14607
14608 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14609
28e72501
MK
146102012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14611 Joseph Myers <joseph@codesourcery.com>
14612 Paul Pluzhnikov <ppluzhnikov@google.com>
14613
14614 [BZ #14012]
14615 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14616 requiring rpcgen.
14617 [cross-compiling] (extra-libs): Likewise.
14618 [cross-compiling] (extra-libs-others): Likewise.
14619 [cross-compiling] (librpcsvc-routines): Likewise.
14620 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14621 [cross-compiling] (omit-deps): Likewise.
14622 (sunrpc-CPPFLAGS): New variable.
14623 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14624 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14625 (cross-rpcgen-objs): New variable.
14626 (extra-objs): Append $(cross-rpcgen-objs).
14627 ($(cross-rpcgen-objs)): New rule.
14628 ($(objpfx)cross-rpcgen): Likewise.
14629 (rpcgen-cmd): Define to use $(built-program-file). Expand
14630 comment.
14631 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14632 ($(objpfx)x%.stmp): Likewise.
14633 * sunrpc/proto.h [IS_IN_build] (_): Define.
14634 [IS_IN_build] (_libc_intl_domainname): Likewise.
14635
c8c59454
L
146362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14637
14638 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14639 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14640 and R_X86_64_TPOFF64.
14641
6f27cd16
JM
146422012-05-10 Joseph Myers <joseph@codesourcery.com>
14643
14644 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14645 sysdeps/unix/sysv/syscalls.list.
14646 (stime): Likewise.
14647 (utime): Likewise.
14648 * sysdeps/unix/sysv/syscalls.list: Remove file.
14649
02467e1c
PE
146502012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14651
14652 [BZ #3440]
14653 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14654 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14655 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14656 (__LC_IDENTIFICATION): Make these macros useful in #if
14657 expressions, as required by C99.
14658
da392631
AS
146592012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14660
14661 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14662 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14663 after this.
14664
8115f29b
L
146652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14666
14667 * stdlib/longlong.h: Updated from GCC.
14668
bdd74070
AJ
146692012-05-09 Andreas Jaeger <aj@suse.de>
14670
edfe0dbe
AJ
14671 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14672 default is first entry.
14673 (run_mode): Set type.
14674 (main): Remove informal message about syslog.
14675 (options): Fix typo.
14676
bcfe3a54
ST
14677 [BZ #14053]
14678 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14679 to asm.
bcfe3a54
ST
14680 (lrint): Likewise.
14681 (llrintf): Likewise.
14682 (llrint): Likewise.
14683 (rint): Likewise.
14684 (rintf): Likewise.
14685 (nearbyint): Likewise.
14686 (nearbyintf): Likewise.
bdd74070 14687
91d8d69e
AJ
146882012-05-09 Andreas Jaeger <aj@suse.de>
14689 Pedro Alves <palves@redhat.com>
14690
14691 * nscd/nscd.c (run_mode): Use enum.
14692 (main): Cleanup coding style issue.
14693
bb90b80b
AJ
146942012-05-09 Alexandre Oliva <aoliva@redhat.com>
14695 Andreas Jaeger <aj@suse.de>
14696
bcfe3a54
ST
14697 * nscd/nscd.c (go_background): Replaced with...
14698 (run_mode): ... this.
bb90b80b 14699 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14700 (options): Add -F --foreground.
14701 (main): Implement it.
14702 (parse_opt): Parse it.
bb90b80b 14703
1a4b75a1
AJ
147042012-05-09 Andreas Jaeger <aj@suse.de>
14705
14706 [BZ #14083]
14707 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14708 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14709 -Wconversion warning.
14710 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14711 Likewise.
14712
b1cc2472
JM
147132012-05-09 Joseph Myers <joseph@codesourcery.com>
14714
14715 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14716 == 0.
14717 (LC_ALL): Use macro-int-constant.
14718 (LC_COLLATE): Likewise.
14719 (LC_CTYPE): Likewise.
14720 (LC_MESSAGES): Likewise.
14721 (LC_MONETARY): Likewise.
14722 (LC_NUMERIC): Likewise.
14723 (LC_TIME): Likewise.
14724 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14725 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14726 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14727 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14728 Specify type.
14729 [C99-based standards] (float_t): Expect type.
14730 [C99-based standards] (double_t): Expect type.
14731 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14732 type.
14733 [C99-based standards] (HUGE_VALL): Likewise.
14734 [C99-based standards] (INFINITY): Likewise.
14735 [C99-based standards] (NAN): Likewise.
14736 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14737 [C99-based standards] (FP_NAN): Likewise.
14738 [C99-based standards] (FP_NORMAL): Likewise.
14739 [C99-based standards] (FP_SUBNORMAL): Likewise.
14740 [C99-based standards] (FP_ZERO): Likewise.
14741 [C99-based standards] (FP_FAST_FMA): Use
14742 optional-macro-int-constant. Specify type. Require == 1.
14743 [C99-based standards] (FP_FAST_FMAF): Likewise.
14744 [C99-based standards] (FP_FAST_FMAL): Likewise.
14745 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14746 [C99-based standards] (FP_ILOGBNAN): Likewise.
14747 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14748 Specify type.
14749 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14750 [C99-based standards] (math_errhandling): Specify type.
14751 [ISO99 || ISO11] (signgam): Do not allow.
14752 [non-C99-based standards] (copysignf): Do not allow.
14753 [non-C99-based standards] (exp2f): Likewise.
14754 [non-C99-based standards] (log2f): Likewise.
14755 [non-C99-based standards] (modff): Allow.
14756 [non-C99-based standards] (erff): Do not allow.
14757 [non-C99-based standards] (erfcf): Likewise.
14758 [non-C99-based standards] (gammaf): Likewise.
14759 [non-C99-based standards] (hypotf): Likewise.
14760 [non-C99-based standards] (j0f): Likewise.
14761 [non-C99-based standards] (j1f): Likewise.
14762 [non-C99-based standards] (jnf): Likewise.
14763 [non-C99-based standards] (lgammaf): Likewise.
14764 [non-C99-based standards] (tgammaf): Likewise.
14765 [non-C99-based standards] (y0f): Likewise.
14766 [non-C99-based standards] (y1f): Likewise.
14767 [non-C99-based standards] (ynf): Likewise.
14768 [non-C99-based standards] (isnanf): Likewise.
14769 [non-C99-based standards] (acoshf): Likewise.
14770 [non-C99-based standards] (asinhf): Likewise.
14771 [non-C99-based standards] (atanhf): Likewise.
14772 [non-C99-based standards] (cbrtf): Likewise.
14773 [non-C99-based standards] (expm1f): Likewise.
14774 [non-C99-based standards] (ilogbf): Likewise.
14775 [non-C99-based standards] (log1pf): Likewise.
14776 [non-C99-based standards] (logbf): Likewise.
14777 [non-C99-based standards] (nextafterf): Likewise.
14778 [non-C99-based standards] (remainderf): Likewise.
14779 [non-C99-based standards] (rintf): Likewise.
14780 [non-C99-based standards] (scalbf): Likewise.
14781 [non-C99-based standards] (copysignl): Likewise.
14782 [non-C99-based standards] (exp2l): Likewise.
14783 [non-C99-based standards] (log2l): Likewise.
14784 [non-C99-based standards] (modfl): Allow.
14785 [non-C99-based standards] (erfl): Do not allow.
14786 [non-C99-based standards] (erfcl): Likewise.
14787 [non-C99-based standards] (gammal): Likewise.
14788 [non-C99-based standards] (hypotl): Likewise.
14789 [non-C99-based standards] (j0l): Likewise.
14790 [non-C99-based standards] (j1l): Likewise.
14791 [non-C99-based standards] (jnl): Likewise.
14792 [non-C99-based standards] (lgammal): Likewise.
14793 [non-C99-based standards] (tgammal): Likewise.
14794 [non-C99-based standards] (y0l): Likewise.
14795 [non-C99-based standards] (y1l): Likewise.
14796 [non-C99-based standards] (ynl): Likewise.
14797 [non-C99-based standards] (isnanl): Likewise.
14798 [non-C99-based standards] (acoshl): Likewise.
14799 [non-C99-based standards] (asinhl): Likewise.
14800 [non-C99-based standards] (atanhl): Likewise.
14801 [non-C99-based standards] (cbrtl): Likewise.
14802 [non-C99-based standards] (expm1l): Likewise.
14803 [non-C99-based standards] (ilogbl): Likewise.
14804 [non-C99-based standards] (log1pl): Likewise.
14805 [non-C99-based standards] (logbl): Likewise.
14806 [non-C99-based standards] (nextafterl): Likewise.
14807 [non-C99-based standards] (remainderl): Likewise.
14808 [non-C99-based standards] (rintl): Likewise.
14809 [non-C99-based standards] (scalbl): Likewise.
14810 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14811 [non-C99-based standards] (FP_*): Do not allow.
14812 [C99-based standards] (FP_*): Change to
14813 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14814 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14815 allow.
14816 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14817 (SIG_ERR): Likewise.
14818 [X/Open-based standards] (SIG_HOLD): Likewise.
14819 (SIG_IGN): Likewise.
14820 (SIGABRT): Use macro-int-constant. Specify type. Require
14821 positive value.
14822 (SIGFPE): Likewise.
14823 (SIGILL): Likewise.
14824 (SIGINT): Likewise.
14825 (SIGSEGV): Likewise.
14826 (SIGTER): Likewise.
14827 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14828 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14829 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14830 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14831 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14832 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14833 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14834 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14835 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14836 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14837 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14838 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14839 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14840 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14841 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14842 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14843 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14844 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14845 [X/Open-based standards] (SIGTRAP): Likewise.
14846 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14847 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14848 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14849 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14850 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14851 allow.
14852
b9f1922d
IW
148532012-05-08 Ian Wienand <ianw@vmware.com>
14854
14855 [BZ #14080]
14856 * time/tzset.c (__tzset_parse_tz): Update default rules for
14857 daylight time changes in the Energy Policy Act of 2005.
14858
1db86e88
AJ
148592012-05-09 Andreas Jaeger <aj@suse.de>
14860
14861 [BZ #13983]
14862 * elf/ldconfig.c (parse_conf): Change string to make clear that
14863 ldconfig only issued a warning if ld.so.conf does not exist.
14864
dee4a4e3
DM
148652012-05-08 David S. Miller <davem@davemloft.net>
14866
ee0db190
DM
14867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14868 movxtod instead of popping the value on the stack.
14869
dee4a4e3
DM
14870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14871
6a43ec98
CD
148722012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14873
14874 * config.h.in: Add HAVE_ARM_PCS_VFP.
14875
05c2c961
RMG
148762012-05-08 Roland Mc Grath <roland@hack.frob.com>
14877
bcfe3a54
ST
14878 [BZ #13979]
14879 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14880 checking but the checks are disabled for any reason.
05c2c961 14881
4b30f61a
L
148822012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14883
14884 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14885 and ELF64_R_TYPE with ELFW(R_TYPE).
14886
eee2bc67
JM
148872012-05-08 Joseph Myers <joseph@codesourcery.com>
14888
7ea5391a
JM
14889 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14890 (ulimit): Likewise.
14891
eee2bc67
JM
14892 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14893 (settimeofday): Likewise.
14894
abb66a67
MF
148952012-05-08 Mike Frysinger <vapier@gentoo.org>
14896
14897 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14898 a struct th_u2 inside the union, and move tu_block/tu_code into
14899 a new th_u3 union of tu_block/tu_code inside of that. Move
14900 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14901 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14902 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14903 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14904 (th_stuff): Change to th_u1.tu_stuff.
14905 (th_data): Define.
14906 (th_msg): Change to th_u1.th_u2.tu_data.
14907
7f18b530
DM
149082012-05-07 David S. Miller <davem@davemloft.net>
14909
05760585
DM
14910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14911
7f18b530
DM
14912 [BZ #14074]
14913 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14914 (SETUP_PIC_REG): Use it.
14915 (SETUP_PIC_REG_LEAF): Use it.
14916
495fd99f
JM
149172012-05-07 Joseph Myers <joseph@codesourcery.com>
14918
14919 [BZ #13885]
14920 [BZ #13923]
14921 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14922 USE_AS_EXPM1L.
14923 (EXPL_FINITE): Likewise.
14924 (FLDLOG): Likewise.
14925 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14926 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14927 e_expl.S.
14928 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14929 USE_AS_EXPM1L.
14930 (EXPL_FINITE): Likewise.
14931 (FLDLOG): Likewise.
14932 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14933 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14934 e_expl.S.
14935 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14936 test of -max_value argument for long double.
14937 * sysdeps/i386/fpu/libm-test-ulps: Update.
14938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14939
6693d694
DM
149402012-05-06 David S. Miller <davem@davemloft.net>
14941
14942 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14943 quad soft-float symbols whose references which are compiler
14944 generated.
14945 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14946
6c23e11c
JM
149472012-05-06 Joseph Myers <joseph@codesourcery.com>
14948
d8b82cad
JM
14949 [BZ #13884]
14950 [BZ #13914]
14951 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14952 USE_AS_EXP10L.
14953 (EXPL_FINITE): Likewise.
14954 (FLDLOG): Likewise.
14955 (c0): Likewise.
14956 (c1): Likewise.
14957 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14958 Adjust comments for base varying.
14959 (__expl_finite): Change alias to EXPL_FINITE.
14960 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14961 e_expl.S.
14962 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14963 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14965 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14966 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14967 USE_AS_EXP10L.
14968 (EXPL_FINITE): Likewise.
14969 (FLDLOG): Likewise.
14970 (c0): Likewise.
14971 (c1): Likewise.
14972 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14973 Adjust comments for base varying.
14974 (__expl_finite): Change alias to EXPL_FINITE.
14975 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14976 tests for bugs.
14977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14978
6c23e11c
JM
14979 [BZ #14064]
14980 * math/libm-test.inc (check_float_internal): Correct ulp
14981 calculation for subnormal expected results.
14982
29ba805c
AJ
149832012-05-06 Andreas Jaeger <aj@suse.de>
14984
14985 * Makeconfig (+math-flags): New, set to -frounding-math.
14986 (+cflags): Add +math-flags so that all of glibc gets compiled with
14987 it.
14988
14989 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14990
7b17aeda
JM
149912012-05-05 Joseph Myers <joseph@codesourcery.com>
14992
5779f134
JM
14993 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14994 Disable one test.
14995
41498f4d
JM
14996 [BZ #13787]
14997 [BZ #13922]
14998 [BZ #14036]
14999 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15000 (__ieee754_expl): Allow for and saturate large arguments.
15001 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15002 (u_threshold): Likewise.
15003 (__exp): Call __ieee754_exp before checking for overflow and
15004 underflow.
15005 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15006 (u_threshold): Likewise.
15007 (__expf): Call __ieee754_expf before checking for overflow and
15008 underflow.
15009 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15010 (u_threshold): Likewise.
15011 (__expl): Call __ieee754_expl before checking for overflow and
15012 underflow.
15013 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15014 (__ieee754_expl): Allow for and saturate large arguments.
15015 * math/libm-test.inc (exp_test): Add another test. Do not allow
15016 missing overflow exception on overflow.
15017 (expm1_test): Do not allow missing overflow exception on overflow.
15018
6698b8bf
JM
15019 * sysdeps/i386/fpu/e_expl.c: Move to ...
15020 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15021 rather than using inline asm.
15022 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15023 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15024 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15025
7b17aeda
JM
15026 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15027 (nice): Likewise.
15028 (poll): Likewise.
15029 (signal): Likewise.
15030 (time): Likewise.
15031 (times): Likewise.
15032
f7c85819
JM
150332012-05-04 Joseph Myers <joseph@codesourcery.com>
15034
15035 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15036 sysdeps/unix/common/syscalls.list.
15037 (fchmod): Likewise.
15038 (fchown): Likewise.
15039 (ftruncate): Likewise.
15040 (getrusage): Likewise.
15041 (gettimeofday): Likewise.
15042 (setpgid): Likewise.
15043 (setregid): Likewise.
15044 (setreuid): Likewise.
15045 (sigaction): Likewise.
15046 (truncate): Likewise.
15047 (vhangup): Likewise.
15048 * sysdeps/unix/common/syscalls.list: Remove file.
15049 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15050 * sysdeps/unix/sysv/linux/Implies: Likewise.
15051
336270d0
L
150522012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15053
15054 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15056 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15057 Moved to ...
15058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15059 Here.
15060 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15061 to ...
15062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15063 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15064 to ...
15065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15066 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15067 to ...
15068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15069 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15070 to ...
15071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15072 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15073 to ...
15074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15075 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15076 to ...
15077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15078 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15079 to ...
15080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15081 Here.
15082 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15083 to ...
15084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15085 Here.
15086 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15087 to ...
15088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15089 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15090 Moved to ...
15091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15092 Here.
15093 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15094 to ...
15095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15096
d128e450
JM
150972012-05-04 Joseph Myers <joseph@codesourcery.com>
15098
fa8ee516
JM
15099 * sysdeps/unix/common/bits/dirent.h: Remove file.
15100 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15101
d128e450
JM
15102 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15103 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15104 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15105 * sysdeps/unix/bsd/isatty.c: Likewise.
15106 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15107 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15108 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15109
ff8faaf0 151102012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15111
62881be4 15112 [BZ #13563]
31dc8730
AZ
15113 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15114 long double comparison inaccuracies.
15115 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15117
6fef930c
AS
151182012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15119
15120 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15121 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15122
8f203e6c
JM
151232012-05-04 Joseph Myers <joseph@codesourcery.com>
15124
15125 [BZ #14049]
15126 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15127 nonzero digits before rounding a hex value.
15128 * stdlib/tst-strtod.c (tests): Add another test.
15129
5197d9c2
AK
151302012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15131
15132 * sysdeps/s390/fpu/libm-test-ulps: Update.
15133
f0c1dedf
AJ
151342012-05-03 Andreas Jaeger <aj@suse.de>
15135
15136 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15137 does not get optimized out.
15138 (malloc_opt_barrier): New.
15139
a65ef2ae 151402012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15141 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15142
2b942cb7 15143 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15144 intermediate file deletion.
2b942cb7 15145 (generated): Add .symlist files.
a65ef2ae 15146
54b71e02
JM
151472012-05-03 Joseph Myers <joseph@codesourcery.com>
15148
15149 [BZ #13775]
15150 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15151 Redirect under this condition.
15152 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15153 [__USE_GNU] (__dprintf_chk): Not under this condition.
15154 [__USE_GNU] (__vdprintf_chk): Likewise.
15155 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15156 under this condition.
15157 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15158 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15159 [__USE_XOPEN2K8] (vdprintf): Likewise.
15160 [__USE_GNU] (__dprintf_chk): Not under this condition.
15161 [__USE_GNU] (__vdprintf_chk): Likewise.
15162 [__USE_GNU] (dprintf): Likewise.
15163 [__USE_GNU] (vdprintf): Likewise.
15164
d3dfcc41
RM
151652012-05-03 Roland McGrath <roland@hack.frob.com>
15166
15167 * elf/Makefile (common-generated): Set this instead of generated for
15168 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15169 $(all-built-dso)-derived lists.
15170
7ac30cc5
AJ
151712012-05-03 Andreas Jaeger <aj@suse.de>
15172
0c51e550
AJ
15173 * sysdeps/i386/fpu/libm-test-ulps: Update.
15174
7ac30cc5
AJ
15175 * FAQ: Removed.
15176 * FAQ.in: Likewise.
15177 * scripts/gen-FAQ.pl: Likewise.
15178 * manual/install.texi (Installation): Point to online location of
15179 FAQ.
15180 * Makefile (files-for-dist): Remove FAQ.
15181 (FAQ): Remove.
15182
d4c2917f
AM
151832012-05-02 Allan McRae <allan@archlinux.org>
15184
15185 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15186 (LDFLAGS-reldepmod5.so): Likewise.
15187 (LDFLAGS-reldep6mod1.so): Likewise.
15188 (LDFLAGS-reldep6mod4.so): Likewise.
15189 (LDFLAGS-reldep8mod3.so): Likewise.
15190 (LDFLAGS-unload4mod1.so): Likewise.
15191 (LDFLAGS-unload4mod2.so): Likewise.
15192 (LDFLAGS-tst-initorder): Likewise.
15193 (LDFLAGS-tst-initordera2.so): Likewise.
15194 (LDFLAGS-tst-initordera3.so): Likewise.
15195 (LDFLAGS-tst-initordera4.so): Likewise.
15196 (LDFLAGS-tst-initorderb2.so): Likewise.
15197 (LDFLAGS-noload): Likewise.
15198 (LDFLAGS-next): Likewise.
15199 (LDFLAGS-order2mod1.so): Likewise.
15200 (LDFLAGS-order2mod2.so): Likewise.
15201 (LDFLAGS-tst-initorder2): Likewise.
15202 (LDFLAGS-tst-initorder2a.so): Likewise.
15203 (LDFLAGS-tst-initorder2b.so): Likewise.
15204 (LDFLAGS-tst-initorder2c.so): Likewise.
15205 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15206
d77f993f
DM
152072012-05-02 David S. Miller <davem@davemloft.net>
15208
15209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15210
171a70b4
PP
152112012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15212
15213 [BZ #14055]
15214 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15215
0be196ad
AJ
152162012-05-02 Andreas Jaeger <aj@suse.de>
15217
15218 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15219 since we manipulate rounding mode.
15220 (CPPFLAGS-test-idouble.c): Likewise.
15221 (CPPFLAGS-test-ifloat.c): Likewise.
15222 (CFLAGS-test-ldouble.c): Likewise.
15223 (CFLAGS-test-double.c): Likewise.
15224 (CFLAGS-test-float.c): Likewise.
15225 (CFLAGS-test-misc.c): Likewise.
15226 (CFLAGS-test-test-fenv.c): Likewise.
15227
4f9d04aa
AZ
152282012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15229
2b942cb7
RM
15230 [BZ #2550]
15231 [BZ #2570]
15232 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15233 comparisons to determine direction to adjust input.
4f9d04aa 15234
82a79e7d
RM
152352012-05-01 Roland McGrath <roland@hack.frob.com>
15236
f5a01ca9
RM
15237 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15238 output to the target.
15239
90fe4186
RM
15240 * scripts/localplt.awk: New file.
15241 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15242 (check-localplt-CFLAGS): Variable removed.
15243 ($(all-built-dso:=.jmprel)): New static pattern rule.
15244 (generated): Add those targets.
15245 (localplt-built-dso): New variable.
15246 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15247
15248 * elf/check-localplt.c: File removed.
15249
82397ed6
RM
15250 * scripts/check-execstack.awk: New file.
15251 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15252 (check-execstack-CFLAGS): Variable removed.
15253 ($(objpfx)check-execstack.h): Target removed.
15254 ($(objpfx)execstack-default): New target.
15255 (generated): Add that instead of check-execstack.h.
15256 ($(all-built-dso:=.phdr)): New static pattern rule.
15257 (generated): Add those targets.
15258 * elf/check-execstack.c: File removed.
15259
82a79e7d
RM
15260 * scripts/check-textrel.awk: New file.
15261 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15262 (check-textrel-CFLAGS): Variable removed.
15263 (all-built-dso): Use := to define.o
15264 ($(all-built-dso:=.dyn)): New static pattern rule.
15265 (generated): Add those targets.
15266 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15267 * config.make.in (READELF): New substituted variable.
15268 * elf/check-textrel.c: File removed.
15269
62fde54f 152702012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15271
615605c9
JM
15272 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15273 allow.
15274 * conform/data/ctype.h-data [C99-based standards] (isblank):
15275 Expect function.
15276 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15277 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15278 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15279 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15280 Specify type. Require positive value.
15281 (EILSEQ): Likewise.
15282 (ERANGE): Likewise.
15283 [ISO || POSIX] (EILSEQ): Do not expect.
15284 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15285 Specify type. Require positive value.
15286 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15287 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15288 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15289 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15290 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15291 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15292 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15293 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15294 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15295 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15296 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15297 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15298 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15299 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15300 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15301 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15302 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15303 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15304 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15305 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15306 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15307 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15308 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15309 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15310 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15311 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15312 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15313 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15314 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15315 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15316 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15317 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15318 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15319 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15320 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15321 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15322 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15323 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15324 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15325 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15326 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15327 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15328 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15329 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15330 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15331 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15332 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15333 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15334 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15335 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15336 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15337 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15338 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15339 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15340 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15341 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15342 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15343 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15344 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15345 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15346 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15347 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15348 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15349 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15350 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15351 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15352 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15353 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15354 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15355 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15356 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15357 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15358 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15359 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15360 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15361 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15362 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15363 Require >= 2.
15364 (FLT_ROUNDS): Expect as macro, not constant.
15365 (FLT_MANT_DIG): Use macro-int-constant.
15366 (DBL_MANT_DIG): Likewise.
15367 (LDBL_MANT_DIG): Likewise.
15368 (FLT_DIG): Likewise.
15369 (DBL_DIG): Likewise.
15370 (LDBL_DIG): Likewise.
15371 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15372 (DBL_MIN_EXP): Likewise.
15373 (LDBL_MIN_EXP): Likewise.
15374 (FLT_MAX_EXP): Use macro-int-constant.
15375 (DBL_MAX_EXP): Likewise.
15376 (LDBL_MAX_EXP): Likewise.
15377 (FLT_MAX_10_EXP): Likewise.
15378 (DBL_MAX_10_EXP): Likewise.
15379 (LDBL_MAX_10_EXP): Likewise.
15380 (FLT_MAX): Use macro-constant.
15381 (DBL_MAX): Likewise.
15382 (LDBL_MAX): Likewise.
15383 (FLT_EPSILON): Use macro-constant. Give upper bound.
15384 (DBL_EPSILON): Likewise.
15385 (LDBL_EPSILON): Likewise.
15386 (FLT_MIN): Likewise.
15387 (DBL_MIN): Likewise.
15388 (LDBL_MIN): Likewise.
15389 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15390 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15391 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15392 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15393 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15394 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15395 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15396 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15397 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15398 [ISO11] (FLT_TRUE_MIN): Likewise.
15399 [ISO11] (LDBL_TRUE_MIN): Likewise.
15400 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15401 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15402 (SCHAR_MIN): Use macro-int-constant. Specify type.
15403 (SCHAR_MAX): Likewise.
15404 (UCHAR_MAX): Likewise.
15405 (CHAR_MIN): Likewise.
15406 (CHAR_MAX): Likewise.
15407 (MB_LEN_MAX): Use macro-int-constant.
15408 (SHRT_MIN): Use macro-int-constant. Specify type.
15409 (SHRT_MAX): Likewise.
15410 (USHRT_MAX): Likewise.
15411 (INT_MAX): Likewise.
15412 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15413 bound negative.
15414 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15415 bound with "U".
15416 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15417 bound with "L".
15418 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15419 bound negative. Suffix upper bound with "L".
15420 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15421 bound with "UL".
15422 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15423 Specify type.
15424 [C99-based standards] (LLONG_MAX): Likewise.
15425 [C99-based standards] (ULLONG_MAX): Likewise.
15426 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15427 == 0.
15428 [ISO11] (max_align_t): Require type.
15429 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15430
c9140a62
JM
15431 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15432 from $CFLAGS, without defining away __attribute__ calls.
15433 (checknamespace): Use $CFLAGS_namespace.
15434
9af0bf29
JM
15435 * conform/conformtest.pl (@keywords): Only include C99 keywords
15436 for standards based on C99 or C11.
15437
343222a2
JM
15438 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15439 Disable tests.
15440 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15441 UNIX98]: Likewise.
15442
661f8cf0
JM
15443 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15444 usability of symbols in #if.
15445
ee74b9cb
JM
15446 * conform/conformtest.pl: If macro or constant types start
15447 "promoted:", expect the symbol to be of the following type
15448 promoted by the integer promotions.
62fde54f 15449
aafc49b3
JM
15450 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15451 in one place. Also handle "macro-constant".
15452
fefdf574
JM
15453 * conform/conformtest.pl: Only accept expected macro values with
15454 "==". Parse all "macro" lines in one place.
15455 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15456
f2d922fe
JM
15457 * conform/conformtest.pl: Handle braced types on "constant" lines
15458 instead of handling "typed-constant".
15459 * conform/data/signal.h-data: Use "constant" instead of
15460 "typed-constant".
15461
d22956c9
JM
15462 * conform/conformtest.pl: Handle "optional-" at start of lines in
15463 one place rather than duplicating several cases. Handle each
15464 format of "macro" line with initial "optional-".
15465
028e2e38
JM
15466 * conform/conformtest.pl: Only accept expected constant or
15467 optional-constant values with "==". Parse all "constant" lines in
15468 one place. Parse all "optional-constant" lines in one place.
15469 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15470 * conform/data/fmtmsg.h-data: Likewise.
15471 * conform/data/netinet/in.h-data: Likewise.
15472 * conform/data/tar.h-data: Likewise.
15473 * conform/data/limits.h-data: Use "==" form on "constant" and
15474 "optional-constant" lines.
15475
1b8f2850
JM
15476 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15477 Use -std=c99 for XOPEN2K.
15478 (@knownproblems): Remove.
15479 (newtoken): Don't check %isknown.
15480
a05a144b
JM
15481 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15482 Do not expect macro.
15483 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15484 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15485 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15486 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15487 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15488 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15489 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15490 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15491 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15492 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15493 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15494 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15495 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15496 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15497 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15498 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15499 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15500 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15501 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15502 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15503 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15504 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15505 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15506 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15507 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15508 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15509 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15510 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15511 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15512 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15513 [XPG3] (acosh): Likewise.
15514 [XPG3] (asinh): Likewise.
15515 [XPG3] (atanh): Likewise.
15516 [XPG3] (cbrt): Likewise.
15517 [XPG3] (expm1): Likewise.
15518 [XPG3] (ilogb): Likewise.
15519 [XPG3] (log1p): Likewise.
15520 [XPG3] (logb): Likewise.
15521 [XPG3] (nextafter): Likewise.
15522 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15523 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15524 [XPG3] (remainder): Likewise.
15525 [XPG3] (rint): Likewise.
15526 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15527 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15528 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15529 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15530 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15531 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15532 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15533 [UNIX98 || XOPEN2K] (scalb): Expect.
15534 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15535 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15536 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15537 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15538 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15539 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15540 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15541 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15542 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15543 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15544 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15545 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15546 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15547 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15548 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15549 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15550 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15551 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15552 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15553 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15554 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15555 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15556 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15557 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15558 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15559 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15560 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15561 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15562 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15563 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15564 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15565 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15566 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15567 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15568 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15569 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15570 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15571 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15572 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15573 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15574 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15575 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15576 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15577 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15578 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15579 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15580 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15581 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15582 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15583 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15584 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15585 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15586 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15587 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15588 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15589 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15590 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15591 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15592 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15593 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15594 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15595 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15596 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15597 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15598 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15599 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15600 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15601 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15602 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15603 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15604 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15605 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15606 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15607 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15608 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15609 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15610 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15611 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15612 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15613 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15614 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15615 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15616 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15617 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15618 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15619 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15620 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15621 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15622 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15623 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15624 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15625 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15626 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15627 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15628 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15629 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15630 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15631 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15632 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15633 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15634 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15635 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15636 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15637 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15638 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15639 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15640 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15641 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15642 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15643 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15644 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15645 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15646 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15647 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15648 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15649 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15650 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15651 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15652 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15653 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15654 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15655 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15656 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15657 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15658 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15659 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15660 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15661 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15662 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15663 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15664 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15665 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15666 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15667 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15668 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15669 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15670 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15671
73c5ebe3
JM
15672 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15673 _XOPEN_SOURCE_EXTENDED for XPG4.
15674
39c33b6c
JM
15675 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15676
62fde54f
JM
15677 * Makeconfig (localtime): Remove variable.
15678 (inst_localtime-file): Likewise.
15679
0741d64c
AS
156802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15681
15682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15683 Update.
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15685 Update.
15686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15687 Update.
15688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15689 Update.
15690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15691 Update.
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15693 Update.
15694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15695 Update.
15696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15697 Update.
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15699 Update.
15700
7cb029ee
JM
157012012-05-01 Joseph Myers <joseph@codesourcery.com>
15702
15703 [BZ #2550]
15704 [BZ #2570]
15705 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15706 comparisons to determine direction to adjust input.
15707 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15708 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15709 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15710 Likewise.
15711 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15712 Likewise.
15713 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15714 Likewise.
15715 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15716 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15717 Likewise.
15718 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15719 Likewise.
15720 * math/libm-test.inc (nexttoward_test): Add more tests.
15721
412bd966
AS
157222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15723
15724 [BZ #14040]
15725 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15726 in version GLIBC_2.1, not GLIBC_2.0.
15727 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15728 Likewise.
15729
9568c0c2
JM
157302012-04-30 Joseph Myers <joseph@codesourcery.com>
15731
adfbc8ac
JM
15732 [BZ #13942]
15733 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15734 (1 - x) * (1 + x).
15735 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15736 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15737 * math/libm-test.inc (acos_test): Add more tests.
15738 (asin_test): Likewise.
15739 * sysdeps/i386/fpu/libm-test-ulps: Update.
15740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15741
5ba3cc69
JM
15742 [BZ #14034]
15743 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15744 of square root.
15745 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15746 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15747 * math/libm-test.inc (acos_test_tonearest): New function.
15748 (acos_test_towardzero): Likewise.
15749 (acos_test_downward): Likewise.
15750 (acos_test_upward): Likewise.
15751 (asin_test_tonearest): Likewise.
15752 (asin_test_towardzero): Likewise.
15753 (asin_test_downward): Likewise.
15754 (asin_test_upward): Likewise.
15755 (main): Call the new functions.
15756 * sysdeps/i386/fpu/libm-test-ulps: Update.
15757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15758
9568c0c2
JM
15759 [BZ #13884]
15760 [BZ #13924]
15761 * math/e_exp10.c: Include <float.h>.
15762 (__ieee754_exp10): Handle underflow here rather than multiplying
15763 large negative argument by M_LN10.
15764 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15765 of __ieee754_expf.
15766 * math/e_exp10l.c: Include <float.h>.
15767 (__ieee754_exp10l): Handle underflow here rather than multiplying
15768 large negative argument by M_LN10l.
15769 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15770 spurious overflow exception on underflow.
15771
5ac3ea17
MP
157722012-04-29 Marek Polacek <polacek@redhat.com>
15773
15774 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15775 (__fortify_function): New macro.
15776 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15777 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15778 __extern_always_inline.
15779 * libio/bits/stdio2.h: Likewise.
15780 * libio/bits/stdio.h: Likewise.
15781 * string/string.h: Likewise.
15782 * string/bits/string3.h: Likewise.
15783 * include/stdio.h: Likewise.
15784 * stdlib/bits/stdlib.h: Likewise.
15785 * stdlib/stdlib.h: Likewise.
15786 * rt/bits/mqueue2.h: Likewise.
15787 * rt/mqueue.h: Likewise.
15788 * posix/bits/unistd.h: Likewise.
15789 * posix/unistd.h: Likewise.
15790 * io/bits/poll2.h: Likewise.
15791 * io/bits/fcntl2.h: Likewise.
15792 * io/fcntl.h: Likewise.
15793 * io/sys/poll.h: Likewise.
15794 * misc/bits/syslog.h: Likewise.
15795 * misc/bits/syslog-ldbl.h: Likewise.
15796 * misc/sys/syslog.h: Likewise.
15797 * socket/bits/socket2.h: Likewise.
15798 * socket/sys/socket.h: Likewise.
15799 * debug/tst-chk1.c: Likewise.
15800 * wcsmbs/bits/wchar2.h: Likewise.
15801 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15802 * wcsmbs/wchar.h: Likewise.
15803
ecf0ebfb
AJ
158042012-04-29 Andreas Jaeger <aj@suse.de>
15805
15806 * Makerules (tests): Remove enable-check-abi protection.
15807 (check-abi-warn): Remove.
15808 (check-abi-%): Remove check-abi-warn usage.
15809
15810 * configure.in: Remove check-abi configure option.
15811 * configure: Regenerated.
15812 * config.make.in (enable-check-abi): Remove.
15813
6d5c57fa
AS
158142012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15815
24c5d07e 15816 [BZ #14033]
ded5180a
AS
15817 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15818 double functions to double *_finite functions.
15819
7e0d315d
AS
15820 [BZ #13941]
15821 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15822 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15823 LDBL_MIN_EXP.
15824 * stdio-common/Makefile (tests): Add tst-sprintf3.
15825 * stdio-common/tst-sprintf3.c: New file.
15826
6d5c57fa
AS
15827 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15828 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15829
0749ff8b
JM
158302012-04-28 Joseph Myers <joseph@codesourcery.com>
15831
15832 * conform/conformtest.pl: Remove duplicate typed-constant
15833 handling.
15834
8dbd5d7b
DM
158352012-04-28 David S. Miller <davem@davemloft.net>
15836
15837 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15838 (check-abi-%): Remove AWK script prerequisite and explicit
15839 abilist directory.
15840 (check-abi): Rewrite to just diff the symlist with the abilist.
15841 (config-tls, config-abi-config): Delete, no longer used.
15842 (update-abi-%): Remove AWK script and explicit abilist directory.
15843 (update-abi): Rewrite to simply compare and conditionally copy the
15844 symlist and the sysdep abilist file. Remove update-abi-config
15845 checks.
15846 * abilist/ld.abilist: Remove.
15847 * abilist/libBrokenLocale.abilist: Remove.
15848 * abilist/libanl.abilist: Remove.
15849 * abilist/libcrypt.abilist: Remove.
15850 * abilist/libdl.abilist: Remove.
15851 * abilist/librt.abilist: Remove.
15852 * abilist/libthread_db.abilist: Remove.
15853 * abilist/libutil.abilist: Remove.
15854 * scripts/extract-abilist.awk: Remove.
15855 * scripts/merge-abilist.awk: Remove.
15856 * sysdeps/generic/libcidn.abilist: New file.
15857 * sysdeps/generic/libnss_compat.abilist: New file.
15858 * sysdeps/generic/libnss_db.abilist: New file.
15859 * sysdeps/generic/libnss_dns.abilist: New file.
15860 * sysdeps/generic/libnss_files.abilist: New file.
15861 * sysdeps/generic/libnss_hesiod.abilist: New file.
15862 * sysdeps/generic/libnss_nis.abilist: New file.
15863 * sysdeps/generic/libnss_nisplus.abilist: New file.
15864 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15865 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15866 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15867 file.
15868 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15869 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15870 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15871 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15872 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15873 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15874 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15875 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15876 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15877 file.
15878 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15879 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15880 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15881 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15882 file.
15883 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15884 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15885 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15886 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15887 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15888 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15889 file.
15890 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15891 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15892 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15893 file.
15894 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15896 New file.
15897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15898 New file.
15899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15900 New file.
15901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15902 New file.
15903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15904 New file.
15905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15906 New file.
15907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15908 New file.
15909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15910 New file.
15911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15912 New file.
15913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15914 New file.
15915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15916 New file.
15917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15918 New file.
15919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15920 New file.
15921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15922 file.
15923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15924 New file.
15925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15926 New file.
15927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15928 file.
15929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15930 New file.
15931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15932 New file.
15933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15934 file.
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15936 New file.
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15938 New file.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15940 New file.
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15942 New file.
15943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15944 New file.
15945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15946 New file.
15947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15949 file.
15950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15951 New file.
15952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15953 file.
15954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15955 file.
15956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15957 file.
15958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15959 file.
15960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15961 file.
15962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15963 New file.
15964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15965 file.
15966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15967 file.
15968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15969 New file.
15970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15971 file.
15972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15974 file.
15975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15976 New file.
15977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15978 file.
15979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15980 file.
15981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15982 file.
15983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15984 file.
15985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15986 file.
15987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15988 New file.
15989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15990 file.
15991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15992 file.
15993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15994 New file.
15995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15996 file.
15997 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15998 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15999 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16000 file.
16001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16002 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16003 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16004 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16005 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16006 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16007 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16008 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16009 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16010 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16013 file.
16014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16015 New file.
16016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16017 file.
16018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16019 file.
16020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16021 file.
16022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16023 file.
16024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16025 file.
16026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16027 New file.
16028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16029 New file.
16030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16031 file.
16032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16033 New file.
16034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16035 file.
16036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16038 file.
16039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16040 New file.
16041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16042 file.
16043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16044 file.
16045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16046 file.
16047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16048 file.
16049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16050 file.
16051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16052 New file.
16053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16054 New file.
16055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16056 file.
16057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16058 New file.
16059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16060 file.
16061
41d73a1b
JM
160622012-04-28 Joseph Myers <joseph@codesourcery.com>
16063
16064 * conform/conformtest.pl: Fix typo in handling typed-constant from
16065 allow-header.
16066
28aeeda4
JM
160672012-04-27 Joseph Myers <joseph@codesourcery.com>
16068
adae8f5e
JM
16069 * README: Cut down references to pre-2.6 Linux kernels and
16070 Linuxthreads. Update lists of configurations in libc and ports
16071 and sort alphabetically. Say "or newer" with Linux kernel version
16072 requirements.
16073
28aeeda4
JM
16074 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16075
a462cb63
RA
160762012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16077
16078 [BZ #887]
16079 * math/libm-test.inc (logb_test_downward): New test to expose
16080 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16081 rounding mode.
16082
6ad3493e
JM
160832012-04-27 Joseph Myers <joseph@codesourcery.com>
16084
16085 [BZ #14027]
16086 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16087 to be done.
16088 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16089 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16090
2ce4f015
JM
160912012-04-26 Joseph Myers <joseph@codesourcery.com>
16092
5aeb141a
JM
16093 * sysdeps/unix/i386/brk.S: Remove file.
16094 * sysdeps/unix/i386/dl-brk.S: Likewise.
16095 * sysdeps/unix/i386/pipe.S: Likewise.
16096 * sysdeps/unix/i386/sigreturn.S: Likewise.
16097 * sysdeps/unix/i386/syscall.S: Likewise.
16098 * sysdeps/unix/i386/vfork.S: Likewise.
16099 * sysdeps/unix/i386/wait.S: Likewise.
16100
7143acae
JM
16101 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16102 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16103
2ce4f015
JM
16104 * configure.in (arm*-none*): Do not allow without
16105 --enable-hacker-mode.
16106 (netbsd*): Remove case setting base_os.
16107 (386bsd*): Likewise.
16108 (freebsd*): Likewise.
16109 (bsdi*): Likewise.
16110 (osf*): Likewise.
16111 (sunos*): Likewise.
16112 (ultrix*): Likewise.
16113 (newsos*): Likewise.
16114 (dynix*): Likewise.
16115 (*bsd*): Likewise.
16116 (sysv*): Likewise.
16117 (isc*): Likewise.
16118 (esix*): Likewise.
16119 (sco*): Likewise.
16120 (minix*): Likewise.
16121 (irix4*): Likewise.
16122 (irix6*): Likewise.
16123 (solaris[2-9]*): Likewise.
16124 (none): Likewise.
16125 * configure: Regenerated.
16126
0ac229c8
AZ
161272012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16128
16129 [BZ #11521]
16130 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16131 overflow or cancellation in calculating denominator.
16132 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16133 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16134 down expression to avoid unexpected rounding in newer GCCs.
16135 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16136
33f244f4
DM
161372012-04-26 David S. Miller <davem@davemloft.net>
16138
16139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16140 long-double compat symbols.
16141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16154
cfa1f3e8
DM
161552012-04-25 David S. Miller <davem@davemloft.net>
16156
16157 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16158 HWCAP_* values only after the memory barriers have been defined.
16159 (atomic_full_barrier): Define.
16160 (atomic_read_barrier): Define.
16161 (atomic_write_barrier): Define.
16162
6e236b92
SP
161632012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16164
16165 * shlib-versions: Add libgcc_s version information.
16166 * sysdeps/generic/libgcc_s.h: Remove.
16167 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16168 libgcc_s.h.
16169 * sysdeps/gnu/unwind-resume.c: Likewise.
16170 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16171
aab39a09
DM
161722012-04-25 David S. Miller <davem@davemloft.net>
16173
16174 * sysdeps/unix/sparc/brk.S: Delete.
16175 * sysdeps/unix/sparc/dl-brk.S: Delete.
16176 * sysdeps/unix/sparc/pipe.S: Delete.
16177 * sysdeps/unix/sparc/sysdep.S: Delete.
16178 * sysdeps/unix/sparc/sysdep.h: Delete.
16179 * sysdeps/unix/sparc/vfork.S: Delete.
16180 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16181 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16182 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16183 ret_ERRVAL, r0, r1, MOVE): Define.
16184 (JUMPTARGET): Remove.
16185 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16186 sysdeps/unix/sparc/sysdep.h
16187 (ENTRY, END): Remove.
16188 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16189
a3cc4f48
JM
161902012-04-25 Joseph Myers <joseph@codesourcery.com>
16191
2ed8cda2
JM
16192 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16193 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16194 -DIS_IN_build.
16195
35d76d59
JM
16196 * timezone/README: Update upstream location and email address for
16197 tzcode and tzdata.
16198 * timezone/zdump.c: Update from tzcode 2012b.
16199 * timezone/zic.c: Likewise.
16200
a3cc4f48
JM
16201 * configure.in (libc_cv_as_needed): Remove test.
16202 * configure: Regenerated.
16203 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16204 conditional definition.
16205 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16206 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16207 * config.make.in (have-as-needed): Remove variable.
16208
ceab42c3
SP
162092012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16210 Paul Pluzhnikov <ppluzhnikov@google.com>
16211
16212 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16213 strings correctly.
16214
3ce2865f
CLT
162152012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16216
16217 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16218 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16219 * sysdeps/sh/strlen.S: Likewise.
16220
f37e0d68
JM
162212012-04-24 Joseph Myers <joseph@codesourcery.com>
16222
ae186e9a
JM
16223 * sysdeps/unix/fork.S: Remove file.
16224 * sysdeps/unix/i386/fork.S: Likewise.
16225 * sysdeps/unix/sparc/fork.S: Likewise.
16226
b96914af
JM
16227 * sysdeps/unix/system.c: Remove file.
16228 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16229
f37e0d68
JM
16230 * sysdeps/unix/getegid.S: Remove file.
16231 * sysdeps/unix/geteuid.S: Likewise.
16232
87ef29ca
RM
162332012-04-24 Roland McGrath <roland@hack.frob.com>
16234
83bcd236
RM
16235 * scripts/check-localplt.awk: New file.
16236 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16237 of diff.
16238 * scripts/data/localplt-generic.data: Add a comment.
16239
87ef29ca
RM
16240 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16241 NODE when __dir_mkfile failed.
16242 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16243 Reported by Ludovic Courtès <ludo@gnu.org>.
16244
e5a6e567
AJ
162452012-04-24 Andreas Jaeger <aj@suse.de>
16246
16247 * Makerules (common-clean): Also remove gen-as-const-headers
16248 files.
16249
c1820385
JM
162502012-04-24 Joseph Myers <joseph@codesourcery.com>
16251
16252 * Makerules (native-compile): Do not change working directory for
16253 build. Use $(OUTPUT_OPTION) in command.
16254 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16255
94e02fc4
AZ
162562012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16257
16258 [BZ #13886]
16259 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16260 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16261 * math/libm-test.inc (floor_test): Add more tests.
16262 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16263
3a533ca3
JM
162642012-04-24 Joseph Myers <joseph@codesourcery.com>
16265
940ab4b3
JM
16266 * sysdeps/unix/getdents.c: Remove file.
16267 * sysdeps/unix/sysv/getdents.c: Likewise.
16268 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16269
90e037bd
JM
16270 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16271 sysdeps/unix/mman/syscalls.list.
16272 (mmap): Likewise.
16273 (mprotect): Likewise.
16274 (msync): Likewise.
16275 (munmap): Likewise.
16276 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16277 * sysdeps/unix/mman/syscalls.list: Remove.
16278 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16279
3a533ca3
JM
16280 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16281 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16282 * configure: Regenerated.
16283 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16284 $(libgcc_s_suffix).
16285 * config.make.in (libgcc_s_suffix): Remove variable.
16286
1ad743de
JM
162872012-04-23 Joseph Myers <joseph@codesourcery.com>
16288
4ad451e2
JM
16289 * sysdeps/unix/sysv/gethostname.c: Move to ...
16290 * sysdeps/posix/gethostname.c: ... here.
16291
5e37ce39
JM
16292 * sysdeps/unix/execve.S: Remove file.
16293
1ad743de
JM
16294 * sysdeps/unix/_exit.S: Remove file.
16295
4e681b5b
AJ
162962012-04-23 Andreas Jaeger <aj@suse.de>
16297
16298 [BZ #13739]
16299 * manual/Makefile: Remove make dist support, there's no
16300 need for a stand-alone documentation tar ball.
16301 (TEXI2DVI): Define always, it's not in Makeconfig.
16302 (dist): Removed.
16303 (tar-it): Removed.
16304 (edition): Removed.
16305 (glibc-doc-$(edition).tar): Removed
16306 (%.Z): Removed.
16307 (%.gz): Removed.
16308 (%.uu): Removed.
16309 (ETAGS): Remove, it's in Makeconfig.
16310 (move-if-change): Remove, it's in Makeconfig.
16311
38686a03 163122012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16313
16314 [BZ #13970]
16315 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16316 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16317 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16318 (strtod_l, strtof_l, strtold_l): Remove __wur.
16319 It is not necessarily an error to ignore strtol's return value.
16320 One can reliably look at the stored endptr to decide whether
16321 the number had valid syntax.
16322
7c0616fa
AJ
163232012-04-21 Andreas Jaeger <aj@suse.de>
16324
803cb6b7 16325 [BZ #13739]
7c0616fa
AJ
16326 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16327
b0fe253f
JM
163282012-04-21 Joseph Myers <joseph@codesourcery.com>
16329
16330 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16331 * sysdeps/unix/sysv/Versions: Remove file.
16332
8280f22d
MT
163332012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16334
16335 [BZ #13927]
16336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16337
75ce411f 163382012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16339
16340 [BZ #7064]
16341 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16342 version from __vm86.
16343
097d59fa
JM
163442012-04-20 Joseph Myers <joseph@codesourcery.com>
16345
a90f3bcb
JM
16346 * sysdeps/unix/common/lxstat.c: Remove file.
16347 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16348
edc7ea78
JM
16349 * sysdeps/unix/sysv/Makefile: Remove file.
16350
cb78c221
JM
16351 * sysdeps/unix/sysv/direct.h: Remove file.
16352
efa6a45f
JM
16353 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16354 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16355 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16356 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16357 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16358 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16359 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16360
9c9f2d0c
JM
16361 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16362
4541c83b
JM
16363 * sysdeps/unix/xmknod.c: Remove file.
16364 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16365
f5d153a0
JM
16366 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16367
aa746595
JM
16368 * sysdeps/unix/sysv/i386/time.S: Remove file.
16369
cce5905e
JM
16370 * sysdeps/unix/fxstat.c: Remove file.
16371 * sysdeps/unix/xstat.c: Likewise.
16372 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16373
37fa3841
JM
16374 * sysdeps/unix/sysv/sigaction.c: Remove file.
16375
ff1962a3
JM
16376 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16377 (sysdep_headers): Remove variable.
16378 [termio.h not in sysdep_headers] (generated): Likewise.
16379 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16380 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16381 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16382 * sysdeps/unix/sysv/tcflow.c: Likewise.
16383 * sysdeps/unix/sysv/tcflush.c: Likewise.
16384 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16385 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16386 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16387 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16388 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16389
e7740d31
JM
16390 * sysdeps/unix/siglist.c: Remove file.
16391
ee06f18b
JM
16392 * sysdeps/unix/getppid.S: Remove file.
16393
097d59fa
JM
16394 * sysdeps/unix/mkdir.c: Remove file.
16395 * sysdeps/unix/rmdir.c: Likewise.
16396
ff3d51ec
AS
163972012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16398
16399 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16400 ERR_MAX value.
16401 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16402 errlist-compat value.
16403
50f81fd7
DM
164042012-04-18 David S. Miller <davem@davemloft.net>
16405
16406 * sysdeps/generic/memcopy.h (reg_char): Delete.
16407 * debug/strcat_chk.c: Use char, not reg_char.
16408 * debug/strcpy_chk.c: Likewise.
16409 * debug/strncat_chk.c: Likewise.
16410 * debug/strncpy_chk.c: Likewise.
16411 * string/memchr.c: Likewise.
16412 * string/memrchr.c: Likewise.
16413 * string/rawmemchr.c: Likewise.
16414 * string/strcat.c: Likewise.
16415 * string/strchr.c: Likewise.
16416 * string/strchrnul.c: Likewise.
16417 * string/strcmp.c: Likewise.
16418 * string/strcpy.c: Likewise.
16419 * string/strncat.c: Likewise.
16420 * string/strncmp.c: Likewise.
16421 * string/strncpy.c: Likewise.
16422
8ff41c46
WS
164232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16424
16425 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16426 __builtin_memcopy is called when src and dest ranges are known to not
16427 overlap.
16428
6b652f46
WS
164292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16430
16431 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16432 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16433 fwd_align_merge macro call.
16434 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16435 bwd_align_merge macro call.
16436 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16437
b282631e
WS
164382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16439
16440 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16441 bwd_align_merge macros.
16442 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16443 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16444 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16445
95aa737c
DM
164462012-04-18 David S. Miller <davem@davemloft.net>
16447
16448 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16449
7a99a614
AJ
164502012-04-18 Andreas Jaeger <aj@suse.de>
16451
16452 [BZ# 6794]
16453 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16454 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16455 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16456
16457 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16458 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16459 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16460
16461 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16462 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16463 Adjust for changed ldbl-128 files.
16464
16465 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16466 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16467 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16468
e5270c23
DM
164692012-04-17 David S. Miller <davem@davemloft.net>
16470
16471 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16472
fb5e92c9
AS
164732012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16474
16475 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16476 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16477 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16478 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16479 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16480 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16481
76da7265
AZ
164822012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16483
16484 [BZ #6794]
16485 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16486 * math/libm-test.inc: Add ilogb errno and exception tests.
16487 * math/w_ilogb.c: New file: ilogb wrapper.
16488 * math/w_ilogbf.c: New file: ilogbf wrapper.
16489 * math/w_ilogbl.c: New file: ilogbl wrapper.
16490 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16491 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16492 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16493 exception being thrown with 0.0 as argument.
16494 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16495 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16496 exception being thrown with 0.0 as argument.
16497 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16498 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16499 exception being thrown with 0.0 as argument.
16500 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16501 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16502 exception being thrown with 0.0 as argument.
16503 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16504 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16505 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16506 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16507 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16508 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16509 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16510 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16511 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16512
0396e69d
PB
165132012-04-17 Petr Baudis <pasky@ucw.cz>
16514
16515 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16516 with altivec.
16517
750b5926
MP
165182012-04-16 Marek Polacek <polacek@redhat.com>
16519
16520 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16521
751728a1
MP
165222012-04-16 Marek Polacek <polacek@redhat.com>
16523
16524 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16525 operands of fdivp instruction.
16526
34a27407
L
165272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16528
16529 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16530 * elf/tst-auditmod3b.c: Likewise.
16531 * elf/tst-auditmod4b.c: Likewise.
16532 * elf/tst-auditmod5b.c: Likewise.
16533 * elf/tst-auditmod6b.c: Likewise.
16534 * elf/tst-auditmod6c.c: Likewise.
16535 * elf/tst-auditmod7b.c: Likewise.
16536 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16537 * sysdeps/x86_64/preconfigure.in: Likewise.
16538 * sysdeps/x86_64/preconfigure: Regenerated.
16539
7e73e17d
L
165402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16541
16542 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16543 __ILP32__.
16544
c7a6ab72
AB
165452012-04-13 Antoine Balestrat <merkil33@gmail.com>
16546
16547 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16548 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16549
a9e8e0e0
CL
165502012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16551
16552 [BZ #13973]
16553 * locale/iso-639.def: Fix gl language name. Spotted by
16554 Yaron Shahrabani.
16555
ec98af7d
RM
165562012-04-12 Roland McGrath <roland@hack.frob.com>
16557
16558 [BZ #2074]
16559 * libio/libio.h (__io_write_fn): Update comment.
16560
247c3ede
PB
165612012-04-12 Petr Baudis <pasky@ucw.cz>
16562
16563 [BZ #2074]
16564 * stdio.texi (Hook Functions): The user provided writer function
16565 is not allowed to return -1.
16566
55939d6d
DM
165672012-04-11 David S. Miller <davem@davemloft.net>
16568
16569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16570
90020f5a
MF
165712012-04-11 Mike Frysinger <vapier@gentoo.org>
16572
16573 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16574 Add a leading slash to rtkaio.
16575
288f9098
JM
165762012-04-11 Jim Meyering <meyering@redhat.com>
16577
90020f5a
MF
16578 [BZ #11959]
16579 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16580 It is not necessarily an error to ignore fwrite's return
16581 value. One can reliably use ferror to test for errors after
16582 the fact.
288f9098 16583
4be2b570
L
165842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16585
16586 * bits/types.h (__snseconds_t): New type.
16587 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16588
16589 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16590 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16591 (__SNSECONDS_T_TYPE): Likewise.
16592 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16593 (__SNSECONDS_T_TYPE): Likewise.
16594 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16595 (__SNSECONDS_T_TYPE): Likewise.
16596
288f9098 165972012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16598
16599 [BZ #2636]
16600 * manual/time.texi (Processor Time): Return type of times is
16601 elapsed real time since an arbitrary point in the past.
16602 (CPU Time): Move CLK_TCK from here...
16603 (Processor Time): ...to here. Correct description.
16604 * manual/conf.texi (Constants for Sysconf): Correct description of
16605 _SC_CLK_TCK.
16606
d7dd4413
DM
166072012-04-10 David S. Miller <davem@davemloft.net>
16608
16609 [BZ #13967]
16610 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16611 where the is a gap between DT_REL(A) and DT_JMPREL.
16612
b46068fc
L
166132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16614
16615 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16616 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16617 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16618
73d65cc3
SP
166192012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16620
16621 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16622 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16623 (dl_main): Handle --inhibit-cache.
16624 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16625 _dl_inhibit_cache.
16626 * elf/dl-load.c (_dl_map_object): Use it.
16627 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16628
bcc8d661
JM
166292012-04-09 Joseph Myers <joseph@codesourcery.com>
16630
8f9a2fae
JM
16631 [BZ #13872]
16632 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16633 (__ieee754_powl): Saturate large exponents rather than testing for
16634 overflow of y*log2(x).
16635 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16636 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16637 exceptions.
16638
bcc8d661
JM
16639 [BZ #11521]
16640 * math/s_ctan.c: Include <float.h>.
16641 (__ctan): Avoid internal overflow or cancellation in calculating
16642 denominator.
16643 * math/s_ctanf.c: Likewise.
16644 * math/s_ctanl.c: Likewise.
16645 * math/s_ctanh.c: Likewise.
16646 * math/s_ctanhf.c: Likewise.
16647 * math/s_ctanhl.c: Likewise.
16648 * math/libm-test.inc (ctan_test): Add more tests.
16649 (ctanh_test): Likewise.
16650 * sysdeps/i386/fpu/libm-test-ulps: Update.
16651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16652
823fbbb4
AJ
166532012-04-09 Andreas Jaeger <aj@suse.de>
16654
03879793
AJ
16655 [BZ #6894]
16656 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16657 is an optional BSD extension.
16658
823fbbb4
AJ
16659 [BZ #10254]
16660 * manual/stdio.texi (Opening Streams): Document additional fopen
16661 parameters.
16662
8de131cb
RM
166632012-04-09 Roland McGrath <roland@hack.frob.com>
16664
16665 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16666 %eax without telling the compiler.
16667
c0ed9d7d
CD
166682012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16669
16670 [BZ # 13963]
16671 * manual/install.texi: Use sourceware.org.
16672
c483f6b4
JM
166732012-04-09 Joseph Myers <joseph@codesourcery.com>
16674
d7dd9453
JM
16675 [BZ #13873]
16676 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16677 (__ieee754_pow): Generate overflow and underflow using huge*huge
16678 and tiny*tiny rather than just returning constant infinity or zero
16679 for large exponents.
16680 * math/libm-test.inc (pow_test): Require overflow exceptions for
16681 applicable cases of large exponents.
16682
c483f6b4
JM
16683 [BZ #706]
16684 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16685 (__ieee754_pow): Use iterative multiplication algorithm only for
16686 integer exponents with absolute value below 1024. Check for odd
16687 integer exponents when using algorithm for real exponents.
16688 * math/libm-test.inc (pow_test): Add more tests.
16689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16690
d2de7579
JM
166912012-04-08 Joseph Myers <joseph@codesourcery.com>
16692
16693 [BZ #13705]
16694 * math/libm-test.inc (exp_test): Do not allow overflow exception
16695 on underflow test.
16696
f77f1232
AJ
166972012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16698
16699 [BZ #13705]
16700 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16701 instead of __kernel_standard_f.
16702
3884932b
MF
167032012-04-08 Mike Frysinger <vapier@gentoo.org>
16704
16705 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16706 * sysdeps/x86_64/memset_chk.S: Likewise.
16707
54472e9c
AJ
167082012-04-08 Andreas Jaeger <aj@suse.de>
16709
6ab0fbfc
AJ
16710 [BZ #10153]
16711 * manual/startup.texi (Environment Access): Describe return value
16712 for putenv and setenv.
16713
61efba8c
AJ
16714 [BZ #6895]
16715 * manual/filesys.texi (Directory Entries): Add description for
16716 DT_LNK.
16717
95c3f29a
AJ
16718 [BZ #6890]
16719 * manual/filesys.texi (Directory Entries): Clarify that it's file
16720 system not operating system in the description of DT_UNKNOWN.
16721
54472e9c
AJ
16722 [BZ #6578]
16723 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16724
624254b1
SC
167252012-04-08 Stephen Compall <s11@member.fsf.org>
16726
16727 [BZ #6649]
16728 * manual/llio.texi (Opening and Closing Files): Add cross
16729 reference to explain mode argument.
16730
1e4920e0
MF
167312012-04-07 Mike Frysinger <vapier@gentoo.org>
16732
16733 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16734 * sysdeps/x86_64/memset_chk.S: Likewise.
16735
5ed848f3
DM
167362012-04-07 David S. Miller <davem@davemloft.net>
16737
16738 * elf/elf.h (R_SPARC_WDISP10): Define.
16739 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16740 R_SPARC_SIZE32.
16741 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16742 R_SPARC_SIZE64 and R_SPARC_H34.
16743
96154cd8
CD
167442012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16745
16746 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16747 conditions and remove no longer applicable assertion.
16748
9904dc47
L
167492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16750
16751 * bits/byteswap.h: Include <features.h>.
16752 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16753 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16754
f8887d0a
L
167552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16756
16757 * bits/byteswap.h (__bswap_16): Removed.
16758 Include <bits/byteswap-16.h> to get __bswap_16.
16759 * sysdeps/i386/bits/byteswap.h: Likewise.
16760 * sysdeps/s390/bits/byteswap.h: Likewise.
16761 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16762 * bits/byteswap-16.h: New file.
16763 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16764 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16765 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16766 * string/Makefile (headers): Add bits/byteswap-16.h.
16767
62470f60
PP
167682012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16769
16770 [BZ #13895]
16771 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16772 extra indirection.
16773 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16774 * nss/tst-nss-static.c: New.
16775
4dad7bab
RM
167762012-04-06 Robert Millan <rmh@gnu.org>
16777
16778 [BZ #6486]
16779 * manual/llio.texi (File Position Primitive): lseek
16780 refers to WHENCE when it really means OFFSET.
16781
e9142a17
AJ
167822012-04-06 Andreas Jaeger <aj@suse.de>
16783
2c040eff
AJ
16784 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16785 strncmp declarations.
16786
e9142a17
AJ
16787 * abilist/libc.abilist: Add __poll and __ppoll.
16788
ff9f1c5f
DM
167892012-04-05 David S. Miller <davem@davemloft.net>
16790
dcd2ae90
DM
16791 * scripts/check-local-headers.sh: Accept a host triplet in the
16792 path matched by the exclude regexp.
16793
993eb054
DM
16794 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16795 definition.
16796 * sysdeps/powerpc/powerpc32/dl-machine.h
16797 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16798 * sysdeps/s390/s390-32/dl-machine.h
16799 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16800 * sysdeps/sparc/sparc32/dl-machine.h
16801 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16802 * sysdeps/sparc/sparc64/dl-machine.h
16803 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16804
ff9f1c5f
DM
16805 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16806 lazy binding.
48e2e132 16807 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16808 undefined symbol errors.
16809
48e2e132 16810 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16811 DT_NEEDED entries.
16812
e80d6f94
MM
168132012-04-05 Michael Matz <matz@suse.de>
16814
16815 [BZ #13592]
16816 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16817
349fa79f
AJ
168182012-04-05 Andreas Jaeger <aj@suse.de>
16819
16820 [BZ #13908]
16821 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16822 comment.
16823
f402708f
KK
168242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16825
16826 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16827 which ROUND is no valid rounding mode.
16828
2ecccfc9
KK
168292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16830
16831 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16832 read again.
16833 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16834
8a53f50f
KK
168352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16836
16837 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16838 an exception using FPU order intentionally.
16839
168402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16841
16842 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16843 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16844 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16845 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16846
d653abb7
SJ
168472012-04-05 Simon Josefsson <simon@josefsson.org>
16848
16849 [BZ #12340]
16850 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16851 EINVAL when BUFLEN is too smal.
16852
c3b1bf7d
TS
168532012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16854
16855 [BZ #13553]
16856 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16857 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16858
b1aa60f3
AJ
168592012-04-03 Andreas Jaeger <aj@suse.de>
16860
c3b1bf7d 16861 [BZ #13938]
67f60a26
AJ
16862 * manual/setjmp.texi (System V contexts): Fix sentence.
16863
b1aa60f3
AJ
16864 [BZ #13926]
16865 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16866 New macro for this case.
16867 [!__GNUC__] (__bswap_64): New inline function for this case.
16868 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16869 * bits/byteswap.h: Likewise.
16870 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16871 ull, guard with __GLIBC_HAVE_LONG_LONG.
16872
16873 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16874 __GLIBC_HAVE_LONG_LONG.
16875
16876 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16877 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16878
39c59c35
TMQMF
168792012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16880
16881 [BZ #13691]
16882 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16883 inptr and inend, rather than using last_ch.
16884
135ffda8
DM
168852012-04-02 David S. Miller <davem@davemloft.net>
16886
16887 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16888 * stdio-common/printf-parse.h (read_int): Change return type to
16889 'int', return -1 on INT_MAX overflow.
16890 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16891 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16892 overflows INT_MAX. Check for overflow of in-format-string precision
16893 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16894 SIZE_MAX not INT_MAX for integer overflow test.
16895 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16896 skip the construct in the format string but do not record anything.
16897 * stdio-common/bug22.c: Adjust to test both width/prevision
16898 INT_MAX overflow as well as total length INT_MAX overflow. Check
16899 explicitly for proper errno values.
16900
228c019e
TS
169012012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16902
302cadd3
TS
16903 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16904 CHAR_MAX.
16905 * string/test-strcmp.c [! WIDE]: Likewise.
16906 * time/tst-mktime2.c: Likewise for INT_MAX.
16907 * string/test-string.h: #include <sys/param.h> for MIN.
16908
228c019e
TS
16909 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16910 * sysdeps/i386/init-first.c (init): Likewise.
16911 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16912 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16913 * sysdeps/sh/init-first.c (init): Likewise.
16914
cfa633f5
UD
169152012-04-01 Ulrich Drepper <drepper@gmail.com>
16916
16917 * po/ru.po: Update from translation team.
d1635ef8 16918 * po/vi.po: Likewise.
cfa633f5 16919
6cd0a5ea
SP
169202012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16921
16922 * resolv/nss_dns/dns-host.c: Merge copyright years.
16923
4b43400f
LD
169242012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16925
16926 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16927 Optimize memcpy with prefetch if
16928 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16929 src, dst pointers have unequal 16 byte alignments.
16930
48c41d04
SP
169312012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16932
16933 [BZ #13928]
16934 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16935 from a CNAME entry and return the minimum ttl for the query.
16936 (gaih_getanswer_slice): Likewise.
16937
b8dc394d
JL
169382012-03-30 Jeff Law <law@redhat.com>
16939
16940 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16941 due to long keys.
16942 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16943 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16944
2f5a5ed0
JL
16945 * resolv/nss_dns/dns-host.c: Update copyright year.
16946
1d39e359
UD
169472012-03-30 Ulrich Drepper <drepper@gmail.com>
16948
c030f70c 16949 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16950 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16951
1d39e359
UD
16952 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16953 comments for sendmmsg.
16954
169552012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16956
16957 [BZ #13691]
16958 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16959 with only 1 character between 0x0041 and 0x01b0.
16960 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16961 * wcsmbs/tst-mbsnrtowcs.c: New file.
16962
20fde227
DM
169632012-03-29 David S. Miller <davem@davemloft.net>
16964
16965 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16966 small copies by hand.
16967
984a4237
JL
169682012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16969
16970 [BZ #13761]
16971 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16972 _nss_compat_initgroups_dyn): Fall back to malloc/free
16973 for large group memberships.
16974
18c9d62b
DM
169752012-03-28 David S. Miller <davem@davemloft.net>
16976
88d85d4f
DM
16977 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16978 that branches into memcpy.
16979 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16980 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16981 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16982 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16983 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16984 bits.
16985 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16986 implementation too.
16987 * sysdeps/sparc/mempcpy.S: New file.
16988
e5aa83e1
DM
16989 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16990 the IFUNC routine in the libc case.
16991 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16992
88570753
DM
16993 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16994 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16995 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16996 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16997 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16998 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16999 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17000 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17001
249d7567
DM
17002 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17003 loop to 256 bytes instead of 64 bytes and fix test signedness.
17004
18c9d62b
DM
17005 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17006 * sysdeps/sparc/sparc32/Makefile: rather than here...
17007 * sysdeps/sparc/sparc64/Makefile: and here.
17008
05f3d1f6
UD
170092012-03-28 Ulrich Drepper <drepper@gmail.com>
17010
17011 * malloc/mallocbug.c: Avoid warnings about unused variables.
17012
86ae07a8
JL
170132012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17014
17015 [BZ #13760]
17016 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17017 in the right place. Discard and retry query if response is
17018 larger than input buffer size.
17019
41bf21a1
JM
170202012-03-28 Joseph Myers <joseph@codesourcery.com>
17021
d6270972
JM
17022 [BZ #369]
17023 [BZ #2678]
17024 [BZ #3866]
17025 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17026 x for large integer exponent.
17027 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17028 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17029 sign of result as needed afterwards.
17030 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17031 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17032 result for underflowing pow the same as for overflow.
17033 (__kernel_standard_l): Handle powl overflow and underflow here
17034 rather than calling __kernel_standard.
17035 * math/libm-test.inc (pow_test): Add more tests.
17036
414fca03 17037 [BZ #3868]
41bf21a1
JM
17038 [BZ #13879]
17039 [BZ #13910]
17040 [BZ #13911]
17041 [BZ #13912]
17042 [BZ #13913]
17043 [BZ #13915]
17044 [BZ #13916]
17045 [BZ #13917]
17046 [BZ #13918]
17047 [BZ #13919]
17048 [BZ #13920]
17049 [BZ #13921]
17050 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17051 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17052 (__kernel_standard_l): New function.
17053 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17054 __kernel_standard.
17055 * math/w_acosl.c (__acosl): Likewise.
17056 * math/w_asinl.c (__asinl): Likewise.
17057 * math/w_atan2l.c (__atan2l): Likewise.
17058 * math/w_atanhl.c (__atanhl): Likewise.
17059 * math/w_coshl.c (__coshl): Likewise.
17060 * math/w_exp10l.c (__exp10l): Likewise.
17061 * math/w_exp2l.c (__exp2l): Likewise.
17062 * math/w_fmodl.c (__fmodl): Likewise.
17063 * math/w_hypotl.c (__hypotl): Likewise.
17064 * math/w_j0l.c (__j0l, __y0l): Likewise.
17065 * math/w_j1l.c (__j1l, __y1l): Likewise.
17066 * math/w_jnl.c (__jnl, __ynl): Likewise.
17067 * math/w_lgammal.c (__lgammal): Likewise.
17068 * math/w_log10l.c (__log10l): Likewise.
17069 * math/w_log2l.c (__log2l): Likewise.
17070 * math/w_logl.c (__logl): Likewise.
17071 * math/w_powl.c (__powl): Likewise.
17072 * math/w_remainderl.c (__remainderl): Likewise.
17073 * math/w_scalbl.c (sysv_scalbl): Likewise.
17074 * math/w_sinhl.c (__sinhl): Likewise.
17075 * math/w_sqrtl.c (__sqrtl): Likewise.
17076 * math/w_tgammal.c (__tgammal): Likewise.
17077 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17078 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17079 * math/libm-test.inc (acos_test): Add more tests.
17080 (acosh_test): Likewise.
17081 (asin_test): Likewise.
17082 (atanh_test): Likewise.
17083 (exp_test): Likewise.
17084 (exp10_test): Likewise.
17085 (exp2_test): Likewise.
17086 (expm1_test): Likewise.
17087 (lgamma_test): Likewise.
17088 (log_test): Likewise.
17089 (log10_test): Likewise.
17090 (log1p_test): Likewise.
17091 (log2_test): Likewise.
17092 (pow_test): Do not allow some spurious overflow exceptions.
17093 (sqrt_test): Add more tests.
17094 (tgamma_test): Likewise.
17095 (y0_test): Likewise.
17096 (y1_test): Likewise.
17097 (yn_test): Likewise.
17098
dd62fda6
AB
170992012-03-27 Anton Blanchard <anton@samba.org>
17100
17101 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17102 MAP_HUGETLB.
17103 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17104 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17105 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17106
1e3cdfda
AJ
171072012-03-27 David S. Miller <davem@davemloft.net>
17108
b855ab85
DM
17109 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17110
1e3cdfda
AJ
17111 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17112 have-as-vis3 check.
17113
171142012-03-27 Andreas Jaeger <aj@suse.de>
17115
17116 * sysdeps/x86_64/elf/configure.in: Moved to ...
17117 * sysdeps/x86_64/configure.in: ... here.
17118 * sysdeps/x86_64/elf/start.S: Moved to ...
17119 * sysdeps/x86_64/start.S: ... here.
17120 * sysdeps/x86_64/elf/configure: Delete.
17121
17122 * sysdeps/x86_64/configure.in: Merge contents from
17123 sysdeps/i386/configure.in (without i686 check).
17124
17125 * sysdeps/i386/elf/Versions: Merge into ...
17126 * sysdeps/i386/Versions: ... this.
17127 * sysdeps/i386/elf/Versions: Delete file.
17128 * sysdeps/i386/elf/start.S: Moved to ...
17129 * sysdeps/i386/start.S: ...here.
17130 * sysdeps/i386/elf/configure.in: Merge into...
17131 * sysdeps/i386/configure.in: ...here.
17132 * sysdeps/i386/elf/configure.in: Delete file.
17133 * sysdeps/i386/elf/configure: Delete file.
17134
17135 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17136 * debug/backtracesyms.c: ... here.
17137 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17138 * debug/backtracesymsfd.c: ... here.
17139 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17140 * sysdeps/generic/ifunc-sel.h: ... here.
17141
17142 * sysdeps/unix/i386/start.c: Delete file.
17143 * sysdeps/unix/sparc/start.c: Delete file.
17144 * sysdeps/unix/start.c: Delete file.
17145
17146 * sysdeps/sh/elf/configure.in: Moved to ...
17147 * sysdeps/sh/configure.in: ... here.
17148 * sysdeps/sh/elf/start.S: Moved to ...
17149 * sysdeps/sh/start.S: ... here.
17150 * sysdeps/sh/elf/configure: Delete file.
17151
17152 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17153 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17154 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17155 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17156 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17157 * sysdeps/powerpc/powerpc64/start.S: here.
17158 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17159 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17160 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17161 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17162 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17163
17164 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17165 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17166 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17167 * sysdeps/powerpc/powerpc32/start.S: ... here.
17168 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17169 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17170 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17171
17172 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17173 * sysdeps/powerpc/ifunc-sel.h: ... here.
17174 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17175 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17176
17177 * sysdeps/sparc/elf/configure.in: Moved to ...
17178 * sysdeps/sparc/configure.in: ... here.
17179 * sysdeps/sparc/elf/configure: Delete file.
17180 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17181 * sysdeps/sparc/sparc32/start.S: ... here.
17182 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17183 * sysdeps/sparc/sparc64/start.S: ... here.
17184 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17185 * sysdeps/sparc/sparc32/Makefile: ... this.
17186 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17187 * sysdeps/sparc/sparc64/Makefile: ... this.
17188
17189 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17190 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17191 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17192 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17193 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17194 * sysdeps/s390/s390-32/setjmp.S: ... here.
17195 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17196 * sysdeps/s390/s390-32/configure.in: ... here.
17197 * sysdeps/s390/s390-32/elf/configure: Delete file.
17198 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17199 * sysdeps/s390/s390-32/start.S: ... here.
17200
17201 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17202 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17203 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17204 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17205 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17206 * sysdeps/s390/s390-64/setjmp.S: ... here.
17207 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17208 * sysdeps/s390/s390-64/configure.in: ... here
17209 * sysdeps/s390/s390-64/elf/configure: Delete file.
17210 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17211 * sysdeps/s390/s390-64/start.S: ... here.
17212 * sysdeps/s390/s390-64/elf/configure: Delete.
17213
17214 * configure.in: Remove support for elf directories in sysdeps.
17215
17216 * configure: Regenerated.
17217 * sysdeps/i386/configure: Regenerated.
17218 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17219 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17220 * sysdeps/s390/s390-32/configure: Regenerated.
17221 * sysdeps/s390/s390-64/configure: Regenerated.
17222 * sysdeps/sh/configure: Regenerated.
17223 * sysdeps/sparc/configure: Regenerated.
17224 * sysdeps/x86_64/configure: Regenerated.
17225
a3f61311
AS
172262012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17227
c876e002
AS
17228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17229
a3f61311
AS
17230 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17231 denormal result into account.
17232
ac4c54f0
RM
172332012-03-25 Roland McGrath <roland@hack.frob.com>
17234
17235 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17236 Reported by Allan McRae <allan@archlinux.org>.
17237
6a9b9c02
JL
172382012-03-23 Jeff Law <law@redhat.com>
17239
17240 * nss/getnssent.c (__nss_getent): Fix typo.
17241
4c42a0c1
DM
172422012-03-23 David S. Miller <davem@davemloft.net>
17243
17244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17245
1532c7ac
L
172462012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17247
17248 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17249 to pad to uint64_t for each field.
17250 (dl_tls_index): Replace unsigned long with uint64_t.
17251
3ff42526
PP
172522012-03-23 Daniel Jacobowitz <dmj@google.com>
17253 Paul Pluzhnikov <ppluzhnikov@google.com>
17254
17255 [BZ #6528]
17256 * grp/Makefile (otherlibs): Don't set it.
17257 * inet/Makefile (otherlibs): Likewise.
17258 * login/Makefile (otherlibs): Likewise.
17259 * nscd/Makefile (otherlibs): Likewise.
17260 * posix/Makefile (otherlibs): Likewise.
17261 * pwd/Makefile (otherlibs): Likewise.
17262 * rt/Makefile (otherlibs): Likewise.
17263 * sunrpc/Makefile (otherlibs): Likewise.
17264 * nss/Makefile (otherlibs): Likewise.
17265 Add libnss_files to routines and static-only-routines.
17266 ($(objpfx)getent): Remove rule.
17267 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17268 static-only-routines.
17269
7c69cd14
JM
172702012-03-22 Joseph Myers <joseph@codesourcery.com>
17271
17272 [BZ #13892]
17273 * math/s_cexp.c: Include <float.h>.
17274 (__cexp): Handle exp result overflowing not necessarily
17275 overflowing both real and imaginary parts of result.
17276 * math/s_cexpf.c: Likewise.
17277 * math/s_cexpl.c: Likewise.
17278 * math/libm-test.inc (cexp_test): Add more tests.
17279 * sysdeps/i386/fpu/libm-test-ulps: Update.
17280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17281
81b035fe
L
172822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17283
17284 * include/link.h (ELFW): New macro.
17285 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17286 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17287
1da7940c
L
172882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17289
17290 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17291 with uint64_t.
17292
b749dbb9
L
172932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17294
17295 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17296 declaration.
17297 (struct La_x32_retval): Likewise.
17298
2ff87f3f
L
172992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17300
17301 * sysdeps/x86_64/preconfigure.in: New file.
17302 * sysdeps/x86_64/preconfigure: New generated file.
17303
c0df8e69
JM
173042012-03-22 Joseph Myers <joseph@codesourcery.com>
17305
48e44791
JM
17306 [BZ #13824]
17307 * math/e_exp2l.c: Include <float.h>.
17308 (__ieee754_exp2l): Handle overflow and underflow cases
17309 separately. Only pass fractional part of argument to
17310 __ieee754_expl.
17311 * math/libm-test.inc (exp2_test): Add more tests.
17312
c0df8e69
JM
17313 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17314 negating x to take absolute value.
17315 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17316 Likewise.
17317 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17318 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17319 Likewise.
17320 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17321 computing low part if x was negated.
17322 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17323
c8e43ba7
L
173242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17325
17326 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17327 la_x32_gnu_pltexit.
17328 (pltexit): Cast int_retval to ptrdiff_t.
17329 * elf/tst-auditmod3b.c: Likewise.
17330 * elf/tst-auditmod4b.c: Likewise.
17331 * elf/tst-auditmod5b.c: Likewise.
17332 * elf/tst-auditmod6b.c: Likewise.
17333 * elf/tst-auditmod6c.c: Likewise.
17334 * elf/tst-auditmod7b.c: Likewise.
17335
17336 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17337 and x32_gnu_pltexit.
17338
17339 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17340 __ELF_NATIVE_CLASS.
17341 (La_x32_regs): New macro.
17342 (La_x32_retval): Likewise.
17343 (la_x32_gnu_pltenter): New function prototype.
17344 (la_x32_gnu_pltexit): Likewise.
17345
7998fa78
AS
173462012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17347
dcb33988
AS
17348 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17349 exponent.
17350
233fc563
AS
17351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17352
7998fa78
AS
17353 * configure.in (libc_cv_cc_nofma): Check for option to disable
17354 generation of FMA instructions.
17355 * configure: Regenerate.
17356 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17357 * sysdeps/ieee754/dbl-64/Makefile: New file.
17358 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17359 Remove brandred-fma4.
17360 (CFLAGS-brandred-fma4.c): Remove.
17361 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17362 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17363 define.
17364 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17365 define.
17366
8e95c99a
L
173672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17368
17369 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17370 LLONG_MAX != LONG_MAX.
17371 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17372 (_fitoa_word): Likewise.
17373 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17374 LLONG_MAX != LONG_MAX.
17375 * stdio-common/_itowa.h: Include <_itoa.h>.
17376 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17377 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17378 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17379 only if not defined.
17380 (_ITOA_WORD_TYPE): Likewise.
17381 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17382 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17383
6f4db457
DM
173842012-03-21 David S. Miller <davem@davemloft.net>
17385
17386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17387
7785fe5a
L
173882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17389
17390 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17391 of x86_64 when setting libc_cv_slibdir, libdir and
17392 libc_cv_localedir.
17393 * sysdeps/unix/sysv/linux/configure: Regenerated.
17394
4535cd55
JM
173952012-03-21 Joseph Myers <joseph@codesourcery.com>
17396
17397 * manual/lang.texi (Old Varargs): Remove section.
17398 (How Variadic): Update menu.
17399 (va_start): Do not mention varargs.h.
17400
17228132
TS
174012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17402 Joseph Myers <joseph@codesourcery.com>
17403
17404 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17405 link test.
17406 * configure: Regenerated.
17407
8149f976
TS
174082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17409
05f3d1f6
UD
17410 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17411 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17412 conformtest.pl
8149f976 17413
1a4ac776
JM
174142012-03-21 Joseph Myers <joseph@codesourcery.com>
17415
be22ce65
JM
17416 * NOTES: Remove.
17417 * Makefile (files-for-dist): Remove NOTES.
17418 (NOTES): Remove rule.
17419 * README: Don't refer to NOTES.
17420 * manual/creature.texi: Don't include macros.texi.
17421 * manual/intro.texi (creature.texi): Remove comment referring to
17422 NOTES.
17423
40b601fb
JM
17424 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17425 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17426 * configure: Regenerated.
17427 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17428 LIBC_TRY_CC_OPTION.
17429 (libc_cv_as_i686): Likewise.
17430 (libc_cv_cc_avx): Likewise.
17431 (libc_cv_cc_sse2avx): Likewise.
17432 (libc_cv_cc_fma4): Likewise.
17433 (libc_cv_cc_novzeroupper): Likewise.
17434 * sysdeps/i386/configure: Regenerated.
17435
1a4ac776
JM
17436 [BZ #13883]
17437 * sysdeps/i386/fpu/s_cexp.S: Remove.
17438 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17439 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17440 * math/libm-test.inc (cexp_test): Add more tests.
17441 * sysdeps/i386/fpu/libm-test-ulps: Update.
17442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17443
a458e7fe
AM
174442012-03-21 Allan McRae <allan@archlinux.org>
17445
17446 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17447
0cb7efc5
JM
174482012-03-21 Joseph Myers <joseph@codesourcery.com>
17449
17450 [BZ #13871]
17451 * math/w_exp2.c: Do not include <float.h>.
17452 (o_threshold, u_threshold): Remove.
17453 (__exp2): Calculate result before checking finiteness and calling
17454 __kernel_standard.
17455 * math/w_exp2f.c: Likewise.
17456 * math/w_exp2l.c: Likewise.
17457 * math/libm-test.inc (exp2_test): Require overflow exception for
17458 1e6 input.
2460d3aa
JM
17459
17460 [BZ #3866]
17461 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17462 range of signed 64-bit integers before using fistpll. Remove
17463 checks for whether integers fit in mantissa bits.
17464 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17465 the range of signed 32-bit integers before using fistpl. Remove
17466 checks for whether integers fit in mantissa bits.
17467 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17468 (__ieee754_powl): Test for y outside the range of signed 64-bit
17469 integers before using fistpll. Reduce 64-bit values to 63-bit
17470 ones as needed.
17471 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17472 divide-by-zero is raised for zero to large negative powers.
17473 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17474 (__ieee754_powl): Test for y outside the range of signed 64-bit
17475 integers before using fistpll. Reduce 64-bit values to 63-bit
17476 ones as needed.
17477 * math/libm-test.inc (pow_test): Add more tests.
17478
eb96ffb0
L
174792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17480
17481 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17482 <stdio-common/_itoa.h>.
17483 * debug/segfault.c: Likewise.
17484 * elf/dl-cache.c: Likewise.
17485 * elf/dl-minimal.c: Likewise.
17486 * elf/dl-misc.c: Likewise.
17487 * elf/dl-sysdep.c: Likewise.
17488 * elf/dl-version.c: Likewise.
17489 * elf/rtld.c: Likewise.
17490 * hurd/hurdsock.c: Likewise.
17491 * hurd/lookup-retry.c: Likewise.
17492 * malloc/malloc.c: Likewise.
17493 * malloc/mtrace.c: Likewise.
17494 * nscd/nscd_getgr_r.c: Likewise.
17495 * nscd/nscd_getpw_r.c: Likewise.
17496 * nscd/nscd_getserv_r.c: Likewise.
17497 * posix/getopt_init.c: Likewise.
17498 * posix/wordexp.c: Likewise.
17499 * stdio-common/_itoa.c: Likewise.
17500 * stdio-common/printf_fphex.c: Likewise.
17501 * stdio-common/vfprintf.c: Likewise.
17502 * string/_strerror.c: Likewise.
17503 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17504 * sysdeps/i386/i686/hp-timing.h: Likewise.
17505 * sysdeps/mach/_strerror.c: Likewise.
17506 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17507 * sysdeps/mach/hurd/sethostid.c: Likewise.
17508 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17509 * sysdeps/mach/xpg-strerror.c: Likewise.
17510 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17511 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17512 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17513 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17514 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17515 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17516 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17517 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17518 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17519 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17520 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17521 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17522 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17523 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17524 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17525 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17526 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17527 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17528 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17529 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17530 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17531
17532 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17533
17534 * stdio-common/_itoa.h: Moved to ...
17535 * sysdeps/generic/_itoa.h: Here.
17536
17537 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17538
17539 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17540 instead of "_itoa.h" and "_itowa.h".
17541 * stdio-common/vfprintf.: Likewise.
17542
d1af992d
L
175432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17544
17545 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17546 <bits/wordsize.h>.
17547 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17548 (__signbit): Likwise.
17549 (llrintf): Likwise.
17550 (llrint): Likwise.
17551
114883e0
L
175522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17553
17554 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17555 __WORDSIZE != 64.
17556
c135cc1b
JM
175572012-03-20 Joseph Myers <joseph@codesourcery.com>
17558
17559 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17560 OVERFLOW_EXCEPTION_OK.
17561 * math/libm-test.inc ("Philosophy"): Update comment about
17562 exception testing.
17563 (OVERFLOW_EXCEPTION): Define.
17564 (OVERFLOW_EXCEPTION_OK): Likewise.
17565 (INVALID_EXCEPTION_OK): Renumber.
17566 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17567 (IGNORE_ZERO_INF_SIGN): Likewise.
17568 (test_exceptions): Handle FE_OVERFLOW.
17569 (exp10_test): Expect overflow exceptions.
17570 (exp2_test): Likewise.
17571 (expm1_test): Likewise.
17572 (nextafter_test): Likewise.
17573 (pow_test): Likewise.
17574 (scalbn_test): Likewise.
17575 (scalbln_test): Likewise.
17576
95443d88
L
175772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17578
17579 * sysdeps/x86_64/bits/atomic.h
17580 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17581 64bit integer.
17582 (atomic_exchange_acq): Likewise.
17583 (__arch_exchange_and_add_body): Likewise.
17584 (__arch_add_body): Likewise.
17585 (atomic_add_negative): Likewise.
17586 (atomic_add_zero): Likewise.
17587
490df6c4
L
175882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17589
c2722551 17590 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17591 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17592
5e52b189
L
175932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17594
17595 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17596 Check __x86_64__ instead of __WORDSIZE.
17597
a9879d4c
L
175982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17599
17600 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17601
5df98260
DM
176022012-03-19 David S. Miller <davem@davemloft.net>
17603
e1497744
DM
17604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17605
5df98260
DM
17606 * sysdeps/sparc/fpu/fenv_private.h: New file.
17607 * sysdeps/sparc/fpu/math_private.h: Use it.
17608 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17609 Remove.
17610 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17611 (libc_feholdexcept_setroundl): Remove.
17612 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17613 Remove.
17614 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17615 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17616
b4c35121
L
176172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17618
17619 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17620 int64_t instead of long int.
17621 (INSERT_WORDS64): Likwise.
17622
56965fd7
L
176232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17624
17625 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17626 _Unwind_GetCFA return to _Unwind_Ptr first.
17627
83d1aec8
JM
176282012-03-19 Joseph Myers <joseph@codesourcery.com>
17629
1897ad44
JM
17630 [BZ #13629]
17631 * math/s_clog.c: Include <float.h>.
17632 (__clog): Scale large or subnormal inputs.
17633 * math/s_clogf.c: Likewise.
17634 * math/s_clogl.c: Likewise.
17635 * math/s_clog10.c: Include <float.h>.
17636 (M_LOG10_2): Define.
17637 (__clog10): Scale large or subnormal inputs.
17638 * math/s_clog10f.c: Likewise.
17639 * math/s_clog10l.c: Likewise.
17640 * math/libm-test.inc (clog_test): Add more tests.
17641 (clog10_test): Likewise.
17642 * sysdeps/i386/fpu/libm-test-ulps: Update.
17643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17644
7726d6a9
JM
17645 [BZ #11451]
17646 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17647 x and y.
17648 * math/libm-test.inc (atan2_test): Add another test.
17649
83d1aec8
JM
17650 * Makerules (common-objdir-compile): Remove.
17651 * sysdeps/unix/Makefile (config-generated): Do not add
17652 $(unix-generated) to variable.
17653 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17654 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17655 Remove rule.
17656 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17657 Likewise.
17658 [generic bits/local_lim.h] (before-compile): Do not append to
17659 variable.
17660 [generic bits/local_lim.h] (common-generated): Likewise.
17661 [generic sys/param.h] (before-compile): Do not append to variable.
17662 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17663 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17664 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17665 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17666 include.
17667 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17668 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17669 [generic sys/param.h] ($(addprefix
17670 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17671 [generic sys/param.h] (common-generated): Do not append to
17672 variable.
17673 [generic sys/param.h] (sysdep_headers): Likewise.
17674 [generic bits/errno.h] (before-compile): Do not append to
17675 variable.
17676 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17677 rule.
17678 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17679 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17680 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17681 [generic bits/errno.h] (common-generated): Do not append to
17682 variable.
17683 [generic bits/ioctls.h] (before-compile): Do not append to
17684 variable.
17685 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17686 rule.
17687 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17688 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17689 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17690 rule.
17691 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17692 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17693 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17694 [generic bits/ioctls.h] (common-generated): Do not append to
17695 variable.
17696 [generic sys/syscall.h] (syscall.h): Remove variable.
17697 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17698 rule.
17699 [generic sys/syscall.h] (before-compile): Do not append to
17700 variable.
17701 [generic sys/syscall.h] (common-generated): Likewise.
17702 * sysdeps/unix/errnos-tmpl.c: Remove file.
17703 * sysdeps/unix/errnos.awk: Likewise.
17704 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17705 * sysdeps/unix/ioctls.awk: Likewise.
17706 * sysdeps/unix/mk-local_lim.c: Likewise.
17707 * sysdeps/unix/snarf-ioctls: Likewise.
17708
4851a949
RH
177092012-03-19 Richard Henderson <rth@twiddle.net>
17710
bd37f2ee
RH
17711 * sysdeps/i386/fpu/fenv_private.h: New file.
17712 * sysdeps/i386/fpu/math_private.h: Use it.
17713 (math_opt_barrier, math_force_eval): Remove.
17714 (libc_feholdexcept_setround_53bit): Remove.
17715 (libc_feupdateenv_53bit): Remove.
17716 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17717 (math_opt_barrier, math_force_eval): Remove.
17718 (libc_feholdexcept): Remove.
17719 (libc_feholdexcept_setround): Remove.
17720 (libc_fetestexcept, libc_fesetenv): Remove.
17721 (libc_feupdateenv_test): Remove.
17722 (libc_feupdateenv, libc_feholdsetround): Remove.
17723 (libc_feresetround): Remove.
17724
d0adc922
RH
17725 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17726 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17727
0fe0f1f8
RH
17728 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17729 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17730 (libc_feupdateenv_testl): New.
17731 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17732 (libc_feupdateenv_testf): New.
17733 (libc_feupdateenv): Use libc_feupdateenv_test.
17734 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17735 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17736
eb92c487
RH
17737 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17738 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17739 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17740 (libc_feresetround_noex): New.
17741 (libc_feresetround_noexf): New.
17742 (libc_feresetround_noexl): New.
17743 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17744 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17745 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17746 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17747 SET_RESTORE_ROUND.
17748 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17749 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17750 (__cos): Likewise.
17751 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17752 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17753 SET_RESTORE_ROUND_NOEX.
17754 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17755 SET_RESTORE_ROUND_NOEXF.
17756 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17757 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17758 (libc_feholdsetroundf): New.
17759 (libc_feresetround, libc_feresetroundf): New.
17760
7d2e8012
RH
17761 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17762 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17763 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17764
b4dabbb4
RH
17765 * sysdeps/generic/math_private.h: Include <fenv.h>.
17766 (default_libc_feholdexcept): New.
17767 (default_libc_feholdexcept_setround): New.
17768 (default_libc_fesetenv, default_libc_feupdateenv): New.
17769 (libc_feholdexcept): Only define if undefined.
17770 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17771 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17772 (libc_feholdexcept_setroundl): Likewise.
17773 (libc_feholdexcept_setround_53bit): Likewise.
17774 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17775 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17776 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17777 (libc_feupdateenv_53bit): Likewise.
17778 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17779 (libc_feholdexcept): Convert from macro to inline function.
17780 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17781 (libc_fesetenv, libc_feupdateenv): Likewise.
17782
4851a949
RH
17783 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17784 not previously defined.
17785 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17786 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17787 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17788 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17789 * sysdeps/ieee754/flt-32/math_private.h: New file.
17790 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17791 math_private.h below SET_FLOAT_WORD.
17792 (__isnan, __isinf_ns, __finite): Remove.
17793 (__isnanf, __isinf_nsf, __finitef): Remove.
17794
e79d442e
AS
177952012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17796
17797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17798
90b80344
DM
177992012-03-17 David S. Miller <davem@davemloft.net>
17800
17801 [BZ #6471]
17802 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17803 for 2.16.
17804
edc21804
DM
178052012-03-16 David S. Miller <davem@davemloft.net>
17806
77e927af
DM
17807 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17808 warnings.
17809
374976dd
DM
17810 [BZ #6471]
17811 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17812 properly.
17813 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17814 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17815 sysdep_routines when subdir is sysvipc.
17816 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17817 __getshmlba helper.
17818
edc21804
DM
17819 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17820
473c3ef3
L
178212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17822
17823 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17824 [__LP64__].
17825
eb0f39b6
L
178262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17827
17828 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17829 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17830 (__lround): Renamed to ...
17831 (__llround): This. Replace long int with long long int.
17832 Define lround functions as aliases of llround functions.
17833 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17834
6b6cd74b
L
178352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17836
17837 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17838 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17839 adresses to uintptr_t. Replace "long int" and "unsigned long
17840 int" with "greg_t" on va_arg.
17841
f1a77b01
L
178422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17843
17844 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17845 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17846
17847 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17848 Move e_machine check before EI_CLASS check. Handle x32
17849 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17850 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17851 SKIP_EM_IA_64 and include
17852 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17853
17854 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17855 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17856 (add_system_dir): New macro.
17857
17858 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17859 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17860
11b90b9f
JM
178612012-03-16 Joseph Myers <joseph@codesourcery.com>
17862
c36e1d23
JM
17863 [BZ #2551]
17864 [BZ #2552]
17865 [BZ #2553]
17866 [BZ #2554]
17867 [BZ #2562]
17868 [BZ #2563]
17869 [BZ #2565]
17870 [BZ #2566]
17871 [BZ #2576]
17872 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17873 (y0): Likewise.
17874 * math/w_j0f.c (j0f): Likewise.
17875 (y0f): Likewise.
17876 * math/w_j0l.c (__j0l): Likewise.
17877 (__y0l): Likewise.
17878 * math/w_j1.c (j1): Likewise.
17879 (y1): Likewise.
17880 * math/w_j1f.c (j1f): Likewise.
17881 (y1f): Likewise.
17882 * math/w_j1l.c (__j1l): Likewise.
17883 (__y1l): Likewise.
17884 * math/w_jn.c (jn): Likewise.
17885 (yn): Likewise.
17886 * math/w_jnf.c (jnf): Likewise.
17887 (ynf): Likewise.
17888 * math/w_jnl.c (__jnl): Likewise.
17889 (__ynl): Likewise.
17890 * math/libm-test.inc (j0_test): Add more tests.
17891 (j1_test): Likewise.
17892 (jn_test): Likewise. Add trailing semicolon to existing test.
17893 (y0_test): Likewise.
17894 (y1_test): Likewise.
17895 * sysdeps/i386/fpu/libm-test-ulps: Update.
17896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17897
11b90b9f
JM
17898 [BZ #13851]
17899 [BZ #13854]
17900 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17901 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17902 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17903 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17904 (__tanl): Set errno for infinite argument.
17905 * sysdeps/i386/fpu/mptan.c: Remove.
17906 * sysdeps/i386/fpu/s_tan.S: Likewise.
17907 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17908 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17909 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17910 * math/libm-test.inc (tan_test): Add more tests and enable more
17911 tests for double and long double.
17912 * sysdeps/i386/fpu/libm-test-ulps: Update.
17913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17914
6a1bd2a1
JK
179152012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17916
17917 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17918 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17919
10a803e0
RM
179202012-03-16 Roland McGrath <roland@hack.frob.com>
17921
17922 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17923 * configure.in: Use it for both main tree and add-ons.
17924 * configure: Regenerated.
17925
f196c7f7
L
179262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17927
17928 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17929
8848d99d
JM
179302012-03-16 Joseph Myers <joseph@codesourcery.com>
17931
96cbe7f4
JM
17932 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17933 in comment.
17934
8848d99d
JM
17935 [BZ #13851]
17936 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17937 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17938 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17939 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17940 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17941 infinite argument.
17942 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17943 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17944 != 0 for prec == 2.
17945 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17946 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17947 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17948 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17949 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17950 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17951 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17952 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17953 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17954 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17955 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17956 * math/libm-test.inc (cos_test): Add more tests and enable more
17957 tests for long double.
17958 (sin_test): Likewise.
17959 (sincos_test): Likewise.
17960 * sysdeps/i386/fpu/libm-test-ulps: Update.
17961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17962
dd7f4703
DM
179632012-03-16 David S. Miller <davem@davemloft.net>
17964
17965 * sysdeps/sparc/fpu/math_private.h: New file.
17966
006f1daa
DM
179672012-03-15 David S. Miller <davem@davemloft.net>
17968
c0c83bc8
DM
17969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17970 file.
e6a62e18 17971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17973 file.
e6a62e18
DM
17974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17975 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17976 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17977 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17979 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17980 sysdep routines.
17981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17982
88cb87d9
DM
17983 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17984 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17985
006f1daa 17986 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17988 sparc-ifunc.h
006f1daa 17989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17991 Likewise.
17992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17993 Likewise.
006f1daa
DM
17994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17998 Likewise.
006f1daa
DM
17999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18004 Likewise.
18005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18006 Likewise.
006f1daa
DM
18007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18013 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18014 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18015 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18016 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18021 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18022 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18023 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18024 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18025 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18026 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18027 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18028 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18029 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18030 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18031
11e0098e
AS
180322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18033
18034 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18035 scaling.
18036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18037
e85b09d0
AJ
180382012-03-15 Andreas Jaeger <aj@suse.de>
18039
18040 [BZ #13852]
18041 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18042 ieee754/flt-32 implementation for sin, cos and sincos.
18043 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18044 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18045 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18046 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18047 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18048 ieee754/flt-32 implementation for tan.
18049
18050 * math/libm-test.inc (cos_test): Enable some large input tests for
18051 float as well
18052 (sin_test): Likewise.
18053 (sincos_test): Likewise.
18054 (tan_test): Add tests for large input.
18055
18056 * sysdeps/i386/fpu/libm-test-ulps: Update.
18057
81c64153
AJ
180582012-03-15 Andreas Jaeger <aj@suse.de>
18059
18060 [BZ #13658]
18061 * math/libm-test.inc (cos_test): Add more test cases.
18062 (sin_test): Likewise.
18063 (sincos_test): Likewise.
18064
7bbfa5c6
AJ
180652012-03-15 Andreas Jaeger <aj@suse.de>
18066
18067 [BZ #13837]
18068 * math/libm-test.inc (cos_test): Add a test case for large input
18069 value.
18070 (sin_test): Likewise.
18071 (sincos_test): Likewise.
18072
180732012-03-15 Andreas Jaeger <aj@suse.de>,
18074 Joseph Myers <joseph@codesourcery.com>
18075
18076 [BZ #13658]
0671f479 18077 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18078 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18079 * sysdeps/i386/fpu/branred.c: Likewise.
18080 * sysdeps/i386/fpu/dosincos.c: Likewise.
18081 * sysdeps/i386/fpu/mpa.c: Likewise.
18082 * sysdeps/i386/fpu/s_cos.S: Likewise.
18083 * sysdeps/i386/fpu/s_sin.S: Likewise.
18084 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18085 * sysdeps/i386/fpu/sincos32.c: Likewise.
18086
18087 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18088 Define.
18089 (libc_feupdateenv_53bit): Define.
18090 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18091 Define.
18092 (libc_feupdateenv_53bit): Define.
18093
18094 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18095 53 bit (without extend i386 double precision).
18096
18097 * math/libm-test.inc (sincos_test): Add tests for large input.
18098 (sin): Likewise.
18099 (cos): Likewise.
18100
18101 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18102
9cad04ea
AS
181032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18104
18105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18106
f7062b9a
DM
181072012-03-15 David S. Miller <davem@davemloft.net>
18108
18109 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18110 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18111 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18112 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18125 file.
f7062b9a 18126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18128 file.
f7062b9a 18129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18131 file.
f7062b9a 18132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18134 file.
f7062b9a
DM
18135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18137 fmin/fmax sysdep routines.
18138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18139
7bd951ff
DM
181402012-03-14 David S. Miller <davem@davemloft.net>
18141
559398ab
DM
18142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18146 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18147 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18149 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18150 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18162 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18163 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18165 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18166 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18167 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18168 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18169 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18170 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18171 routines.
18172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18173 file.
559398ab 18174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18176 file.
559398ab 18177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18179 file.
559398ab 18180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18182 file.
559398ab 18183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18185 file.
559398ab 18186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18188 file.
18189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18190 file.
18191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18192 file.
18193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18194 file.
18195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18196 New file.
18197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18198 file.
18199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18200 file.
559398ab 18201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18203 file.
559398ab 18204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18206 file.
559398ab 18207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18209 file.
559398ab 18210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18212 VIS3 routines.
559398ab
DM
18213
18214 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18215 New file.
18216
5a1c1e32
DM
18217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18218
eae47a36
DM
18219 * sysdeps/sparc/configure.in: New file.
18220 * sysdeps/sparc/configure: Generate.
18221 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18222 * configure: Regenerate.
18223 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18224 * config.make.in (have-as-vis3): New.
18225 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18226 available use -Av9d instead of -Av9a.
18227 * sysdeps/sparc/sparc64/Makefile: Likewise.
18228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18230 New file.
18231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18232 file.
18233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18234 New file.
18235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18236 file.
eae47a36
DM
18237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18238 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18239 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18240 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18241 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18242
c0c83bc8
DM
18243 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18244 fzeros/fnegs to load 0x80000000 into a float register instead of
18245 using the stack.
7bd951ff
DM
18246 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18247
bd951ccb
JM
182482012-03-14 Joseph Myers <joseph@codesourcery.com>
18249
18250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18251 bits/syscall.h.
18252 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18253 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18254 ($(inst_includedir)/bits/syscall.h): Remove rule.
18255 ($(objpfx)bits/syscall.d): Include instead of
18256 $(objpfx)syscall-list.d.
18257 (generated): Change syscall-list.h and syscall-list.d to
18258 bits/syscall.h and bits/syscall.d.
18259
bb4e6db2
RM
182602012-03-14 Roland McGrath <roland@hack.frob.com>
18261
18262 [BZ #13846]
18263 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18264
aa4a2ae1
JM
182652012-03-14 Joseph Myers <joseph@codesourcery.com>
18266
e456826d
JM
18267 [BZ #13841]
18268 * math/s_csqrt.c: Include <float.h>.
18269 (__csqrt): Scale large or subnormal inputs.
18270 * math/s_csqrtf.c: Likewise.
18271 * math/s_csqrtl.c: Likewise.
18272 * math/libm-test.inc (csqrt_test): Add more tests.
18273 * sysdeps/i386/fpu/libm-test-ulps: Update.
18274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18275
aa4a2ae1
JM
18276 [BZ #13840]
18277 * math/libm-test.inc (hypot_test): Add more tests.
18278
7c10fd35
DM
182792012-03-13 David S. Miller <davem@davemloft.net>
18280
18281 [BZ #13840]
18282 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18283 double-precision for the calculation instead of scaling.
18284
f453b98b
JM
182852012-03-13 Joseph Myers <joseph@codesourcery.com>
18286
18287 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18288 manipulate bits before adding and subtracting TWO52[sx].
18289 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18290 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18291 Likewise.
18292 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18293
09a3453f
DM
182942012-03-13 David S. Miller <davem@davemloft.net>
18295
8e59da90
DM
18296 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18297 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18299 rtld-global-offsets.h
18300 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18301
2a8ab7f2
DM
18302 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18303 large parameters.
18304
10f62770
DM
18305 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18306
5f0bdb18
DM
18307 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18308 'err' in the ifdef scope in which it is actually used.
18309
09a3453f
DM
18310 * nss/nss_db/db-init.c: Include string.h
18311
b4b2eb5e
DM
183122012-03-12 David S. Miller <davem@davemloft.net>
18313
98bb2f1c
DM
18314 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18315 masking out of the most significant byte of random value used.
18316 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18317 Fix coding style in previous change.
18318
b4b2eb5e
DM
18319 * sysdeps/unix/sysv/linux/kernel-features.h
18320 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18321 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18322 expression.
18323 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18324 later.
18325
6e226b09
DM
183262012-03-11 David S. Miller <davem@davemloft.net>
18327
a1bcbd40
DM
18328 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18329 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18330 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18331 for 'resultvar' otherwise things get truncated on 64-bit.
18332
cb9d6174
DM
18333 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18334 Fix masking out of the most significant byte of random value used.
18335
6e226b09
DM
18336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18337
058c132d
AS
183382012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18339
18340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18341
2d2cd515
DM
183422012-03-09 David S. Miller <davem@davemloft.net>
18343
18344 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18345 variables with appropriate CPP guards.
18346 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18347 frame pointer, not the stack pointer. Correct layout comments. Fix test
18348 on resulting framesize and the management of the outregs buffer for pltexit.
18349 Preserve floating point return values across _dl_call_pltexit call.
18350 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18351 framesize and the management of the outregs buffer for pltexit.
18352 Preserve floating point return values across _dl_call_pltexit
18353 call.
18354 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18355 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18356 (print_exit): Fix format string for return register value.
18357
9a07f9d0
JM
183582012-03-10 Joseph Myers <joseph@codesourcery.com>
18359
18360 * sunrpc/Makefile (others): Add rpcgen.
18361 ($(objpfx)rpcgen): Remove special build rule and dependency on
18362 libc.
18363 * sunrpc/rpcgen.c: New file.
18364
547b5e30
PE
183652012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18366
c524201a
PE
18367 [BZ #13673]
18368 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18369 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18370 * sysdeps/i386/crti.S: Likewise.
18371 * sysdeps/i386/crtn.S: Likewise.
18372 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18373 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18374 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18375 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18376 * sysdeps/sh/crti.S: Likewise.
18377 * sysdeps/sh/crtn.S: Likewise.
18378 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18379
7b6235f2
PE
18380 [BZ #13673]
18381 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18382 with URL.
18383 * locale/programs/locfile-kw.gperf: Likewise.
18384 * locale/programs/charmap-kw.h: Regenerated.
18385 * locale/programs/locfile-kw.h: Likewise.
18386
547b5e30
PE
18387 [BZ #13673]
18388 * intl/plural.y: Replace FSF snail mail address with URL.
18389 * intl/plural.c: Regenerated.
18390
5f0a5dae
RH
183912012-03-09 Richard Henderson <rth@twiddle.net>
18392
18393 * include/math_private.h: Remove file.
18394 * math/math_private.h: Move file ...
18395 * sysdeps/generic/math_private.h: ... here.
18396
b8c03620
RH
18397 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18398 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18399 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18400
4e234f5d 18401 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18402 and <math_private.h>.
18403 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18404 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18405 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18406 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18407 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18408 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18409 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18410 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18411 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18412 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18414 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18415 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18416 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18417 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18418 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18419 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18420 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18421 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18422 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18423 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18424 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18425 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18426 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18427 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18428 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18429 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18430 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18431 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18432 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18433 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18434 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18435 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18436 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18437 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18438 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18439 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18440 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18441 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18442 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18443 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18444 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18445 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18446 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18447 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18448 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18449 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18450 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18451 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18452 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18453 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18454 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18455 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18456 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18457 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18458 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18459 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18460 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18461 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18462 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18463 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18464 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18465 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18466 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18467 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18468 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18469 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18470 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18471 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18472 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18473 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18474 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18475 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18476 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18477 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18478 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18479 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18480 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18481 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18482 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18483 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18484 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18485 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18486 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18487 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18488 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18489 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18490 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18491 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18492 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18493 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18494 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18495 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18496 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18497 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18498 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18499 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18500 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18501 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18502 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18503 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18504 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18505 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18506 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18507 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18508 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18509 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18510 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18511 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18512 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18513 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18514 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18515 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18516 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18517 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18518 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18519 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18520 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18521 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18522 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18523 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18524 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18525 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18526 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18527 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18528 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18529 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18530 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18531 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18532 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18533 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18534 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18535 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18536 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18537 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18538 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18539 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18540 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18541 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18542 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18543 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18544 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18545 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18546 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18547 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18548 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18549 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18550 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18551 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18552 * sysdeps/ieee754/k_standard.c: Likewise.
18553 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18554 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18555 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18556 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18557 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18558 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18559 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18560 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18561 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18562 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18563 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18564 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18565 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18566 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18567 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18568 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18569 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18570 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18571 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18572 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18573 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18574 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18575 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18576 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18577 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18578 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18579 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18580 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18581 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18582 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18583 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18584 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18585 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18586 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18587 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18588 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18589 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18590 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18591 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18592 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18593 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18594 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18595 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18596 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18597 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18598 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18599 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18600 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18601 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18602 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18603 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18604 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18605 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18606 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18607 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18608 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18609 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18610 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18611 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18612 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18613 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18614 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18615 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18616 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18617 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18618 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18619 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18620 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18621 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18622 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18623 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18624 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18625 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18626 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18627 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18628 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18629 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18630 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18631 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18632 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18633 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18634 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18635 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18636 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18637 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18638 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18639 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18640 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18641 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18643 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18644 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18645 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18646 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18647 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18648 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18649 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18650 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18651 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18652 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18653 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18654 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18655 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18656 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18657 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18658 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18659 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18660 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18661 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18662 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18663 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18664 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18665 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18666 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18667 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18668 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18669 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18670 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18671 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18672 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18673 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18674 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18675 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18676 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18677 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18678 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18679 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18680 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18681 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18682 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18683 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18684 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18685 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18686 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18687 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18688 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18689 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18690 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18691 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18692 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18693 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18694 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18695 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18696 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18697 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18698 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18699 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18700 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18701 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18702 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18703 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18704 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18705 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18706 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18707 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18708 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18709 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18710 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18711 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18712 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18713 * sysdeps/ieee754/s_lib_version.c: Likewise.
18714 * sysdeps/ieee754/s_matherr.c: Likewise.
18715 * sysdeps/ieee754/s_signgam.c: Likewise.
18716 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18717 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18718 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18719 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18720 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18721 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18722 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18723 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18724 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18725 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18726 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18727 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18728 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18729 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18730 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18731 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18732 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18733 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18734 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18735 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18736 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18737
1991fa03
JM
187382012-03-09 Joseph Myers <joseph@codesourcery.com>
18739
18740 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18741 * sunrpc/rpc_main.c: Likewise.
18742 * sunrpc/rpc_svcout.c: Likewise.
18743
60d6f5a6
DM
187442012-03-09 David S. Miller <davem@davemloft.net>
18745
18746 * include/math_private.h: New file.
18747
4962050e
JM
187482012-03-09 Joseph Myers <joseph@codesourcery.com>
18749
02a6f887
JM
18750 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18751 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18752 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18753 from <bits/socket_type.h>.
18754 (enum __socket_type): Don't define here.
18755 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18757 bits/socket_type.h.
18758
c6e013c1
JM
18759 [BZ #13566]
18760 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18761 checking __USE_GNU.
18762
4962050e
JM
18763 * Makerules ($(inst_includedir)/%.h): New rule.
18764 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18765 (install-others): Remove variable setting.
18766 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18767
38842f45
RH
187682012-03-08 Richard Henderson <rth@twiddle.net>
18769
67bb6da6
RH
18770 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18771 from macro to inline function; merge with the
18772 !__LIBC_INTERNAL_MATH_INLINES version.
18773 (__ieee754_sqrtf): Likewise.
18774
15194b4b
RH
18775 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18776 to inline function.
18777 (__rintf, __floor, __floorf): Likewise.
18778
64e21ede
RH
18779 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18780 macro to inline function.
18781 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18782
38842f45
RH
18783 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18784 not <math/math_private.h>.
18785
c64bf5fe
DM
187862012-03-08 David S. Miller <davem@davemloft.net>
18787
18788 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18789 copyright year.
18790 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18791
82d86f28
TS
187922012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18793
18794 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18795 normalization.
18796 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18797 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18798
aea5d727
UD
187992012-03-08 Ulrich Drepper <drepper@gmail.com>
18800
18801 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18802 be defined individually, they must be defined as a block. Define
18803 S for printing a string instead of hidint the different by using a
18804 macro for adding the 'l'.
18805 * stdio-common/tst-fphex-wide.c: Adjust.
18806
70bca0a3
MP
188072012-03-07 Marek Polacek <polacek@redhat.com>
18808
18809 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18810
65b81130
MP
188112012-03-08 Marek Polacek <polacek@redhat.com>
18812
18813 [BZ #13806]
18814 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18815 * stdio-common/tst-fphex.c: Define a few macros to make the
18816 test reusable. Use them.
18817 * stdio-common/tst-fphex-wide.c: New file.
18818
07037eeb
JM
188192012-03-08 Joseph Myers <joseph@codesourcery.com>
18820
a7a93d50
JM
18821 [BZ #6911]
18822 * manual/macros.texi (gnusystems): New macro.
18823 (nongnusystems): Likewise.
18824 (gnulinuxhurdsystems): Likewise.
18825 (gnuhurdsystems): Likewise..
18826 (gnulinuxsystems): Likewise.
18827 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18828 variants of the GNU system, not "GNU system".
18829 * manual/conf.texi: Likewise.
18830 * manual/errno.texi: Likewise. Update example of errno macro
18831 expansion.
18832 * manual/filesys.texi: Likewise.
18833 (getumask): Document as specific to GNU/Hurd.
18834 * manual/install.texi: Likewise. Reword some references to
18835 GNU/Linux.
18836 * manual/intro.texi: Likewise.
18837 * manual/io.texi: Likewise.
18838 (File Name Portability): Detail which constraints are inapplicable
18839 to all GNU systems and which are only inapplicable to GNU/Hurd.
18840 * manual/job.texi: Likewise.
18841 * manual/llio.texi: Likewise.
18842 (O_NOCTTY): Document as present on GNU/Linux.
18843 * manual/maint.texi: Likewise.
18844 * manual/memory.texi: Likewise.
18845 * manual/pattern.texi: Likewise.
18846 * manual/pipe.texi: Likewise.
18847 * manual/process.texi: Likewise.
18848 * manual/resource.texi: Likewise.
18849 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18850 child on GNU/Hurd.
18851 * manual/setjmp.texi: Likewise.
18852 * manual/signal.texi: Likewise.
18853 * manual/startup.texi: Likewise.
18854 * manual/stdio.texi: Likewise.
18855 * manual/terminal.texi: Likewise.
18856 (ONLCR): Document as POSIX.
18857 (OXTABS): Document availability on GNU/Linux as XTABS.
18858 (ONOEOT): Document availability separately from other bits.
18859 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18860 * manual/time.texi: Likewise.
18861 * manual/users.texi: Likewise.
18862 * INSTALL: Regenerated.
18863 * sysdeps/gnu/errlist.c: Regenerated.
18864
07037eeb
JM
18865 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18866 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18867 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18868 puts.
18869 * configure: Regenerated.
18870
d1d3431a
JM
188712012-03-07 Joseph Myers <joseph@codesourcery.com>
18872
af6a1e37
JM
18873 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18874 default includes instead of AC_HEADER_CHECK.
18875 * sysdeps/i386/configure: Regenerated.
18876
d1d3431a
JM
18877 [BZ #10716]
18878 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18879 * math/s_cacoshf.c (__cacoshf): Likewise.
18880 * math/s_cacoshl.c (__cacoshl): Likewise.
18881 * math/s_casinh.c (__casinh): Set signs of result from argument.
18882 * math/s_casinhf.c (__casinhf): Likewise.
18883 * math/s_casinhl.c (__casinhl): Likewise.
18884 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18885 (casinh_test): Add more tests.
18886 * sysdeps/i386/fpu/libm-test-ulps: Update.
18887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18888
482ff4da
UD
188892012-03-07 Ulrich Drepper <drepper@gmail.com>
18890
872fda05
UD
18891 * po/zh_TW.po: Update from translation team.
18892
a4300c7a
UD
18893 * login/Makefile (distribute): Remove variable.
18894 * catgets/Makefile: Likewise.
18895 * mach/Makefile: Likewise.
18896 * malloc/Makefile: Likewise.
18897 * misc/Makefile: Likewise.
18898 * iconv/Makefile: Likewise.
18899 * nscd/Makefile: Likewise.
18900 * hurd/Makefile: Likewise.
18901 * manual/Makefile: Likewise.
18902 * locale/Makefile: Likewise.
18903 * intl/Makefile: Likewise.
18904 * conform/Makefile: Likewise.
18905 * nss/Makefile: Likewise.
18906 * time/Makefile: Likewise.
18907 * soft-fp/Makefile: Likewise.
18908 * dirent/Makefile: Likewise.
18909 * gmon/Makefile: Likewise.
18910 * po/Makefile: Likewise.
18911 * rt/Makefile: Likewise.
18912 * socket/Makefile: Likewise.
18913 * math/Makefile: Likewise.
18914 * signal/Makefile: Likewise.
18915 * debug/Makefile: Likewise.
18916 * elf/Makefile: Likewise.
18917 * timezone/Makefile: Likewise.
18918 * stdlib/Makefile: Likewise.
18919 * iconvdata/Makefile: Likewise.
18920 * sunrpc/Makefile: Likewise.
18921 * io/Makefile: Likewise.
18922 * argp/Makefile: Likewise.
18923 * inet/Makefile: Likewise.
18924 * hesiod/Makefile: Likewise.
18925 * grp/Makefile: Likewise.
18926 * csu/Makefile: Likewise.
18927 * wctype/Makefile: Likewise.
18928 * crypt/Makefile: Likewise.
18929 * libio/Makefile: Likewise.
18930 * string/Makefile: Likewise.
18931 * nis/Makefile: Likewise.
18932 * resolv/Makefile: Likewise.
18933 * stdio-common/Makefile: Likewise.
18934 * wcsmbs/Makefile: Likewise.
18935 * dlfcn/Makefile: Likewise.
18936 * posix/Makefile: Likewise.
18937
3b7c4e74 18938 [BZ #6959]
482ff4da
UD
18939 * timezone/Makefile: Don't install timezone files, just the programs
18940 and scripts.
18941
f72ed77d
UD
189422012-03-06 Ulrich Drepper <drepper@gmail.com>
18943
a000466f
UD
18944 * nss/databases.def: Add missing gshadow entry.
18945
f72ed77d
UD
18946 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18947
a53b7a4e
MP
189482012-03-06 Marek Polacek <polacek@redhat.com>
18949
18950 [BZ #13726]
18951 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18952 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18953 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18954 * stdio-common/tst-long-dbl-fphex.c: New file.
18955
e9258400
DM
189562012-03-06 David S. Miller <davem@davemloft.net>
18957
18958 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18959 (set_obp_int): New function.
18960 (get_obp_int): New function.
18961 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18962 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18963 Avoid unused variable warnings on 'val' and use builtin_expect.
18964 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18965 __builtin_expect.
e9258400
DM
18966 (INLINE_CLONE_SYSCALL): Likewise.
18967
3bd2c723
DM
189682012-03-05 David S. Miller <davem@davemloft.net>
18969
18970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18971
bbb78d03
AS
189722012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18973
884c5db4
AS
18974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18975
bbb78d03
AS
18976 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18977 only for |x| >= 40.
18978 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18979
1c9f702a 189802012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18981
18982 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18983 Replace gettimeofday with __vdso_gettimeofday.
18984
7be16f82
RM
18985 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18986 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18987 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18988
18989 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18990 time with __vdso_time.
18991
ed58a00f
JM
189922012-03-05 Joseph Myers <joseph@codesourcery.com>
18993
18994 * manual/lang.texi (size_t): Note types to which size_t may be
18995 equivalent with the GNU C Library, but do not describe when
18996 differences between them are significant.
18997
30ee4ced
AJ
189982012-03-05 Andreas Jaeger <aj@suse.de>
18999
19000 * sysdeps/i386/fpu/libm-test-ulps: Update.
19001
b7cd39e8
JM
190022012-03-05 Joseph Myers <joseph@codesourcery.com>
19003
19004 [BZ #3976]
19005 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19006 (__ieee754_pow): Save and restore rounding mode and use
19007 round-to-nearest for main computations.
19008 * math/libm-test.inc (pow_test_tonearest): New function.
19009 (pow_test_towardzero): Likewise.
19010 (pow_test_downward): Likewise.
19011 (pow_test_upward): Likewise.
19012 (main): Call the new functions.
19013 * sysdeps/i386/fpu/libm-test-ulps: Update.
19014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19015
19016 [BZ #3976]
19017 * math/libm-test.inc (cosh_test_tonearest): New function.
19018 (cosh_test_towardzero): Likewise.
19019 (cosh_test_downward): Likewise.
19020 (cosh_test_upward): Likewise.
19021 (sinh_test_tonearest): Likewise.
19022 (sinh_test_towardzero): Likewise.
19023 (sinh_test_downward): Likewise.
19024 (sinh_test_upward): Likewise.
19025 (main): Call the new functions.
19026 * sysdeps/i386/fpu/libm-test-ulps: Update.
19027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19028
6c6a98c9
TV
190292012-03-05 Tom de Vries <tom@codesourcery.com>
19030
19031 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19032 default stack guard is set in last bytes.
19033 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19034
21bb2d2e 190352012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19036
21bb2d2e 19037 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19038
21bb2d2e
AJ
19039 [BZ #13656]
19040 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19041 possibly allocate from heap instead of stack.
19042 * stdio-common/bug-vfprintf-nargs.c: New file.
19043 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19044
c6922934
AS
190452012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19046
19047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19048
bc957d53
MP
190492012-03-03 Marek Polacek <polacek@redhat.com>
19050
19051 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19052 * math/math_private.h: Likewise.
19053 * stdlib/tst-strtod.c: Likewise.
19054 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19055 * sysdeps/x86_64/bits/atomic.h: Likewise.
19056
6358490d
DM
190572012-03-02 David S. Miller <davem@davemloft.net>
19058
19059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19063 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19064 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19065 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19066 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19067
01ae168d
RM
190682012-03-02 Roland McGrath <roland@hack.frob.com>
19069
d9a17c07
RM
19070 [BZ #13792]
19071 * manual/examples/README: New file, says the example source files
19072 can be used under GPL>=2.
19073 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19074 line containing just "*/".
19075 * manual/examples/add.c: Add copyright header (GPL>=2).
19076 * manual/examples/argp-ex1.c: Likewise.
19077 * manual/examples/argp-ex2.c: Likewise.
19078 * manual/examples/argp-ex3.c: Likewise.
19079 * manual/examples/argp-ex4.c: Likewise.
19080 * manual/examples/atexit.c: Likewise.
19081 * manual/examples/db.c: Likewise.
19082 * manual/examples/dir.c: Likewise.
19083 * manual/examples/dir2.c: Likewise.
19084 * manual/examples/execinfo.c: Likewise.
19085 * manual/examples/filecli.c: Likewise.
19086 * manual/examples/filesrv.c: Likewise.
19087 * manual/examples/fmtmsgexpl.c: Likewise.
19088 * manual/examples/genpass.c: Likewise.
19089 * manual/examples/inetcli.c: Likewise.
19090 * manual/examples/inetsrv.c: Likewise.
19091 * manual/examples/isockad.c: Likewise.
19092 * manual/examples/longopt.c: Likewise.
19093 * manual/examples/memopen.c: Likewise.
19094 * manual/examples/memstrm.c: Likewise.
19095 * manual/examples/mkfsock.c: Likewise.
19096 * manual/examples/mkisock.c: Likewise.
19097 * manual/examples/mygetpass.c: Likewise.
19098 * manual/examples/pipe.c: Likewise.
19099 * manual/examples/popen.c: Likewise.
19100 * manual/examples/rprintf.c: Likewise.
19101 * manual/examples/search.c: Likewise.
19102 * manual/examples/select.c: Likewise.
19103 * manual/examples/setjmp.c: Likewise.
19104 * manual/examples/sigh1.c: Likewise.
19105 * manual/examples/sigusr.c: Likewise.
19106 * manual/examples/stpcpy.c: Likewise.
19107 * manual/examples/strdupa.c: Likewise.
19108 * manual/examples/strftim.c: Likewise.
19109 * manual/examples/strncat.c: Likewise.
19110 * manual/examples/subopt.c: Likewise.
19111 * manual/examples/swapcontext.c: Likewise.
19112 * manual/examples/termios.c: Likewise.
19113 * manual/examples/testopt.c: Likewise.
19114 * manual/examples/testpass.c: Likewise.
19115 * manual/examples/timeval_subtract.c: Likewise.
19116
01ae168d
RM
19117 [BZ #13792]
19118 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19119 function to ...
19120 * manual/timeval_subtract.c.texi: ... here, new file.
19121
49efa33d
DM
191222012-03-02 David S. Miller <davem@davemloft.net>
19123
19124 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19125
28afd92d
JM
191262012-03-02 Joseph Myers <joseph@codesourcery.com>
19127
804360ed
JM
19128 [BZ #3976]
19129 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19130 (__sin): Save and restore rounding mode and use round-to-nearest
19131 for all computations.
19132 (__cos): Save and restore rounding mode and use round-to-nearest
19133 for all computations.
19134 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19135 <fenv.h>.
19136 (tan): Save and restore rounding mode and use round-to-nearest for
19137 all computations.
19138 * math/libm-test.inc (cos_test_tonearest): New function.
19139 (cos_test_towardzero): Likewise.
19140 (cos_test_downward): Likewise.
19141 (cos_test_upward): Likewise.
19142 (sin_test_tonearest): Likewise.
19143 (sin_test_towardzero): Likewise.
19144 (sin_test_downward): Likewise.
19145 (sin_test_upward): Likewise.
19146 (tan_test_tonearest): Likewise.
19147 (tan_test_towardzero): Likewise.
19148 (tan_test_downward): Likewise.
19149 (tan_test_upward): Likewise.
19150 (main): Call the new functions.
19151 * sysdeps/i386/fpu/libm-test-ulps: Update.
19152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19153
a6d06d7b
JM
19154 [BZ #10135]
19155 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19156 small n, then large n, before computing and testing k+n.
19157 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19158 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19159 Likewise.
19160 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19161 Likewise.
19162 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19163 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19164 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19165 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19166 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19167 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19168 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19169 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19170 * math/libm-test.inc (scalbn_test): Add more tests.
19171 (scalbln_test): Likewise.
19172
07e12bb3
JM
19173 * manual/filesys.texi (mode_t): Describe constraints on size and
19174 signedness, not exact equivalence to a particular type.
19175 (ino_t): Likewise.
19176 (ino64_t): Likewise.
19177 (dev_t): Likewise.
19178 (nlink_t): Likewise.
19179 (blkcnt_t): Likewise.
19180 (blkcnt64_t): Likewise.
19181 * manual/llio.texi (off_t): Likewise.
19182
28afd92d
JM
19183 [BZ #3976]
19184 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19185 (__ieee754_exp): Save and restore rounding mode and use
19186 round-to-nearest for all computations.
19187 * math/libm-test.inc (exp_test_tonearest): New function.
19188 (exp_test_towardzero): Likewise.
19189 (exp_test_downward): Likewise.
19190 (exp_test_upward): Likewise.
19191 (main): Call the new functions.
19192 * sysdeps/i386/fpu/libm-test-ulps: Update.
19193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19194
b1eeb65d
CD
191952012-03-01 Chris Demetriou <cgd@google.com>
19196
19197 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19198 have predictable order.
19199
53362a4b
DM
192002012-03-01 David S. Miller <davem@davemloft.net>
19201
3c969083
DM
19202 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19203
759707de
DM
19204 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19205 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19206 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19207 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19208
dfdb8ff2
DM
19209 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19210 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19211 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19213 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19214 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19215 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19216 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19217 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19218
ead89f96
DM
19219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19220
7f66bd07
DM
19221 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19222 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19223 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19224
53362a4b
DM
19225 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19226 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19227 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19228 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19229 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19230 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19231 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19232 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19233 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19234 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19235 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19236 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19238 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19239 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19240 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19241 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19242 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19243 * sysdeps/sparc/elf/configure: Regenerated.
19244
7b1902cb
JM
192452012-03-01 Joseph Myers <joseph@codesourcery.com>
19246
bec039bc
JM
19247 * configure.in (AS, LD): Require binutils 2.20 or later.
19248 * configure: Regenerated.
19249 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19250 as required minimum version.
19251 * INSTALL: Regenerated.
19252
7b1902cb
JM
19253 [BZ #2541]
19254 [BZ #4108]
19255 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19256 before squaring exponent.
19257 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19258 bottom long double and 27 bits of top long double before squaring
19259 exponent.
19260 * math/libm-test.inc (erfc_test): Add more tests.
19261 * sysdeps/i386/fpu/libm-test-ulps: Update.
19262 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19264
f775c276
KT
192652012-03-01 Kai Tietz <ktietz@redhat.com>
19266
19267 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19268 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19269 containing bit-fields.
19270 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19271 * soft-fp/single.h (_FP_UNION_S): Likewise.
19272 * soft-fp/double.h (_FP_UNION_D): Likewise.
19273
5b8a4d4a
JM
192742012-02-29 Joseph Myers <joseph@codesourcery.com>
19275
0bab47b6
JM
19276 [BZ #13786]
19277 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19278 not include ../strcmp.S.
19279 [USE_AS_STRNCASECMP_L]: Likewise.
19280 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19281 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19282 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19283 (__strncasecmp_l_ia32): Define as alias to
19284 __strncasecmp_l_nonascii.
19285
0fcad3e2
JM
19286 [BZ #5794]
19287 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19288 * sysdeps/i386/fpu/libm-test-ulps: Update.
19289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19290
5b8a4d4a
JM
19291 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19293
8fdceb2e
JL
192942012-02-29 Jeff Law <law@redhat.com>
19295
19296 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19297 out of bounds read.
19298
1f393a11
MP
192992012-02-29 Marek Polacek <polacek@redhat.com>
19300
19301 [BZ #13706]
19302 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19303 * elf/Makefile: Add rules to run tst-unused-dep.out.
19304
8847f037
DM
193052012-02-28 David S. Miller <davem@davemloft.net>
19306
19307 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19308 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19309 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19310 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19311 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19312 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19313
169d7f11
JM
193142012-02-29 Joseph Myers <joseph@codesourcery.com>
19315
19316 * math/libm-test.inc (llround_test): Move one test from
19317 lround_test. Use TEST_f_L in moved test.
19318 (lround_test): Move misplaced test to llround_test. Add testcase
19319 from bug 2561.
19320
39adf059
UD
193212012-02-28 Ulrich Drepper <drepper@gmail.com>
19322
19323 * sysdeps/x86_64/fpu/e_expf.S: New file.
19324 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19325
71b5d1c5
SB
193262012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19327
19328 [BZ #13637]
19329 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19330 of remain_len that may cause incomplete multi-byte character and
19331 false match.
19332 * posix/bug-regex33.c: New file.
19333 * posix/Makefile (tests): Add bug-regex33.
19334
1f77f049
JM
193352012-02-28 Joseph Myers <joseph@codesourcery.com>
19336
19337 * manual/macros.texi: New file.
19338 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19339 * manual/libc.texinfo: Include macros.texi.
19340 * manual/creatute.texi: Likewise.
19341 * manual/install.texi: Likewise.
19342 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19343 @glibcadj{} in references to the GNU C Library.
19344 * manual/charset.texi: Likewise.
19345 * manual/conf.texi: Likewise.
19346 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19347 when not using those macros.
19348 * manual/creature.texi: Likewise.
19349 * manual/crypt.texi: Likewise.
19350 * manual/errno.texi: Likewise.
19351 * manual/filesys.texi: Likewise.
19352 * manual/header.texi: Likewise.
19353 * manual/install.texi: Likewise.
19354 * manual/intro.texi: Likewise.
19355 * manual/io.texi: Likewise.
19356 * manual/job.texi: Likewise.
19357 * manual/lang.texi: Likewise.
19358 * manual/libc.texiinfo: Likewise.
19359 * manual/llio.texi: Likewise.
19360 * manual/locale.texi: Likewise.
19361 * manual/maint.texi: Likewise.
19362 * manual/math.texi: Likewise.
19363 * manual/memory.texi: Likewise.
19364 * manual/message.texi: Likewise.
19365 * manual/nss.texi: Likewise.
19366 * manual/pattern.texi: Likewise.
19367 * manual/process.texi: Likewise.
19368 * manual/resource.texi: Likewise.
19369 * manual/search.texi: Likewise.
19370 * manual/setjmp.texi: Likewise.
19371 * manual/signal.texi: Likewise.
19372 * manual/socket.texi: Likewise.
19373 * manual/startup.texi: Likewise.
19374 * manual/stdio.texi: Likewise.
19375 * manual/string.texi: Likewise.
19376 * manual/sysinfo.texi: Likewise.
19377 * manual/syslog.texi: Likewise.
19378 * manual/terminal.texi: Likewise.
19379 * manual/time.texi: Likewise.
19380 * manual/users.texi: Likewise.
19381 * INSTALL: Regenerated.
19382 * NOTES: Regenerated.
d40c5d54 19383 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19384
450bf206
AS
193852012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19386
19387 * include/dirent.h: Include <dirstream.h> before
19388 <dirent/dirent.h>.
19389
741a235b
DM
193902012-02-28 David S. Miller <davem@davemloft.net>
19391
19392 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19393 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19394 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19395 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19396
d6b5aa58
DM
193972012-02-27 David S. Miller <davem@davemloft.net>
19398
1aff59a3
DM
19399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19401 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19402 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19403
d6b5aa58
DM
19404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19405 frame pointer instead of stack pointer relative arg slot.
19406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19407 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19408 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19409
433f48bf
CD
194102012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19411
19412 [BZ #3992]
19413 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19414
d674b76d
DM
194152012-02-27 David S. Miller <davem@davemloft.net>
19416
19417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19421 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19422 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19423 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19424 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19425
0e7727f7
JM
194262012-02-27 Joseph Myers <joseph@codesourcery.com>
19427
19428 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19429 later. Allow versions 5-9.
43be4ca2 19430 * configure: Regenerated.
0e7727f7
JM
19431 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19432 required minimum version and 4.6 as recommended version. Do not
19433 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19434 * INSTALL: Regenerated.
0e7727f7 19435
a78bc654
DM
194362012-02-27 David S. Miller <davem@davemloft.net>
19437
428d5830
DM
19438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19442 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19443 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19444 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19445 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19446
a78bc654
DM
19447 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19448 manipulate bits before adding and subtracting TWO112[sx].
19449 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19450
4579f81c
RM
194512012-02-27 Roland McGrath <roland@hack.frob.com>
19452
36c8acb4
RM
19453 [BZ #13775]
19454 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19455 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19456 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19457 being in POSIX, because they are in 1003.1-2008.
19458
84ad622b
RM
19459 * rt/tst-aio.c: Include <fcntl.h>.
19460 * rt/tst-aio7.c: Likewise.
19461 * rt/tst-aio64.c: Likewise.
19462
4579f81c
RM
19463 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19464
abd923db
JM
194652012-02-27 Joseph Myers <joseph@codesourcery.com>
19466
19467 * manual/install.texi (--with-headers): Describe headers as
19468 interface headers, not private headers.
19469 (Specific advice for GNU/Linux systems): Describe use of headers
19470 from "make headers_install", not private headers from older
19471 kernels.
43be4ca2 19472 * INSTALL: Regenerated.
abd923db
JM
19473 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19474 Change to 2.6.19.
19475 * sysdeps/unix/sysv/linux/configure: Regenerated.
19476
6664049b
JM
19477 * manual/llio.texi (fclean): Remove documentation.
19478
bb8b6697
JM
19479 * manual/Makefile (libc-texi-generated): New variable. Include
19480 version.texi.
19481 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19482 $(libc-texi-generated), not duplicated list of files.
19483 (version.texi, stamp-version): New rules.
19484 (realclean): Remove $(libc-texi-generated), not individual files
19485 from that list. Do not remove dir-add.texinfo.
19486 * manual/libc.texinfo: Comment out uses of edition numbers and
19487 references to printed manual. Remove last-updated dates.
19488 (EDITION): Comment out.
19489 (ISBN): Likewise.
19490 (VERSION, UPDATED): Remove.
19491 (version.texi): Include.
19492
12e5c3b9
AS
194932012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19494
19495 * sysdeps/posix/spawni.c: Include <signal.h>.
19496 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19497 * sysdeps/pthread/aio_fsync.c: Likewise.
19498
4efeffc1 194992012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19500
ba63ba08
UD
19501 * conform/Makefile (tests): Run only when not cross-compiling and
19502 when fast-check is not defined.
19503
d94a4670
UD
19504 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19505 * conform/data/limits.h-data: Fixes for POSIX2008.
19506 * conform/run-conformtest.sh: Run all tests.
19507 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19508 headers.
19509 * include/bits/dlfcn.h: Likewise.
19510 * include/langinfo.h: Likewise.
19511 * include/monetary.h: Likewise.
19512 * include/sys/poll.h: Likewise.
19513
19514 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19515 for __USE_GNU.
19516 * posix/spawn.h: Define __need_sigset_t.
19517 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19518 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19519 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19520 to get sigevent_t only.
19521 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19522 only for __USE_GNU.
19523 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19524 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19525 process_vm_writev only for __USE_GNU.
19526 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19527
19528 * conform/Makefile: For now ignore errors from run-conformtest.
19529 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19530 POSIX to avoid namespace pollution. Don't prepend headers.
19531 * conform/data/aio.h-data: Fixes for POSIX testing.
19532 * conform/data/fcntl.h-data: Likewise.
19533 * conform/data/glob.h-data: Likewise.
19534 * conform/data/grp.h-data: Likewise.
19535 * conform/data/pthread.h-data: Likewise.
19536 * conform/data/pwd.h-data: Likewise.
19537 * conform/data/signal.h-data: Likewise.
19538 * conform/data/spawn.h-data: Likewise.
19539 * conform/data/stdio.h-data: Likewise.
19540 * conform/data/stdlib.h-data: Likewise.
19541 * conform/data/stropts.h-data: Likewise.
19542 * conform/data/sys/mman.h-data: Likewise.
19543 * conform/data/sys/stat.h-data: Likewise.
19544 * conform/data/sys/types.h-data: Likewise.
19545 * conform/data/sys/wait.h-data: Likewise.
19546 * conform/data/time.h-data: Likewise.
19547 * conform/data/unistd.h-data: Likewise.
19548 * conform/data/utime.h-data: Likewise.
19549
19550 * io/sys/stat.h: fchmod was always in POSIX.
19551 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19552 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19553 * rt/aio.h: Define __need_timespec before including <time.h>.
19554 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19555 struct. Add forward declaration of pthread_attr_t and use it in
19556 sigevent.
19557 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19558 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19559 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19560 always remove CLK_TCK definition.
19561
c20105c3
AS
195622012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19563
19564 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19565
7a270350
UD
195662012-02-25 Ulrich Drepper <drepper@gmail.com>
19567
31341567
UD
19568 * conform/run-conformtest.sh: New file.
19569 * conform/Makefile: Run run-conformtest for tests.
19570 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19571 support.
19572
19573 * conform/data/uchar.h-data: New file.
19574 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19575 * conform/data/arpa/inet.h-data: Likewise.
19576 * conform/data/assert.h-data: Likewise.
19577 * conform/data/complex.h-data: Likewise.
19578 * conform/data/cpio.h-data: Likewise.
19579 * conform/data/ctype.h-data: Likewise.
19580 * conform/data/dirent.h-data: Likewise.
19581 * conform/data/dlfcn.h-data: Likewise.
19582 * conform/data/errno.h-data: Likewise.
19583 * conform/data/fcntl.h-data: Likewise.
19584 * conform/data/float.h-data: Likewise.
19585 * conform/data/fmtmsg.h-data: Likewise.
19586 * conform/data/fnmatch.h-data: Likewise.
19587 * conform/data/ftw.h-data: Likewise.
19588 * conform/data/glob.h-data: Likewise.
19589 * conform/data/grp.h-data: Likewise.
19590 * conform/data/iconv.h-data: Likewise.
19591 * conform/data/inttypes.h-data: Likewise.
19592 * conform/data/langinfo.h-data: Likewise.
19593 * conform/data/libgen.h-data: Likewise.
19594 * conform/data/limits.h-data: Likewise.
19595 * conform/data/locale.h-data: Likewise.
19596 * conform/data/math.h-data: Likewise.
19597 * conform/data/monetary.h-data: Likewise.
19598 * conform/data/mqueue.h-data: Likewise.
19599 * conform/data/ndbm.h-data: Likewise.
19600 * conform/data/net/if.h-data: Likewise.
19601 * conform/data/netdb.h-data: Likewise.
19602 * conform/data/netinet/in.h-data: Likewise.
19603 * conform/data/nl_types.h-data: Likewise.
19604 * conform/data/poll.h-data: Likewise.
19605 * conform/data/pthread.h-data: Likewise.
19606 * conform/data/pwd.h-data: Likewise.
19607 * conform/data/regex.h-data: Likewise.
19608 * conform/data/sched.h-data: Likewise.
19609 * conform/data/search.h-data: Likewise.
19610 * conform/data/semaphore.h-data: Likewise.
19611 * conform/data/setjmp.h-data: Likewise.
19612 * conform/data/signal.h-data: Likewise.
19613 * conform/data/spawn.h-data: Likewise.
19614 * conform/data/stdarg.h-data: Likewise.
19615 * conform/data/stdio.h-data: Likewise.
19616 * conform/data/stdlib.h-data: Likewise.
19617 * conform/data/string.h-data: Likewise.
19618 * conform/data/strings.h-data: Likewise.
19619 * conform/data/stropts.h-data: Likewise.
19620 * conform/data/sys/ipc.h-data: Likewise.
19621 * conform/data/sys/mman.h-data: Likewise.
19622 * conform/data/sys/msg.h-data: Likewise.
19623 * conform/data/sys/resource.h-data: Likewise.
19624 * conform/data/sys/select.h-data: Likewise.
19625 * conform/data/sys/sem.h-data: Likewise.
19626 * conform/data/sys/shm.h-data: Likewise.
19627 * conform/data/sys/socket.h-data: Likewise.
19628 * conform/data/sys/stat.h-data: Likewise.
19629 * conform/data/sys/statvfs.h-data: Likewise.
19630 * conform/data/sys/time.h-data: Likewise.
19631 * conform/data/sys/timeb.h-data: Likewise.
19632 * conform/data/sys/times.h-data: Likewise.
19633 * conform/data/sys/types.h-data: Likewise.
19634 * conform/data/sys/uio.h-data: Likewise.
19635 * conform/data/sys/un.h-data: Likewise.
19636 * conform/data/sys/utsname.h-data: Likewise.
19637 * conform/data/sys/wait.h-data: Likewise.
19638 * conform/data/syslog.h-data: Likewise.
19639 * conform/data/tar.h-data: Likewise.
19640 * conform/data/termios.h-data: Likewise.
19641 * conform/data/utime.h-data: Likewise.
19642 * conform/data/utmpx.h-data: Likewise.
19643 * conform/data/varargs.h-data: Likewise.
19644 * conform/data/wchar.h-data: Likewise.
19645 * conform/data/wctype.h-data: Likewise.
19646 * conform/data/wordexp.h-data: Likewise.
19647
19648 * include/stropts.h: New file.
19649 * include/uchar.h: New file.
19650 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19651 * include/assert.h: Likewise.
19652 * include/ctype.h: Likewise.
19653 * include/dirent.h: Likewise.
19654 * include/dlfcn.h: Likewise.
19655 * include/fcntl.h: Likewise.
19656 * include/fnmatch.h: Likewise.
19657 * include/glob.h: Likewise.
19658 * include/grp.h: Likewise.
19659 * include/libio.h: Likewise.
19660 * include/locale.h: Likewise.
19661 * include/math.h: Likewise.
19662 * include/net/if.h: Likewise.
19663 * include/netdb.h: Likewise.
19664 * include/netinet/in.h: Likewise.
19665 * include/pthread.h: Likewise.
19666 * include/pwd.h: Likewise.
19667 * include/regex.h: Likewise.
19668 * include/sched.h: Likewise.
19669 * include/search.h: Likewise.
19670 * include/setjmp.h: Likewise.
19671 * include/signal.h: Likewise.
19672 * include/stdio.h: Likewise.
19673 * include/stdlib.h: Likewise.
19674 * include/string.h: Likewise.
19675 * include/sys/cdefs.h: Likewise.
19676 * include/sys/mman.h: Likewise.
19677 * include/sys/msg.h: Likewise.
19678 * include/sys/resource.h: Likewise.
19679 * include/sys/select.h: Likewise.
19680 * include/sys/socket.h: Likewise.
19681 * include/sys/stat.h: Likewise.
19682 * include/sys/statvfs.h: Likewise.
19683 * include/sys/time.h: Likewise.
19684 * include/sys/times.h: Likewise.
19685 * include/sys/uio.h: Likewise.
19686 * include/sys/utsname.h: Likewise.
19687 * include/sys/wait.h: Likewise.
19688 * include/termios.h: Likewise.
19689 * include/time.h: Likewise.
19690 * include/ulimit.h: Likewise.
19691 * include/unistd.h: Likewise.
19692 * include/utime.h: Likewise.
19693 * include/wchar.h: Likewise.
19694 * include/wctype.h: Likewise.
19695 * include/wordexp.h: Likewise.
19696
19697 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19698
7a270350
UD
19699 * time/time.h: TIME_UTC must be a macro.
19700 Make timespec_get available for ISO C11 only as well.
19701
7724defc
UD
197022012-02-24 Ulrich Drepper <drepper@gmail.com>
19703
19704 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19705 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19706
6b1d1d46
JM
197072012-02-24 Joseph Myers <joseph@codesourcery.com>
19708
19709 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19710
0f8bbd69
JM
197112012-02-24 Joseph Myers <joseph@codesourcery.com>
19712
19713 * manual/texinfo.tex: Update to version 2012-01-19.16.
19714
66ab80bc
JM
197152012-02-24 Joseph Myers <joseph@codesourcery.com>
19716
19717 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19718
74981cc5
RM
197192012-02-24 Roland McGrath <roland@hack.frob.com>
19720
ee968201
RM
19721 [BZ #13738]
19722 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19723 * manual/fdl-1.3.texi: New file.
19724 * manual/fdl-1.1.texi: File removed.
19725
74981cc5
RM
19726 [BZ #13738]
19727 * manual/libc.texinfo (FDL_VERSION): New @set.
19728 Use it for mention of FDL in cover text.
19729 (Documentation License): Use it in @include file name.
19730
7bb764bc
JM
197312012-02-22 Joseph Myers <joseph@codesourcery.com>
19732 Roland McGrath <roland@hack.frob.com>
19733
19734 [BZ #5461]
19735 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19736 not LONG_LONG_MAX and LONG_LONG_MIN.
19737 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19738 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19739 name.
19740 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19741
6cbeae47
JM
197422012-02-22 Joseph Myers <joseph@codesourcery.com>
19743
19744 [BZ #2547]
19745 [BZ #11365]
19746 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19747 manipulate bits before adding and subtracting TWO23[sx].
19748 * math/libm-test.inc (nearbyint_test): Add more tests.
19749
fe45ce09
JM
197502012-02-22 Joseph Myers <joseph@codesourcery.com>
19751
19752 [BZ #2548]
19753 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19754 bits before adding and subtracting TWO23[sx].
19755 * math/libm-test.inc (rint_test): Add more tests.
19756 (rint_test_tonearest): Likewise.
19757 (rint_test_towardzero): Likewise.
19758 (rint_test_downward): Likewise.
19759 (rint_test_upward: Likewise.
19760
ff3b3d82
JM
197612012-02-22 Joseph Myers <joseph@codesourcery.com>
19762
19763 [BZ #10110]
19764 * include/stdc-predef.h: New file. Extracted from features.h.
19765 * include/features.h: Include stdc-predef.h.
19766 * Makefile (headers): Add stdc-predef.h.
19767 * CONFORMANCE (Compiler limitations): Update.
19768
ef0aab35
JM
197692012-02-22 Joseph Myers <joseph@codesourcery.com>
19770
19771 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19772
58639409
DM
197732012-02-21 David S. Miller <davem@davemloft.net>
19774
19775 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19776 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19777
c0e70b25
DM
197782012-02-20 David S. Miller <davem@davemloft.net>
19779
19780 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19781 using a normal save/restore sequence, rather than allocating a
19782 dummy stack frame just to store a frame pointer and restore.
19783 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19784
fb06851d
JM
197852012-02-21 Joseph Myers <joseph@codesourcery.com>
19786
19787 * manual/install.texi: Fix stray word in line-wrapped comment.
19788
7a8b71c3
DM
197892012-02-20 David S. Miller <davem@davemloft.net>
19790
d510c123
DM
19791 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19792 both binutils and gcc support GOTDATA.
19793
0722d7c2
DM
19794 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19795 "rd %pc" in the PIC register setup sequences.
19796
3d2b3019
DM
19797 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19798 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19799 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19800 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19801 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19802 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19803 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19804 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19805 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19806 (SYSCALL_ERROR_HANDLER): Likewise.
19807 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19808 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19809 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19810 (SYSCALL_ERROR_HANDLER): Likewise.
19811
c80098a9
DM
19812 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19813 (HAVE_GCC_GOTDATA): New.
19814 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19815 relocation support in both binutils and gcc.
19816 * sysdeps/sparc/elf/configure: Regenerate.
19817
3a2545a0
DM
19818 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19819 * sysdeps/sparc/sparc32/elf/configure: Delete.
19820 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19821 * sysdeps/sparc/sparc64/elf/configure: Delete.
19822 * sysdeps/sparc/elf/configure.in: New file.
19823 * sysdeps/sparc/elf/configure: Generate.
19824
7a8b71c3
DM
19825 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19826 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19827 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19828 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19829 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19830
f1e86fca
JM
198312012-02-21 Joseph Myers <joseph@codesourcery.com>
19832
19833 * manual/install.texi: Do not mention specific glibc version
19834 numbers.
19835 * manual/libc.texinfo (VERSION, UPDATED): Update.
19836 (@copying): Use @copyright{} and range of years.
19837
0e7dfaef
JM
198382012-02-21 Joseph Myers <joseph@codesourcery.com>
19839
19840 [BZ #13695]
19841 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19842 [crti.S not in sysdirs] (generated): Do not append.
19843 [crti.S not in sysdirs] (omit-deps): Likewise.
19844 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19845 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19846 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19847 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19848 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19849 Likewise.
19850 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19851 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19852 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19853 * csu/defs.awk: Remove file.
19854 * sysdeps/generic/initfini.c: Likewise.
19855 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19856 variable.
19857 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19858 Likewise.
19859
599af3ca
JM
198602012-02-20 Joseph Myers <joseph@codesourcery.com>
19861
19862 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19863 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19864 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19865 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19866 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19867 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19868 <bits/epoll.h>.
19869 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19870 (__EPOLL_PACKED): Define to empty if not defined by
19871 <bits/epoll.h>.
19872 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19874 bits/epoll.h.
19875
0e499750
JM
198762012-02-20 Joseph Myers <joseph@codesourcery.com>
19877
19878 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19879 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19880 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19881 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19882 <bits/timerfd.h>.
19883 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19884 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19885 bits/timerfd.h.
19886
5ad91f6e
JM
198872012-02-20 Joseph Myers <joseph@codesourcery.com>
19888
19889 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19890 in C locale.
19891 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19892 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19893 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19895
06b99b02
AJ
198962012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19897
19898 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19899 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19900
7638c0fd
AS
199012012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19902
19903 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19904 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19905 defined.
19906 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19907 Likewise.
19908 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19909 entry for 2.16.
19910
92221550
AJ
199112012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19912
19913 * math/w_acos.c: Use non-signaling floating-point comparisons.
19914 * math/w_acosf.c: Likewise.
19915 * math/w_acosh.c: Likewise.
19916 * math/w_acoshf.c: Likewise.
19917 * math/w_acoshl.c: Likewise.
19918 * math/w_acosl.c: Likewise.
19919 * math/w_asin.c: Likewise.
19920 * math/w_asinf.c: Likewise.
19921 * math/w_asinl.c: Likewise.
19922 * math/w_atanh.c: Likewise.
19923 * math/w_atanhf.c: Likewise.
19924 * math/w_atanhl.c: Likewise.
19925 * math/w_exp2.c: Likewise.
19926 * math/w_exp2f.c: Likewise.
19927 * math/w_exp2l.c: Likewise.
19928 * math/w_j0.c: Likewise.
19929 * math/w_j0f.c: Likewise.
19930 * math/w_j0l.c: Likewise.
19931 * math/w_j1.c: Likewise.
19932 * math/w_j1f.c: Likewise.
19933 * math/w_j1l.c: Likewise.
19934 * math/w_jn.c: Likewise.
19935 * math/w_jnf.c: Likewise.
19936 * math/w_log.c: Likewise.
19937 * math/w_log10.c: Likewise.
19938 * math/w_log10f.c: Likewise.
19939 * math/w_log10l.c: Likewise.
19940 * math/w_log2.c: Likewise.
19941 * math/w_log2f.c: Likewise.
19942 * math/w_log2l.c: Likewise.
19943 * math/w_logf.c: Likewise.
19944 * math/w_logl.c: Likewise.
19945 * math/w_sqrt.c: Likewise.
19946 * math/w_sqrtf.c: Likewise.
19947 * math/w_sqrtl.c: Likewise.
19948 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19949 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19950 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19951 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19952 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19953
ebaf36eb
JM
199542012-02-19 Joseph Myers <joseph@codesourcery.com>
19955
19956 [BZ #9739]
19957 * manual/string.texi (strnlen): Use correct parameter name in
19958 equivalent expression.
19959
71c254a6
JM
199602012-02-19 Joseph Myers <joseph@codesourcery.com>
19961
19962 [BZ #11174]
19963 * manual/users.texi (seteuid): Consistently use neweuid for
19964 argument name.
19965
16d2c631
JM
199662012-02-19 Joseph Myers <joseph@codesourcery.com>
19967
19968 [BZ #13704]
19969 * manual/nss.texi (Services in the NSS configuration): Correct
19970 list of services in example configuration file.
19971
cd837b09
NB
199722012-02-19 Nick Bowler <nbowler@draconx.ca>
19973
19974 [BZ #11322]
19975 * manual/arith.texi: Remove statements about negative zero
19976 behaving identically to zero.
19977
02c4bbad
JM
199782012-02-18 Joseph Myers <joseph@codesourcery.com>
19979
19980 [BZ #5993]
19981 * manual/install.texi: Do not document upgrading from libc5.
19982
366842e7
JM
199832012-02-18 Joseph Myers <joseph@codesourcery.com>
19984
19985 [BZ #4596]
19986 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19987
dd54084d
DM
199882012-02-18 David S. Miller <davem@davemloft.net>
19989
19990 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19991 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19992 %o7 across the call.
19993 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19994 instead.
19995 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19996 SETUP_PIC_REG_LEAF.
19997 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19998 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19999 * sysdeps/sparc/crtn.S: Likewise.
20000
2bcc53a3
UD
200012012-02-17 Ulrich Drepper <drepper@gmail.com>
20002
20003 * aout/Makefile: Remove.
20004
09c093b5
RK
200052012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20006
20007 [BZ #13058]
20008 * manual/examples/argp-ex1.c (main): Format definition in GNU
20009 style.
20010 * manual/examples/argp-ex2.c (main): Likewise.
20011 * manual/examples/argp-ex3.c (main): Likewise.
20012 * manual/examples/argp-ex4.c (main): Likewise.
20013 * manual/examples/longopt.c (main): Use new-style prototype
20014 definition.
20015 * manual/examples/strncat.c (main): Specify return type and use
20016 (void) for arguments.
20017 * manual/examples/subopt.c (main): Use char **argv argument.
20018
2ee633a2
JM
200192012-02-17 Joseph Myers <joseph@codesourcery.com>
20020
20021 [BZ #5077]
20022 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20023 rounding modes.
20024
0520adde
FB
200252012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20026
20027 [BZ #6907]
20028 * manual/string.texi (strchr): Change when strchrnul is
20029 recommended.
20030
3f4081cd
DGM
200312012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20032
20033 [BZ #174]
20034 * manual/locale.texi (setlocale): Document LOCPATH.
20035
d1b10e78
JM
200362012-02-17 Joseph Myers <joseph@codesourcery.com>
20037
20038 [BZ #10210]
20039 * manual/process.texi (execle): Move @dots{} before last argument.
20040
79c6869c
PB
200412012-02-17 Paul Bolle <pebolle@tiscali.nl>
20042
20043 [BZ #12047]
20044 * manual/charset.texi (Generic Charset Conversion): Fix typo
20045 (LC_TYPE -> LC_CTYPE).
20046
cc6e48bc
NB
200472012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20048
20049 [BZ #5805]
20050 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20051 (scalbnf): Likewise.
20052 (scalbnl): Likewise.
20053 (scalbln): Likewise.
20054 (scalblnf): Likewise.
20055 (scalblnl): Likewise.
20056 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20057 (vwarnx): Likewise.
20058 (verr): Likewise.
20059 (verrx): Likewise.
20060 * manual/filesys.texi (telldir): Use braces around return type.
20061 * manual/llio.texi (mmap): Add space after comma.
20062 (mmap64): Likewise.
20063 * manual/math.texi (jn): Use @var{} on parameter names.
20064 (jnf): Likewise.
20065 (jnl): Likewise.
20066 (yn): Likewise.
20067 (ynf): Likewise.
20068 (ynl): Likewise.
20069 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20070 line.
20071 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20072 "...".
20073 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20074 (sched_get_priority_max): Likewise.
20075 * manual/signal.texi (sigvec): Add space after comma.
20076 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20077 names.
20078 (if_indextoname): Likewise.
20079 (if_freenameindex): Likewise.
20080 (sendto): Use ',' instead of '.' in prototype.
20081 * manual/startup.texi (syscall): Use @dots{} instead of literal
20082 "...".
20083 * manual/stdio.texi (__fpending): Separate initial words of
20084 paragraph from @deftypefun line.
20085 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20086 "...".
20087 (vsyslog): Use @var{} on parameter names.
20088 * manual/terminal.texi (stty): Use @var{} on parameter names.
20089 * manual/users.texi (getutmp): Use @var{} on parameter names.
20090 (getutmpx): Likewise.
20091
5b23062f
JM
200922012-02-17 Joseph Myers <joseph@codesourcery.com>
20093
20094 [BZ #6884]
20095 * manual/stdio.texi (fopen): Fix typos in description of
20096 ",ccs=STRING".
20097
8dee4833
AJ
200982012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20099
20100 [BZ #4026]
20101 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20102 get clock_id definition.
20103
9078ce93
TS
201042012-02-17 Thomas Schwinge <thomas@schwinge.name>
20105
20106 [BZ #4822]
20107 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20108 (madvise): Cast every argument to void on its own.
20109
3835c55f
JM
201102012-02-17 Joseph Myers <joseph@codesourcery.com>
20111
20112 [BZ #9902]
20113 * manual/startup.texi (Exit Status): Fix typo.
20114
35c47e37
JM
201152012-02-17 Joseph Myers <joseph@codesourcery.com>
20116
20117 [BZ #10140]
20118 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20119 * manual/examples/argp-ex2.c: Likewise.
20120 * manual/examples/argp-ex3.c: Likewise.
20121
e3b69ca7
RH
201222012-02-16 Richard Henderson <rth@redhat.com>
20123
20124 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20125 * sysdeps/s390/s390-32/initfini.c: Remove.
20126 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20127 * sysdeps/s390/s390-64/initfini.c: Remove.
20128
df83af67
KK
201292012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20130
20131 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20132 compiler output for sysdeps/generic/initfini.c.
20133 * sysdeps/sh/elf/initfini.c: Remove file.
20134
f63f3380
DM
201352012-02-16 David S. Miller <davem@davemloft.net>
20136
fb59b3a4
DM
20137 [BZ #11494]
20138 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20139
f63f3380
DM
20140 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20141 * sysdeps/sparc/crti.S: New file.
20142 * sysdeps/sparc/crtn.S: New file.
20143 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20144 * sysdeps/sparc/sparc64/Makefile: Likewise.
20145
df6a4a4a
MF
201462012-02-15 Mike Frysinger <vapier@gentoo.org>
20147
6dd8f3dc 20148 [BZ #3335]
df6a4a4a
MF
20149 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20150
1cac7236
RM
201512012-02-15 Roland McGrath <roland@hack.frob.com>
20152
d2c736f8
RM
20153 [BZ #4822]
20154 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20155
1cac7236
RM
20156 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20157 (write, read, close): Likewise.
20158 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20159
8e475601
JM
201602012-02-15 Joseph Myers <joseph@codesourcery.com>
20161
20162 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20163 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20164 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20165 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20166 <bits/signalfd.h>.
20167 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20169 bits/signalfd.h.
20170
ed656b40
MP
201712012-02-14 Marek Polacek <polacek@redhat.com>
20172
20173 * sysdeps/x86_64/crti.S: New file.
20174 * sysdeps/x86_64/crtn.S: New file.
20175 * sysdeps/x86_64/elf/initfini.c: Remove file.
20176
2a979d3a
JM
201772012-02-13 Joseph Myers <joseph@codesourcery.com>
20178
20179 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20180 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20181 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20182 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20183 <bits/inotify.h>.
20184 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20185 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20186 bits/inotify.h.
20187
2a418ac3
JM
201882012-02-13 Joseph Myers <joseph@codesourcery.com>
20189
20190 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20191 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20192 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20193 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20194 <bits/eventfd.h>.
20195 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20197 bits/eventfd.h.
20198
fb779be7
TS
201992012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20200
e19e83c5
RM
20201 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20202 __feraiseexcept instead of feraiseexcept.
7c35ffed 20203
fb779be7
TS
20204 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20205 nanosleep invocations.
20206 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20207 strings, and add error checking for a nanosleep invocations.
20208
59ba27a6
PE
202092012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20210
20211 Replace FSF snail mail address with URLs, as per GNU coding standards.
20212 Most of the snail mail addresses were wrong anyway, and omitting
20213 them makes the source code easier to maintain. Almost all of the
20214 changes are to license notices and to locale LC_IDENTIFICATION
20215 addresses, except for this one:
20216 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20217 not its snail mail address.
20218
57b957eb
RH
202192012-02-09 Richard Henderson <rth@twiddle.net>
20220
af850b1c
RH
20221 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20222 of kernel-features.h.
20223
57b957eb
RH
20224 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20225
6b73181a
MP
202262012-02-08 Marek Polacek <polacek@redhat.com>
20227
20228 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20229 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20230 * sysdeps/gnu/_G_config.h: Likewise.
20231 * sysdeps/generic/_G_config.h: Likewise.
20232
26ecc33a
AS
202332012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20234
6c6dbc63
AS
20235 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20236 tests.
20237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20238
e216c012
AS
20239 * sysdeps/powerpc/powerpc32/crti.S: New file.
20240 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20241 * sysdeps/powerpc/powerpc64/crti.S: New file.
20242 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20243
26ecc33a
AS
20244 * Makeconfig (have-initfini): Don't set.
20245 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20246 * configure.in (nopic_initfini): Don't substitute.
20247 * config.h.in (HAVE_INITFINI): Don't #undef.
20248 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20249 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20250
3add8e13
JM
202512012-02-08 Joseph Myers <joseph@codesourcery.com>
20252
20253 Support crti.S and crtn.S provided directly by architectures.
20254 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20255 [crti.S in sysdirs] (omit-deps): Likewise.
20256 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20257 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20258 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20259 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20260 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20261 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20262 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20263 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20264 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20265 compiler output for sysdeps/generic/initfini.c.
20266 * sysdeps/i386/elf/Makefile: Remove file.
20267 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20268
a22f12b4
MP
202692012-02-07 Marek Polacek <polacek@redhat.com>
20270
20271 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20272 * sysdeps/gnu/_G_config.h: Likewise.
20273 * sysdeps/mach/hurd/_G_config.h: Likewise.
20274
148cf100
MP
202752012-02-07 Marek Polacek <polacek@redhat.com>
20276
20277 * math/Makefile (tests): Add tst-CMPLX2.
20278 * math/tst-CMPLX2.c: New file.
20279
cfdc0dd7
AS
202802012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20281
84ba42c4
AS
20282 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20283
cfdc0dd7
AS
20284 * math/libm-test.inc (jn_test): Add missing L suffix.
20285
622c86f4
MP
202862012-02-06 Marek Polacek <polacek@redhat.com>
20287
20288 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20289 * sysdeps/i386/fpu/e_powf.S: Likewise.
20290 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20291 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20292 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20293 * sysdeps/i386/fpu/e_pow.S: Likewise.
20294 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20295 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20296 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20297 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20298 * sysdeps/i386/fpu/e_log2.S: Likewise.
20299 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20300 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20301 * sysdeps/i386/fpu/e_powl.S: Likewise.
20302 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20303 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20304 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20305 * sysdeps/i386/fpu/e_logl.S: Likewise.
20306 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20307 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20308 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20309 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20310 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20311 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20312 * sysdeps/i386/fpu/e_log.S: Likewise.
20313 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20314 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20315 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20316 * sysdeps/i386/fpu/e_logf.S: Likewise.
20317 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20318 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20319 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20320 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20321 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20322 * sysdeps/i386/fpu/e_log10.S: Likewise.
20323 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20324 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20325 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20326 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20327 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20328 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20329 * sysdeps/i386/asm-syntax.h: Likewise.
20330 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20331 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20332 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20333 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20334 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20335 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20336 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20337 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20338 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20339 * sysdeps/powerpc/sysdep.h: Likewise.
20340 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20341 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20342
d4a54ac6
JM
203432012-02-06 Joseph Myers <joseph@codesourcery.com>
20344
20345 [BZ #411]
20346 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20347
314054ea
JM
203482012-02-06 Joseph Myers <joseph@codesourcery.com>
20349
20350 * sysdeps/i386/sysdep.h: Include <features.h>.
20351 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20352 version.
20353
d8e0ca50
JM
203542012-02-05 Joseph Myers <joseph@codesourcery.com>
20355
20356 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20357 Define.
20358 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20359 LOAD_PIC_REG_STR.
20360
b1da7dd9
JM
203612012-02-03 Joseph Myers <joseph@codesourcery.com>
20362
20363 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20364 (SETUP_PIC_REG): Use GET_PC_THUNK.
20365 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20366 macro.
20367
9a1d9254
JM
203682012-02-03 Joseph Myers <joseph@codesourcery.com>
20369
20370 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20371 for non-PIC compilation.
20372 (SETUP_PIC_REG): Add .p2align directive.
20373 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20374 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20375 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20376 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20377 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20378 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20379 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20380 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20381 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20382 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20383 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20384 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20385 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20386 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20387 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20388 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20389 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20390 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20391 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20392 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20393 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20394 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20395 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20396 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20397 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20398 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20399 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20400 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20401 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20402 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20403 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20404 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20405 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20406 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20407 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20408 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20409 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20410 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20411 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20412 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20413 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20414
65dc3b75
JM
204152012-02-03 Joseph Myers <joseph@codesourcery.com>
20416
20417 * math/tst-CMPLX.c: Include <stdio.h>.
20418
d55bf177
JM
204192012-01-31 Joseph Myers <joseph@codesourcery.com>
20420
20421 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20422 float.
20423 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20424 * sysdeps/sparc/bits/mathdef.h: Likewise.
20425
69db4f8f
MP
204262012-01-31 Marek Polacek <polacek@redhat.com>
20427
20428 * libio/libio.h: Don't define _PARAMS.
20429 * locale/programs/config.h: Don't define PARAMS.
20430 * stdlib/strtol_l.c: Likewise.
20431 (__strtol_l): Remove PARAMS from the prototype.
20432
41b81892
UD
204332012-01-31 Ulrich Drepper <drepper@gmail.com>
20434
3b49edc0
UD
20435 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20436 names. Just use the correct names. Remove unnecessary wrapper
20437 functions.
20438 * malloc/arena.c: Likewise.
20439 * malloc/hooks.c: Likewise.
20440
41b81892
UD
20441 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20442 ARENA_TEST says not to. Simplify test for creation of a new arena.
20443 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20444
27a25b6e
UD
204452012-01-30 Ulrich Drepper <drepper@gmail.com>
20446
20447 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20448 into tail calls.
20449 (update_get_addr): New function.
20450 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20451 GET_ADDR_MODULE parameter.
20452
c8a89e7d
JM
204532012-01-30 Joseph Myers <joseph@codesourcery.com>
20454
20455 * crypt/cert.c: Remove __STDC__ conditionals.
20456 * crypt/crypt-entry.c: Likewise.
20457 * crypt/crypt_util.c: Likewise.
20458 * libio/filedoalloc.c: Likewise.
20459 * libio/fileops.c: Likewise.
20460 * libio/genops.c: Likewise.
20461 * libio/iofclose.c: Likewise.
20462 * libio/iofdopen.c: Likewise.
20463 * libio/iofopen.c: Likewise.
20464 * libio/iofopen64.c: Likewise.
20465 * libio/iogetdelim.c: Likewise.
20466 * libio/iopopen.c: Likewise.
20467 * libio/obprintf.c: Likewise.
20468 * libio/oldfileops.c: Likewise.
20469 * libio/oldiofclose.c: Likewise.
20470 * libio/oldiofdopen.c: Likewise.
20471 * libio/oldiofopen.c: Likewise.
20472 * libio/oldiopopen.c: Likewise.
20473 * libio/wfiledoalloc.c: Likewise.
20474 * libio/wgenops.c: Likewise.
20475 * locale/programs/xmalloc.c: Likewise.
20476 * misc/syslog.c: Likewise.
20477 * stdio-common/xbug.c: Likewise.
20478 * string/memchr.c: Likewise.
20479 * string/memcmp.c: Likewise.
20480 * string/memrchr.c: Likewise.
20481 * string/rawmemchr.c: Likewise.
20482 * sysdeps/posix/getcwd.c: Likewise.
20483 * time/strftime_l.c: Likewise.
20484
3b100462
JM
204852012-01-30 Joseph Myers <joseph@codesourcery.com>
20486
20487 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20488 * config.make.in (config-cflags-sse2avx): Define.
20489 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20490 Fix typo.
20491
607998af
CM
204922012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20493
20494 * scripts/config.guess: Update from upstream config git repository.
20495 * scripts/config.sub: Likewise.
20496
3601428f
CM
204972012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20498
3ac8b282
CM
20499 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20500 (EM_NUM): Update.
20501 (R_TILEPRO_*, R_TILEGX_*): New macros.
20502
e034841e
CM
20503 * scripts/firstversions.awk: Fix bug in version range handling.
20504
540d7568
CM
20505 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20506
3601428f
CM
20507 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20508
463de862
CM
20509 * include/sys/epoll.h: New file.
20510 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20511 libc_hidden_def.
20512
73139a76
UD
205132012-01-28 Ulrich Drepper <drepper@gmail.com>
20514
96bc5b45
UD
20515 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20516 Avoid unnecessary __WORDSIZE == 64 test.
20517 (fmaxf): Use VEX format if possible.
20518 (fmax): Likewise.
20519 (fminf): Likewise.
20520 (fmin): Likewise.
20521
56f6f6a2
UD
20522 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20523 * math/math_private.h: Remove libc_fegetround* and
20524 libc_fesetround*.
20525 * sysdeps/i386/configure.in: Check for -msse2avx.
20526 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20527 also if SSE2AVX is defined.
20528 Remove libc_fegetround* and libc_fesetround*.
20529 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20530 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20531 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20532 of HAS_YMM_USABLE.
20533 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20534 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20535 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20536 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20537 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20538
73139a76
UD
20539 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20540
d73f93a4
AZ
205412012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20542
20543 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20544 size is not set.
20545 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20546
6ee65ed6
UD
205472012-01-27 Ulrich Drepper <drepper@gmail.com>
20548
20549 [BZ #13618]
20550 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20551 relocation.
20552 * Makeconfig (libm): Define.
20553 * elf/Makefile: Add rules to build and run tst-relsort1.
20554 * elf/tst-relsort1.c: New file.
20555 * elf/tst-relsort1mod1.c: New file.
20556 * elf/tst-relsort1mod2.c: New file.
20557
8db21882
JM
205582012-01-27 Joseph Myers <joseph@codesourcery.com>
20559
20560 * math/s_ldexp.c: Remove __STDC__ conditionals.
20561 * math/s_ldexpf.c: Likewise.
20562 * math/s_ldexpl.c: Likewise.
20563 * math/s_nextafter.c: Likewise.
20564 * math/s_nexttowardf.c: Likewise.
20565 * math/s_significand.c: Likewise.
20566 * math/s_significandf.c: Likewise.
20567 * math/s_significandl.c: Likewise.
20568 * math/w_jnl.c: Likewise.
20569 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20570 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20571 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20572 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20573 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20574 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20575 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20576 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20577 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20578 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20579 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20580 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20581 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20582 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20583 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20584 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20585 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20586 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20588 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20589 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20590 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20591 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20592 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20593 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20594 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20595 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20596 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20597 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20598 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20599 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20600 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20601 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20602 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20603 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20604 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20605 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20606 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20607 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20608 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20609 * sysdeps/ieee754/k_standard.c: Likewise.
20610 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20611 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20612 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20613 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20614 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20615 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20616 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20617 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20618 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20619 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20620 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20621 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20622 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20623 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20624 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20625 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20626 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20627 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20628 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20629 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20630 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20631 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20632 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20633 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20634 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20635 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20636 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20637 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20639 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20640 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20641 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20642 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20643 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20644 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20645 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20646 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20647 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20648 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20649 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20650 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20651 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20652 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20653 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20654 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20655 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20656 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20657 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20658 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20659 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20660 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20661 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20662 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20663 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20664 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20665 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20666 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20667 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20668 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20669 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20670 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20671 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20672 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20673 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20674 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20675 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20676 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20677 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20678 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20679 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20680 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20681 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20682 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20683 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20684 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20685 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20686 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20687 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20688 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20689 * sysdeps/ieee754/s_matherr.c: Likewise.
20690 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20691 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20692 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20693 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20694
965a54a4
JM
206952012-01-26 Joseph Myers <joseph@codesourcery.com>
20696
20697 * crypt/md5.h: Remove __STDC__ conditionals.
20698 * libio/libioP.h: Likewise.
20699 * locale/programs/config.h: Likewise.
20700 * sysdeps/generic/sysdep.h: Likewise.
20701 * sysdeps/i386/asm-syntax.h: Likewise.
20702 * sysdeps/s390/asm-syntax.h: Likewise.
20703 * sysdeps/unix/sysdep.h: Likewise.
20704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20706
7071ad79
JM
207072012-01-26 Joseph Myers <joseph@codesourcery.com>
20708
20709 * libio/libio.h: Remove __STDC__ conditionals.
20710 * malloc/obstack.h: Likewise.
20711 * math/complex.h: Likewise.
20712 * math/math.h: Likewise.
20713 * sysdeps/generic/_G_config.h: Likewise.
20714 * sysdeps/gnu/_G_config.h: Likewise.
20715 * sysdeps/mach/hurd/_G_config.h: Likewise.
20716 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20717 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20718 * sysdeps/sparc/bits/mathdef.h: Likewise.
20719
afc5ed09
UD
207202012-01-26 Ulrich Drepper <drepper@gmail.com>
20721
20722 [BZ #13583]
20723 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20724 Clean up HAS_* macros.
afc5ed09 20725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20726 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20727 possible.
20728 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20729 HAS_AVX.
20730 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20731 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20732 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20733 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20734 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20735
bdb6de1d
JM
207362012-01-25 Joseph Myers <joseph@codesourcery.com>
20737
20738 * elf/tst-unique3.cc (gets): Remove declaration.
20739 * elf/tst-unique3lib.cc (gets): Likewise.
20740 * elf/tst-unique3lib2.cc (gets): Likewise.
20741 * elf/tst-unique4.cc (gets): Likewise.
20742
b15549e6
UD
207432012-01-24 Ulrich Drepper <drepper@gmail.com>
20744
20745 * include/stdio.h: Add C++ protection. Add gets declarations and
20746 definitions.
20747 * debug/tst-chk1.c: Don't declare gets here.
20748 * stdio-common/tst-gets.c: Likewise.
20749
a037381f
JM
207502012-01-24 Joseph Myers <joseph@codesourcery.com>
20751
20752 * posix/glob: Remove directory.
20753
f1d4aa75
JM
207542012-01-24 Joseph Myers <joseph@codesourcery.com>
20755
20756 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20757
81c0c964
PT
207582012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20759
20760 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20761 of the non-standard EPFNOSUPPORT.
20762
0ea698ae
ST
207632011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20764
20765 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20766 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20767 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20768
d220b117
UD
207692012-01-21 Ulrich Drepper <drepper@gmail.com>
20770
20771 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20772
3e1aa84e
UD
207732012-01-20 Ulrich Drepper <drepper@gmail.com>
20774
20775 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20776 transient errors.
20777 * nscd/grpcache.c (cache_addgr): Likewise.
20778 * nscd/hstcache.c (cache_addhst): Likewise.
20779 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20780 * nscd/pwdcache.c (cache_addpw): Likewise.
20781 * nscd/servicescache.c (cache_addserv): Likewise.
20782
400aa020
UD
207832012-01-16 Ulrich Drepper <drepper@gmail.com>
20784
d77e7869
UD
20785 * malloc/malloc.c: Various cleanups.
20786 * malloc/hooks.c: Likewise.
20787
400aa020
UD
20788 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20789 * stdlib/bug-fmtmsg1.c: New file.
20790
20791 * stdlib/fmtmsg.c (init): Add missing unlock.
20792 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20793
e0a309cf
MP
207942012-01-12 Marek Polacek <polacek@redhat.com>
20795
20796 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20797 and _GNU_SOURCE.
20798
929d11c7
WS
207992012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20800
20801 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20802 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20803 macro to ensure uniqueness of label name.
20804 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20805 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20806
41d0e869
UD
208072012-01-11 Ulrich Drepper <drepper@gmail.com>
20808
0cc5ed3b
UD
20809 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20810
41d0e869
UD
20811 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20812 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20813 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20814 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20815
a47a831a
UD
208162012-01-10 Ulrich Drepper <drepper@gmail.com>
20817
daa891c0
UD
20818 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20819
20820 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20821 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20822 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20823
e58ef0f2
UD
20824 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20825
a47a831a 20826 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20827 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20828 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20829 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20830
20831 * math/bits/math-finite.h: Add ldexp support.
20832
a0bfc9c7
MP
208332012-01-10 Marek Polacek <polacek@redhat.com>
20834
20835 * locale/programs/localedef.h (show_archive_content): Add noreturn
20836 attribute.
20837
d6e97a1d
UD
208382012-01-09 Ulrich Drepper <drepper@gmail.com>
20839
20840 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20841
d5835c26
UD
208422012-01-08 Ulrich Drepper <drepper@gmail.com>
20843
e5f484c6
UD
20844 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20845
d5835c26
UD
20846 * io/Makefile (headers): Add bits/poll2.h.
20847
d1f741e9
WS
208482011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20849
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20851 typo #include statement.
20852
ec09c1c4
UD
208532012-01-08 Ulrich Drepper <drepper@gmail.com>
20854
20855 * include/sys/cdefs.h: Define __attribute_alloc_size.
20856 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20857 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20858 * elf/pldd.c: Likewise.
20859 * iconv/iconv_charmap.c: Likewise.
20860 * iconv/iconvconfig.c: Likewise.
20861 * iconv/strtab.c: Likewise.
20862 * locale/programs/locale.c: Likewise.
20863 * locale/programs/localedef.h: Likewise.
20864 * locale/programs/simple-hash.c: Likewise.
20865 * nscd/nscd.h: Likewise.
20866 * nss/makedb.c: Likewise.
20867 * sysdeps/generic/ldconfig.h: Likewise.
20868 * locale/programs/localedef.c: Remove xmalloc prototype.
20869 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20870
20b38e03
PP
208712012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20872
20873 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20874 appropriate.
20875
a0da5fe1
UD
208762012-01-08 Ulrich Drepper <drepper@gmail.com>
20877
1d5a644a 20878 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20879 * math/tst-CMPLX.c: New file.
1d5a644a 20880
8784a6db
UD
20881 * math/complex.h (CMPLXL): Fix typo.
20882
d9a216c0
UD
20883 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20884 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20885 GLIBC_2.16.
20886 * debug/tst-chk1.c: Add poll and ppoll tests.
20887 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20888 * include/sys/poll.h: Add hidden proto for ppoll.
20889 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20890 * sysdeps/mach/hurd/ppoll.c: Likewise.
20891 * io/ppoll.c: Likewise.
20892 * debug/poll_chk.c: New file.
20893 * debug/ppoll_chk.c: New file.
20894 * include/bits/poll2.h: New file.
20895 * io/bits/poll2.h: New file.
20896
ac097f5c
UD
20897 [BZ #1350]
20898 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20899
2119dcfa
UD
20900 * configure.in: static is always set to yes. Remove.
20901 * config.make.in: Don't set build-static.
20902 * Makeconfig: Remove use of build-static.
20903 * dlfcn/Makefile: Likewise.
20904 * elf/Makefile: Likewise.
20905 * math/Makefile: Likewise.
20906 * misc/Makefile: Likewise.
20907 * nptl/Makefile: Likewise.
20908 * sysdeps/mach/hurd/Makefile: Likewise.
20909
121766a9
UD
20910 * configure.in: PWD_P is not used anymore.
20911 * config.make.in: Remove PWD_P entry.
20912
51a1d39c 20913 * configure.in: Remove last remnants of RANLIB.
8720d066 20914 No need to check for signed size_t anymore.
215f4bdc
UD
20915 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20916 and IA-64.
3857022a 20917 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20918 * aclocal.m4: Likewise.
20919
d3ed7225
UD
20920 * wcsmbs/mbrtoc16.c: Implement using towc function.
20921 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20922 * wcsmbs/wcsmbsload.c: Likewise.
20923 * iconv/gconv_simple.c: Likewise.
20924 * iconv/gconv_int.h: Likewise.
20925 * iconv/gconv_builtin.h: Likewise.
20926 * iconv/iconv_prog.c: Remove CHAR16 handling.
20927
20928 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20929
20930 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20931
a0da5fe1
UD
20932 * configure.in: Remove --with-elf and --enable-bounded options.
20933 Dont set base_machine for ia64. More non-ELF conditions removed.
20934 Remove testing and setting of leading underscore information.
20935 * config.make.in (build-bounded): Set to no.
20936 * config.h.in: Remove NO_UNDERSCORES entry.
20937 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20938 them.
20939 * csu/start.c: Remove !NO_UNDERSCORE code.
20940 * locale/localeinfo.h: Likewise.
20941 * sysdeps/generic/machine-gmon.h: Likewise.
20942 * sysdeps/generic/sysdep.h: Likewise.
20943 * sysdeps/i386/sysdep.h: Likewise.
20944 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20945 * sysdeps/mach/sysdep.h: Likewise.
20946 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20947 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20948 * sysdeps/sh/sysdep.h: Likewise.
20949 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20950 * sysdeps/unix/i386/sysdep.S: Likewise.
20951 * sysdeps/unix/sparc/start.c: Likewise.
20952 * sysdeps/unix/sparc/sysdep.S: Likewise.
20953 * sysdeps/unix/sparc/sysdep.h: Likewise.
20954 * sysdeps/unix/start.c: Likewise.
20955 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20956 * sysdeps/x86_64/sysdep.h: Likewise.
20957
df78418a
UD
209582012-01-07 Ulrich Drepper <drepper@gmail.com>
20959
a784e502
UD
20960 [BZ #13553]
20961 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20962 for non-gcc.
20963 * argp/argp-fmtstream.h: Use const instead __const.
20964 * argp/argp.h: Likewise.
20965 * assert/assert.h: Likewise.
20966 * bits/fenv.h: Likewise.
20967 * bits/sched.h: Likewise.
20968 * bits/sigset.h: Likewise.
20969 * bits/sigthread.h: Likewise.
20970 * catgets/nl_types.h: Likewise.
20971 * conform/data/pthread.h-data: Likewise.
20972 * crypt/crypt-private.h: Likewise.
20973 * crypt/crypt.h: Likewise.
20974 * crypt/crypt_util.c: Likewise.
20975 * ctype/ctype.h: Likewise.
20976 * debug/execinfo.h: Likewise.
20977 * debug/mbsnrtowcs_chk.c: Likewise.
20978 * debug/mbsrtowcs_chk.c: Likewise.
20979 * debug/wcsnrtombs_chk.c: Likewise.
20980 * debug/wcsrtombs_chk.c: Likewise.
20981 * debug/wcstombs_chk.c: Likewise.
20982 * dirent/dirent.h: Likewise.
20983 * dlfcn/dlfcn.h: Likewise.
20984 * elf/neededtest4.c: Likewise.
20985 * grp/grp.h: Likewise.
20986 * gshadow/gshadow.h: Likewise.
20987 * iconv/gconv.h: Likewise.
20988 * iconv/gconv_int.h: Likewise.
20989 * iconv/gconv_simple.c: Likewise.
20990 * iconv/iconv.h: Likewise.
20991 * iconv/loop.c: Likewise.
20992 * iconv/skeleton.c: Likewise.
20993 * include/aio.h: Likewise.
20994 * include/aliases.h: Likewise.
20995 * include/argz.h: Likewise.
20996 * include/arpa/inet.h: Likewise.
20997 * include/assert.h: Likewise.
20998 * include/dirent.h: Likewise.
20999 * include/dlfcn.h: Likewise.
21000 * include/execinfo.h: Likewise.
21001 * include/fcntl.h: Likewise.
21002 * include/fenv.h: Likewise.
21003 * include/glob.h: Likewise.
21004 * include/grp.h: Likewise.
21005 * include/libintl.h: Likewise.
21006 * include/mntent.h: Likewise.
21007 * include/netdb.h: Likewise.
21008 * include/pwd.h: Likewise.
21009 * include/rpc/netdb.h: Likewise.
21010 * include/sched.h: Likewise.
21011 * include/search.h: Likewise.
21012 * include/shadow.h: Likewise.
21013 * include/signal.h: Likewise.
21014 * include/stdio.h: Likewise.
21015 * include/stdlib.h: Likewise.
21016 * include/string.h: Likewise.
21017 * include/sys/socket.h: Likewise.
21018 * include/sys/stat.h: Likewise.
21019 * include/sys/statfs.h: Likewise.
21020 * include/sys/statvfs.h: Likewise.
21021 * include/sys/syslog.h: Likewise.
21022 * include/sys/time.h: Likewise.
21023 * include/sys/uio.h: Likewise.
21024 * include/time.h: Likewise.
21025 * include/unistd.h: Likewise.
21026 * include/utmp.h: Likewise.
21027 * include/wchar.h: Likewise.
21028 * include/wctype.h: Likewise.
21029 * inet/aliases.h: Likewise.
21030 * inet/arpa/inet.h: Likewise.
21031 * inet/netinet/ether.h: Likewise.
21032 * inet/netinet/in.h: Likewise.
21033 * intl/libintl.h: Likewise.
21034 * io/bits/fcntl2.h: Likewise.
21035 * io/fcntl.h: Likewise.
21036 * io/ftw.h: Likewise.
21037 * io/sys/poll.h: Likewise.
21038 * io/sys/stat.h: Likewise.
21039 * io/sys/statfs.h: Likewise.
21040 * io/sys/statvfs.h: Likewise.
21041 * io/utime.h: Likewise.
21042 * libio/bits/stdio.h: Likewise.
21043 * libio/bits/stdio2.h: Likewise.
21044 * libio/libio.h: Likewise.
21045 * libio/libioP.h: Likewise.
21046 * libio/stdio.h: Likewise.
21047 * locale/lc-ctype.c: Likewise.
21048 * locale/locale.h: Likewise.
21049 * login/utmp.h: Likewise.
21050 * malloc/arena.c: Likewise.
21051 * malloc/malloc.c: Likewise.
21052 * malloc/malloc.h: Likewise.
21053 * malloc/mcheck.c: Likewise.
21054 * malloc/mtrace.c: Likewise.
21055 * math/bits/mathcalls.h: Likewise.
21056 * math/fenv.h: Likewise.
21057 * math/math_private.h: Likewise.
21058 * misc/bits/error.h: Likewise.
21059 * misc/bits/syslog.h: Likewise.
21060 * misc/err.h: Likewise.
21061 * misc/error.h: Likewise.
21062 * misc/fstab.h: Likewise.
21063 * misc/mntent.h: Likewise.
21064 * misc/regexp.h: Likewise.
21065 * misc/search.h: Likewise.
21066 * misc/sgtty.h: Likewise.
21067 * misc/sys/mman.h: Likewise.
21068 * misc/sys/syslog.h: Likewise.
21069 * misc/sys/uio.h: Likewise.
21070 * misc/sys/xattr.h: Likewise.
21071 * misc/ttyent.h: Likewise.
21072 * nis/rpcsvc/ypclnt.h: Likewise.
21073 * nss/nss.h: Likewise.
21074 * posix/bits/unistd.h: Likewise.
21075 * posix/fnmatch.h: Likewise.
21076 * posix/glob.h: Likewise.
21077 * posix/sched.h: Likewise.
21078 * posix/spawn.h: Likewise.
21079 * posix/sys/wait.h: Likewise.
21080 * posix/unistd.h: Likewise.
21081 * posix/wordexp.h: Likewise.
21082 * pwd/pwd.h: Likewise.
21083 * resolv/netdb.h: Likewise.
21084 * resource/sys/resource.h: Likewise.
21085 * rt/aio.h: Likewise.
21086 * rt/bits/mqueue2.h: Likewise.
21087 * rt/mqueue.h: Likewise.
21088 * shadow/shadow.h: Likewise.
21089 * signal/signal.h: Likewise.
21090 * socket/send.c: Likewise.
21091 * socket/sendto.c: Likewise.
21092 * socket/sys/socket.h: Likewise.
21093 * stdio-common/printf.h: Likewise.
21094 * stdlib/bits/stdlib.h: Likewise.
21095 * stdlib/fmtmsg.h: Likewise.
21096 * stdlib/monetary.h: Likewise.
21097 * stdlib/stdlib.h: Likewise.
21098 * stdlib/ucontext.h: Likewise.
21099 * streams/stropts.h: Likewise.
21100 * string/argz.h: Likewise.
21101 * string/bits/string2.h: Likewise.
21102 * string/string.h: Likewise.
21103 * string/strings.h: Likewise.
21104 * sunrpc/rpc/auth.h: Likewise.
21105 * sunrpc/rpc/auth_des.h: Likewise.
21106 * sunrpc/rpc/clnt.h: Likewise.
21107 * sunrpc/rpc/netdb.h: Likewise.
21108 * sunrpc/rpc/pmap_clnt.h: Likewise.
21109 * sunrpc/rpc/xdr.h: Likewise.
21110 * sysdeps/generic/inttypes.h: Likewise.
21111 * sysdeps/generic/net/if.h: Likewise.
21112 * sysdeps/generic/sys/swap.h: Likewise.
21113 * sysdeps/gnu/net/if.h: Likewise.
21114 * sysdeps/gnu/utmpx.h: Likewise.
21115 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21116 * sysdeps/i386/i486/bits/string.h: Likewise.
21117 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21118 * sysdeps/s390/bits/string.h: Likewise.
21119 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21120 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21121 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21122 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21123 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21124 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21125 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21126 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21127 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21128 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21129 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21130 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21131 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21132 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21133 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21134 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21135 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21137 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21138 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21139 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21140 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21141 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21142 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21143 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21144 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21145 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21146 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21147 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21148 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21149 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21150 * sysvipc/sys/ipc.h: Likewise.
21151 * sysvipc/sys/msg.h: Likewise.
21152 * sysvipc/sys/sem.h: Likewise.
21153 * sysvipc/sys/shm.h: Likewise.
21154 * termios/termios.h: Likewise.
21155 * time/sys/time.h: Likewise.
21156 * time/time.h: Likewise.
21157 * wcsmbs/bits/wchar2.h: Likewise.
21158 * wcsmbs/uchar.h: Likewise.
21159 * wcsmbs/wchar.h: Likewise.
21160 * wctype/wctype.h: Likewise.
21161
0269750c
UD
21162 [BZ #13551]
21163 * Makeconfig: Remove all but ELF support including AIX support.
21164 * Makerules: Likewise.
21165 * config.h.in: Likewise.
21166 * config.make.in: Likewise.
21167 * configure: Likewise.
21168 * configure.in: Likewise.
21169 * csu/Makefile: Likewise.
21170 * csu/version.c: Likewise.
21171 * debug/Makefile: Likewise.
21172 * dlfcn/Makefile: Likewise.
21173 * elf/Makefile: Likewise.
21174 * extra-lib.mk: Likewise.
21175 * iconv/Makefile: Likewise.
21176 * include/libc-symbols.h: Likewise.
21177 * include/shlib-compat.h: Likewise.
21178 * resolv/Makefile: Likewise.
21179 * resolv/res_libc.c: Likewise.
21180 * rt/Makefile: Likewise.
21181 * sysdeps/i386/asm-syntax.h: Likewise.
21182 * sysdeps/i386/sysdep.h: Likewise.
21183 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21184 * sysdeps/mach/sysdep.h: Likewise.
21185 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21186 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21187 * sysdeps/s390/asm-syntax.h: Likewise.
21188 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21189 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21190 * sysdeps/sh/sysdep.h: Likewise.
21191 * sysdeps/unix/sparc/sysdep.h: Likewise.
21192 * sysdeps/wordsize-32/divdi3.c: Likewise.
21193 * sysdeps/x86_64/sysdep.h: Likewise.
21194
00bbd29b
UD
21195 * argp/Versions: Remove _argp_unlock_xxx.
21196
21197 [BZ #13559]
21198 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21199 * abilist/libBrokenLocale.abilist: Likewise.
21200 * abilist/libanl.abilist: Likewise.
21201 * abilist/libc.abilist: Likewise.
21202 * abilist/libcrypt.abilist: Likewise.
21203 * abilist/libdl.abilist: Likewise.
21204 * abilist/libm.abilist: Likewise.
21205 * abilist/libnsl.abilist: Likewise.
21206 * abilist/libpthread.abilist: Likewise.
21207 * abilist/libresolv.abilist: Likewise.
21208 * abilist/librt.abilist: Likewise.
21209 * abilist/libthread_db.abilist: Likewise.
21210 * abilist/libutil.abilist: Likewise.
21211 * abilist/libnss_db.abilist: New file.
21212
21213 * scripts/abilist.awk: Add support for indirect functions.
21214
a2693a0e
UD
21215 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21216
3f05895f
UD
21217 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21218
ecb6fb48
UD
21219 * shlib-versions: Remove entries for ports architectures.
21220
664f8cb9
UD
21221 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21222 files in ports.
21223 * elf/stackguard-macros.h: Remove support for IA-64.
21224 * elf/tst-auditmod1.c: Likewise.
21225 * sysdeps/generic/ldsodefs.h: Likewise.
21226
7ae81d88
UD
21227 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21228 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21229 configure files.
21230
bdeba135
UD
21231 [BZ #13552]
21232 * configure.in: Remove --enable-omitfp support.
21233 * FAQ.in: Adjust.
21234 * config.make.in: Likewise.
21235 * Makeconfig: Likewise.
21236 * manual/install.texi: Likewise.
21237
d75a0a62
UD
21238 In case anyone cares, the IA-64 architecture could move to ports.
21239 * sysdeps/ia64/*: Removed.
21240 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21241 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21242
dcc9756b
UD
21243 [BZ #13555]
21244 * configure.in: Remove entries for unsupported architectures.
21245
d3761ebc 21246 [BZ #13533]
9954432e
UD
21247 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21248 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21249 routines.
21250 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21251 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21252 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21253 fall back to using wcrtomb.
21254 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21255 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21256 renaming.
21257 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21258 * wcsmbs/tst-c16c32-1.c: New file.
21259
21260 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21261 local variable.
21262
c3a87236
UD
21263 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21264
28926a1b
UD
21265 * elf/tst-unique3.cc: Add explicit declaration of gets.
21266 * elf/tst-unique3lib.cc: Likewise.
21267 * elf/tst-unique3lib2.cc: Likewise.
21268 * elf/tst-unique4.cc: Likewise.
21269
df78418a
UD
21270 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21271
8ecd6b2a
JM
212722012-01-06 Joseph Myers <joseph@codesourcery.com>
21273
21274 [BZ #13566]
21275 * assert/assert.h (static_assert): Don't define for C++.
21276 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21277 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21278
9f115170
UD
212792012-01-03 Ulrich Drepper <drepper@gmail.com>
21280
5e0d0300
UD
21281 * iconv/loop.c (single loop): Fix assertion in storing of
21282 remaining bytes.
21283
9f115170
UD
21284 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21285
81fb02b0
UD
212862012-01-01 Ulrich Drepper <drepper@gmail.com>
21287
21288 * posix/getconf.c: Update copyright year.
21289 * nss/getent.c: Likewise.
a316c1f6 21290 * nss/makedb.c: Likewise.
81fb02b0
UD
21291 * iconv/iconvconfig.c: Likewise.
21292 * iconv/iconv_prog.c: Likewise.
21293 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21294 * elf/pldd.c: Likewise.
21295 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21296 * catgets/gencat.c: Likewise.
21297 * csu/version.c: Likewise.
21298 * elf/ldd.bash.in: Likewise.
21299 * elf/sprof.c (print_version): Likewise.
21300 * locale/programs/locale.c: Likewise.
21301 * locale/programs/localedef.c: Likewise.
a316c1f6 21302 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21303 * nscd/nscd.c (print_version): Likewise.
21304 * debug/xtrace.sh: Likewise.
21305 * malloc/memusage.sh: Likewise.
21306 * malloc/mtrace.pl: Likewise.
21307 * debug/catchsegv.sh: Likewise.
21308
2ba92745
JJ
213092011-12-30 Jakub Jelinek <jakub@redhat.com>
21310
21311 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21312 pure attribute.
21313
dadebdae
UD
213142011-12-24 Ulrich Drepper <drepper@gmail.com>
21315
d3761ebc 21316 [BZ #13533]
db6af3eb
UD
21317 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21318 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21319 transformations.
21320 * iconv/gconv_int.h: Likewise.
21321 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21322 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21323 from libc for GLIBC_2.16.
21324 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21325 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21326 * wcsmbs/uchar.h: Really define mbstate_t.
21327 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21328 * wcsmbs/c16rtomb.c: New file.
21329 * wcsmbs/mbrtoc16.c: New file.
21330 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21331 for C/POSIX locale.
21332 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21333 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21334
dadebdae
UD
21335 * wcsmbs/wchar.h: Add missing __restrict.
21336
67371b56
UD
213372011-12-23 Ulrich Drepper <drepper@gmail.com>
21338
74033a25
UD
21339 [BZ #13532]
21340 * time/Makefile (routines): Add timespec_get.
21341 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21342 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21343 timespec for ISO C11.
21344 * time/timespec_get.c: New file.
21345 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21346 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21347
380d7e87
UD
21348 [BZ #13531]
21349 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21350 * stdlib/stdlib.h: Declare aligned_alloc.
21351 * Versions.def: Add GLIBC_2.16 for libc.
21352 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21353
4e9e7a35
UD
21354 [BZ 13527]
21355 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21356 ISO C11.
21357
380d7e87 21358 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21359 code.
21360
03a71829
UD
21361 [BZ #13528]
21362 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21363
839e283e
UD
21364 [BZ #13529]
21365 * assert/assert.h (static_assert): Define.
21366
ce5294e2 21367 * version.h: Update for 2.16 development version.
90fa7312 21368
8d44e150 21369 [BZ #13526]
d7809905
UD
21370 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21371 _ISOC11_SOURCE.
21372
c0da14cd
UD
21373 * version.h (RELEASE): Bump for 2.15 release.
21374 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21375
530a3249
MP
21376 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21377 Patch by Marek Polacek <mpolacek@redhat.com>.
21378
67371b56
UD
21379 * bits/byteswap.h: Protect long long constants with __extension__.
21380 * sysdeps/i386/bits/byteswap.h: Likewise.
21381 * sysdeps/ia64/bits/byteswap.h: Likewise.
21382 * sysdeps/s390/bits/byteswap.h: Likewise.
21383 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21384
15db4de1
LD
213852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21386
21387 [BZ #13540]
bbe315ea
LD
21388 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21389 destination buffer.
15db4de1
LD
21390 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21391
2b2596b1
MP
213922011-12-23 Marek Polacek <polacek@redhat.com>
21393
21394 * elf/dl-addr.c (determine_info): Add inline keyword.
21395 * elf/tst-auditmod4b.c (check_avx): Likewise.
21396 * elf/tst-auditmod6b.c (check_avx): Likewise.
21397 * elf/tst-auditmod6c.c (check_avx): Likewise.
21398 * elf/tst-auditmod7b.c (check_avx): Likewise.
21399
70c6c246
UD
214002011-12-23 Ulrich Drepper <drepper@gmail.com>
21401
21402 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21403 !__SSE_MATH__.
21404
c044cf14
LD
214052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21406
15db4de1 21407 [BZ #13540]
c044cf14
LD
21408 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21409 processing for last bytes.
21410
6b13d9d9
BH
214112011-08-06 Bruno Haible <bruno@clisp.org>
21412
d455f537
BH
21413 [BZ #13061]
21414 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21415 U+0385, not to U+1FEE.
21416
6b13d9d9
BH
21417 [BZ #13062]
21418 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21419 entry for U+00A5 U+0301.
21420
db910efd
UD
214212011-12-22 Ulrich Drepper <drepper@gmail.com>
21422
27deeafc
UD
21423 [BZ #13166]
21424 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21425 buffer for the output is too small.
21426
aed9d171
UD
21427 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21428 optimization.
21429
db910efd
UD
21430 [BZ #13185]
21431 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21432 SSE flags if possible.
21433
2bd779ae
LD
214342011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21435
e7f9dac3 21436 [BZ #13540]
2bd779ae
LD
21437 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21438 processing for last bytes.
21439
154bfc16
JM
214402011-12-22 Joseph Myers <joseph@codesourcery.com>
21441
21442 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21443 (syscall-list-default-options, syscall-list-default-condition)
21444 (syscall-list-includes): Define.
21445 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21446 list of ABIs and options and #if conditions for each ABI. Do not
21447 handle common syscalls between ABIs specially.
21448 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21449 Remove.
21450 (syscall-list-variants, syscall-list-32bit-options)
21451 (syscall-list-32bit-condition, syscall-list-64bit-options)
21452 (syscall-list-64bit-condition): Define.
21453 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21454 (syscall-list-variants, syscall-list-32bit-options)
21455 (syscall-list-32bit-condition, syscall-list-64bit-options)
21456 (syscall-list-64bit-condition): Define.
21457 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21458 Remove.
21459 (syscall-list-variants, syscall-list-32bit-options)
21460 (syscall-list-32bit-condition, syscall-list-64bit-options)
21461 (syscall-list-64bit-condition): Define.
21462 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21463 Remove.
21464 (syscall-list-variants, syscall-list-32bit-options)
21465 (syscall-list-32bit-condition, syscall-list-64bit-options)
21466 (syscall-list-64bit-condition): Define.
21467
21eaf3a5
UD
214682011-12-22 Ulrich Drepper <drepper@gmail.com>
21469
16c6f992
UD
21470 * locale/iso-639.def: Add brx entry.
21471
41043168
UD
21472 [BZ #13328]
21473 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21474 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21475
21eaf3a5
UD
21476 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21477 __feraiseexcept_renamed.
21478
e3a851a2
UD
214792011-12-21 Ulrich Drepper <drepper@gmail.com>
21480
4920765e
UD
21481 [BZ #13538]
21482 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21483 EPOLLET with unsigned values.
21484 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21485 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21486
e3a851a2
UD
21487 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21488 to large cancellation.
21489 * math/s_cacoshf.c: Likewise.
21490 * math/s_cacoshl.c: Likewise.
21491
b27e24b8
RK
214922011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21493
21494 [BZ #13305]
aebefeee 21495 [BZ #12786]
b27e24b8
RK
21496 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21497 * math/s_cacoshf.c: Likewise.
21498 * math/s_cacoshl.c: Likewise.
21499
ee190f67
UD
215002011-12-21 Ulrich Drepper <drepper@gmail.com>
21501
21502 [BZ #13439]
21503 * iconv/gconv.h: Define __GCONV_SWAP.
21504 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21505 * iconvdata/utf-16.c: Likewise.
21506 * iconvdata/utf-32.c: Likewise.
21507
707f25df
AS
215082011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21509
21510 [BZ #13524]
21511 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21512 numerator after shifting it by one limb.
21513
d2daaa1e
RÁE
215142011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21515
21516 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21517 under [__USE_EXTERN_INLINES].
21518
a4647e72
UD
215192011-12-17 Ulrich Drepper <drepper@gmail.com>
21520
21521 [BZ #13446]
21522 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21523
f0b264f1
AZ
215242011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21525
21526 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21527 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21528 optimized code.
21529 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21530 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21531 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21532 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21533 for strncasecmp/strncasecmp_l compilation.
21534 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21535 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21536
8ef4f244
MP
215372011-12-08 Marek Polacek <mpolacek@redhat.com>
21538
21539 [BZ #13484]
21540 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21541 of __asm__.
21542
97ac2654
UD
215432011-12-17 Ulrich Drepper <drepper@gmail.com>
21544
21545 [BZ #13506]
21546 * time/tzfile.c (__tzfile_read): Check values from file header.
21547
91d2a845
WS
215482011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21549
21550 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21551 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21552 * powerpc/powerpc32/dl-start.S: Likewise.
21553 * powerpc/powerpc32/elf/start.S: Likewise.
21554 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21555 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21556 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21557 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21558 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21559 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21560 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21561 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21562 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21563 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21564 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21565 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21566 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21567 * powerpc/powerpc32/memset.S: Likewise.
21568 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21569 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21570 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21571 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21572 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21573 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21574 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21575 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21576 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21577 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21578 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21579 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21580 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21581
a1267ba1
AZ
215822011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21583
21584 * math/libm-test.inc: Added more nearbyint tests.
21585 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21586 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21587 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21588 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21589
ad8ac1bd
RL
215902011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21591
21592 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21593 FD_CLOEXEC.
21594
1d3e4b61
UD
215952011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21596
21597 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21598 Add wcscpy-ssse3 wcscpy-c.
21599 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21600 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21601 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21602 * sysdeps/x86_64/wcschr.S: New file.
21603 * sysdeps/x86_64/wcsrchr.S: New file.
21604 * string/test-strcmp.c: Remove checking of wcscmp function for
21605 wrong alignments.
21606 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21607 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21608 wcsrchr-sse2 wcsrchr-c.
21609 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21610 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21611 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21612 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21613 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21614 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21615 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21616 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21617 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21618 * wcsmbc/wcschr.c (WCSCHR): New macro.
21619
5b330a2d
UD
216202011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21621
21622 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21623 * wcsmbs/test-wcsrchr.c: New file.
21624 * string/test-strrchr.c: Add wcsrchr support.
21625 (WIDE): New macro.
21626 * wcsmbs/test-wcscpy.c: New file.
21627 * string/test-strcpy.c: Add wcscpy support.
21628 (WIDE): New macro.
26428b7c 21629
f039c043
UD
216302011-12-10 Ulrich Drepper <drepper@gmail.com>
21631
21632 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21633 the inner loop.
21634
850fb039
AS
216352011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21636
21637 [BZ #13472]
21638 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21639
4efbd5cb
UD
216402011-12-04 Ulrich Drepper <drepper@gmail.com>
21641
52ff5dd0 21642 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21643 Minor optimizations.
52ff5dd0 21644
4efbd5cb
UD
21645 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21646 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21647 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21648
8a426e12
UD
216492011-12-03 Ulrich Drepper <drepper@gmail.com>
21650
aff2453d
UD
21651 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21652 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21653 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21654 for gcc to avoid warnings.
21655 * inet/Makefile (tests): Add tst-checks.
21656 * inet/tst-checks.c: New file.
21657
21658 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21659 warning.
21660
21661 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21662 __wmemcmp_sse2.
21663
21664 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21665 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21666
8a426e12
UD
21667 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21668
9bea3473
UD
216692011-12-02 Ulrich Drepper <drepper@gmail.com>
21670
3a965496
UD
21671 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21672 problem.
21673
9bea3473
UD
21674 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21675
f101631b
UD
216762011-11-29 Joseph Myers <joseph@codesourcery.com>
21677
21678 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21679 conditional on GCC version.
21680 (__arch_compare_and_exchange_val_8_acq)
21681 (__arch_compare_and_exchange_val_16_acq)
21682 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21683 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21684 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21685
a98275aa
UD
216862011-12-02 Joseph Myers <joseph@codesourcery.com>
21687
21688 * sysdeps/sh/backtrace.c: New file.
21689
d4cc29a2
AS
216902011-12-02 Andreas Schwab <schwab@redhat.com>
21691
21692 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21693 parenthesis.
21694
6257af2d
AS
216952011-12-01 Andreas Schwab <schwab@redhat.com>
21696
21697 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21698 falling back to utime.
21699
b5f44c1a
AS
217002011-11-30 Andreas Schwab <schwab@redhat.com>
21701
21702 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21703 expectations for float.
21704
f3a6cc0a
AS
217052011-11-29 Andreas Schwab <schwab@redhat.com>
21706
21707 * locale/weight.h (findidx): Add parameter len.
21708 * locale/weightwc.h (findidx): Likewise.
21709 * posix/fnmatch_loop.c (FCT): Adjust caller.
21710 * posix/regcomp.c (build_equiv_class): Likewise.
21711 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21712 * posix/regexec.c (check_node_accept_bytes): Likewise.
21713 * string/strcoll_l.c (STRCOLL): Likewise.
21714 * string/strxfrm_l.c (STRXFRM): Likewise.
21715
9d65ea3a
UD
217162011-11-17 Ulrich Drepper <drepper@gmail.com>
21717
21718 * Makefile.in: Remove CVSOPT handling.
21719 * configure.in: Remove use of AC_REVISION.
21720 * iconvdata/Makefile (distribute): No need to filter out CVS.
21721 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21722 handling.
21723
5583a086
AS
217242011-11-16 Andreas Schwab <schwab@redhat.com>
21725
21726 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21727 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21728 [USE_AS_STRNCASECMP_L]: Likewise.
21729 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21730 NO_TLS_DIRECT_SEG_REFS.
21731 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21732 Fix argument offsets for non-PIC.
21733 [USE_AS_STRNCASECMP_L]: Likewise.
21734 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21735 NO_TLS_DIRECT_SEG_REFS.
21736
d62a8200
UD
217372011-11-15 Ulrich Drepper <drepper@gmail.com>
21738
9d65ea3a 21739 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21740 O_CLOEXEC.
21741 * locale/loadlocale.c (_nl_load_locale): Likewise.
21742
09f93bd3
AS
217432011-11-15 Andreas Schwab <schwab@redhat.com>
21744
446514f9
AS
21745 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21746 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21747 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21748 (SYSCALL_GETTIME): Set errno on error.
21749
09f93bd3
AS
21750 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21751 count references to noai6ai_cached.
21752
312be3f9
UD
217532011-11-15 Ulrich Drepper <drepper@gmail.com>
21754
21755 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21756
21757 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21758 FD_CLOEXEC for /proc/self/maps.
21759
21760 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21761 FD_CLOEXEC for /proc/meminfo.
21762
21763 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21764 gai.conf.
21765
21766 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21767 FD_CLOEXEC for given file.
21768
21769 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21770
21771 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21772 FD_CLOEXEC for /etc/hosts.
21773 (_gethtent): Likewise.
21774
21775 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21776
21777 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21778 cancellation and set FD_CLOEXEC for /etc/netgroup.
21779
21780 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21781 reading /etc/publickey.
21782
21783 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21784 allow cancellation when reading /etc/group.
21785
21786 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21787 cancellation.
21788 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21789
21790 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21791 when using data file.
21792
21793 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21794
21795 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21796 (write_nis_obj): Use "c" and "e" in fopen.
21797
21798 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21799
21800 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21801
21802 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21803
21804 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21805
21806 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21807 locale.alias.
21808
21809 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21810
21811 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21812
21813 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21814
21815 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21816 file parsing and set FD_CLOEXEC.
21817
82af0fa8
UD
218182011-11-14 Ulrich Drepper <drepper@gmail.com>
21819
21820 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21821
a5fb313c
AS
218222011-11-14 Andreas Schwab <schwab@redhat.com>
21823
21824 * malloc/arena.c (arena_get2): Don't call reused_arena when
21825 _int_new_arena failed.
21826
6abf3465
UD
218272011-11-14 Ulrich Drepper <drepper@gmail.com>
21828
21829 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21830 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21831 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21832 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21833 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21834 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21835 to compile strcasecmp and strncasecmp.
21836 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21837 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21838
21839 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21840
76e3966e
UD
218412011-11-13 Ulrich Drepper <drepper@gmail.com>
21842
21843 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21844 locale-defines.sym to gen-as-const-headers.
21845 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21846 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21847 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21848 to compile strcasecmp and strncasecmp.
21849 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21850 strcasecmp_l and strncasecmp_l.
21851 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21852 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21853 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21854 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21855 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21856 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21857 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21858 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21859 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21860 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21861 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21862
ab26144e
UD
218632011-11-12 Ulrich Drepper <drepper@gmail.com>
21864
7edb22ef
UD
21865 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21866 result of SYSDEP_GETTIME_CPU to retval.
21867 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21868 parameter list to macro. Remove trailing semicolon. Adjust users.
21869
9694fc44
UD
21870 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21871 variable.
21872
8ad89ef8
UD
21873 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21874 mantissa words.
21875 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21876
0c822ef9
UD
21877 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21878 from unused variable.
21879
874e0564
UD
21880 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21881 DWARF definitions.
21882 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21883 for assembling.
21884
3a2edc79
UD
21885 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21886 over namespaces.
21887
f3c2577f
UD
21888 * sunrpc/rpc_prot.c (rejected): Fix case value.
21889
294ce126
UD
21890 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21891 unsigned long long int to avoid warnings in shift.
21892
5e2b63c6
UD
21893 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21894 of use of trans.
21895 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21896 variable tmp.
21897
e7f4b08e
UD
21898 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21899 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21900 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21901
ab26144e
UD
21902 * nis/nis_table.c (nis_list): Use variable of correct type for
21903 result of __follow_path call.
21904
8a6d5255
AZ
219052011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21906
21907 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21908 of math functions ceil, trunc, floor, round, and sqrt, when
21909 avaliable on the platform.
21910 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21911 name clash.
21912 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21913 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21914 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21915
aaddc98c
MP
219162011-10-30 Marek Polacek <mpolacek@redhat.com>
21917
21918 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21919 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21920
95b7042b
RM
219212011-11-11 Roland McGrath <roland@hack.frob.com>
21922
21923 * include/unistd.h: Fix __readlink return type.
21924 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21925
57769839
UD
219262011-11-11 Ulrich Drepper <drepper@gmail.com>
21927
21928 * stdlib/ucontext.h: Undo last change for makecontext.
21929
edc5984d
AS
219302011-11-11 Andreas Schwab <schwab@redhat.com>
21931
98591e58
AS
21932 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21933
edc5984d
AS
21934 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21935 * setjmp/setjmp.h: Mark functions as non-leaf.
21936 * setjmp/bits/setjmp2.h: Likewise.
21937 * stdlib/ucontext.h: Likewise.
21938
77cdc054
AS
219392011-11-10 Andreas Schwab <schwab@redhat.com>
21940
21941 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21942 (reused_arena): Don't check arena limit.
21943 (arena_get2): Atomically check arena limit.
21944
fe72eebd
UD
219452011-11-08 Ulrich Drepper <drepper@gmail.com>
21946
5f078c32
UD
21947 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21948 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21949
fe72eebd
UD
21950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21951 instructions.
21952
ae1bc2fa
AS
219532011-11-07 Andreas Schwab <schwab@redhat.com>
21954
7583a88d
AS
21955 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21956 handler when locking.
21957
ae1bc2fa
AS
21958 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21959 Fix size of allocated buffer.
21960
10fb0bfa
AS
219612011-11-04 Andreas Schwab <schwab@redhat.com>
21962
998832a4
AS
21963 [BZ #10103]
21964 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21965 declarations for long double functions.
21966 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21967
10fb0bfa
AS
21968 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21969
3d7ba52b
AS
219702011-11-03 Andreas Schwab <schwab@redhat.com>
21971
a9ae54a1
AS
21972 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21973 installed.
21974
3d7ba52b
AS
21975 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21976 is disabled.
21977
bc8db248
ST
219782011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21979
21980 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21981
45b96dd6
AS
219822011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21983
647776f6
AS
21984 * include/alloca.h (stackinfo_alloca_round): Define.
21985 (extend_alloca): Use it.
21986 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21987 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21988 here.
21989
d91a8b93
AS
21990 * scripts/check-local-headers.sh: Ignore libaudit.h.
21991
45b96dd6
AS
21992 * nscd/Makefile (extra-objs): Make recursively expanded.
21993
432d41ce
UD
219942011-11-01 Ulrich Drepper <drepper@gmail.com>
21995
34372fc6
UD
21996 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21997 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21998
fadb59f8
UD
21999 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22000 * posix/tst-rfc3484-2.c: Likewise.
22001 * posix/tst-rfc3484-3.c: Likewise.
22002
78239589
UD
22003 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22004 process_vm_writev.
22005 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22006 process_vm_writev.
22007 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22008 process_vm_writev from libc using GLIBC_2.15 version.
22009
432d41ce
UD
22010 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22011
02f9c6cf
PP
220122011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22013
22014 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22015 stack usage.
22016
3a2c0242
UD
220172011-10-31 Ulrich Drepper <drepper@gmail.com>
22018
f4ec4833
UD
22019 [BZ #13367]
22020 * nss/getent.c (initgroups_keys): Show error message in case no group
22021 names are given.
22022
3a2c0242
UD
22023 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22024 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22025 __bump_nl_timestamp.
22026 * nscd/connections (nscd_init): When host database is served open
22027 netlink socket and request notification about configuration changes.
22028 (main_loop_poll): Track netlink file descriptor and bump timestamp
22029 in case data becomes available.
22030 (main_loop_epoll): Likewise.
22031 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22032 (database_pers_head): Add extra_data fileds.
22033 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22034 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22035 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22036 Adjust caller.
22037 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22038 in6ai data, call __free_in6ai.
22039 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22040 Add -DHAVE_NETLINK.
22041 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22042 interface information. Reuse previous data if netlink timestamp
22043 is not changed.
22044 (__bump_nl_timestamp): New function.
22045 (__free_in6ai): New function.
22046
636064eb
UD
220472011-10-30 Ulrich Drepper <drepper@gmail.com>
22048
22049 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22050 close_not_cancel_no_status here.
22051 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22052
9beb2334
UD
220532011-10-29 Ulrich Drepper <drepper@gmail.com>
22054
6ef76f3b
UD
22055 [BZ #13276]
22056 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22057 return value.
22058
0ffc4f3e 22059 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22060 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22061 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22062
cb95113e
UD
220632011-07-03 Andreas Jaeger <aj@suse.de>
22064
22065 [BZ #10709]
22066 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22067 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22068 * math/libm-test.inc (sin_test): Add test case.
22069
a1b560ff
UD
220702011-10-29 Ulrich Drepper <drepper@gmail.com>
22071
c9aaface
UD
22072 [BZ #13337]
22073 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22074 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22075
d272e7f1
UD
22076 * elf/chroot_canon.c (chroot_canon): Cleanups.
22077
1bc33071
UD
22078 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22079
1760874d
TJ
22080 [BZ #13335]
22081 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22082 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22083
51d91b18
UD
22084 * string/test-strchr.c: Make usable for strchrnul testing.
22085 * string/test-strchrnul.c: New file.
22086 * string/Makefile (strop-tests): Add strchrnul.
22087
a1b560ff 22088 * po/it.po: Update from translation team.
b611fb81 22089 * po/es.po: Likewise.
a1b560ff 22090
a5b81e1f
UD
220912011-10-28 Ulrich Drepper <drepper@gmail.com>
22092
fd52bc6d
UD
22093 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22094 the three constants needed as parameters. Drop the others.
22095 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22096 __m128i_strloadu_tolower.
52e4b9eb
UD
22097 Create and initialize variable zero and use it in all the places
22098 where _mm_setzero_si128 was used.
fd52bc6d 22099
a5b81e1f
UD
22100 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22101 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22102 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22103 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22104 anymore.
22105 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22106 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22107 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22108 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22109 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22110 __mpranred, __mptan.
22111 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22112 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22113 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22114 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22115 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22116 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22117 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22118 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22119 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22120
b4343346
AS
221212011-10-28 Andreas Schwab <schwab@redhat.com>
22122
0c92d8a8
AS
22123 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22124 redefine if SHARED.
22125 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22126
b4343346
AS
22127 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22128 wide char related routines to wcsmbs subdir.
22129
3871f58f
AS
221302011-10-27 Andreas Schwab <schwab@redhat.com>
22131
22132 [BZ #13344]
22133 * misc/sys/cdefs.h (__THROWNL): Define.
22134 * posix/unistd.h: Use __THREADNL instead of __THREAD
22135 for memory synchronization functions.
22136
94d44d9f
RM
221372011-10-26 Roland McGrath <roland@hack.frob.com>
22138
21b64b15 22139 [BZ #13349]
94d44d9f
RM
22140 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22141 doesn't exist.
22142 * manual/stdio.texi (Obstack Streams): Node removed.
22143
f6ce9294
AS
221442011-10-26 Andreas Schwab <schwab@redhat.com>
22145
80479147
AS
22146 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22147 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22148 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22149
f6ce9294
AS
22150 * math/math_private.h (math_force_eval): Allow non-addressable
22151 arguments.
22152 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22153
618280a1
UD
221542011-10-25 Ulrich Drepper <drepper@gmail.com>
22155
e0016b11
UD
22156 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22157 file is not needed.
22158
22159 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22160 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22161 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22162 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22163 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22164 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22165 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22166 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22167 Add AVX variants.
22168 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22169 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22170 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22171 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22172 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22173 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22174 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22175 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22176 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22177 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22178 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22179 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22180 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22181 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22182 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22183 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22184 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22185 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22186 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22187
22188 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22189 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22190
618280a1
UD
22191 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22192 place. Use VEX encoding when compiling for AVX.
22193
37822576
AS
221942011-10-25 Andreas Schwab <schwab@redhat.com>
22195
1f1e1947
AS
22196 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22197 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22198
37822576
AS
22199 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22200
31ea014d
UD
222012011-10-25 Ulrich Drepper <drepper@gmail.com>
22202
d7826aa1 22203 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22204 useless if() expression.
d7826aa1
UD
22205 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22206 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22207 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22208 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22209 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22210 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22211 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22212 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22213 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22214 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22215 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22216 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22217 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22218 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22219 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22220 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22221 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22222 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22223 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22224
31ea014d
UD
22225 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22226
16437fec
AS
222272011-10-25 Andreas Schwab <schwab@redhat.com>
22228
22229 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22230 condition.
22231 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22232
31d3cc00
UD
222332011-10-25 Ulrich Drepper <drepper@gmail.com>
22234
22235 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22236 .text section. Avoid duplicate constants.
22237 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22238 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22239 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22240 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22241 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22242 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22243 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22244 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22245 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22246 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22247 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22248 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22249 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22250 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22251 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22252 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22253 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22254 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22255 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22256 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22257 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22258 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22259 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22260 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22261 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22262 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22263 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22264 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22265 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22266 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22267 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22268 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22269 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22270 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22271 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22272 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22273 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22274 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22275 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22276 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22277 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22278 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22279 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22280 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22281 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22282
58985aa9
UD
222832011-10-24 Ulrich Drepper <drepper@gmail.com>
22284
202c9deb
UD
22285 * sysdeps/x86_64/dla.h: Move to ...
22286 * sysdeps/x86_64/fpu/dla.h: ...here.
22287 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22288 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22289
af968f62
UD
22290 * config.make.in: Add have-mfma4 entry.
22291 * configure.in: Substitute libc_cv_cc_fma4.
22292 * math/Makefile (dbl-only-routines): Add sincostab.
22293 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22294 Use __sincostab not sincos.
22295 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22296 name is a macro.
22297 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22299 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22301 using __copysign.
22302 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22303 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22304 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22305 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22306 and __inv.
22307 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22308 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22309 __copysign.
22310 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22311 define aliases when function name is a macro.
22312 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22313 sysdeps/ieee754/dbl-64/sincos.tbl.
22314 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22315 fma4-enabled routines.
22316 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22317 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22318 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22319 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22320 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22321 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22322 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22323 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22324 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22325 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22326 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22327 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22328 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22329 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22330 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22331 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22332 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22333 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22334 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22335 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22336 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22337 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22338 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22339 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22340 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22341 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22342 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22343 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22344 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22345 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22346
58985aa9
UD
22347 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22348 rename.
22349 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22350 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22352 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22353 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22354 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22355 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22356 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22357
a201fbcf
AS
223582011-10-24 Andreas Schwab <schwab@redhat.com>
22359
22360 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22361
fc2ee42a
LD
223622011-10-23 Ulrich Drepper <drepper@gmail.com>
22363
bb3129bd
UD
22364 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22365
0275fff8
UD
22366 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22367 prediction.
22368 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22369
2fa2ae85
UD
22370 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22371 Remove unused variable magic_bits.
22372 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22373
fc2ee42a
LD
22374 * string/strnlen.c: Define and use STRNLEN macro.
22375 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22376 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22377 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22378 * wcsmbs/wcslen.c: Define and use WCSLEN.
22379 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22380 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22381 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22382 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22383 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22384 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22385 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22386
ce7dd29f
LD
223872011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22388
22389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22390 strnlen-sse2-no-bsf.
22391 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22392 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22393 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22394 Add strnlen support.
22395 (USE_AS_STRNLEN): New macro.
22396 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22397 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22398 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22399 * sysdeps/x86_64/wcslen.S: New file.
22400
979c70a3
MZ
224012011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22402
22403 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22404 XMM-moves are used for copying on small sizes.
22405
2d09f82f
LD
224062011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22407
22408 * wcsmbs/Makefile (strop-tests): Add wcschr.
22409 * wcsmbs/test-wcschr.c: New file.
22410 * string/test-strchr.c: Update.
22411 Add wcschr support.
22412 (WIDE): New macro.
22413
619fccca
LD
224142011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22415
2d09f82f 22416 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22417 * wcsmbs/test-wcslen.c: New file.
22418 * string/test-strlen.c: Update.
22419 Add wcslen support.
22420 (WIDE): New macro.
22421
09f699ea
UD
224222011-10-23 Ulrich Drepper <drepper@gmail.com>
22423
22424 * po/it.po: Update from translation team.
22425
95584d3b
LD
224262011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22427
22428 * sysdeps/x86_64/wcscmp.S: Update.
22429 Fix wrong comparison semantics.
22430 wcscmp shall use signed comparison not unsigned.
22431 Don't use substraction to avoid overflow bug.
22432 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22433 * wcsmbc/wcscmp.c: Likewise.
22434 * string/test-strcmp.c: Likewise.
22435 Add new tests to check cases with negative values.
22436
c8b3296b
UD
224372011-10-23 Ulrich Drepper <drepper@gmail.com>
22438
22439 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22440 * sysdeps/x86_64/dla.h: ...here. New file.
22441 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22442 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22443 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22444 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22445 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22446 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22447 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22448 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22449 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22450
246ad57a
AS
224512011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22452
22453 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22454 __ynl_finite aliases.
22455
a1a87169
UD
224562011-10-22 Ulrich Drepper <drepper@gmail.com>
22457
0d355eb7
UD
22458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22459
a1a87169
UD
22460 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22461 define DLA_FMA.
22462 [DLA_FMA] (EMULV): Use DLA_FMA.
22463 [DLA_FMA] (MUL12): Use EMULV.
22464 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22465 that are not needed.
22466 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22469 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22470 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22471 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22472 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22473
ee2aafe0
AS
224742011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22475
22476 * math/s_nan.c: Undef __nan.
22477 * math/s_nanf.c: Undef __nanf.
22478 * math/s_nanl.c: Undef __nanl.
22479 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22480 "math_private.h".
22481
bc62c2fb
UD
224822011-10-22 Ulrich Drepper <drepper@gmail.com>
22483
77425c63
UD
22484 * math/s_catan.c: Add branch predictions.
22485 * math/s_catanf.c: Likewise.
22486 * math/s_catanh.c: Likewise.
22487 * math/s_catanhf.c: Likewise.
22488 * math/s_catanhl.c: Likewise.
22489 * math/s_catanl.c: Likewise.
22490 * math/s_cexp.c: Likewise.
22491 * math/s_cexpf.c: Likewise.
22492 * math/s_cexpl.c: Likewise.
22493 * math/s_clog.c: Likewise.
22494 * math/s_clog10.c: Likewise.
22495 * math/s_clog10f.c: Likewise.
22496 * math/s_clog10l.c: Likewise.
22497 * math/s_clogf.c: Likewise.
22498 * math/s_clogl.c: Likewise.
22499 * math/s_csqrt.c: Likewise.
22500 * math/s_csqrtf.c: Likewise.
22501 * math/s_csqrtl.c: Likewise.
22502 * math/s_ctanf.c: Likewise.
22503 * math/s_ctanh.c: Likewise.
22504 * math/s_ctanhf.c: Likewise.
22505 * math/s_ctanhl.c: Likewise.
22506 * math/s_ctanl.c: Likewise.
22507
bc62c2fb
UD
22508 * math/math_private.h: Define __nan, __nanf, __nanl.
22509 * math/s_cacosh.c: Include <math_private.h>.
22510 * math/s_cacoshl.c: Likewise.
22511 * math/s_casinh.c: Likewise.
22512 * math/s_casinhf.c: Likewise.
22513 * math/s_casinhl.c: Likewise.
22514 * math/s_ccos.c: Rely entire on ccosh.
22515 * math/s_ccosf.c: Rely entire on ccoshf.
22516 * math/s_ccosl.c: Rely entirely on ccoshl.
22517 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22518 Remove tests for FE_INVALID.
22519 * math/s_ccoshf.c: Likewise.
22520 * math/s_ccoshl.c: Likewise.
22521 * math/s_csin.c: Likewise.
22522 * math/s_csinf.c: Likewise.
22523 * math/s_csinh.c Likewise.
22524 * math/s_csinhf.c: Likewise.
22525 * math/s_csinhl.c: Likewise.
22526 * math/s_csinl.c: Likewise.
22527 * math/s_ctan.c: Likewise.
22528 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22529 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22530 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22531
8ec250a4
UD
225322011-10-21 Ulrich Drepper <drepper@gmail.com>
22533
c196fed8
UD
22534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22535 compilation problems.
22536
8ec250a4
UD
22537 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22538 __builtin_expect.
22539
8d4f46c6
UD
225402011-10-20 Ulrich Drepper <drepper@gmail.com>
22541
ed72b654
UD
22542 * sysdeps/i386/configure.in: Test for -mfma4 option.
22543 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22544 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22545 COMMON_CPUID_INDEX_80000001.
22546 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22547 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22548 use it if FMA3 is not supported.
22549 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22550
8d4f46c6
UD
22551 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22552 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22553
d45c60c2
AS
225542011-10-20 Andreas Schwab <schwab@redhat.com>
22555
22556 [BZ #12892]
22557 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22558 it would create a cycle with a link time dependency.
22559
d9a4d2ab
UD
225602011-10-19 Ulrich Drepper <drepper@gmail.com>
22561
855d1560
UD
22562 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22563 instruction.
22564 * string/Makefile (strop-tests): Add rawmemchr.
22565 * string/test-rawmemchr.c: New file.
22566
d9a4d2ab
UD
22567 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22568 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22569 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22570 when compiling str{,n}casecmp and when AVX is available. Hook up
22571 new optimized code in initializers.
22572
8f3b1ffe
AS
225732011-10-19 Andreas Schwab <schwab@redhat.com>
22574
22575 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22576 __feraiseexcept instead of feraiseexcept.
22577
d38f1dba
UD
225782011-10-18 Ulrich Drepper <drepper@gmail.com>
22579
d9a8d0ab
UD
22580 * math/math_private.h: Define defaults for libc_fetestexcept and
22581 libc_feupdateenv.
22582 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22583 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22584 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22585 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22586 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22587 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22588 libc_fetestexcept and libc_feupdateenv.
22589
4855e3dd
UD
22590 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22591 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22592 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22593 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22594 libc_feholdexcept_setround.
22595
581d30e3
UD
22596 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22597 Add s_nearbyint-c and s_nearbyintf-c.
22598 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22599 nearbyintf inlines.
22600 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22601 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22602 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22603 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22604
d38f1dba
UD
22605 * math/math_private.h: Define defaults for libc_fegetround,
22606 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22607 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22608 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22609 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22610 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22611 standard functions.
22612 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22613 Remove comments and hacks for old compiler versions.
22614 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22615 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22616 libc_feholdexceptl.
22617
caa6c9d8
AS
226182011-10-18 Andreas Schwab <schwab@redhat.com>
22619
22620 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22621 (__feraiseexcept_renamed): Add __NTH.
22622 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22623 namespace violations.
22624
97c066e6
UD
226252011-10-17 Ulrich Drepper <drepper@gmail.com>
22626
99ce7b04
UD
22627 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22628
1004d182
UD
22629 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22630
228a984d
UD
22631 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22632 recently added interfaces.
22633 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22634
c8553a6a
UD
22635 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22636 about macro parameter expansion.
22637
ed22dcf6
UD
22638 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22639 __NO_MATH_INLINES is defined. Cleanups.
22640
22641 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22642 and __floorf is target has SSE4.1.
22643 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22644 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22645 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22646 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22647
b171c137
UD
22648 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22649 name.
22650 (floorf): Likewise.
22651
97c066e6
UD
22652 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22653
629f62ef
AS
226542011-10-17 Andreas Schwab <schwab@redhat.com>
22655
49a43d80
AS
22656 * misc/sys/cdefs.h: Fix last change.
22657
629f62ef
AS
22658 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22659 database lookup.
22660
e453f6cd
UD
226612011-10-16 Ulrich Drepper <drepper@gmail.com>
22662
aa78043a
UD
22663 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22664
ad0f5cad
UD
22665 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22666 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22667 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22668 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22669 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22670 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22671 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22672 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22673 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22674 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22675 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22676 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22677 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22678 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22679 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22680 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22681 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22682 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22683 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22684 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22685 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22686 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22687
22688 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22689 ceil, ceilf, floor, floorf.
22690
22691 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22692 Perform IRELATIVE relocations last.
22693
e453f6cd
UD
22694 * elf/do-rel.h: Add another parameter nrelative, replacing the
22695 local variable with the same name. Change name of the function
22696 to end in Rel or Rela (uppercase).
22697 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22698 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22699 elf_dynamic_do_##reloc function.
22700
fd5bdc09
UD
227012011-10-15 Ulrich Drepper <drepper@gmail.com>
22702
79b195b5
UD
22703 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22704 is sufficient, at least on modern CPUs.
22705
d4a28569
UD
22706 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22707
b61099b5
UD
22708 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22709 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22710
bcf01e6d
UD
22711 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22712 __expl_finite.
22713 * math/bits/math-finite.h: Add entries for exp.
22714 * math/e_expl.c: Add __*_finite alias.
22715 * sysdeps/i386/fpu/e_exp.S: Likewise.
22716 * sysdeps/i386/fpu/e_expf.S: Likewise.
22717 * sysdeps/i386/fpu/e_expl.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22719 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22720 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22721 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22723 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22724 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22725
ba1a0d59
UD
22726 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22727 is sufficient, at least on modern CPUs.
22728
fd5bdc09
UD
22729 * ctype/ctype-info.c (__ctype_init): Define.
22730 * include/ctype.h (__ctype_init): Declare.
22731 (__ctype_b_loc): The variable is always initialized.
22732 (__ctype_toupper_loc): Likewise.
22733 (__ctype_tolower_loc): Likewise.
22734 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22735 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22736
7872cfb0
AS
227372011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22738
b468825a
AS
22739 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22740
7872cfb0
AS
22741 * configure.in: Also look in $cxxmachine/include for C++ system
22742 headers.
22743
be13f7bf
LD
227442011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22745
22746 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22747 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22748 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22749 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22750 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22751 (USE_AS_WMEMCMP): New macro.
22752 Fixing indents.
22753 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22754 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22755 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22756 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22758 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22759 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22760 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22761 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22762 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22763 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22764 (USE_AS_WMEMCMP): New macro.
22765 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22766 * sysdeps/string/test-memcmp.c: Update.
22767 Fix simple_wmemcmp.
22768 Add new tests.
22769 * wcsmbs/wmemcmp.c: Update.
22770 (WMEMCMP): New macro.
22771 Fix overflow bug.
22772
556a2007
AJ
227732011-10-12 Andreas Jaeger <aj@suse.de>
22774
22775 [BZ #13268]
22776 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22777
538faaa7
UD
227782011-10-15 Ulrich Drepper <drepper@gmail.com>
22779
ab6737ff
UD
22780 * libio/iofwide.c (do_length): Avoid warning.
22781
538faaa7
UD
22782 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22783
396a21b1
UD
227842011-10-14 Ulrich Drepper <drepper@gmail.com>
22785
cdf2901f
UD
22786 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22787
38ad40ce
UD
22788 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22789 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22790 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22791 * sysdeps/i386/i686/fpu/e_log.S: New file.
22792 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22793 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22794
396a21b1
UD
22795 * ctype/ctype.h: Add support for inlined isXXX functions when
22796 compiling C++ code.
22797
6b1f68c9
AS
227982011-10-14 Andreas Schwab <schwab@redhat.com>
22799
349290c0
AS
22800 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22801
6b1f68c9
AS
22802 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22803
f2282d42
RM
228042011-10-13 Roland McGrath <roland@hack.frob.com>
22805
22806 [BZ #13291]
22807 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22808
5298ffa8
AS
228092011-10-13 Andreas Schwab <schwab@redhat.com>
22810
714fad23
AS
22811 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22812 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22813 feraiseexcept.
22814
81dcc7fb
AS
22815 * sysdeps/x86_64/memrchr.S: Check for zero size.
22816
5298ffa8
AS
22817 * string/stratcliff.c: Add memrchr tests.
22818
951fbcec
LD
228192011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22820
22821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22822 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22823 rawmemchr-sse2 rawmemchr-sse2-bsf.
22824 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22825 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22826 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22827 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22828 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22829 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22830 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22831 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22832 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22833 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22834 * string/memrchr.c (MEMRCHR): New macro.
22835
0ac5ae23
UD
228362011-10-12 Ulrich Drepper <drepper@gmail.com>
22837
22838 Add integration with gcc's -ffinite-math-only and optimize wrapper
22839 functions in libm.
22840 * Versions.def: Define GLIBC_2.15 version for libm.
22841 * math/Makefile (headers): Add bits/math-finite.h.
22842 * math/bits/math-finite.h: New file.
22843 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22844 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22845 * math/e_acoshl.c: Add __*_finite alias.
22846 * math/e_acosl.c: Likewise.
22847 * math/e_asinl.c: Likewise.
22848 * math/e_atan2l.c: Likewise.
22849 * math/e_atanhl.c: Likewise.
22850 * math/e_coshl.c: Likewise.
22851 * math/e_exp10.c: Likewise.
22852 * math/e_exp10f.c: Likewise.
22853 * math/e_exp10l.c: Likewise.
22854 * math/e_exp2l.c: Likewise.
22855 * math/e_fmodl.c: Likewise.
22856 * math/e_gammal_r.c: Likewise.
22857 * math/e_hypotl.c: Likewise.
22858 * math/e_j0l.c: Likewise.
22859 * math/e_j1l.c: Likewise.
22860 * math/e_jnl.c: Likewise.
22861 * math/e_lgammal_r.c: Likewise.
22862 * math/e_log10l.c: Likewise.
22863 * math/e_log2l.c: Likewise.
22864 * math/e_logl.c: Likewise.
22865 * math/e_powl.c: Likewise.
22866 * math/e_sinhl.c: Likewise.
22867 * math/e_sqrtl.c: Likewise.
22868 * math/e_scalb.c: Completely rewritten and optimized.
22869 * math/e_scalbf.c: Likewise.
22870 * math/e_scalbl.c: Likewise.
22871 * math/w_acos.c: Likewise.
22872 * math/w_acosf.c: Likewise.
22873 * math/w_acosl.c: Likewise.
22874 * math/w_acosh.c: Likewise.
22875 * math/w_acoshf.c: Likewise.
22876 * math/w_acoshl.c: Likewise.
22877 * math/w_asin.c: Likewise.
22878 * math/w_asinf.c: Likewise.
22879 * math/w_asinl.c: Likewise.
22880 * math/w_atan2.c: Likewise.
22881 * math/w_atan2f.c: Likewise.
22882 * math/w_atan2l.c: Likewise.
22883 * math/w_atanh.c: Likewise.
22884 * math/w_atanhf.c: Likewise.
22885 * math/w_atanhl.c: Likewise.
22886 * math/w_exp10.c: Likewise.
22887 * math/w_exp10f.c: Likewise.
22888 * math/w_exp10l.c: Likewise.
22889 * math/w_fmod.c: Likewise.
22890 * math/w_fmodf.c: Likewise.
22891 * math/w_fmodl.c: Likewise.
22892 * math/w_j0.c: Likewise.
22893 * math/w_j0f.c: Likewise.
22894 * math/w_j0l.c: Likewise.
22895 * math/w_j1.c: Likewise.
22896 * math/w_j1f.c: Likewise.
22897 * math/w_j1l.c: Likewise.
22898 * math/w_jn.c: Likewise.
22899 * math/w_jnf.c: Likewise.
22900 * math/w_log.c: Likewise.
22901 * math/w_logf.c: Likewise.
22902 * math/w_logl.c: Likewise.
22903 * math/w_log10.c: Likewise.
22904 * math/w_log10f.c: Likewise.
22905 * math/w_log10l.c: Likewise.
22906 * math/w_log2.c: Likewise.
22907 * math/w_log2f.c: Likewise.
22908 * math/w_log2l.c: Likewise.
22909 * math/w_pow.c: Likewise.
22910 * math/w_powf.c: Likewise.
22911 * math/w_powl.c: Likewise.
22912 * math/w_remainder.c: Likewise.
22913 * math/w_remainderf.c: Likewise.
22914 * math/w_remainderl.c: Likewise.
22915 * math/w_scalb.c: Likewise.
22916 * math/w_scalbf.c: Likewise.
22917 * math/w_scalbl.c: Likewise.
22918 * math/w_sqrt.c: Likewise.
22919 * math/w_sqrtf.c: Likewise.
22920 * math/w_sqrtl.c: Likewise.
22921 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22922 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22923 used.
22924 * math/math_private.h: Declare __kernel_standard_f.
22925 * math/w_cosh.c: Remove cruft and optimize a bit.
22926 * math/w_coshf.c: Likewise.
22927 * math/w_coshl.c: Likewise.
22928 * math/w_exp2.c: Likewise.
22929 * math/w_exp2f.c: Likewise.
22930 * math/w_exp2l.c: Likewise.
22931 * math/w_hypot.c: Likewise.
22932 * math/w_hypotf.c: Likewise.
22933 * math/w_hypotl.c: Likewise.
22934 * math/w_lgamma.c: Likewise.
22935 * math/w_lgamma_r.c: Likewise.
22936 * math/w_lgammaf.c: Likewise.
22937 * math/w_lgammaf_r.c: Likewise.
22938 * math/w_lgammal.c: Likewise.
22939 * math/w_lgammal_r.c: Likewise.
22940 * math/w_sinh.c: Likewise.
22941 * math/w_sinhf.c: Likewise.
22942 * math/w_sinhl.c: Likewise.
22943 * math/w_tgamma.c: Likewise.
22944 * math/w_tgammaf.c: Likewise.
22945 * math/w_tgammal.c: Likewise.
22946 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22947 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22948 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22949 Minor optimizations. Pretty printing. Remove cruft.
22950 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22951 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22952 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22953 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22954 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22955 * sysdeps/i386/fpu/e_asin.S: Likewise.
22956 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22957 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22958 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22959 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22960 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22961 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22962 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22963 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22964 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22965 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22966 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22967 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22968 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22969 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22970 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22971 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22972 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22973 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22974 * sysdeps/i386/fpu/e_log.S: Likewise.
22975 * sysdeps/i386/fpu/e_log10.S: Likewise.
22976 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22977 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22978 * sysdeps/i386/fpu/e_log2.S: Likewise.
22979 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22980 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22981 * sysdeps/i386/fpu/e_logf.S: Likewise.
22982 * sysdeps/i386/fpu/e_logl.S: Likewise.
22983 * sysdeps/i386/fpu/e_pow.S: Likewise.
22984 * sysdeps/i386/fpu/e_powf.S: Likewise.
22985 * sysdeps/i386/fpu/e_powl.S: Likewise.
22986 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22987 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22988 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22989 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22990 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22991 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22992 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22993 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22994 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22995 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22996 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22998 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22999 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23000 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23001 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23002 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23003 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23004 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23005 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23006 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23008 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23009 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23011 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23012 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23013 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23015 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23016 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23017 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23018 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23019 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23020 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23021 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23022 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23023 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23024 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23025 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23026 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23027 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23028 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23029 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23030 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23031 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23032 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23033 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23034 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23035 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23036 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23039 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23040 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23041 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23043 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23044 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23045 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23046 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23047 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23048 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23049 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23050 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23051 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23052 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23053 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23054 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23055 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23056 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23057 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23058 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23059 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23060 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23061 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23062 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23063 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23064 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23065 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23066 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23067 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23068 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23069 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23070 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23071 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23072 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23073 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23074 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23075 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23076 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23077 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23078 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23079 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23080 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23081 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23082 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23083 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23084 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23085 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23086 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23087 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23088 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23089 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23090 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23091 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23092 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23093 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23094 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23095 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23096 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23097 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23098 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23099 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23100 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23101 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23102 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23103 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23104 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23105 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23106 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23107 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23108 (__isnanf): Likewise.
23109 (__isinf_ns): Likewise.
23110 (__isinf_nsf): Likewise.
23111 (__finite): Likewise.
23112 (__finitef): Likewise.
23113 (__ieee754_sqrt): Define as macro.
23114 (__ieee754_sqrtf): Define as macro.
23115 (__ieee754_sqrtl): Define as macro.
23116 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23117 inlined copy.
23118 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23119 __FINITE_MATH_ONLY__ consistent.
23120 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23121
12cc2fcd
AS
231222011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23123
a843a204
AS
23124 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23125 of rawmemchr.
23126
12cc2fcd
AS
23127 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23128
c853acd5
UD
231292011-10-09 Ulrich Drepper <drepper@gmail.com>
23130
23131 * po/ja.po: Update from translation team.
23132
c658d255
RM
231332011-10-08 Roland McGrath <roland@hack.frob.com>
23134
110946e4
RM
23135 * locale/programs/locarchive.c (prepare_address_space): New function.
23136 (create_archive, enlarge_archive, open_archive): Use it.
23137
50604220
RM
23138 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23139 inside [SHARED], where it is used.
23140
c658d255
RM
23141 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23142
23143 * nss/getent.c (netgroup_keys): Remove unused variable.
23144 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23145
6a621eb7
UD
231462011-10-08 Ulrich Drepper <drepper@gmail.com>
23147
7edb55ce
UD
23148 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23149 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23150 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23151 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23152 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23153 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23154 * math/Makefile (libm-calls): Add s_isinf_ns.
23155 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23156 * math/multc3.c: Likewise.
23157 * math/s_casin.c: Likewise.
23158 * math/s_casinf.c: Likewise.
23159 * math/s_casinl.c: Likewise.
23160 * math/s_ccos.c: Likewise.
23161 * math/s_ccosf.c: Likewise.
23162 * math/s_ccosl.c: Likewise.
23163 * math/s_ctan.c: Likewise.
23164 * math/s_ctanf.c: Likewise.
23165 * math/s_ctanh.c: Likewise.
23166 * math/s_ctanhf.c: Likewise.
23167 * math/s_ctanhl.c: Likewise.
23168 * math/s_ctanl.c: Likewise.
23169 * math/w_fmod.c: Likewise.
23170 * math/w_fmodf.c: Likewise.
23171 * math/w_fmodl.c: Likewise.
23172 * math/w_remainder.c: Likewise.
23173 * math/w_remainderf.c: Likewise.
23174 * math/w_remainderl.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23176 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23177 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23179 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23180 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23181 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23182 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23183
187da0ae
UD
23184 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23185 of the number.
23186 * stdio-common/printf_fphex.c: Likewise.
23187 * stdio-common/printf_size.c: Likewise.
23188
9277c064
UD
23189 * math/e_exp10.c: Include math_private.h using <...> not "...".
23190 * math/e_exp10f.c: Likewise.
23191 * math/e_exp10l.c: Likewise.
23192 * math/e_exp2l.c: Likewise.
23193 * math/e_j0l.c: Likewise.
23194 * math/e_j1l.c: Likewise.
23195 * math/e_jnl.c: Likewise.
23196 * math/e_lgammal_r.c: Likewise.
23197 * math/e_rem_pio2l.c: Likewise.
23198 * math/e_scalb.c: Likewise.
23199 * math/e_scalbf.c: Likewise.
23200 * math/e_scalbl.c: Likewise.
23201 * math/k_cosl.c: Likewise.
23202 * math/k_sinl.c: Likewise.
23203 * math/k_tanl.c: Likewise.
23204 * math/s_cacoshf.c: Likewise.
23205 * math/s_catan.c: Likewise.
23206 * math/s_catanf.c: Likewise.
23207 * math/s_catanh.c: Likewise.
23208 * math/s_catanhf.c: Likewise.
23209 * math/s_catanhl.c: Likewise.
23210 * math/s_catanl.c: Likewise.
23211 * math/s_ccosh.c: Likewise.
23212 * math/s_ccoshf.c: Likewise.
23213 * math/s_ccoshl.c: Likewise.
23214 * math/s_cexp.c: Likewise.
23215 * math/s_cexpf.c: Likewise.
23216 * math/s_cexpl.c: Likewise.
23217 * math/s_clog.c: Likewise.
23218 * math/s_clog10.c: Likewise.
23219 * math/s_clog10f.c: Likewise.
23220 * math/s_clog10l.c: Likewise.
23221 * math/s_clogf.c: Likewise.
23222 * math/s_clogl.c: Likewise.
23223 * math/s_csin.c: Likewise.
23224 * math/s_csinf.c: Likewise.
23225 * math/s_csinh.c: Likewise.
23226 * math/s_csinhf.c: Likewise.
23227 * math/s_csinhl.c: Likewise.
23228 * math/s_csinl.c: Likewise.
23229 * math/s_csqrt.c: Likewise.
23230 * math/s_csqrtf.c: Likewise.
23231 * math/s_csqrtl.c: Likewise.
23232 * math/s_ctan.c: Likewise.
23233 * math/s_ctanf.c: Likewise.
23234 * math/s_ctanh.c: Likewise.
23235 * math/s_ctanhf.c: Likewise.
23236 * math/s_ctanhl.c: Likewise.
23237 * math/s_ctanl.c: Likewise.
23238 * math/s_ldexp.c: Likewise.
23239 * math/s_ldexpf.c: Likewise.
23240 * math/s_ldexpl.c: Likewise.
23241 * math/s_significand.c: Likewise.
23242 * math/s_significandf.c: Likewise.
23243 * math/s_significandl.c: Likewise.
23244 * math/w_acos.c: Likewise.
23245 * math/w_acosf.c: Likewise.
23246 * math/w_acosh.c: Likewise.
23247 * math/w_acoshf.c: Likewise.
23248 * math/w_acoshl.c: Likewise.
23249 * math/w_acosl.c: Likewise.
23250 * math/w_asin.c: Likewise.
23251 * math/w_asinf.c: Likewise.
23252 * math/w_asinl.c: Likewise.
23253 * math/w_atan2.c: Likewise.
23254 * math/w_atan2f.c: Likewise.
23255 * math/w_atan2l.c: Likewise.
23256 * math/w_atanh.c: Likewise.
23257 * math/w_atanhf.c: Likewise.
23258 * math/w_atanhl.c: Likewise.
23259 * math/w_cosh.c: Likewise.
23260 * math/w_coshf.c: Likewise.
23261 * math/w_coshl.c: Likewise.
23262 * math/w_dremf.c: Likewise.
23263 * math/w_exp10.c: Likewise.
23264 * math/w_exp10f.c: Likewise.
23265 * math/w_exp10l.c: Likewise.
23266 * math/w_exp2.c: Likewise.
23267 * math/w_exp2f.c: Likewise.
23268 * math/w_fmod.c: Likewise.
23269 * math/w_fmodf.c: Likewise.
23270 * math/w_fmodl.c: Likewise.
23271 * math/w_hypot.c: Likewise.
23272 * math/w_hypotf.c: Likewise.
23273 * math/w_hypotl.c: Likewise.
23274 * math/w_j0.c: Likewise.
23275 * math/w_j0f.c: Likewise.
23276 * math/w_j0l.c: Likewise.
23277 * math/w_j1.c: Likewise.
23278 * math/w_j1f.c: Likewise.
23279 * math/w_j1l.c: Likewise.
23280 * math/w_jn.c: Likewise.
23281 * math/w_jnf.c: Likewise.
23282 * math/w_jnl.c: Likewise.
23283 * math/w_lgamma.c: Likewise.
23284 * math/w_lgamma_r.c: Likewise.
23285 * math/w_lgammaf.c: Likewise.
23286 * math/w_lgammaf_r.c: Likewise.
23287 * math/w_lgammal.c: Likewise.
23288 * math/w_lgammal_r.c: Likewise.
23289 * math/w_log.c: Likewise.
23290 * math/w_log10.c: Likewise.
23291 * math/w_log10f.c: Likewise.
23292 * math/w_log10l.c: Likewise.
23293 * math/w_log2.c: Likewise.
23294 * math/w_log2f.c: Likewise.
23295 * math/w_log2l.c: Likewise.
23296 * math/w_logf.c: Likewise.
23297 * math/w_logl.c: Likewise.
23298 * math/w_pow.c: Likewise.
23299 * math/w_powf.c: Likewise.
23300 * math/w_powl.c: Likewise.
23301 * math/w_remainder.c: Likewise.
23302 * math/w_remainderf.c: Likewise.
23303 * math/w_remainderl.c: Likewise.
23304 * math/w_scalb.c: Likewise.
23305 * math/w_scalbf.c: Likewise.
23306 * math/w_scalbl.c: Likewise.
23307 * math/w_sinh.c: Likewise.
23308 * math/w_sinhf.c: Likewise.
23309 * math/w_sinhl.c: Likewise.
23310 * math/w_sqrt.c: Likewise.
23311 * math/w_sqrtf.c: Likewise.
23312 * math/w_sqrtl.c: Likewise.
23313 * math/w_tgamma.c: Likewise.
23314 * math/w_tgammaf.c: Likewise.
23315 * math/w_tgammal.c: Likewise.
23316
6a621eb7
UD
23317 * po/ja.po: Update from translation team.
23318
bf582445
AJ
233192011-09-29 Andreas Jaeger <aj@suse.de>
23320
f9efbf3a
AJ
23321 [BZ #13179]
23322 * sunrpc/netname.c (netname2host): Fix logic.
23323
bf582445
AJ
23324 [BZ #6779]
23325 [BZ #6783]
23326 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23327 correctly.
23328 * math/w_remainder.c (__remainder): Likewise.
23329 * math/w_remainderf.c (__remainderf): Likewise.
23330 * math/libm-test.inc (remainder_test): Add test cases.
23331
48693bea
AK
233322011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23333
23334 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23335 sdiv_qrnnd.
23336
42622229
LD
233372011-10-07 Ulrich Drepper <drepper@gmail.com>
23338
23339 * string/test-memcmp.c: Avoid unncessary #defines.
23340 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23341
093ecf92
LD
233422011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23343
23344 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23345 Use new sse2 version for core i3 - i7 as it's faster
23346 than sse42 version.
23347 (bit_Prefer_PMINUB_for_stringop): New.
23348 * sysdeps/x86_64/rawmemchr.S: Update.
23349 Replace with faster SSE2 version.
23350 * sysdeps/x86_64/memrchr.S: New file.
23351 * sysdeps/x86_64/memchr.S: Update.
23352 Replace with faster SSE2 version.
23353
fde56e5c
MP
233542011-09-12 Marek Polacek <mpolacek@redhat.com>
23355
23356 * elf/dl-load.c (lose): Add cast to avoid warning.
23357
21fd49a9
UD
233582011-10-07 Ulrich Drepper <drepper@gmail.com>
23359
5a06e643
UD
23360 * po/ca.po: Update from translation team.
23361
684ae515
UD
23362 * inet/getnetgrent_r.c: Hook up nscd.
23363 * nscd/Makefile (routines): Add nscd_netgroup.
23364 (nscd-modules): Add netgroupcache.
23365 (CFLAGS-netgroupcache.c): Define.
23366 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23367 (cache_search): Add const to second parameter.
23368 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23369 INNETGR.
23370 (dbs): Add netgrdb entry.
23371 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23372 (verify_persistent_db): Handle netgrdb.
23373 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23374 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23375 GETFDNETGR.
23376 (netgroup_response_header): Define.
23377 (innetgroup_response_header): Define.
23378 (datahead): Add netgroup_response_header and innetgroup_response_header
23379 elements.
23380 * nscd/nscd.conf: Add entries for netgroup cache.
23381 * nscd/nscd.h (dbtype): Add netgrdb.
23382 (_PATH_NSCD_NETGROUP_DB): Define.
23383 (netgroup_iov_disabled): Declare.
23384 (xmalloc, xcalloc, xrealloc): Move declarations here.
23385 (cache_search): Adjust prototype.
23386 Add netgroup-related prototypes.
23387 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23388 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23389 (__nscd_innetgr): Declare.
23390 * nscd/selinux.c (perms): Use access_vector_t as element type and
23391 add netgroup-related initializers.
23392 * nscd/netgroupcache.c: New file.
23393 * nscd/nscd_netgroup.c: New file.
23394 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23395 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23396 For four parameters use innetgr.
23397 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23398 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23399 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23400 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23401
21fd49a9
UD
23402 * nscd/connections.c (register_traced_file): Don't register file
23403 for disabled databases.
23404
054c0457
UD
234052011-10-06 Ulrich Drepper <drepper@gmail.com>
23406
32b63198
UD
23407 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23408
054c0457
UD
23409 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23410 from tree and freeing node.
23411
64031225
JO
234122011-09-25 Jiri Olsa <jolsa@redhat.com>
23413
23414 * nss/nsswitch.c (__nss_database_lookup): Handle
23415 nss_parse_service_list out of memory case.
23416
0490345c
JO
234172011-09-15 Jiri Olsa <jolsa@redhat.com>
23418
23419 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23420 out of memory case.
23421
3a62d00d
AS
234222011-10-04 Andreas Schwab <schwab@redhat.com>
23423
23424 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23425 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23426 pass it down.
23427 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23428 elf_machine_rela, elf_machine_lazy_rel.
23429 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23430 (ELF_DYNAMIC_DO_REL): Likewise.
23431 (ELF_DYNAMIC_DO_RELA): Likewise.
23432 (ELF_DYNAMIC_RELOCATE): Likewise.
23433 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23434 to ELF_DYNAMIC_DO_REL.
23435 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23436 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23437 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23438 elf_machine_rela.
23439 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23440 skip_ifunc, don't call ifunc function if non-zero.
23441 (elf_machine_rela): Likewise.
23442 (elf_machine_lazy_rel): Likewise.
23443 (elf_machine_lazy_rela): Likewise.
23444 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23445 (elf_machine_lazy_rel): Likewise.
23446 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23447 Likewise.
23448 (elf_machine_lazy_rel): Likewise.
23449 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23450 Likewise.
23451 (elf_machine_lazy_rel): Likewise.
23452 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23453 (elf_machine_lazy_rel): Likewise.
23454 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23455 (elf_machine_lazy_rel): Likewise.
23456 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23457 (elf_machine_lazy_rel): Likewise.
23458 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23459 (elf_machine_lazy_rel): Likewise.
23460 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23461 (elf_machine_lazy_rel): Likewise.
23462 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23463 (elf_machine_lazy_rel): Likewise.
23464
68577918
UD
234652011-09-28 Ulrich Drepper <drepper@gmail.com>
23466
23467 * nss/nss_files/files-init.c (_nss_files_init): Use static
23468 initialization for all the *_traced_file variables.
23469
68822d74
AS
234702011-09-28 Andreas Schwab <schwab@redhat.com>
23471
23472 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23473
2056100b
RM
234742011-09-27 Roland McGrath <roland@hack.frob.com>
23475
23476 [BZ #13226]
23477 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23478
32c76b63
AS
234792011-09-27 Andreas Schwab <schwab@redhat.com>
23480
23481 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23482 Reread the line before reparsing it.
23483
bf972c9d
AS
234842011-09-26 Andreas Schwab <schwab@redhat.com>
23485
23486 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23487
e057a1b5
JM
234882011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23489 Maxim Kuvyrkov <maxim@codesourcery.com>
23490 Joseph Myers <joseph@codesourcery.com>
23491
23492 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23493 if needed for __stack_chk_guard.
23494
bc7e1c36
RM
234952011-09-19 Roland McGrath <roland@hack.frob.com>
23496
ecb1482f
RM
23497 * sysdeps/posix/spawni.c (script_execute): Always define it.
23498 It will be optimized away if unused.
23499 (maybe_script_execute): New function.
23500 (__spawni): Call it.
23501
bc7e1c36
RM
23502 * Makerules: Don't include tls.make.
23503 (config-tls): Always set to thread.
23504 * tls.make.c: File removed.
23505
1c3b002b
MF
235062011-09-19 Mike Frysinger <vapier@gentoo.org>
23507
23508 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23509 * config.make.in (CPPFLAGS-config): New substituted variable.
23510
2840865d
UD
235112011-09-15 Ulrich Drepper <drepper@gmail.com>
23512
88738eb6
UD
23513 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23514
cbf645a6 23515 [BZ #13192]
2840865d
UD
23516 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23517 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23518
b402e91a
RM
235192011-09-15 Roland McGrath <roland@hack.frob.com>
23520
23521 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23522 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23523 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23524 (CALL_FAIL): Likewise.
23525 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23526 (CALL_FAIL): Macro removed.
23527 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23528
4c1a1f71
UD
235292011-09-15 Ulrich Drepper <drepper@gmail.com>
23530
23531 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23532 for __FINITE_MATH_ONLY__ == 1.
23533
edc121be
AS
235342011-09-15 Andreas Schwab <schwab@redhat.com>
23535
23536 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23537 __ieee754_sqrt instead of sqrt.
23538 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23539 __ieee754_sqrtf instead of sqrtf.
23540 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23541 __floorf instead of floorf.
23542 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23543 __floorf, __truncf instead of floorf, truncf.
23544
cd205654
UD
235452011-09-14 Ulrich Drepper <drepper@gmail.com>
23546
ee4d0315
UD
23547 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23548
cd205654
UD
23549 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23550 __extern_always_inline.
23551 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23552 32-bit.
23553
48b67d71
AS
235542011-09-14 Andreas Schwab <schwab@redhat.com>
23555
23556 * elf/rtld.c (dl_main): Also relocate in dependency order when
23557 doing symbol dependency testing.
23558
1ae12c75
AS
235592011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23560
23561 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23562 Always define `refsym'.
23563
995a80df
AS
235642011-09-13 Andreas Schwab <schwab@redhat.com>
23565
e529793b
AS
23566 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23567 (__FD_ELT): Renamed from __FDELT.
23568 * misc/bits/select2.h (__FD_ELT): Likewise.
23569 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23570 __FD_MASK instead of __FDELT, __FDMASK.
23571 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23572 Likewise.
23573 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23574 Likewise.
23575
52d4fef8
AS
23576 * elf/Makefile (gen-ldd): Fix pattern.
23577
995a80df
AS
23578 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23579 (init_tls): Likewise.
23580
8682f8b0
UD
235812011-09-12 Ulrich Drepper <drepper@gmail.com>
23582
23583 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23584
de82006d
AS
235852011-09-12 Andreas Schwab <schwab@redhat.com>
23586
a7c8e6a1
AS
23587 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23588 `struct cmsghdr *' instead of `void *'.
23589 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23590 Likewise.
23591
0f31fe77
AS
235922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23593
23594 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23595 if non-absolute.
23596 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23597 ldd_rewrite_script.
0f31fe77 23598
32b4c839
UD
235992011-09-11 Ulrich Drepper <drepper@gmail.com>
23600
83cd1420
UD
23601 * configure.in: Remove --with-tls option.
23602 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23603 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23604 out in case it is missing.
23605 * sysdeps/ia64/elf/configure.in: Likewise.
23606 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23607 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23608 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23609 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23610 * sysdeps/sh/elf/configure.in: Likewise.
23611 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23612 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23613 * sysdeps/x86_64/elf/configure.in: Likewise.
23614 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23615 * sysdeps/mach/hurd/tls.h: Likewise.
23616
633f745d
UD
23617 [BZ #13067]
23618 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23619
f318beb8
UD
23620 [BZ #13090]
23621 * configure.in: Fix use of AC_INIT.
23622
32b4c839
UD
23623 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23624
3ce1f295
UD
236252011-09-10 Ulrich Drepper <drepper@gmail.com>
23626
bb016596
UD
23627 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23628 __set_errno.
8e58439c
UD
23629 * malloc/hooks.c: Likewise.
23630
aebae053 23631 [BZ #11929]
02d46fc4
UD
23632 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23633 variables statically.
23634 (narenas): Initialize.
23635 (list_lock): Initialize.
bb016596
UD
23636 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23637 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23638 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23639 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23640 Add initializers to main_arena and mp_.
23641 (malloc_state): Remove pagesize member. Change all users to use
23642 GLRO(dl_pagesize).
23643
23644 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23645 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23646 is always initialized.
23647
22a89187
UD
23648 * malloc/malloc.c: Removed unused configurations and dead code.
23649 * malloc/arena.c: Likewise.
23650 * malloc/hooks.c: Likewise.
02d46fc4 23651 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23652
d063d164
UD
23653 * include/tls.h: Removed. USE___THREAD must always be defined.
23654 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23655 * elf/dl-libc.c: Likewise.
23656 * elf/dl-tsd.c: Likewise.
23657 * include/errno.h: Likewise.
23658 * include/netdb.h: Likewise.
23659 * include/resolv.h: Likewise.
23660 * inet/herrno-loc.c: Likewise.
23661 * inet/herrno.c: Likewise.
23662 * malloc/arena.c: Likewise.
23663 * malloc/hooks.c: Likewise.
23664 * malloc/malloc.c: Likewise.
23665 * resolv/res-state.c: Likewise.
23666 * resolv/res_libc.c: Likewise.
23667 * sysdeps/i386/dl-machine.h: Likewise.
23668 * sysdeps/ia64/dl-machine.h: Likewise.
23669 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23670 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23671 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23672 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23673 * sysdeps/sh/dl-machine.h: Likewise.
23674 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23675 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23676 * sysdeps/unix/i386/sysdep.S: Likewise.
23677 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23678 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23679 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23680 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23681 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23682 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23683 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23684 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23685 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23686 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23687 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23688 * sysdeps/x86_64/dl-machine.h: Likewise.
23689 * tls.make.c: Likewise.
23690
3ce1f295
UD
23691 * configure.in: Remove --with-__thread option. Make tests for
23692 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23693 tls_model attribute fail if no support is available. Remove
23694 USE_IN_LIBIO.
23695 * Makeconfig: Adjust for dropped configure option. All features are
23696 now mandatory.
23697 * Makerules: Likewise.
23698 * Versions.def: Likewise.
23699 * argp/argp-fmtstream.c: Likewise.
23700 * argp/argp-fmtstream.h: Likewise.
23701 * argp/argp-help.c: Likewise.
23702 * assert/assert.c: Likewise.
23703 * config.h.in: Likewise.
23704 * config.make.in: Likewise.
23705 * configure: Likewise.
23706 * configure.in: Likewise.
23707 * csu/Versions: Likewise.
23708 * csu/init.c: Likewise.
23709 * elf/tst-audit2.c: Likewise.
23710 * elf/tst-tls10.c: Likewise.
23711 * elf/tst-tls10.h: Likewise.
23712 * elf/tst-tls11.c: Likewise.
23713 * elf/tst-tls12.c: Likewise.
23714 * elf/tst-tls14.c: Likewise.
23715 * elf/tst-tlsmod11.c: Likewise.
23716 * elf/tst-tlsmod12.c: Likewise.
23717 * elf/tst-tlsmod13.c: Likewise.
23718 * elf/tst-tlsmod13a.c: Likewise.
23719 * elf/tst-tlsmod14a.c: Likewise.
23720 * elf/tst-tlsmod15b.c: Likewise.
23721 * elf/tst-tlsmod16a.c: Likewise.
23722 * elf/tst-tlsmod16b.c: Likewise.
23723 * elf/tst-tlsmod7.c: Likewise.
23724 * elf/tst-tlsmod8.c: Likewise.
23725 * elf/tst-tlsmod9.c: Likewise.
23726 * gmon/gmon.c: Likewise.
23727 * grp/fgetgrent_r.c: Likewise.
23728 * grp/putgrent.c: Likewise.
23729 * hurd/fopenport.c: Likewise.
23730 * include/libc-symbols.h: Likewise.
23731 * include/tls.h: Likewise.
23732 * intl/gettextP.h: Likewise.
23733 * intl/loadinfo.h: Likewise.
23734 * locale/global-locale.c: Likewise.
23735 * locale/localeinfo.h: Likewise.
23736 * mach/devstream.c: Likewise.
23737 * malloc/arena.c: Likewise.
23738 * malloc/set-freeres.c: Likewise.
23739 * misc/err.c: Likewise.
23740 * misc/getttyent.c: Likewise.
23741 * misc/mntent_r.c: Likewise.
23742 * posix/getopt.c: Likewise.
23743 * posix/wordexp.c: Likewise.
23744 * pwd/fgetpwent_r.c: Likewise.
23745 * resolv/Versions: Likewise.
23746 * resolv/res_hconf.c: Likewise.
23747 * shadow/fgetspent_r.c: Likewise.
23748 * shadow/putspent.c: Likewise.
23749 * stdio-common/printf_fphex.c: Likewise.
23750 * stdio-common/tmpfile.c: Likewise.
23751 * stdlib/abort.c: Likewise.
23752 * stdlib/fmtmsg.c: Likewise.
23753 * sunrpc/auth_unix.c: Likewise.
23754 * sunrpc/clnt_perr.c: Likewise.
23755 * sunrpc/clnt_tcp.c: Likewise.
23756 * sunrpc/clnt_udp.c: Likewise.
23757 * sunrpc/clnt_unix.c: Likewise.
23758 * sunrpc/openchild.c: Likewise.
23759 * sunrpc/svc_simple.c: Likewise.
23760 * sunrpc/svc_tcp.c: Likewise.
23761 * sunrpc/svc_udp.c: Likewise.
23762 * sunrpc/svc_unix.c: Likewise.
23763 * sunrpc/xdr.c: Likewise.
23764 * sunrpc/xdr_array.c: Likewise.
23765 * sunrpc/xdr_rec.c: Likewise.
23766 * sunrpc/xdr_ref.c: Likewise.
23767 * sunrpc/xdr_stdio.c: Likewise.
23768
1248c1c4
PB
237692011-09-09 Ulrich Drepper <drepper@gmail.com>
23770
23771 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23772
237732011-07-03 Andreas Jaeger <aj@suse.de>
23774
23775 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23776 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23777 regenerate with gen-libm-tests.pl.
23778
237792010-05-12 Petr Baudis <pasky@suse.cz>
23780
23781 [BZ #11589]
23782 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23783 around j0() zero points by switching to j1().
23784 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23785 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23786 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23787 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23788
f22e1074
UD
237892011-09-09 Ulrich Drepper <drepper@gmail.com>
23790
f19009c1
UD
23791 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23792 instead of 0.
23793 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23794 instead of 0.
f19009c1
UD
23795 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23796 Patch in part by Pavel Roskin <proski@gnu.org>.
23797
3f8cc204
UD
23798 [BZ #13138]
23799 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23800 realloc.
23801 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23802 Free memory block if necessary.
23803
f22e1074
UD
23804 [BZ #12847]
23805 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23806 be NULL. Don't lock in this case.
23807
0a2349f9
RM
238082011-09-09 Roland McGrath <roland@hack.frob.com>
23809
23810 * elf/elf.h (ELFOSABI_GNU): New macro.
23811 (ELFOSABI_LINUX): Define to that.
23812
f3cdd467
DZ
238132011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23814
23815 * string/strncat.c (strncat): Undef the symbol in case it has been
23816 defined in bits/string.h.
23817
74718d13
UD
238182011-09-09 Ulrich Drepper <drepper@gmail.com>
23819
633e9e0f
UD
23820 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23821
0a2349f9 23822 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23823 link map.
23824
f9924780
AJ
238252011-08-17 Andreas Jaeger <aj@suse.de>
23826
23827 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23828
7f5517aa
PP
238292011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23830 Ian Lance Taylor <iant@google.com>
23831
23832 * math/libm-test.inc (lround_test): New testcase.
23833 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23834
762011fe
UD
238352011-09-08 Ulrich Drepper <drepper@gmail.com>
23836
92963737
UD
23837 * Makefile: Remove support for automatic cvs check-ins.
23838 * Makerules: Likewise.
23839 * config.make.in: Likewise.
23840 * configure.in: Likewise.
23841 * intl/Makefile: Likewise.
23842 * locale/Makefile: Likewise.
23843 * po/Makefile: Likewise.
23844 * posix/Makefile: Likewise.
23845 * sysdeps/gnu/Makefile: Likewise.
23846 * sysdeps/mach/hurd/Makefile: Likewise.
23847 * sysdeps/sparc/sparc32/Makefile: Likewise.
23848
b0727fd8
JS
23849 [BZ #13118]
23850 * posix/Makefile (bug-regex32-ENV): Define.
23851 Patch by John Stanley <jpsinthemix@verizon.net>.
23852
a0f33f99
UD
23853 * misc/Makefile (headers): Add bits/select2.h.
23854 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23855 * misc/bits/select2.h: New file.
23856 * include/bits/select2.h: New file.
23857 * debug/Makefile (routines): Add fdelt_chk.
23858 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23859 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23860 FD_ISSET.
23861 * debug/fdelt_chk.c: New file.
23862
762011fe
UD
23863 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23864 * wcsmbs/test-wmemcmp.c: Likewise.
23865 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23866 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23867
238682011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23869
23870 * string/Makefile (strop-tests): Add memcmp.
23871 * string/test-wmemcmp.c: New file.
23872 * string/test-memcmp.c: Add wmemcmp support.
23873
7f513ec8
RM
238742011-09-08 Roland McGrath <roland@hack.frob.com>
23875
0442afb4
RM
23876 [BZ #13153]
23877 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23878 2011-07-19 change.
23879
7f513ec8
RM
23880 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23881 garbage value in a __mach_port_mod_refs call in the cases of the
23882 task-self and thread-self ports.
23883
a12b2239
ST
238842011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23885
23886 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23887
610f9ab4
AS
238882011-09-08 Andreas Schwab <schwab@redhat.com>
23889
7f513ec8 23890 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23891
48882a1a
LD
238922011-09-07 Ulrich Drepper <drepper@gmail.com>
23893
b49865be
UD
23894 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23895
fdc86bc9
UD
23896 * elf/dl-libc.c (dlerror_run): Pass back error code from
23897 dl_catch_error.
23898
c966526a
UD
23899 [BZ #13123]
23900 * elf/dl-load.c (lose): Free l_origin if it is valid.
23901
48882a1a
LD
23902 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23903 names.
23904 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23905 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23906 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23907 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23908 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23909 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23910
77a2a8b4
AZ
239112011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23912
23913 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23914 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23915 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23916 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23917 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23918 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23919 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23920 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23921 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23922 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23923
24f579d8
AM
239242011-08-15 Alan Modra <amodra@gmail.com>
23925
23926 [BZ #13092]
23927 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23928 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23929 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23930 ppc_mcount to static-only-routines.
23931 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23932 __mcount_internal.
23933 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23934 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23935
3d4837df
UD
239362011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23937
23938 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23939 for finite and infinity parameters.
23940
22700377
WS
239412011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23942
23943 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23944 and add nop instructions for throughput optimization.
23945 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23946
5025581e
WS
239472011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23948
23949 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23950 aligned copy for power7 with vector-scalar instructions.
23951 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23952
08a300c9
L
239532011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23954
23955 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23956 AVX check.
23957
59178ef9
AS
239582011-09-07 Andreas Schwab <schwab@redhat.com>
23959
23960 [BZ #13144]
23961 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23962 last change.
23963
e38ba7ab
UD
239642011-09-07 Ulrich Drepper <drepper@gmail.com>
23965
23966 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23967 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23968 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23969 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23970 clock_gettime.
23971
d53a73ac
UD
239722011-09-06 Ulrich Drepper <drepper@gmail.com>
23973
fc8bffcc
UD
23974 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23975 Forgot to demangle the pointer.
23976
ceaa0c5d
UD
23977 * sysdeps/i386/sysdep.h: Define atom_text_section.
23978 * sysdeps/x86_64/sysdep.h: Likewise.
23979 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23980 section with atom_text_section.
23981 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23982 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23983 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23984 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23985 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23986
a77d3c17
UD
23987 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23988 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23989 already be defined. Change to take two parameters and don't assign
23990 result to variable. Adjust all users.
23991 Define INTERNAL_GETTIME if not already defined.
23992 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23993 call.
23994 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23995 HAVE_CLOCK_GETTIME_VSYSCALL.
23996 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23997
d53a73ac
UD
23998 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23999 gettimeofday vsyscall, just use time.
24000
a8f84144
AS
240012011-09-06 Andreas Schwab <schwab@redhat.com>
24002
24003 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24004 <errno.h>.
24005
ef606249
UD
240062011-09-06 Ulrich Drepper <drepper@gmail.com>
24007
24008 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24009 syscall on x86-64.
24010 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24011 syscall.
24012 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24013 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24014 syscall if possible.
24015
6585cb60
UD
240162011-09-05 Ulrich Drepper <drepper@gmail.com>
24017
24018 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24019 e_ident. Don't pass to find_mapsXX.
24020 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24021
a5f524e4
LD
240222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24023
24024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24025 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24026 * sysdeps/x86_64/multiarch/strchr.S: Update.
24027 Check bit_slow_BSF bit.
24028 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24029 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24030 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24031
554881ef
UD
240322011-09-05 Ulrich Drepper <drepper@gmail.com>
24033
d96de963
UD
24034 [BZ #13134]
24035 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24036 before glibc 2.15.
24037 (tryshell): Define.
24038 (__spawni): Change last parameter to be flag. Test
24039 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24040 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24041 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24042 * posix/spawni.c: Likewise.
24043 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24044 * posix/spawnp.c: Likewise. Change normal version to use
24045 SPAWN_XFLAGS_USE_PATH.
24046 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24047 SPAWN_XFLAGS_TRY_SHELL.
24048
d48e5868
UD
24049 [BZ #13150]
24050 * posix/glob.h: Remove gcc 1.x support.
24051
554881ef
UD
24052 [BZ #13068]
24053 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24054
693fb948
LD
240552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24056
24057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24058 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24059 strrchr-sse2-bsf
24060 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24061 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24062 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24063 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24064 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24065 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24066
1b48c537
UD
240672011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24068
49d42c37
UD
24069 * sysdeps/x86_64/wcscmp.S: New file.
24070
1b48c537
UD
24071 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24072 wcscmp-c wcscmp-sse2
24073 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24074 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24075 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24076 * wcsmbs/wcscmp.c: Allow renaming.
24077
15c95c5d
DM
240782011-09-05 David S. Miller <davem@davemloft.net>
24079
24080 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24081 stack slot, rather than the struct return pointer slot.
24082 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24083 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24085 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24086
2f0ad8f3
UD
240872011-09-05 Ulrich Drepper <drepper@gmail.com>
24088
d88ae418
UD
24089 * po/ja.po: Update from translation team.
24090
2f0ad8f3
UD
24091 [BZ #13144]
24092 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24093 kernel in 64-bit binaries.
24094
5f4318d1
DM
240952011-09-01 David S. Miller <davem@davemloft.net>
24096
24097 * elf/elf.h (HWCAP_SPARC_*): Move to..
24098 * sysdeps/sparc/sysdep.h: this new file and add new values.
24099 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24100 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24101 _DL_HWCAP_COUNT to 24.
24102 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24103 entries.
24104 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24105 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24106 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24107 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24108 instead of magic constants.
24109 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24110
3ba57516
DM
241112011-08-31 David S. Miller <davem@davemloft.net>
24112
24113 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24114 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24115 Reimplement to do errno handling inline.
24116 (SYSCALL_ERROR_HANDLER): New macro.
24117 (__SYSCALL_STRING): Do not do errno handling in asm.
24118 (__CLONE_SYSCALL_STRING): Delete.
24119 (__INTERNAL_SYSCALL_STRING): Delete.
24120 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24121 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24122 (PSEUDO): Reimplement to do errno handling inline.
24123 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24124 (SYSCALL_ERROR_HANDLER): New macro.
24125 (__SYSCALL_STRING): Do not do errno handling in asm.
24126 (__CLONE_SYSCALL_STRING): Delete.
24127 (__INTERNAL_SYSCALL_STRING): Delete.
24128 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24129 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24130 i386.
24131 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24132 (inline_syscall*): Add 'err' argument.
24133 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24134 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24135 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24136 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24137
24138 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24139 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24140
2bc17433
AS
241412011-08-30 Andreas Schwab <schwab@redhat.com>
24142
24143 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24144
fbeb5f4d
JO
241452011-08-29 Jiri Olsa <jolsa@redhat.com>
24146
24147 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24148 directive.
24149
ad69cc26
DM
241502011-08-24 David S. Miller <davem@davemloft.net>
24151
24152 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24153
39dd69df
AS
241542011-08-24 Andreas Schwab <schwab@redhat.com>
24155
24156 * elf/Makefile: Add rules to build and run unload8 test.
24157 * elf/unload8.c: New file.
24158 * elf/unload8mod1.c: New file.
24159 * elf/unload8mod1x.c: New file.
24160 * elf/unload8mod2.c: New file.
24161 * elf/unload8mod3.c: New file.
24162
24163 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24164 it wasn't used.
24165
2c0b250a
DM
241662011-08-23 David S. Miller <davem@davemloft.net>
24167
24168 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24169 subtract stack bias.
24170 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24171 %sp not %fp in calculations.
24172 (_JMPBUF_UNWINDS_ADJ): Likewise.
24173
22044b48
DM
24174 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24175 (aio_suspend): Call it to force an exception region around the
24176 AIO_MISC_WAIT() invocation.
24177
2cae4995
AS
241782011-08-23 Andreas Schwab <schwab@redhat.com>
24179
24180 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24181 backslash.
24182
873a772e
AJ
241832011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24184
24185 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24186 protection macro.
24187 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24188 and <dl-machine.h>.
24189 (Elf64_FuncDesc): Remove.
24190
25ad0df1
DM
241912011-08-22 David S. Miller <davem@davemloft.net>
24192
24193 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24194 sigaltstack check, add missing cfi directives.
24195 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24196 missing cfi directives, and sigaltstack handling.
24197
e888bcbe
AS
241982011-08-16 Andreas Schwab <schwab@redhat.com>
24199
24200 [BZ #11724]
24201 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24202 object is seen twice.
24203 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24204
24205 * elf/Makefile (distribute): Add tst-initorder2.c.
24206 (tests): Add tst-initorder2.
24207 (modules-names): Add tst-initorder2a tst-initorder2b
24208 tst-initorder2c tst-initorder2d. Add rules to build them.
24209 ($(objpfx)tst-initorder2.out): New rule.
24210 * elf/tst-initorder2.c: New file.
24211 * elf/tst-initorder2.exp: New file.
24212
87162f46
AS
242132011-08-22 Andreas Schwab <schwab@redhat.com>
24214
70538b7f
AS
24215 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24216
f55ffe58
AS
24217 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24218 dependencies back to end of function.
24219
87162f46
AS
24220 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24221 $(elfobjdir)/ld.so.
24222
91b392a4
UD
242232011-08-21 Ulrich Drepper <drepper@gmail.com>
24224
24225 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24226 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24227 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24228 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24229 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24230 of __vdso_gettimeofday.
24231 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24232 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24233 attribute_hidden.
24234 (_libc_vdso_platform_setup): Remove initialization of
24235 __vdso_gettimeofday and __vdso_time.
24236
5c43483f
UD
242372011-08-20 Ulrich Drepper <drepper@gmail.com>
24238
775a77e7
UD
24239 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24240 and fgetc_unlocked.
24241 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24242 getc_unlocked.
89f447ed 24243
49c74ba9
UD
24244 * elf/dl-open.c (add_to_global): Report additions to the global scope
24245 for LD_DEBUG=scopes.
24246 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24247 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24248
5c43483f
UD
24249 [BZ #13114]
24250 * stdio-common/Makefile (tests): Add bug24.
24251 * stdio-common/bug24.c: New file.
24252
a101b025
AJ
242532011-08-19 Andreas Jaeger <aj@suse.de>
24254
24255 [BZ #13114]
24256 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24257 non-existant file when using close-on-exec mode.
24258
c88f1766
UD
242592011-08-20 Ulrich Drepper <drepper@gmail.com>
24260
0276a718
UD
24261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24262 the very first instruction.
24263
c88f1766
UD
24264 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24265 the CFI state in the end.
24266 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24267 inclusion of dl-trampoline.h.
24268 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24269
51ccffa0
AS
242702011-08-19 Andreas Schwab <schwab@redhat.com>
24271
94d7165f
AS
24272 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24273 expectations for long double.
24274
51ccffa0
AS
24275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24276 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24277
fd708658 242782011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24279
24280 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24281 artificual limit depends upon the system page size.
24282
44f0a71e
UD
242832011-08-17 Ulrich Drepper <drepper@gmail.com>
24284
24285 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24286 * resolv/Makefile: Define CFLAGS-libresolv.
24287
8de79a24
AS
242882011-08-17 Andreas Schwab <schwab@redhat.com>
24289
24290 * nss/makedb.c (compute_tables): Make variables used in nested
24291 function static.
24292
27724598
UD
242932011-08-17 Ulrich Drepper <drepper@gmail.com>
24294
c5305d88
UD
24295 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24296 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24297 if buffer was too small.
24298
27724598
UD
24299 * elf/pldd.c (main): Attach to all threads in the process.
24300 Rewrite /proc handling to use *at functions.
24301
076fe015
UD
243022011-08-16 Ulrich Drepper <drepper@gmail.com>
24303
174baab3
UD
24304 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24305 specifies first scope to show.
24306 (dl_open_worker): Update callers. Move printing scope of new
24307 object to before the relocation.
44f0a71e 24308 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24309 * sysdeps/generic/ldsodefs.h: Update declaration.
24310
076fe015
UD
24311 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24312 string for the scope number.
24313
a60df2c3
UD
243142011-08-14 Ulrich Drepper <drepper@gmail.com>
24315
24316 * nscd/servicescache.c (cache_addserv): Make sure written is always
24317 initialized.
24318
5e4287d1
RM
243192011-08-14 Roland McGrath <roland@hack.frob.com>
24320
85ae0589
RM
24321 * sysdeps/i386/i486/bits/atomic.h
24322 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24323 statement expression, so as to suppress "set but not used" warning.
24324 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24325
69f63097
RM
24326 * string/strncat.c (STRNCAT): Use prototype definition.
24327
675456ef
RM
24328 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24329 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24330 -Iprograms here.
24331 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24332 (localedef-modules): Add localedef.
24333 (locale-modules): Add locale.
24334
5e4287d1
RM
24335 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24336 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24337 to avoid a warning.
24338
9c96ff23
DM
243392011-08-14 David S. Miller <davem@davemloft.net>
24340
24341 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24342 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24343
f9ddf089
UD
243442011-08-13 Ulrich Drepper <drepper@gmail.com>
24345
44f0a71e 24346 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24347 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24348 * elf/rtld.c (dl_main): Set l_name of vDSO.
24349 Call _dl_show_scope when DL_DEBUG_SCOPES.
24350 (process_dl_debug): Recognize scopes flag and also set it for all.
24351 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24352 Declare _dl_show_scope.
24353
1dc27704
UD
24354 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24355 (do_dlopen): Pass caller_dlopen to dl_open.
24356 (__libc_dlopen_mode): Initialize caller_dlopen.
24357
f9ddf089
UD
24358 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24359 of libc. Make tolower call locale-independent. Optimize a bit by
24360 using isdigit instead of isalnum.
24361 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24362
9ac533d3
UD
243632011-08-12 Ulrich Drepper <drepper@gmail.com>
24364
24365 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24366 was a dependency or dynamically loaded.
24367
89edf2e9
UD
243682011-08-11 Ulrich Drepper <drepper@gmail.com>
24369
8e999d29
UD
24370 * intl/l10nflist.c: Allow architecture-specific pop function.
24371 * sysdeps/x86_64/l10nflist.c: New file.
24372
89edf2e9
UD
24373 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24374 classification.
24375
14d96785
AS
243762011-08-10 Andreas Schwab <schwab@redhat.com>
24377
24378 * include/dirent.h: Add libc_hidden_proto for scandirat and
24379 scandirat64. Don't declare __scandirat64.
24380 * dirent/scandirat.c: Add libc_hidden_def.
24381 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24382 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24383
6761ac04
DM
243842011-08-10 David S. Miller <davem@davemloft.net>
24385
24386 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24387 enum.
24388 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24389 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24390 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24391
c55fbd1e
UD
243922011-08-09 Ulrich Drepper <drepper@gmail.com>
24393
24394 * Versions.def [libc]: Add GLIBC_2.15.
24395 * dirent/Makefile (routines): Add scandirat and scandirat64.
24396 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24397 GLIBC_2.15.
24398 * dirent/dirent.h: Declare scandirat and scandirat64.
24399 * dirent/scandirat.c: New file.
24400 * dirent/scandirat64.c: New file.
24401 * sysdeps/wordsize-64/scandirat.c: New file.
24402 * sysdeps/wordsize-64/scandirat64.c: New file.
24403 * dirent/opendir.c: Define opendirat.
24404 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24405 using scandirat.
24406 * dirent/scandir64.c: Adjust for scandir.c change.
24407 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24408 __scandirat64, and __scandir_cancel_handler.
24409 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24410 additional parameter and use openat instead of open (outside of ld.so).
24411 Add new __opendir as wrapper around __opendirat.
24412 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24413 here without requiring old scandirat implementation.
24414
879165f2
UD
244152011-08-08 Ulrich Drepper <drepper@gmail.com>
24416
24417 * dirent/scandir.c (cancel_handler): Renamed to
24418 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24419 defined. Adjust users.
24420 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24421 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24422
cb7e923b
UD
244232011-08-04 Ulrich Drepper <drepper@gmail.com>
24424
16292edd
UD
24425 * string/test-string.h (IMPL): Use __STRING to expand name and then
24426 stringify it.
24427
cb7e923b
UD
24428 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24429 of cleanups.
24430
cff82933
LD
244312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24432
24433 * string/Makefile: Update.
24434 (strop-tests): Append strncat.
24435 * string/test-wcscmp.c: New file.
24436 New comprehensive test for wcscmp.
24437 * string/test-strcmp.c: Update.
24438 (WIDE): New define.
24439
9be9bfcc
AS
244402011-07-22 Andreas Schwab <schwab@redhat.com>
24441
24442 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24443 line.
24444
2e96f1c7
AS
244452011-07-26 Andreas Schwab <schwab@redhat.com>
24446
24447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24448 encoding to ACE if AI_IDN.
24449
85188888
JJ
244502011-08-01 Jakub Jelinek <jakub@redhat.com>
24451
24452 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24453 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24454
5fa16e9b
LD
244552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24456
24457 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24458 Fix overflow bug in strncat.
24459 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24460
24461 * string/test-strncat.c: Update.
24462 Add new tests for checking overflow bugs.
24463
244642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24465
24466 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24467 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24468 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24469 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24470 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24471 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24472 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24473 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24474 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24475
24476 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24477 (USE_AS_STRCAT): Define.
24478 Add strcat and strncat support.
24479 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24480
8c1a459f
AS
244812011-07-25 Andreas Schwab <schwab@redhat.com>
24482
24483 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24484 __n bigger than INT_MAX+1.
24485 (__strncmp_g): Likewise.
24486
bba33c28
UD
244872011-07-23 Ulrich Drepper <drepper@gmail.com>
24488
798be72d
UD
24489 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24490 * libio/stido.h: Likewise.
24491
8accd4dc
UD
24492 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24493 (AF_NFC): Define.
24494 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24495 (AF_NFC): Define.
24496
cbff0d96
UD
24497 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24498 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24499 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24500 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24501 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24502
9191c04a
UD
24503 [BZ #13021]
24504 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24505 installed.
24506
bba33c28
UD
24507 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24508 typo.
24509 (_dl_x86_64_save_sse): Likewise.
24510
90f139dd
UD
245112011-07-22 Ulrich Drepper <drepper@gmail.com>
24512
1aae088a
UD
24513 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24514 OSXSAVE.
24515 (_dl_x86_64_save_sse): Likewise.
24516
8e2045f5
UD
24517 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24518
90f139dd
UD
24519 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24520
1d002f25
AS
245212011-07-21 Andreas Schwab <schwab@redhat.com>
24522
24523 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24524 change.
24525 (_dl_x86_64_save_sse): Use correct AVX check.
24526
21137f89
UD
245272011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24528
24529 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24530 bug in strncpy/strncat.
24531 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24532
a65c0b7a
UD
245332011-07-21 Ulrich Drepper <drepper@gmail.com>
24534
24535 * string/tester.c (test_strcat): Add tests for different alignments
24536 of source and destination.
24537 (test_strncat): Likewise.
24538
6986b98a
UD
245392011-07-20 Ulrich Drepper <drepper@gmail.com>
24540
90bb2039
UD
24541 [BZ #12852]
24542 * posix/glob.c (glob): Check passed in values before using them in
24543 expressions to avoid some overflows.
24544 (glob_in_dir): Likewise.
24545
5644ef54
UD
24546 [BZ #13007]
24547 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24548 check for AVX enablement so that we don't crash with old kernels and
24549 new hardware.
24550 * elf/tst-audit4.c: Add same checks here.
24551 * elf/tst-audit6.c: Likewise.
24552
24553 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24554
bfc9dc9b
AS
245552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24556
24557 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24558
702e64bb
UD
245592011-07-20 Ulrich Drepper <drepper@gmail.com>
24560
24561 * po/cs.po: Update from translation team.
24562 * po/bg.po: Likewise.
24563
295e904f
MP
245642011-07-12 Marek Polacek <mpolacek@redhat.com>
24565
24566 * misc/sys/cdefs.h: Add support for const attribute.
24567 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24568 to gnu_dev_{major,minor,makedev} functions.
24569
3ff94596
MP
245702011-07-20 Marek Polacek <mpolacek@redhat.com>
24571
24572 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24573
28b59fca
AS
245742011-07-20 Andreas Schwab <schwab@redhat.com>
24575
24576 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24577 strlen results.
24578
19df733e
AK
245792011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24580
24581 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24582 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24583 register in order to avoid conflicts with the soft frame pointer
24584 being held in r11 when necessary.
24585 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24586 (INTERNAL_VSYSCALL_NCS): Likewise.
24587
c8835729
MP
245882011-07-14 Marek Polacek <mpolacek@redhat.com>
24589
24590 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24591 * elf/dl-fini.c (_dl_fini): Adjust caller.
24592 * elf/dl-close.c (_dl_close_worker): Likewise.
24593 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24594
b902330c
MP
245952011-07-15 Marek Polacek <mpolacek@redhat.com>
24596
8991e135
MP
24597 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24598 "aux_cache->nlibs < 0".
24599
b902330c
MP
24600 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24601 in the reload-count case.
24602
99710781
LD
246032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24604
24605 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24606 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24607 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24608 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24609 * sysdeps/x86_64/multiarch/strcat.S: New file.
24610 * sysdeps/x86_64/multiarch/strncat.S: New file.
24611 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24612 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24613 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24614 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24615 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24616 (USE_AS_STRCAT): Define.
24617 Add strcat and strncat support.
24618 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24619 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24620 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24621 * string/strncat.c: Update.
24622 (USE_AS_STRNCAT): Define.
24623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24624 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24625 and i7.
24626 * sysdeps/x86_64/multiarch/init-arch.h
24627 (bit_Prefer_PMINUB_for_stringop): New.
24628 (index_Prefer_PMINUB_for_stringop): Likewise.
24629 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24630 bit_Prefer_PMINUB_for_stringop.
24631
7dc6bd90
UD
246322011-07-19 Ulrich Drepper <drepper@gmail.com>
24633
24634 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24635 buffer64.
24636 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24637 of casting of buffer.
24638 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24639 buffer32 and buffer64.
24640 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24641 writes instead of casting of buffer.
24642 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24643 buffer32.
24644 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24645 casting of buffer.
24646
e0e72284
AS
246472011-07-19 Andreas Schwab <schwab@redhat.com>
24648
24649 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24650
feb1eb0b
UD
246512011-07-19 Ulrich Drepper <drepper@gmail.com>
24652
24653 * nscd/nscd.c (termination_handler): Don't do anything for a database
24654 if it has not yet been initialized.
24655
298711ff
UD
246562011-07-18 Ulrich Drepper <drepper@gmail.com>
24657
24658 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24659
246602011-07-15 Marek Polacek <mpolacek@redhat.com>
24661
24662 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24663
f9d68389
UD
246642011-07-18 Ulrich Drepper <drepper@gmail.com>
24665
24666 * po/nl.po: Update from translation team.
24667 * po/sv.po: Likewise.
24668
db290cf5
RM
246692011-07-16 Roland McGrath <roland@hack.frob.com>
24670
24671 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24672 now disallowed by GCC.
5c550700 24673
fd5e21c7
RM
24674 * configure.in (use-default-link): Default to yes if a test -shared
24675 link meets our qualifications.
24676 * configure: Regenerated.
24677
5c550700
RM
24678 * config.make.in (output-format): New variable.
24679 * configure.in: Check for ld --print-output-format support.
24680 * configure: Regenerated.
24681 * Makerules ($(common-objpfx)format.lds)
24682 [$(output-format) != unknown]: Just use $(output-format),
24683 instead of the linker-script munging.
24684
9fa2c032
RM
246852011-07-14 Roland McGrath <roland@hack.frob.com>
24686
a6928d51
RM
24687 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24688 of $(common-objpfx)shlib.lds.
24689 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24690
661607b3
RM
24691 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24692 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24693
9fa2c032
RM
24694 * configure.in (-z relro check): Adjust test code to add a large
24695 writable data section after it.
24696 * configure: Regenerated.
24697
defe9061
RM
246982011-07-11 Roland McGrath <roland@hack.frob.com>
24699
24700 * configure.in (-z relro check): Fix test code to make the variable
24701 truly const.
24702 * configure: Regenerated.
24703
319b9ad4
UD
247042011-07-11 Ulrich Drepper <drepper@gmail.com>
24705
24706 * nscd/nscd.h (struct traced_file): Define.
24707 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24708 elements. Add traced_files.
24709 (inotify_fd): Declare.
24710 (register_traced_file): Declare.
24711 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24712 (inotify_fd): Export.
24713 (resolv_conf_descr): Remove.
24714 (nscd_init): Move inotify descriptor creation to main.
24715 Don't register files for notification here.
24716 (register_traced_file): New function.
24717 (invalidate_cache): Don't use reset_res to determine whether to call
24718 res_init, go through the list of registered files.
24719 (main_loop_poll): The inotify descriptors are now stored in the
24720 structures for the traced files.
24721 (main_loop_epoll): Likewise
24722 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24723 to __nss_disable_nscd.
24724 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24725 for a database anymore. Check the records for all the registered
24726 files instead.
24727 * nss/Makefile (libnss_files-routines): Add files-init.
24728 (libnss_db-routines): Add db-init.
24729 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24730 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24731 * nss/nss_db/db-init.c: New file.
24732 * nss/nss_files/files-init.c: New file.
24733 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24734 __nss_lookup_function.
24735 (__nss_lookup_function): Call nss_load_library.
24736 (nss_load_all_libraries): New function.
24737 (__nss_disable_nscd): Take parameter with callback function for files
24738 to register. Set is_nscd. Load all the DSOs for the NSS modules
24739 used for the cached services.
24740 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24741 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24742 options for features to all the files in nscd.
24743
24744 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24745
23bee3e8
RM
247462011-07-10 Roland McGrath <roland@hack.frob.com>
24747
24748 * csu/elf-init.c (__libc_csu_init): Comment typo.
24749
46a5b7f0
UD
247502011-07-09 Ulrich Drepper <drepper@gmail.com>
24751
24752 * po/pl.po: Update from translation team.
24753 * po/ja.po: Likewise.
24754 * po/ru.po: Likewise.
24755 * po/ko.po: Likewise.
24756 * po/fr.po: Likewise.
24757
d30cf5bb
RM
247582011-07-09 Roland McGrath <roland@hack.frob.com>
24759
113ddea4
RM
24760 * configure.in (.ctors/.dtors header and trailer check):
24761 Use an empirical test on a built program.
24762 * configure: Regenerated.
24763
574920b4
RM
24764 * configure.in (-z relro check): Use an empirical test on a built DSO.
24765 Detect, but do not require, on ia64.
24766 * configure: Regenerated.
24767
d30cf5bb
RM
24768 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24769 Update tests that use readelf to use $READELF instead.
24770 * configure: Regenerated.
24771
8538fdb3
UD
247722011-07-08 Ulrich Drepper <drepper@gmail.com>
24773
24774 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24775 if the result is not used.
24776
04d08991
AJ
247772011-07-05 Andreas Jaeger <aj@suse.de>
24778
24779 [BZ#9696]
24780 * stdlib/tst-strtod.c: Add testcase.
24781
de283087
AD
247822011-07-07 Ulrich Drepper <drepper@gmail.com>
24783
4e5f31c8 24784 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24785 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24786 The latter has a higher limit. Take additional parameter to pass to
24787 the new function.
24788 (__pathconf): Pass file to __statfs_link_max.
24789 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24790 __statfs_link_max.
24791 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24792 __statfs_link_max.
24793
de283087
AD
24794 [BZ #12868]
24795 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24796 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24797 Handle Lustre.
24798 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24799 (__statfs_filesize_max): Likewise.
24800 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24801
c75fa153
AJ
248022011-07-05 Andreas Jaeger <aj@suse.de>
24803
24804 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24805
1a544854
UD
248062011-07-06 Marek Polacek <mpolacek@redhat.com>
24807
24808 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24809 `status' variable.
24810 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24811 Likewise.
24812
6f0eec67
UD
248132011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24814
24815 * Makefile (strop-tests): Add strncat.
24816 * string/test-strncat.c: New file.
24817
aae30307
UD
248182011-06-30 Marek Polacek <mpolacek@redhat.com>
24819
24820 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24821
c0cfb5eb
UD
248222011-06-21 Andreas Jaeger <aj@suse.de>
24823
24824 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24825 Copy rule from iconvdata/Makefile.
24826
01636b21
UD
248272011-07-06 Ulrich Drepper <drepper@gmail.com>
24828
24829 [BZ #12922]
24830 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24831 but no long options are defined, just return 'W'.
24832
9895c8bc
UD
248332011-06-22 Marek Polacek <mpolacek@redhat.com>
24834
24835 [BZ #9696]
24836 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24837
5d4cf042
UD
248382011-07-06 Ulrich Drepper <drepper@gmail.com>
24839
24840 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24841 netgroups to read.
960e5535 24842 (innetgr): Likewise.
5d4cf042 24843
751eb97e
RM
248442011-07-05 Roland McGrath <roland@hack.frob.com>
24845
24846 * config.make.in (install_root): Default to $(DESTDIR).
24847
f15f1e45
UD
248482011-07-05 Ulrich Drepper <drepper@gmail.com>
24849
24850 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24851
4e34ac6a
RM
248522011-07-02 Roland McGrath <roland@hack.frob.com>
24853
5e9b6af4
RM
24854 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24855
84f9ea0f
RM
24856 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24857 containing directory rather than embedding absolute directory names.
24858
ea5ee9f7
RM
24859 * scripts/check-local-headers.sh: Rewritten using awk.
24860 Match by word, not by line. Print error messages for matches.
24861 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24862
1b74661a
RM
24863 * Makerules [shlib-lds-flags empty]:
24864 ($(common-objpfx)libc_pic.opts): New target.
24865 ($(common-objpfx)libc_pic.os.clean): New target.
24866 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24867
24868 * config.make.in (OBJCOPY): New variable.
24869 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24870 * configure: Regenerated.
24871
f781ef40
RM
24872 * config.make.in (use-default-link): New variable.
24873 * configure.in (use_default_link): Grok --with-default-link to set it.
24874 * configure: Regenerated.
24875 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24876 (shlib-lds, shlib-lds-flags): Define to empty.
24877
2d4fa81e
RM
24878 * Makerules (shlib-lds): New variable.
24879 (shlib-lds-flags): New variable.
24880 (build-shlib, build-moduile, build-module-asneeded): Use it.
24881 ($(common-objpfx)libc.so): Use $(shlib-lds).
24882 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24883 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24884
31fffa6b
RM
24885 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24886 DT_FLAGS/DT_FLAGS_1 with zero flags.
24887
4e34ac6a
RM
24888 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24889 linker script munging.
24890
fcfc776b
UD
248912011-07-02 Ulrich Drepper <drepper@gmail.com>
24892
24893 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24894 as 128-bit value.
24895 * crypt/sha512.c (sha512_process_block): Perform total addition using
24896 128-bit if possible.
24897 (__sha512_finish_ctx): Likewise.
24898 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24899 as 64-bit value.
24900 * crypt/sha256.c (SWAP64): Define.
24901 (sha256_process_block): Perform total addition using 64-bit if
24902 possible.
24903 (__sha256_finish_ctx): Likewise.
24904
99231d9a
UD
249052011-07-01 Ulrich Drepper <drepper@gmail.com>
24906
24907 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24908 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24909 * nscd/hstcache.c (cache_addhst): Likewise.
24910 * nscd/grpcache.c (cache_addgr): Likewise.
24911 * nscd/aicache.c (addhstaiX): Likewise
24912 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24913
445b4a53
TK
249142011-07-01 Thorsten Kukuk <kukuk@suse.de>
24915
24916 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24917 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24918 * nscd/hstcache.c (cache_addhst): Likewise.
24919 * nscd/grpcache.c (cache_addgr): Likewise.
24920 * nscd/aicache.c (addhstaiX): Likewise
24921
6d4d8e8e
AS
249222011-07-01 Andreas Schwab <schwab@redhat.com>
24923
24924 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24925 domain only when needed.
24926
89f654c5
AS
249272011-06-30 Andreas Schwab <schwab@redhat.com>
24928
24929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24930 is always restored.
24931
cf3b23ff
UD
249322011-06-29 Ulrich Drepper <drepper@gmail.com>
24933
24934 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24935 are re-adding the entry.
24936 * nscd/servicescache.c (cache_addserv): Likewise.
24937
751626f9
AJ
249382011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24939
24940 * sysdeps/generic/dl-irel.h: fix protection against multiple
24941 inclusions.
24942 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24943
9113ea1f
UD
249442011-06-28 Ulrich Drepper <drepper@gmail.com>
24945
5c0b8d90
UD
24946 [BZ #12935]
24947 * malloc/memusage.sh: Fix quoting in message.
24948 * debug/xtrace.sh: Likewise.
24949
9113ea1f
UD
24950 * configure.in: Remove support for --experimental-malloc option, make
24951 it the default.
24952 * config.make.in: Likewise.
24953 * malloc/Makefile: Likewise.
24954
a4172181
AS
249552011-06-27 Andreas Schwab <schwab@redhat.com>
24956
24957 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24958 two-byte characters.
24959
78a7eee7
RM
249602011-06-27 Roland McGrath <roland@hack.frob.com>
24961
62bede13
RM
24962 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24963 AC_CACHE_CHECK invocation.
24964 * configure: Regenerated.
24965
78a7eee7
RM
24966 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24967
5ce33a62
UD
249682011-06-27 Ulrich Drepper <drepper@gmail.com>
24969
034807a9
UD
24970 [BZ #12350]
24971 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24972 bit from old_res_options.
24973
4902da17
UD
24974 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24975
5ce33a62
UD
24976 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24977 value type for setfct.
24978
c2344f56
L
249792011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24980
24981 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24982 __gettimeofday instead of gettimeofday.
24983
68468076
UD
249842011-06-26 Ulrich Drepper <drepper@gmail.com>
24985
24986 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24987
acb0d739
L
249882011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24989
24990 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24991
24992 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24993 info.
24994
8912479f
L
249952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24996
24997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24998 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24999 strcpy-sse2-unaligned strncpy-sse2-unaligned
25000 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25001 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25002 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25003 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25004 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25005 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25006 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25007 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25008 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25009 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25010 (STRCPY): Support SSE2 and SSSE3 versions.
25011
d5495a11
UD
250122011-06-24 Ulrich Drepper <drepper@gmail.com>
25013
25014 [BZ #12874]
25015 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25016 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25017 kernels which artificially limit size of requests.
25018
0b1cbaae
L
250192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25020
25021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25022 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25023 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25024 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25025 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25026 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25027 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25028 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25029 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25030 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25031 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25032 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25033 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25034 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25035 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25037 Enable unaligned load optimization for Intel Core i3, i5 and i7
25038 processors.
25039 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25040 Define.
25041 (index_Fast_Unaligned_Load): Define.
25042 (HAS_FAST_UNALIGNED_LOAD): Define.
25043
07f494a0
MP
250442011-06-23 Marek Polacek <mpolacek@redhat.com>
25045
25046 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25047
fa3fc0fe
UD
250482011-06-22 Ulrich Drepper <drepper@gmail.com>
25049
25050 [BZ #12907]
25051 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25052 until it is clear that the information is realy needed.
25053 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25054
e12df166
AS
250552011-06-22 Andreas Schwab <schwab@redhat.com>
25056
25057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25058
852eb34d
UD
250592011-06-22 Ulrich Drepper <drepper@gmail.com>
25060
84e2a551
UD
25061 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25062 /sys/devices/system/cpu/online if it is usable.
25063
852eb34d
UD
25064 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25065 reading the information from the /proc filesystem to once a second.
25066
6e502e19
UD
250672011-06-21 Andreas Jaeger <aj@suse.de>
25068
25069 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25070 NULL after inclusion of kernel headers.
25071
75d39ff2
UD
250722011-06-21 Ulrich Drepper <drepper@gmail.com>
25073
51f9aa6a
UD
25074 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25075 calls to internal_setent.
25076
c0244a9d
UD
25077 [BZ #12885]
25078 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25079 addresses using gethostbyname4_r ignore IPv4 addresses.
25080
c5e3c2ae
UD
25081 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25082 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25083
75d39ff2
UD
25084 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25085
42675c6f
DM
250862011-06-20 David S. Miller <davem@davemloft.net>
25087
25088 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25089 inclusions.
25090 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25091
25092 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25093 (elf_irel): Use it.
25094 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25095 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25096 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25097 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25098 * sysdeps/x86_64/dl-irel.h: Likewise.
25099
25100 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25101 * elf/dl-sym.c: Likewise.
25102
57912a71
UD
251032011-06-15 Ulrich Drepper <drepper@gmail.com>
25104
25105 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25106 need to dereference resplen2.
25107
ee22793d
AS
251082011-06-14 Andreas Schwab <schwab@redhat.com>
25109
25110 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25111
a9e836b0
UD
251122011-06-15 Ulrich Drepper <drepper@gmail.com>
25113
77fb9117
UD
25114 * Makeconfig: Define vardbdir and inst_vardbdir.
25115 * nss/Makefile: Add rules to install db-Makefile.
25116
40c1b22c
UD
25117 * nss/nss_db/db-XXX.c: Cleanup.
25118
9f2da732
UD
25119 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25120 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25121 GLIBC_PRIVATE.
25122 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25123 * nss/makedb.c: Implement -g option to specify that value strings
25124 are generated and should not be added to table iterated over for
25125 get*ent calls.
25126 * nss/nss_db/db-initgroups.c: New file.
25127
82e9a1f7
UD
25128 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25129 interface.
25130
c41af17e
UD
25131 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25132 (internal_getgrouplist): Adjust to name change.
25133 Update use_initgroups_entry if this is not the first call.
25134 * nss/databases.def: Add initgroups entry.
25135
a9e836b0
UD
25136 * nss/makedb.c (compute_tables): Check result of multiple hash table
25137 sizes to minimize maximum chain length.
25138
2666d441
UD
251392011-06-14 Ulrich Drepper <drepper@gmail.com>
25140
25141 * Versions.def: Add entry for libnss_db.
25142 * shlib-versions: Likewise.
25143 * nss/Makefile: Add rules to build libnss_db.
25144 * nss/Versions: Add libnss_db information. Organize libnss_files
25145 entries better.
25146 * nss/db-Makefile: Add gshadow support. Change rules for the new
25147 makedb progra. Some minor improvements to generate smaller files.
25148 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25149 here from...
25150 * nss/makedb.c: ...here.
25151 Improve database format to be smaller and require less memory at
25152 runtime.
25153 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25154 db anymore.
25155 * nss/nss_db/db-netgrp.c: Likewise.
25156 * nss/nss_db/db-open.c: Likewise.
25157 * nss/nss_files/flies-XXX.x: Adjust comments.
25158 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25159 * nss/nss_files/files-grp.c: Likewise.
25160 * nss/nss_files/files-hosts.c: Likewise.
25161 * nss/nss_files/files-network.c: Likewise.
25162 * nss/nss_files/files-proto.c: Likewise.
25163 * nss/nss_files/files-pwd.c: Likewise.
25164 * nss/nss_files/files-rpc.c: Likewise.
25165 * nss/nss_files/files-service.c: Likewise.
25166 * nss/nss_files/files-sgrp.c: Likewise.
25167 * nss/nss_files/files-spwd.c: Likewise.
25168 * nss/nss_db/db-alias.c: Removed.
25169 * nss/nss_db/dummy-db.h: Removed.
25170
9ee76b5a
UD
251712011-06-02 Ulrich Drepper <drepper@gmail.com>
25172
25173 * nss/makedb.c: Rewritten to not use database library.
25174 * nss/Makefile: Update to build new makedb program.
25175
c71ca1f8
AJ
251762011-06-14 Andreas Jaeger <aj@suse.de>
25177
25178 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25179 memset declaration.
25180
3154bfb8
UD
251812011-06-10 Andreas Schwab <schwab@redhat.com>
25182
25183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25184 tmpbuf.
25185
b350afab
RM
251862011-06-10 Roland McGrath <roland@hack.frob.com>
25187
decd4e50
RM
25188 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25189 * elf/Makefile ($(objpfx)ld.so): Likewise.
25190
5615eaf2
RM
25191 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25192 Don't list ld.so twice in dependencies.
25193
25194 * posix/bug-regex31.c: Include <stdlib.h>.
25195
25196 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25197
25198 * nis/nss_compat/compat-spwd.c
25199 (getspent_next_nss_netgr): Remove unused variable.
25200 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25201
25202 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25203 nonmembers" output to use the right array.
25204
25205 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25206
25207 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25208
25209 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25210 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25211 * catgets/gencat.c (read_input_file): Likewise.
25212 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25213
25214 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25215 variable definition inside #if's controlling its use.
25216
25217 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25218
25219 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25220
25221 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25222
25223 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25224 unreachable code.
25225
25226 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25227
b68e08db
RM
25228 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25229 * configure: Regenerated.
25230
b350afab
RM
25231 * Makerules: Revert last change.
25232 * elf/Makefile: Likewise.
25233
28368601
RM
252342011-06-09 Roland McGrath <roland@hack.frob.com>
25235
25236 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25237 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25238 (reloc-link): Likewise.
25239
11988f8f
UD
252402011-06-09 Ulrich Drepper <drepper@gmail.com>
25241
25242 * elf/Makefile: Add rules to build pldd.
25243 * elf/pldd.c: New file.
25244 * elf/pldd-xx.c: New file.
25245
e80fab37
UD
252462011-06-07 Ulrich Drepper <drepper@gmail.com>
25247
25248 * version.h: Update for 2.15 development version.
25249
9b849836
DM
252502011-06-07 David S. Miller <davem@davemloft.net>
25251
25252 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25253 ifuncs.
25254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25255 elf_machine_lazy_rel): Likewise.
25256 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25257 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25258 elf_machine_lazy_rel): Likewise.
25259 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25260 dl_hwcap via passed in argument.
25261 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25262 Likewise.
25263
5a31b283
AK
252642011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25265
25266 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25267
069e52f8
RM
252682011-06-06 Roland McGrath <roland@hack.frob.com>
25269
25270 [BZ #12849]
25271 * manual/fdl-1.1.texi: New file, verbatim from:
25272 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25273 * manual/lgpl-2.1.texi: New file, verbatim from:
25274 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25275 * manual/Makefile (licenses): New variable, list those new file names.
25276 (texis): Use it.
25277 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25278
25279 * manual/fdl.texi: File removed.
25280 * manual/lesser.texi: File removed.
25281 * manual/libc.texinfo (Copying, Documentation License):
25282 Use new @include file names, put @appendix directive before @include.
25283
f16846a5
JJ
252842011-06-04 Jakub Jelinek <jakub@redhat.com>
25285
25286 [BZ #12841]
25287 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25288 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25289 (mq_open): Add __NTH.
25290
3d29045b
L
252912011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25292
25293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25294 Assume Intel Core i3/i5/i7 processor if AVX is available.
25295
8c297311
UD
252962011-05-31 Ulrich Drepper <drepper@gmail.com>
25297
25298 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25299 typo.
25300
c8fc0c91
UD
253012011-05-31 Andreas Schwab <schwab@redhat.com>
25302
25303 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25304 memory. Use alloca_account. Fix memory leak when retrying.
25305
5b27a807
UD
253062011-05-31 Ulrich Drepper <drepper@gmail.com>
25307
356f8bc6
UD
25308 * version.h (RELEASE): Bump for 2.14 release.
25309 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25310
5b27a807
UD
25311 * config.make.in (RANLIB): Remove entry.
25312
01f16ab0
UD
253132011-05-30 Ulrich Drepper <drepper@gmail.com>
25314
41fce8bd
UD
25315 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25316 (libc.pot): Work around missing support for .ksh extension in xgettext.
25317
4769ae77
UD
25318 [BZ #12684]
25319 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25320 if both request failed.
25321 (send_dg): In case of server errors clear resplen or *resplen2.
25322
6b1e7d19
UD
25323 [BZ #12454]
25324 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25325 when there are multiple maps.
25326 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25327 (_dl_fini): Remove test here.
25328
01f16ab0
UD
25329 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25330
b1ebd700
UD
253312011-05-29 Ulrich Drepper <drepper@gmail.com>
25332
7ae22829
UD
25333 [BZ #12350]
25334 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25335 bit from old_res_options.
25336 (gaih_inet): Likewise.
25337
553149f6 25338 [BZ #11099]
18a84741 25339 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25340 as signed.
25341
652ffab1
UD
25342 * resolv/res_init.c (res_setoptions): Make the code more compact.
25343
16985fd0
UD
25344 [BZ #11558]
25345 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25346 set RES_USEVC.
25347
0464f746
UD
25348 [BZ #11634]
25349 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25350
7d17596c
UD
25351 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25352
cf6bbbd7
UD
25353 [BZ #11781]
25354 * malloc/malloc.h: Declare malloc hook variables as volatile.
25355
13f1ab36
UD
25356 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25357 in last patch.
25358
b1ebd700
UD
25359 [BZ #11799]
25360 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25361 raise in the comment.
80e2212d
UD
25362 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25363 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25364 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25365
ce67228d
UD
253662011-05-28 Ulrich Drepper <drepper@gmail.com>
25367
8887a920
UD
25368 [BZ #12811]
25369 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25370 grow the buffers more if it already has to be sufficient.
25371 (build_wcs_upper_buffer): Likewise.
25372 * posix/regexec.c (check_matching): Likewise.
25373 (clean_state_log_if_needed): Likewise.
25374 (extend_buffers): Don't enlarge buffers beyond size of the input
25375 buffer.
25376 Patches mostly by Emil Wojak <emil@wojak.eu>.
25377 * posix/bug-regex32.c: New file.
25378 * posix/Makefile (tests): Add bug-regex32.
25379
4f031072
UD
25380 * locale/findlocale.c (_nl_find_locale): Return right away if
25381 _nl_explode_name failed.
25382 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25383
d0478f0c
UD
25384 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25385
de81b246
UD
25386 * debug/xtrace.sh: Unify messages.
25387 * malloc/memusage.sh: Likewise.
25388
c738465a
UD
25389 [BZ #12813]
25390 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25391 time symbol from vDSO. Substitute with vsyscall if not available.
25392 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25393 __vdso_time.
25394
f1f929d7
UD
25395 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25396 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25397 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25398 Add sendmmsg and internal_sendmmsg.
25399 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25400 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25401 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25402
ce67228d
UD
25403 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25404 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25405 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25406
e57420c6
UD
254072011-05-27 Ulrich Drepper <drepper@gmail.com>
25408
a8509ca5
UD
25409 [BZ #12813]
25410 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25411 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25412 available.
25413 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25414 __vdso_getcpu.
25415
e57420c6
UD
25416 [BZ #12814]
25417 * iconvdata/Makefile (tests): Add bug-iconv9.
25418 * iconvdata/bug-iconv9.c: New file.
25419
4d07db15
AS
254202011-05-27 Andreas Schwab <schwab@redhat.com>
25421
25422 [BZ #12814]
25423 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25424
ea486f69
JJ
254252011-05-25 Jakub Jelinek <jakub@redhat.com>
25426
25427 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25428 (struct user_regs_struct): Change intcs field back to cs.
25429
6f038433
UD
254302011-05-25 Ulrich Drepper <drepper@gmail.com>
25431
25432 * po/ja.po: Update from translation team.
25433
67f86a25
UD
254342011-05-23 Ulrich Drepper <drepper@gmail.com>
25435
25436 [BZ #12795]
25437 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25438 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25439
def7fbd6
AS
254402011-05-20 Andreas Schwab <schwab@redhat.com>
25441
25442 * stdlib/longlong.h: Update from GCC.
25443
f50ef8f1
AS
254442011-05-23 Andreas Schwab <schwab@redhat.com>
25445
25446 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25447 parameter name.
25448 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25449 Add parameter name.
25450 (__sysconf): Pass it down.
25451
de7ce8f1
UD
254522011-05-22 Ulrich Drepper <drepper@gmail.com>
25453
f2962a71
UD
25454 [BZ #12671]
25455 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25456 some situations.
25457 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25458 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25459 add in in __libc_use_alloca calls. Adjust callers.
25460 (glob): Use malloc in some situations.
25461
de7ce8f1
UD
25462 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25463 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25464 pltexit.
25465
aec84f53
UD
254662011-05-21 Ulrich Drepper <drepper@gmail.com>
25467
05bb4a68
UD
25468 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25469 and CLOCK_BOOTTIME_ALARM.
25470
7ea72f99
UD
25471 [BZ #12782]
25472 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25473 is returned.
25474
7e4afad5
UD
25475 * string/_strerror.c (__strerror_r): Print negative errors as signed
25476 numbers.
25477
8e211fec
UD
25478 [BZ #12777]
25479 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25480 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25481 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25482
f7d82dc9
UD
25483 * configure.in: Fix typo in redirection and correct removal of test
25484 files in two cases.
25485
cc9e536d
UD
25486 [BZ #12788]
25487 * locale/setlocale.c (new_composite_name): Fix test to check for
25488 identical name of all categories.
25489
aec84f53
UD
25490 [BZ #12792]
25491 * libio/filedoalloc.c (local_isatty): New function.
25492 (_IO_file_doallocate): Use local_isatty.
25493 * stdio-common/perror.c (perror): In case a new stream is used
25494 forward the stream error.
25495 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25496 error flag.
25497
78e64fdc
RT
254982011-05-20 Ulrich Drepper <drepper@gmail.com>
25499
34a9094f
UD
25500 [BZ #11869]
25501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25502 alloca.
25503 * include/alloca.h (extend_alloca_account): Define.
25504
78e64fdc
RT
25505 [BZ #11857]
25506 * posix/regex.h: Fix comments with documentation of user-accessible
25507 fields after compilation and describe correct free'ing of pattern
25508 after re_compile_pattern.
25509 Patch by Reuben Thomas <rrt@sc3d.org>.
25510
457bddfc
RA
255112011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25512
25513 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25514 and -mno-altivec to prevent the compiler from using Altivec and/or
25515 VSX instructions when the corresponding registers are not available.
25516
a4527b51
AS
255172011-05-19 Andreas Schwab <schwab@redhat.com>
25518
25519 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25520
ed690b2f
UD
255212011-05-19 Ulrich Drepper <drepper@gmail.com>
25522
25523 * libio/freopen.c (freopen): Use __dup2, not dup2.
25524 * libio/freopen64.c (freopen64): Likewise.
25525
8db73634
L
255262011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25527
25528 [BZ #12775]
25529 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25530 * math/Makefile (tests): Add test-powl.
25531 (CFLAGS-test-powl.c): Define.
25532 * math/test-powl.c: New file.
25533
0a197a9d
L
255342011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25535
25536 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25537
ee30c380
UD
255382011-05-17 Ulrich Drepper <drepper@gmail.com>
25539
25540 [BZ #11837]
25541 * iconvdata/gb18030.c: Update to GB18020-2005.
25542
6ce75379
UD
255432011-05-16 Ulrich Drepper <drepper@gmail.com>
25544
a4b89fd8
AR
25545 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25546 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25547 Patch by Aharon Robbins <arnold@skeeve.com>.
25548
ea389b12
UD
25549 [BZ #11892]
25550 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25551 on the stack.
25552
68a3f91f
UD
25553 [BZ #11895]
25554 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25555 through underflows.
25556
15cc7dd1
UD
25557 [BZ #12766]
25558 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25559 point to strings before performing equality test for error_one_per_line
25560 mode.
25561
f3799213
UD
25562 [BZ #11697]
25563 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25564
d79a9c94
UD
25565 [BZ #11820]
25566 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25567 (struct user_fpregs_struct): Avoid __uint*_t types.
25568
56e5eb46
UD
25569 [BZ #6420]
25570 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25571 symbol info. Use it instead of calling _dl_addr locally.
25572 (lock_and_info): New function.
25573 (tr_freehook): Call lock_and_info and pass symbol info as additional
25574 parameter to tr_where.
25575 (tr_mallochook): Likewise.
25576 (tr_reallochook): Likewise.
25577 (tr_memalignhook): Likewise.
25578
6ce75379
UD
25579 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25580 used and couldn't be at all thread-safe.
25581
f8a3b5bf
UD
255822011-05-15 Ulrich Drepper <drepper@gmail.com>
25583
94b7cc37
UD
25584 * libio/freopen.c (freopen): Don't close old file descriptor
25585 before the new one is opened. Instead dup the new file descriptor
25586 to the old one after the new stream is created.
25587 * libio/freopen64.c (freopen64): Likewise.
25588 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25589 * libio/fileops.c (_IO_new_file_close_it): Handle new
25590 _IO_FLAGS2_NOCLOSE flag.
25591 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25592 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25593 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25594 _IO_FLAGS2_NOCLOSE flag.
25595 * include/unistd.h: Add hidden_proto for dup3.
25596 Define __have_dup3.
25597 * io/dup3.c: Define hidden symbol.
25598 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25599
bd25564e
UD
25600 [BZ #7101]
25601 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25602 when an incomplete long option is used.
25603 * posix/tst-getopt_long1.c: New file.
25604 * posix/Makefile (tests): Add tst-getopt_long1.
25605
c84cfef4
UD
25606 [BZ #10138]
25607 * scripts/config.guess: Update from autoconf-2.68.
25608 * scripts/config.sub: Likewise.
25609
3b85df27
UD
25610 [BZ #10157]
25611 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25612 tests into ...
25613 (has_cpuclock): ...this. New function.
25614 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25615 macro here based on has_cpuclock code.
25616
15a856b1
UD
25617 [BZ #10149]
25618 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25619 First byte (not low byte) is now always NUL.
25620 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25621
05f399e6
UD
25622 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25623 Use non-cancelable interfaces.
25624
10a52685 25625 [BZ #9809]
94ecc67d
UD
25626 * locale/iso-639.def: Add entry for Sorani.
25627
f8a3b5bf
UD
25628 [BZ #11901]
25629 * include/stdlib.h: Move include protection to the right place.
25630 Define abort_msg_s. Declare __abort_msg with it.
25631 * stdlib/abort.c (__abort_msg): Adjust type.
25632 * assert/assert.c (__assert_fail_base): New function. Majority
25633 of code from __assert_fail. Allocate memory for __abort_msg with
25634 mmap.
25635 (__assert_fail): Now call __assert_fail_base.
25636 * assert/assert-perr.c: Remove bulk of implementation. Use
25637 __assert_fail_base.
25638 * include/assert.hL Declare __assert_fail_base.
25639 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25640 mmap.
25641 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25642
1af4e298
UD
256432011-05-14 Ulrich Drepper <drepper@gmail.com>
25644
f8a3b5bf 25645 [BZ #11952]
d26dfc60
MG
25646 [BZ #12453]
25647 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25648 until all modules are registered in the DTV.
25649 * elf/Makefile: Add rules to build and run tst-tls19.
25650 * elf/tst-tls19.c: New file.
25651 * elf/tst-tls19mod1.c: New file.
25652 * elf/tst-tls19mod2.c: New file.
25653 * elf/tst-tls19mod3.c: New file.
25654 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25655
2fc54d6f
UD
25656 [BZ #12083]
25657 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25658 correctly.
25659
98d76b46
UD
25660 [BZ #12601]
25661 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25662 two-byte sequence errors.
25663 * iconvdata/Makefile (tests): Add bug-iconv8.
25664 * iconvdata/bug-iconv8.c: New file.
25665
da3c19ef
UD
25666 [BZ #12626]
25667 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25668 buf2 definition.
25669
ca408c15
UD
25670 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25671
d6f67f7d
UD
25672 [BZ #12432]
25673 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25674 (dummy_getcfa): New function.
25675 (init): Get _Unwind_GetCFA address, use dummy if not found.
25676 (backtrace_helper): In recursion check, also check whether CFA changes.
25677 (__backtrace): Completely initialize arg.
25678
1af4e298 25679 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25680 storing incomplete byte sequence in state object. Avoid testing for
25681 guaranteed too small input if we know there is enough data available.
1af4e298 25682
da62f81b
AS
256832011-05-11 Andreas Schwab <schwab@redhat.com>
25684
25685 * Makeconfig (+link-pie): Indent.
25686 * Rules (binaries-pie): Define if $(have-fpie) and
25687 $(build-shared).
25688 (binaries-shared): Also filter out $(binaries-pie).
25689 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25690 * nscd/Makefile (others-pie): Add nscd.
25691 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25692 ($(objpfx)nscd): Remove command override.
25693 * login/Makefile (others-pie): Add pt_chown.
25694 ($(objpfx)pt_chown): Remove command override.
25695 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25696 remove command overrides.
25697
fcabc0f8
UD
256982011-05-13 Ulrich Drepper <drepper@gmail.com>
25699
20030ae6
UD
25700 * libio/tst_putwc.c: Fix error messages.
25701
fcabc0f8
UD
25702 [BZ #12724]
25703 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25704 currently writing and seek to current position when not.
25705 * libio/Makefile (tests): Add bug-fclose1.
25706 * libio/bug-fclose1.c: New file.
25707
320a5dc0
PB
257082011-05-12 Ulrich Drepper <drepper@gmail.com>
25709
25710 [BZ #12511]
25711 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25712 don't set DF_1_NODELETE here.
25713 (do_lookup_x): When entering new entry test for copy relocation
25714 and if necessary set DF_1_NODELETE flag.
25715 * elf/tst-unique4.cc: New file.
25716 * elf/tst-unique4.h: New file.
25717 * elf/tst-unique4lib.cc: New file.
25718 * elf/Makefile: Add rules to build and run tst-unique4.
25719 Patch by Piotr Bury <pbury@goahead.com>.
25720
22836f52
UD
257212011-05-11 Ulrich Drepper <drepper@gmail.com>
25722
f574184a
UD
25723 [BZ #12052]
25724 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25725
e1fb097f
UD
25726 [BZ #12625]
25727 * misc/mntent_r.c (addmntent): Flush the stream after the output
25728
22836f52
UD
25729 [BZ #12393]
25730 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25731 (is_trusted_path_normalize): Skip initial colon. Append slash
25732 to empty buffer. Duplicate is_trusted_path code but allow
25733 constructed patch to be prefix.
25734 (is_dst): Allow $ORIGIN followed by /.
25735 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25736 Correct testing of result of is_trusted_path_normalize
25737 (decompose_rpath): Fix warning.
25738
7b3b0b2a
UD
257392011-05-10 Ulrich Drepper <drepper@gmail.com>
25740
25741 [BZ #11257]
25742 * grp/initgroups.c (internal_getgrouplist): When we found the service
25743 list through the initgroups entry in nsswitch.conf do not always
25744 continue on a successful lookup. Don't always use the
eac80ce2 25745 __nss_group_database value if it is set.
7b3b0b2a
UD
25746 * nss/nsswitch.conf (initgroups): Change action for successful db
25747 lookup to continue for compatibility.
25748
2a81eaa5
UD
257492011-05-09 Ulrich Drepper <drepper@gmail.com>
25750
be97a69e
UD
25751 [BZ #11532]
25752 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25753 and CP774 modules.
25754 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25755 and CP774 modules.
25756 * iconvdata/tst-tables.sh: Likewise.
25757 * iconvdata/cp770.c: New file.
25758 * iconvdata/cp771.c: New file.
25759 * iconvdata/cp772.c: New file.
25760 * iconvdata/cp773.c: New file.
25761 * iconvdata/cp774.c: New file.
25762 * iconvdata/testdata/CP770: New file.
25763 * iconvdata/testdata/CP770..UTF8: New file.
25764 * iconvdata/testdata/CP771: New file.
25765 * iconvdata/testdata/CP771..UTF8: New file.
25766 * iconvdata/testdata/CP772: New file.
25767 * iconvdata/testdata/CP772..UTF8: New file.
25768 * iconvdata/testdata/CP773: New file.
25769 * iconvdata/testdata/CP773..UTF8: New file.
25770 * iconvdata/testdata/CP774: New file.
25771 * iconvdata/testdata/CP774..UTF8: New file.
25772
25773 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25774 END CHARMAP line.
25775 * iconvdata/gen-8bit-gap.sh: Likewise.
25776 * iconvdata/gen-8bit.sh: Likewise.
25777
c1e9e399
UD
25778 * locale/iso-639.def: Add ary entry.
25779
24c55fb3 25780 [BZ #11258]
96b4b1b0
UD
25781 * locale/C-translit.h.in: Add U20A1 transliteration.
25782
bdc2f971
KB
25783 [BZ #12178]
25784 * locale/iso-639.def: Add wae entry.
25785 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25786
2952b117
UD
25787 [BZ #12545]
25788 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25789 for n.
25790
2a81eaa5
UD
25791 [BZ #12711]
25792 * locale/C-translit.h.in: Add entry for U20B9.
25793 Patch by pravin.d.s@gmail.com.
25794
28377d1b
UD
257952011-05-08 Ulrich Drepper <drepper@gmail.com>
25796
7fb90fb8
UD
25797 [BZ #12713]
25798 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25799 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25800 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25801 in rtld. Use *stat64.
7fb90fb8 25802 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25803 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25804 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25805 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25806 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25807 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25808 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25809 __fstatat64 macros.
7fb90fb8
UD
25810 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25811 * dirent/rewinddir.c: Add libc_hidden_def.
25812 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25813 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25814
28377d1b
UD
25815 * include/dirent.h (__alloc_dir): Add flags parameter.
25816 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25817 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25818 __alloc_dir.
25819 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25820 from fdopendir if O_CLOEXEC is already set.
25821
66bdbaa4
AM
258222011-03-15 Alan Modra <amodra@gmail.com>
25823
25824 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25825 l_tls_firstbyte_offset non-zero. Save padding offset in
25826 l_tls_firstbyte_offset for later use.
25827 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25828 freeing static tls block.
25829
95721191
JN
258302011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25831
25832 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25833 where #ifdef was intended. The intent is to prevent ARG_MAX from
25834 being defined by the kernel headers.
25835
f87dfb1f
UD
258362011-05-07 Ulrich Drepper <drepper@gmail.com>
25837
25838 [BZ #12734]
25839 * resolv/resolv.h: Define RES_NOTLDQUERY.
25840 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25841 no-tld-query and set RES_NOTLDQUERY.
25842 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25843 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25844 modern BIND to search name as TLD unless forbidden.
25845
47c3cd7a
UD
258462011-05-07 Petr Baudis <pasky@suse.cz>
25847 Ulrich Drepper <drepper@gmail.com>
25848
25849 [BZ #12393]
25850 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25851 (is_trusted_path): ...to here.
c1e9ea35 25852 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25853 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25854 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25855
8a35c912
PP
258562011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25857
25858 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25859 __BEGIN/__END_DECLS.
25860
acd41f47
UD
258612011-05-06 Ulrich Drepper <drepper@gmail.com>
25862
25863 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25864 NSS_STATUS_NOTFOUND if no record was found.
25865
597df647
AS
258662011-05-05 Andreas Schwab <schwab@redhat.com>
25867
25868 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25869 (headers-not-in-tirpc): Remove rpc/netdb.h
25870 * resolv/netdb.h: Revert last change.
25871
b9af1301
PP
258722011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25873
25874 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25875 circular dependency between libgcc.a and libc.a.
25876
4e34d5f5
AS
258772011-05-05 Andreas Schwab <schwab@redhat.com>
25878
25879 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25880 * nis/Makefile: Don't install rpcsvc/*.
25881 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25882 instead of <rpc/types.h>.
25883 (MAXHOSTNAMELEN): Define.
25884
00ee369c
AS
258852011-05-03 Andreas Schwab <schwab@redhat.com>
25886
25887 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25888
0b592a30
MB
258892011-04-28 Maciej Babinski <mbabinski@google.com>
25890
25891 [BZ #12714]
25892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25893 gethostbyname4_r when IPv6 results are possible.
25894
6e04cbbe
UD
258952011-05-02 Ulrich Drepper <drepper@gmail.com>
25896
25897 [BZ #12723]
25898 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25899 _PC_PIPE_BUF handling.
25900
e4ecafe0
BH
259012011-04-30 Bruno Haible <bruno@clisp.org>
25902
25903 [BZ #12717]
25904 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25905 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25906 to 'int'.
25907 * inet/getnameinfo.c (getnameinfo): Likewise.
25908
125ee683
UD
259092011-04-29 Ulrich Drepper <drepper@gmail.com>
25910
25911 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25912 to groups setting in database lookup.
25913 * nss/nsswitch.conf: Add initgroups entry.
25914
b722481a
EB
259152011-04-22 Ulrich Drepper <drepper@gmail.com>
25916
25917 [BZ #12685]
25918 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25919 mode string.
25920 Patch by Eric Blake <eblake@redhat.com>.
25921
4df46dbd
L
259222011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25923
25924 * sunrpc/Makefile (need-export-routines): Add svc_run.
25925 (routines): Remove svc_run.
25926 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25927 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25928 * sunrpc/svc_run.c (svc_run): Likewise.
25929 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25930
e84142d2
UD
259312011-04-21 Ulrich Drepper <drepper@gmail.com>
25932
25933 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25934 problem in reallocation in last patch.
25935
877175d8
UD
259362011-04-20 Ulrich Drepper <drepper@gmail.com>
25937
25938 * sunrpc/Makefile: Move inclusion of Rules.
25939
ab8eed78
UD
259402011-04-19 Ulrich Drepper <drepper@gmail.com>
25941
25942 * nss/nss_files/files-initgroups.c: New file.
25943 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25944 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25945 _nss_files_initgroups_dyn.
25946
e3d8f584
RS
259472011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25948
25949 * elf/elf.h (R_ARM_IRELATIVE): Define.
25950
af190f45
UD
259512011-04-19 Ulrich Drepper <drepper@gmail.com>
25952
25953 * po/ru.po: Update from translation team.
25954
53cf59ef
UD
259552011-04-17 Ulrich Drepper <drepper@gmail.com>
25956
25957 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25958 dependencies.
25959
4c559bcd
MF
259602011-02-06 Mike Frysinger <vapier@gentoo.org>
25961
25962 [BZ #12653]
25963 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25964 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25965 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25966 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25967 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25968
4420675c
AS
259692011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25970
25971 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25972 differing bytes.
25973 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25974 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25975 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25976
75ea32ab
UD
259772011-04-17 Ulrich Drepper <drepper@gmail.com>
25978
25979 [BZ #12420]
25980 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25981 storing it.
25982 * stdlib/bug-getcontext.c: New file.
25983 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25984
27390476
AK
259852011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25986
25987 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25988 instructions into .machine "z9-109".
25989 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25990 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25991
10442705
AK
259922011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25993
25994 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25995 between environment variables and auxiliary vector.
25996
7b57bfe5
UD
259972011-04-16 Ulrich Drepper <drepper@gmail.com>
25998
25999 * Makefile: Add rules to build linkobj/libc.so.
26000 * include/libc-symbols.h: Define libc_hidden_nolink.
26001 * include/rpc/auth.h: Mark functions which are to be hidden.
26002 * include/rpc/auth_des.h: Likewise.
26003 * include/rpc/auth_unix.h: Likewise.
26004 * include/rpc/clnt.h: Likewise.
26005 * include/rpc/des_crypt.h: Likewise.
26006 * include/rpc/key_prot.h: Likewise.
26007 * include/rpc/pmap_clnt.h: Likewise.
26008 * include/rpc/pmap_prot.h: Likewise.
26009 * include/rpc/pmap_rmt.h: Likewise.
26010 * include/rpc/rpc_msg.h: Likewise.
26011 * include/rpc/svc.h: Likewise.
26012 * include/rpc/svc_auth.h: Likewise.
26013 * include/rpc/xdr.h: Likewise.
26014 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26015 * nss/Makefile: Likewise.
26016 * sunrpc/Makefile: Don't install headers. Build library with normal
26017 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26018 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26019 for the compat linking library. Remove use of INTDEF/INTUSE.
26020 * sunrpc/auth_none.c: Likewise.
26021 * sunrpc/auth_unix.c: Likewise.
26022 * sunrpc/authdes_prot.c: Likewise.
26023 * sunrpc/authuxprot.c: Likewise.
26024 * sunrpc/clnt_gen.c: Likewise.
26025 * sunrpc/clnt_perr.c: Likewise.
26026 * sunrpc/clnt_raw.c: Likewise.
26027 * sunrpc/clnt_simp.c: Likewise.
26028 * sunrpc/clnt_tcp.c: Likewise.
26029 * sunrpc/clnt_udp.c: Likewise.
26030 * sunrpc/clnt_unix.c: Likewise.
26031 * sunrpc/des_crypt.c: Likewise.
26032 * sunrpc/des_soft.c: Likewise.
26033 * sunrpc/get_myaddr.c: Likewise.
26034 * sunrpc/key_call.c: Likewise.
26035 * sunrpc/key_prot.c: Likewise.
26036 * sunrpc/netname.c: Likewise.
26037 * sunrpc/pm_getmaps.c: Likewise.
26038 * sunrpc/pm_getport.c: Likewise.
26039 * sunrpc/pmap_clnt.c: Likewise.
26040 * sunrpc/pmap_prot.c: Likewise.
26041 * sunrpc/pmap_prot2.c: Likewise.
26042 * sunrpc/pmap_rmt.c: Likewise.
26043 * sunrpc/publickey.c: Likewise.
26044 * sunrpc/rpc_cmsg.c: Likewise.
26045 * sunrpc/rpc_common.c: Likewise.
26046 * sunrpc/rpc_dtable.c: Likewise.
26047 * sunrpc/rpc_prot.c: Likewise.
26048 * sunrpc/rpc_thread.c: Likewise.
26049 * sunrpc/rtime.c: Likewise.
26050 * sunrpc/svc.c: Likewise.
26051 * sunrpc/svc_auth.c: Likewise.
26052 * sunrpc/svc_authux.c: Likewise.
26053 * sunrpc/svc_raw.c: Likewise.
26054 * sunrpc/svc_run.c: Likewise.
26055 * sunrpc/svc_simple.c: Likewise.
26056 * sunrpc/svc_tcp.c: Likewise.
26057 * sunrpc/svc_udp.c: Likewise.
26058 * sunrpc/svc_unix.c: Likewise.
26059 * sunrpc/svcauth_des.c: Likewise.
26060 * sunrpc/xcrypt.c: Likewise.
26061 * sunrpc/xdr.c: Likewise.
26062 * sunrpc/xdr_array.c: Likewise.
26063 * sunrpc/xdr_float.c: Likewise.
26064 * sunrpc/xdr_intXX_t.c: Likewise.
26065 * sunrpc/xdr_mem.c: Likewise.
26066 * sunrpc/xdr_rec.c: Likewise.
26067 * sunrpc/xdr_ref.c: Likewise.
26068 * sunrpc/xdr_sizeof.c: Likewise.
26069 * sunrpc/xdr_stdio.c: Likewise.
26070
e6c61494
UD
260712011-04-10 Ulrich Drepper <drepper@gmail.com>
26072
26073 [BZ #12650]
26074 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26075 * sysdeps/ia64/dl-tls.h: Likewise.
26076 * sysdeps/powerpc/dl-tls.h: Likewise.
26077 * sysdeps/s390/dl-tls.h: Likewise.
26078 * sysdeps/sh/dl-tls.h: Likewise.
26079 * sysdeps/sparc/dl-tls.h: Likewise.
26080 * sysdeps/x86_64/dl-tls.h: Likewise.
26081 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26082
34fe483e
AS
260832011-03-14 Andreas Schwab <schwab@redhat.com>
26084
26085 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26086 rpath element also skip the following colon.
26087 (expand_dynamic_string_token): Add is_path parameter and pass
26088 down to DL_DST_REQUIRED and _dl_dst_substitute.
26089 (decompose_rpath): Call expand_dynamic_string_token with
26090 non-zero is_path. Ignore empty rpaths.
26091 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26092 with zero is_path.
26093
f12a32e6
AS
260942011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26095
26096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26097 Make cancelable.
26098
38a7d692
UD
260992011-04-09 Ulrich Drepper <drepper@gmail.com>
26100
26101 [BZ #12655]
26102 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26103 Patch by Filipe David Manana <fdmanana@apache.org>.
26104
e451d22b
AS
261052011-04-07 Andreas Schwab <schwab@redhat.com>
26106
26107 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26108 Maintain aligned stack.
26109 (CHECK_RSP): Remove unused macro.
26110
dedc7c7b
UD
261112011-04-03 Ulrich Drepper <drepper@gmail.com>
26112
26113 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26114 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26115
94521213
UD
261162011-04-02 Ulrich Drepper <drepper@gmail.com>
26117
26118 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26119
8cb700c0 26120 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26121
0354e355
L
261222011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26123
26124 [BZ #12518]
26125 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26126 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26127 * sysdeps/x86_64/memmove.c: New file.
26128 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26129 (memcpy): Renamed to ...
26130 (__new_memcpy): This.
26131 (memcpy): Provide GLIBC_2_14 memcpy.
26132 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26133 (memcpy): Provide GLIBC_2_2_5 memcpy.
26134
8593482f
UD
261352011-04-01 Ulrich Drepper <drepper@gmail.com>
26136
26137 [BZ #12631]
26138 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26139
81a5726b
AS
261402011-03-30 Andreas Schwab <schwab@redhat.com>
26141
26142 * misc/syncfs.c: New file.
26143 * misc/Makefile (routines): Add syncfs.
26144 * posix/unistd.h: Declare syncfs.
26145 * sysdeps/unix/syscalls.list: Add syncfs.
26146
00e5419f
AS
261472011-04-01 Andreas Schwab <schwab@redhat.com>
26148
26149 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26150 open_by_handle_at.
26151 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26152 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26153 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26154 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26156 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26157 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26158
748876bf
UD
261592011-04-01 Ulrich Drepper <drepper@gmail.com>
26160
658e451d
UD
26161 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26162 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26163 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26164 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26165 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26167 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26168
748876bf
UD
26169 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26170 sync_file_range.c with -fexceptions.
26171 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26172 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26173 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26174 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26175 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26176 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26177 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26178 sync_file_range as cancellation point
26179 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26180 now a wrapper around __call_sync_file_range with cancellation handling.
26181 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26182 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26183 function name to __call_sync_file_range.
26184 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26185 Add call_sync_file_range.
748876bf 26186
6e63d5e1
AS
261872011-04-01 Andreas Schwab <schwab@redhat.com>
26188
26189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26190 bits/timex.h.
6e63d5e1 26191
46998f74
UD
261922011-04-01 Ulrich Drepper <drepper@gmail.com>
26193
4c1423ed
UD
26194 * iconv/iconv.h: Fix typo in comment.
26195 * io/fcntl.h: Likewise.
26196 * libio/stdio.h: Likewise.
26197 * posix/spawn.h: Likewise.
26198 * posix/unistd.h: Likewise.
26199 * stdlib/stdlib.h: Likewise.
26200 * time/time.h: Likewise.
26201 * wcsmbs/wchar.h: Likewise.
26202
158648c0
UD
26203 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26204 open_by_handle): Add.
26205 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26206 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26207 Augment a few comments.
26208 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26209 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26210 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26211 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26212 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26213 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26214 open_by_handle.
26215
46998f74
UD
26216 * io/fcntl.h (AT_EMPTY_PATH): Define.
26217
83fe108b
UD
262182011-03-30 Ulrich Drepper <drepper@gmail.com>
26219
26220 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26221 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26222 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26223 to...
26224 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26225 * Versions.def: Add GLIBC_2.14.
26226 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26227 Export.
83fe108b 26228
bb242059
UD
262292011-03-22 Ulrich Drepper <drepper@gmail.com>
26230
26231 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26232 round counter.
26233 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26234
c97a1282
L
262352011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26236
26237 [BZ #12597]
26238 * string/test-strncmp.c (do_page_test): New function.
26239 (check2): Likewise.
26240 (test_main): Call check2.
26241 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26242
2a115601
UD
262432011-03-20 Ulrich Drepper <drepper@gmail.com>
26244
26245 [BZ #12587]
26246 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26247 Handle cache information in CPU leaf 4.
26248 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26249
8126d904
UD
262502011-03-18 Ulrich Drepper <drepper@gmail.com>
26251
042c49c6 26252 [BZ #12583]
8126d904
UD
26253 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26254 character representation.
26255 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26256
ccfe366e
RA
262572011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26258
26259 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26260 END(__isnan) to END(__isnanf) to match function entry point/label
26261 EALIGN(__isnanf,...).
26262
c6e13027
JJ
262632011-03-10 Jakub Jelinek <jakub@redhat.com>
26264
26265 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26266
33f85a3f
UD
262672011-03-10 Ulrich Drepper <drepper@gmail.com>
26268
028478fa
UD
26269 [BZ #12510]
26270 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26271 copy from the symbol referenced in the relocation to initialize the
26272 used variable.
26273 Patch by Piotr Bury <pbury@goahead.com>.
26274 * elf/Makefile: Add rules to build and tst-unique3.
26275 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26276 * elf/tst-unique3.cc: New file.
26277 * elf/tst-unique3.h: New file.
26278 * elf/tst-unique3lib.cc: New file.
26279 * elf/tst-unique3lib2.cc: New file.
26280
33f85a3f
UD
26281 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26282
03592fc7
MF
262832011-03-10 Mike Frysinger <vapier@gentoo.org>
26284
26285 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26286 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26287 to _start.
03592fc7 26288
6a5ee102
UD
262892011-03-06 Ulrich Drepper <drepper@gmail.com>
26290
26291 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26292 to-be-loaded object along a path to loader is ld.so.
26293
7e4ba49c
HJ
262942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26295 Ulrich Drepper <drepper@gmail.com>
26296
26297 * sysdeps/x86_64/memset.S: After aligning destination, code
26298 branches to different locations depending on the value of
26299 misalignment, when multiarch is enabled. Fix this.
26300
263012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26302
26303 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26304 Set _x86_64_preferred_memory_instruction for AMD processsors.
26305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26306 Set bit_Prefer_SSE_for_memop for AMD processors.
26307
13a804de
UD
263082011-03-04 Ulrich Drepper <drepper@gmail.com>
26309
26310 * libio/fmemopen.c (fmemopen): Optimize a bit.
26311
9d25c392
AS
263122011-03-03 Andreas Schwab <schwab@redhat.com>
26313
26314 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26315
a5543c6a
RM
263162011-03-03 Roland McGrath <roland@redhat.com>
26317
26318 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26319
012d35f7
DM
263202011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26321
7e4ba49c 26322 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26323 __bzero_ultra1 instead of __memset_ultra1.
26324
4bff6e01
AS
263252011-02-23 Andreas Schwab <schwab@redhat.com>
26326 Ulrich Drepper <drepper@gmail.com>
26327
26328 [BZ #12509]
26329 * include/link.h (struct link_map): Add l_orig_initfini.
26330 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26331 returning unsuccessfully.
26332 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26333 close of a file loaded at startup, restore the original l_initfini
26334 list.
26335 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26336 list, store the pointer.
26337 * elf/Makefile ($(objpfx)noload-mem): New rule.
26338 (noload-ENV): Define.
26339 (tests): Add $(objpfx)noload-mem.
26340 * elf/noload.c: Include <memcheck.h>.
26341 (main): Call mtrace. Close all opened handles.
26342
f2092faf
AS
263432011-02-17 Andreas Schwab <schwab@redhat.com>
26344
26345 [BZ #12454]
26346 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26347 dependencies are missing.
26348
6c8a2e88
ST
263492011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26350
f2092faf 26351 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26352 Hurd needs munmap.
26353 * sysdeps/mach/hurd/ifreq.h: New file.
26354
84a42118
PB
263552011-01-27 Petr Baudis <pasky@suse.cz>
26356 Ulrich Drepper <drepper@gmail.com>
26357
071f805e 26358 [BZ 12445]#
84a42118
PB
26359 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26360 to extend_alloca().
26361 * stdio-common/bug23.c: New file.
26362 * stdio-common/Makefile (tests): Add bug23.
26363
e23fe25b
AS
263642010-09-28 Andreas Schwab <schwab@redhat.com>
26365 Ulrich Drepper <drepper@gmail.com>
26366
26367 [BZ #12489]
26368 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26369 before performing relro protection. At old place add assertion
26370 to make sure nothing changed.
26371
d3f02e10
NS
263722011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26373 Glauber de Oliveira Costa <glommer@gmail.com>
26374
26375 * elf/elf.h: Add new ARM TLS relocs.
26376
d55fd7a5
RA
263772011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26378
26379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26380 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26381 cast from r3.
26382 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26383 'tests' variable.
26384 * sysdeps/wordsize-64/tst-writev.c: New file.
26385
2206397e
RA
263862011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26387
26388 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26389 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26390 insns in _dl_start to prevent a TOC reference before relocs are
26391 resolved.
26392
e9433893
UD
263932011-02-15 Ulrich Drepper <drepper@gmail.com>
26394
26395 [BZ #12469]
26396 * Makeconfig: Remove RANLIB definition.
26397 * Makerules: Don't use RANLIB.
26398 * aclocal.m4: Remove ranlib test.
26399 * configure.in: No need to check for ranlib.
26400 * elf/rtld-Rules: Don't use RANLIB.
26401
f75286c6
ST
264022011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26403
8e31c82d
ST
26404 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26405 protection macro.
26406 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26407 inclusion protection macro.
26408
f75286c6
ST
26409 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26410 SIGRTMIN and SIGRTMAX and print information in that case only when
26411 SIGRTMIN is defined.
26412
c1d0e639
JJ
264132011-02-11 Jakub Jelinek <jakub@redhat.com>
26414
26415 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26416 arginfo fn returning -1.
26417
26418 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26419 and thousands string is zero terminated.
26420
edf9294e
AS
264212011-02-03 Andreas Schwab <schwab@redhat.com>
26422
26423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26424 sysdeps/unix/sysv/linux/bits/socket.h.
26425
2b7e92df
ST
264262011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26427
edf9294e
AS
26428 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26429 (__CPU_COUNT): Remove old macros.
26430 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26431 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26432 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26433 (__sched_cpualloc, __sched_cpufree): Add declarations.
26434
a4c7ea7b
UD
264352011-02-05 Ulrich Drepper <drepper@gmail.com>
26436
26437 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26438 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26439 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26440 (readdhstai): Return value of addhstaiX call.
26441 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26442 (addgrbyX): Return value returned by cache_addgr.
26443 (readdgrbyname): Return value returned by addgrbyX.
26444 (readdgrbygid): Likewise.
26445 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26446 (addpwbyX): Return value returned by cache_addpw.
26447 (readdpwbyname): Return value returned by addhstbyX.
26448 (readdpwbyuid): Likewise.
26449 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26450 (addservbyX): Return value returned by cache_addserv.
26451 (readdservbyname): Return value returned by addservbyX:
26452 (readdservbyport): Likewise.
26453 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26454 (addhstbyX): Return value returned by cache_addhst.
26455 (readdhstbyname): Return value returned by addhstbyX.
26456 (readdhstbyaddr): Likewise.
26457 (readdhstbynamev6): Likewise.
26458 (readdhstbyaddrv6): Likewise.
26459 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26460 (readdinitgroups): Return value returned by addinitgroupsX.
26461 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26462 (prune_cache): Keep track of timeout value of re-added entries.
26463 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26464 * nscd/nscd.h: Adjust prototypes of readd* functions.
26465
a0bf67cc
RM
264662011-02-04 Roland McGrath <roland@redhat.com>
26467
26468 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26469 (nis_stats): Likewise.
26470 * nis/nis_modify.c (nis_modify): Likewise.
26471 * nis/nis_remove.c (nis_remove): Likewise.
26472 * nis/nis_add.c (nis_add): Likewise.
26473
26474 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26475
26476 * posix/fnmatch_loop.c: Add some consts.
26477
26478 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26479
435b95eb
L
264802011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26481
26482 [BZ #12460]
26483 * config.make.in (config-cflags-novzeroupper): Define.
26484 * configure.in: Substitute libc_cv_cc_novzeroupper.
26485 * elf/Makefile (AVX-CFLAGS): Define.
26486 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26487 (CFLAGS-tst-auditmod4a.c): Likewise.
26488 (CFLAGS-tst-auditmod4b.c): Likewise.
26489 (CFLAGS-tst-auditmod6b.c): Likewise.
26490 (CFLAGS-tst-auditmod6c.c): Likewise.
26491 (CFLAGS-tst-auditmod7b.c): Likewise.
26492 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26493
8517b15e
UD
264942011-02-02 Ulrich Drepper <drepper@gmail.com>
26495
26496 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26497 function to the callback.
26498 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26499
10a656fe
AS
265002011-02-02 Andreas Schwab <schwab@redhat.com>
26501
26502 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26503 of errno.
26504
968dad0a
UD
265052011-01-19 Ulrich Drepper <drepper@gmail.com>
26506
9f94d2ea 26507 [BZ #11724]
968dad0a
UD
26508 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26509 of constructors.
26510 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26511 of destructors.
26512 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26513
26514 [BZ #11724]
26515 * elf/Makefile: Add rules to build and run new test.
26516 * elf/tst-initorder.c: New file.
26517 * elf/tst-initorder.exp: New file.
26518 * elf/tst-initordera1.c: New file.
26519 * elf/tst-initordera2.c: New file.
26520 * elf/tst-initordera3.c: New file.
26521 * elf/tst-initordera4.c: New file.
26522 * elf/tst-initorderb1.c: New file.
26523 * elf/tst-initorderb2.c: New file.
26524 * elf/tst-order-a1.c: New file.
26525 * elf/tst-order-a2.c: New file.
26526 * elf/tst-order-a3.c: New file.
26527 * elf/tst-order-a4.c: New file.
26528 * elf/tst-order-b1.c: New file.
26529 * elf/tst-order-b2.c: New file.
26530 * elf/tst-order-main.c: New file.
26531 New test case by George Gensure <werkt0@gmail.com>.
26532
86e92359
UD
265332010-10-01 Andreas Schwab <schwab@redhat.com>
26534
26535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26536 decoding ACE if AI_CANONIDN.
26537
5d5732b0
UD
265382011-01-18 Ulrich Drepper <drepper@gmail.com>
26539
26540 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26541
a77e8cbc
UD
265422011-01-17 Ulrich Drepper <drepper@gmail.com>
26543
6392473f
UD
26544 * version.h (RELEASE): Bump for 2.13 release.
26545 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26546
620a0529
UD
26547 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26548
18ba70a5
UD
26549 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26550 MADV_NOHUGEPAGE.
32465c3e
UD
26551 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26552 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26553 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26554 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26555 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26556 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26557
c0dafcf1
UD
26558 * posix/getconf.c: Update copyright year.
26559 * catgets/gencat.c: Likewise.
26560 * csu/version.c: Likewise.
26561 * debug/catchsegv.sh: Likewise.
26562 * debug/xtrace.sh: Likewise.
26563 * elf/ldconfig.c: Likewise.
26564 * elf/ldd.bash.in: Likewise.
26565 * elf/sprof.c (print_version): Likewise.
26566 * iconv/iconv_prog.c: Likewise.
26567 * iconv/iconvconfig.c: Likewise.
26568 * locale/programs/locale.c: Likewise.
26569 * locale/programs/localedef.c: Likewise.
26570 * malloc/memusage.sh: Likewise.
26571 * malloc/mtrace.pl: Likewise.
26572 * nscd/nscd.c (print_version): Likewise.
26573 * nss/getent.c: Likewise.
26574
a77e8cbc
UD
26575 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26576 PF_CAIF, and PF_ALG.
26577 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26578
77e8bddf
AS
265792011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26580
1f20b93a
AS
26581 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26582 (modules-names): Use them.
26583 (ifunc-test-modules, ifunc-pie-tests): Define.
26584 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26585 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26586 (test-extras): Likewise.
26587 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26588 $(compile-command.c).
26589 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26590 (all-built-dso): Define.
26591 (check-textrel.out, check-execstack.out): Depend on it.
26592
77e8bddf
AS
26593 * configure.in: Don't override --enable-multi-arch.
26594
bc425b33
UD
265952011-01-15 Ulrich Drepper <drepper@gmail.com>
26596
26597 [BZ #6812]
26598 * nscd/hstcache.c (tryagain): Define.
26599 (cache_addhst): Return tryagain not notfound for temporary errors.
26600 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26601 failed.
26602
794c3ad3
UD
266032011-01-14 Ulrich Drepper <drepper@gmail.com>
26604
70181fdd
UD
26605 [BZ #10563]
26606 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26607 to make the syscall.
26608 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26609
794c3ad3
UD
26610 [BZ #12378]
26611 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26612 and fall back to matching as normal character if the string ends before
26613 the matching ']' is found. This is what POSIX requires.
26614 * posix/testfnm.c: Adjust test result.
26615 * posix/globtest.sh: Adjust test result. Add new test.
26616 * posix/tst-fnmatch.input: Likewise.
26617 * posix/tst-fnmatch2.c: Add new test.
26618
68dc9497
AS
266192010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26620
26621 * elf/Makefile (check-execstack): Revert last change. Depend on
26622 check-execstack.h.
26623 (check-execstack.h): New target.
26624 (generated): Add check-execstack.h.
26625 * elf/check-execstack.c: Include "check-execstack.h".
26626 (main): Revert last change.
26627 (handle_file): Return zero if GNU_STACK is absent and
26628 DEFAULT_STACK_PERMS doesn't include PF_X.
26629
451f001b
UD
266302011-01-13 Ulrich Drepper <drepper@gmail.com>
26631
cfa28e56
UD
26632 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26633 in child fails because the descriptor is already closed.
8cf8ce17
UD
26634 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26635 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26636 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26637
1086d70d
UD
26638 [BZ #12397]
26639 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26640 syscall.
26641
451f001b
UD
26642 [BZ #10484]
26643 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26644 temporary buffer used to handle multi lookups locally.
a85b5cb4 26645 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26646
08769175
UD
266472011-01-12 Ulrich Drepper <drepper@gmail.com>
26648
26649 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26650 loader is ld.so.
26651
5e49c52e
UD
266522011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26653
26654 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26655 alignment for SSE2.
26656
60522a5f
UD
266572011-01-12 Ulrich Drepper <drepper@gmail.com>
26658
26659 [BZ #12394]
26660 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26661 characters. When rounding increased number of integer digits recompute
26662 number of groups.
26663 * stdio-common/tst-grouping.c: New file.
26664 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26665
f257bbd7
UD
266662011-01-09 Ulrich Drepper <drepper@gmail.com>
26667
26668 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26669 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26670
26671 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26672 void.
26673 * bits/select.h: Likewise.
26674
fa9c15cb
UD
266752011-01-08 Ulrich Drepper <drepper@gmail.com>
26676
26677 * po/ja.po: Update from translation team.
26678
16c2895f
DM
266792011-01-04 David S. Miller <davem@sunset.davemloft.net>
26680
26681 [BZ #11155]
26682 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26683 implementation just like for lxstat, fxstatat, et al.
26684
2543fef2
JM
266852010-12-27 Jim Meyering <meyering@redhat.com>
26686
26687 [BZ #12348]
26688 * posix/regexec.c (build_trtable): Return failure indication upon
26689 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26690
98727dbe
UD
266912010-12-25 Ulrich Drepper <drepper@gmail.com>
26692
5bd6dc5c
UD
26693 [BZ #12201]
26694 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26695 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26696 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26697 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26698
97983464
UD
26699 [BZ #12207]
26700 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26701
98727dbe
UD
26702 [BZ #12204]
26703 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26704 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26705
4a531bb0
L
267062010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26707
26708 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26709 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26710 script has SORT_BY_INIT_PRIORITY.
26711 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26712 NO_CTORS_DTORS_SECTIONS is defined.
26713 * elf/soinit.c: Likewise.
26714 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26715 NO_CTORS_DTORS_SECTIONS is defined.
26716 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26717 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26718 * sysdeps/sh/init-first.c: Likewise.
26719 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26720
07eb4b71
UD
267212010-12-24 Ulrich Drepper <drepper@gmail.com>
26722
26723 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26724 always use the slow path.
26725
30950a5f
RA
267262010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26727
26728 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26729 similar rule which adds the sysdep directories to the header search in
26730 order to pick up the correct platform stackinfo.h.
26731 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26732 perform test if it is, otherwise return successfully without testing.
26733 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26734 DEFAULT_STACK_PERMS define in stackinfo.h.
26735 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26736 defined in stackinfo.h.
26737 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26738 DEFAULT_STACK_PERMS defined in stackinfo.h.
26739 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26740 * sysdeps/ia64/stackinfo.h: Likewise.
26741 * sysdeps/s390/stackinfo.h: Likewise.
26742 * sysdeps/sh/stackinfo.h: Likewise.
26743 * sysdeps/sparc/stackinfo.h: Likewise.
26744 * sysdeps/x86_64/stackinfo.h: Likewise.
26745 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26746 PF_X for powerpc64. Retain PF_X for powerpc32.
26747
db753e2c
UD
267482010-12-19 Ulrich Drepper <drepper@gmail.com>
26749
14b697f7
UD
26750 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26751 accurately.
db753e2c
UD
26752 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26753 GETDENTS_64BIT_ALIGNED.
26754
28300719
UD
267552010-12-14 Ulrich Drepper <dreper@gmail.com>
26756
14b697f7 26757 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26758
4f197237
AS
267592010-12-10 Andreas Schwab <schwab@redhat.com>
26760
dbb0472f
AS
26761 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26762 _GNU_SOURCE.
26763
4f197237
AS
26764 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26765 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26766 Remove __restrict.
26767 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26768 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26769
fb88ac72
UD
267702010-12-09 Ulrich Drepper <drepper@gmail.com>
26771
26772 [BZ #11655]
26773 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26774 are initialized.
26775
42acbb92
JJ
267762010-12-09 Jakub Jelinek <jakub@redhat.com>
26777
26778 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26779
c038d98d
UD
267802010-12-03 Ulrich Drepper <drepper@gmail.com>
26781
26782 * po/it.po: Update from translation team.
26783
3a4a2499
L
267842010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26785
26786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26787 unused codes.
26788
1e24cf6e
UD
267892010-11-30 Ulrich Drepper <drepper@gmail.com>
26790
26791 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26792
a7690819
AS
267932010-11-24 Andreas Schwab <schwab@redhat.com>
26794
26795 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26796 specially.
26797 (gaih_getanswer_slice): Likewise.
26798
3bf8d1b1
JJ
267992010-10-20 Jakub Jelinek <jakub@redhat.com>
26800
26801 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26802
6db52fbb
PB
268032010-05-31 Petr Baudis <pasky@suse.cz>
26804
26805 [BZ #11149]
26806 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26807 silently even in the chroot mode.
26808
eaca7569
UD
268092010-11-22 Ulrich Drepper <drepper@gmail.com>
26810
26811 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26812 last patch a bit. Pretty printing
26813
3056dcdb
UD
268142010-05-31 Petr Baudis <pasky@suse.cz>
26815
26816 [BZ #10085]
26817 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26818 initialization of skip_initgroups_dyn.
26819
cf7c9078
UD
268202010-11-19 Ulrich Drepper <drepper@gmail.com>
26821
26822 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26823 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26824
a1fb5e3e
UD
268252010-11-16 Ulrich Drepper <drepper@gmail.com>
26826
26827 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26828
3540d66b
AS
268292010-11-11 Andreas Schwab <schwab@redhat.com>
26830
26831 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26832 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26833 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26834 ($(objpfx)tst-fnmatch-mem): New rule.
26835 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26836 * posix/tst-fnmatch.c (main): Call mtrace.
26837
13b69574
L
268382010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26839
26840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26841 Support Intel processor model 6 and model 0x2c.
26842
da93d214
LM
268432010-11-10 Luis Machado <luisgpm@br.ibm.com>
26844
26845 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26846 signed comparison.
26847
8ca52c6e
L
268482010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26849
26850 [BZ #12205]
26851 * string/test-strncasecmp.c (check_result): New function.
26852 (do_one_test): Use it.
26853 (check1): New function.
26854 (test_main): Use it.
26855 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26856 Support strcasecmp and strncasecmp.
26857
69da074d
UD
268582010-11-08 Ulrich Drepper <drepper@gmail.com>
26859
26860 [BZ #12194]
26861 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26862 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26863
ff02d528
L
268642010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26865
26866 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26867 IFUNC support.
26868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26869 memset-x86-64.
26870 * sysdeps/x86_64/multiarch/bzero.S: New file.
26871 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26872 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26873 * sysdeps/x86_64/multiarch/memset.S: New file.
26874 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26876 Set bit_Prefer_SSE_for_memop for Intel processors.
26877 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26878 Define.
26879 (index_Prefer_SSE_for_memop): Define.
26880 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26881
344d0b54
LM
268822010-11-04 Luis Machado <luisgpm@br.ibm.com>
26883
26884 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26885 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26886
c0dde15b
UD
268872010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26888
26889 [BZ #12191]
26890 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26891 (__x86_64_raw_data_cache_size_half): Likewise.
26892 (__x86_64_raw_shared_cache_size): Likewise.
26893 (__x86_64_raw_shared_cache_size_half): Likewise.
26894
26895 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26896 (__x86_64_raw_data_cache_size_half): Likewise.
26897 (__x86_64_raw_shared_cache_size): Likewise.
26898 (__x86_64_raw_shared_cache_size_half): Likewise.
26899 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26900 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26901 and __x86_64_raw_shared_cache_size_half. Round
26902 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26903 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26904 to multiple of 256 bytes.
26905
0e516e0e
MS
269062010-11-03 Ulrich Drepper <drepper@gmail.com>
26907
26908 [BZ #12167]
26909 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26910 of inacessible symlinks. Verify result of symlink before returning it.
26911 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26912 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26913
0e012e87
ER
269142010-10-28 Erich Ritz <erichritz@gmail.com>
26915
26916 * math/math.h (isinf): Fix typo in comment.
26917
de0ff7bc
UD
269182010-11-01 Ulrich Drepper <drepper@gmail.com>
26919
26920 * po/da.po: Update from translation team.
26921
fa41c84d
UD
269222010-10-26 Ulrich Drepper <drepper@gmail.com>
26923
26924 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26925 is added to the list.
26926
f0967738
AK
269272010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26928 Ulrich Drepper <drepper@gmail.com>
26929
26930 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26931 the global list here. Move code to...
26932 (_dl_add_to_namespace_list): ...here. New function.
26933 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26934 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26935 * elf/dl-load.c (lose): Don't remove the element from the list.
26936 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26937 (_dl_map_object): Likewise.
26938
269392010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26940
26941 [BZ #12159]
26942 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26943 into all bytes of SSE register.
26944 Patch by Richard Li <richardpku@gmail.com>.
26945
f0967738 269462010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26947
26948 [BZ #12140]
26949 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26950 perturbing.
26951
d0b9e94f
MB
269522010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26953
26954 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26955 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26956 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26957 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26959 submachine.
26960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26961
8e9f92e9
AS
269622010-10-22 Andreas Schwab <schwab@redhat.com>
26963
26964 * include/dlfcn.h (__RTLD_SECURE): Define.
26965 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26966 mode & __RTLD_SECURE instead.
26967 (open_path): Rename preloaded parameter to secure.
26968 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26969 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26970 * elf/dl-deps.c (openaux): Likewise.
26971 * elf/rtld.c (struct map_args): Remove is_preloaded.
26972 (map_doit): Don't use it.
26973 (dl_main): Likewise.
26974 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26975 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26976
bc96fbda
AS
269772010-09-09 Andreas Schwab <schwab@redhat.com>
26978
26979 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26980 (sysd-rules-targets): Remove duplicates.
26981 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26982 rtld-%.$o dependency.
26983
22cd1c9b
AS
269842010-10-18 Andreas Schwab <schwab@redhat.com>
26985
26986 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26987 _dl_map_object do it.
26988
18edac48
UD
269892010-10-19 Ulrich Drepper <drepper@gmail.com>
26990
26991 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26992 fast fma builtins, define the macros in the C99 standard.
26993 (FP_FAST_FMAF): Likewise.
26994 (FP_FAST_FMAL): Likewise.
26995 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26996
26997 * bits/mathdef.h: Update copyright year.
26998 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26999
d2050124
MM
270002010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27001
27002 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27003 builtins, define the macros in the C99 standard.
27004 (FP_FAST_FMAF): Likewise.
27005 (FP_FAST_FMAL): Likewise.
27006 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27007 multiply/add.
27008 (FP_FAST_FMAF): Likewise.
27009
475facd1
JJ
270102010-10-15 Jakub Jelinek <jakub@redhat.com>
27011
27012 [BZ #3268]
27013 * math/libm-test.inc (fma_test): Some new testcases.
27014 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27015 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27016 y and infinite z. Do multiplication by C already in long double.
27017 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27019 y and infinite z. Do bitwise or of inexact bit into u.d.
27020 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27021 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27022 * sysdeps/i386/fpu/s_fma.S: Removed.
27023 * sysdeps/i386/fpu/s_fmal.S: Removed.
27024
7c08a05c
JJ
270252010-10-16 Jakub Jelinek <jakub@redhat.com>
27026
27027 [BZ #3268]
27028 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27030 computation is not scheduled after fetestexcept. Fix value
27031 of minimum denormal long double.
27032
f3f7372d
JJ
270332010-10-14 Jakub Jelinek <jakub@redhat.com>
27034
27035 [BZ #3268]
27036 * math/libm-test.inc (fma_test): Add some more tests.
27037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27038 correctly.
27039
14d43591
AS
270402010-10-15 Andreas Schwab <schwab@redhat.com>
27041
27042 * scripts/data/localplt-s390-linux-gnu.data: New file.
27043 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27044
5e908464
JJ
270452010-10-13 Jakub Jelinek <jakub@redhat.com>
27046
27047 [BZ #3268]
27048 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27049 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27050 instead of dbl-64.
27051 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27052 inlines.
27053 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27054 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27055 if one of x and y is very large and the other is subnormal.
27056 * sysdeps/s390/fpu/s_fmaf.c: New file.
27057 * sysdeps/s390/fpu/s_fma.c: New file.
27058 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27059 * sysdeps/powerpc/fpu/s_fma.S: New file.
27060 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27061 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27062 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27063
270642010-10-12 Jakub Jelinek <jakub@redhat.com>
27065
27066 [BZ #3268]
27067 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27068 fma tests.
27069 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27070 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27071 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27072 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27073 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27074 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27075 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27076
b833d51f
UD
270772010-10-12 Ulrich Drepper <drepper@redhat.com>
27078
27079 [BZ #12078]
27080 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27081 * posix/bug-regex31.input: Add test case.
27082
1751705d
UD
270832010-10-11 Ulrich Drepper <drepper@gmail.com>
27084
e9b9cbf5
UD
27085 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27086 * posix/bug-regex31.input: New file.
27087
27088 [BZ #12078]
27089 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27090 (parse_sub_exp): Fix last change, use postorder.
27091
ef06edbe
UD
27092 * posix/bug-regex31.c: New file.
27093 * posix/Makefile: Add rules to build and run bug-regex31.
27094
a129c80d
UD
27095 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27096
27097 [BZ #12078]
27098 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27099
b76b818e
UD
27100 [BZ #12108]
27101 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27102 to have entries in sys_siglist.
27103
1751705d
UD
27104 [BZ #12093]
27105 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27106 be NULL.
27107
9ff8d36f
JJ
271082010-10-07 Jakub Jelinek <jakub@redhat.com>
27109
27110 [BZ #3268]
27111 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27112 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27113 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27114 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27115 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27116 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27117 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27118 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27119 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27120 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27121 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27122 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27123 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27124 * math/ftestexcept.c (fetestexcept): Likewise.
27125 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27126 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27127 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27128 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27129 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27130 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27131 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27132
af325969
UD
271332010-10-11 Ulrich Drepper <drepper@gmail.com>
27134
c579b202 27135 [BZ #12107]
af325969
UD
27136 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27137 newline.
27138
67a67b95
UD
271392010-10-06 Ulrich Drepper <drepper@gmail.com>
27140
27141 * string/bug-strstr1.c: New file.
27142 * string/Makefile: Add rules to build and run bug-strstr1.
27143
5fb308bc
EB
271442010-10-05 Eric Blake <eblake@redhat.com>
27145
27146 [BZ #12092]
27147 * string/str-two-way.h (two_way_long_needle): Always clear memory
27148 when skipping input due to the shift table.
27149
45db99c7
UD
271502010-10-03 Ulrich Drepper <drepper@gmail.com>
27151
3b111893
UD
27152 [BZ #12005]
27153 * malloc/mcheck.c: Handle large requests.
27154
45db99c7
UD
27155 [BZ #12077]
27156 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27157 for strncmp and strncasecmp.
27158 * string/stratcliff.c: Add tests for strcmp and strncmp.
27159 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27160
cf7a1eb8
NI
271612010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27162
27163 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27164 __set_fpscr.
27165
6484ba5e
AJ
271662010-09-30 Andreas Jaeger <aj@suse.de>
27167
27168 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27169 (CGROUP_SUPER_MAGIC): Define.
27170 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27171 Handle btrfs and cgroup file systems.
27172 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27173 Likewise.
27174
91c42559
LM
271752010-09-27 Luis Machado <luisgpm@br.ibm.com>
27176
27177 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27178 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27179
87a97932
AK
271802010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27181
27182 [BZ #12067]
27183 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27184 trying to locate the ELF header.
27185
c21cc9bc
AS
271862010-09-27 Andreas Schwab <schwab@redhat.com>
27187
27188 [BZ #11611]
27189 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27190 Mask out sign-bit copies when constructing f_fsid.
27191
315970f6
PB
271922010-09-24 Petr Baudis <pasky@suse.cz>
27193
27194 * debug/stack_chk_fail_local.c: Add missing licence exception.
27195 * debug/warning-nop.c: Likewise.
27196
1ac7a2c7
JM
271972010-09-15 Joseph Myers <joseph@codesourcery.com>
27198
27199 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27200 implementing getdents64 using getdents syscall, set d_type if
27201 __ASSUME_GETDENTS32_D_TYPE.
27202
56801c50
AS
272032010-09-16 Andreas Schwab <schwab@redhat.com>
27204
27205 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27206 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27207
dda51327
UD
272082010-09-21 Ulrich Drepper <drepper@redhat.com>
27209
27210 [BZ #12037]
27211 * posix/unistd.h: Undo change of feature selection for ftruncate from
27212 2010-01-11.
27213
8ffcee4a
UD
272142010-09-20 Ulrich Drepper <drepper@redhat.com>
27215
a545ecd9 27216 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27217 detection.
27218
e24f0a8b
AS
272192010-09-20 Andreas Schwab <schwab@redhat.com>
27220
27221 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27222 fanotify_mark.
27223 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27224
7291c56f
AS
272252010-09-14 Andreas Schwab <schwab@redhat.com>
27226
27227 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27228 variables after CHECK_SP call.
27229 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27230
bc5fb037
AS
272312010-09-13 Andreas Schwab <schwab@redhat.com>
27232 Ulrich Drepper <drepper@redhat.com>
27233
27234 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27235 re-relocationg ld.so.
27236 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27237 _dl_init_paths call.
27238 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27239 here anymore.
27240
e66e7419
UD
272412010-09-14 Ulrich Drepper <drepper@redhat.com>
27242
27243 * resolv/res_init.c (__res_vinit): Count the default server we added.
27244
c044aa75
CLT
272452010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27246 Ulrich Drepper <drepper@redhat.com>
27247
27248 [BZ #11968]
27249 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27250 (____longjmp_chk): Use %ebx for saving value across system call.
27251 Add unwind info.
27252
32cf4069
AS
272532010-09-06 Andreas Schwab <schwab@redhat.com>
27254
27255 * manual/Makefile: Don't mix pattern rules with normal rules.
27256
817328ee
AS
272572010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27258
27259 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27260 operation.
27261 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27262 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27263 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27264 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27266 Likewise.
27267
29fddf61
UD
272682010-09-04 Ulrich Drepper <drepper@redhat.com>
27269
27270 [BZ #11979]
27271 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27272 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27273
0959ffc9
UD
272742010-09-02 Ulrich Drepper <drepper@redhat.com>
27275
27276 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27277 * sysdeps/x86_64/addmul_1.S: Likewise.
27278 * sysdeps/x86_64/lshift.S: Likewise.
27279 * sysdeps/x86_64/mul_1.S: Likewise.
27280 * sysdeps/x86_64/rshift.S: Likewise.
27281 * sysdeps/x86_64/sub_n.S: Likewise.
27282 * sysdeps/x86_64/submul_1.S: Likewise.
27283
ece29840
ST
272842010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27285
0959ffc9
UD
27286 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27287 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27288 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27289 * bits/sched.h [__need_schedparam]
ece29840 27290 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27291 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27292 (__defined_schedparam): Define to 1.
ece29840
ST
27293 (__sched_param): New structure, identical to sched_param.
27294 (__need_schedparam): Undefine.
27295
e53a31fe
MF
272962010-08-31 Mike Frysinger <vapier@gentoo.org>
27297
fdc0c10d
MF
27298 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27299 (epoll_create1): Declare.
27300
e53a31fe
MF
27301 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27302
a726d796
AS
273032010-08-31 Andreas Schwab <schwab@redhat.com>
27304
27305 [BZ #7066]
27306 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27307 shifting retval into place.
27308
2f3e3dc7
UD
273092010-09-01 Ulrich Drepper <drepper@redhat.com>
27310
f2933da9
UD
27311 * nis/rpcsvc/nis.h: Update copyright notice.
27312 * nis/rpcsvc/nis.x: Likewise.
27313 * nis/rpcsvc/nis_callback.h: Likewise.
27314 * nis/rpcsvc/nis_callback.x: Likewise.
27315 * nis/rpcsvc/nis_object.x: Likewise.
27316 * nis/rpcsvc/nis_tags.h: Likewise.
27317 * nis/rpcsvc/yp.h: Likewise.
27318 * nis/rpcsvc/yp.x: Likewise.
27319 * nis/rpcsvc/ypupd.h: Likewise.
27320 * nis/yp_xdr.c: Likewise.
27321 * nis/ypupdate_xdr.c: Likewise.
27322
2f3e3dc7
UD
27323 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27324 mainly the body of pmap_getport. Add parameters to specify timeouts.
27325 (pmap_getport): Use __libc_rpc_getport.
27326 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27327 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27328 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27329
f3dcc2f9
AS
273302010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27331
27332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27333 fanotify_mark.
27334
6d34eb5b
RM
273352010-08-27 Roland McGrath <roland@redhat.com>
27336
27337 * sysdeps/i386/i686/multiarch/Makefile
27338 (CFLAGS-varshift.c): New variable.
27339
9ea3de11
UD
273402010-08-27 Ulrich Drepper <drepper@redhat.com>
27341
c96d23fc
UD
27342 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27343 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27344
9ea3de11
UD
27345 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27346
27347 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27348
623aac7f
L
273492010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27350
27351 * sysdeps/x86_64/strlen.S: Unroll the loop.
27352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27353 strlen-sse2 strlen-sse2-bsf.
27354 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27355 __strlen_no_bsf if bit_Slow_BSF is set.
27356 (__strlen_sse42): Removed.
27357 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27358 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27359
8b2b7715
RM
273602010-08-25 Roland McGrath <roland@redhat.com>
27361
27362 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27363 * sysdeps/x86_64/multiarch/varshift.c: New file.
27364 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27365 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27366 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27367 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27368
e73015f2
L
273692010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27370
27371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27372 strlen-sse2 strlen-sse2-bsf.
27373 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27374 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27375 (__strlen_sse2): Removed.
27376 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27377 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27379 bit_Slow_BSF for Atom.
27380 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27381 (index_Slow_BSF): Define.
27382 (HAS_SLOW_BSF): Define.
27383
df24a73e
UD
273842010-08-25 Ulrich Drepper <drepper@redhat.com>
27385
27386 [BZ #10851]
27387 * resolv/res_init.c (__res_vinit): When no server address at all
27388 is given default to loopback.
27389
f2ac4868
RM
273902010-08-24 Roland McGrath <roland@redhat.com>
27391
09055553
RM
27392 * configure.in: Remove config-name.h generation.
27393 * configure: Regenerated.
27394 * config-name.in: File removed.
27395 * scripts/config-uname.sh: New file.
27396 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27397 ($(objdir)config-name.h): New target.
27398
f2ac4868
RM
27399 * sunrpc/rpc_parse.h: Avoid nested comment.
27400
73f27d5e
RH
274012010-08-24 Richard Henderson <rth@redhat.com>
27402 Ulrich Drepper <drepper@redhat.com>
27403 H.J. Lu <hongjiu.lu@intel.com>
27404
27405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27407 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27408 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27409 _mm_alignr_epi8 with _mm_loadu_si128.
27410 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27411 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27412 (__m128i_shift_right): Removed.
27413 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27414 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27415 * sysdeps/x86_64/multiarch/varshift.h: New file.
27416 * sysdeps/x86_64/multiarch/varshift.S: New file.
27417
84b9230c
MF
274182010-08-21 Mike Frysinger <vapier@gentoo.org>
27419
27420 * configure.in: Move assembler checks to before sysdep dir checking.
27421
9bbd0ddc
PB
274222010-08-20 Petr Baudis <pasky@suse.cz>
27423
27424 * LICENSES: Sync the sunrpc license.
27425
9da4bb31
UD
274262010-08-19 Ulrich Drepper <drepper@redhat.com>
27427
a7ab6ec8
UD
27428 * sunrpc/auth_des.c: Update copyright notice once again.
27429 * sunrpc/auth_none.c: Likewise.
27430 * sunrpc/auth_unix.c: Likewise.
27431 * sunrpc/authdes_prot.c: Likewise.
27432 * sunrpc/authuxprot.c: Likewise.
27433 * sunrpc/bindrsvprt.c: Likewise.
27434 * sunrpc/clnt_gen.c: Likewise.
27435 * sunrpc/clnt_perr.c: Likewise.
27436 * sunrpc/clnt_raw.c: Likewise.
27437 * sunrpc/clnt_simp.c: Likewise.
27438 * sunrpc/clnt_tcp.c: Likewise.
27439 * sunrpc/clnt_udp.c: Likewise.
27440 * sunrpc/clnt_unix.c: Likewise.
27441 * sunrpc/des_crypt.c: Likewise.
27442 * sunrpc/des_soft.c: Likewise.
27443 * sunrpc/get_myaddr.c: Likewise.
27444 * sunrpc/getrpcport.c: Likewise.
27445 * sunrpc/key_call.c: Likewise.
27446 * sunrpc/key_prot.c: Likewise.
27447 * sunrpc/openchild.c: Likewise.
27448 * sunrpc/pm_getmaps.c: Likewise.
27449 * sunrpc/pm_getport.c: Likewise.
27450 * sunrpc/pmap_clnt.c: Likewise.
27451 * sunrpc/pmap_prot.c: Likewise.
27452 * sunrpc/pmap_prot2.c: Likewise.
27453 * sunrpc/pmap_rmt.c: Likewise.
27454 * sunrpc/rpc/auth.h: Likewise.
27455 * sunrpc/rpc/auth_unix.h: Likewise.
27456 * sunrpc/rpc/clnt.h: Likewise.
27457 * sunrpc/rpc/des_crypt.h: Likewise.
27458 * sunrpc/rpc/key_prot.h: Likewise.
27459 * sunrpc/rpc/netdb.h: Likewise.
27460 * sunrpc/rpc/pmap_clnt.h: Likewise.
27461 * sunrpc/rpc/pmap_prot.h: Likewise.
27462 * sunrpc/rpc/pmap_rmt.h: Likewise.
27463 * sunrpc/rpc/rpc.h: Likewise.
27464 * sunrpc/rpc/rpc_des.h: Likewise.
27465 * sunrpc/rpc/rpc_msg.h: Likewise.
27466 * sunrpc/rpc/svc.h: Likewise.
27467 * sunrpc/rpc/svc_auth.h: Likewise.
27468 * sunrpc/rpc/types.h: Likewise.
27469 * sunrpc/rpc/xdr.h: Likewise.
27470 * sunrpc/rpc_clntout.c: Likewise.
27471 * sunrpc/rpc_cmsg.c: Likewise.
27472 * sunrpc/rpc_common.c: Likewise.
27473 * sunrpc/rpc_cout.c: Likewise.
27474 * sunrpc/rpc_dtable.c: Likewise.
27475 * sunrpc/rpc_hout.c: Likewise.
27476 * sunrpc/rpc_main.c: Likewise.
27477 * sunrpc/rpc_parse.c: Likewise.
27478 * sunrpc/rpc_parse.h: Likewise.
27479 * sunrpc/rpc_prot.c: Likewise.
27480 * sunrpc/rpc_sample.c: Likewise.
27481 * sunrpc/rpc_scan.c: Likewise.
27482 * sunrpc/rpc_scan.h: Likewise.
27483 * sunrpc/rpc_svcout.c: Likewise.
27484 * sunrpc/rpc_tblout.c: Likewise.
27485 * sunrpc/rpc_util.c: Likewise.
27486 * sunrpc/rpc_util.h: Likewise.
27487 * sunrpc/rpcinfo.c: Likewise.
27488 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27489 * sunrpc/rpcsvc/key_prot.x: Likewise.
27490 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27491 * sunrpc/rpcsvc/mount.x: Likewise.
27492 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27493 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27494 * sunrpc/rpcsvc/rex.x: Likewise.
27495 * sunrpc/rpcsvc/rstat.x: Likewise.
27496 * sunrpc/rpcsvc/rusers.x: Likewise.
27497 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27498 * sunrpc/rpcsvc/spray.x: Likewise.
27499 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27500 * sunrpc/rtime.c: Likewise.
27501 * sunrpc/svc.c: Likewise.
27502 * sunrpc/svc_auth.c: Likewise.
27503 * sunrpc/svc_authux.c: Likewise.
27504 * sunrpc/svc_raw.c: Likewise.
27505 * sunrpc/svc_run.c: Likewise.
27506 * sunrpc/svc_simple.c: Likewise.
27507 * sunrpc/svc_tcp.c: Likewise.
27508 * sunrpc/svc_udp.c: Likewise.
27509 * sunrpc/svc_unix.c: Likewise.
27510 * sunrpc/svcauth_des.c: Likewise.
27511 * sunrpc/xcrypt.c: Likewise.
27512 * sunrpc/xdr.c: Likewise.
27513 * sunrpc/xdr_array.c: Likewise.
27514 * sunrpc/xdr_float.c: Likewise.
27515 * sunrpc/xdr_mem.c: Likewise.
27516 * sunrpc/xdr_rec.c: Likewise.
27517 * sunrpc/xdr_ref.c: Likewise.
27518 * sunrpc/xdr_sizeof.c: Likewise.
27519 * sunrpc/xdr_stdio.c: Likewise.
27520
9da4bb31
UD
27521 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27522 handling.
27523
bdaa77bc
AS
275242010-08-19 Andreas Schwab <schwab@redhat.com>
27525
27526 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27527
fe2f79db
LM
275282010-08-19 Luis Machado <luisgpm@br.ibm.com>
27529
27530 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27531 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27532 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27533 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27534 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27535 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27536 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27537 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27538 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27539 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27540 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27541 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27542 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27543 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27544
b9b42ee0
AB
275452010-07-26 Anton Blanchard <anton@samba.org>
27546
27547 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27548 * malloc/arena.c (heap_trim): Likewise.
27549
1c06ba31
UD
275502010-08-16 Ulrich Drepper <drepper@redhat.com>
27551
27552 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27553 here. Not...
27554 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27555 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27556
f8392f40
L
275572010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27558
27559 * sysdeps/i386/elf/Makefile: New file.
27560
3162f12e
AS
275612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27562
27563 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27564 from fanotify_init.
27565 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27566 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27567
28c90b2c
UD
275682010-08-15 Ulrich Drepper <drepper@redhat.com>
27569
27570 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27571 of strncasecmp_l.
1feccb6c 27572 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27573
ca6bb004
UD
275742010-08-14 Ulrich Drepper <drepper@redhat.com>
27575
e9f82e0d
UD
27576 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27577 strncase_l-nonascii.
27578 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27579 Add strncase_l-ssse3.
27580 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27581 * sysdeps/x86_64/strcmp.S: Likewise.
27582 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27583 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27584 * sysdeps/x86_64/strncase.S: New file.
27585 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27586 * sysdeps/x86_64/strncase_l.S: New file.
27587 * string/Makefile (strop-tests): Add strncasecmp.
27588 * string/test-strncasecmp.c: New file.
27589
27590 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27591 warning.
27592
ca6bb004
UD
27593 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27594 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27595
052fa7b3
AS
275962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27597
27598 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27599
962dba78
UD
276002010-08-12 Ulrich Drepper <drepper@redhat.com>
27601
27602 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27603 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27604 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27605
bebff237
AM
276062010-05-01 Alan Modra <amodra@gmail.com>
27607
27608 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27609 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27610 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27611 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27612 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27613 tidying. Don't tail-call __sigjmp_save for static lib.
27614 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27615 save location.
27616 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27617 (CALL_MCOUNT): Add eh info, and nop after bl.
27618 (TAIL_CALL_SYSCALL_ERROR): New macro.
27619 (PSEUDO_RET): Use it.
27620 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27621 Correct save location of integer regs and cr.
27622 (_dl_profile_resolve): Correct cr save location. Delete nops
27623 after bl when SHARED. Reduce cfi size a little by better
27624 placement of cfi directives.
27625 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27626 make a stack frame. Instead use parm save area as a temp.
27627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27628 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27630 Don't make a stack frame for parent, use parm save area.
27631 Increase child stack frame to 112 bytes. Don't save unused reg,
27632 and adjust reg usage. Set up cfi on error recovery and
27633 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27635 (__makecontext): Add dummy nop after jump to exit.
27636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27637 Use correct parm save area and cr save, reduce stack frame.
27638 Correct cfi for possible PSEUDO_RET frame setup.
27639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27640 Branch to local label emitted by PSEUDO_RET rather than
27641 __syscall_error.
27642
02637374
AS
276432010-08-12 Andreas Schwab <schwab@redhat.com>
27644
27645 [BZ #11904]
27646 * locale/programs/locale.c (print_assignment): New function.
27647 (show_locale_vars): Use it.
27648
c3e2f19b
UD
276492010-08-11 Ulrich Drepper <drepper@redhat.com>
27650
3cdaa6ad
UD
27651 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27652 field.
27653 (struct statfs64): Likewise.
27654 (_STATFS_F_FLAGS): Define.
27655 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27656 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27657 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27658 (ST_VALID): Define locally.
27659 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27660 __statvfs_getflags, use the provided value.
27661 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27662 __ASSUME_STATFS_F_FLAGS.
27663
754f7da3
UD
27664 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27665
10b3bedc
UD
27666 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27667 Add sys/fanotify.h.
27668 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27669 fanotify_mask for GLIBC_2.13.
27670 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27671 fanotify_init and fanotify_mark.
27672 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27673 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27674
c08fb0d7
UD
27675 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27676 Add prlimit.
27677 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27678 prlimit64 for GLIBC_2.13.
27679 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27680 prlimit64.
27681 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27682 syscall.
27683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27684 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27685 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27686 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27687 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27688 add prlimit alias.
27689 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27690
15bac72b
UD
27691 [BZ #11903]
27692 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27693 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27694
c3e2f19b
UD
27695 * nss/Makefile: Add rules to build and run tst-nss-test1.
27696 * shlib-versions: Add entry for libnss_test1.
27697 * nss/nss_test1.c: New file.
27698 * nss/tst-nss-test1.c: New file.
27699
27700 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27701 (__nss_configure_lookup): Set appropriate entry in
27702 __nss_configure_lookup to true.
27703 * nss/nsswitch.h: Define enum with indeces of databases in
27704 databases and __nss_database_custom arrays. Declare
27705 __nss_database_custom.
27706 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27707 to avoid using nscd when custom rules are installed.
27708 * nss/getXXbyYY_r.c: Likewise.
27709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27710
27711 * nss/nss_files/files-parse.c: Whitespace fixes.
27712
f15ce4d8
UD
277132010-08-09 Ulrich Drepper <drepper@redhat.com>
27714
27715 [BZ #11883]
27716 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27717 * posix/fnmatch_loop.c: Likewise.
27718
d22e4cc9
AK
277192010-07-17 Andi Kleen <ak@linux.intel.com>
27720
27721 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27722 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27723 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27724 * Versions.def [GLIBC_2.13]: Add.
27725
805bc17d
UD
277262010-08-06 Ulrich Drepper <drepper@redhat.com>
27727
27728 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27729 Also fail if tpwd after pwuid call is NULL.
27730
5a42321d
ST
277312010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27732
27733 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27734 when converting to ms.
27735
fd3ebeda
ST
277362010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27737
27738 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27739 EOPNOTSUPP errors with ENOTTY.
27740 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27741 EOPNOTSUPP errors with ENOTTY.
27742
73507d3a
UD
277432010-07-31 Ulrich Drepper <drepper@redhat.com>
27744
27745 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27746 Add strcasecmp_l-ssse3.
27747 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27748 strcasecmp.
27749 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27750 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27751 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27752
fe36dd02
UD
277532010-07-30 Ulrich Drepper <drepper@redhat.com>
27754
66f6765a
UD
27755 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27756
42e08a54
UD
27757 * string/Makefile (strop-tests): Add strcasecmp.
27758 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27759 strcasecmp_l-nonascii.
27760 (gen-as-const-headers): Add locale-defines.sym.
27761 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27762 * sysdeps/x86_64/strcasecmp.S: New file.
27763 * sysdeps/x86_64/strcasecmp_l.S: New file.
27764 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27765 * sysdeps/x86_64/locale-defines.sym: New file.
27766 * string/test-strcasecmp.c: New file.
27767
fe36dd02
UD
27768 * string/test-strcasestr.c: Test both ends of the range of characters.
27769 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27770
48cbc0d6
RM
277712010-07-29 Roland McGrath <roland@redhat.com>
27772
76e6d6bc 27773 [BZ #11856]
48cbc0d6
RM
27774 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27775
880113d9
UD
277762010-07-27 Ulrich Drepper <drepper@redhat.com>
27777
27778 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27779 for ld.so.
27780
deb9cabb
AS
277812010-07-27 Andreas Schwab <schwab@redhat.com>
27782
27783 * manual/memory.texi (Malloc Tunable Parameters): Document
27784 M_PERTURB.
27785
1c7570ff
RM
277862010-07-26 Roland McGrath <roland@redhat.com>
27787
27788 [BZ #11840]
27789 * configure.in (-fgnu89-inline check): Set and substitute
27790 gnu89_inline, not libc_cv_gnu89_inline.
27791 * configure: Regenerated.
27792 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27793
24fb0f88
UD
277942010-07-26 Ulrich Drepper <drepper@redhat.com>
27795
27796 * string/test-strnlen.c: New file.
27797 * string/Makefile (strop-tests): Add strnlen.
27798 * string/tester.c (test_strnlen): Add a few more test cases.
27799 * string/tst-strlen.c: Better error reporting.
27800
27801 * sysdeps/x86_64/strnlen.S: New file.
27802
8e96b93a
UD
278032010-07-24 Ulrich Drepper <drepper@redhat.com>
27804
27805 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27806 lower-latency instructions.
27807
dbc676d4
UD
278082010-07-23 Ulrich Drepper <drepper@redhat.com>
27809
27810 * string/test-strcasestr.c: New file.
27811 * string/test-strstr.c: New file.
27812 * string/Makefile (strop-tests): Add strstr and strcasestr.
27813 * string/str-two-way.h: Don't undefine MAX.
27814 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27815
f6a31e0e
AS
278162010-07-21 Andreas Schwab <schwab@redhat.com>
27817
27818 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27819 strcasestr-nonascii.
27820 (CFLAGS-strcasestr-nonascii.c): Define.
27821 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27822 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27823 Remove unused attribute.
27824
5dbc3b6c
RM
278252010-07-20 Roland McGrath <roland@redhat.com>
27826
27827 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27828 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27829 ld.so.cache was broken. With it, there is no way to disable dsocaps
27830 like LD_HWCAP_MASK can disable hwcaps.
27831
23d101d8
EPM
278322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27833
27834 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27835
cc9f2e47
UD
278362010-07-16 Ulrich Drepper <drepper@redhat.com>
27837
27838 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27839 call in strcasestr.
27840 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27841 __strcasestr_sse42_nonascii.
27842 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27843 strcasestr-nonascii.c.
27844 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27845
77c1b069
LM
278462010-06-15 Luis Machado <luisgpm@br.ibm.com>
27847
27848 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27849 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27850 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27851 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27852
440566c3
UD
278532010-07-09 Ulrich Drepper <drepper@redhat.com>
27854
27855 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27856 fcntl.
27857
5be9d05d
AS
278582010-07-06 Andreas Schwab <schwab@redhat.com>
27859
c30b7ee2 27860 [BZ #11577]
5be9d05d
AS
27861 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27862 dl_signal_cerror.
27863
8a492a67
UD
278642010-07-06 Ulrich Drepper <drepper@redhat.com>
27865
27866 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27867 _PC_PIPE_BUF using F_GETPIPE_SZ.
27868
713df3d5
RM
278692010-07-05 Roland McGrath <roland@redhat.com>
27870
27871 * manual/arith.texi (Rounding Functions): Fix rint description
27872 implicit in round description.
27873
702e8f14
UD
278742010-07-02 Ulrich Drepper <drepper@redhat.com>
27875
27876 * elf/Makefile: Fix linking for a few tests to make recent linker
27877 happy.
27878
52ed8be9
AS
278792010-06-30 Andreas Schwab <schwab@redhat.com>
27880
27881 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27882 $(common-objpfx)libc_nonshared.a.
27883
f47c9a11
LM
278842010-06-21 Luis Machado <luisgpm@br.ibm.com>
27885
27886 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27887 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27888 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27889 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27890 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27891 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27892 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27893 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27908 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27909 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27910 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27911 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27912 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27913 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27914 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27915 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27916 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27917 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27918 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27919 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27934
6fb8cbcb
L
279352010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27936
27937 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27938 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27939 * string/memmove.c (memmove): Renamed to ...
27940 (MEMMOVE): ...this. Default to memmove.
27941 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27942 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27943 (END_CHK): Define.
27944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27945 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27946 mempcpy-ssse3-back memmove-ssse3-back.
27947 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27948 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27949 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27950 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27951 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27952 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27953 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27954 * sysdeps/x86_64/multiarch/memmove.c: New file.
27955 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27956 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27957 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27958 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27959 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27960 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27961 Define.
27962 (index_Fast_Copy_Backward): Define.
27963 (HAS_ARCH_FEATURE): Define.
27964 (HAS_FAST_REP_STRING): Define.
27965 (HAS_FAST_COPY_BACKWARD): Define.
27966
4e733bac 279672010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27968
27969 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27970 Restore proper fallback handling.
27971
63c4ed22
UD
279722010-06-19 Ulrich Drepper <drepper@redhat.com>
27973
ac2b484c
UD
27974 [BZ #11701]
27975 * posix/group_member.c (__group_member): Correct checking loop.
27976
63c4ed22
UD
27977 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27978 OOM in getpwuid_r correctly. Return error number when the caller
27979 should return, otherwise -1.
27980 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27981 call returning > 0 value.
27982 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27983
765ade4b
AS
279842010-06-07 Andreas Schwab <schwab@redhat.com>
27985
27986 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27987 libc_nonshared.a from targets in modules-names.
27988
80da2e09
KS
279892010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27990
27991 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27992 requires it.
27993
158db122
LM
279942010-06-10 Luis Machado <luisgpm@br.ibm.com>
27995
27996 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27997 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27998 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27999 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28000
caa78cf8
AS
280012010-06-02 Andreas Schwab <schwab@redhat.com>
28002
28003 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28004
b2ef2c01
UD
280052010-06-14 Ulrich Drepper <drepper@redhat.com>
28006
28007 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28008 and F_GETPIPE_SZ.
28009 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28010 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28013 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28014 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28015
fbd643b6
RM
280162010-06-14 Roland McGrath <roland@redhat.com>
28017
28018 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28019
f32f2869
JJ
280202010-06-07 Jakub Jelinek <jakub@redhat.com>
28021
28022 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28023 __REDIRECT followed by __THROW.
28024 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28025 * posix/getopt.h (getopt): Likewise.
28026
2a50c078
EPM
280272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28028
28029 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28030 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28031 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28032 in AT_FLAGS.
28033 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28034 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28035
eb5ad2eb
LM
280362010-05-28 Luis Machado <luisgpm@br.ibm.com>
28037
28038 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28039
3c88fe1e
L
280402010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28041
28042 [BZ #11640]
28043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28044 Properly check family and model.
28045
d2f73151
TY
280462010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28047
28048 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28049
ebd2e13d
LM
280502010-05-24 Luis Machado <luisgpm@br.ibm.com>
28051
28052 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28053
b32b8b45
UD
280542010-05-21 Ulrich Drepper <drepper@redhat.com>
28055
28056 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28057 symbol reference.
28058
9acbe24d
AS
280592010-05-19 Andreas Schwab <schwab@redhat.com>
28060
28061 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28062 symbol reference.
28063
f0ccf6ea
AS
280642010-05-21 Andreas Schwab <schwab@redhat.com>
28065
3d04ff3a
AS
28066 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28067 and internal_recvmmsg.
28068 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28069 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28070 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28071 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28072
f0ccf6ea
AS
28073 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28074 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28075 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28076
5b08ac57
AS
280772010-05-20 Andreas Schwab <schwab@redhat.com>
28078
28079 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28080
4828935d
LM
280812010-05-17 Luis Machado <luisgpm@br.ibm.com>
28082
28083 POWER7 optimizations.
28084 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28085 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28086
373d545e
UD
280872010-05-19 Ulrich Drepper <drepper@redhat.com>
28088
28089 * version.h: Update for 2.13 development version.
28090
21a2b1ae
AS
280912010-05-12 Andrew Stubbs <ams@codesourcery.com>
28092
28093 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28094 exceptions. Return 0.
28095
3f7dcb2b
RM
280962010-05-07 Roland McGrath <roland@redhat.com>
28097
28098 * elf/ldconfig.c (main): Add a const.
28099
5f24d53a 281002010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28101
a160f8d8
UD
28102 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28103 (args_options): Add no-idn option.
28104 (ahosts_keys_int): Add idn_flags to ai_flags.
28105 (parse_option): Handle 'i' option to clear idn_flags.
28106
5f24d53a
UD
28107 * malloc/malloc.c (_int_free): Possible race in the most recently
28108 added check. Only act on the data if no current modification
28109 happened.
265bb1ce
UD
28110
28111See ChangeLog.17 for earlier changes.