]> sourceware.org Git - glibc.git/blob - ChangeLog
Clean up __MALLOC_* macros.
[glibc.git] / ChangeLog
1 2013-01-07 Joseph Myers <joseph@codesourcery.com>
2
3 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4 (__MALLOC_PMT): Likewise.
5 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6 [__GNUC__], only on [_LIBC].
7 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11 forward declaration.
12 (realloc_hook_ini): Likewise.
13 (memalign_hook_ini): Likewise.
14 (__libc_memalign): Do not use __MALLOC_PMT in variable
15 declaration.
16 (__libc_valloc): Likewise.
17 (__libc_pvalloc): Likewise.
18 (__libc_calloc): Likewise.
19 (__posix_memalign): Likewise.
20
21 [BZ #14996]
22 * math/s_casinh.c: Include <float.h>.
23 (__casinh): Do not do computation with squaring and square root
24 for large arguments.
25 * math/s_casinhf.c: Include <float.h>.
26 (__casinhf): Do not do computation with squaring and square root
27 for large arguments.
28 * math/s_casinhl.c: Include <float.h>.
29 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30 (__casinhl): Do not do computation with squaring and square root
31 for large arguments.
32 * math/libm-test.inc (casin_test): Add more tests.
33 (casinh_test): Likewise.
34 * sysdeps/i386/fpu/libm-test-ulps: Update.
35 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36
37 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
38
39 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40 (__x86_64_raw_data_cache_size): Likewise.
41 (__x86_64_data_cache_size_half): Likewise.
42 (__x86_64_raw_data_cache_size_half): Likewise.
43 (__x86_64_shared_cache_size): Likewise.
44 (__x86_64_raw_shared_cache_size): Likewise.
45 (__x86_64_shared_cache_size_half): Likewise.
46 (__x86_64_raw_shared_cache_size_half): Likewise.
47 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
48 to ...
49 (__x86_data_cache_size): This.
50 (__x86_64_raw_data_cache_size): Renamed to ...
51 (__x86_raw_data_cache_size): This.
52 (__x86_64_data_cache_size_half): Renamed to ...
53 (__x86_data_cache_size_half): This.
54 (__x86_64_raw_data_cache_size_half): Renamed to ...
55 (__x86_raw_data_cache_size_half): This.
56 (__x86_64_shared_cache_size): Renamed to ...
57 (__x86_shared_cache_size): This.
58 (__x86_64_raw_shared_cache_size): Renamed to ...
59 (__x86_raw_shared_cache_size): This.
60 (__x86_64_shared_cache_size_half): Renamed to ...
61 (__x86_shared_cache_size_half): This.
62 (__x86_64_raw_shared_cache_size_half): Renamed to ...
63 (__x86_raw_shared_cache_size_half): This.
64 * sysdeps/x86_64/memcpy.S: Updated.
65 * sysdeps/x86_64/memset.S: Likewise.
66 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
67 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69
70 2013-01-04 David S. Miller <davem@davemloft.net>
71
72 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73
74 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
75
76 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
77 1 to avoid redefinition warning.
78 (__USE_GNU): Don't define.
79 (init_signaling_nan): Protoize.
80
81 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82
83 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
84
85 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
86 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
87 (__cpymn): Likewise.
88 (norm): Remove commented code.
89 (denorm): Likewise.
90 (__mp_dbl): Likewise.
91 (__inv): Likewise.
92 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
93 (__cpymn): Likewise.
94 (norm): Remove commented code.
95 (denorm): Likewise.
96 (__mp_dbl): Likewise.
97 (__inv): Likewise.
98
99 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
100 mp_no value for 1.0 and 2.0.
101 (norm): Use RADIXI instead of radixi.d.
102 (denorm): Likewise.
103 (__mul): Use 0.0 instead of zero.d.
104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
105 mp_no value for 1.0 and 2.0.
106 (norm): Use RADIXI instead of radixi.d.
107 (denorm): Likewise.
108 (__mul): Use 0.0 instead of zero.d.
109
110 2013-01-04 Joseph Myers <joseph@codesourcery.com>
111
112 [BZ #14994]
113 * math/s_casinh.c (__casinh): Reduce finite argument to first
114 quadrant then set signs of results at the end.
115 * math/s_casinhf.c (__casinhf): Likewise.
116 * math/s_casinhl.c (__casinhl): Likewise.
117 * math/libm-test.inc (casin_test): Add more tests.
118 (casinh_test): Likewise.
119 * sysdeps/i386/fpu/libm-test-ulps: Update.
120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
121
122 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
123
124 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
125
126 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
127
128 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
129 declarations.
130 (denorm): Likewise.
131 (__mp_dbl): Likewise.
132 (__inv): Likewise.
133
134 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
135 and adjust the header comment.
136
137 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
138 variable name from declaration.
139
140 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
141
142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
143 Initialize COMMON_CPUID_INDEX_7 element.
144 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
145 (CPUID_RTM): Likewise.
146 (HAS_RTM): Likewise.
147 (COMMON_CPUID_INDEX_7): New enum.
148
149 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
150
151 [BZ #14981]
152 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
153 size is zero, record memory as freed.
154
155 2013-01-03 Andreas Jaeger <aj@suse.de>
156
157 * po/ia.po: Add new Interlingua translation.
158
159 2012-01-03 Allan McRae <allan@archlinux.org>
160
161 * locale/programs/localedef.c: Fix description of '--posix' flag.
162
163 2013-01-02 Joseph Myers <joseph@codesourcery.com>
164
165 * NEWS: Update dates in second copyright notice.
166 * README: Update copyright dates in example.
167 * manual/libc.texinfo: Update copyright dates.
168 * scripts/test-installation.pl: Update copyright date in --version
169 output.
170
171 * hurd/ctty-input.c: Fix copyright notice formatting.
172 * hurd/ctty-output.c: Likewise.
173 * hurd/dtable.c: Likewise.
174 * hurd/hurd-raise.c: Likewise.
175 * hurd/hurdprio.c: Likewise.
176 * hurd/msgportdemux.c: Likewise.
177 * misc/sys/file.h: Likewise.
178 * misc/sys/ioctl.h: Likewise.
179 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
180 * sysdeps/mach/hurd/chdir.c: Likewise.
181 * sysdeps/mach/hurd/fchdir.c: Likewise.
182 * sysdeps/mach/hurd/rename.c: Likewise.
183 * sysdeps/mach/hurd/rmdir.c: Likewise.
184 * sysdeps/mach/hurd/seekdir.c: Likewise.
185 * sysdeps/mach/hurd/setsid.c: Likewise.
186 * sysdeps/posix/wait3.c: Likewise.
187
188 * All files with FSF copyright notices: Update copyright dates
189 using scripts/update-copyrights.
190 * intl/plural.c: Regenerated.
191 * locale/programs/charmap-kw.h: Likewise.
192 * locale/programs/locfile-kw.h: Likewise.
193
194 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
195
196 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
197 four values.
198
199 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
200 calculation loop and add branch prediction.
201
202 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
203 check access beyond bounds of m1np.
204
205 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
206 MPTWO.
207 (__inv): Remove local variable MPTWO to use the global
208 constant.
209 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
210 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
211 variable MPTWO.
212 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
213 MP3HALFS static const.
214
215 2013-01-01 David S. Miller <davem@davemloft.net>
216
217 * po/ca.po: Update from translation team.
218
219 2013-01-01 Joseph Myers <joseph@codesourcery.com>
220
221 * scripts/update-copyrights: New file.
222 * Makeconfig: Reformat copyright notice.
223 * ctype/ctype.h: Likewise.
224 * debug/swprintf_chk.c: Likewise.
225 * elf/dl-cache.c: Likewise.
226 * elf/dl-debug.c: Likewise.
227 * elf/dl-object.c: Likewise.
228 * grp/initgroups.c: Likewise.
229 * hurd/Makefile: Likewise.
230 * hurd/hurd/signal.h: Likewise.
231 * hurd/hurdfault.c: Likewise.
232 * hurd/hurdioctl.c: Likewise.
233 * hurd/hurdlookup.c: Likewise.
234 * hurd/intr-msg.c: Likewise.
235 * iconv/gconv_open.c: Likewise.
236 * libio/swprintf.c: Likewise.
237 * locale/lc-ctype.c: Likewise.
238 * locale/nl_langinfo.c: Likewise.
239 * mach/Machrules: Likewise.
240 * mach/Makefile: Likewise.
241 * malloc/obstack.h: Likewise.
242 * manual/Makefile: Likewise.
243 * manual/tsort.awk: Likewise.
244 * misc/bits/stab.def: Likewise.
245 * nis/nis_print_group_entry.c: Likewise.
246 * nis/nis_table.c: Likewise.
247 * nis/nss_compat/compat-pwd.c: Likewise.
248 * nis/nss_compat/compat-spwd.c: Likewise.
249 * po/Makefile: Likewise.
250 * posix/fnmatch.c: Likewise.
251 * posix/regex.h: Likewise.
252 * resolv/Makefile: Likewise.
253 * resolv/nss_dns/dns-network.c: Likewise.
254 * resolv/res_hconf.c: Likewise.
255 * scripts/gen-sorted.awk: Likewise.
256 * soft-fp/soft-fp.h: Likewise.
257 * stdio-common/printf.h: Likewise.
258 * stdlib/monetary.h: Likewise.
259 * stdlib/random.c: Likewise.
260 * stdlib/random_r.c: Likewise.
261 * sysdeps/generic/Makefile: Likewise.
262 * sysdeps/gnu/Makefile: Likewise.
263 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
264 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
265 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
266 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
267 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
268 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
269 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
270 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
271 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
272 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
273 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
274 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
275 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
276 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
277 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
278 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
279 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
280 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
281 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
282 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
283 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
284 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
285 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
286 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
287 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
288 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
289 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
290 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
291 * sysdeps/mach/hurd/errnos.awk: Likewise.
292 * sysdeps/mach/hurd/fork.c: Likewise.
293 * sysdeps/mach/hurd/getcwd.c: Likewise.
294 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
295 * sysdeps/mach/hurd/mmap.c: Likewise.
296 * sysdeps/mach/hurd/utimes.c: Likewise.
297 * sysdeps/mach/hurd/xmknod.c: Likewise.
298 * sysdeps/posix/profil.c: Likewise.
299 * sysdeps/posix/readdir_r.c: Likewise.
300 * sysdeps/powerpc/bits/mathdef.h: Likewise.
301 * sysdeps/powerpc/bits/setjmp.h: Likewise.
302 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
303 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
305 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
306 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
307 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
309 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
310 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
311 * sysdeps/pthread/lio_listio.c: Likewise.
312 * sysdeps/sparc/dl-procinfo.h: Likewise.
313 * sysdeps/unix/i386/sysdep.S: Likewise.
314 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
315 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
316 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
317 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
319 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
320 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
321 * sysdeps/unix/sysv/linux/speed.c: Likewise.
322 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
323 * sysdeps/wordsize-32/divdi3.c: Likewise.
324 * time/sys/time.h: Likewise.
325 * wcsmbs/Makefile: Likewise.
326
327 2013-01-01 David S. Miller <davem@davemloft.net>
328
329 * po/fr.po: Update from translation team.
330
331 * catgets/gencat.c: Update copyright year.
332 * csu/version.c: Likewise.
333 * debug/catchsegv.sh: Likewise.
334 * debug/pcprofiledump.c: Likewise.
335 * debug/xtrace.sh: Likewise.
336 * elf/ldconfig.c: Likewise.
337 * elf/ldd.bash.in: Likewise.
338 * elf/pldd.c: Likewise.
339 * elf/sotruss.ksh: Likewise.
340 * elf/sprof.c: Likewise.
341 * iconv/iconv_prog.c: Likewise.
342 * iconv/iconvconfig.c: Likewise.
343 * locale/programs/locale.c: Likewise.
344 * locale/programs/localedef.c: Likewise.
345 * login/programs/pt_chown.c: Likewise.
346 * malloc/memusage.sh: Likewise.
347 * malloc/memusagestat.c: Likewise.
348 * malloc/mtrace.pl: Likewise.
349 * nscd/nscd.c: Likewise.
350 * nss/getent.c: Likewise.
351 * nss/makedb.c: Likewise.
352 * posix/getconf.c: Likewise.
353
354 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
355
356 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
357 numbers.
358
359 2012-12-30 Mike Frysinger <vapier@gentoo.org>
360
361 * math/bits/mathcalls.h (modf): Use __nonnull.
362
363 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
364
365 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
366 (split): Use macro CN instead of the bare value.
367 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
368 could be used.
369 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
370 instead of the bare value.
371 (power1): Likewise.
372
373 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
374
375 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
376 __ATAN_TWOM.
377 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
378
379 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
380 their values.
381 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
382 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
383 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
384 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
385
386 2012-12-28 Andreas Jaeger <aj@suse.de>
387
388 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
389 values are from Linux 3.7.
390
391 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
392 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
393
394 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
395
396 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
397 TRUE case.
398
399 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
400 (norm): Likewise.
401 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
402 variables with preprocessor constants.
403 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
404 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
405 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
406
407 2012-12-27 Bruno Haible <bruno@clisp.org>
408
409 [BZ #14317]
410 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
411 only if needed.
412
413 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
414
415 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
416 and use variable directly.
417 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
418
419 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
420 MPONE.
421 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
422 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
423 variable MPONE.
424 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
426 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
427 include directive. Remove local variable MPONE.
428 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
429 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
430 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
431
432 2012-12-25 David S. Miller <davem@davemloft.net>
433
434 * version.h (RELEASE): Set to "development".
435 (VERSION): Set to "2.17.90".
436 * NEWS: Add 2.18 section.
437
438 2012-12-21 David S. Miller <davem@davemloft.net>
439
440 * po/hr.po: Update from translation team.
441
442 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
443
444 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
445
446 2012-12-19 Steve Ellcey <sellcey@mips.com>
447
448 * NEWS: Mention new memcpy for MIPS.
449
450 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
451
452 * manual/contrib.texi (Contributors): Spelling correction.
453
454 2012-12-15 David S. Miller <davem@davemloft.net>
455
456 * po/ru.po: Update from translation team.
457
458 2012-12-13 David S. Miller <davem@davemloft.net>
459
460 * NEWS: Mention IFUNC testsuite enhancements.
461
462 * po/pl.po: Update from translation team.
463 * po/bg.po: Likewise.
464
465 * manual/contrib.texi (Contributors): Update entries for Hongjiu
466 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
467
468 2012-12-11 David S. Miller <davem@davemloft.net>
469
470 * po/sv.po: Update from translation team.
471
472 * po/vi.po: Update from translation team.
473
474 * po/cs.po: Update from translation team.
475
476 * po/de.po: Update from translation team.
477 * po/eo.po: Likewise.
478 * po/nl.po: Likewise.
479
480 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
481
482 [BZ #14246]
483 * manual/argp.texi (Argp Helper Functions): Move node to follow
484 Argp Parsing State.
485
486 [BZ #14872]
487 * manual/conf.texi (Limits on File System Capacity): Mention if
488 terminating null is included in the max size.
489
490 2012-12-10 Andreas Jaeger <aj@suse.de>
491
492 * po/cs.po: Update from translation team.
493
494 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
495
496 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
497 void pointer and cast to uintptr_t.
498 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
499 path.
500 * sysdeps/s390/s390-64/memcpy.S: Likewise.
501 * sysdeps/s390/s390-64/memset.S: Likewise.
502
503 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
504
505 [BZ #14833]
506 * menual/message.texi (Message Translation): Fix typos.
507 (Helper programs for gettext): Likewise.
508
509 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
510
511 [BZ #14898]
512 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
513 Change to -1.
514
515 2012-12-07 David S. Miller <davem@davemloft.net>
516
517 * po/libc.pot: Update.
518
519 2012-12-07 Richard Henderson <rth@redhat.com>
520
521 [BZ #10114]
522 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
523 normal/normal case to before the switch.
524 (_FP_DIV): Likewise.
525
526 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
527 Mike Frysinger <vapier@gentoo.org>
528
529 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
530 check for __NR_fadvise64_64.
531
532 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
533
534 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
535 0, not just to plain "0" as a statement.
536 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
537 with cw.
538
539 2012-12-06 Joseph Myers <joseph@codesourcery.com>
540
541 * NEWS: Use sourceware.org in Bugzilla URL.
542
543 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
544
545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
546 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
547
548 * stdio-common/tst-put-error.c (do_test): Add newline to the
549 padded test to ensure flush.
550
551 2012-12-05 Jeff Law <law@redhat.com>
552
553 * sunrpc/etc.rpc (fedfs_admin): Add entry.
554
555 2012-12-05 Joseph Myers <joseph@codesourcery.com>
556
557 * README: Don't refer to ports add-on as distributed separately.
558 Mention AArch64 in list of systems supported in the ports add-on.
559
560 * LICENSES: Add more non-FSF copyright and license notices.
561
562 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
563 ((unused)).
564
565 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
566
567 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
568 10000 as width of padded output.
569
570 2012-12-04 Joseph Myers <joseph@codesourcery.com>
571
572 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
573
574 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
575 variable LX with __attribute__ ((unused)).
576 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
577 Likewise.
578 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
579 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
580 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
581 with __attribute__ ((unused)).
582
583 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
584
585 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
586
587 2012-12-04 Joseph Myers <joseph@codesourcery.com>
588
589 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
590 (CFLAGS-nldbl-acos.c): New variable.
591 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
592 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
593 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
594 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
595 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
596 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
597 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
598 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
599 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
600 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
601 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
602 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
603 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
604 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
605 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
606 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
607 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
608 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
609 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
610 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
611 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
612 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
613 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
614 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
615 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
616 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
617 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
618 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
619 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
620 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
621 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
622 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
623 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
624 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
625 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
626 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
627 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
628 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
629 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
630 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
631 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
632 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
633 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
634 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
635 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
636 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
637 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
638 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
639 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
640 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
641 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
642 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
643 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
644 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
645 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
646 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
647 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
648 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
649 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
650 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
651 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
652 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
653 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
654 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
655 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
656 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
657 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
658 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
659 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
660 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
661 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
662 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
663 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
664 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
665 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
666 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
667 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
668 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
669 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
670 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
671 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
672 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
673 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
674 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
675 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
676 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
677 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
678 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
679 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
680 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
681 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
682 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
683 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
684 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
685 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
686 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
687 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
688
689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
690 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
691
692 [BZ #14914]
693 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
694 whole low double instead of just low 47 bits when splitting values
695 into two parts.
696
697 2012-12-03 Allan McRae <allan@archlinux.org>
698
699 * manual/stdio.texi (Predefined Printf Handlers): Remove
700 @hsep and @vsep usage.
701
702 2012-12-03 Mike Frysinger <vapier@gentoo.org>
703
704 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
705 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
706
707 2012-12-03 Jeff Law <law@redhat.com>
708
709 * time/sys/time.h (settimeofday): Do not mark TV argument
710 as __nonnull.
711
712 2012-12-01 Mike Frysinger <vapier@gentoo.org>
713
714 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
715 when currently writing and seek to current position when not.
716 * libio/Makefile (tests): Remove bug-fclose1.
717 * libio/bug-fclose1.c: Delete.
718
719 2012-12-01 Joseph Myers <joseph@codesourcery.com>
720
721 * manual/arith.texi (feenableexcept): Fix typo.
722 (fedisableexcept): Likewise.
723
724 2012-11-30 Roland McGrath <roland@hack.frob.com>
725
726 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
727 second, differently-typed declaration, rather than a cast.
728
729 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
730
731 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
732 * include/rpc/svc.h: ... here.
733
734 2012-11-30 Aurelien Jarno <aurel32@debian.org>
735
736 [BZ #13013]
737 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
738 depending n and resplen2 to catch cases where answer
739 equals answerp2.
740
741 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
742
743 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
744 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
745
746 2012-11-29 Mike Frysinger <vapier@gentoo.org>
747
748 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
749
750 2012-11-29 Roland McGrath <roland@hack.frob.com>
751
752 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
753
754 2012-11-28 Jeff Law <law@redhat.com>
755
756 [BZ #13761]
757 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
758 dataset_temporary. Track alloca usage into alloca_used.
759 If dataset is large allocate and release it via malloc/free.
760
761 2012-06-04 Florian Weimer <fweimer@redhat.com>
762
763 [BZ #14197]
764 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
765
766 2012-11-28 David S. Miller <davem@davemloft.net>
767
768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
769
770 2012-11-28 Joseph Myers <joseph@codesourcery.com>
771
772 [BZ #14803]
773 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
774 of pi/2 rounded to nearest to 64 bits.
775 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
776 nearest to 64 bits.
777 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
778 bits.
779
780 2012-11-28 Jeff Law <law@redhat.com>
781 Martin Osvald <mosvald@redhat.com>
782
783 [BZ #14889]
784 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
785 * sunrpc/svc.c: Include time.h.
786 (__svc_accept_failed): New function.
787 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
788 any reason other than EINTR, call __svc_accept_failed.
789 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
790 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
791
792 2012-11-28 Andreas Schwab <schwab@suse.de>
793
794 * scripts/abilist.awk: Also handle indirect functions in .opd
795 section.
796
797 2012-11-28 Joseph Myers <joseph@codesourcery.com>
798
799 [BZ #13881]
800 * sysdeps/x86/fpu/powl_helper.c: New file.
801 * sysdeps/x86/fpu/Makefile: Likewise.
802 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
803 (p3): New object.
804 (__ieee754_powl): Use __powl_helper for finite arguments except
805 integer exponents below 8.
806 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
807 (p3): New object.
808 (__ieee754_powl): Use __powl_helper for finite arguments except
809 integer exponents below 8.
810 * math/libm-test.inc (pow_test): Add more tests and enable some
811 previously disabled tests.
812 * sysdeps/i386/fpu/libm-test-ulps: Update.
813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
814
815 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
816 Carlos O'Donell <carlos_odonell@mentor.com>
817
818 * nss/makedb.c (is_prime): Assert that input is odd and greater
819 than 4. Note that fact in a comment too.
820 (next_prime): Add 4 to input.
821
822 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
823
824 [BZ #11741]
825 * libio/Makefile (tests): Add test case tst-fwrite-error.
826 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
827 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
828 * libio/tst-fwrite-error.c: New test case.
829
830 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
831
832 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
833 before casting to void *.
834 * include/libc-internal.h (__pointer_type): New macro.
835 (__integer_if_pointer_type_sub): Likewise.
836 (__integer_if_pointer_type): Likewise.
837 (cast_to_integer): Likewise.
838 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
839 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
840 before casting to atomic64_t.
841 (atomic_exchange_acq): Likewise.
842 (__arch_exchange_and_add_body): Likewise.
843 (__arch_add_body): Likewise.
844 (atomic_add_negative): Likewise.
845 (atomic_add_zero): Likewise.
846
847 2012-11-26 Joseph Myers <joseph@codesourcery.com>
848
849 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
850 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
851 (add_fdes): Likewise.
852 (linear_search_fdes): Likewise.
853 (binary_search_unencoded_fdes): Likewise.
854
855 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
856
857 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
858
859 2012-11-24 Adam Conrad <adconrad@0c3.net>
860
861 * configure.in: Autodetect C++ header directories.
862 * configure: Regenerated.
863
864 2012-11-23 Mike Frysinger <vapier@gentoo.org>
865
866 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
867
868 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
869
870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
871
872 2012-11-22 Joseph Myers <joseph@codesourcery.com>
873
874 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
875 LDBL_MANT_DIG == 106]: Disable some tests.
876 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
877 Likewise.
878 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
879 Likewise.
880
881 [BZ #14871]
882 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
883 input for small inputs. Return +/- pi/2 for large inputs.
884 * math/libm-test.inc (atan_test): Add more tests.
885
886 * sysdeps/generic/unwind-dw2-fde-glibc.c
887 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
888 __attribute__ ((unused)).
889
890 [BZ #14645]
891 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
892 x * y if x and y are nonzero and z is zero.
893
894 [BZ #14811]
895 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
896 nonzero exponents with absolute value below 0x1p-117 to +/-
897 0x1p-117.
898
899 [BZ #14869]
900 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
901 up arguments below 2**-450, not just those below 2**-500.
902 * math/libm-test.inc (hypot_test): Add another test.
903
904 [BZ #14868]
905 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
906 Return a+b for ratio over 2**120, not 2**60.
907 * math/libm-test.inc (hypot_test): Add another test.
908
909 * math/libm-test.inc (clog_test): Use
910 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
911 (clog10_test): Likewise.
912
913 [BZ #6778]
914 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
915
916 2012-11-22 Andreas Schwab <schwab@suse.de>
917
918 * sysdeps/i386/fpu/libm-test-ulps: Update.
919
920 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
921
922 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
923 printf output with newline.
924
925 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
926
927 [BZ #14865]
928 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
929 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
930 -z nodlopen, -z initfirst and -z execstack support.
931 * configure: Regenerated.
932
933 * elf/elf.h (DF_1_NODIRECT): New macro.
934 (DF_1_IGNMULDEF): Likewise.
935 (DF_1_NOKSYMS): Likewise.
936 (DF_1_NOHDR): Likewise.
937 (DF_1_EDITED): Likewise.
938 (DF_1_NORELOC): Likewise.
939 (DF_1_SYMINTPOSE): Likewise.
940 (DF_1_GLOBAUDIT): Likewise.
941 (DF_1_SINGLETON): Likewise.
942 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
943 DT_1_SUPPORTED_MASK bits.
944 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
945
946 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
947
948 * sysdeps/unix/make-syscalls.sh: Document prefixes.
949
950 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
951
952 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
953 macro.
954
955 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
956 (sendmmsg): Move declarations...
957 * socket/sys/socket.h: ... here.
958 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
959 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
960 include it from...
961 * socket/recvmmsg.c: ... this new file.
962 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
963 (sendmmsg): Rename to __sendmmsg, create weak alias and make
964 definition of __sendmmsg hidden.
965 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
966 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
967 Move ENOSYS stub into and include it from...
968 * socket/sendmmsg.c: ... this new file.
969 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
970 (sysdep_routines): Move recvmmsg and sendmmsg...
971 * socket/Makefile (routines): ... here.
972 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
973 (GLIBC_PRIVATE): Add __sendmmsg.
974 * include/sys/socket.h (__sendmmsg): Add declarations.
975 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
976 sendmmsg.
977
978 2012-11-20 Joseph Myers <joseph@codesourcery.com>
979
980 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
981 variable I1 with __attribute__ ((unused)).
982 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
983
984 2012-11-19 Joseph Myers <joseph@codesourcery.com>
985
986 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
987 DUMMY variables with __attribute__ ((unused)).
988
989 * bits/byteswap.h: Include <bits/types.h>.
990 (__bswap_64): Use __uint64_t instead of unsigned long long int.
991
992 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
993
994 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
995 string_t. Do not manually set errno.
996 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
997 length with __strnlen. Make sure to both set errno and return it on
998 failure.
999
1000 2012-11-19 David S. Miller <davem@davemloft.net>
1001
1002 With help from Joseph Myers.
1003 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1004 very large arguments properly.
1005 * math/libm-test.inc (atan_test): New tests.
1006 (atan2_test): New tests.
1007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1009
1010 2012-11-19 Joseph Myers <joseph@codesourcery.com>
1011
1012 [BZ #14856]
1013 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1014 Define to 3.
1015
1016 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1017 [POSIX] (EADDRNOTAVAIL): Likewise.
1018 [POSIX] (EAFNOSUPPORT): Likewise.
1019 [POSIX] (EALREADY): Likewise.
1020 [POSIX] (ECONNABORTED): Likewise.
1021 [POSIX] (ECONNREFUSED): Likewise.
1022 [POSIX] (ECONNRESET): Likewise.
1023 [POSIX] (EDESTADDRREQ): Likewise.
1024 [POSIX] (EDQUOT): Likewise.
1025 [POSIX] (EHOSTUNREACH): Likewise.
1026 [POSIX] (EIDRM): Likewise.
1027 [POSIX] (EISCONN): Likewise.
1028 [POSIX] (ELOOP): Likewise.
1029 [POSIX] (EMULTIHOP): Likewise.
1030 [POSIX] (ENETDOWN): Likewise.
1031 [POSIX] (ENETUNREACH): Likewise.
1032 [POSIX] (ENOBUFS): Likewise.
1033 [POSIX] (ENODATA): Likewise.
1034 [POSIX] (ENOLINK): Likewise.
1035 [POSIX] (ENOMSG): Likewise.
1036 [POSIX] (ENOPROTOOPT): Likewise.
1037 [POSIX] (ENOSR): Likewise.
1038 [POSIX] (ENOSTR): Likewise.
1039 [POSIX] (ENOTCONN): Likewise.
1040 [POSIX] (ENOTSOCK): Likewise.
1041 [POSIX] (EOPNOTSUPP): Likewise.
1042 [POSIX] (EOVERFLOW): Likewise.
1043 [POSIX] (EPROTO): Likewise.
1044 [POSIX] (EPROTONOSUPPORT): Likewise.
1045 [POSIX] (EPROTOTYPE): Likewise.
1046 [POSIX] (ESTALE): Likewise.
1047 [POSIX] (ETIME): Likewise.
1048 [POSIX] (ETXTBSY): Likewise.
1049 [POSIX] (EWOULDBLOCK): Likewise.
1050 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1051 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1052 [POSIX] (SEEK_CUR): Likewise.
1053 [POSIX] (SEEK_END): Likewise.
1054 [POSIX || UNIX98] (mode_t): Do not require.
1055 [POSIX] (off_t): Likewise.
1056 [POSIX] (pid_t): Likewise.
1057 [POSIX] (sys/stat.h): Do not allow header.
1058 [POSIX] (unistd.h): Likewise.
1059 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1060 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1061 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1062 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1063 require.
1064 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1065 sigevent): Specify elements.
1066 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1067 entry.
1068 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1069 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1070
1071 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1072 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1073 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1074 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1075 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1076 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1077 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1078 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1079 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1080 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1081 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1082 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1083 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1084 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1085 Likewise.
1086 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1087 Likewise.
1088 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1089 Likewise.
1090 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1091 Likewise.
1092 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1093 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1094 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1095 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1096 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1097 Specify lower bound on value.
1098 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1099 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1100 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1101 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1102 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1103 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1104 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1105 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1106 value.
1107 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1108 as optional.
1109 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1110 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1111 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1112 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1113 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1114 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1115 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1116 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1117 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1118 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1119 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1120 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1121 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1122 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1123 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1124 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1125 entry.
1126 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1127 optional.
1128 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1129 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1130 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1131 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1132 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1133 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1134 Likewise.
1135 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1136 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1137 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1138 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1139 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1140 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1141 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1142 as optional.
1143 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1144 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1145 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1146 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1147 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1148 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1149 specify as optional.
1150 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1151 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1152 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1153 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1154 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1155 [XPG3] (NL_LANGMAX): Likewise.
1156 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1157 [POSIX || XPG3] (NL_NMAX): Likewise.
1158 [POSIX || XPG3] (NL_SETMAX): Likewise.
1159 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1160 [XPG3] (NZERO): Likewise.
1161 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1162 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1163 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1164 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1165 (REG_ERANGE): Expect.
1166 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1167 optional-constant.
1168 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1169 Use (void) in prototype.
1170 [POSIX] (*_t): Allow.
1171 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1172 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1173 (WRDE_BADVAL): Expect.
1174
1175 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1176 expect.
1177 [XPG3 || XPG4] (O_RSYNC): Likewise.
1178 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1179 Likewise.
1180 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1181 [XPG3 || XPG4] (sigqueue): Likewise.
1182 [XPG3 || XPG4] (sigtimedwait): Likewise.
1183 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1184 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1185 [XPG3 || XPG4] (vsnprintf): Likewise.
1186 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1187 Likewise.
1188 [XPG3 || XPG4] (blksize_t): Likewise.
1189 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1190 Likewise.
1191 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1192 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1193 [XPG3 || XPG4] (struct itimerspec): Likewise.
1194 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1195 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1196 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1197 [XPG3 || XPG4] (clockid_t): Likewise.
1198 [XPG3 || XPG4] (timer_t): Likewise.
1199 [XPG3 || XPG4] (clock_getres): Likewise.
1200 [XPG3 || XPG4] (clock_gettime): Likewise.
1201 [XPG3 || XPG4] (clock_settime): Likewise.
1202 [XPG3 || XPG4] (nanosleep): Likewise.
1203 [XPG3 || XPG4] (timer_create): Likewise.
1204 [XPG3 || XPG4] (timer_delete): Likewise.
1205 [XPG3 || XPG4] (timer_gettime): Likewise.
1206 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1207 [XPG3 || XPG4] (timer_settime): Likewise.
1208 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1209 [XPG3 || XPG4] (getlogin_r): Likewise.
1210 [XPG3 || XPG4] (pread): Likewise.
1211 [XPG3 || XPG4] (pthread_atfork): Likewise.
1212 [XPG3 || XPG4] (pwrite): Likewise.
1213
1214 [BZ #14835]
1215 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1216 <bits/siginfo.h>.
1217
1218 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1219
1220 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1221 finalizing MALLSTREAM.
1222
1223 * sysdeps/mach/hurd/syncfs.c: New file.
1224
1225 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1226
1227 [BZ #14719]
1228 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1229 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1230 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1231 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1232 (_nss_dns_gethostbyname4_r): Likewise.
1233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1234 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1235
1236 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1237
1238 [BZ #13763]
1239 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1240
1241 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1242
1243 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1244 * elf/cache.c (print_entry): Print ",AArch64" for
1245 FLAG_AARCH64_LIB64
1246
1247 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1248 * elf/cache.c (print_entry): Print ",hard-float" for
1249 FLAG_ARM_LIBHF.
1250
1251 2012-11-18 David S. Miller <davem@davemloft.net>
1252
1253 With help from Joseph Myers.
1254 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1255 cutoff to 2**-13.
1256 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1257 cutoff to 2**-25.
1258 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1259 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1260 small.
1261 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1262 * math/libm-test.inc (y0_test): New tests.
1263 (y1_test): New tests.
1264 * sysdeps/i386/fpu/libm-test-ulps: Update.
1265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1267
1268 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1269
1270 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1271 64-bit targets.
1272 * configure: Regenerated.
1273
1274 2012-11-17 David S. Miller <davem@davemloft.net>
1275
1276 [BZ #14811]
1277 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1278 nonzero exponents with absolute value below 0x1p-128 to +/-
1279 0x1p-128.
1280
1281 2012-11-17 Joseph Myers <joseph@codesourcery.com>
1282
1283 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1284
1285 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1286
1287 * posix/getconf-speclist.c: New file.
1288 * posix/posix-envs.def: Likewise.
1289 * posix/confstr.c (START_ENV_GROUP): New macro.
1290 (END_ENV_GROUP): Likewise.
1291 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1292 (KNOWN_PRESENT_ENV_STRING): Likewise.
1293 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1294 (UNKNOWN_ENVIRONMENT): Likewise.
1295 (confstr): Include posix-envs.def instead of handling
1296 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1297 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1298 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1299 (END_ENV_GROUP): Likewise.
1300 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1301 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1302 (UNKNOWN_ENVIRONMENT): Likewise.
1303 (__sysconf): Include posix-envs.def instead of handling associated
1304 cases directly here.
1305 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1306 preprocessing getconf-speclist.c rather than running getconf or
1307 generating empty file.
1308
1309 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1310
1311 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1312
1313 2012-11-16 Andrej Lajovic <natrij@gmail.com>
1314
1315 [BZ #14672]
1316 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1317
1318 2012-11-16 David S. Miller <davem@davemloft.net>
1319
1320 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1321 smaller than LDBL_EPSILON/2.0L, just return xm1.
1322
1323 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1324
1325 * elf/tst-array1.c (init): Set constructor priority to 1000.
1326 (fini): Set destructor priority to 1000.
1327 * elf/tst-array2dep.c: Likewise.
1328
1329 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1330
1331 [BZ #11741]
1332 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1333 (_IO_new_file_xsputn): Also return EOF if none of the input
1334 data was written when overflow failed.
1335 * libio/iopadn.c (_IO_padn): Likewise.
1336 * libio/iowpadn.c (_IO_wpadn): Likewise.
1337 * stdio-common/tst-put-error.c: Add copyright notice.
1338 (do_test): Add case for printing padded string.
1339 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1340 _IO_padn returned error.
1341 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1342 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1343 return EOF.
1344
1345 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1346
1347 * libio/libioP.h: Add comment note that the references to C++
1348 bits are now obsolete.
1349
1350 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1351
1352 * math/libm-test.inc (check_complex): Use asprintf.
1353
1354 2012-11-14 Joseph Myers <joseph@codesourcery.com>
1355
1356 * debug/pcprofiledump.c (print_version): Update copyright year.
1357 * malloc/memusagestat.c (print_version): Likewise.
1358
1359 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1360
1361 [BZ #14831]
1362 * elf/Makefile (tests): Add tst-audit8.
1363 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1364 ($(objpfx)tst-audit8.out): New target.
1365 (tst-audit8-ENV): New variable.
1366 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1367 audit if l_reloc_result is NULL.
1368 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1369 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1370 * elf/tst-audit8.c: New file.
1371
1372 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1373
1374 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1375 * misc/Makefile (CFLAGS-select.c): Define.
1376 * posix/Makefile (CFLAGS-pause.c): Define.
1377
1378 2012-11-13 David S. Miller <davem@davemloft.net>
1379
1380 * crypt/Makefile: Move test targets after toplevel Rules
1381 inclusion. Grab any necessary sysdep routines when linking.
1382 * crypt/md5.c (md5_process_block): Remove define, we will always
1383 name it __md5_process_block.
1384 (md5_finish_ctx): Update md5_process_block call.
1385 (md5_stream): Likewise.
1386 (md5_process_bytes): Likewise.
1387 (md5_process_block): Rename to __md5_process_block and move to ...
1388 * crypt/md5-block.c: ... here.
1389 * crypt/sha256.c (sha256_process_block): Move to ...
1390 * crypt/sha256-block.c: ... here.
1391 * crypt/sha512.c (sha512_process_block): Move to ...
1392 * crypt/sha512-block.c: ... here.
1393 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1394 path.
1395 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1396 * sysdeps/sparc/sparc64/multiarch/Makefile
1397 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1398 crypt subdir.
1399 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1400 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1401 multiarch changes.
1402 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1403 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1404 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1405 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1406 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1407 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1408 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1409 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1410 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1411 file.
1412 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1413 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1414 file.
1415 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1416
1417 2012-11-13 Joseph Myers <joseph@codesourcery.com>
1418
1419 * timezone/tzselect.ksh: Update from tzcode git revision
1420 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1421 * timezone/zdump.c: Likewise.
1422 * timezone/zic.c: Likewise.
1423 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1424 in TZVERSION setting, not $(PKGVERSION).
1425 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1426 REPORT_BUGS_TO settings.
1427
1428 [BZ #14838]
1429 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1430 macro.
1431
1432 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1433
1434 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1435 detection to immediately after _FP_ROUND().
1436 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1437 bits are 0.
1438
1439 2012-11-11 David S. Miller <davem@davemloft.net>
1440
1441 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1442 inttypes.h
1443 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1444 __close rather than their public counterparts.
1445
1446 2012-11-10 Joseph Myers <joseph@codesourcery.com>
1447
1448 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1449 file.
1450 [UNIX98] (sem_timedwait): Do not expect.
1451 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1452 [XPG4 || UNIX98] (sockatmark): Do not expect.
1453 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1454 (clock_getcpuclockid): Do not expect.
1455 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1456 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1457 Do not expect.
1458 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1459 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1460 [UNIX98] (vwscanf): Likewise.
1461 [UNIX98] (vswscanf): Likewise.
1462
1463 2012-11-09 Joseph Myers <joseph@codesourcery.com>
1464
1465 * timezone/version.h: Remove file.
1466 * timezone/README: Do not refer to version.h.
1467 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1468 $(objpfx)version.h.
1469 ($(objpfx)zdump.o): Likewise.
1470 ($(objpfx)version.h): New target.
1471
1472 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1473 2012i.
1474 * timezone/README: Don't mention modification to tzselect.ksh.
1475 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1476 work on unmodified tzselect.ksh. Substitute version numbers in
1477 tzselect.ksh.
1478
1479 * Makefile (format-me): Remove.
1480 (INSTALL): Adjust indentation. Use commands directly instead of
1481 using $(format-me).
1482
1483 * aclocal.m4 (ACX_PKGVERSION): New macro.
1484 (ACX_BUGURL): Likewise.
1485 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1486 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1487 (REPORT_BUGS_TO): Likewise.
1488 * configure: Regenerated.
1489 * config.h.in (PKGVERSION): New macro.
1490 (REPORT_BUGS_TO): Likewise.
1491 * config.make.in (PKGVERSION): New variable.
1492 (PKGVERSION_TEXI): Likewise.
1493 (REPORT_BUGS_TO): Likewise.
1494 (REPORT_BUGS_TEXI): Likewise.
1495 * Makefile (format-me): Use -I$(common-objpfx)manual.
1496 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1497 ($(common-objpfx)manual/%): New target.
1498 (manual/%): Remove target.
1499 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1500 (print_version): Use PKGVERSION.
1501 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1502 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1503 and REPORT_BUGS_TO.
1504 ($(objpfx)xtrace): Likewise.
1505 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1506 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1507 (print_version): Use PKGVERSION.
1508 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1509 (do_version): Use PKGVERSION.
1510 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1511 REPORT_BUGS_TO.
1512 (common-ldd-rewrite): Likewise.
1513 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1514 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1515 (print_version): Use PKGVERSION.
1516 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1517 * elf/pldd.c (argp_program_bug_address): Remove variable.
1518 (more_help): New function.
1519 (argp): Use more_help.
1520 (print_version): Use PKGVERSION.
1521 * elf/sln.c (main): Use PKGVERSION.
1522 (usage): Use REPORT_BUGS_TO.
1523 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1524 (top level): Use PKGVERSION.
1525 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1526 (print_version): Use PKGVERSION.
1527 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1528 (print_version): Use PKGVERSION.
1529 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1530 (print_version): Use PKGVERSION.
1531 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1532 (print_version): Use PKGVERSION.
1533 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1534 (print_version): Use PKGVERSION.
1535 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1536 (print_version): Use PKGVERSION.
1537 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1538 and BUGURL.
1539 ($(objpfx)memusage): Likewise.
1540 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1541 (do_version): Use PKGVERSION.
1542 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1543 (print_version): Use PKGVERSION.
1544 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1545 ($PKGVERSION): New variable.
1546 ($REPORT_BUGS_TO): Likewise.
1547 (usage): Use $REPORT_BUGS_TO.
1548 (top level): Use $PKGVERSION.
1549 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1550 ($(objpfx)pkgvers.texi): New rule.
1551 ($(objpfx)stamp-pkgvers): Likewise.
1552 * manual/install.texi: Include pkgvers.texi.
1553 (--with-pkgversion): Document new configure option.
1554 (--with-bugurl): Likewise.
1555 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1556 than necessarily for this particular distribution. Use
1557 REPORT_BUGS_TO for where to report bugs.
1558 * INSTALL: Regenerated.
1559 * manual/libc.texinfo: Include pkgvers.texi.
1560 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1561 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1562 (print_version): Use PKGVERSION.
1563 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1564 (print_version): Use PKGVERSION.
1565 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1566 (print_version): Use PKGVERSION.
1567 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1568 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1569 macro.
1570 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1571 (print_version): Use PKGVERSION.
1572 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1573 (print_version): Use PKGVERSION.
1574 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1575 and PKGVERSION.
1576
1577 * timezone/checktab.awk: Update from tzcode 2012i.
1578 * timezone/ialloc.c: Likewise.
1579 * timezone/private.h: Likewise.
1580 * timezone/scheck.c: Likewise.
1581 * timezone/tzfile.h: Likewise.
1582 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1583 (TZVERSION): Hardcode tzcode version number.
1584 * timezone/zdump.c: Update from tzcode 2012i.
1585 * timezone/zic.c: Likewise.
1586 * timezone/version.h: New file.
1587 * timezone/README: Describe version.h. Update upstream location.
1588
1589 [BZ #14824]
1590 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1591 (mktemp): Enable declaration.
1592 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1593 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1594 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1595 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1596 Likewise.
1597 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1598 Likewise.
1599 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1600 Likewise.
1601 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1602 Likewise.
1603 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1604 Likewise.
1605 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1606 Likewise.
1607
1608 [BZ #14821]
1609 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1610 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1611 for copies of such integer values.
1612 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1613 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1614
1615 2012-11-09 Andreas Jaeger <aj@suse.de>
1616
1617 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1618 definitions and declarations that are provided by
1619 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1620
1621 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1622
1623 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1624 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1625 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1626 definition.
1627
1628 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1629
1630 * elf/elf.h: Update comment before AArch64 relocations.
1631
1632 2012-11-07 David S. Miller <davem@davemloft.net>
1633
1634 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1635 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1636 (__start_context): Declare.
1637 (__makecontext_ret): Delete.
1638 (__makecontext): Hook up __start_context instead of
1639 __makecontext_ret.
1640 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1641 (sysdep_routines): Add __start_context when in stdlib.
1642
1643 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1644
1645 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1646 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1647 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1648 hardcoded "nm".
1649 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1650 (READELF): New variable. Use it instead of hardcoded "readelf".
1651
1652 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1653
1654 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1655 * sysdeps/x86/Makefile: Here.
1656 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1657 * sysdeps/x86/tst-xmmymm.sh: This.
1658
1659 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1660
1661 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1662 expectations.
1663 [UNIX98] (pthread_barrier_t): Do not expect.
1664 [UNIX98] (pthread_barrierattr_t): Likewise.
1665 [UNIX98] (pthread_spinlock_t): Likewise.
1666 [UNIX98] (pthread_barrier_destroy): Likewise.
1667 [UNIX98] (pthread_barrier_init): Likewise.
1668 [UNIX98] (pthread_barrier_wait): Likewise.
1669 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1670 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1671 [UNIX98] (pthread_barrierattr_init): Likewise.
1672 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1673 [UNIX98] (pthread_getcpuclockid): Likewise.
1674 [UNIX98] (pthread_mutex_timedlock): Likewise.
1675 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1676 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1677 [UNIX98] (pthread_sigmask): Likewise.
1678 [UNIX98] (pthread_spin_destroy): Likewise.
1679 [UNIX98] (pthread_spin_init): Likewise.
1680 [UNIX98] (pthread_spin_lock): Likewise.
1681 [UNIX98] (pthread_spin_trylock): Likewise.
1682 [UNIX98] (pthread_spin_unlock): Likewise.
1683 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1684 Do not expect.
1685 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1686 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1687 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1688 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1689 [XPG3 || XPG4] (pthread_key_t): Likewise.
1690 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1691 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1692 [XPG3 || XPG4] (pthread_once_t): Likewise.
1693 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1694 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1695 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1696 [XPG3 || XPG4] (pthread_t): Likewise.
1697
1698 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1699 not expect.
1700 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1701
1702 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1703 Change function return type to int.
1704
1705 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1706 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1707 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1708 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1709 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1710 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1711 [!POSIX] (posix_madvise): Likewise.
1712 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1713 && !UNIX98].
1714 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1715 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1716 (mode_t): Likewise.
1717 (posix_mem_offset): Likewise.
1718 (posix_typed_mem_get_info): Likewise.
1719 (posix_typed_mem_open): Likewise.
1720
1721 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1722 Change condition to [XOPEN2K8].
1723
1724 * conform/conformtest.pl: Preprocess allow-header data with -x c
1725 instead of from stdin.
1726 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1727 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1728 [C99-based standards] (cerfc): Likewise.
1729 [C99-based standards] (cexp2): Likewise.
1730 [C99-based standards] (cexpm1): Likewise.
1731 [C99-based standards] (clog10): Likewise.
1732 [C99-based standards] (clog1p): Likewise.
1733 [C99-based standards] (clog2): Likewise.
1734 [C99-based standards] (clgamma): Likewise.
1735 [C99-based standards] (ctgamma): Likewise.
1736 [C99-based standards] (cerff): Likewise.
1737 [C99-based standards] (cerfcf): Likewise.
1738 [C99-based standards] (cexp2f): Likewise.
1739 [C99-based standards] (cexpm1f): Likewise.
1740 [C99-based standards] (clog10f): Likewise.
1741 [C99-based standards] (clog1pf): Likewise.
1742 [C99-based standards] (clog2f): Likewise.
1743 [C99-based standards] (clgammaf): Likewise.
1744 [C99-based standards] (ctgammaf): Likewise.
1745 [C99-based standards] (cerfl): Likewise.
1746 [C99-based standards] (cerfcl): Likewise.
1747 [C99-based standards] (cexp2l): Likewise.
1748 [C99-based standards] (cexpm1l): Likewise.
1749 [C99-based standards] (clog10l): Likewise.
1750 [C99-based standards] (clog1pl): Likewise.
1751 [C99-based standards] (clog2l): Likewise.
1752 [C99-based standards] (clgammal): Likewise.
1753 [C99-based standards] (ctgammal): Likewise.
1754 * conform/data/inttypes.h-data [C99-based standards]: Include
1755 stdint.h-data. Remove all expectations for stdint.h contents.
1756 [C99-based standards] (PRI*): Do not allow.
1757 [C99-based standards] (SCN*): Likewise.
1758 [C99-based standards] (*_t): Likewise.
1759 [C99-based-standards] (PRId8): Expect macro.
1760 [C99-based-standards] (PRIi8): Likewise.
1761 [C99-based-standards] (PRIo8): Likewise.
1762 [C99-based-standards] (PRIu8): Likewise.
1763 [C99-based-standards] (PRIx8): Likewise.
1764 [C99-based-standards] (PRIX8): Likewise.
1765 [C99-based-standards] (SCNd8): Likewise.
1766 [C99-based-standards] (SCNi8): Likewise.
1767 [C99-based-standards] (SCNo8): Likewise.
1768 [C99-based-standards] (SCNu8): Likewise.
1769 [C99-based-standards] (SCNx8): Likewise.
1770 [C99-based-standards] (PRIdLEAST8): Likewise.
1771 [C99-based-standards] (PRIiLEAST8): Likewise.
1772 [C99-based-standards] (PRIoLEAST8): Likewise.
1773 [C99-based-standards] (PRIuLEAST8): Likewise.
1774 [C99-based-standards] (PRIxLEAST8): Likewise.
1775 [C99-based-standards] (PRIXLEAST8): Likewise.
1776 [C99-based-standards] (SCNdLEAST8): Likewise.
1777 [C99-based-standards] (SCNiLEAST8): Likewise.
1778 [C99-based-standards] (SCNoLEAST8): Likewise.
1779 [C99-based-standards] (SCNuLEAST8): Likewise.
1780 [C99-based-standards] (SCNxLEAST8): Likewise.
1781 [C99-based-standards] (PRIdFAST8): Likewise.
1782 [C99-based-standards] (PRIiFAST8): Likewise.
1783 [C99-based-standards] (PRIoFAST8): Likewise.
1784 [C99-based-standards] (PRIuFAST8): Likewise.
1785 [C99-based-standards] (PRIxFAST8): Likewise.
1786 [C99-based-standards] (PRIXFAST8): Likewise.
1787 [C99-based-standards] (SCNdFAST8): Likewise.
1788 [C99-based-standards] (SCNiFAST8): Likewise.
1789 [C99-based-standards] (SCNoFAST8): Likewise.
1790 [C99-based-standards] (SCNuFAST8): Likewise.
1791 [C99-based-standards] (SCNxFAST8): Likewise.
1792 [C99-based-standards] (PRId16): Likewise.
1793 [C99-based-standards] (PRIi16): Likewise.
1794 [C99-based-standards] (PRIo16): Likewise.
1795 [C99-based-standards] (PRIu16): Likewise.
1796 [C99-based-standards] (PRIx16): Likewise.
1797 [C99-based-standards] (PRIX16): Likewise.
1798 [C99-based-standards] (SCNd16): Likewise.
1799 [C99-based-standards] (SCNi16): Likewise.
1800 [C99-based-standards] (SCNo16): Likewise.
1801 [C99-based-standards] (SCNu16): Likewise.
1802 [C99-based-standards] (SCNx16): Likewise.
1803 [C99-based-standards] (PRIdLEAST16): Likewise.
1804 [C99-based-standards] (PRIiLEAST16): Likewise.
1805 [C99-based-standards] (PRIoLEAST16): Likewise.
1806 [C99-based-standards] (PRIuLEAST16): Likewise.
1807 [C99-based-standards] (PRIxLEAST16): Likewise.
1808 [C99-based-standards] (PRIXLEAST16): Likewise.
1809 [C99-based-standards] (SCNdLEAST16): Likewise.
1810 [C99-based-standards] (SCNiLEAST16): Likewise.
1811 [C99-based-standards] (SCNoLEAST16): Likewise.
1812 [C99-based-standards] (SCNuLEAST16): Likewise.
1813 [C99-based-standards] (SCNxLEAST16): Likewise.
1814 [C99-based-standards] (PRIdFAST16): Likewise.
1815 [C99-based-standards] (PRIiFAST16): Likewise.
1816 [C99-based-standards] (PRIoFAST16): Likewise.
1817 [C99-based-standards] (PRIuFAST16): Likewise.
1818 [C99-based-standards] (PRIxFAST16): Likewise.
1819 [C99-based-standards] (PRIXFAST16): Likewise.
1820 [C99-based-standards] (SCNdFAST16): Likewise.
1821 [C99-based-standards] (SCNiFAST16): Likewise.
1822 [C99-based-standards] (SCNoFAST16): Likewise.
1823 [C99-based-standards] (SCNuFAST16): Likewise.
1824 [C99-based-standards] (SCNxFAST16): Likewise.
1825 [C99-based-standards] (PRId32): Likewise.
1826 [C99-based-standards] (PRIi32): Likewise.
1827 [C99-based-standards] (PRIo32): Likewise.
1828 [C99-based-standards] (PRIu32): Likewise.
1829 [C99-based-standards] (PRIx32): Likewise.
1830 [C99-based-standards] (PRIX32): Likewise.
1831 [C99-based-standards] (SCNd32): Likewise.
1832 [C99-based-standards] (SCNi32): Likewise.
1833 [C99-based-standards] (SCNo32): Likewise.
1834 [C99-based-standards] (SCNu32): Likewise.
1835 [C99-based-standards] (SCNx32): Likewise.
1836 [C99-based-standards] (PRIdLEAST32): Likewise.
1837 [C99-based-standards] (PRIiLEAST32): Likewise.
1838 [C99-based-standards] (PRIoLEAST32): Likewise.
1839 [C99-based-standards] (PRIuLEAST32): Likewise.
1840 [C99-based-standards] (PRIxLEAST32): Likewise.
1841 [C99-based-standards] (PRIXLEAST32): Likewise.
1842 [C99-based-standards] (SCNdLEAST32): Likewise.
1843 [C99-based-standards] (SCNiLEAST32): Likewise.
1844 [C99-based-standards] (SCNoLEAST32): Likewise.
1845 [C99-based-standards] (SCNuLEAST32): Likewise.
1846 [C99-based-standards] (SCNxLEAST32): Likewise.
1847 [C99-based-standards] (PRIdFAST32): Likewise.
1848 [C99-based-standards] (PRIiFAST32): Likewise.
1849 [C99-based-standards] (PRIoFAST32): Likewise.
1850 [C99-based-standards] (PRIuFAST32): Likewise.
1851 [C99-based-standards] (PRIxFAST32): Likewise.
1852 [C99-based-standards] (PRIXFAST32): Likewise.
1853 [C99-based-standards] (SCNdFAST32): Likewise.
1854 [C99-based-standards] (SCNiFAST32): Likewise.
1855 [C99-based-standards] (SCNoFAST32): Likewise.
1856 [C99-based-standards] (SCNuFAST32): Likewise.
1857 [C99-based-standards] (SCNxFAST32): Likewise.
1858 [C99-based-standards] (PRId64): Likewise.
1859 [C99-based-standards] (PRIi64): Likewise.
1860 [C99-based-standards] (PRIo64): Likewise.
1861 [C99-based-standards] (PRIu64): Likewise.
1862 [C99-based-standards] (PRIx64): Likewise.
1863 [C99-based-standards] (PRIX64): Likewise.
1864 [C99-based-standards] (SCNd64): Likewise.
1865 [C99-based-standards] (SCNi64): Likewise.
1866 [C99-based-standards] (SCNo64): Likewise.
1867 [C99-based-standards] (SCNu64): Likewise.
1868 [C99-based-standards] (SCNx64): Likewise.
1869 [C99-based-standards] (PRIdLEAST64): Likewise.
1870 [C99-based-standards] (PRIiLEAST64): Likewise.
1871 [C99-based-standards] (PRIoLEAST64): Likewise.
1872 [C99-based-standards] (PRIuLEAST64): Likewise.
1873 [C99-based-standards] (PRIxLEAST64): Likewise.
1874 [C99-based-standards] (PRIXLEAST64): Likewise.
1875 [C99-based-standards] (SCNdLEAST64): Likewise.
1876 [C99-based-standards] (SCNiLEAST64): Likewise.
1877 [C99-based-standards] (SCNoLEAST64): Likewise.
1878 [C99-based-standards] (SCNuLEAST64): Likewise.
1879 [C99-based-standards] (SCNxLEAST64): Likewise.
1880 [C99-based-standards] (PRIdFAST64): Likewise.
1881 [C99-based-standards] (PRIiFAST64): Likewise.
1882 [C99-based-standards] (PRIoFAST64): Likewise.
1883 [C99-based-standards] (PRIuFAST64): Likewise.
1884 [C99-based-standards] (PRIxFAST64): Likewise.
1885 [C99-based-standards] (PRIXFAST64): Likewise.
1886 [C99-based-standards] (SCNdFAST64): Likewise.
1887 [C99-based-standards] (SCNiFAST64): Likewise.
1888 [C99-based-standards] (SCNoFAST64): Likewise.
1889 [C99-based-standards] (SCNuFAST64): Likewise.
1890 [C99-based-standards] (SCNxFAST64): Likewise.
1891 [C99-based-standards] (PRIdMAX): Likewise.
1892 [C99-based-standards] (PRIiMAX): Likewise.
1893 [C99-based-standards] (PRIoMAX): Likewise.
1894 [C99-based-standards] (PRIuMAX): Likewise.
1895 [C99-based-standards] (PRIxMAX): Likewise.
1896 [C99-based-standards] (PRIXMAX): Likewise.
1897 [C99-based-standards] (SCNdMAX): Likewise.
1898 [C99-based-standards] (SCNiMAX): Likewise.
1899 [C99-based-standards] (SCNoMAX): Likewise.
1900 [C99-based-standards] (SCNuMAX): Likewise.
1901 [C99-based-standards] (SCNxMAX): Likewise.
1902 [C99-based-standards] (PRIdPTR): Likewise.
1903 [C99-based-standards] (PRIiPTR): Likewise.
1904 [C99-based-standards] (PRIoPTR): Likewise.
1905 [C99-based-standards] (PRIuPTR): Likewise.
1906 [C99-based-standards] (PRIxPTR): Likewise.
1907 [C99-based-standards] (PRIXPTR): Likewise.
1908 [C99-based-standards] (SCNdPTR): Likewise.
1909 [C99-based-standards] (SCNiPTR): Likewise.
1910 [C99-based-standards] (SCNoPTR): Likewise.
1911 [C99-based-standards] (SCNuPTR): Likewise.
1912 [C99-based-standards] (SCNxPTR): Likewise.
1913 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1914 allow.
1915 * conform/data/stdint.h-data: Update comments to clarify
1916 requirements.
1917 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1918 type.
1919 [C99-based standards] (INT8_MAX): Likewise.
1920 [C99-based standards] (INT16_MIN): Likewise.
1921 [C99-based standards] (INT16_MAX): Likewise.
1922 [C99-based standards] (INT32_MIN): Likewise.
1923 [C99-based standards] (INT32_MAX): Likewise.
1924 [C99-based standards] (INT64_MIN): Likewise.
1925 [C99-based standards] (INT64_MAX): Likewise.
1926 [C99-based standards] (UINT8_MAX): Likewise.
1927 [C99-based standards] (UINT16_MAX): Likewise.
1928 [C99-based standards] (UINT32_MAX): Likewise.
1929 [C99-based standards] (UINT64_MAX): Likewise.
1930 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1931 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1932 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1933 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1934 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1935 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1936 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1937 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1938 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1939 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1940 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1941 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1942 [C99-based standards] (INT_FAST8_MIN): Likewise.
1943 [C99-based standards] (INT_FAST8_MAX): Likewise.
1944 [C99-based standards] (INT_FAST16_MIN): Likewise.
1945 [C99-based standards] (INT_FAST16_MAX): Likewise.
1946 [C99-based standards] (INT_FAST32_MIN): Likewise.
1947 [C99-based standards] (INT_FAST32_MAX): Likewise.
1948 [C99-based standards] (INT_FAST64_MIN): Likewise.
1949 [C99-based standards] (INT_FAST64_MAX): Likewise.
1950 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1951 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1952 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1953 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1954 [C99-based standards] (INTPTR_MIN): Likewise.
1955 [C99-based standards] (INTPTR_MAX): Likewise.
1956 [C99-based standards] (UINTPTR_MAX): Likewise.
1957 [C99-based standards] (INTMAX_MIN): Likewise.
1958 [C99-based standards] (INTMAX_MAX): Likewise.
1959 [C99-based standards] (UINTMAX_MAX): Likewise.
1960 [C99-based standards] (PTRDIFF_MIN): Likewise.
1961 [C99-based standards] (PTRDIFF_MAX): Likewise.
1962 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1963 [C99-based standards] (SIZE_MAX): Likewise.
1964 [C99-based standards] (WCHAR_MAX): Likewise.
1965 [C99-based standards] (WINT_MAX): Likewise.
1966 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1967 constraint on value.
1968 [C99-based standards] (WCHAR_MIN): Likewise.
1969 [C99-based standards] (WINT_MIN): Likewise.
1970 [C99-based standards] (*_t): Allow.
1971 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1972 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1973 Include math.h-data and complex.h-data. Remove all expectations
1974 of math.h and complex.h contents.
1975 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1976 at end of line.
1977 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1978 (struct tm): Expect tag.
1979 [C99-based-standards] (wcstof): Expect function.
1980 [C99-based-standards] (wcstold): Likewise.
1981 [C99-based-standards] (wcstoll): Likewise.
1982 [C99-based-standards] (wcstoull): Likewise.
1983 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1984 macro-int-constant. Specify type.
1985 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1986 constraint on value.
1987 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1988 Specify type.
1989 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1990 Specify value.
1991 [ISO C standards]: Do not allow headers.
1992 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1993 wcs[abcdefghijklmnopqrstuvwxyz]*.
1994 [ISO C standards] (*_t): Do not allow.
1995 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1996 Expect function.
1997 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1998 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1999 Specify type.
2000 [ISO C standards]: Do not allow headers.
2001 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2002 is[abcdefghijklmnopqrstuvwxyz]*.
2003 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2004 to[abcdefghijklmnopqrstuvwxyz]*.
2005 [ISO C standards] (*_t): Do not allow.
2006 * conform/data/stdalign.h-data: New file.
2007 * conform/data/stdbool.h-data: Likewise.
2008 * conform/data/stdnoreturn.h-data: Likewise.
2009
2010 2012-11-07 Roland McGrath <roland@hack.frob.com>
2011
2012 [BZ #14815]
2013 * manual/filesys.texi (Directory Entries): Typo fix.
2014 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2015
2016 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2017
2018 * elf/elf.h (EM_AARCH64): New macro.
2019 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2020 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2021 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2022 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2023 (R_AARCH64_TLSDESC): Likewise.
2024 (NT_ARM_TLS): Likewise.
2025 (NT_ARM_HW_BREAK): Likewise.
2026 (NT_ARM_HW_WATCH): Likewise.
2027
2028 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2029
2030 [BZ #14811]
2031 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2032 (__ieee754_powl): Saturate nonzero exponents with absolute value
2033 below 0x1p-79 to +/- 0x1p-79.
2034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2035 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2036 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2037 nonzero exponents with absolute value below 0x1p-32 to +/-
2038 0x1p-32.
2039 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2040 (__ieee754_powl): Saturate nonzero exponents with absolute value
2041 below 0x1p-79 to +/- 0x1p-79.
2042 * math/libm-test.inc (pow_test): Add more tests.
2043
2044 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2045
2046 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2047 _dl_s390_cap_flags with kernel. Increase string length.
2048 (_dl_s390_platforms): Add z196 and zEC12.
2049
2050 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2051
2052 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2053 Change XOPEN21K to XOPEN2K.
2054
2055 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2056
2057 * string/memmove.c: Use memcpy when possible.
2058
2059 2012-11-06 Andreas Jaeger <aj@suse.de>
2060
2061 * po/eo.po: Update from translation team.
2062
2063 2012-11-06 Joseph Myers <joseph@codesourcery.com>
2064
2065 [BZ #14793]
2066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2067 exponent and small x and y exponents, scale x or y up. Increase
2068 by 2 the exponent used in scaling up.
2069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2070 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2071 * math/libm-test.inc (fma_test): Add more tests.
2072 (fma_test_towardzero): Likewise.
2073 (fma_test_downward): Likewise.
2074 (fma_test_upward): Likewise.
2075
2076 2012-11-05 Joseph Myers <joseph@codesourcery.com>
2077
2078 [BZ #14805]
2079 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2080 fenv_t *.
2081
2082 [BZ #14801]
2083 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2084 namespace for names of struct fields.
2085 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2086 fenv_t fields.
2087 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2088 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2089
2090 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2091
2092 [BZ #3665]
2093 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2094
2095 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2096
2097 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2098 PTR_DEMANGLE.
2099
2100 [BZ #5246]
2101 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2102 PTR_DEMANGLE.
2103
2104 2012-11-04 Joseph Myers <joseph@codesourcery.com>
2105
2106 [BZ #14797]
2107 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2108 definitely overflow as x * y not x * y + z.
2109 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2110 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2111 * math/libm-test.inc (fma_test): Add more tests.
2112 (fma_test_towardzero): Likewise.
2113 (fma_test_downward): Likewise.
2114 (fma_test_upward): Likewise.
2115
2116 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2117
2118 [BZ #157]
2119
2120 * include/stub-tag.h: Remove file.
2121 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2122 '#include' of it.
2123 * manual/maint.texi (Porting): Don't reference it.
2124 * Makerules ($(objpfx)stubs): Likewise.
2125 * dirent/closedir.c: Don't include <stub-tag.h>.
2126 * dirent/dirfd.c: Likewise.
2127 * dirent/fdopendir.c: Likewise.
2128 * dirent/getdents.c: Likewise.
2129 * dirent/getdents64.c: Likewise.
2130 * dirent/opendir.c: Likewise.
2131 * dirent/readdir.c: Likewise.
2132 * dirent/readdir64.c: Likewise.
2133 * dirent/readdir64_r.c: Likewise.
2134 * dirent/readdir_r.c: Likewise.
2135 * dirent/rewinddir.c: Likewise.
2136 * dirent/seekdir.c: Likewise.
2137 * dirent/telldir.c: Likewise.
2138 * gmon/profil.c: Likewise.
2139 * grp/setgroups.c: Likewise.
2140 * inet/if_index.c: Likewise.
2141 * io/access.c: Likewise.
2142 * io/chdir.c: Likewise.
2143 * io/chmod.c: Likewise.
2144 * io/chown.c: Likewise.
2145 * io/close.c: Likewise.
2146 * io/dup.c: Likewise.
2147 * io/dup2.c: Likewise.
2148 * io/dup3.c: Likewise.
2149 * io/euidaccess.c: Likewise.
2150 * io/faccessat.c: Likewise.
2151 * io/fchdir.c: Likewise.
2152 * io/fchmod.c: Likewise.
2153 * io/fchmodat.c: Likewise.
2154 * io/fchown.c: Likewise.
2155 * io/fchownat.c: Likewise.
2156 * io/fcntl.c: Likewise.
2157 * io/flock.c: Likewise.
2158 * io/fstatfs.c: Likewise.
2159 * io/fstatfs64.c: Likewise.
2160 * io/fstatvfs.c: Likewise.
2161 * io/fstatvfs64.c: Likewise.
2162 * io/futimens.c: Likewise.
2163 * io/fxstat.c: Likewise.
2164 * io/fxstat64.c: Likewise.
2165 * io/fxstatat.c: Likewise.
2166 * io/fxstatat64.c: Likewise.
2167 * io/getcwd.c: Likewise.
2168 * io/isatty.c: Likewise.
2169 * io/lchmod.c: Likewise.
2170 * io/lchown.c: Likewise.
2171 * io/link.c: Likewise.
2172 * io/linkat.c: Likewise.
2173 * io/lseek.c: Likewise.
2174 * io/lseek64.c: Likewise.
2175 * io/lxstat64.c: Likewise.
2176 * io/mkdir.c: Likewise.
2177 * io/mkdirat.c: Likewise.
2178 * io/mkfifo.c: Likewise.
2179 * io/mkfifoat.c: Likewise.
2180 * io/open.c: Likewise.
2181 * io/open64.c: Likewise.
2182 * io/openat.c: Likewise.
2183 * io/openat64.c: Likewise.
2184 * io/pipe.c: Likewise.
2185 * io/pipe2.c: Likewise.
2186 * io/poll.c: Likewise.
2187 * io/posix_fadvise.c: Likewise.
2188 * io/posix_fadvise64.c: Likewise.
2189 * io/posix_fallocate.c: Likewise.
2190 * io/posix_fallocate64.c: Likewise.
2191 * io/read.c: Likewise.
2192 * io/readlink.c: Likewise.
2193 * io/readlinkat.c: Likewise.
2194 * io/rmdir.c: Likewise.
2195 * io/sendfile.c: Likewise.
2196 * io/sendfile64.c: Likewise.
2197 * io/statfs.c: Likewise.
2198 * io/statfs64.c: Likewise.
2199 * io/statvfs.c: Likewise.
2200 * io/statvfs64.c: Likewise.
2201 * io/symlink.c: Likewise.
2202 * io/symlinkat.c: Likewise.
2203 * io/ttyname.c: Likewise.
2204 * io/ttyname_r.c: Likewise.
2205 * io/umask.c: Likewise.
2206 * io/unlink.c: Likewise.
2207 * io/unlinkat.c: Likewise.
2208 * io/utime.c: Likewise.
2209 * io/utimensat.c: Likewise.
2210 * io/write.c: Likewise.
2211 * io/xmknod.c: Likewise.
2212 * io/xmknodat.c: Likewise.
2213 * io/xstat.c: Likewise.
2214 * io/xstat64.c: Likewise.
2215 * login/getpt.c: Likewise.
2216 * login/grantpt.c: Likewise.
2217 * login/unlockpt.c: Likewise.
2218 * math/e_acoshl.c: Likewise.
2219 * math/e_acosl.c: Likewise.
2220 * math/e_asinl.c: Likewise.
2221 * math/e_atan2l.c: Likewise.
2222 * math/e_atanhl.c: Likewise.
2223 * math/e_coshl.c: Likewise.
2224 * math/e_expl.c: Likewise.
2225 * math/e_fmodl.c: Likewise.
2226 * math/e_gammal_r.c: Likewise.
2227 * math/e_hypotl.c: Likewise.
2228 * math/e_j0l.c: Likewise.
2229 * math/e_j1l.c: Likewise.
2230 * math/e_jnl.c: Likewise.
2231 * math/e_lgammal_r.c: Likewise.
2232 * math/e_log10l.c: Likewise.
2233 * math/e_log2l.c: Likewise.
2234 * math/e_logl.c: Likewise.
2235 * math/e_powl.c: Likewise.
2236 * math/e_rem_pio2l.c: Likewise.
2237 * math/e_sinhl.c: Likewise.
2238 * math/e_sqrtl.c: Likewise.
2239 * math/fclrexcpt.c: Likewise.
2240 * math/fedisblxcpt.c: Likewise.
2241 * math/feenablxcpt.c: Likewise.
2242 * math/fegetenv.c: Likewise.
2243 * math/fegetexcept.c: Likewise.
2244 * math/fegetround.c: Likewise.
2245 * math/feholdexcpt.c: Likewise.
2246 * math/fesetenv.c: Likewise.
2247 * math/fesetround.c: Likewise.
2248 * math/feupdateenv.c: Likewise.
2249 * math/fgetexcptflg.c: Likewise.
2250 * math/fraiseexcpt.c: Likewise.
2251 * math/fsetexcptflg.c: Likewise.
2252 * math/ftestexcept.c: Likewise.
2253 * math/k_cosl.c: Likewise.
2254 * math/k_rem_pio2l.c: Likewise.
2255 * math/k_sinl.c: Likewise.
2256 * math/k_tanl.c: Likewise.
2257 * math/s_asinhl.c: Likewise.
2258 * math/s_atanl.c: Likewise.
2259 * math/s_cbrtl.c: Likewise.
2260 * math/s_erfl.c: Likewise.
2261 * math/s_expm1l.c: Likewise.
2262 * math/s_log1pl.c: Likewise.
2263 * math/s_tanhl.c: Likewise.
2264 * misc/acct.c: Likewise.
2265 * misc/brk.c: Likewise.
2266 * misc/chflags.c: Likewise.
2267 * misc/chroot.c: Likewise.
2268 * misc/fchflags.c: Likewise.
2269 * misc/fgetxattr.c: Likewise.
2270 * misc/flistxattr.c: Likewise.
2271 * misc/fremovexattr.c: Likewise.
2272 * misc/fsetxattr.c: Likewise.
2273 * misc/fsync.c: Likewise.
2274 * misc/ftruncate.c: Likewise.
2275 * misc/futimes.c: Likewise.
2276 * misc/futimesat.c: Likewise.
2277 * misc/getdomain.c: Likewise.
2278 * misc/getdtsz.c: Likewise.
2279 * misc/gethostid.c: Likewise.
2280 * misc/gethostname.c: Likewise.
2281 * misc/getloadavg.c: Likewise.
2282 * misc/getpagesize.c: Likewise.
2283 * misc/getsysstats.c: Likewise.
2284 * misc/getxattr.c: Likewise.
2285 * misc/gtty.c: Likewise.
2286 * misc/ioctl.c: Likewise.
2287 * misc/lgetxattr.c: Likewise.
2288 * misc/listxattr.c: Likewise.
2289 * misc/llistxattr.c: Likewise.
2290 * misc/lremovexattr.c: Likewise.
2291 * misc/lsetxattr.c: Likewise.
2292 * misc/lutimes.c: Likewise.
2293 * misc/madvise.c: Likewise.
2294 * misc/mincore.c: Likewise.
2295 * misc/mlock.c: Likewise.
2296 * misc/mlockall.c: Likewise.
2297 * misc/mmap.c: Likewise.
2298 * misc/mprotect.c: Likewise.
2299 * misc/msync.c: Likewise.
2300 * misc/munlock.c: Likewise.
2301 * misc/munlockall.c: Likewise.
2302 * misc/munmap.c: Likewise.
2303 * misc/preadv.c: Likewise.
2304 * misc/preadv64.c: Likewise.
2305 * misc/ptrace.c: Likewise.
2306 * misc/pwritev.c: Likewise.
2307 * misc/pwritev64.c: Likewise.
2308 * misc/readv.c: Likewise.
2309 * misc/reboot.c: Likewise.
2310 * misc/remap_file_pages.c: Likewise.
2311 * misc/removexattr.c: Likewise.
2312 * misc/revoke.c: Likewise.
2313 * misc/select.c: Likewise.
2314 * misc/setdomain.c: Likewise.
2315 * misc/setegid.c: Likewise.
2316 * misc/seteuid.c: Likewise.
2317 * misc/sethostid.c: Likewise.
2318 * misc/sethostname.c: Likewise.
2319 * misc/setregid.c: Likewise.
2320 * misc/setreuid.c: Likewise.
2321 * misc/setxattr.c: Likewise.
2322 * misc/sstk.c: Likewise.
2323 * misc/stty.c: Likewise.
2324 * misc/swapoff.c: Likewise.
2325 * misc/swapon.c: Likewise.
2326 * misc/sync.c: Likewise.
2327 * misc/syncfs.c: Likewise.
2328 * misc/syscall.c: Likewise.
2329 * misc/truncate.c: Likewise.
2330 * misc/ualarm.c: Likewise.
2331 * misc/usleep.c: Likewise.
2332 * misc/ustat.c: Likewise.
2333 * misc/utimes.c: Likewise.
2334 * misc/vhangup.c: Likewise.
2335 * misc/writev.c: Likewise.
2336 * posix/_exit.c: Likewise.
2337 * posix/alarm.c: Likewise.
2338 * posix/execve.c: Likewise.
2339 * posix/fexecve.c: Likewise.
2340 * posix/fork.c: Likewise.
2341 * posix/fpathconf.c: Likewise.
2342 * posix/getaddrinfo.c: Likewise.
2343 * posix/getegid.c: Likewise.
2344 * posix/geteuid.c: Likewise.
2345 * posix/getgid.c: Likewise.
2346 * posix/getgroups.c: Likewise.
2347 * posix/getlogin.c: Likewise.
2348 * posix/getlogin_r.c: Likewise.
2349 * posix/getpgid.c: Likewise.
2350 * posix/getpid.c: Likewise.
2351 * posix/getppid.c: Likewise.
2352 * posix/getresgid.c: Likewise.
2353 * posix/getresuid.c: Likewise.
2354 * posix/getsid.c: Likewise.
2355 * posix/getuid.c: Likewise.
2356 * posix/glob64.c: Likewise.
2357 * posix/nanosleep.c: Likewise.
2358 * posix/pathconf.c: Likewise.
2359 * posix/pause.c: Likewise.
2360 * posix/posix_madvise.c: Likewise.
2361 * posix/pread.c: Likewise.
2362 * posix/pread64.c: Likewise.
2363 * posix/pwrite.c: Likewise.
2364 * posix/pwrite64.c: Likewise.
2365 * posix/sched_getaffinity.c: Likewise.
2366 * posix/sched_getp.c: Likewise.
2367 * posix/sched_gets.c: Likewise.
2368 * posix/sched_primax.c: Likewise.
2369 * posix/sched_primin.c: Likewise.
2370 * posix/sched_rr_gi.c: Likewise.
2371 * posix/sched_setaffinity.c: Likewise.
2372 * posix/sched_setp.c: Likewise.
2373 * posix/sched_sets.c: Likewise.
2374 * posix/sched_yield.c: Likewise.
2375 * posix/setgid.c: Likewise.
2376 * posix/setlogin.c: Likewise.
2377 * posix/setpgid.c: Likewise.
2378 * posix/setresgid.c: Likewise.
2379 * posix/setresuid.c: Likewise.
2380 * posix/setsid.c: Likewise.
2381 * posix/setuid.c: Likewise.
2382 * posix/sleep.c: Likewise.
2383 * posix/spawni.c: Likewise.
2384 * posix/sysconf.c: Likewise.
2385 * posix/times.c: Likewise.
2386 * posix/wait.c: Likewise.
2387 * posix/wait3.c: Likewise.
2388 * posix/wait4.c: Likewise.
2389 * posix/waitpid.c: Likewise.
2390 * resolv/gai_sigqueue.c: Likewise.
2391 * resource/getpriority.c: Likewise.
2392 * resource/getrlimit.c: Likewise.
2393 * resource/getrusage.c: Likewise.
2394 * resource/nice.c: Likewise.
2395 * resource/setpriority.c: Likewise.
2396 * resource/setrlimit.c: Likewise.
2397 * resource/ulimit.c: Likewise.
2398 * rt/aio_cancel.c: Likewise.
2399 * rt/aio_fsync.c: Likewise.
2400 * rt/aio_read.c: Likewise.
2401 * rt/aio_sigqueue.c: Likewise.
2402 * rt/aio_suspend.c: Likewise.
2403 * rt/aio_write.c: Likewise.
2404 * rt/clock_getres.c: Likewise.
2405 * rt/clock_gettime.c: Likewise.
2406 * rt/clock_nanosleep.c: Likewise.
2407 * rt/clock_settime.c: Likewise.
2408 * rt/lio_listio.c: Likewise.
2409 * rt/mq_close.c: Likewise.
2410 * rt/mq_getattr.c: Likewise.
2411 * rt/mq_notify.c: Likewise.
2412 * rt/mq_open.c: Likewise.
2413 * rt/mq_receive.c: Likewise.
2414 * rt/mq_send.c: Likewise.
2415 * rt/mq_setattr.c: Likewise.
2416 * rt/mq_timedreceive.c: Likewise.
2417 * rt/mq_timedsend.c: Likewise.
2418 * rt/mq_unlink.c: Likewise.
2419 * rt/shm_open.c: Likewise.
2420 * rt/shm_unlink.c: Likewise.
2421 * rt/timer_create.c: Likewise.
2422 * rt/timer_delete.c: Likewise.
2423 * rt/timer_getoverr.c: Likewise.
2424 * rt/timer_gettime.c: Likewise.
2425 * rt/timer_settime.c: Likewise.
2426 * setjmp/__longjmp.c: Likewise.
2427 * setjmp/setjmp.c: Likewise.
2428 * signal/kill.c: Likewise.
2429 * signal/killpg.c: Likewise.
2430 * signal/raise.c: Likewise.
2431 * signal/sigaction.c: Likewise.
2432 * signal/sigaltstack.c: Likewise.
2433 * signal/sigblock.c: Likewise.
2434 * signal/sigignore.c: Likewise.
2435 * signal/sigintr.c: Likewise.
2436 * signal/signal.c: Likewise.
2437 * signal/sigpause.c: Likewise.
2438 * signal/sigpending.c: Likewise.
2439 * signal/sigqueue.c: Likewise.
2440 * signal/sigreturn.c: Likewise.
2441 * signal/sigset.c: Likewise.
2442 * signal/sigsetmask.c: Likewise.
2443 * signal/sigstack.c: Likewise.
2444 * signal/sigsuspend.c: Likewise.
2445 * signal/sigtimedwait.c: Likewise.
2446 * signal/sigvec.c: Likewise.
2447 * signal/sigwait.c: Likewise.
2448 * signal/sigwaitinfo.c: Likewise.
2449 * signal/sysv_signal.c: Likewise.
2450 * socket/accept.c: Likewise.
2451 * socket/accept4.c: Likewise.
2452 * socket/bind.c: Likewise.
2453 * socket/connect.c: Likewise.
2454 * socket/getpeername.c: Likewise.
2455 * socket/getsockname.c: Likewise.
2456 * socket/getsockopt.c: Likewise.
2457 * socket/isfdtype.c: Likewise.
2458 * socket/listen.c: Likewise.
2459 * socket/recv.c: Likewise.
2460 * socket/recvfrom.c: Likewise.
2461 * socket/recvmsg.c: Likewise.
2462 * socket/send.c: Likewise.
2463 * socket/sendmsg.c: Likewise.
2464 * socket/sendto.c: Likewise.
2465 * socket/setsockopt.c: Likewise.
2466 * socket/shutdown.c: Likewise.
2467 * socket/sockatmark.c: Likewise.
2468 * socket/socket.c: Likewise.
2469 * socket/socketpair.c: Likewise.
2470 * stdio-common/ctermid.c: Likewise.
2471 * stdio-common/cuserid.c: Likewise.
2472 * stdio-common/remove.c: Likewise.
2473 * stdio-common/rename.c: Likewise.
2474 * stdio-common/renameat.c: Likewise.
2475 * stdio-common/tempname.c: Likewise.
2476 * stdlib/getcontext.c: Likewise.
2477 * stdlib/makecontext.c: Likewise.
2478 * stdlib/setcontext.c: Likewise.
2479 * stdlib/swapcontext.c: Likewise.
2480 * stdlib/system.c: Likewise.
2481 * streams/fattach.c: Likewise.
2482 * streams/fdetach.c: Likewise.
2483 * streams/getmsg.c: Likewise.
2484 * streams/getpmsg.c: Likewise.
2485 * streams/putmsg.c: Likewise.
2486 * streams/putpmsg.c: Likewise.
2487 * sysdeps/unix/bsd/getpt.c: Likewise.
2488 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2489 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2490 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2492 Likewise.
2493 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2494 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2495 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2496 * sysvipc/msgctl.c: Likewise.
2497 * sysvipc/msgget.c: Likewise.
2498 * sysvipc/msgrcv.c: Likewise.
2499 * sysvipc/msgsnd.c: Likewise.
2500 * sysvipc/semctl.c: Likewise.
2501 * sysvipc/semget.c: Likewise.
2502 * sysvipc/semop.c: Likewise.
2503 * sysvipc/semtimedop.c: Likewise.
2504 * sysvipc/shmat.c: Likewise.
2505 * sysvipc/shmctl.c: Likewise.
2506 * sysvipc/shmdt.c: Likewise.
2507 * sysvipc/shmget.c: Likewise.
2508 * termios/tcdrain.c: Likewise.
2509 * termios/tcflow.c: Likewise.
2510 * termios/tcflush.c: Likewise.
2511 * termios/tcgetattr.c: Likewise.
2512 * termios/tcgetpgrp.c: Likewise.
2513 * termios/tcsendbrk.c: Likewise.
2514 * termios/tcsetattr.c: Likewise.
2515 * termios/tcsetpgrp.c: Likewise.
2516 * time/adjtime.c: Likewise.
2517 * time/clock.c: Likewise.
2518 * time/getitimer.c: Likewise.
2519 * time/gettimeofday.c: Likewise.
2520 * time/setitimer.c: Likewise.
2521 * time/settimeofday.c: Likewise.
2522 * time/stime.c: Likewise.
2523 * time/time.c: Likewise.
2524
2525 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2526
2527 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2528 /usr/old/bin.
2529
2530 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2531 instead of spaces.
2532 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2533
2534 2012-11-03 Joseph Myers <joseph@codesourcery.com>
2535
2536 [BZ #14796]
2537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2538 FE_TONEAREST before applying Dekker multiplication and Knuth
2539 addition. Clear inexact exceptions and check for exact zero
2540 results afterwards.
2541 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2542 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2543 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2544 * math/libm-test.inc (fma_test): Add more tests.
2545 (fma_test_towardzero): Likewise.
2546 (fma_test_downward): Likewise.
2547 (fma_test_upward): Likewise.
2548 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2549 function.
2550 (libc_fesetround): New macro.
2551 (libc_fesetroundf): Likewise.
2552 (libc_fesetroundl): Likewise.
2553 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2554 function.
2555 (libc_fesetround_387): Likewise.
2556 (libc_fesetroundf): New macro.
2557 (libc_fesetround): Likewise.
2558 (libc_fesetroundl): Likewise.
2559 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2560 function.
2561 (libc_fesetroundf): New macro.
2562 (libc_fesetround): Likewise.
2563 (libc_fesetroundl): Likewise.
2564 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2565 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2566 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2567 libm_hidden_ver.
2568 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2569 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2570 libm_hidden_def.
2571 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2572 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2573 libm_hidden_ver.
2574 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2575 libm_hidden_def.
2576
2577 [BZ #3439]
2578 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2579 integer constant usable in #if and use that to give value to enum
2580 constant.
2581 (FE_DIVBYZERO): Likewise.
2582 (FE_UNDERFLOW): Likewise.
2583 (FE_OVERFLOW): Likewise.
2584 (FE_INVALID): Likewise.
2585 (FE_INVALID_SNAN): Likewise.
2586 (FE_INVALID_ISI): Likewise.
2587 (FE_INVALID_IDI): Likewise.
2588 (FE_INVALID_ZDZ): Likewise.
2589 (FE_INVALID_IMZ): Likewise.
2590 (FE_INVALID_COMPARE): Likewise.
2591 (FE_INVALID_SOFTWARE): Likewise.
2592 (FE_INVALID_SQRT): Likewise.
2593 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2594 (FE_TONEAREST): Likewise.
2595 (FE_TOWARDZERO): Likewise.
2596 (FE_UPWARD): Likewise.
2597 (FE_DOWNWARD): Likewise.
2598 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2599 (FE_DIVBYZERO): Likewise.
2600 (FE_OVERFLOW): Likewise.
2601 (FE_UNDERFLOW): Likewise.
2602 (FE_INEXACT): Likewise.
2603 (FE_TONEAREST): Likewise.
2604 (FE_DOWNWARD): Likewise.
2605 (FE_UPWARD): Likewise.
2606 (FE_TOWARDZERO): Likewise.
2607 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2608 (FE_UNDERFLOW): Likewise.
2609 (FE_OVERFLOW): Likewise.
2610 (FE_DIVBYZERO): Likewise.
2611 (FE_INVALID): Likewise.
2612 (FE_TONEAREST): Likewise.
2613 (FE_TOWARDZERO): Likewise.
2614 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2615 (FE_OVERFLOW): Likewise.
2616 (FE_UNDERFLOW): Likewise.
2617 (FE_DIVBYZERO): Likewise.
2618 (FE_INEXACT): Likewise.
2619 (FE_TONEAREST): Likewise.
2620 (FE_TOWARDZERO): Likewise.
2621 (FE_UPWARD): Likewise.
2622 (FE_DOWNWARD): Likewise.
2623 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2624 (FE_DIVBYZERO): Likewise.
2625 (FE_OVERFLOW): Likewise.
2626 (FE_UNDERFLOW): Likewise.
2627 (FE_INEXACT): Likewise.
2628 (FE_TONEAREST): Likewise.
2629 (FE_DOWNWARD): Likewise.
2630 (FE_UPWARD): Likewise.
2631 (FE_TOWARDZERO): Likewise.
2632
2633 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2634
2635 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2636
2637 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2638
2639 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2640 commands. Quote $PWD.
2641 (blacklist_exports): Don't use remove_newlines. Replace "declare
2642 -x" by "export".
2643 (remove_newlines): Remove.
2644
2645 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2646
2647 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2648 * stdlib/stdlib.h (atof): Moved to ...
2649 * include/bits/stdlib-float.h: Here. New file.
2650 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2651 * stdlib/bits/stdlib-float.h: New file.
2652 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2653 -mno-sse -mno-mmx.
2654 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2655 <xmmintrin.h>.
2656
2657 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2658
2659 * conform/conformtest.pl (@headers): Add fenv.h.
2660 * conform/data/fenv.h-data: New file.
2661 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2662 include of <math/fenv.h>.
2663
2664 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2665 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2666 && !UNIX98]. Enables tests for XOPEN2K8.
2667 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2668 POSIX2008]: Likewise.
2669
2670 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2671 (struct rusage): Do not expect type or its members.
2672
2673 [BZ #3439]
2674 * math/math.h (FP_NAN): Define macro to integer constant usable in
2675 #if and use that to give value to enum constant.
2676 (FP_INFINITE): Likewise.
2677 (FP_ZERO): Likewise.
2678 (FP_SUBNORMAL): Likewise.
2679 (FP_NORMAL): Likewise.
2680
2681 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2682
2683 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2684 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2685 arguments.
2686
2687 2012-11-02 Roland McGrath <roland@hack.frob.com>
2688
2689 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2690 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2691 autoconf-time if not.
2692 * configure.in: Remove AC_PREREQ.
2693
2694 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2695
2696 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2697 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2698 of the internal implementation.
2699
2700 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2701
2702 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2703 except include of <misc/sys/syslog.h>.
2704
2705 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2706
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2708 function returns with a NULL context exit with zero.
2709
2710 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2711
2712 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2713
2714 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2715
2716 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2717 (run_program_cmd): This.
2718 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2719 (tst_langinfo): New variable. Use it.
2720
2721 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2722
2723 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2724 floating point opcodes.
2725
2726 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2727
2728 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2729 variable.
2730
2731 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2732
2733 * sysdeps/mach/hurd/powerpc: Remove directory.
2734 * sysdeps/mach/powerpc: Likewise.
2735
2736 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2737
2738 * scripts/check-local-headers.sh: Ignore c++ headers.
2739
2740 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2741
2742 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2743 __libc_cleanup_region_start argument.
2744
2745 2012-11-01 Joseph Myers <joseph@codesourcery.com>
2746
2747 [BZ #14784]
2748 [BZ #14785]
2749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2750 x * y using scaling, not as x * y + z.
2751 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2752 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2753 * math/libm-test.inc (fma_test): Add more tests.
2754 (fma_test_towardzero): Likewise.
2755 (fma_test_downward): Likewise.
2756 (fma_test_upward): Likewise.
2757
2758 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2759
2760 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2761
2762 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2763
2764 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2765 New variable.
2766
2767 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2768
2769 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2770
2771 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2772
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2774 Fix sort order.
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2776 Likewise.
2777
2778 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2779
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2781 Fix the order of the list for glibc 2.17.
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2783 Likewise.
2784
2785 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2786
2787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2788
2789 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2790
2791 [BZ #14610]
2792 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2793 for low part of x being zero before using __atanl (y).
2794 * math/libm-test.inc (atan2_test): Add another test.
2795
2796 * manual/install.texi (Configuring and compiling): Document
2797 general use of test-wrapper and test-wrapper-env.
2798 * INSTALL: Regenerated.
2799
2800 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2801 (__fma): Do not extract and scale down low bits on after-rounding
2802 systems when result rounded to normal precision would have normal
2803 exponent.
2804 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2805 (__fmal): Do not extract and scale down low bits on after-rounding
2806 systems when result rounded to normal precision would have normal
2807 exponent.
2808 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2809 (__fmal): Do not extract and scale down low bits on after-rounding
2810 systems when result rounded to normal precision would have normal
2811 exponent.
2812 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2813 macro.
2814 (fma_test): Add more tests.
2815 (fma_test_towardzero): Likewise.
2816 (fma_test_downward): Likewise.
2817 (fma_test_upward): Likewise.
2818
2819 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2820
2821 * sysdeps/i386/tininess.h: Renamed to ...
2822 * sysdeps/x86/tininess.h: This.
2823 * sysdeps/x86_64/tininess.h: Removed.
2824
2825 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2826
2827 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2828 input. Use $(build-program-cmd).
2829 ($(objpfx)tst-array1-static.out): Likewise.
2830 ($(objpfx)tst-array2.out): Likewise.
2831 ($(objpfx)tst-array3.out): Likewise.
2832 ($(objpfx)tst-array4.out): Likewise.
2833 ($(objpfx)tst-array5.out): Likewise.
2834 ($(objpfx)tst-array5-static.out): Likewise.
2835
2836 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2837
2838 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2839 if defined.
2840
2841 * nss/nsswitch.h (nss_interface_function): Provide new
2842 macro for use with NSS functions.
2843 * grp/initgroups.c: Use new macro.
2844 * nss/getXXbyYY.c: Likewise.
2845 * nss/getXXbyYY_r.c: Likewise.
2846 * nss/getXXent.c: Likewise.
2847 * nss/getXXent_r.c: Likewise.
2848 * sysdeps/posix/getaddrinfo.c: Likewise.
2849
2850 2012-10-30 Andreas Jaeger <aj@suse.de>
2851
2852 * po/ru.po: Update Russion translation from translation project.
2853
2854 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2855
2856 [BZ #14152]
2857 [BZ #14783]
2858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2859 result and shift together with sticky bit instead of replicating
2860 round-to-nearest rounding.
2861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2863 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2864 missing underflow exceptions.
2865 (fma_test_towardzero): Add more tests.
2866 (fma_test_downward): Likewise.
2867 (fma_test_upward): Likewise.
2868
2869 [BZ #14047]
2870 * sysdeps/generic/tininess.h: New file.
2871 * sysdeps/i386/tininess.h: Likewise.
2872 * sysdeps/sh/tininess.h: Likewise.
2873 * sysdeps/x86_64/tininess.h: Likewise.
2874 * stdlib/tst-strtod-underflow.c: Likewise.
2875 * stdlib/tst-tininess.c: Likewise.
2876 * stdlib/strtod_l.c: Include <tininess.h>.
2877 (round_and_return): Do not set errno for exact underflow cases.
2878 Force an underflow exception when setting errno for underflow.
2879 Determine underflow based on rounding to normal precision if
2880 TININESS_AFTER_ROUNDING.
2881 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2882 ERANGE for exact underflow cases.
2883 * stdlib/Makefile (tests): Add tst-tininess and
2884 tst-strtod-underflow.
2885 ($(objpfx)tst-tininess): Use $(link-libm).
2886 ($(objpfx)tst-strtod-underflow): Likewise.
2887
2888 2012-10-30 Andreas Jaeger <aj@suse.de>
2889
2890 [BZ#14767]
2891 * elf/Makefile (tests): Remove conditional for have-initfini-array
2892 since this is now always required and the variable does not exist
2893 anymore.
2894 (tests-static): Likewise.
2895 (modules-names): Likewise.
2896
2897 * po/eo.po: Add Esperanto translation from translation project.
2898
2899 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2900 merged with constructor/destructor.
2901 (init_array): Likewise.
2902 * elf/tst-array2dep.c (fini_array): Likewise.
2903 (init_array): Likewise.
2904
2905 2012-10-29 Mike Frysinger <vapier@gentoo.org>
2906
2907 * manual/message.texi: Delete @cartouche tags.
2908
2909 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2910
2911 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2912 EOPNOTSUPP.
2913 * sysdeps/mach/hurd/fsync.c: Likewise.
2914
2915 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2916 [_POSIX_REALTIME_SIGNALS]: Change condition to
2917 [_POSIX_REALTIME_SIGNALS > 0].
2918
2919 2012-10-27 Andreas Jaeger <aj@suse.de>
2920
2921 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2922 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2924 [__WORDSIZE != 64]: Likewise.
2925
2926 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2927
2928 * iconvdata/tst-table.sh: Remove ${SHELL}.
2929 * iconvdata/tst-tables.sh: Likewise.
2930
2931 2012-10-25 David S. Miller <davem@davemloft.net>
2932
2933 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2934 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2935 of strtoull.
2936
2937 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2938 ifunc-impl-list.c
2939 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2940 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2941 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2942 file.
2943
2944 2012-10-25 Roland McGrath <roland@hack.frob.com>
2945
2946 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2947 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2948 __getdirentries.
2949
2950 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2951 Jim Blandy <jimb@codesourcery.com>
2952
2953 * scripts/cross-test-ssh.sh: New file.
2954 * manual/install.texi (Configuring and compiling): Document use of
2955 cross-test-ssh.sh.
2956 * INSTALL: Regenerated.
2957
2958 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2959
2960 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2961 EOPNOTSUPP.
2962
2963 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2964
2965 * Makeconfig (run-program-prefix): Fix comment.
2966
2967 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2968 Jim Blandy <jimb@codesourcery.com>
2969
2970 * Makeconfig (test-wrapper): New variable,
2971 (test-wrapper-env): Likewise.
2972 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2973 (run-built-tests): Define to yes.
2974 (run-program-prefix): Use $(test-wrapper).
2975 (built-program-cmd): Likewise.
2976 * Rules (make-test-out): Use $(test-wrapper-env) and
2977 $(host-built-program-cmd).
2978 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2979 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2980 tst-pathopt.sh.
2981 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2982 $(test-wrapper-env) to tst-rtld-load-self.sh.
2983 ($(objpfx)order2.out): Use $(test-wrapper).
2984 ($(objpfx)tst-initorder.out): Likewise.
2985 ($(objpfx)tst-initorder2.out): Likewise.
2986 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2987 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2988 (test_wrapper_env): New variable. Use it to run ld.so.
2989 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2990 Use it to run ld.so.
2991 (test_wrapper_env): Likewise.
2992 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2993 $(test-wrapper) to run-iconv-test.sh.
2994 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2995 (ICONV): Use $test_wrapper.
2996 * posix/Makefile ($(objpfx)globtest.out): Pass
2997 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2998 globtest.sh, not $(run-program-prefix).
2999 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3000 (test_wrapper): Likewise.
3001 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3002 set together with run_via_rtld_prefix.
3003 (run_program_prefix): Define in terms of test_wrapper and
3004 run_via_rtld_prefix.
3005
3006 2012-10-24 Roland McGrath <roland@hack.frob.com>
3007
3008 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3009 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3010 Targets removed.
3011
3012 [BZ #14743]
3013 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3014 Declare __clock_getres, __clock_gettime, __clock_settime,
3015 __clock_nanosleep, and __clock_getcpuclockid.
3016 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3017 Remove librt_hidden_def (clock_gettime).
3018 * sysdeps/unix/clock_gettime.c: Likewise.
3019 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3020 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3021 * rt/clock_getres.c: Define __clock_getres as an alias.
3022 * sysdeps/posix/clock_getres.c: Likewise.
3023 * rt/clock_settime.c: Define __clock_settime as an alias.
3024 * sysdeps/unix/clock_settime.c: Likewise.
3025 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3026 * sysdeps/unix/clock_nanosleep.c: Likewise.
3027 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3028 * rt/clock-compat.c: New file.
3029 * rt/Makefile (librt-routines): Add clock-compat and move
3030 $(clock-routines) to ...
3031 (routines): ... here, new variable.
3032 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3033 Don't add get_clockfreq here.
3034 * rt/Versions (libc: GLIBC_2.17): New version set.
3035 Add clock_* symbols here.
3036 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3037 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3038 (GLIBC_2.17): Add clock_* symbols.
3039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3041 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3043 Likewise.
3044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3045 Likewise.
3046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3050 * NEWS: Mention the move.
3051
3052 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3053 Use __open, __read, __close rather than their public counterparts.
3054 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3055 (__get_clockfreq_via_cpuinfo): Likewise.
3056 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3057 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3058
3059 * config.h.in (HAVE_IFUNC): New #undef.
3060 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3061 was successful.
3062 * configure: Regenerated.
3063
3064 2012-10-24 Mike Frysinger <vapier@gentoo.org>
3065
3066 * configure.in: Move READELF check to start of file.
3067 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3068 libc_cv_asm_gnu_indirect_function in the process.
3069 * configure: Regenerated.
3070
3071 2012-10-24 Mike Frysinger <vapier@gentoo.org>
3072
3073 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3074 send the output to /dev/null.
3075 (libc_cv_cc_with_libunwind): Likewise.
3076 (libc_cv_as_noexecstack): Likewise.
3077 * configure: Regenerate.
3078
3079 2012-10-24 Joseph Myers <joseph@codesourcery.com>
3080
3081 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3082
3083 * posix/globtest.sh (TMPDIR): Do not set.
3084 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3085 (testout): Likewise.
3086
3087 2012-10-24 Andreas Jaeger <aj@suse.de>
3088
3089 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3090 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3091 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3092 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3093 posix_fadvise64, posix_fallocate64.
3094
3095 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3096 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3097 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3098 Likewise.
3099 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3100 Likewise.
3101 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3102
3103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3104 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3105 <bits/fcntl-linux.h>.
3106 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3107
3108 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3109 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3110 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3111 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3112 [__WORDSIZE != 64]: Likewise.
3113
3114 2012-10-23 Joseph Myers <joseph@codesourcery.com>
3115
3116 * Makeconfig (run-built-tests): New variable.
3117 * Rules [$(cross-compiling) = yes]: Change condition to
3118 [$(run-built-tests) = no].
3119 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3120 to [$(run-built-tests) = yes].
3121 * elf/Makefile [$(cross-compiling) = no]: Likewise
3122 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3123 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3124 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3125 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3126 * io/Makefile [$(cross-compiling) = no]: Likewise.
3127 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3128 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3129 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3130 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3131 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3132 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3133 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3134 * string/Makefile [$(cross-compiling) = no]: Likewise.
3135
3136 * posix/Makefile ($(objpfx)globtest.out): Pass
3137 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3138 $(rtld-installed-name).
3139 * posix/globtest.sh (elf_objpfx): Remove variable.
3140 (rtld_installed_name): Likewise.
3141 (library_path): Likewise.
3142 (run_program_prefix): New variable. Use for running globtest
3143 binary.
3144
3145 2012-10-23 Jim Blandy <jimb@codesourcery.com>
3146 Joseph Myers <joseph@codesourcery.com>
3147
3148 * Makeconfig (host-built-program-cmd): New variable.
3149 * elf/Makefile (tst-stackguard1-ARGS): Use
3150 $(host-built-program-cmd).
3151 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3152 (tst-spawn-ARGS): Likewise.
3153 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3154
3155 2012-10-23 Joseph Myers <joseph@codesourcery.com>
3156 Jim Blandy <jimb@codesourcery.com>
3157
3158 * Makeconfig (run-via-rtld-prefix): New variable.
3159 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3160 (built-program-cmd): Likewise.
3161
3162 2012-10-22 Andreas Jaeger <aj@suse.de>
3163
3164 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3165 __O_RSYNC if it exists, otherwise to O_SYNC.
3166
3167 2012-10-22 Jim Blandy <jimb@codesourcery.com>
3168 Joseph Myers <joseph@codesourcery.com>
3169
3170 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3171 /dev/null.
3172 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3173 from /dev/null
3174 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3175 /dev/null.
3176
3177 2012-10-22 Andreas Jaeger <aj@suse.de>
3178
3179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3180 Define always.
3181 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3182
3183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3184 bits/fcntl-linux.h.
3185
3186 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3187 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3188
3189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3190 to __O_LARGEFILE.
3191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3192 to __O_LARGEFILE.
3193
3194 2012-10-21 Jim Blandy <jimb@codesourcery.com>
3195 Joseph Myers <joseph@codesourcery.com>
3196
3197 * config.make.in (NM): New variable.
3198
3199 2012-10-21 Andreas Jaeger <aj@suse.de>
3200
3201 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3202 definitions and declarations that are provided by
3203 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3204
3205 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3206
3207 [BZ #14683]
3208 * elf/Makefile (tests-static): Add tst-leaks1-static.
3209 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3210 ($(objpfx)tst-leaks1-static): New rule.
3211 ($(objpfx)tst-leaks1-static-mem): Likewise.
3212 (tst-leaks1-static-ENV): New macro.
3213 * elf/dl-open.c (dl_open_worker): Check the main application
3214 only if SHARED is defined.
3215 * elf/tst-leaks1-static.c: New file.
3216
3217 2012-10-20 Andreas Jaeger <aj@suse.de>
3218
3219 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3220 generic values for Linux.
3221 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3222 and declarations that are provided by <bits/fcntl-linux.h> and
3223 include <bits/fcntl-linux.h>.
3224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3226
3227 2012-10-20 Roland McGrath <roland@hack.frob.com>
3228
3229 * io/fcntl.h: Move include of <bits/types.h> to the top and
3230 include it unconditionally.
3231
3232 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3233
3234 * wcsmbs/Makefile (tests-ifunc): New variable.
3235 (tests): Add $(tests-ifunc).
3236 * wcsmbs/test-wcschr-ifunc.c: New file.
3237 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3238 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3239 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3240 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3241 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3242
3243 * string/Makefile (tests-ifunc): New variable.
3244 (tests): Add $(tests-ifunc).
3245 * string/test-memccpy.c (TEST_NAME): New macro.
3246 * string/test-memchr.c (TEST_NAME): Likewise.
3247 * string/test-memcmp.c (TEST_NAME): Likewise.
3248 * string/test-memcpy.c (TEST_NAME): Likewise.
3249 * string/test-memmem.c (TEST_NAME): Likewise.
3250 * string/test-memmove.c (TEST_NAME): Likewise.
3251 * string/test-memset.c (TEST_NAME): Likewise.
3252 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3253 * string/test-stpcpy.c (TEST_NAME): Likewise.
3254 * string/test-stpncpy.c (TEST_NAME): Likewise.
3255 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3256 * string/test-strcasestr.c (TEST_NAME): Likewise.
3257 * string/test-strcat.c (TEST_NAME): Likewise.
3258 * string/test-strchr.c (TEST_NAME): Likewise.
3259 * string/test-strcmp.c(TEST_NAME): Likewise.
3260 * string/test-strcpy.c (TEST_NAME): Likewise.
3261 * string/test-strcspn.c (TEST_NAME): Likewise.
3262 * string/test-strlen.c (TEST_NAME): Likewise.
3263 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3264 * string/test-strncmp.c (TEST_NAME): Likewise.
3265 * string/test-strncpy.c (TEST_NAME): Likewise.
3266 * string/test-strnlen.c (TEST_NAME): Likewise.
3267 * string/test-strpbrk.c (TEST_NAME): Likewise.
3268 * string/test-strrchr.c (TEST_NAME): Likewise.
3269 * string/test-strspn.c (TEST_NAME): Likewise.
3270 * string/test-strstr.c (TEST_NAME): Likewise.
3271 * string/test-bcopy-ifunc.c: New file.
3272 * string/test-bzero-ifunc.c: Likewise.
3273 * string/test-memccpy-ifunc.c: Likewise.
3274 * string/test-memchr-ifunc.c: Likewise.
3275 * string/test-memcmp-ifunc.c: Likewise.
3276 * string/test-memcpy-ifunc.c: Likewise.
3277 * string/test-memmem-ifunc.c: Likewise.
3278 * string/test-memmove-ifunc.c: Likewise.
3279 * string/test-mempcpy-ifunc.c: Likewise.
3280 * string/test-memset-ifunc.c: Likewise.
3281 * string/test-rawmemchr-ifunc.c: Likewise.
3282 * string/test-stpcpy-ifunc.c: Likewise.
3283 * string/test-stpncpy-ifunc.c: Likewise.
3284 * string/test-strcasecmp-ifunc.c: Likewise.
3285 * string/test-strcasestr-ifunc.c: Likewise.
3286 * string/test-strcat-ifunc.c: Likewise.
3287 * string/test-strchr-ifunc.c: Likewise.
3288 * string/test-strchrnul-ifunc.c: Likewise.
3289 * string/test-strcmp-ifunc.c: Likewise.
3290 * string/test-strcpy-ifunc.c: Likewise.
3291 * string/test-strcspn-ifunc.c: Likewise.
3292 * string/test-strlen-ifunc.c: Likewise.
3293 * string/test-strncasecmp-ifunc.c: Likewise.
3294 * string/test-strncat-ifunc.c: Likewise.
3295 * string/test-strncmp-ifunc.c: Likewise.
3296 * string/test-strncpy-ifunc.c: Likewise.
3297 * string/test-strnlen-ifunc.c: Likewise.
3298 * string/test-strpbrk-ifunc.c: Likewise.
3299 * string/test-strrchr-ifunc.c: Likewise.
3300 * string/test-strspn-ifunc.c: Likewise.
3301 * string/test-strstr-ifunc.c: Likewise.
3302
3303 * debug/Makefile (tests-ifunc): New variable.
3304 (tests): Add $(tests-ifunc).
3305 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3306 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3307 * debug/test-stpcpy_chk-ifunc.c: New file.
3308 * debug/test-strcpy_chk-ifunc.c: Likewise.
3309
3310 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3311
3312 [BZ #13601]
3313 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3314 header is not read in.
3315
3316 2012-10-19 Joseph Myers <joseph@codesourcery.com>
3317
3318 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3319 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3320 directly. Pass built executable to script as
3321 $(built-program-cmd).
3322 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3323 $testprogram without using LD_LIBRARY_PATH and $ldso.
3324
3325 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3326 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3327 $(rtld-installed-name).
3328 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3329 (rtld_installed_name): Likewise.
3330 (library_path): Likewise.
3331 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3332 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3333 $(run-program-prefix) to tst-tables.sh.
3334 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3335 it to run tst-table-from and tst-table-to.
3336 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3337 Pass it to tst-table.sh.
3338 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3339 $(run-program-prefix) to tst-gettext.sh.
3340 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3341 tst-translit.sh.
3342 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3343 tst-gettext2.sh.
3344 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3345 to run tst-gettext.
3346 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3347 to run tst-gettext2.
3348 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3349 to run tst-translit.
3350 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3351 $(run-program-prefix) to tst-mtrace.sh.
3352 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3353 to run tst-mtrace.
3354 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3355 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3356 $(rtld-installed-name).
3357 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3358 (rtld_installed_name): Likewise.
3359 (run_program_prefix): New variable. Use it to run wordexp-test.
3360
3361 * Makeconfig (ARCH): Remove all definitions.
3362 (machine): Likewise.
3363 [ARCH]: Remove conditional code.
3364 [!objdir]: Give error.
3365 [!objdir] (objpfx): Remove.
3366 [!objdir] (common-objpfx): Likewise.
3367 [!objdir] (common-objdir): Likewise.
3368 * configure.in (config_makefile): Remove. Hardcode Makefile in
3369 AC_CONFIG_FILES call.
3370 * configure: Regenerated.
3371
3372 [BZ #13888]
3373 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3374 or TMPDIR.
3375 (testout): Likewise.
3376
3377 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3378 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3379 $(rtld-installed-name).
3380 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3381 (rtld_installed_name): Likwise.
3382 (runit): Remove function.
3383 (run_getconf): New variable, Use it for running getconf binary.
3384
3385 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3386
3387 [BZ #14716]
3388 * string/test-memmem.c (check_result): New function.
3389 (do_one_test): Use it.
3390 (check1): New function.
3391 (test_main): Use it.
3392
3393 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3394
3395 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3396
3397 2012-10-18 Joseph Myers <joseph@codesourcery.com>
3398
3399 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3400 (_G_LSEEK64): Likewise.
3401 (_G_MMAP64): Likewise.
3402 (_G_FSTAT64): Likewise.
3403 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3404 (_G_LSEEK64): Likewise.
3405 (_G_MMAP64): Likewise.
3406 (_G_FSTAT64): Likewise.
3407 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3408 unconditional. Call __mmap64 directly.
3409 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3410 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3411 __lseek64 directly.
3412 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3413 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3414 __mmap64 directly.
3415 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3416 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3417 __lseek64 directly.
3418 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3419 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3420 __lseek64 directly.
3421 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3422 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3423 __lseek64 directly.
3424 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3425 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3426 __fxstat64 directly.
3427 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3428 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3429 unconditional.
3430 (freopen64) [!_G_OPEN64]: Remove conditional code.
3431 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3432 unconditional.
3433 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3434 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3435 unconditional.
3436 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3437 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3438 unconditional.
3439 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3440 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3441 unconditional.
3442 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3443 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3444 unconditional.
3445 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3446 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3447 unconditional.
3448 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3449 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3450 unconditional.
3451 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3452
3453 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3454
3455 [BZ #12140]
3456 * manual/memory.texi (Malloc Tunable Parameters): Add note
3457 about free list pointers overwriting some perturb bytes.
3458 Wording suggested by Roland McGrath.
3459
3460 2012-10-17 Joseph Myers <joseph@codesourcery.com>
3461
3462 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3463 (lgamma_test): Likewise.
3464 (tgamma_test): Likewise.
3465
3466 2012-10-16 Florian Weimer <fweimer@redhat.com>
3467
3468 [BZ #14700]
3469 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3470 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3471
3472 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3473
3474 * NEWS: Mention BZ #14716.
3475 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3476 when removing AVAILABLE1_USES_J macro.
3477
3478 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3479
3480 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3481 (__bswap_64): __uint64_t for unsigned 64-bit int.
3482
3483 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3484
3485 * include/string.h (memmem): Declare libc hidden alias.
3486 * string/memmem.c (memmem): Define libc hidden alias.
3487 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3488 __read, __close instead of open, read, close.
3489
3490 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3491
3492 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3493 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3494 global and hidden.
3495 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3496 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3497 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3498 Likewise.
3499 (__rawmemchr_sse2): Likewise.
3500 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3501 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3502 (__strchr_sse2): Likewise.
3503 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3504 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3505 (__strcasecmp_sse2): Likewise.
3506 (__strncasecmp_sse2): Likewise.
3507 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3508 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3509 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3510 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3511 (__strrchr_sse2): Likewise.
3512 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3513 ifunc-impl-list.c.
3514 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3515 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3516 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3517 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3518 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3519 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3520 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3521 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3522 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3523 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3524 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3525 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3526 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3527 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3528 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3529 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3530 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3531 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3532 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3533 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3534 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3535 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3536 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3537 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3538 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3539 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3540 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3541 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3542 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3543 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3544
3545 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3546 global and hidden.
3547 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3548 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3549 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3550 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3551 Likewise.
3552 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3553 Likewise.
3554 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3555 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3556 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3557 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3558 ifunc-impl-list.c.
3559 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3560 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3561 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3562 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3563 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3564 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3565 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3566 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3567 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3568 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3569 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3570 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3571 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3572 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3573 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3574 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3575 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3576 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3577 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3578 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3579 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3580 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3581 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3582 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3583 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3584 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3585 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3586 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3587 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3588 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3589 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3590 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3591 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3592 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3593 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3594 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3595 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3596 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3597 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3598 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3599 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3600
3601 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3602 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3603 * include/ifunc-impl-list.h: New file.
3604 * misc/ifunc-impl-list.c: Likewise.
3605 * misc/Makefile (routines): Add ifunc-impl-list.
3606 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3607 * string/test-string.h: Include <ifunc-impl-list.h>.
3608 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3609 impl_array): New variables.
3610 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3611 are defined.
3612 (test_init): Call __libc_ifunc_impl_list to initialize
3613 func_list if TEST_IFUNC and TEST_NAME are defined.
3614
3615 * string/Makefile (strop-tests): Add bcopy and bzero.
3616 * string/test-bcopy.c: New file.
3617 * string/test-bzero.c: Likewise.
3618 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3619 defined.
3620 * string/test-memset.c: Support bzero test if TEST_BZERO is
3621 defined.
3622 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3623 __libc_memmove.
3624 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3625 __libc_memset.
3626 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3627 of memset.
3628
3629 2012-10-10 Joseph Myers <joseph@codesourcery.com>
3630
3631 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3632 * configure: Regenerated.
3633
3634 * Makeconfig (+link-static-before-libc): Don't include
3635 $(link-static-libc).
3636
3637 * libio/libio.h (_IO_pos_t): Remove.
3638
3639 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3640
3641 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3642 McGrath.
3643
3644 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3645
3646 * crypt/crypt-entry.c: Include fips-private.h.
3647 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3648 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3649 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3650 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3651
3652 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3653
3654 * crypt/crypt-private.h: Include stdbool.h.
3655 (_ufc_setup_salt_r): Return bool.
3656 * crypt/crypt-entry.c: Include errno.h.
3657 (__crypt_r): Return NULL with EINVAL for bad salt.
3658 * crypt/crypt_util.c (bad_for_salt): New.
3659 (_ufc_setup_salt_r): Check that salt is long enough and within
3660 the specified alphabet.
3661 * crypt/badsalttest.c: New file.
3662 * crypt/Makefile (tests): Add it.
3663 ($(objpfx)badsalttest): New.
3664
3665 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3666
3667 * NEWS: Add entry for BZ #14602.
3668
3669 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3670
3671 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3672 type-generic.
3673 * math/libm-test.inc: Update comment listing what functions and
3674 macros are tested.
3675 (isgreater_test): New function.
3676 (isgreaterequal_test): Likewise.
3677 (isless_test): Likewise.
3678 (islessequal_test): Likewise.
3679 (islessgreater_test): Likewise.
3680 (isunordered_test): Likewise.
3681 (main): Call the new functions.
3682
3683 2012-10-09 Roland McGrath <roland@hack.frob.com>
3684
3685 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3686 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3687 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3688 * sysdeps/i386/configure: Regenerated.
3689 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3690 * sysdeps/mach/configure: Regenerated.
3691 * sysdeps/mach/hurd/configure: Regenerated.
3692 * sysdeps/powerpc/configure: Regenerated.
3693 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3694 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3695 * sysdeps/s390/s390-32/configure: Regenerated.
3696 * sysdeps/s390/s390-64/configure: Regenerated.
3697 * sysdeps/sh/configure: Regenerated.
3698 * sysdeps/sparc/configure: Regenerated.
3699 * sysdeps/unix/sysv/linux/configure: Regenerated.
3700 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3701 * sysdeps/x86_64/configure: Regenerated.
3702
3703 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3704 defined. Don't check if MAP is NULL.
3705
3706 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3707
3708 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3709 (_G_stat64): Likewise.
3710 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3711 (_G_stat64): Likewise.
3712 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3713 instead of struct _G_stat64.
3714 * libio/fileops.c (mmap_remap_check): Likewise.
3715 (decide_maybe_mmap): Likewise.
3716 (_IO_new_file_seekoff): Likewise.
3717 (_IO_file_stat): Likewise.
3718 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3719 _G_off64_t.
3720 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3721 instead of struct _G_stat64.
3722 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3723
3724 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3725
3726 [BZ #14602]
3727 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3728 Replace with ...
3729 (CHECK_EOL): New macro.
3730 (two_way_short_needle): Check beginning of haystack for EOL. Use
3731 CHECK_EOL.
3732 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3733 Replace with CHECK_EOL.
3734 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3735 Replace with CHECK_EOL.
3736
3737 2012-10-08 Joseph Myers <joseph@codesourcery.com>
3738
3739 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3740 type-generic.
3741 * math/libm-test.inc: Update comment listing what functions and
3742 macros are tested.
3743 (finite_test): New function.
3744 (isinf_test): Likewise.
3745 (isnan_test): Likewise.
3746 (fpclassify_test): Test subnormal input.
3747 (isfinite_test): Likewise.
3748 (isnormal_test): Likewise.
3749 (main): Call the new functions.
3750
3751 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3752
3753 [BZ #14660]
3754 * Makerules (%.dynsym): Force C locale when running
3755 $(OBJDUMP) --dynamic-syms.
3756
3757 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3758
3759 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3760 <stdint.h>.
3761
3762 2012-10-06 David S. Miller <davem@davemloft.net>
3763
3764 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3765 upper 32-bits of the length value in %o2 since we use branch-on-register
3766 tests which consider the entire 64-bit register.
3767
3768 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3769
3770 * string/test-strstr.c (check2): Add a test for page boundary.
3771
3772 2012-10-05 David S. Miller <davem@davemloft.net>
3773
3774 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3775 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3776 file.
3777 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3778 sysdep_routines.
3779 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3780 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3781 and bzero when HWCAP_SPARC_CRYPTO is present.
3782
3783 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3784
3785 [BZ #14602]
3786 * string/test-strstr.c (check2): New function.
3787 (test_main): Call check2.
3788
3789 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3790 and bug-strchr1.
3791 * string/bug-strcasestr1.c (do_test): Moved to ...
3792 * string/test-strcasestr.c (check1): Here. New function.
3793 (do_one_test): Break out result checking code into ...
3794 (check_result): This. New function.
3795 (do_one_test): Call check_result.
3796 (test_main): Call check1.
3797 * string/bug-strchr1.c (do_test): Moved to ...
3798 * string/test-strchr.c (check1): Here. New function.
3799 (do_one_test): Break out result checking code into ...
3800 (check_result): This. New function.
3801 (do_one_test): Call check_result.
3802 (test_main): Call check1.
3803 * string/bug-strstr1.c (main): Moved to ...
3804 * string/test-strchr.c (check1): Here. New function.
3805 (do_one_test): Break out result checking code into ...
3806 (check_result): This. New function.
3807 (do_one_test): Call check_result.
3808 (test_main): Call check1.
3809 * string/bug-strcasestr1.c: Removed.
3810 * string/bug-strchr1.c: Likewise.
3811 * string/bug-strstr1.c: Likewise.
3812
3813 * elf/Makefile (dl-routines): Add hwcaps.
3814 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3815 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3816 (_dl_important_hwcaps): Moved to ...
3817 * elf/dl-hwcaps.c: Here. New file.
3818 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3819
3820 [BZ #14557]
3821 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3822 if IS_IN_rtld isn't defined.
3823
3824 * elf/dl-support.c (_dl_sysinfo_map): New.
3825 Include "get-dynamic-info.h" and "setup-vdso.h".
3826 (_dl_non_dynamic_init): Call setup_vdso.
3827 * elf/dynamic-link.h: Don't include <assert.h>.
3828 (elf_get_dynamic_info): Moved to ...
3829 * elf/get-dynamic-info.h: Here. New file.
3830 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3831 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3832 * elf/setup-vdso.h: Here. New file.
3833 * elf/rtld.c: Include "setup-vdso.h".
3834 (dl_main): Call setup_vdso.
3835
3836 2012-10-05 Joseph Myers <joseph@codesourcery.com>
3837
3838 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3839 creal in comment listing functions tested. List finite, isinf,
3840 isnan, isless, islessequal, isgreater, isgreaterequal,
3841 islessgreater, isunordered, lgamma_r and pow10 as functions and
3842 macros not tested. Mention which functions not tested are aliases
3843 for other functions. Fix typo. Note that signs of NaNs are not
3844 tested.
3845
3846 * scripts/config.guess: Update from config.git.
3847 * scripts/config.sub: Likewise.
3848
3849 2012-10-04 Roland McGrath <roland@hack.frob.com>
3850
3851 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3852 * misc/madvise.c (madvise): Renamed to __madvise.
3853 Make madvise a weak alias.
3854 * include/sys/mman.h: Declare __madvise.
3855 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3856 * sysdeps/unix/syscalls.list
3857 (madvise): Make __madvise the strong name, and madvise a weak alias.
3858 * sysdeps/unix/sysv/linux/syscalls.list
3859 (madvise, mmap): Remove redundant entries.
3860 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3861 * malloc/malloc.c (mtrim): Likewise.
3862 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3863
3864 2012-10-03 Roland McGrath <roland@hack.frob.com>
3865
3866 * sysdeps/mach/hurd/dl-cache.c: File removed.
3867 * config.h.in (USE_LDCONFIG): New #undef.
3868 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3869 * configure: Regenerated.
3870 * elf/Makefile (dl-routines): Add dl-cache only under
3871 [$(use-ldconfig) = yes].
3872 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3873 cache on [USE_LDCONFIG].
3874 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3875 [USE_LDCONFIG].
3876 * elf/rtld.c (dl_main): Likewise.
3877
3878 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3879
3880 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3881 _SC_LEVEL4_CACHE_LINESIZE.
3882
3883 2012-10-03 Roland McGrath <roland@hack.frob.com>
3884
3885 * sysdeps/unix/bsd/confstr.h: File removed.
3886
3887 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
3888
3889 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3890 sys/sdt-config.h.
3891
3892 2012-10-02 Roland McGrath <roland@hack.frob.com>
3893
3894 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3895 Make 'mapoff' field ElfW(Off) rather than off_t.
3896
3897 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3898
3899 * nscd/Makefile: Remove nscd-cflags and all its users.
3900 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3901 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3902
3903 [BZ #10631]
3904 * malloc.c (malloc_printerr): Clarify error message.
3905
3906 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3907
3908 [BZ #14648]
3909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3910 Set bit_FMA_Usable if FMA is supported.
3911 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3912 macro.
3913 (bit_FMA4_Usable): Updated.
3914 (index_FMA_Usable): New macro.
3915 (CPUID_FMA): Likewise
3916 (HAS_FMA): Defined with bit_FMA_Usable.
3917
3918 2012-10-01 Roland McGrath <roland@hack.frob.com>
3919
3920 * bits/types.h (__swblk_t): Type removed.
3921 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3922 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3923 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3924 (__SWBLK_T_TYPE): Likewise.
3925 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3926 (__SWBLK_T_TYPE): Likewise.
3927 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3928 (__SWBLK_T_TYPE): Likewise.
3929 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3930 (__SWBLK_T_TYPE): Likewise.
3931
3932 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
3933 Honza Horak <hhorak@redhat.com>
3934
3935 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3936 (xdr_mapname): Use YPMAXMAP as maxsize.
3937 (xdr_peername): Use YPMAXPEER as maxsize.
3938 (xdr_keydat): Use YPAXRECORD as maxsize.
3939 (xdr_valdat): Use YPMAXRECORD as maxsize.
3940
3941 2012-10-01 Roland McGrath <roland@hack.frob.com>
3942
3943 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3944
3945 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3946 * csu/init-first.c: ... here.
3947 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3948 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3949 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3950 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3951 * sysdeps/i386/init-first.c: File removed.
3952 * sysdeps/sh/init-first.c: File removed.
3953
3954 2012-10-01 Joseph Myers <joseph@codesourcery.com>
3955
3956 [BZ #14645]
3957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3958 if x * y might underflow to zero and z is zero.
3959 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3960 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3961 * math/libm-test.inc (min_subnorm_value): New variable.
3962 (fma_test): Add more tests.
3963 (fma_test_towardzero): Likewise.
3964 (fma_test_downward): Likewise
3965 (fma_test_upward): Likewise.
3966 (initialize): Set min_subnorm_value.
3967
3968 2012-09-29 Joseph Myers <joseph@codesourcery.com>
3969
3970 [BZ #14638]
3971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3972 0 + 0.
3973 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3974 mode for addition resulting in exact zero.
3975 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3976 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3977 exact 0 + 0.
3978 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3979 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3980 * math/libm-test.inc (fma_test): Add more tests.
3981 (fma_test_towardzero): New function.
3982 (fma_test_downward): Likewise.
3983 (fma_test_upward): Likewise.
3984 (main): Call the new functions.
3985
3986 2012-09-28 David S. Miller <davem@davemloft.net>
3987
3988 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3989
3990 2012-09-28 Roland McGrath <roland@hack.frob.com>
3991
3992 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3993 instead of SIGALRM.
3994
3995 * sysdeps/gnu/_G_config.h: Moved to ...
3996 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3997 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3998 * sysdeps/generic/_G_config.h: ... here.
3999
4000 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4001
4002 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4003
4004 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4005 Conditionalize target on [libnss_test1.so-version].
4006
4007 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4008
4009 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4010 (elfobjdir): Move out of conditionals.
4011
4012 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4013 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4014 (__nss_lookup_function): Conditionalize label remove_from_tree on
4015 [!DO_STATIC_NSS || SHARED], matching its only use.
4016
4017 2012-09-28 David S. Miller <davem@davemloft.net>
4018
4019 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4020 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4021 file.
4022 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4023 sysdep_routines.
4024 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4025 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4026 when HWCAP_SPARC_CRYPTO is present.
4027
4028 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4029
4030 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4031
4032 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4033
4034 [BZ #6530]
4035 * stdio-common/vfprintf.c (process_string_arg): Revert
4036 2000-07-22 change.
4037
4038 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4039
4040 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4041 for testcase.
4042 * stdio-common/tst-sprintf.c: Include <locale.h>
4043 (main): Test sprintf's handling of incomplete multibyte
4044 characters.
4045
4046 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4047
4048 * elf/dl-runtime.c (VERSYMIDX): Removed.
4049 * elf/dl-version.c (VERSYMIDX): Likewise.
4050 * elf/do-rel.h (VERSYMIDX): Likewise.
4051 (VALIDX): Likewise.
4052 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4053 * elf/rtld.c (VALIDX): Likewise.
4054 (ADDRIDX): Likewise.
4055 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4056 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4057 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4058 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4059 (VALIDX): Likewise.
4060 (ADDRIDX): Likewise.
4061
4062 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4063
4064 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4065
4066 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4067
4068 [BZ #11438]
4069 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4070 to global scope.
4071 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4072 addresses are in the same scope as 192.0.2/24.
4073 * posix/gai.conf: Document new scope table defaults.
4074
4075 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4076
4077 [BZ #5298]
4078 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4079 for ftell. Compute offsets from write pointers instead.
4080 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4081
4082 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4083
4084 [BZ #14543]
4085 * libio/Makefile (tests): New test case tst-fseek.
4086 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4087 combination works in wide mode.
4088 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4089 state when the external buffer state changes.
4090
4091 2012-09-27 David S. Miller <davem@davemloft.net>
4092
4093 [BZ #14376]
4094 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4095 pass reloc->r_addend in as the 'high' argument to
4096 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4097
4098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4099
4100 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4101
4102 * rt/tst-aio2.c: Include <pthread.h>.
4103 * rt/tst-aio3.c: Likewise.
4104
4105 2012-09-27 Steve Ellcey <sellcey@mips.com>
4106
4107 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4108
4109 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4110
4111 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4112 contents on [SHARED].
4113
4114 2012-09-26 Marek Polacek <polacek@redhat.com>
4115
4116 [BZ #14530]
4117 [BZ #13741]
4118 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4119 for C++ and GCC <4.3 as well as for non GCC compilers.
4120
4121 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4122
4123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4124
4125 2012-09-25 Roland McGrath <roland@hack.frob.com>
4126
4127 * Makefile.in (all, install): Declare with .PHONY.
4128 Reported by Michael Hope <michael.hope@linaro.org>.
4129
4130 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4131
4132 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4133 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4134 system header.
4135 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4136 Likewise.
4137 (sydep_routines): Add the new and the internal functions.
4138 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4139 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4141 (GLIBC_2.17): Add the new function.
4142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4143 (GLIBC_2.17): Likewise.
4144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4145 (GLIBC_2.17): Likewise.
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4147 (GLIBC_2.17): Likewise.
4148 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4149
4150 2012-09-25 Alan Modra <amodra@gmail.com>
4151
4152 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4153 Add release barrier before setting once_control to say
4154 initialisation is done. Add hints on lwarx. Use macro in
4155 place of isync.
4156 (clear_once_control): Add release barrier.
4157
4158 2012-09-25 Joseph Myers <joseph@codesourcery.com>
4159
4160 [BZ #13629]
4161 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4162 specially.
4163 * math/s_clog10.c (__clog10): Likewise.
4164 * math/s_clog10f.c (__clog10f): Likewise.
4165 * math/s_clog10l.c (__clog10l): Likewise.
4166 * math/s_clogf.c (__clogf): Likewise.
4167 * math/s_clogl.c (__clogl): Likewise.
4168 * math/Makefile (libm-calls): Add x2y2m1.
4169 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4170 (__x2y2m1): Likewise.
4171 (__x2y2m1l): Likewise.
4172 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4173 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4176 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4177 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4178 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4179 * sysdeps/i386/fpu/libm-test-ulps: Update.
4180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4181
4182 [BZ #14621]
4183 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4184 int as type of variable DEPTH.
4185 (glob): Use size_t instead of int as type of variables NEWCOUNT
4186 and OLD_PATHC.
4187
4188 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4189
4190 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4191 Add s_sincosf-sse2.
4192 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4193 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4194 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4195 macros for using routine as __sincosf_ia32.
4196 Use macro for function declaration and weak_alias.
4197 * sysdeps/i386/fpu/libm-test-ulps: Update.
4198
4199 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4201
4202 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4203 subnormal argument.
4204 * math/s_cexpf.c (__cexpf): Likewise.
4205 * math/s_csinf.c (__csinf): Likewise.
4206 * math/s_csinhf.c (__csinhf): Likewise.
4207 * math/s_ctanf.c (__ctanf): Likewise.
4208 * math/s_ctanhf.c (__ctanhf): Likewise.
4209 * math/s_ccosh.c (__ccoshf): Likewise.
4210 * math/s_cexp.c (__cexpl): Likewise.
4211 * math/s_csin.c (__csin): Likewise.
4212 * math/s_csinh.c (__csinh): Likewise.
4213 * math/s_ctan.c (__ctan): Likewise.
4214 * math/s_ctanh.c (ctanh): Likewise.
4215 * math/s_ccoshl.c (__ccoshl): Likewise.
4216 * math/s_cexpl.c (__cexpl): Likewise.
4217 * math/s_csinl.c (__csinl): Likewise.
4218 * math/s_csinhl.c (__csinhl): Likewise.
4219 * math/s_ctanl.c (__ctanl): Likewise.
4220 * math/s_ctanhl.c (__ctanhl): Likewise.
4221
4222 2012-09-25 Joseph Myers <joseph@codesourcery.com>
4223
4224 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4225 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4226 (_IO_off_t): Define to __off_t, not _G_off_t.
4227 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4228 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4229 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4230 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4231 type of __dummy and __dummy2 fields.
4232 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4233 (_G_ssize_t): Likewise.
4234 (_G_off_t): Likewise.
4235 (_G_pid_t): Likewise.
4236 (_G_uid_t): Likewise.
4237 (_G_wchar_t): Likewise.
4238 (_G_wint_t): Likewise.
4239 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4240 (_G_ssize_t): Likewise.
4241 (_G_off_t): Likewise.
4242 (_G_pid_t): Likewise.
4243 (_G_uid_t): Likewise.
4244 (_G_wchar_t): Likewise.
4245 (_G_wint_t): Likewise.
4246 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4247 (_G_ssize_t): Likewise.
4248 (_G_off_t): Likewise.
4249 (_G_pid_t): Likewise.
4250 (_G_uid_t): Likewise.
4251 (_G_wchar_t): Likewise.
4252 (_G_wint_t): Likewise.
4253
4254 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4255
4256 * malloc/arena.c: Include malloc-sysdep.h.
4257 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4258 is sufficient to shrink the heap or an unmap is needed.
4259 * sysdeps/generic/malloc-sysdep.h: New file. Define
4260 new function check_may_shrink_heap.
4261 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4262 new function check_may_shrink_heap.
4263
4264 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4265
4266 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4267 comments.
4268
4269 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4270
4271 * catgets/test-gencat.sh: Add "set -e".
4272 * elf/tst-pathopt.sh: Likewise.
4273 * grp/tst_fgetgrent.sh: Likewise.
4274 * iconvdata/run-iconv-test.sh: Likewise.
4275 * intl/tst-gettext.sh: Likewise.
4276 * intl/tst-gettext2.sh: Likewise.
4277 * intl/tst-gettext4.sh: Likewise.
4278 * intl/tst-gettext6.sh: Likewise.
4279 * intl/tst-translit.sh: Likewise.
4280 * io/ftwtest-sh: Likewise.
4281 * libio/test-freopen.sh: Likewise.
4282 * malloc/tst-mtrace.sh: Likewise.
4283 * posix/globtest.sh: Likewise.
4284 * posix/tst-getconf.sh: Likewise.
4285 * posix/wordexp-tst.sh: Likewise.
4286 * stdio-common/tst-printf.sh: Likewise.
4287 * stdio-common/tst-unbputc.sh: Likewise.
4288 * stdlib/tst-fmtmsg.sh: Likewise.
4289 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4290 * catgets/Makefile: Do not specify -e option when running
4291 testsuite shell scripts.
4292 * elf/Makefile: Likewise.
4293 * grp/Makefile: Likewise.
4294 * iconvdata/Makefile: Likewise.
4295 * intl/Makefile: Likewise.
4296 * io/Makefile: Likewise.
4297 * libio/Makefile: Likewise.
4298 * malloc/Makefile: Likewise.
4299 * posix/Makefile: Likewise.
4300 * stdio-common/Makefile: Likewise.
4301 * stdlib/Makefile: Likewise.
4302 * sysdeps/x86_64/Makefile: Likewise.
4303
4304 * io/ftwtest-sh: Add copyright header.
4305 * posix/globtest.sh: Likewise.
4306 * posix/tst-getconf.sh: Likewise.
4307 * posix/wordexp-tst.sh: Likewise.
4308 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4309
4310 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4311
4312 [BZ #13679]
4313 * Makeconfig (+link): Defined as $(+link-static) if
4314 $(build-shared) isn't yes.
4315 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4316 isn't yes.
4317 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4318
4319 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4320
4321 [BZ #14562]
4322 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4323 new chunk size with MALLOC_ALIGN_MASK.
4324
4325 2012-09-24 Joseph Myers <joseph@codesourcery.com>
4326
4327 [BZ #5044]
4328 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4329 <rounding-mode.h>.
4330 (__printf_fphex): Determine rounding using get_rounding_mode and
4331 round_away.
4332 * stdio-common/tst-printf-round.c (struct hex_test): New
4333 structure.
4334 (hex_tests): New variable.
4335 (test_hex_in_one_mode): New function.
4336 (do_test): Also run tests for hex float output.
4337
4338 2012-09-21 Joseph Myers <joseph@codesourcery.com>
4339
4340 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4341 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4342 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4343 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4344 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4345 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4346 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4347 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4348
4349 2012-09-20 Joseph Myers <joseph@codesourcery.com>
4350
4351 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4352 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4353 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4354 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4355
4356 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4357
4358 [BZ #14579]
4359 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4360 mode only.
4361 * elf/tst-rtld-load-self.sh: New test.
4362 * elf/Makefile: Run it.
4363
4364 2012-09-18 Joseph Myers <joseph@codesourcery.com>
4365
4366 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4367 (tst-writev-ENV): Remove.
4368 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4369
4370 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4371
4372 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4373
4374 2012-09-17 Joseph Myers <joseph@codesourcery.com>
4375
4376 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4377 unconditional.
4378 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4379 Likewise.
4380 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4381 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4382 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4383 Likewise.
4384
4385 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4386
4387 [BZ #14587]
4388 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4389 * config.make.in (have-cpp-asm-debuginfo): Removed.
4390 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4391 * configure: Regenerated.
4392
4393 2012-09-14 Joseph Myers <joseph@codesourcery.com>
4394
4395 [BZ #5044]
4396 * stdio-common/printf_fp.c: Include <stdbool.h> and
4397 <rounding-mode.h>.
4398 (___printf_fp): Determine rounding using get_rounding_mode and
4399 round_away.
4400 * stdio-common/tst-printf-round.c: New file.
4401 * stdio-common/Makefile (tests): Add tst-printf-round.
4402 (link-libm): New variable.
4403 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4404
4405 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4406
4407 [BZ #14576]
4408 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4409 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4410 Likewise.
4411 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4412 Likewise.
4413
4414 2012-09-13 Joseph Myers <joseph@codesourcery.com>
4415
4416 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4417 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4418 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4419 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4420
4421 2012-09-12 Joseph Myers <joseph@codesourcery.com>
4422
4423 [BZ #14518]
4424 * include/rounding-mode.h: New file.
4425 * sysdeps/generic/get-rounding-mode.h: Likewise.
4426 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4427 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4428 (MAX_VALUE): New macro.
4429 (MIN_VALUE): Likewise.
4430 (overflow_value): New function.
4431 (underflow_value): Likewise.
4432 (round_and_return): Use overflow_value and underflow_value to
4433 determine return values in overflow and underflow cases. Use
4434 round_away to determine rounding depending on rounding mode.
4435 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4436 determine return values in overflow and underflow cases.
4437 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4438 (struct test_results): New structure.
4439 (struct test): Use struct test_results to store expected results
4440 for all rounding modes.
4441 (TEST): Include expected results for all rounding modes.
4442 (test_in_one_mode): New function.
4443 (do_test): Use test_in_one_mode to compute and check results.
4444 Check results for all rounding modes.
4445 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4446 $(link-libm).
4447
4448 2012-12-09 Allan McRae <allan@archlinux.org>
4449
4450 * sysdeps/i386/fpu/libm-test-ulps: Update
4451
4452 2012-09-11 Joseph Myers <joseph@codesourcery.com>
4453
4454 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4455 (_G_int32_t): Likewise.
4456 (_G_uint16_t): Likewise.
4457 (_G_uint32_t): Likewise.
4458 (_G_HAVE_BOOL): Likewise.
4459 (_G_HAVE_ATEXIT): Likewise.
4460 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4461 (_G_HAVE_IO_FILE_OPEN): Likewise.
4462 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4463 (_G_int32_t): Likewise.
4464 (_G_uint16_t): Likewise.
4465 (_G_uint32_t): Likewise.
4466 (_G_HAVE_BOOL): Likewise.
4467 (_G_HAVE_ATEXIT): Likewise.
4468 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4469 (_G_HAVE_IO_FILE_OPEN): Likewise.
4470 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4471 (_G_int32_t): Likewise.
4472 (_G_uint16_t): Likewise.
4473 (_G_uint32_t): Likewise.
4474 (_G_HAVE_BOOL): Likewise.
4475 (_G_HAVE_ATEXIT): Likewise.
4476 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4477 (_G_HAVE_IO_FILE_OPEN): Likewise.
4478
4479 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4480
4481 * csu/libc-tls.c: Update copyright years.
4482
4483 2012-09-10 Joseph Myers <joseph@codesourcery.com>
4484
4485 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4486 [!_G_USING_THUNKS]: Remove conditional code.
4487 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4488 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4489
4490 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4491 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4492 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4493 (_G_VTABLE_LABEL_PREFIX): Likewise.
4494 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4495 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4496 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4497 (_G_VTABLE_LABEL_PREFIX): Likewise.
4498 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4499 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4500 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4501 (_G_VTABLE_LABEL_PREFIX): Likewise.
4502 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4503
4504 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4505
4506 * libio/Makefile: Include ../Makeconfig before tests.
4507 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4508 only if $(build-shared) is yes.
4509
4510 * iconv/gconv_db.c: Update copyright years.
4511
4512 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4513
4514 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4515 unwind info if defined PIC. Fix special cases description.
4516 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4517
4518 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4519 DP_HI_MASK entry.
4520 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4521
4522 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4523
4524 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4525
4526 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4527 is NULL.
4528
4529 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4530 (LDLIBS-tst-chk4): This.
4531 (LDFLAGS-tst-chk5): Renamed to ...
4532 (LDLIBS-tst-chk5): This.
4533 (LDFLAGS-tst-chk6): Renamed to ...
4534 (LDLIBS-tst-chk6): This.
4535 (LDFLAGS-tst-lfschk4): Renamed to ...
4536 (LDLIBS-tst-lfschk4): This.
4537 (LDFLAGS-tst-lfschk5): Renamed to ...
4538 (LDLIBS-tst-lfschk5): This.
4539 (LDFLAGS-tst-lfschk6): Renamed to ...
4540 (LDLIBS-tst-lfschk6): This.
4541
4542 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4543 on $(common-objpfx)soversions.mk.
4544
4545 2012-09-07 Joseph Myers <joseph@codesourcery.com>
4546
4547 [BZ #10014]
4548 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4549 example host name.
4550
4551 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4552
4553 * malloc/arena.c (arena_get_retry): New function that gets
4554 another arena for the caller to try its request on.
4555 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4556 current arena cannot fulfill the request.
4557 (__libc_memalign): Likewise.
4558 (__libc_memalign): Likewise.
4559 (__libc_pvalloc): Likewise.
4560 (__libc_calloc): Likewise.
4561
4562 2012-09-05 John Tobey <john.tobey@gmail.com>
4563
4564 [BZ #13542]
4565 * manual/arith.texi (Operations on Complex): Fix description
4566 of carg branch cut.
4567
4568 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4569
4570 [BZ #10014]
4571 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4572 host name.
4573
4574 [BZ #10038]
4575 * manual/memory.texi (Memory): Make order of menu items match
4576 order of sections.
4577
4578 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4579
4580 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4581 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4582 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4583
4584 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4585
4586 * csu/libc-tls.c (static_dtv): Renamed to ...
4587 (_dl_static_dtv): This. Make it global.
4588 (_dl_initial_dtv): Removed.
4589 (__libc_setup_tls): Updated.
4590 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4591 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4592 DL_INITIAL_DTV.
4593
4594 2012-09-06 Petr Machata <pmachata@redhat.com>
4595
4596 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4597 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4598 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4599 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4600
4601 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4602
4603 [BZ #14545]
4604 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4605 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4606 freeing dtv[-1].
4607
4608 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4609
4610 [BZ #14544]
4611 * Makeconfig (link-static-before-libc): Replace $(+prector)
4612 with $(+prectorT).
4613 (link-static-after-libc): Replace $(+postctor) with
4614 $(+postctorT).
4615 (link-bounded): Replace $(+prector)/$(+postctor) with
4616 $(+prectorT)/$(+postctorT).
4617 (+prectorT): New macro.
4618 (+postctorT): Likewise.
4619
4620 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4621
4622 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4623 (round_str): Handle values above the maximum for IBM long double
4624 as inexact.
4625 * stdlib/tst-strtod-round.c (tests): Regenerated.
4626
4627 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4628
4629 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4630 assembler flag.
4631 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4632 zarch_nohighgprs around the zarch optimized routines.
4633 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4634 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4635 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4636 for zarch.
4637
4638 2012-09-05 David S. Miller <davem@davemloft.net>
4639
4640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4641
4642 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4643 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4644 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4645 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4646 entries.
4647
4648 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4649
4650 * malloc/arena.c: Fold copyright years.
4651 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4652
4653 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4654
4655 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4656
4657 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4658
4659 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4660
4661 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4662
4663 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4664 change internal state upon failure.
4665
4666 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4667
4668 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4669 * malloc/memusage.c (mmap): Likewise.
4670 (mmap64, mremap): Likewise. Adjust name in comment.
4671
4672 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4673
4674 * libio/fileops.c: Fix typos in comments.
4675 * libio/oldfileops.c: Likewise.
4676 * libio/wfileops.c: Likewise.
4677
4678 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4679
4680 [BZ #1349]
4681 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4682 (tst-malloc-usable-ENV): Set environment for test case.
4683 * malloc/hooks.c (malloc_check_get_size): New function to get
4684 requested size.
4685 * malloc/malloc.c (musable): Use malloc_check_get_size.
4686 * malloc/tst-malloc-usable.c: New test case.
4687
4688 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4689
4690 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4691
4692 2012-09-05 Allan McRae <allan@archlinux.org>
4693
4694 [BZ #13966]
4695 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4696 determine header location.
4697 * configure: Regenerated.
4698
4699 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4700
4701 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4702 float format.
4703 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4704 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4705 format.
4706 (test): Regenerate.
4707
4708 2012-09-04 David S. Miller <davem@davemloft.net>
4709
4710 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4711 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4712 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4713
4714 2012-09-04 Florian Weimer <fweimer@redhat.com>
4715
4716 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4717 failures.
4718
4719 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4720
4721 2012-09-04 Joseph Myers <joseph@codesourcery.com>
4722
4723 [BZ #9914]
4724 * libio/iogetdelim.c: Include <limits.h>.
4725 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4726 + len + 1 would overflow.
4727
4728 2012-09-03 Andreas Jaeger <aj@suse.de>
4729
4730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4731 * sysdeps/i386/fpu/libm-test-ulps: Update.
4732
4733 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4734
4735 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4736 Add s_sinf-sse2, s_conf-sse2.
4737
4738 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4739 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4740 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4741 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4742
4743 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4744 for using routine as __sinf_ia32.
4745 Use macro for function declaration and weak_alias.
4746 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4747 for using routine as __cosf_ia32.
4748 Use macro for function declaration and weak_alias.
4749
4750 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4751 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4752
4753 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4754 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4756
4757 * math/libm-test.inc (cos_test): Add more test cases.
4758 (sin_test): Likewise.
4759 (sincos_test): Likewise.
4760
4761 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4762
4763 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4764 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4765 hidden.
4766 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4767
4768 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4769
4770 [BZ #14538]
4771 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4772 first element of the GOT.
4773 (elf_machine_load_address): Return the difference between
4774 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4775
4776 2012-09-01 Allan McRae <allan@archlinux.org>
4777
4778 [BZ #13412]
4779 * configure.in (AWK): Require gawk version 3.0 or later.
4780 * configure: Regenerated.
4781
4782 2012-09-01 Joseph Myers <joseph@codesourcery.com>
4783
4784 * sysdeps/unix/sysv/linux/kernel-features.h
4785 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4786 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4787 [__NR_clock_getres]: Make code unconditional.
4788 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4789 (clock_getcpuclockid): Remove code left unreachable by removal of
4790 conditionals.
4791 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4792 code unconditional.
4793 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4794 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4795 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4796 Make code unconditional.
4797 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4798 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4799 * sysdeps/unix/sysv/linux/clock_settime.c
4800 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4801 conditional code.
4802 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4803 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4804
4805 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4806
4807 [BZ #14476]
4808 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4809 scripts/test-installation.pl.
4810
4811 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4812 and $ld_so_version if it is set.
4813
4814 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4815
4816 [BZ #14516]
4817 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4818 failure if reading from procfs failed.
4819 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4820
4821 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4822
4823 * sysdeps/unix/sysv/linux/kernel-features.h
4824 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4825 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4826 Remove conditional code.
4827 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4828 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4829 Remove conditional code.
4830 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4831 * sysdeps/unix/sysv/linux/i386/fxstat.c
4832 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4833 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4834 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4835 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4836 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4837 * sysdeps/unix/sysv/linux/i386/lxstat.c
4838 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4839 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4840 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4841 Remove conditional code.
4842 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4843 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4844 Remove conditional code.
4845 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4846 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4847 <kernel-features.h>.
4848 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4849 Remove.
4850 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4851 Remove conditional code.
4852 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4853 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4854 Remove conditional.
4855
4856 2012-08-27 Mike Frysinger <vapier@gentoo.org>
4857
4858 [BZ #5400]
4859 * NEWS: Add fixed bug number.
4860
4861 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4862
4863 [BZ #14519]
4864 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4865 underflowing exponent in case of negative sign.
4866 * stdlib/tst-strtod-round-data: Add more tests.
4867 * stdlib/tst-strtod-round.c (tests): Regenerated.
4868
4869 [BZ #3479]
4870 * stdlib/strtod_l.c (NDIG): Remove.
4871 (HEXNDIG): Likewise.
4872 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4873 smallest representable value.
4874 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4875 lie within an exact representation of 1/2 ulp of the result.
4876 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4877 unconditionally.
4878 (TENS_P9_IDX): Define unconditionally.
4879 (TENS_P9_SIZE): Likewise.
4880 (TENS_P10_IDX): Likewise.
4881 (TENS_P10_SIZE): Likewise.
4882 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4883 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4884 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4885 entries for 10^2^13 and 10^2^14.
4886 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4887 (TENS_P13_IDX): Define.
4888 (TENS_P13_SIZE): Likewise.
4889 (TENS_P14_IDX): Likewise.
4890 (TENS_P14_SIZE): Likewise.
4891 (_fpioconst_pow10): Change array size to
4892 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4893 unconditional.
4894 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4895 1024]: Add entries for 10^2^13 and 10^2^14.
4896 [LAST_POW10 > _LAST_POW10]: Remove #error.
4897 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4898 (_fpioconst_pow10): Change array size to
4899 FPIOCONST_POW10_ARRAY_SIZE.
4900 * stdlib/gen-fpioconst.c: New file.
4901 * stdlib/gen-tst-strtod-round.c: Likewise.
4902 * stdlib/tst-strtod-round-data: Likewise.
4903 * stdlib/tst-strtod-round.c: Likewise.
4904 * stdlib/Makefile (tests): Add tst-strtod-round.
4905
4906 [BZ #14459]
4907 * stdlib/strtod_l.c: Include <stdint.h>.
4908 (NDEBUG): Do not define.
4909 (round_and_return): Change EXPONENT parameter to type intmax_t.
4910 Rearrange calculations to avoid internal overflow possibilities.
4911 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4912 Rearrange calculations to avoid internal overflow possibilities.
4913 Assert that number fits inside MPNSIZE limbs.
4914 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4915 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4916 calculations and add assertions to avoid internal overflow
4917 possibilities. Add casts to avoid signed/unsigned operations.
4918 * stdlib/tst-strtod-overflow.c: New file.
4919 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4920
4921 2012-08-25 Marek Polacek <polacek@redhat.com>
4922
4923 * time/time.h: Fix some typos in comments.
4924
4925 2012-08-23 Roland McGrath <roland@hack.frob.com>
4926
4927 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4928 * posix/tst-rfc3484-2.c: Likewise.
4929 * posix/tst-rfc3484-3.c: Likewise.
4930
4931 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4932
4933 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4934 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4935
4936 2012-08-23 Joseph Myers <joseph@codesourcery.com>
4937
4938 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4939 #include of fxstatat64.c.
4940
4941 2012-08-22 Roland McGrath <roland@hack.frob.com>
4942
4943 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4944 * shadow/getspent_r.c: Likewise.
4945 * shadow/getspnam.c: Likewise.
4946 * shadow/getspnam_r.c: Likewise.
4947 * gshadow/getsgent.c: Likewise.
4948 * gshadow/getsgent_r.c: Likewise.
4949 * gshadow/getsgnam.c: Likewise.
4950 * gshadow/getsgnam_r.c: Likewise.
4951 * inet/getnetbyad.c: Likewise.
4952 * inet/getnetbyad_r.c: Likewise.
4953 * inet/getnetbynm.c: Likewise.
4954 * inet/getnetbynm_r.c: Likewise.
4955 * inet/getnetent.c: Likewise.
4956 * inet/getnetent_r.c: Likewise.
4957 * inet/getproto.c: Likewise.
4958 * inet/getproto_r.c: Likewise.
4959 * inet/getprtent.c: Likewise.
4960 * inet/getprtent_r.c: Likewise.
4961 * inet/getprtname.c: Likewise.
4962 * inet/getprtname_r.c: Likewise.
4963 * inet/getrpcbyname.c: Likewise.
4964 * inet/getrpcbyname_r.c: Likewise.
4965 * inet/getrpcbynumber.c: Likewise.
4966 * inet/getrpcbynumber_r.c: Likewise.
4967 * inet/getrpcent.c: Likewise.
4968 * inet/getrpcent_r.c: Likewise.
4969 * inet/getaliasent.c: Likewise.
4970 * inet/getaliasent_r.c: Likewise.
4971 * inet/getaliasname.c: Likewise.
4972 * inet/getaliasname_r.c: Likewise.
4973 * nscd/getgrgid_r.c: Likewise.
4974 * nscd/getgrnam_r.c: Likewise.
4975 * nscd/gethstbyad_r.c: Likewise.
4976 * nscd/gethstbynm3_r.c: Likewise.
4977 * nscd/getpwnam_r.c: Likewise.
4978 * nscd/getpwuid_r.c: Likewise.
4979 * nscd/getsrvbynm_r.c: Likewise.
4980 * nscd/getsrvbypt_r.c: Likewise.
4981 * nscd/gai.c: Likewise.
4982
4983 * configure.in (build_nscd): New substituted variable, set
4984 by --disable-build-nscd and defaults to $use_nscd.
4985 * configure: Regenerated.
4986 * config.make.in (build-nscd): New substituted variable.
4987 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4988 Change conditional to require [$(build-nscd) = yes] as well.
4989 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4990
4991 [BZ# 13696]
4992 * configure.in (use_nscd): New substituted variable, set by
4993 --disable-nscd. If enabled, define USE_NSCD.
4994 * configure: Regenerated.
4995 * config.h.in: Add USE_NSCD.
4996 * config.make.in (use-nscd): New substituted variable.
4997 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4998 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4999 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5000 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5001 (CFLAGS-getgrnam_r.c): Likewise.
5002 (CFLAGS-initgroups.c): Likewise.
5003 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5004 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5005 Variables removed.
5006 * inet/getnetgrent_r.c
5007 (nscd_setnetgrent): New function, broken out of ...
5008 (setnetgrent): ... here. Call it.
5009 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5010 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5011 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5012 * nscd/Makefile (routines, aux): Move definitions after include of
5013 Makeconfig. Conditionalize on [$(use-nscd) != no].
5014 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5015 Conditionalize on [USE_NSCD].
5016 (is_nscd, nscd_init_cb): Likewise.
5017 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5018 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5019 * nss/nss_db/db-init.c: Likewise.
5020 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5021 [USE_NSCD].
5022 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5023 (make_request): Use it.
5024 (cache_valid_p): New function.
5025 (__check_pf): Use it.
5026 * NEWS: Add item for --disable-nscd.
5027
5028 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5029
5030 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5031 to support sed >= 4.2.1-20-ga9bf076.
5032 * configure: Regenerated.
5033
5034 2012-08-22 Roland McGrath <roland@hack.frob.com>
5035
5036 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5037 Conditionalize whole body on [IREL].
5038
5039 2012-08-22 Jeff Law <law@redhat.com>
5040
5041 [BZ #14505]
5042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5043 if the family is PF_UNSPEC.
5044
5045 2012-08-22 Mike Frysinger <vapier@gentoo.org>
5046
5047 * Makerules (lib-version): Rename from V.
5048 (install-lib-nosubdir): Change V to lib-version.
5049
5050 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5051
5052 [BZ #14252]
5053 * powerpc32/power6/wcschr.c: New file.
5054 * powerpc32/power6/wcscpy.c: New file.
5055 * powerpc32/power6/wcsrchr.c: New file.
5056 * powerpc64/power6/wcschr.c: New file.
5057 * powerpc64/power6/wcscpy.c: New file.
5058 * powerpc64/power6/wcsrchr.c: New file.
5059
5060 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5061
5062 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5063 (two_way_short_needle): Use it.
5064 * string/strstr.c (AVAILABLE1_USES_J): Define.
5065 * string/strcasestr.c: Likewise.
5066
5067 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5068 array references.
5069 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5070
5071 [BZ #11607]
5072 * NEWS: Add an entry.
5073 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5074 define their defaults.
5075 (two_way_short_needle): Detect end-of-string on-the-fly.
5076 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5077 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5078 * string/bug-strcasestr1.c: New test.
5079 * string/Makefile: Run it.
5080
5081 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5082
5083 [BZ #11607]
5084 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5085 the first character.
5086
5087 2012-08-21 Roland McGrath <roland@hack.frob.com>
5088
5089 * csu/elf-init.c (__libc_csu_irel): Function removed.
5090 * csu/libc-start.c (apply_irel): New function.
5091 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5092
5093 2012-08-21 Joseph Myers <joseph@codesourcery.com>
5094
5095 * sysdeps/unix/sysv/linux/kernel-features.h
5096 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5097 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5098 <kernel-features.h>.
5099 [__NR_fadvise64_64]: Make code unconditional.
5100 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5101 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5102 !__NR_fadvise64_64)]: Likewise.
5103 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5104 !__NR_fadvise64_64))]: Likewise.
5105 [__NR_fadvise64]: Make code unconditional.
5106 [!__NR_fadvise64]: Remove conditional code.
5107 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5108 <kernel-features.h>.
5109 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5110 unconditional.
5111 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5112 conditional code.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5114 not include <kernel-features.h>.
5115 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5116 unconditional.
5117 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5118 conditional code.
5119 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5120 include <kernel-features.h>.
5121 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5122 unconditional.
5123 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5124 conditional code.
5125
5126 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5127
5128 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5129 slight instruction rearrangements per scrollpipe analysis.
5130 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5131
5132 2012-08-20 Roland McGrath <roland@hack.frob.com>
5133
5134 * manual/syslog.texi (syslog; vsyslog, closelog):
5135 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5136 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5137
5138 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5139 DSOCAPS to match condition on defining it.
5140
5141 2012-08-20 Joseph Myers <joseph@codesourcery.com>
5142
5143 * sysdeps/unix/sysv/linux/kernel-features.h
5144 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5146 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5147 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5149 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5150 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5152 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5153 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5154
5155 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5156 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5157
5158 * sysdeps/unix/sysv/linux/kernel-features.h
5159 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5160 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5161 unconditional.
5162 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5163 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5164 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5165 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5166 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5167 Make code unconditional.
5168 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5169 (__mmap64) [!__NR_mmap2]: Likewise.
5170 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5171 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5172 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5173 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5174 [__NR_mmap2]: Make code unconditional.
5175 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5176 (__mmap64) [!__NR_mmap2]: Likewise.
5177
5178 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5179
5180 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5181
5182 2012-08-18 Andreas Jaeger <aj@suse.de>
5183
5184 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5185
5186 2012-08-18 Mike Frysinger <vapier@gentoo.org>
5187
5188 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5189 * include/unistd.h (__have_sock_cloexec): Likewise.
5190 (__have_pipe2): Likewise.
5191 (__have_dup3): Likewise.
5192
5193 2012-08-18 Mike Frysinger <vapier@gentoo.org>
5194
5195 [BZ #9685]
5196 * include/unistd.h (__have_pipe2): Change define into an extern int.
5197 (__have_dup3): Likewise.
5198 * socket/have_sock_cloexec.c: Include fcntl.h.
5199 (__have_pipe2): New variable.
5200 (__have_dup3): Likewise.
5201
5202 2012-08-17 Mike Frysinger <vapier@gentoo.org>
5203
5204 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5205
5206 2012-08-17 Marek Polacek <polacek@redhat.com>
5207
5208 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5209 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5210
5211 2012-08-17 Roland McGrath <roland@hack.frob.com>
5212
5213 * configure.in: Add AC_SUBST for sysheaders.
5214 * configure: Regenerated.
5215 * config.make.in (sysheaders): New substituted variable.
5216
5217 * sysdeps/unix/mkfifo.c: Moved ...
5218 * sysdeps/posix/mkfifo.c: ... here.
5219 * sysdeps/unix/mkfifoat.c: Moved ...
5220 * sysdeps/posix/mkfifoat.c: ... here.
5221
5222 * sysdeps/unix/utime.c: Moved ...
5223 * sysdeps/posix/utime.c: ... here.
5224
5225 * sysdeps/unix/time.c: Moved ...
5226 * sysdeps/posix/time.c: ... here.
5227 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5228 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5229
5230 * sysdeps/unix/nice.c: Moved ...
5231 * sysdeps/posix/nice.c: ... here.
5232
5233 * sysdeps/unix/alarm.c: Moved ...
5234 * sysdeps/posix/alarm.c: ... here.
5235
5236 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5237
5238 2012-08-17 Jeff Law <law@redhat.com>
5239
5240 * intl/Makefile (codeset_mo): New variable.
5241 ($(codeset_mo)): New target.
5242 (tst-codeset.out): Depend on that. Remove explicit rule.
5243 (tst-gettext3.out, tst-gettext5.out): Likewise.
5244 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5245 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5246 * intl/tst-codeset.sh: Remove.
5247 * intl/tst-gettext3.sh: Likewise.
5248 * intl/tst-gettext5.sh: Likewise.
5249
5250 2012-08-17 Roland McGrath <roland@hack.frob.com>
5251
5252 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5253 * sysdeps/unix/syscalls.list: ... here.
5254
5255 * sysdeps/posix/getaddrinfo.c
5256 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5257 (gaiconf_init, gaiconf_reload): Use them.
5258 [!_STATBUF_ST_NSEC]
5259 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5260 Define using time_t rather than struct timespec.
5261
5262 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5263 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5264 Macros removed.
5265 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5266 [!NO_THREADS].
5267 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5268 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5269 Likewise.
5270
5271 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5272 __libc_cleanup_push argument.
5273
5274 * bits/param.h: New file.
5275 * misc/sys/param.h: New file.
5276 * include/sys/param.h: New file.
5277 * misc/Makefile (headers): Add bits/param.h.
5278 * sysdeps/generic/sys/param.h: File removed.
5279 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5280 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5281 * sysdeps/mach/hurd/bits/param.h: New file.
5282 * sysdeps/mach/hurd/sys/param.h: File removed.
5283
5284 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5285 last change.
5286
5287 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5288 [_IO_MTSAFE_IO].
5289 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5290 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5291 New macros.
5292
5293 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5294 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5295 rather than -D_IO_MTSAFE_IO conditionally.
5296 * stdio-common/Makefile (CPPFLAGS): Likewise.
5297 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5298 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5299 Use $(libio-mtsafe).
5300 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5301 of -D_IO_MTSAFE_IO.
5302 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5303 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5304 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5305 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5306 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5307 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5308 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5309 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5310 (CFLAGS-fread_u_chk.c): Likewise.
5311 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5312 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5313 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5314 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5315 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5316 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5317 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5318 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5319 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5320
5321 * libio/Makefile: Test [$(libc-reentrant) = yes]
5322 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5323
5324 * Makeconfig
5325 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5326 * sysdeps/pthread/configure: File removed.
5327 * sysdeps/pthread/Makeconfig: New file.
5328 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5329 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5330
5331 2012-08-16 Gary Benson <gbenson@redhat.com>
5332
5333 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5334 unmapping the first object in a namespace.
5335
5336 2012-08-16 Roland McGrath <roland@hack.frob.com>
5337
5338 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5339 (__internal_setnetgrent): ... this. Add internal_function to
5340 definition. Add libc_hidden_def.
5341 (setnetgrent): Update caller.
5342 (internal_endnetgrent): Renamed to ...
5343 (__internal_endnetgrent): ... this. Add internal_function to
5344 definition. Add libc_hidden_def.
5345 (endnetgrent): Update caller.
5346 (internal_getnetgrent_r): Renamed to ...
5347 (__internal_getnetgrent_r): ... this. Add internal_function to
5348 definition. Add libc_hidden_def.
5349 (__getnetgrent_r): Update caller.
5350 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5351
5352 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5353
5354 * stdlib/longlong.h: Update from GCC.
5355
5356 2012-08-16 Roland McGrath <roland@hack.frob.com>
5357
5358 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5359 on _QL, which is set by umul_ppmm but never used.
5360 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5361 variables, which are set by GMP macros but never used.
5362 * stdio-common/_itowa.c (_itowa): Likewise.
5363 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5364 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5365
5366 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5367
5368 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5369 struct La_sh_regs is not constant.
5370 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5371 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5372 and struct La_sparc64_regs are not constant.
5373
5374 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5375
5376 * sysdeps/unix/sysv/linux/kernel-features.h
5377 (__ASSUME_POSIX_TIMERS): Remove.
5378 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5379 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5380 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5381 Make code unconditional.
5382 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5383 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5384 Make code unconditional.
5385 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5386 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5387 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5388 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5389 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5390 Make code unconditional.
5391 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5392 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5393 (__libc_missing_posix_timers): Remove.
5394
5395 2012-08-15 Roland McGrath <roland@hack.frob.com>
5396
5397 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5398 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5399
5400 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5401
5402 * elf/dl-sym.c: Include <stdlib.h>.
5403
5404 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5405 constants, which avoids warnings in 32-bit builds.
5406
5407 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5408 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5409
5410 * misc/lseek.c: File moved to ...
5411 * io/lseek.c: ... here.
5412
5413 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5414
5415 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5416 shifting LEN more than 31 bits at once.
5417
5418 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5419
5420 [BZ #14195]
5421 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5422 segmentation fault for a case of two empty input strings.
5423 * string/test-strncasecmp.c (check1): Renamed to...
5424 (bz12205): ...this.
5425 (bz14195): Add new testcase for two empty input strings and N > 0.
5426 (test_main): Call new testcase, adapt for renamed function.
5427
5428 2012-08-15 Andreas Jaeger <aj@suse.de>
5429
5430 [BZ #14090]
5431 * crypt/md5test2.c: New test, based on test supplied by Serge
5432 Belyshev <belyshev@depni.sinp.msu.ru>.
5433 * crypt/Makefile (xtests): Add md5test-giant..
5434 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5435
5436 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5437
5438 [BZ #14090]
5439 * crypt/md5.c (md5_process_block): Don't assume the buffer
5440 length is less than 2**32.
5441 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5442 length is less than 2**64.
5443
5444 2012-08-15 Roland McGrath <roland@hack.frob.com>
5445
5446 * string/str-two-way.h: Include <sys/param.h>.
5447 (MAX): Macro removed.
5448
5449 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5450 Move #define and #undef of memmove to just before and after
5451 including <string.h>.
5452
5453 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5454 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5455 and after including <string.h>. Move declarations of
5456 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5457 to before #include "string/memmove.c".
5458
5459 * include/dirent.h: Declare __getdirentries.
5460
5461 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5462 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5463
5464 2012-08-14 Mike Frysinger <vapier@gentoo.org>
5465
5466 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5467 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5468 * sysdeps/i386/configure: Regenerated.
5469 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5470 STABS_CURRENT_FILE, and STABS_FUN.
5471 (END): Remove call to STABS_FUN_END.
5472 (STABS_CURRENT_FILE1): Delete.
5473 (STABS_CURRENT_FILE): Likewise.
5474 (STABS_FUN): Likewise.
5475 (STABS_FUN_END): Likewise.
5476 (STABS_FUN2): Likewise.
5477 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5478 * sysdeps/x86_64/configure: Regenerated.
5479
5480 2012-08-14 Roland McGrath <roland@hack.frob.com>
5481
5482 * elf/dl-open.c: Include <atomic.h>.
5483 * elf/dl-lookup.c: Likewise.
5484
5485 2012-08-14 Joseph Myers <joseph@codesourcery.com>
5486
5487 * sysdeps/unix/sysv/linux/kernel-features.h
5488 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5489 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5490 unconditionally.
5491 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5492 unconditionally.
5493 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5494 condition on __ASSUME_CLONE_THREAD_FLAGS.
5495
5496 2012-08-14 Andreas Jaeger <aj@suse.de>
5497
5498 * sysdeps/i386/fpu/libm-test-ulps: Update.
5499
5500 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5501
5502 * include/atomic.h (atomic_exchange_and_add): Split into ...
5503 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5504 New atomic macros.
5505
5506 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5507
5508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5509
5510 2012-08-13 Jeff Law <law@redhat.com>
5511
5512 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5513 null byte in the output string.
5514
5515 2012-08-10 Joseph Myers <joseph@codesourcery.com>
5516
5517 * sysdeps/unix/sysv/linux/kernel-features.h
5518 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5519 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5520 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5521 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5522 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5523 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5524 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5525
5526 2012-08-09 Jeff Law <law@redhat.com>
5527
5528 [BZ #13939]
5529 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5530 When avoid_arena is set, don't retry in the that arena. Pick the
5531 next one, whatever it might be.
5532 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5533 (arena_lock): Pass in new parameter to arena_get2.
5534 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5535 arena_get2.
5536 (__libc_malloc): Unify retrying after main arena failure with
5537 __libc_memalign version.
5538 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5539
5540 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5541
5542 [BZ #14166]
5543 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5544 to __redirect_strstr.
5545 (__strstr_sse42): Use typeof __redirect_strstr.
5546 (__strstr_ia32): Likewise.
5547 (__libc_strstr): New prototype.
5548 (strstr): Renamed to ...
5549 (__libc_strstr): This.
5550 (strstr): New strong alias of __libc_strstr.
5551 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5552 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5553 __redirect_time.
5554 Include <time.h>.
5555 (__libc_time): New prototype.
5556 (time_ifunc): Replace time with __libc_time.
5557 (time): New strong alias and hidden definition of __libc_time.
5558 (__GI_time): Remove strong alias.
5559 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5560 Include <stddef.h>.
5561 (memmove): Redefined to __redirect_memmove.
5562 (__memmove_sse2): Use typeof __redirect_memmove.
5563 (__memmove_ssse3): Likewise.
5564 (__memmove_ssse3_back): Likewise.
5565 (__libc_memmove): New prototype.
5566 (memmove): Renamed to ...
5567 (__libc_memmove): This.
5568 (memmove): New strong alias of __libc_memmove.
5569
5570 2012-08-08 Mark Salter <msalter@redhat.com>
5571
5572 * elf/elf.h
5573 (R_MN10300_TLS_GD): Define.
5574 (R_MN10300_TLS_LD): Likewise.
5575 (R_MN10300_TLS_LDO): Likewise.
5576 (R_MN10300_TLS_GOTIE): Likewise.
5577 (R_MN10300_TLS_IE): Likewise.
5578 (R_MN10300_TLS_LE): Likewise.
5579 (R_MN10300_TLS_DTPMOD): Likewise.
5580 (R_MN10300_TLS_DTPOFF): Likewise.
5581 (R_MN10300_TLS_TPOFF): Likewise.
5582 (R_MN10300_SYM_DIFF): Likewise.
5583 (R_MN10300_ALIGN): Likewise.
5584 (R_MN10300_NUM): Update.
5585
5586 2012-08-08 Joseph Myers <joseph@codesourcery.com>
5587
5588 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5589 Remove.
5590
5591 2012-08-08 Roland McGrath <roland@hack.frob.com>
5592
5593 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5594
5595 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5596 sysdeps/unix -> sysdeps/posix move.
5597 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5598
5599 2012-08-07 Allan McRae <allan@archlinux.org>
5600
5601 [BZ #14303]
5602 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5603 (SUNOS_CPP): Likewise.
5604 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5605 not found.
5606 (open_input): Call CPP using execvp.
5607
5608 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5609
5610 * sysdeps/unix/sysv/linux/kernel-features.h
5611 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5612 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5613 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5614 (__ASSUME_WAITID_SYSCALL): Likewise.
5615 * sysdeps/unix/sysv/linux/dl-execstack.c
5616 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5617 code unconditional.
5618 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5619 conditional code.
5620 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5621 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5622 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5623 code.
5624 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5625 unconditional.
5626 [__ASSUME_WAITID_SYSCALL]: Likewise.
5627 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5628
5629 2012-08-07 Roland McGrath <roland@hack.frob.com>
5630
5631 * sysdeps/unix/closedir.c: Renamed to ...
5632 * sysdeps/posix/closedir.c: ... here.
5633 * sysdeps/unix/dirfd.c: Renamed to ...
5634 * sysdeps/posix/dirfd.c: ... here.
5635 * sysdeps/unix/dirstream.h: Renamed to ...
5636 * sysdeps/posix/dirstream.h: ... here.
5637 * sysdeps/unix/fdopendir.c: Renamed to ...
5638 * sysdeps/posix/fdopendir.c: ... here.
5639 * sysdeps/unix/opendir.c: Renamed to ...
5640 * sysdeps/posix/opendir.c: ... here.
5641 * sysdeps/unix/readdir.c: Renamed to ...
5642 * sysdeps/posix/readdir.c: ... here.
5643 * sysdeps/unix/readdir_r.c: Renamed to ...
5644 * sysdeps/posix/readdir_r.c: ... here.
5645 * sysdeps/unix/rewinddir.c: Renamed to ...
5646 * sysdeps/posix/rewinddir.c: ... here.
5647 * sysdeps/unix/seekdir.c: Renamed to ...
5648 * sysdeps/posix/seekdir.c: ... here.
5649 * sysdeps/unix/telldir.c: Renamed to ...
5650 * sysdeps/posix/telldir.c: ... here.
5651 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5652 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5653 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5654 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5655
5656 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5657 * bits/fcntl.h: ... here.
5658
5659 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5660 not 0.
5661 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5662 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5663 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5664 (struct flock): Move l_start, l_len to the beginning.
5665 Use __pid_t for l_pid.
5666 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5667 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5668 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5669 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5670 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5671 [__USE_LARGEFILE64] (struct flock64): New type.
5672 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5673
5674 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5675 * bits/dirent.h: ... here.
5676
5677 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5678 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5679
5680 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5681
5682 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5683 Change from 2.6.0 to 2.6.16.
5684 * sysdeps/unix/sysv/linux/configure: Regenerated.
5685 * sysdeps/unix/sysv/linux/kernel-features.h
5686 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5687 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5688 version.
5689 (__ASSUME_UTIMES): Likewise.
5690 (__ASSUME_CLONE_STOPPED): Remove.
5691 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5692 architectures, not kernel version.
5693 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5694 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5695 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5696 (__ASSUME_WAITID_SYSCALL): Likewise.
5697 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5698 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5699 * README: State 2.6.16 as minimum Linux kernel version. Do not
5700 refer to older versions.
5701
5702 2012-08-06 Roland McGrath <roland@hack.frob.com>
5703
5704 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5705 Define alphasort64 as an alias.
5706 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5707 Define versionsort64 as an alias.
5708 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5709 Define scandir64 as an alias.
5710 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5711 Define scandirat64 as an alias.
5712 * dirent/alphasort64.c (alphasort64):
5713 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5714 * dirent/versionsort64.c: Likewise.
5715 * dirent/scandir64.c: Likewise.
5716 * dirent/scandirat64.c: Likewise.
5717 * sysdeps/wordsize-64/alphasort.c: File removed.
5718 * sysdeps/wordsize-64/alphasort64.c: File removed.
5719 * sysdeps/wordsize-64/scandir.c: File removed.
5720 * sysdeps/wordsize-64/scandir64.c: File removed.
5721 * sysdeps/wordsize-64/scandirat.c: File removed.
5722 * sysdeps/wordsize-64/scandirat64.c: File removed.
5723 * sysdeps/wordsize-64/versionsort.c: File removed.
5724 * sysdeps/wordsize-64/versionsort64.c: File removed.
5725 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5726 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5727 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5728 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5729 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5730 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5731 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5732 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5733
5734 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5735 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5736 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5738 [defined __arch64__ || defined __sparcv9]
5739 (__INO_T_MATCHES_INO64_T): New macro.
5740 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5741 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5742 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5743 * sysdeps/unix/sysv/linux/bits/dirent.h
5744 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5745 (_DIRENT_MATCHES_DIRENT64): New macro.
5746
5747 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5748 Define lockf64 as an alias.
5749 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5750 Define fseeko64 as an alias.
5751 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5752 Define ftello64 as an alias.
5753 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5754 Define _IO_fgetpos64 and fgetpos64 as aliases.
5755 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5756 Define _IO_fsetpos64 and fsetpos64 as aliases.
5757 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5758 Conditionalize body on this.
5759 * libio/fseeko64.c: Likewise.
5760 * libio/ftello64.c: Likewise.
5761 * libio/iofgetpos64.c: Likewise.
5762 * libio/iofsetpos64.c: Likewise.
5763 * sysdeps/wordsize-64/lockf.c: File removed.
5764 * sysdeps/wordsize-64/lockf64.c: File removed.
5765 * sysdeps/wordsize-64/fseeko.c: File removed.
5766 * sysdeps/wordsize-64/fseeko64.c: File removed.
5767 * sysdeps/wordsize-64/ftello.c: File removed.
5768 * sysdeps/wordsize-64/ftello64.c: File removed.
5769 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5770 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5771 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5772 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5773 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5774 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5775 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5776 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5777 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5778 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5779 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5780 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5781 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5782 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5783
5784 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5786 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5787 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5788 [defined __arch64__ || defined __sparcv9]
5789 (__OFF_T_MATCHES_OFF64_T): New macro.
5790 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5791 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5792 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5793 (__OFF_T_MATCHES_OFF64_T): New macro.
5794
5795 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5796
5797 * stdlib/secure-getenv.c (__secure_getenv): Replace
5798 GLIBC_2_16 with GLIBC_2_17.
5799
5800 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5801
5802 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5803 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5804
5805 2012-08-03 David S. Miller <davem@davemloft.net>
5806
5807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5808
5809 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5810
5811 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5812 Remove.
5813 (__ASSUME_CORRECT_SI_PID): Likewise.
5814 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5815 (__ASSUME_TMPFS_NAME): Likewise.
5816 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5817 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5818 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5819 (HAVE_AUX_SECURE): Make definition unconditional.
5820 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5821 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5822
5823 2012-08-03 Roland McGrath <roland@hack.frob.com>
5824
5825 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5826 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5827 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5828 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5829 __eloop_threshold instead of SYMLOOP_MAX.
5830
5831 * sysdeps/generic/eloop-threshold.h: New file.
5832 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5833 of MAXSYMLINKS.
5834 * elf/chroot_canon.c (chroot_canon): Likewise.
5835
5836 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5837
5838 [BZ #13717]
5839 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5840 Change to 2.6.0 everywhere.
5841 * sysdeps/unix/sysv/linux/configure: Regenerated.
5842 * sysdeps/unix/sysv/linux/kernel-features.h
5843 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5844 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5845 kernel versions.
5846 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5847 (__ASSUME_FUTEX_REQUEUE): Remove.
5848 (__ASSUME_STATFS64): Define unconditionally.
5849 (__ASSUME_AT_SECURE): Likewise.
5850 (__ASSUME_CORRECT_SI_PID): Likewise.
5851 (__ASSUME_TGKILL): Define without depending on kernel version for
5852 i386.
5853 (__ASSUME_UTIMES): Likewise.
5854 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5855 kernel version.
5856 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5857 (__ASSUME_TMPFS_NAME): Likewise.
5858 * README: Update reference to Linux kernel versions.
5859
5860 2012-08-02 Marek Polacek <polacek@redhat.com>
5861
5862 [BZ# 14150]
5863 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5864 libc_cv_asm_type_prefix with %.
5865 * configure: Regenerated.
5866 * include/libc-symbols.h: Remove comment about
5867 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5868 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5869 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5870 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5871 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5872 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5873 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5874 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5875 * elf/tst-unique2mod1.c: Likewise.
5876 * elf/tst-unique1mod2.c: Likewise.
5877 * elf/tst-unique1mod1.c: Likewise.
5878 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5879 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5880 Replace ASM_TYPE_DIRECTIVE with .type.
5881 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5882 * sysdeps/i386/sysdep.h: Likewise.
5883 * sysdeps/x86_64/sysdep.h: Likewise.
5884 * sysdeps/sh/sysdep.h: Likewise.
5885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5886 Do not define ASM_TYPE_DIRECTIVE.
5887 * sysdeps/powerpc/sysdep.h: Likewise.
5888 * sysdeps/powerpc/powerpc32/sysdep.h:
5889 Replace ASM_TYPE_DIRECTIVE with .type.
5890 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5891 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5892 * sysdeps/i386/fpu/e_powf.S: Likewise.
5893 * sysdeps/i386/fpu/e_expl.S: Likewise.
5894 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5895 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5896 * sysdeps/i386/fpu/e_pow.S: Likewise.
5897 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5898 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5899 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5900 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5901 * sysdeps/i386/fpu/e_log2.S: Likewise.
5902 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5903 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5904 * sysdeps/i386/fpu/e_powl.S: Likewise.
5905 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5906 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5907 * sysdeps/i386/fpu/e_logl.S: Likewise.
5908 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5909 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5910 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5911 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5912 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5913 * sysdeps/i386/fpu/e_log.S: Likewise.
5914 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5915 * sysdeps/i386/fpu/e_logf.S: Likewise.
5916 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5917 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5918 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5919 * sysdeps/i386/fpu/e_log10.S: Likewise.
5920 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5921 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5922 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5923 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5924 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5925 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5926 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5927 * sysdeps/i386/i686/strtok.S: Likewise.
5928 * sysdeps/i386/i386-mcount.S: Likewise.
5929 * sysdeps/i386/strtok.S: Likewise.
5930 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5931 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5932 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5933 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5934 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5935 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5936 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5937 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5938 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5939 * sysdeps/x86_64/_mcount.S: Likewise.
5940 * sysdeps/x86_64/strtok.S: Likewise.
5941 * sysdeps/sh/_mcount.S: Likewise.
5942
5943 2012-08-01 Roland McGrath <roland@hack.frob.com>
5944
5945 * libio/iofopen.c: Include <fcntl.h>.
5946 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5947 (_IO_fopen64, fopen64): Define as aliases.
5948 * libio/iofopen64.c: Include <fcntl.h>.
5949 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5950 Conditionalize body on this.
5951 * sysdeps/wordsize-64/iofopen.c: File removed.
5952 * sysdeps/wordsize-64/iofopen64.c: File removed.
5953
5954 2012-08-01 Marek Polacek <polacek@redhat.com>
5955
5956 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5957 Use dlfcn directly instead of a variable.
5958 (binfmt-subdir): Do not define.
5959 (dlfcn): Likewise.
5960
5961 2012-08-01 Joseph Myers <joseph@codesourcery.com>
5962
5963 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5964 Remove all definitions.
5965 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5966 <kernel-features.h>.
5967 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5968 (miss_F_GETOWN_EX): Remove all definitions.
5969 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5970 macro definition.
5971 [!__ASSUME_FCNTL64]: Remove conditional code.
5972 [__ASSUME_FCNTL64]: Make code unconditional.
5973 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5974 <kernel-features.h>.
5975 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5976 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5977 (lockf64) [__NR_fcntl64]: Make code unconditional.
5978 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5979
5980 * sysdeps/unix/sysv/linux/kernel-features.h
5981 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5982 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5983 Make code unconditional.
5984 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5985 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5987 [__NR_vfork]: Make code unconditional.
5988 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5989 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5991 [__NR_vfork]: Make code unconditional.
5992 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5993 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5994
5995 2012-08-01 Roland McGrath <roland@hack.frob.com>
5996
5997 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5998 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5999
6000 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6001 Define mkstemp64 as an alias.
6002 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6003 Define mkstemps64 as an alias.
6004 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6005 Define mkostemp64 as an alias.
6006 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6007 Define mkostemps64 as an alias.
6008 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6009 Conditionalize body on this.
6010 * misc/mkostemp64.c: Likewise.
6011 * misc/mkostemps64.c: Likewise.
6012 * misc/mkstemps64.c: Likewise.
6013 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6014 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6015 * sysdeps/wordsize-64/mkostemp.c: File removed.
6016 * sysdeps/wordsize-64/mkstemp.c: File removed.
6017 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6018 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6019 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6020 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6021
6022 [BZ #14138]
6023 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6024 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6025 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6026 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6027
6028 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6029 compat_symbol macros from <shlib-compat.h> rather than the underlying
6030 default_symbol_version and symbol_version macros, so that DEFAULT
6031 lines in shlib-versions are respected.
6032 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6033
6034 2012-08-01 Florian Weimer <fweimer@redhat.com>
6035
6036 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6037 Declare with warn_unused_result.
6038 (setgid, setregid, setegid, setresgid): Likewise.
6039 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6040 Likewise.
6041 * WUR-REPORT: Remove set*id functions.
6042
6043 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6044
6045 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6046
6047 2012-07-31 Roland McGrath <roland@hack.frob.com>
6048
6049 * include/sys/socket.h (__libc_accept, __libc_accept4):
6050 Add attribute_hidden.
6051 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6052
6053 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6054 use of PTR_MANGLE.
6055 * inet/getnetgrent_r.c (setup): Likewise.
6056
6057 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6058
6059 2012-07-31 David S. Miller <davem@davemloft.net>
6060
6061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6062
6063 2012-07-31 Joseph Myers <joseph@codesourcery.com>
6064
6065 [BZ #13629]
6066 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6067 value between 1.0 and 2.0 and smaller part has absolute value less
6068 than 1.0.
6069 * math/s_clog10.c (__clog10): Likewise.
6070 * math/s_clog10f.c (__clog10f): Likewise.
6071 * math/s_clog10l.c (__clog10l): Likewise.
6072 * math/s_clogf.c (__clogf): Likewise.
6073 * math/s_clogl.c (__clogl): Likewise.
6074 * math/libm-test.inc (clog_test): Add more tests.
6075 (clog10_test): Likewise.
6076 * sysdeps/i386/fpu/libm-test-ulps: Update.
6077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6078
6079 2012-07-31 Florian Weimer <fweimer@redhat.com>
6080
6081 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6082 Exit with zero in case no suitable GID is found, and write a
6083 message to standard error.
6084
6085 2012-07-30 Roland McGrath <roland@hack.frob.com>
6086
6087 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6088 rather than to 1.
6089 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6090 (MAXPATHLEN): Removed.
6091 (NOGROUP, NODEV): New macros.
6092 (setbit, clrbit, isset, isclr): New macros.
6093 (howmany, roundup, powerof2): New macros.
6094 (DEV_BSIZE): New macro.
6095
6096 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6097 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6098
6099 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6100 definition on [!__NO_LONG_DOUBLE_MATH].
6101
6102 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6103 PTR_MANGLE and PTR_DEMANGLE.
6104
6105 * socket/accept4.c (accept4): Rename to __libc_accept4.
6106 Define accept4 as a weak alias.
6107
6108 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6109 on [_DIRENT_HAVE_D_TYPE].
6110 * io/ftw.c (ftw_dir): Likewise.
6111
6112 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6113
6114 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6115
6116 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6117 Use the BSD numbers rather than the arbitrary ones we had.
6118 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6119 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6120 (SIGXCPU, SIGXFSZ): New macros.
6121 (_NSIG): Now 32.
6122
6123 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6124 initializer on [_LIBC_REENTRANT].
6125
6126 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6127 definitions inside [_POSIX_MAPPED_FILES].
6128
6129 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6130
6131 * dirent/opendir.c: Include <fcntl.h>.
6132
6133 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6134 (__libc_getspecific): Likewise.
6135 (__libc_key_create): Likewise.
6136
6137 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6138 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6139 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6140 (tmpfile64): Define as alias.
6141 * sysdeps/wordsize-64/tmpfile.c: File removed.
6142 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6143 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6144 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6145
6146 * stdio-common/vfscanf.c: Include <stdbool.h>.
6147 * nss/makedb.c: Likewise.
6148 * stdio-common/_i18n_number.h: Likewise.
6149 * argp/argp-help.c: Likewise.
6150 * posix/wordexp.c: Likewise.
6151 * sysdeps/posix/spawni.c: Likewise.
6152 * nss/nss_files/files-initgroups.c: Likewise.
6153 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6154 * nss/nss_files/files-initgroups.c: Likewise.
6155 * nss/nss_db/db-netgrp.c: Likewise.
6156 * nss/nss_db/db-initgroups.c: Likewise.
6157 * io/fchmodat.c: Include <sys/stat.h>.
6158
6159 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6160 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6161
6162 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6163 [HAVE_MMAP].
6164
6165 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6166 Add multiple inclusion protection.
6167
6168 2012-07-27 David S. Miller <davem@davemloft.net>
6169
6170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6171
6172 2012-07-27 Gary Benson <gbenson@redhat.com>
6173
6174 [BZ #14298]
6175 * elf/rtld.c: Include <stap-probe.h>.
6176 (dl_main): Added static probes "init_start" and "init_complete".
6177 * elf/dl-load.c: Include <stap-probe.h>.
6178 (lose): Take new parameter "nsid".
6179 Added static probe "map_failed".
6180 (_dl_map_object_from_fd): Pass namespace id to lose.
6181 Added static probe "map_start".
6182 (open_verify): Pass namespace id to lose.
6183 * elf/dl-open.c: Include <stap-probe.h>.
6184 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6185 and "reloc_complete".
6186 * elf/dl-close.c: Include <stap-probe.h>.
6187 (_dl_close_worker): Added static probes "unmap_start" and
6188 "unmap_complete".
6189 * elf/rtld-debugger-interface.txt: New file documenting the above.
6190
6191 2012-07-26 Roland McGrath <roland@hack.frob.com>
6192
6193 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6194 rather than a string variable.
6195 * sunrpc/rpc_main.c (h_output): Likewise.
6196 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6197
6198 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6199
6200 * inet/check_native.c: New file.
6201
6202 2012-07-26 Joseph Myers <joseph@codesourcery.com>
6203
6204 [BZ #13629]
6205 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6206 if larger part has absolute value 1.0.
6207 * math/s_clog10.c (__clog10): Likewise.
6208 * math/s_clog10f.c (__clog10f): Likewise.
6209 * math/s_clog10l.c (__clog10l): Likewise.
6210 * math/s_clogf.c (__clogf): Likewise.
6211 * math/s_clogl.c (__clogl): Likewise.
6212 * math/libm-test.inc (clog_test): Add more tests.
6213 (clog10_test): Likewise.
6214 * sysdeps/i386/fpu/libm-test-ulps: Update.
6215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6216
6217 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6218 (pltexit): Likewise.
6219 (La_regs): Likewise.
6220 (La_retval): Likewise.
6221 (int_retval): Likewise.
6222 Update #error for removed macros to refer only to definitions in
6223 tst-audit.h.
6224 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6225 macro.
6226 (pltexit): Likewise.
6227 (La_regs): Likewise.
6228 (La_retval): Likewise.
6229 (int_retval): Likewise.
6230 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6231 macro.
6232 (pltexit): Likewise.
6233 (La_regs): Likewise.
6234 (La_retval): Likewise.
6235 (int_retval): Likewise.
6236 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6237 macro.
6238 (pltexit): Likewise.
6239 (La_regs): Likewise.
6240 (La_retval): Likewise.
6241 (int_retval): Likewise.
6242 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6243 macro.
6244 (pltexit): Likewise.
6245 (La_regs): Likewise.
6246 (La_retval): Likewise.
6247 (int_retval): Likewise.
6248 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6249 macro.
6250 (pltexit): Likewise.
6251 (La_regs): Likewise.
6252 (La_retval): Likewise.
6253 (int_retval): Likewise.
6254 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6255 macro.
6256 (pltexit): Likewise.
6257 (La_regs): Likewise.
6258 (La_retval): Likewise.
6259 (int_retval): Likewise.
6260 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6261 macro definitions in tst-audit.h.
6262 * sysdeps/i386/tst-audit.h: New file.
6263 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6264 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6265 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6266 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6267 * sysdeps/sh/tst-audit.h: Likewise.
6268 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6269 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6270 * sysdeps/x86_64/tst-audit.h: Likewise.
6271
6272 2012-07-26 Andreas Jaeger <aj@suse.de>
6273
6274 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6275 ptrace.
6276
6277 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6278 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6279 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6280 PTRACE_O_MASK.
6281 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6282 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6283 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6284
6285 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6286 value.
6287
6288 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6289 _sigsys.
6290 (si_call_addr, si_syscall, si_arch): Define new macro.
6291 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6292 _sigsys.
6293 (si_call_addr, si_syscall, si_arch): Define new marcro.
6294 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6295 _sigsys.
6296 (si_call_addr, si_syscall, si_arch): Define new macro.
6297 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6298 _sigsys.
6299 (si_call_addr, si_syscall, si_arch): Define new macro.
6300
6301 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6302
6303 [BZ #13717]
6304 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6305 Change to 2.4.21 where previously 2.4.1.
6306 * sysdeps/unix/sysv/linux/configure: Regenerated.
6307 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6308 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6309 Linux kernel version.
6310 (__ASSUME_STD_AUXV): Remove.
6311 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6312 kernel version.
6313 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6314 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6315 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6316 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6317 (__ASSUME_NETLINK_SUPPORT): Likewise.
6318 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6319 (__no_netlink_support): Remove conditional definition.
6320 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6321 Remove.
6322 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6323 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6324 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6325 (if_nameindex_ioctl): Remove.
6326 (if_nameindex_netlink): Do not handle __no_netlink_support.
6327 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6328 code.
6329 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6330 Remove conditional code.
6331 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6332 code.
6333 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6334 unconditional.
6335 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6336 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6337 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6338 Remove.
6339 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6340 [!__ASSUME_STD_AUXV]: Remove conditional code.
6341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6342 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6343 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6345 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6346 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6347 code.
6348 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6350 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6351 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6352 conditional code.
6353 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6355 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6356 code.
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6358 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6359 conditional code.
6360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6361 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6362 code unconditional.
6363 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6364 conditional code.
6365 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6366 unconditional.
6367 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6368 conditional code.
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6370 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6371 unconditional.
6372 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6373 conditional code.
6374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6375 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6376 code unconditional.
6377 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6378 conditional code.
6379 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6380 unconditional.
6381 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6382 conditional code.
6383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6384 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6385 code unconditional.
6386 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6387 conditional code.
6388 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6389 unconditional.
6390 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6391 conditional code.
6392
6393 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6394
6395 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6396 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6397 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6398 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6399 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6400 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6401 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6402 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6403 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6404 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6405 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6406 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6407 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6408 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6409 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6410 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6411 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6412 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6413 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6415 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6416 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6417 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6418
6419 2012-07-25 Florian Weimer <fweimer@redhat.com>
6420
6421 * Versions.def: Add GLIBC_2.17.
6422 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6423 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6424 Introduce __libc_secure_getenv.
6425 * stdlib/Versions (2.17): Add secure_getenv
6426 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6427 * stdlib/secure-getenv.c: Rename __secure_getenv to
6428 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6429 symbol __secure_getenv for GLIBC_2.0.
6430 * stdlib/tst-secure-getenv.c: New.
6431 * stdlib/Makefile (tests): Add testcase.
6432 * manual/startup.texi (Environment Access): Document
6433 secure_getenv.
6434 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6435 __libc_secure_getenv.
6436 * inet/ruserpass.c (ruserpass): Likewise.
6437 * malloc/mtrace.c (mtrace): Likewise.
6438 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6439 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6440 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6441 * sysdeps/posix/tempname.c: Likewise. Evaluate
6442 HAVE_SECURE_GETENV.
6443 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6444 __secure_getenv to __libc_secure_getenv.
6445 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6447 Likewise.
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6449 Likewise.
6450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6452 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6457
6458 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6459
6460 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6461 (struct La_i86_retval): Likewise.
6462 (struct La_x86_64_regs): Likewise.
6463 (struct La_x86_64_retval): Likewise.
6464 (struct La_x32_regs): Likewise.
6465 (struct La_x32_retval): Likewise.
6466 (struct La_ppc32_regs): Likewise.
6467 (struct La_ppc32_retval): Likewise.
6468 (struct La_ppc64_regs): Likewise.
6469 (struct La_ppc64_retval): Likewise.
6470 (struct La_sh_regs): Likewise.
6471 (struct La_sh_retval): Likewise.
6472 (struct La_s390_32_regs): Likewise.
6473 (struct La_s390_32_retval): Likewise.
6474 (struct La_s390_64_regs): Likewise.
6475 (struct La_s390_64_retval): Likewise.
6476 (struct La_sparc32_regs): Likewise.
6477 (struct La_sparc32_retval): Likewise.
6478 (struct La_sparc64_regs): Likewise.
6479 (struct La_sparc64_retval): Likewise.
6480 (struct audit_ifaces): Remove architecture-specific pltenter and
6481 pltexit members.
6482 * sysdeps/i386/ldsodefs.h: New file.
6483 * sysdeps/powerpc/ldsodefs.h: Likewise.
6484 * sysdeps/s390/ldsodefs.h: Likewise.
6485 * sysdeps/sh/ldsodefs.h: Likewise.
6486 * sysdeps/sparc/ldsodefs.h: Likewise.
6487 * sysdeps/x86_64/ldsodefs.h: Likewise.
6488
6489 2012-07-25 Marek Polacek <polacek@redhat.com>
6490
6491 [BZ #6808]
6492 * math/libm-test.inc (yn_test): Add another test.
6493 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6494 to ERANGE when the result is +-Inf.
6495 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6496 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6497 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6498 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6499
6500 2012-07-24 Joseph Myers <joseph@codesourcery.com>
6501
6502 * conform/data/time.h-data (NULL): Use macro-constant. Require
6503 equal to 0.
6504 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6505 clock_t.
6506 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6507
6508 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6509
6510 * configure.in <sysdeps resolving>: Correct printing
6511 Implies_before.
6512 * configure: Regenerate.
6513
6514 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6515
6516 * math/w_ilogb.c: Include <limits.h>.
6517 * math/w_ilogbl.c: Likewise.
6518
6519 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6520
6521 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6522 va_copy. Document allowing for unavailable va_copy only as
6523 pre-C99 compatibility.
6524 * manual/string.texi (Copying and Concatenation): Use va_copy
6525 instead of __va_copy in concat example.
6526
6527 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6528
6529 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6530 (__sendto): Use create_address_port. Initialize APORT and deallocate
6531 it if not null.
6532
6533 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6534 with O_NOLINK passed to __file_name_lookup.
6535
6536 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6537 with O_NOLINK passed to __file_name_lookup.
6538
6539 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6540 negative N or less than NGIDS.
6541
6542 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6543 type to string_t. Set ERANGE as errno and return it if NAME is not big
6544 enough. Use memcpy instead of strncpy.
6545
6546 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6547
6548 * elf/Makefile (check-data): Remove.
6549 (localplt.data): New vpath directive.
6550 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6551 instead of $(check-data).
6552 * scripts/data/localplt-generic.data: Move to ...
6553 * sysdeps/generic/localplt.data: ... here.
6554 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6555 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6556 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6558 ... here.
6559 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6561 ... here.
6562 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6564 ... here.
6565 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6567 ... here.
6568 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6570 ... here.
6571 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6573 ... here.
6574
6575 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6576
6577 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6578 PPC32 and PPC64 files.
6579 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6580 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6581
6582 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6583
6584 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6585 __makecontext_ret to ...
6586 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6587 ... here and call exit if uc_link is NULL. New file.
6588 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6589 __makecontext_ret.S.
6590 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6591 __makecontext_ret to ...
6592 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6593 ... here and call exit if uc_link is NULL. New file.
6594 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6595 __makecontext_ret.S.
6596
6597 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6598
6599 * elf/elf.h (R_390_IRELATIVE): New definition.
6600 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6601 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6602 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6603 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6604 (elf_machine_lazy_rel): Likewise.
6605 * sysdeps/s390/dl-irel.h: New file.
6606 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6607 * sysdeps/s390/s390-64/memset.S: New asm code.
6608 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6609 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6610 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6611 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6612 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6613 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6614 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6615 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6616 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6617 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6618 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6619 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6620 * sysdeps/s390/s390-32/memset.S: New asm code.
6621 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6622
6623 2012-07-17 Marek Polacek <polacek@redhat.com>
6624
6625 [BZ #14349]
6626 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6627 * sysdeps/s390/s390-64/configure.in: Likewise.
6628 * sysdeps/sparc/configure.in: Likewise.
6629 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6630 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6631 * sysdeps/i386/configure.in: Likewise.
6632 * sysdeps/x86_64/configure.in: Likewise.
6633 * sysdeps/sh/configure.in: Likewise.
6634 * sysdeps/s390/s390-32/configure: Regenerated.
6635 * sysdeps/s390/s390-64/configure: Likewise.
6636 * sysdeps/x86_64/configure: Likewise.
6637 * sysdeps/sh/configure: Likewise.
6638 * sysdeps/powerpc/powerpc64/configure: Likewise.
6639 * sysdeps/powerpc/powerpc32/configure: Likewise.
6640 * sysdeps/sparc/configure: Likwise.
6641 * sysdeps/i386/configure: Likewise.
6642
6643 * elf/dl-open.c: Comment fixes.
6644
6645 2012-07-17 Joseph Myers <joseph@codesourcery.com>
6646
6647 * Makefile [CXX] (check-data): Remove.
6648 [CXX] (c++-types.data): New vpath directive.
6649 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6650 vpath. Do not allow for C++ type data being missing.
6651 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6652 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6653 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6654 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6655 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6656 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6657 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6659 ... here.
6660 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6662 ... here.
6663 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6665 ... here.
6666 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6668 ... here.
6669 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6671 ... here.
6672 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6674 ... here.
6675 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6677 ... here.
6678 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6680
6681 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6682 definitions to architecture-specific files.
6683 (TLS_IE): Likewise.
6684 (TLS_LD): Likewise.
6685 (TLS_GD): Likewise.
6686 * sysdeps/i386/tls-macros.h: New file.
6687 * sysdeps/powerpc/tls-macros.h: Likewise.
6688 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6689 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6690 * sysdeps/sh/tls-macros.h: Likewise.
6691 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6692 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6693 * sysdeps/x86_64/tls-macros.h: Likewise.
6694
6695 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6696
6697 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6698 zero value for regular exit case.
6699
6700 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6701 (__start_context): Preserve zero value for regular exit case.
6702
6703 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6704 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6705
6706 * manual/setjmp.texi (setcontext): Clarify normal process
6707 termination when uc_link is the null pointer.
6708 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6709 exit call.
6710
6711 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6712
6713 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6714 preprocessor. Test for each exception mask separately.
6715
6716 2012-07-16 Andreas Jaeger <aj@suse.de>
6717
6718 * po/ru.po: Update from translation team.
6719
6720 2012-07-15 Joseph Myers <joseph@codesourcery.com>
6721
6722 * conform/data/string.h-data (NULL): Use macro-constant. Require
6723 equal to 0.
6724 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6725 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6726 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6727 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6728 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6729
6730 2012-07-13 Andreas Jaeger <aj@suse.de>
6731
6732 * po/fr.po: Update from translation team.
6733
6734 2012-07-12 Marek Polacek <polacek@redhat.com>
6735
6736 [BZ #14173]
6737 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6738 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6739 loop condition.
6740
6741 2012-07-12 Joseph Myers <joseph@codesourcery.com>
6742
6743 [BZ #13717]
6744 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6745 Change to 2.4.1 where previously 2.4.0.
6746 * sysdeps/unix/sysv/linux/configure: Regenerated.
6747 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6748 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6749 version.
6750 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6751 (__ASSUME_AT_CLKTCK): Remove.
6752 (__ASSUME_AT_PAGESIZE): Likewise.
6753 (__ASSUME_AT_XID): Likewise.
6754 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6755 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6756 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6757 unconditionally.
6758 (HAVE_AUX_PAGESIZE): Likewise.
6759 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6760 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6761 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6762
6763 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6764
6765 [BZ #14307]
6766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6767 the temporary buffer used to invoke __gethostbyname2_r,
6768 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6769 host_data / struct gaih_addrtuple.
6770 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6771 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6772 header file nss/nsswitch.h.
6773 * nss/nsswitch.h (global scope): Add definition of implementation
6774 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6775 resolv/nss_dns/dns-host.c).
6776
6777 2012-07-11 Andreas Jaeger <aj@suse.de>
6778
6779 * po/fr.po: Update from translation team.
6780
6781 * po/sv.po: Update from translation team
6782 * po/fr.po: Another update from translation team.
6783
6784 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6785
6786 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6787 for subnormals or multiply small sinh result by itself.
6788 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6790
6791 2012-07-11 David S. Miller <davem@davemloft.net>
6792
6793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6794
6795 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6796
6797 [BZ #14347]
6798 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6799 (INTERNAL_MARK): Shift it here.
6800
6801 2012-07-10 Marek Polacek <polacek@redhat.com>
6802
6803 [BZ #14151]
6804 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6805 libc_cv_asm_global_directive with .globl.
6806 * configure: Regenerated.
6807 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6808 with .globl.
6809 * sysdeps/i386/configure: Regenerated.
6810 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6811 with .globl.
6812 * sysdeps/x86_64/configure: Regenerated.
6813 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6814 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6815 * elf/tst-unique2mod2.c: Likewise.
6816 * elf/tst-unique2mod1.c: Likewise.
6817 * elf/tst-unique1mod2.c: Likewise.
6818 * elf/tst-unique1mod1.c: Likewise.
6819 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6820 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6821 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6822 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6823 * sysdeps/mach/sysdep.h: Likewise.
6824 * sysdeps/i386/sysdep.h: Likewise.
6825 * sysdeps/i386/i386-mcount.S: Likewise.
6826 * sysdeps/x86_64/_mcount.S: Likewise.
6827 * sysdeps/x86_64/sysdep.h: Likewise.
6828 * sysdeps/sh/_mcount.S: Likewise.
6829 * sysdeps/sh/sysdep.h: Likewise.
6830 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6831 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6832 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6833 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6834 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6835 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6836 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6837 * locale/localeinfo.h: Likewise.
6838 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6839 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6840
6841 2012-07-09 Roland McGrath <roland@hack.frob.com>
6842
6843 [BZ #14336]
6844 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6845 system".
6846 * manual/message.texi (The Uniforum approach): Likewise.
6847 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6848 (glibc iconv Implementation): Likewise.
6849
6850 2012-07-09 Joseph Myers <joseph@codesourcery.com>
6851
6852 [BZ #14337]
6853 * math/s_clog.c (__clog): Avoid scaling a value down where that
6854 could result in underflow.
6855 * math/s_clog10.c (__clog10): Likewise.
6856 * math/s_clog10f.c (__clog10f): Likewise.
6857 * math/s_clog10l.c (__clog10l): Likewise.
6858 * math/s_clogf.c (__clogf): Likewise.
6859 * math/s_clogl.c (__clogl): Likewise.
6860 * math/libm-test.inc (clog_test): Add more tests.
6861 (clog10_test): Likewise.
6862 * sysdeps/i386/fpu/libm-test-ulps: Update.
6863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6864
6865 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6866
6867 [BZ #14283]
6868 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6869 by 7 not 8 to examine high bit of fractional part.
6870
6871 [BZ #14042]
6872 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6873 for call to __mcount_internal.
6874 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6875 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6876 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6877
6878 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6879
6880 [BZ #14154]
6881 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6882 approximation for values within 0x1p-13f of an odd multiple of
6883 pi/4.
6884 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6885 exception. Add more tests.
6886 * sysdeps/i386/fpu/libm-test-ulps: Update.
6887
6888 [BZ #6778]
6889 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6890 inputs and return -1 for them. Do not check for +Inf in case not
6891 reachable for +Inf.
6892 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6893 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6894 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6895 and return -1 for them. Do not check for +Inf in case not
6896 reachable for +Inf.
6897 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6898 define.
6899 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6900 and return -1 for them. Do not check for +Inf in case not
6901 reachable for +Inf.
6902 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6903 spurious underflow.
6904 * sysdeps/i386/fpu/libm-test-ulps: Update.
6905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6906
6907 2012-07-06 Mike Frysinger <vapier@gentoo.org>
6908
6909 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6910
6911 2012-07-05 Joseph Myers <joseph@codesourcery.com>
6912
6913 [BZ #14157]
6914 [BZ #14331]
6915 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6916 could result in spurious underflow. Scale down values above
6917 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6918 * math/s_csqrtf.c (__csqrtf): Likewise.
6919 * math/s_csqrtl.c (__csqrtl): Likewise.
6920 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6921 spurious underflow.
6922 * sysdeps/i386/fpu/libm-test-ulps: Update.
6923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6924
6925 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6926
6927 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6928 xopen-msg.sed.
6929 * catgets/xopen-msg.awk: New file.
6930 * catgets/xopen-msg.sed: Removed.
6931
6932 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6933 po2text.sed.
6934 * intl/po2test.awk: New file.
6935 * intl/po2test.sed: Removed.
6936
6937 2012-07-04 Joseph Myers <joseph@codesourcery.com>
6938
6939 [BZ #14328]
6940 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6941 or multiply small sinh result by itself.
6942 * math/s_ctanf.c (__ctanf): Likewise.
6943 * math/s_ctanh.c (__ctanh): Likewise.
6944 * math/s_ctanhf.c (__ctanhf): Likewise.
6945 * math/s_ctanhl.c (__ctanhl): Likewise.
6946 * math/s_ctanl.c (__ctanl): Likewise.
6947 * math/libm-test.inc (ctan_test_tonearest): New function.
6948 (ctan_test_towardzero): Likewise.
6949 (ctan_test_downward): Likewise.
6950 (ctan_test_upward): Likewise.
6951 (ctanh_test_tonearest): Likewise.
6952 (ctanh_test_towardzero): Likewise.
6953 (ctanh_test_downward): Likewise.
6954 (ctanh_test_upward): Likewise.
6955 (main): Call these new functions.
6956 * sysdeps/i386/fpu/libm-test-ulps: Update.
6957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6958
6959 2012-07-03 Mike Frysinger <vapier@gentoo.org>
6960
6961 * .gitignore: Delete /ports entry.
6962
6963 2012-07-03 Andreas Jaeger <aj@suse.de>
6964
6965 * po/bg.po: Update from translation team.
6966 * po/cs.po: Likewise.
6967 * po/de.po: Likewise.
6968 * po/hr.po: Likewise.
6969 * po/nl.pl: Likewise.
6970 * po/pl.po: Likewise.
6971 * po/vi.po: Likewise.
6972
6973 2012-07-03 Joseph Myers <joseph@codesourcery.com>
6974
6975 * Makeconfig [!+link] (+link-before-libc): New variable.
6976 [!+link] (+link-after-libc): Likewise.
6977 [!+link] (+link-tests): Likewise.
6978 [!+link] (+link): Define in terms of $(+link-before-libc) and
6979 $(+link-after-libc).
6980 [!+link-static] (+link-static-before-libc): New variable.
6981 [!+link-static] (+link-static-after-libc): Likewise.
6982 [!+link-static] (+link-static-tests): Likewise.
6983 [!+link-static] (+link-static): Define in terms of
6984 $(+link-static-before-libc) and $(+link-static-after-libc).
6985 [build-shared] (link-libc-before-gnulib): New variable.
6986 [build-shared] (link-libc-tests): Likewise.
6987 [build-shared] (link-libc): Define in terms of
6988 $(link-libc-before-gnulib).
6989 [!build-shared] (link-libc-tests): New variable.
6990 (link-libc-static-tests): New variable.
6991 [!gnulib] (gnulib-arch): New variable.
6992 [!gnulib] (gnulib-tests): Likewise.
6993 [!gnulib] (static-gnulib-arch): Likewise.
6994 [!gnulib] (static-gnulib-tests): Likewise.
6995 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6996 Define with "=" instead of ":=".
6997 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6998 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6999 * Rules (binaries-all-notests): New variable.
7000 (binaries-all-tests): Likewise.
7001 (binaries-static-notests): Likewise.
7002 (binaries-static-tests): Likewise.
7003 (binaries-all): Define using $(binaries-all-notests) and
7004 $(binaries-all-tests).
7005 (binaries-static): Define using $(binaries-static-notests) and
7006 $(binaries-static-tests).
7007 (binaries-shared-tests): New variable.
7008 (binaries-shared-notests): Likewise.
7009 (binaries-shared): Remove variable.
7010 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7011 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7012 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7013 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7014 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7015 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7016 * elf/Makefile (sln-modules): New variable.
7017 (extra-objs): Add $(sln-modules:=.o).
7018 (ldconfig-modules): Add static-stubs.
7019 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7020 * elf/static-stubs.c: New file.
7021
7022 [BZ #14283]
7023 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7024 by 7 not 8 to examine high bit of fractional part. Use volatile
7025 variables when splitting into final array of floats if
7026 __FLT_EVAL_METHOD__ != 0.
7027 * math/libm-test.inc (cos_test): Add another test.
7028 (sin_test): Likewise.
7029 * sysdeps/i386/fpu/libm-test-ulps: Update.
7030
7031 [BZ #14273]
7032 * math/libm-test.inc (cosh_test): Add more tests.
7033
7034 * version.h (RELEASE): Set to "development".
7035 (VERSION): Set to "2.16.90".
7036
7037 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7038
7039 * NEWS: Update copyright. Remove last-updated date.
7040 Mention math library bug fixes and timezone data changes.
7041 * README: Mention GNU/Hurd, x32, and HPPA support status.
7042
7043 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7044
7045 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7046
7047 2012-06-27 Andreas Jaeger <aj@suse.de>
7048
7049 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7050
7051 2012-06-25 Andreas Jaeger <aj@suse.de>
7052
7053 * sysdeps/s390/fpu/libm-test-ulps: Update.
7054
7055 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7056 Thomas Schwinge <thomas@codesourcery.com>
7057
7058 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7059 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7060 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7061 fanotify_mark.
7062
7063 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7064
7065 * sysdeps/mach/start.c: Remove file.
7066 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7067 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7068 * sysdeps/sh/init-first.c: Likewise.
7069
7070 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7071 registers for frame unwinding purposes, add CFI directives.
7072 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7073 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7074 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7075 Likewise.
7076
7077 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7078 __fortify_fail returning.
7079 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7080
7081 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7082 sysdeps/sh/____longjmp_chk.S.
7083 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7084 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7085 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7086 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7087
7088 * sysdeps/sh/abort-instr.h: New file.
7089 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7090 process in case exit returns.
7091
7092 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7093 initialize the GOT register before use.
7094
7095 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7096 calculation of ARGC > 4.
7097
7098 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7099 meaningful names to some local labels.
7100
7101 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7102 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7103
7104 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7105 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7106 (__arch_compare_and_exchange_val_16_acq): Likewise.
7107 (__arch_compare_and_exchange_val_32_acq): Likewise.
7108 (atomic_exchange_and_add): Fix gUSA sequence.
7109 (atomic_add): Likewise.
7110 (atomic_add_negative): Likewise.
7111 (atomic_add_zero): Likewise.
7112 (atomic_bit_test_set): Likewise.
7113
7114 2012-06-22 Andreas Schwab <schwab@redhat.com>
7115
7116 [BZ #13579]
7117 * include/link.h (struct link_map): Add l_free_initfini.
7118 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7119 l_initfini.
7120 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7121 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7122 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7123 set.
7124
7125 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7126
7127 * configure.in: Use AC_LANG_SOURCE.
7128 * configure: Regenerate.
7129
7130 2012-06-22 Roland McGrath <roland@hack.frob.com>
7131
7132 * configure.in (libc_cv_localstatedir): New substituted variable.
7133 * configure: Regenerated.
7134 * config.make.in (localstatedir): New variable, substituted from
7135 libc_cv_localstatedir.
7136 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7137 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7138 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7139 * sysdeps/gnu/configure: Regenerated.
7140
7141 2012-06-21 Jeff Law <law@redhat.com>
7142
7143 [BZ #14277]
7144 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7145 free. Simplify list management for _LIBC case.
7146
7147 2012-06-21 Joseph Myers <joseph@codesourcery.com>
7148
7149 [BZ #14273]
7150 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7151 Clear sign bit of 64-bit integer value before comparing against
7152 overflow value.
7153
7154 * sysdeps/mach/configure: Regenerated.
7155
7156 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7157
7158 [BZ #14278]
7159 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7160
7161 2012-06-21 Jeff Law <law@redhat.com>
7162
7163 [BZ #13882]
7164 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7165 uint16_t for elements in the "seen" array to avoid char overflows.
7166 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7167 * elf/dl-open.c (dl_open_worker): Likewise.
7168
7169 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7170
7171 * scripts/list-sources.sh: Scan PORTS for translations.
7172 * po/libc.pot: Regenerated.
7173
7174 2012-06-21 Andreas Jaeger <aj@suse.de>
7175
7176 [BZ #12194]
7177 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7178 warning.
7179 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7180 * bits/byteswap-16.h (__bswap_16): Likewise.
7181 * bits/byteswap.h (__bswap_constant_16): Likewise.
7182
7183 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7184
7185 [BZ #14117]
7186 * sysdeps/i386/fpu_control.h: Removed.
7187 * sysdeps/x86_64/fpu_control.h: Moved to ...
7188 * sysdeps/x86/fpu_control.h: Here.
7189
7190 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7191 (_FPU_SETCW): Likewise.
7192
7193 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7194
7195 [BZ #14117]
7196 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7197 * sysdeps/x86/fpu/bits/mathinline.h: This.
7198 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7199
7200 [BZ #14050]
7201 [BZ #14117]
7202 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7203 functions if __x86_64__ is defined.
7204
7205 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7206
7207 * string/endian.h: Add !__ASSEMBLER__ condition for including
7208 conversion interfaces.
7209
7210 2012-06-15 Joseph Myers <joseph@codesourcery.com>
7211
7212 [BZ #14241]
7213 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7214 of ABS(x) in calculating zero to negative powers other than odd
7215 integers.
7216 * math/libm-test.inc (pow_test): Add more tests.
7217
7218 2012-06-15 Andreas Jaeger <aj@suse.de>
7219
7220 * manual/contrib.texi (Contributors): Update entry of Liubov
7221 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7222 Machado Filho.
7223
7224 2012-06-15 Cyril Hrubis <metan@ucw.cz>
7225
7226 * string/string.h: Add __wur to GNU version of strerror_r.
7227
7228 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7229
7230 [BZ #14229]
7231 * string/Makefile (tests): Add tst-strtok_r.
7232 * string/tst-strtok_r.c: New file.
7233 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7234 RAX_LP/RDX_LP on SAVE_PTR.
7235
7236 2012-06-14 Roland McGrath <roland@hack.frob.com>
7237
7238 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7239
7240 2012-06-14 Joseph Myers <joseph@codesourcery.com>
7241
7242 * libm_test.inc (csqrt_test): Allow more spurious underflow
7243 exceptions.
7244 (j0_test): Likewise.
7245 (j1_test): Likewise.
7246 (y0_test): Likewise.
7247 (y1_test): Likewise.
7248
7249 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7250
7251 * po/Makefile (libc.pot): Use UTF-8 charset.
7252
7253 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7254
7255 [BZ #14210]
7256 Suppress sign-conversion warning from FD_SET.
7257 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7258 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7259 not unsigned long int.
7260 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7261
7262 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7263
7264 [BZ #14050]
7265 [BZ #14117]
7266 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7267 __extern_always_inline instead of __extern_inline.
7268 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7269 (__signbit): Likewise.
7270 (__signbitl): Support C++ namespace.
7271 (lrintf): New inline function.
7272 (lrint): Likewise.
7273 (llrintf): Likewise.
7274 (llrint): Likewise.
7275 (fmaxf): Likewise.
7276 (fmax): Likewise.
7277 (fminf): Likewise.
7278 (fmin): Likewise.
7279 (rint): Likewise.
7280 (rintf): Likewise.
7281 (ceil): Likewise.
7282 (ceilf): Likewise.
7283 (floor): Likewise.
7284 (floorf): Likewise.
7285 (nearbyint): Likewise.
7286 (nearbyintf): Likewise.
7287
7288 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7289
7290 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7291 non-default versions.
7292
7293 2012-06-11 Roland McGrath <roland@hack.frob.com>
7294
7295 [BZ #14218]
7296 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7297
7298 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7299
7300 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7301 (FE_UPWARD, FE_DOWNWARD): Don't define.
7302 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7303 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7304
7305 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7306 reading it.
7307 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7308 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7309
7310 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7311
7312 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7313 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7314 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7315 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7316
7317 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7318
7319 [BZ #14117]
7320 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7321 * sysdeps/i386/fpu/Implies: New file.
7322 * sysdeps/x86_64/fpu/Implies: Likewise.
7323 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7324 * sysdeps/x86/fpu/bits/fenv.h: This.
7325
7326 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7327 __SSE_MATH__.
7328
7329 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7330
7331 [BZ #14134]
7332 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7333 character 0xffff that matches the last element of the
7334 conversion table.
7335
7336 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7337
7338 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7339 fmodl commit.
7340
7341 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7342
7343 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7344 values higher than 25.6283.
7345
7346 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7347
7348 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7349 subnormal exponent extraction and add some __builtin_expect.
7350 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7351 Fix for subnormal mantissa calculation.
7352
7353 2012-06-04 Mike Frysinger <vapier@gentoo.org>
7354
7355 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7356 cpu2 is -1 and errno is not ENOSYS.
7357
7358 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7359
7360 [BZ #14117]
7361 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7362 * sysdeps/x86/bits/string.h: This.
7363 * sysdeps/x86_64/bits/string.h: Removed.
7364
7365 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7366 if not compiling for x86-64, but compiling for >= i486.
7367
7368 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7369 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7370
7371 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7372 New macro from Linux kernel 3.4.0.
7373 (FP_XSTATE_MAGIC2): Likewise.
7374 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7375 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7376 (struct _fpx_sw_bytes): New struct.
7377 (struct _xsave_hdr): Likewise.
7378 (struct _ymmh_state): Likewise.
7379 (struct _xstate): Likewise.
7380
7381 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7382 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7383 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7384 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7385 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7386 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7387
7388 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7389 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7390 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7391 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7392 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7393 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7394
7395 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7396
7397 [BZ #13743]
7398 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7399 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7400 (sysdep_headers): Include sys/platform/ppc.h.
7401 * sysdeps/powerpc/test-gettimebase.c: Test for
7402 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7403 * manual/Makefile (appendices): Include platform.texi.
7404 * manual/contrib.texi (Contributors): Update @node pointers.
7405 * manual/maint.texi (Maintenance): Likewise.
7406 (Platform): New node.
7407 * manual/platform.texi: New file. Document the new features.
7408
7409 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7410 Jakub Jelinek <jakub@redhat.com>
7411
7412 [BZ #14188]
7413 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7414 where __builtin_expect is unavailable.
7415
7416 2012-06-03 David S. Miller <davem@davemloft.net>
7417
7418 * stdlib/longlong.h: Updated from GCC.
7419
7420 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7421
7422 [BZ #14042]
7423 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7424 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7425 __mcount_internal.
7426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7427 (GLIBC_2.16): Likewise.
7428
7429 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7430
7431 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7432
7433 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7434
7435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7436 (default-abi): New variable.
7437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7438 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7439 variable.
7440 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7441 Likewise.
7442 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7443 Likewise.
7444 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7445 Likewise.
7446
7447 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7448 definition. Document in comment.
7449
7450 2012-06-01 David S. Miller <davem@davemloft.net>
7451
7452 * stdlib/longlong.h: Updated from GCC.
7453
7454 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7455
7456 [BZ #14117]
7457 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7458 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7459 sys/debugreg.h sys/io.h here.
7460 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7461 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7462 sys/io.h.
7463 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7464 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7465 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7466 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7467 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7468 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7469
7470 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7471 Define only if __x86_64__ is defined.
7472
7473 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7474
7475 [BZ #14048]
7476 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7477 Use int64_t for variable i.
7478 * math/libm-test.inc (fmod_test): Add more tests.
7479
7480 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7481 z computation is not scheduled after fetestexcept.
7482 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7483 Use math_force_eval instead of asm to ensure calculation scheduled
7484 before exception test.
7485 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7486 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7487
7488 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7489
7490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7491 computation is not scheduled after fetestexcept.
7492
7493 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7494
7495 [BZ #14117]
7496 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7497 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7498
7499 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7500
7501 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7502 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7503
7504 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7505
7506 [BZ #14117]
7507 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7508 <bits/wordsize.h>.
7509 (__WCHAR_MIN): Support __WORDSIZE == 64.
7510 (__WCHAR_MAX): Likewise.
7511
7512 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7513 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7514
7515 [BZ #14183]
7516 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7517 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7518
7519 [BZ #14117]
7520 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7521 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7522
7523 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7524 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7525
7526 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7527 Defined to 1 if __x86_64__ isn't defined.
7528 (_STAT_VER_LINUX_OLD): New.
7529 (st_atime): Remove duplicate.
7530 (st_mtime): Likewise.
7531 (st_ctime): Likewise.
7532
7533 2012-05-31 David S. Miller <davem@davemloft.net>
7534
7535 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7536 entries.
7537
7538 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7539
7540 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7541 gen-libm-test.pl.
7542
7543 [BZ #14132]
7544 * elf/dl-reloc.c: Include <_itoa.h>.
7545 (_dl_reloc_bad_type): Remove use of INTUSE.
7546 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7547 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7548 * stdio-common/psiginfo.c (psiginfo): Likewise.
7549 * stdio-common/psignal.c (psignal): Likewise.
7550 * string/strsignal.c (strsignal): Likewise.
7551 * include/signal.h (_sys_siglist): Declare hidden proto.
7552 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7553 INTVARDEF with libc_hidden_data_def.
7554 * stdio-common/itoa-udigits.c: Likewise.
7555 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7556 (_itoa_lower_digits_internal): Remove declaration.
7557 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7558 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7559 (_sys_sigabbrev_internal): Remove aliases.
7560 (_sys_siglist): Define hidden alias.
7561
7562 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7563
7564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7565 bits/sysctl.h.
7566
7567 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7568
7569 [BZ #14117]
7570 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7571 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7572
7573 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7574 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7575 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7576 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7577 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7578 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7579
7580 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7581 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7582 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7583
7584 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7585 with __addr.
7586 (insw): Likewise.
7587 (insl): Likewise.
7588 (outsb): Likewise.
7589 (outsw): Likewise.
7590 (outsl): Likewise.
7591
7592 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7593 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7594 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7595
7596 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7597 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7598 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7599 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7600 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7601 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7602
7603 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7604 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7605
7606 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7607 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7608
7609 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7611 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7612
7613 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7614 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7615 to ...
7616 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7617
7618 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7619 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7620 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7621
7622 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7623 for x86-64.
7624 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7625
7626 2012-05-31 Joseph Myers <joseph@codesourcery.com>
7627
7628 * math/math.h (M_El): Use two more decimal places.
7629 (M_LOG2El): Likewise.
7630 (M_LOG10El): Likewise.
7631 (M_LN2l): Likewise.
7632 (M_LN10l): Likewise.
7633 (M_PIl): Likewise.
7634 (M_PI_2l): Likewise.
7635 (M_PI_4l): Likewise.
7636 (M_1_PIl): Likewise.
7637 (M_2_PIl): Likewise.
7638 (M_2_SQRTPIl): Likewise.
7639 (M_SQRT2l): Likewise.
7640 (M_SQRT1_2l): Likewise.
7641
7642 2012-05-31 David S. Miller <davem@davemloft.net>
7643
7644 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7645 values between float registers.
7646 * sysdeps/sparc/sparc64/memset.S: Likewise.
7647 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7648
7649 2012-05-31 Mike Frysinger <vapier@gentoo.org>
7650
7651 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7652 -D_FORTIFY_SOURCE=1.
7653 (CPPFLAGS-tst-longjmp_chk.c): Define.
7654 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7655 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7656 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7657 CFLAGS-tst-wchar-h.c.
7658
7659 2012-05-31 Marek Polacek <polacek@redhat.com>
7660
7661 [BZ #14132]
7662 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7663 __endmntent_internal): Remove declaration.
7664 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7665 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7666 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7667
7668 2012-05-30 David S. Miller <davem@davemloft.net>
7669
7670 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7671 (___Q_simulate_exceptions): Use real FP ops rather than writing
7672 into the %fsr.
7673 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7674 Likewise.
7675
7676 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7677
7678 [BZ #14117]
7679 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7680 * sysdeps/x86/bits/xtitypes.h: This.
7681
7682 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7683 * sysdeps/x86/bits/wordsize.h: This.
7684
7685 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7686 * sysdeps/x86/bits/huge_vall.h: This.
7687
7688 * sysdeps/i386/bits/select.h: Removed.
7689 * sysdeps/x86_64/bits/select.h: Renamed to ...
7690 * sysdeps/x86/bits/select.h: This.
7691
7692 * sysdeps/i386/bits/setjmp.h: Removed.
7693 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7694 * sysdeps/x86/bits/setjmp.h: This.
7695
7696 * sysdeps/i386/bits/mathdef.h: Removed.
7697 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7698 * sysdeps/x86/bits/mathdef.h: This.
7699
7700 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7701
7702 [BZ #14132]
7703 * include/sys/socket.h (__connect_internal)
7704 (__libc_sa_len_internal): Remove declaration.
7705 (__connect, __libc_sa_len): Declare hidden_proto.
7706 (SA_LEN): Remove use of INTUSE.
7707 * socket/connect.c: Add libc_hidden_def.
7708 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7709 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7710 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7711 alias.
7712 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7713 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7714 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7715 of adding _internal alias.
7716
7717 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7718
7719 [BZ #14117]
7720 * sysdeps/i386/bits/link.h: Removed.
7721 * sysdeps/i386/bits/linkmap.h: Likewise.
7722 * sysdeps/x86_64/bits/link.h: Renamed to ...
7723 * sysdeps/x86/bits/link.h: This.
7724 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7725 * sysdeps/x86/bits/linkmap.h: This.
7726
7727 * sysdeps/i386/bits/endian.h: Removed.
7728 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7729 * sysdeps/x86/bits/endian.h: This.
7730
7731 * sysdeps/i386/bits/byteswap.h: Removed.
7732 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7733 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7734 * sysdeps/x86/bits/byteswap.h: This.
7735 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7736 * sysdeps/x86/bits/byteswap-16.h: This.
7737 * sysdeps/i386/Implies: Add x86.
7738 * sysdeps/x86_64/Implies: Likewise.
7739
7740 2012-05-30 David S. Miller <davem@davemloft.net>
7741
7742 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7743 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7744 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7745 (FP_TRAPPING_EXCEPTIONS): Define.
7746 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7747 (FP_TRAPPING_EXCEPTIONS): Define.
7748 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7749 subnormals only when inexact has been signalled or underflow
7750 exceptions are enabled.
7751 (_FP_PACK_CANONICAL): Likewise.
7752
7753 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7754
7755 [BZ #14183]
7756 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7757 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7758
7759 2012-05-30 Richard Henderson <rth@twiddle.net>
7760
7761 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7762 with #ifndef NOT_IN_libc.
7763
7764 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7765 marked to avoid plt entry.
7766
7767 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7768
7769 [BZ #14112]
7770 * Makeconfig (default-abi): New macro.
7771 (abi-includes): Likewise.
7772 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7773 $(abi-$(default-abi)-lib-soname) for soname if defined.
7774 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7775 abi-variants.
7776 * Makefile (installed-stubs): Likewise.
7777 * include/stubs-biarch.h: Removed.
7778 * scripts/lib-names.awk: Only handle one library at a time.
7779 * scripts/soversions.awk: Remove WORDSIZE support.
7780 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7781 entries.
7782 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7783 Removed.
7784 (syscall-list-default-condition): Likewise.
7785 (syscall-list-default-condition): Likewise.
7786 (syscall-list-includes): Likewise.
7787 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7788 syscall-list-* with abi-*. Handle undefined abi-variants.
7789 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7790 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7791 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7792 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7793 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7794 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7795 Removed.
7796 (syscall-list-32-options): Likewise.
7797 (syscall-list-32-condition): Likewise.
7798 (syscall-list-64-options): Likewise.
7799 (syscall-list-64-condition): Likewise.
7800 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7801 macro.
7802 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7803 Renamed to ...
7804 (abi-*): This.
7805 (abi-64-ld-soname): New macro.
7806 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7807 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7808 Renamed to ...
7809 (abi-*): This.
7810 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7811 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7812
7813 2012-05-30 Joseph Myers <joseph@codesourcery.com>
7814
7815 * sysdeps/unix/sysv/linux/kernel-features.h
7816 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7817 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7818 include <kernel-features.h>.
7819 [!__NR_ftruncate64]: Remove conditional code.
7820 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7821 [__NR_ftruncate64]: Make code unconditional.
7822 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7823 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7824 include <kernel-features.h>.
7825 [!__NR_ftruncate64]: Remove conditional code.
7826 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7827 [__NR_ftruncate64]: Make code unconditional.
7828 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7830 include <kernel-features.h>.
7831 [!__NR_ftruncate64]: Remove conditional code.
7832 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7833 [__NR_ftruncate64]: Make code unconditional.
7834 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7836 include <kernel-features.h>.
7837 [!__NR_ftruncate64]: Remove conditional code.
7838 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7839 [__NR_ftruncate64]: Make code unconditional.
7840 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7841
7842 * configure.in (libc_cv_fpie): Weaken to a compile test using
7843 LIBC_TRY_CC_OPTION.
7844 * configure: Regenerated.
7845
7846 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7847
7848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7852 Refreshed.
7853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7859 Refreshed.
7860
7861 2012-05-27 David S. Miller <davem@davemloft.net>
7862
7863 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7864 (___Q_zero): New.
7865 (__Q_simulate_exceptions): Return void. Change to simulate
7866 exceptions by writing into the %fsr.
7867 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7868 (__Qp_handle_exceptions): Likewise.
7869 (numbers): Delete.
7870 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7871 __Qp_handle_exceptions.
7872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7873 __Qp_handle_exceptions.
7874 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7875 as unused and give dummy FP_RND_NEAREST initializer.
7876 (FP_INHIBIT_RESULTS): Define.
7877 (___Q_simulate_exceptions): Update declaration.
7878 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7879 formatting.
7880 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7881 as unused and give dummy FP_RND_NEAREST initializer.
7882 (__Qp_handle_exceptions): Update declaration.
7883 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7884 formatting.
7885
7886 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7887
7888 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7889 the temporary FPU control word.
7890 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7891 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7892 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7893 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7894 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7895 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7896 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7897 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7898 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7899 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7900 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7901
7902 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7903
7904 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7905 fields.
7906
7907 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7908
7909 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7910 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7911 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7912 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7913 Likewise.
7914 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7915 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7916 Likewise.
7917
7918 2012-05-27 Ulrich Drepper <drepper@gmail.com>
7919
7920 * po/h.po: Update from translation team.
7921
7922 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7923
7924 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7925
7926 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7927 handling of denormals.
7928 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7929 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7930 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7931 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7932 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7933 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7934 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7935 Likewise.
7936
7937 2012-05-26 Marek Polacek <polacek@redhat.com>
7938
7939 [BZ #14152]
7940 * math/libm-test.inc (fma_test): Don't always expect underflow
7941 exception.
7942
7943 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7944
7945 [BZ #12416]
7946 * elf/tst-execstack.c: Include stackinfo.h.
7947 (do_test): Adjust test case to ensure that pthread_getattr_np
7948 behaviour remains the same after marking stack executable.
7949
7950 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7951
7952 * sysdeps/unix/sysv/linux/kernel-features.h
7953 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7954 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7955 kernel-features.h.
7956 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7957 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7958 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7959 kernel-features.h.
7960 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7961 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7962
7963 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7964
7965 * configure.in: Define the default includes to being none.
7966 * configure: Regenerated.
7967
7968 2012-05-25 Roland McGrath <roland@hack.frob.com>
7969
7970 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7971 * sysdeps/x86_64/setjmp.S: Likewise.
7972 * sysdeps/i386/bsd-setjmp.S: Likewise.
7973 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7974 * sysdeps/i386/setjmp.S: Likewise.
7975 * sysdeps/i386/__longjmp.S: Likewise.
7976 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7977 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7978
7979 * include/stap-probe.h: New file.
7980 * configure.in: Handle --enable-systemtap.
7981 * configure: Regenerated.
7982 * config.h.in (USE_STAP_PROBE): New #undef.
7983 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7984 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7985 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7986
7987 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7988
7989 [BZ #13717]
7990 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7991 to 2.4.0 where earlier.
7992 * sysdeps/unix/sysv/linux/configure: Regenerated.
7993 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7994 <kernel-features.h>.
7995 [__ASSUME_32BITUIDS]: Make code unconditional.
7996 [!__ASSUME_32BITUIDS]: Remove conditional code.
7997 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7998 <kernel-features.h>.
7999 [__ASSUME_32BITUIDS]: Make code unconditional.
8000 [!__ASSUME_32BITUIDS]: Remove conditional code.
8001 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8002 [__ASSUME_32BITUIDS]: Make code unconditional.
8003 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8004 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8005 <kernel-features.h>.
8006 [__ASSUME_32BITUIDS]: Make code unconditional.
8007 [!__ASSUME_32BITUIDS]: Remove conditional code.
8008 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8009 <kernel-features.h>.
8010 [__ASSUME_32BITUIDS]: Make code unconditional.
8011 [!__ASSUME_32BITUIDS]: Remove conditional code.
8012 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8013 <kernel-features.h>.
8014 [__ASSUME_32BITUIDS]: Make code unconditional.
8015 [!__ASSUME_32BITUIDS]: Remove conditional code.
8016 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8017 <kernel-features.h>.
8018 [__ASSUME_32BITUIDS]: Make code unconditional.
8019 [!__ASSUME_32BITUIDS]: Remove conditional code.
8020 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8021 <kernel-features.h>.
8022 [__ASSUME_32BITUIDS]: Make code unconditional.
8023 [!__ASSUME_32BITUIDS]: Remove conditional code.
8024 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8025 <kernel-features.h>.
8026 [__ASSUME_32BITUIDS]: Make code unconditional.
8027 [!__ASSUME_32BITUIDS]: Remove conditional code.
8028 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8029 <kernel-features.h>.
8030 [__ASSUME_32BITUIDS]: Make code unconditional.
8031 [!__ASSUME_32BITUIDS]: Remove conditional code.
8032 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8033 <kernel-features.h>.
8034 [__ASSUME_32BITUIDS]: Make code unconditional.
8035 [!__ASSUME_32BITUIDS]: Remove conditional code.
8036 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8037 <kernel-features.h>.
8038 [__ASSUME_32BITUIDS]: Make code unconditional.
8039 [!__ASSUME_32BITUIDS]: Remove conditional code.
8040 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8041 <kernel-features.h>.
8042 [__ASSUME_32BITUIDS]: Make code unconditional.
8043 [!__ASSUME_32BITUIDS]: Remove conditional code.
8044 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8045 <kernel-features.h>.
8046 [__NR_setresgid] (__setresgid): Do not declare.
8047 [__ASSUME_32BITUIDS]: Make code unconditional.
8048 [!__ASSUME_32BITUIDS]: Remove conditional code.
8049 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8050 <kernel-features.h>.
8051 [__NR_setresuid] (__setresuid): Do not declare.
8052 [__ASSUME_32BITUIDS]: Make code unconditional.
8053 [!__ASSUME_32BITUIDS]: Remove conditional code.
8054 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8055 <kernel-features.h>.
8056 [__ASSUME_32BITUIDS]: Make code unconditional.
8057 [!__ASSUME_32BITUIDS]: Remove conditional code.
8058 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8059 <kernel-features.h>.
8060 [__ASSUME_32BITUIDS]: Make code unconditional.
8061 [!__ASSUME_32BITUIDS]: Remove conditional code.
8062 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8063 <kernel-features.h>.
8064 [__ASSUME_32BITUIDS]: Make code unconditional.
8065 [!__ASSUME_32BITUIDS]: Remove conditional code.
8066 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8067 <kernel-features.h>.
8068 [__ASSUME_32BITUIDS]: Make code unconditional.
8069 [!__ASSUME_32BITUIDS]: Remove conditional code.
8070 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8071 <kernel-features.h>.
8072 [__ASSUME_32BITUIDS]: Make code unconditional.
8073 [!__ASSUME_32BITUIDS]: Remove conditional code.
8074 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8075 <kernel-features.h>.
8076 [__ASSUME_32BITUIDS]: Make code unconditional.
8077 [!__ASSUME_32BITUIDS]: Remove conditional code.
8078 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8079 <kernel-features.h>.
8080 [__ASSUME_32BITUIDS]: Make code unconditional.
8081 [!__ASSUME_32BITUIDS]: Remove conditional code.
8082 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8083 <kernel-features.h>.
8084 [__ASSUME_32BITUIDS]: Make code unconditional.
8085 [!__ASSUME_32BITUIDS]: Remove conditional code.
8086 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8087 <kernel-features.h>.
8088 [__ASSUME_32BITUIDS]: Make code unconditional.
8089 [!__ASSUME_32BITUIDS]: Remove conditional code.
8090 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8091 <kernel-features.h>.
8092 [__ASSUME_32BITUIDS]: Make code unconditional.
8093 [!__ASSUME_32BITUIDS]: Remove conditional code.
8094 * sysdeps/unix/sysv/linux/kernel-features.h
8095 (__ASSUME_SETRESUID_SYSCALL): Remove.
8096 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8097 (__ASSUME_32BITUIDS): Likewise.
8098 (__ASSUME_LDT_WORKS): Likewise.
8099 (__ASSUME_O_DIRECTORY): Likewise.
8100 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8101 architecture but not kernel version.
8102 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8103 (__ASSUME_MMAP2_SYSCALL): Likewise.
8104 (__ASSUME_STAT64_SYSCALL): Likewise.
8105 (__ASSUME_IPC64): Likewise.
8106 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8107 <kernel-features.h>.
8108 [__ASSUME_32BITUIDS]: Make code unconditional.
8109 [!__ASSUME_32BITUIDS]: Remove conditional code.
8110 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8111 <kernel-features.h>.
8112 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8113 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8114 132096]: Remove conditional code.
8115 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8116 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8117 <kernel-features.h>.
8118 [__ASSUME_32BITUIDS]: Make code unconditional.
8119 [!__ASSUME_32BITUIDS]: Remove conditional code.
8120 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8121 <kernel-features.h>.
8122 [__ASSUME_32BITUIDS]: Make code unconditional.
8123 [!__ASSUME_32BITUIDS]: Remove conditional code.
8124 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8125 <kernel-features.h>.
8126 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8127 unconditional.
8128 (__setresgid): Do not declare.
8129 [__ASSUME_32BITUIDS]: Make code unconditional.
8130 [!__ASSUME_32BITUIDS]: Remove conditional code.
8131 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8132 <kernel-features.h>.
8133 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8134 unconditional.
8135 (__setresuid): Do not declare.
8136 [__ASSUME_32BITUIDS]: Make code unconditional.
8137 [!__ASSUME_32BITUIDS]: Remove conditional code.
8138 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8139 <kernel-features.h>.
8140 [__ASSUME_32BITUIDS]: Make code unconditional.
8141 [!__ASSUME_32BITUIDS]: Remove conditional code.
8142 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8143 <kernel-features.h>.
8144 [__ASSUME_32BITUIDS]: Make code unconditional.
8145 [!__ASSUME_32BITUIDS]: Remove conditional code.
8146
8147 2012-05-25 Richard Henderson <rth@twiddle.net>
8148
8149 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8150 dl_hwcap to ifunc resolver.
8151 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8152 elf_ifunc_invoke.
8153 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8154 dl_hwcap to ifunc resolver.
8155 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8156
8157 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8158
8159 [BZ #14153]
8160 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8161 for |x| <= 2**-26, not 2**-57.
8162 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8163 exception.
8164
8165 2012-05-24 Jeff Law <law@redhat.com>
8166
8167 * stdio-common/Makefile (tests): Add bug25.
8168 * stdio-common/bug25.c: New test.
8169
8170 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8171
8172 [BZ #13576]
8173 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8174 multiple of MALLOC_ALIGNMENT in size.
8175 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8176
8177 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8178
8179 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8180 Require >= 256.
8181 (FILENAME_MAX): Use macro-int-constant.
8182 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8183 (_IOFBF): Use macro-int-constant.
8184 (_IOLBF): Likewise.
8185 (_IONBF): Likewise.
8186 (SEEK_CUR): Likewise.
8187 (SEEK_END): Likewise.
8188 (SEEK_SET): Likewise.
8189 (TMP_MAX): Likewise.
8190 (EOF): Use macro-int-constant. Require < 0.
8191 (NULL): Use macro-constant. Require == 0.
8192 (stdin): Require type to be FILE *.
8193 (stdout): Likewise.
8194 (stderr): Likewise.
8195 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8196 macro-int-constant.
8197 (EXIT_SUCCESS): Likewise.
8198 (NULL): Use macro-constant. Require == 0.
8199 (RAND_MAX): Use macro-int-constant.
8200 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8201 [C99-based standards] (strtof): Require function.
8202 [C99-based standards] (strtold): Likewise.
8203 [C99-based standards] (strtoll): Likewise.
8204 [C99-based standards] (strtoull): Likewise.
8205 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8206 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8207 [ISO || ISO99 || ISO11] (math.h): Likewise.
8208 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8209 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8210 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8211
8212 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8213
8214 [BZ #14132]
8215 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8216 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8217 * intl/dgettext.c (DCGETTEXT): Likewise.
8218 * intl/gettext.c (DCGETTEXT): Likewise.
8219 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8220 * posix/regex_internal.h (gettext): Likewise.
8221 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8222 Remove declaration.
8223 * include/argz.h (__argz_count_internal)
8224 (__argz_stringify_internal): Remove declaration.
8225 (__argz_count, __argz_stringify): Declare hidden proto.
8226 * intl/dcgettext.c: Remove use of INTDEF.
8227 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8228 * string/argz-stringify.c: Likewise.
8229 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8230 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8231 Declare hidden proto.
8232 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8233 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8234 Declare hidden proto.
8235 * include/stdio.h (__asprintf_internal): Don't declare.
8236 (__asprintf): Don't define as macro. Declare hidden proto.
8237 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8238 (__fsetlocking): Declare hidden proto.
8239 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8240 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8241 hidden proto.
8242 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8243 (_IO_setlinebuf): Remove use of INTUSE.
8244 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8245 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8246 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8247 Remove declaration.
8248 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8249 (_IO_do_flush): Remove use of INTUSE.
8250 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8251 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8252 (_IO_adjust_column, _IO_least_wmarker)
8253 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8254 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8255 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8256 (_IO_default_doallocate, _IO_wdefault_doallocate)
8257 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8258 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8259 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8260 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8261 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8262 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8263 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8264 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8265 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8266 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8267 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8268 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8269 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8270 proto.
8271 (_IO_flush_all_internal, _IO_adjust_column_internal)
8272 (_IO_default_uflow_internal, _IO_default_finish_internal)
8273 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8274 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8275 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8276 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8277 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8278 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8279 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8280 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8281 (_IO_file_close_internal, _IO_file_close_it_internal)
8282 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8283 (_IO_file_init_internal, _IO_file_attach_internal)
8284 (_IO_file_fopen_internal, _IO_file_read_internal)
8285 (_IO_file_sync_internal, _IO_file_seek_internal)
8286 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8287 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8288 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8289 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8290 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8291 (_IO_list_all_internal, _IO_link_in_internal)
8292 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8293 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8294 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8295 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8296 (_IO_do_write_internal, _IO_padn_internal)
8297 (_IO_getline_info_internal, _IO_getline_internal)
8298 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8299 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8300 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8301 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8302 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8303 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8304 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8305 with libc_hidden_ver, remove use of INTUSE.
8306 * libio/genops.c: Likewise.
8307 * libio/freopen.c: Likewise.
8308 * libio/freopen64.c: Likewise.
8309 * libio/iofclose.c: Likewise.
8310 * libio/iofdopen.c: Likewise.
8311 * libio/iofflush.c: Likewise.
8312 * libio/iofflush_u.c: Likewise.
8313 * libio/iofgets.c: Likewise.
8314 * libio/iofgets_u.c: Likewise.
8315 * libio/iofopen.c: Likewise.
8316 * libio/iofopncook.c: Likewise.
8317 * libio/iofread.c: Likewise.
8318 * libio/iofread_u.c: Likewise.
8319 * libio/ioftell.c: Likewise.
8320 * libio/iofwrite.c: Likewise.
8321 * libio/iogetline.c: Likewise.
8322 * libio/iogets.c: Likewise.
8323 * libio/iogetwline.c: Likewise.
8324 * libio/iopadn.c: Likewise.
8325 * libio/iopopen.c: Likewise.
8326 * libio/ioseekoff.c: Likewise.
8327 * libio/ioseekpos.c: Likewise.
8328 * libio/iosetbuffer.c: Likewise.
8329 * libio/iosetvbuf.c: Likewise.
8330 * libio/ioungetc.c: Likewise.
8331 * libio/ioungetwc.c: Likewise.
8332 * libio/iovdprintf.c: Likewise.
8333 * libio/iovsprintf.c: Likewise.
8334 * libio/iovsscanf.c: Likewise.
8335 * libio/memstream.c: Likewise.
8336 * libio/obprintf.c: Likewise.
8337 * libio/oldfileops.c: Likewise.
8338 * libio/oldiofclose.c: Likewise.
8339 * libio/oldiofdopen.c: Likewise.
8340 * libio/oldiofopen.c: Likewise.
8341 * libio/oldiopopen.c: Likewise.
8342 * libio/oldstdfiles.c: Likewise.
8343 * libio/putc.c: Likewise.
8344 * libio/setbuf.c: Likewise.
8345 * libio/setlinebuf.c: Likewise.
8346 * libio/stdfiles.c: Likewise.
8347 * libio/strops.c: Likewise.
8348 * libio/vasprintf.c: Likewise.
8349 * libio/vscanf.c: Likewise.
8350 * libio/vsnprintf.c: Likewise.
8351 * libio/vswprintf.c: Likewise.
8352 * libio/wfiledoalloc.c: Likewise.
8353 * libio/wfileops.c: Likewise.
8354 * libio/wgenops.c: Likewise.
8355 * libio/wmemstream.c: Likewise.
8356 * libio/wstrops.c: Likewise.
8357 * libio/__fpurge.c: Likewise.
8358 * libio/__fsetlocking.c: Likewise.
8359 * assert/assert.c: Likewise.
8360 * debug/fgets_chk.c: Likewise.
8361 * debug/fgets_u_chk.c: Likewise.
8362 * debug/fread_chk.c: Likewise.
8363 * debug/fread_u_chk.c: Likewise.
8364 * debug/gets_chk.c: Likewise.
8365 * debug/obprintf_chk.c: Likewise.
8366 * debug/vasprintf_chk.c: Likewise.
8367 * debug/vdprintf_chk.c: Likewise.
8368 * debug/vsnprintf_chk.c: Likewise.
8369 * debug/vsprintf_chk.c: Likewise.
8370 * malloc/mtrace.c: Likewise.
8371 * misc/error.c: Likewise.
8372 * misc/syslog.c: Likewise.
8373 * stdio-common/asprintf.c: Likewise.
8374 * stdio-common/fxprintf.c: Likewise.
8375 * stdio-common/getw.c: Likewise.
8376 * stdio-common/isoc99_fscanf.c: Likewise.
8377 * stdio-common/isoc99_scanf.c: Likewise.
8378 * stdio-common/isoc99_vfscanf.c: Likewise.
8379 * stdio-common/isoc99_vscanf.c: Likewise.
8380 * stdio-common/isoc99_vsscanf.c: Likewise.
8381 * stdio-common/printf-prs.c: Likewise.
8382 * stdio-common/printf_fp.c: Likewise.
8383 * stdio-common/printf_fphex.c: Likewise.
8384 * stdio-common/printf_size.c: Likewise.
8385 * stdio-common/putw.c: Likewise.
8386 * stdio-common/scanf.c: Likewise.
8387 * stdio-common/sprintf.c: Likewise.
8388 * stdio-common/tmpfile.c: Likewise.
8389 * stdio-common/vfprintf.c: Likewise.
8390 * stdio-common/vfscanf.c: Likewise.
8391 * stdlib/strfmon_l.c: Likewise.
8392 * sunrpc/openchild.c: Likewise.
8393 * sunrpc/xdr_stdio.c: Likewise.
8394 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8395 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8396
8397 2012-05-24 Roland McGrath <roland@hack.frob.com>
8398
8399 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8400
8401 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8402 in the third column, to generate for the shared library an IFUNC
8403 that uses _dl_vdso_vsym.
8404 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8405 * Makeconfig (object-suffixes-noshared): New variable.
8406
8407 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8408 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8409 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8410 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8411
8412 [BZ #14132]
8413 * include/sys/time.h (__gettimeofday): Remove macro.
8414 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8415 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8416 Remove INTDEF.
8417 (__gettimeofday): Add libc_hidden_def.
8418 (gettimeofday): Add libc_hidden_weak.
8419 * sysdeps/mach/gettimeofday.c: Likewise.
8420 * sysdeps/posix/gettimeofday.c: Likewise.
8421 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8422 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8423 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8424 (__gettimeofday_internal): Remove strong_alias.
8425 (__gettimeofday): Add libc_hidden_def.
8426 (gettimeofday): Add libc_hidden_weak.
8427 * sysdeps/unix/syscalls.list (gettimeofday):
8428 Remove __gettimeofday_internal alias.
8429
8430 2012-05-24 Daniel Jacobowitz <drow@false.org>
8431 H.J. Lu <hongjiu.lu@intel.com>
8432
8433 [BZ #12495]
8434 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8435 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8436 (largebin_index_32_big): New.
8437 (largebin_index): Use it for 16-byte alignment.
8438 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8439 correction with front_misalign.
8440
8441 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8442
8443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8445 Likewise.
8446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8447 Likewise.
8448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8449 Likewise.
8450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8451 Likewise.
8452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8453 Likewise.
8454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8455 Likewise.
8456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8457 Likewise.
8458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8459 Likewise.
8460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8461 Likewise.
8462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8463 Likewise.
8464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8465 Likewise.
8466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8467 Likewise.
8468
8469 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8470 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8471
8472 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8473
8474 [BZ #10846]
8475 [BZ #14036]
8476 * math/libm-test.inc (exp_test): Add test from bug 14036.
8477 (pow_test): Add test from bug 10846.
8478
8479 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8480 and other flags.
8481 (special_function): Do not include flags in test name.
8482 (parse_args): Likewise.
8483 * sysdeps/i386/fpu/libm-test-ulps: Update.
8484 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8485 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8486 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8488
8489 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8490 exceptions.
8491 * math/libm-test.inc ("Philosophy"): Update comment about
8492 exception testing.
8493 (UNDERFLOW_EXCEPTION): New macro.
8494 (UNDERFLOW_EXCEPTION_OK): Likewise.
8495 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8496 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8497 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8498 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8499 (INVALID_EXCEPTION_OK): Update value.
8500 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8501 (OVERFLOW_EXCEPTION_OK): Likewise.
8502 (IGNORE_ZERO_INF_SIGN): Likewise.
8503 (test_exceptions): Handle underflow exceptions.
8504 (acos_test): Update for underflow exception expectations.
8505 (cexp_test): Likewise.
8506 (clog_test): Likewise.
8507 (clog10_test): Likewise.
8508 (csqrt_test): Likewise.
8509 (ctan_test): Likewise.
8510 (ctanh_test): Likewise.
8511 (exp_test): Likewise.
8512 (exp10_test): Likewise.
8513 (exp2_test): Likewise.
8514 (expm1_test): Likewise.
8515 (fma_test): Likewise.
8516 (j0_test): Likewise.
8517 (jn_test): Likewise.
8518 (nexttoward_test): Likewise.
8519 (pow_test): Likewise.
8520 (scalbn_test): Likewise.
8521 (scalbln_test): Likewise.
8522 (tan_test): Likewise.
8523 (y1_test): Likewise.
8524 * sysdeps/i386/fpu/libm-test-ulps: Update.
8525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8526
8527 2012-05-23 David S. Miller <davem@davemloft.net>
8528
8529 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8530 (__libc_sigaction): Remove unused local variables.
8531
8532 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8533
8534 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8535
8536 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8537
8538 mktime: avoid signed integer overflow
8539 * time/mktime.c (__mktime_internal): Do not mishandle the case
8540 where diff == INT_MIN.
8541
8542 mktime: simplify computation of average
8543 * time/mktime.c (ranged_convert): Use new time_t_avg function
8544 instead of rolling our own (probably-slower) code.
8545
8546 mktime: do not assume signed right shift propagates sign bit
8547 * time/mktime.c (isdst_differ): New static function.
8548 (__mktime_internal): No need to normalize tm_isdst now.
8549 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8550 tm_isdst values.
8551
8552 mktime: merge another wrapv change from gnulib
8553 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8554 from some compilers.
8555
8556 mktime: remove incorrect attempt at unusual arithmetics
8557 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8558 The code didn't really work on such machines anyway.
8559 (TYPE_MINIMUM): Assume two's complement.
8560 (twos_complement_arithmetic): Verify that long_int and time_t
8561 are two's complement (or unsigned, in the latter case).
8562
8563 mktime: check signed shifts on long_int and time_t, too
8564 * time/mktime.c (SHR): Check that shifts work as desired
8565 on the types long_int and time_t too, as SHR is used on
8566 such types.
8567
8568 mktime: do not assume 'long' is wide enough
8569 * time/mktime.c (verify): Move decl up.
8570 (long_int): New type.
8571 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8572 to remove assumption in the code that 'long' is wide enough to
8573 store year values. This assumption is not true on x32 and on
8574 some non-glibc platforms.
8575
8576 mktime: merge wrapv change from gnulib
8577 * time/mktime.c (WRAPV): New macro.
8578 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8579 (guess_time_tm, __mktime_internal): Do not assume that signed
8580 integer overflow wraps around; modern compilers generate code
8581 where this assumption is no longer valid.
8582
8583 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8584
8585 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8586 Replace "jmp L(pseudo_end)" with "ret".
8587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8588 Likewise.
8589
8590 2012-05-23 Andreas Jaeger <aj@suse.de>
8591
8592 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8593 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8594
8595 2012-05-23 Andreas Jaeger <aj@suse.de>
8596 Maximilian Attems <max@stro.at>
8597
8598 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8599 New macros.
8600
8601 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8602
8603 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8604 code so that pseudo_end is just ret and the stack pointer is
8605 correct also for static library in error case.
8606
8607 2012-05-23 Joseph Myers <joseph@codesourcery.com>
8608
8609 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8610 move to syscalls.list.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8615
8616 * manual/install.texi (Running make install): Do not mention Linux
8617 kernel version for which pt_chown is not needed.
8618 (Linux): Do not mention problems with nscd with 2.0 kernels.
8619 * INSTALL: Regenerated.
8620
8621 2012-05-23 Andreas Jaeger <aj@suse.de>
8622
8623 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8624 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8625 macro.
8626 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8627 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8628 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8629 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8630 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8631 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8632 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8633 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8634 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8635 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8636 * sysdeps/unix/sysv/linux/bits/in.h
8637 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8638
8639 2012-05-22 Roland McGrath <roland@hack.frob.com>
8640
8641 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8642 (PREPARE_VERSION): Just use assert instead, it will be elided
8643 under [NDEBUG] anyway.
8644
8645 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8646
8647 * sysdeps/unix/sysv/linux/Makefile: Include
8648 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8649 (sysdep_routines): Remove sysctl.
8650 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8651 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8652 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8653 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8654 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8655
8656 2012-05-22 Andreas Jaeger <aj@suse.de>
8657
8658 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8659 that pseudo_end is just ret and the stack pointer is correct also
8660 for static library in error case.
8661
8662 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8663
8664 [BZ #14122]
8665 * nss/nsswitch.c (defconfig_entries): New variable.
8666 (__nss_database_lookup): Don't leak defconfig entries.
8667 (nss_parse_service_list): Don't leak on error paths.
8668 (free_database_entries): New function.
8669 (free_defconfig): New function.
8670 (free_mem): Move common code to free_database_entries.
8671
8672 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8673
8674 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8675 Add arch_prctl.
8676 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8677
8678 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8679 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8681 New macro.
8682 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8683 (INTERNAL_SYSCALL_TYPES): Likewise.
8684 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8685 (LOAD_REGS_TYPES_[1-6]): Likewise.
8686 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8687 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8688
8689 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8690
8691 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8692 copysignl for GLIBC_2_0.
8693 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8694 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8695 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8696 logbl for GLIBC_2_0.
8697 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8698 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8699
8700 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8701
8702 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8703 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8704
8705 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8706 Use "neg %eax".
8707
8708 * time/mktime.c: Update copyright years.
8709
8710 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8711
8712 mktime: merge comment-quoting-style change from gnulib
8713 * time/mktime.c: Quote 'like this' in comments.
8714 The GNU coding standards suggest that we no longer quote `like this',
8715 as "`" and "'" are typically rendered asymmetrically nowadays.
8716 The typical gnulib style is to quote 'like this' when quoting
8717 code, and "like this" when quoting English.
8718
8719 * time/mktime.c (compile-command): Add "-I.".
8720
8721 mktime: merge mktime-internal.h change from gnulib
8722 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8723
8724 mktime: merge time_r change from gnulib
8725 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8726
8727 mktime: merge DEBUG change from gnulib
8728 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8729 case system <time.h> has a #define.
8730
8731 mktime: merge <sys/types.h> change from gnulib
8732 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8733 since <time.t> is now guaranteed to define time_t.
8734
8735 mktime: merge HAVE_CONFIG_H change from gnulib
8736 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8737
8738 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8739
8740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8741 Use "neg %eax".
8742
8743 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8744 __rlim_t cast.
8745 (struct rusage): Use anonymous union to pad each field to
8746 __syscall_slong_t.
8747
8748 2012-05-21 David S. Miller <davem@davemloft.net>
8749
8750 * Makefules (o-iterator): Remove .s cases.
8751 (compile-command.s): Delete.
8752 (COMPILE.s): Delete.
8753 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8754
8755 2012-05-21 Joseph Myers <joseph@codesourcery.com>
8756
8757 * configure.in (libc_cv_predef_stack_protector): Only consider
8758 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8759 * configure: Regenerated.
8760
8761 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8762
8763 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8764 New macro. Use R*LP on int and pointer.
8765 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8766 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8767 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8768 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8769
8770 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8771 [__WORDSIZE_TIME64_COMPAT32] instead of
8772 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8773 (struct utmp): Likewise.
8774 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8775 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8776 Renamed to ...
8777 (__WORDSIZE_TIME64_COMPAT32): This.
8778 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8779 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8780 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8781 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8782 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8783 (__WORDSIZE_TIME64_COMPAT32): New macro.
8784
8785 2012-05-21 Andreas Jaeger <aj@suse.de>
8786
8787 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8788 only if [SHARED]. Add prototype for __wcschr_ia32.
8789
8790 2012-05-21 Roland McGrath <roland@hack.frob.com>
8791
8792 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8793 of %rbp unmolested in the jmp_buf while mangling the low bits.
8794 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8795 unmolested high bits of %rbp while demangling the low bits.
8796 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8797
8798 2012-05-21 Andreas Jaeger <aj@suse.de>
8799
8800 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8801 * sunrpc/svc_simple.c: Use it for registerrpc.
8802 * sunrpc/xcrypt.c: Use it for passwd2des.
8803
8804 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8805
8806 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8807
8808 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8809 Don't define if [__SYSCALL_WORDSIZE != 32].
8810 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8811 New macro.
8812
8813 2012-05-21 Bruno Haible <bruno@clisp.org>
8814 Andreas Jaeger <aj@suse.de>
8815
8816 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8817 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8818 inptr and inend for must_buffer_ch.
8819 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8820 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8821 * stdio-common/Makefile (tests): Remove bug15.
8822 (bug15-ENV): Remove macro.
8823 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8824 anymore.
8825
8826 2012-05-19 Andreas Jaeger <aj@suse.de>
8827 Roland McGrath <roland@hack.frob.com>
8828
8829 * manual/contrib.texi: Completely rewritten. It contains now an
8830 alphabetical list of contributors and their contributions.
8831
8832 2012-05-21 Richard Henderson <rth@twiddle.net>
8833
8834 * misc/getauxval.c (__getauxval): Use unsigned long int.
8835 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8836 (getauxval): Use unsigned long int.
8837
8838 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8839
8840 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8841
8842 2012-05-21 Roland McGrath <roland@hack.frob.com>
8843
8844 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8845 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8846 __alignof__ (long double).
8847
8848 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8849
8850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8851
8852 2012-05-20 Richard Henderson <rth@twiddle.net>
8853
8854 * misc/getauxval.c: New file.
8855 * misc/sys/auxv.h: New file.
8856 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8857 (routines): Add getauxval.
8858 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8859 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8860 * elf/dl-sysdep.c (_dl_auxv): Remove.
8861 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8862 * elf/dl-support.c (_dl_auxv): New variable.
8863 (_dl_aux_init): Initialize it.
8864 * manual/startup.texi (Auxiliary Vector): New node.
8865 * sysdeps/generic/bits/hwcap.h: New file.
8866 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8867 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8868 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8869 * sysdeps/sparc/sysdep.h: ... here. Include it.
8870 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8871 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8873 Update.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8877 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8882
8883 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8884
8885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8886
8887 2012-05-19 David S. Miller <davem@davemloft.net>
8888
8889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8890
8891 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8892
8893 [BZ #14123]
8894 * math/s_ccosh.c: Include <float.h>
8895 (__ccosh): Avoid internal overflow calculating sinh and cosh
8896 values before multiplying by sin and cos values.
8897 * math/s_ccoshf.c: Likewise.
8898 * math/s_ccoshl.c: Likewise.
8899 * math/s_csin.c: Likewise.
8900 * math/s_csinf.c: Likewise.
8901 * math/s_csinl.c: Likewise.
8902 * math/s_csinh.c: Likewise.
8903 * math/s_csinhf.c: Likewise.
8904 * math/s_csinhl.c: Likewise.
8905 * math/libm-test.inc (ccos_test): Add more tests.
8906 (ccosh_test): Likewise.
8907 (csin_test): Likewise.
8908 (csinh_test): Likewise.
8909 * sysdeps/i386/fpu/libm-test-ulps: Update.
8910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8911
8912 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8913
8914 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8915 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8916
8917 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8918
8919 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8920
8921 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8922 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8923 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8924 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8925 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8926 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8927 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8928 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8929 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8930 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8931 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8932 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8933 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8934 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8935 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8936 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8937 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8938 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8939 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8940 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8941 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8942 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8943 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8944 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8945 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8946 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8947 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8948 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8949 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8950 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8951 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8952
8953 2012-05-18 Andreas Jaeger <aj@suse.de>
8954
8955 * csu/.gitignore: Delete.
8956
8957 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8958
8959 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8960 (timex): Use __syscall_slong_t.
8961
8962 2012-05-18 Andreas Jaeger <aj@suse.de>
8963 Carlos O'Donell <carlos_odonell@mentor.com>
8964
8965 * manual/install.texi (Configuring and compiling): Update
8966 description about files modified in the source directory.
8967 * INSTALL: Regenerated.
8968
8969 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8970
8971 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8972 value. Use "or" to set return value to -1.
8973 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8974 negate return value.
8975
8976 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8977
8978 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8979 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8980 failure if the compiler has Graphite support disabled.
8981 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8982 Likewise.
8983 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8984 CFLAGS-memmove.c): Likewise.
8985 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8986 Likewise.
8987
8988 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8989
8990 * sysdeps/x86_64/x32/_itoa.h: New file.
8991
8992 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8993 getdents system call only if kernel and user dirents have the
8994 same d_ino and d_off.
8995
8996 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8997 LLONG_MAX != LONG_MAX.
8998 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8999 (_fitoa_word): Likewise.
9000
9001 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9002 years.
9003 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9004 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9005 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9006
9007 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9008 include <bits/wordsize.h>. Check __x86_64__ instead of
9009 __WORDSIZE.
9010 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9011 if __x86_64__ is defined. Use anonymous union on fpstate.
9012
9013 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9014 anonymous union.
9015
9016 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9017
9018 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9019 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9020 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9021 Refer to _rtld_local_ro instead of _rtld_global_ro.
9022 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9023 Likewise.
9024 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9025 Likewise.
9026 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9027 Likewise.
9028 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9029 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9030 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9031
9032 * sysdeps/powerpc/powerpc32/dl-machine.c
9033 (__elf_machine_runtime_setup) [PROF]: Don't reference
9034 _dl_prof_resolve.
9035
9036 2012-05-18 Andreas Jaeger <aj@suse.de>
9037
9038 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9039 function only available for GCCs before 3.4 since GCC 3.4
9040 introduced a builtin.
9041 (lrint): Likewise.
9042 (llrintf): Likewise.
9043 (llrint): Likewise.
9044 (fmaxf): Likewise.
9045 (fmax): Likewise.
9046 (fminf): Likewise.
9047 (fmin): Likewise.
9048 (rint): Likewise.
9049 (rintf): Likewise.
9050 (nearbyint): Likewise.
9051 (nearbyintf): Likewise.
9052 (ceil): Likewise.
9053 (ceilf): Likewise.
9054 (floor): Likewise.
9055 (floorf): Likewise.
9056
9057 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9058
9059 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9060 on both fields and cast pointer to __syscall_ulong_t.
9061
9062 * bits/types.h (__fsword_t): New type.
9063 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9064 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9065 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9066 (__FSWORD_T_TYPE): Likewise.
9067 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9068 (__FSWORD_T_TYPE): Likewise.
9069 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9070 (__FSWORD_T_TYPE): Likewise.
9071 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9072 (__FSWORD_T_TYPE): Likewise.
9073 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9074 __SWORD_TYPE with __fsword_t.
9075 (statfs64): Likewise.
9076
9077 2012-05-17 David S. Miller <davem@davemloft.net>
9078
9079 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9080
9081 2012-05-17 Andreas Jaeger <aj@suse.de>
9082
9083 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9084 warning.
9085
9086 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9087
9088 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9089
9090 2012-05-17 Andreas Jaeger <aj@suse.de>
9091
9092 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9093 when it is used.
9094
9095 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9096
9097 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9098
9099 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9100
9101 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9102 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9103
9104 2012-05-17 Andreas Jaeger <aj@suse.de>
9105 Carlos O'Donell <carlos_odonell@mentor.com>
9106
9107 [BZ #14059]
9108 * sysdeps/x86_64/multiarch/init-arch.h
9109 (bit_YMM_Usable): Rename to...
9110 (bit_AVX_Usable): ... this.
9111 (bit_FMA4_Usable): New macro.
9112 (bit_XMM_state): New macro.
9113 (bit_YMM_state): New macro.
9114 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9115 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9116 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9117 (CPUID_OSXSAVE): New macro.
9118 (CPUID_AVX): New macro.
9119 (CPUID_FMA4): New macro.
9120 (index_YMM_Usable): Rename to...
9121 (index_AVX_Usable): ... this.
9122 (HAS_AVX): Use HAS_ARCH_FEATURE.
9123 (HAS_FMA4): Likewise.
9124 (HAS_YMM_USABLE): Remove.
9125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9126 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9127 are present.
9128 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9129 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9130 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9131 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9132 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9133
9134 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9135
9136 * math/libm-test.c: Support platforms without multiple rounding modes.
9137 * math/bug-nextafter.c: Support platforms without FP exceptions.
9138 * math/bug-nexttoward.c: Likewise.
9139 * math/test-fenv.c: Likewise.
9140 * math/test-misc.c: Likewise.
9141 * stdlib/bug-getcontext.c: Likewise.
9142
9143 2012-05-17 Andreas Jaeger <aj@suse.de>
9144
9145 * manual/examples/search.c (critter_cmp): Change signature to
9146 avoid warnings.
9147 * manual/string.texi (Collation Functions): Likewise.
9148
9149 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9150
9151 * bits/types.h: Fold copyright years.
9152 * bits/typesizes.h: Likewise.
9153 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9154 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9156 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9157 * time/time.h: Likewise.
9158
9159 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9160
9161 [BZ #208]
9162 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9163 in instead of returning them. Return void.
9164 (__libc_mallinfo): Accumulate over all arenas.
9165 (__malloc_stats): Adjust for change in int_mallinfo interface.
9166
9167 2012-05-16 Roland McGrath <roland@hack.frob.com>
9168
9169 [BZ #10375]
9170 * configure.in (NM): Add AC_CHECK_TOOL for it.
9171 (libc_extra_cflags): New substituted variable.
9172 Check for -fstack-protector being used implicitly.
9173 * configure: Regenerated.
9174 * config.make.in (config-extra-cflags): New variable,
9175 gets @libc_extra_cflags@.
9176 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9177
9178 [BZ #10375]
9179 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9180 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9181 * configure: Regenerated.
9182 * config.make.in (CPPUNDEFS): New substituted variable.
9183 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9184 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9185 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9186
9187 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9188
9189 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9190 (mq_attr): Use __syscall_slong_t.
9191
9192 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9193
9194 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9195 Check __x86_64__ instead of __WORDSIZE.
9196 (_STAT_VER_LINUX): Likewise.
9197 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9198 __syscall_ulong_t and __syscall_slong_t.
9199 (stat64): Likewise.
9200
9201 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9202
9203 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9204
9205 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9206
9207 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9208
9209 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9210
9211 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9212 __syscall_ulong_t.
9213
9214 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9215 include <bits/wordsize.h>. Check __x86_64__ instead of
9216 __WORDSIZE.
9217 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9218 defined.
9219 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9220
9221 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9222 include <bits/wordsize.h>. Check __x86_64__ instead of
9223 __WORDSIZE.
9224 (user_regs_struct): Use "__extension__ unsigned long long"
9225 instead of "unsigned long" if __x86_64__ is defined.
9226 (user): Likewise. Pad after pointer field if __ILP32__ is
9227 defined.
9228
9229 2012-05-16 Joseph Myers <joseph@codesourcery.com>
9230
9231 * configure.in (makeinfo): Require version 4.5 or later. Allow
9232 versions 5 to 9.
9233 * configure: Regenerated.
9234 * manual/install.texi (texinfo): Increase version requirement to
9235 4.5 or later.
9236 * INSTALL: Regenerated.
9237
9238 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9239
9240 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9241
9242 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9243
9244 * sysdeps/x86_64/x32/ffs.c: New file.
9245
9246 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9247 __syscall_ulong_t.
9248 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9249 defined. Use __syscall_ulong_t.
9250 (shminfo): Use __syscall_ulong_t.
9251 (shm_info): Likewise.
9252
9253 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9254 __syscall_ulong_t.
9255
9256 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9257 <bits/wordsize.h>.
9258 (msgqnum_t): Use __syscall_ulong_t.
9259 (msglen_t): Likewise.
9260 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9261 __syscall_ulong_t.
9262
9263 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9264 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9265
9266 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9267
9268 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9269 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9270
9271 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9272 __syscall_slong_t.
9273
9274 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9275 include <bits/wordsize.h>. Check __x86_64__ instead of
9276 __WORDSIZE.
9277
9278 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9279 "unsigned long long int" if __x86_64__ is defined.
9280 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9281
9282 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9283 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9284 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9285
9286 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9287 <stdint.h>.
9288 (GET_PC): Cast to uintptr_t first.
9289 (GET_FRAME): Likewise.
9290 (GET_STACK): Likewise.
9291
9292 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9293 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9294 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9295 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9296 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9297 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9298 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9299 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9300 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9301 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9302 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9303 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9304 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9305 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9306 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9307 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9308 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9309 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9310 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9311 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9312 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9313 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9314 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9315 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9316 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9317 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9318 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9319 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9320 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9321
9322 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9323
9324 * Makerules (+depfiles): Also collect depfiles from .oS in
9325 $(extra-objs).
9326 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9327 .oS, $(libnldbl-routines)).
9328
9329 * Makerules (native-compile-mkdep-flags): Define.
9330 * sunrpc/Makefile (extra-objs): Add $(addprefix
9331 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9332 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9333 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9334 calling $(make-target-directory).
9335
9336 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9337
9338 * bits/types.h (__snseconds_t): Removed.
9339 * time/time.h (struct timespec): Replace __snseconds_t with
9340 __syscall_slong_t.
9341 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9342 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9343 Likewise.
9344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9345 (__SNSECONDS_T_TYPE): Likewise.
9346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9347 (__SNSECONDS_T_TYPE): Likewise.
9348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9349 (__SNSECONDS_T_TYPE): Likewise.
9350
9351 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9352
9353 * sysdeps/mach/hurd/bits/typesizes.h
9354 (__SYSCALL_SLONG_TYPE): New macro.
9355 (__SYSCALL_ULONG_TYPE): Likewise.
9356
9357 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9358
9359 * bits/types.h (__syscall_slong_t): New type.
9360 (__syscall_ulong_t): Likewise.
9361
9362 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9363 (__SYSCALL_ULONG_TYPE): Likewise.
9364 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9365 (__SYSCALL_SLONG_TYPE): Likewise.
9366 (__SYSCALL_ULONG_TYPE): Likewise.
9367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9368 (__SYSCALL_SLONG_TYPE): Likewise.
9369 (__SYSCALL_ULONG_TYPE): Likewise.
9370 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9371 (__SYSCALL_SLONG_TYPE): Likewise.
9372 (__SYSCALL_ULONG_TYPE): Likewise.
9373
9374 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9375
9376 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9377 Add sigaltstack-offsets.sym.
9378 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9379 <sigaltstack-offsets.h>.
9380 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9381 longjmp_msg pointer.
9382 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9383 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9384 signal stack.
9385 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9386
9387 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9388
9389 * elf/stackguard-macros.h: Remove file.
9390 * sysdeps/generic/stackguard-macros.h: New file.
9391 * sysdeps/i386/stackguard-macros.h: Likewise.
9392 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9393 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9394 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9395 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9396 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9397 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9398 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9399 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9400 <elf/stackguard-macros.h>.
9401
9402 [BZ #14109]
9403 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9404 __aligned__ in attribute.
9405 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9406 (gregset_t): Likewise.
9407
9408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9409
9410 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9411 * sysdeps/x86_64/64/Implies-after: Here. New file.
9412 * sysdeps/x86_64/x32/Implies-after: New file.
9413
9414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9415
9416 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9417 and access return value for _dl_profile_fixup. Use R10_LP to
9418 load frame size.
9419
9420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9421
9422 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9423
9424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9425
9426 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9427 * sysdeps/x86_64/x32/sysdep.h: New file.
9428
9429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9430
9431 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9432 * sysdeps/x86_64/setjmp.S: Likewise.
9433
9434 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9435
9436 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9437 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9438 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9439 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9440 remove unused global constant.
9441
9442 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9443
9444 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9445 include of <not-cancel.h>.
9446
9447 2012-05-15 Roland McGrath <roland@hack.frob.com>
9448
9449 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9450
9451 2012-05-15 Jeff Law <law@redhat.com>
9452 Andreas Jaeger <aj@suse.de>
9453
9454 [BZ #13594]
9455 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9456 out from...
9457 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9458 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9459 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9460 code changing __hst_map_handle.map.
9461
9462 2012-05-15 Roland McGrath <roland@hack.frob.com>
9463
9464 * configure.in (sysnames): Look for Implies-before and Implies-after
9465 files.
9466 * configure: Regenerated.
9467
9468 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9469
9470 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9471 8-byte data alignment with LP_SIZE alignment.
9472
9473 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9474
9475 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9476 into R10_LP.
9477
9478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9479
9480 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9481
9482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9483
9484 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9485 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9486 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9487 Likewise.
9488 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9489
9490 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9491
9492 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9493 (stackinfo_sub_sp): Likewise.
9494
9495 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9496
9497 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9498 RAX_LP.
9499
9500 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9501
9502 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9503 into R*_LP.
9504
9505 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9506
9507 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9508 sizes into R*_LP.
9509
9510 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9511
9512 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9513
9514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9515
9516 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9517 into R11_LP and load __x86_64_shared_cache_size_half into
9518 R8_LP.
9519
9520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9521
9522 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9523 R8_LP.
9524
9525 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9526
9527 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9528 logb for POWER7.
9529 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9530 logbf for POWER7.
9531 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9532 logbl for POWER7.
9533 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9534 powerpc32/power7/fpu/s_logb.c via #include.
9535 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9536 powerpc32/power7/fpu/s_logbf.c via #include.
9537 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9538 powerpc32/power7/fpu/s_logbl.c via #include.
9539
9540 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9541
9542 * README.libm: Remove file.
9543
9544 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9545
9546 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9547 count for x32. Use R*_LP and omit operand-size suffix.
9548
9549 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9550
9551 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9552 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9553 * sysdeps/x86_64/x32/shlib-versions: New file.
9554
9555 2012-05-14 Roland McGrath <roland@hack.frob.com>
9556
9557 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9558 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9559 Use _dl_fatal_printf instead.
9560
9561 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9562
9563 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9564 set if not set by the user. Do not allow for being unset.
9565 * sysdeps/unix/sysv/linux/configure: Regenerated.
9566
9567 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9568
9569 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9570 the `q' suffix from lea and replace .quad with ASM_ADDR.
9571
9572 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9573
9574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9575 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9576 instead of $17.
9577 (PTR_DEMANGLE): Likewise.
9578
9579 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9580
9581 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9582 (LP_OP): Likewise.
9583 (ASM_ADDR): Likewise.
9584 (RAX_LP): Likewise.
9585 (RBP_LP): Likewise.
9586 (RBX_LP): Likewise.
9587 (RCX_LP): Likewise.
9588 (RDI_LP): Likewise.
9589 (RSI_LP): Likewise.
9590 (RSP_LP): Likewise.
9591 (R8_LP): Likewise.
9592 (R9_LP): Likewise.
9593 (R10_LP): Likewise.
9594 (R10_LP): Likewise.
9595 (R11_LP): Likewise.
9596 (R12_LP): Likewise.
9597 (R13_LP): Likewise.
9598 (R14_LP): Likewise.
9599 (R15_LP): Likewise.
9600
9601 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9602
9603 * sysdeps/x86_64/x32/dl-machine.h: New file.
9604
9605 2012-05-14 Andreas Jaeger <aj@suse.de>
9606
9607 * manual/Makefile (subdir): Remove export of subdir.
9608 (all): Remove target.
9609 (.PHONY): Remove all from list.
9610 (mkinstalldirs): Remove.
9611 (.PHONY): Remove installdirs from list.
9612 ($(inst_infodir)/libc.info): Use make-target-directory.
9613 (installdirs): Remove.
9614 (subdir_%): Remove.
9615 (glibc-targets): Remove.
9616 (lib): Remove.
9617 (stubs): Remove.
9618 ($(objpfx)stubs ../po/manual.pot): Remove.
9619 ($(objpfx)stamp%): Remove.
9620 (make-target-directory): Remove.
9621 (subdir_install): Remove.
9622 (routines): Remove.
9623 (aux): Remove.
9624 (sources): Remove.
9625 (objects): Remove.
9626 (headers): Remove.
9627
9628 [BZ #13750]
9629 * manual/.gitignore: Remove, it's not needed anymore.
9630 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9631 all files in it.
9632 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9633 directory.
9634 (texis): Renamed to $(objpfx)texis.
9635 (texis-path): New, contains path to generated files.
9636 (chapters.%): Use texis-path for complete path, add extra argument
9637 libc-texinfo.sh.
9638 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9639 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9640 (summary,texi, stamp-summary): Use complete path of
9641 files. Generate files in build dir.
9642 (dir-add.texi): Build in build dir.
9643 (libm-err.texi,stamp-libm-err): Likewise.
9644 (version.texi, stamp-version): Likewise.
9645 (.%c.texi): Likewise.
9646 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9647 (mostlyclean): Remove target.
9648 (realclean): Remove target.
9649 (generated): Add new variable with contents from mostlyclean and
9650 realclean, remove entries duplicated in common-mostlyclean, add
9651 stamp-libm-err and stamp-version.
9652 (generated-dirs): Add libc directory.
9653 ($(inst_infodir)/libc.info): Install files from build dir.
9654
9655 * manual/install.texi (Configuring and compiling): Adjust since
9656 the info files are not part of the tar ball anymore.
9657
9658 2012-05-14 Andreas Jaeger <aj@suse.de>
9659
9660 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9661 variable.
9662
9663 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9664
9665 [BZ #13717]
9666 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9667 to 2.2.0 where earlier.
9668 * sysdeps/unix/sysv/linux/configure: Regenerated.
9669 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9670 Remove conditional code.
9671 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9672 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9673 Remove conditional code.
9674 [!__NR_lchown]: Likewise.
9675 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9676 [__NR_lchown]: Likewise.
9677 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9678 comment referencing __ASSUME_LCHOWN_SYSCALL.
9679 * sysdeps/unix/sysv/linux/i386/sigaction.c
9680 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9681 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9682 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9683 Remove conditional code.
9684 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9685 (__protocol_available): Remove #if 0 code.
9686 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9687 conditional code.
9688 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9689 * sysdeps/unix/sysv/linux/kernel-features.h
9690 (__ASSUME_GETCWD_SYSCALL): Don't define.
9691 (__ASSUME_REALTIME_SIGNALS): Likewise.
9692 (__ASSUME_PREAD_SYSCALL): Likewise.
9693 (__ASSUME_PWRITE_SYSCALL): Likewise.
9694 (__ASSUME_POLL_SYSCALL): Likewise.
9695 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9696 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9697 non-SPARC.
9698 (__ASSUME_SIOCGIFNAME): Don't define.
9699 (__ASSUME_MSG_NOSIGNAL): Likewise.
9700 (__ASSUME_SENDFILE): Define unconditionally.
9701 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9702 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9703 conditional code.
9704 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9705 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9706 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9707 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9708 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9709 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9710 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9712 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9713 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9715 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9716 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9718 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9719 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9721 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9724 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9725 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9727 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9728 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9730 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9731 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9733 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9734 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9735 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9736 Remove conditional code.
9737 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9738 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9739 Remove conditional code.
9740 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9741 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9742 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9743 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9744 Remove conditional code.
9745 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9746 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9747 Remove conditional code.
9748 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9749 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9750 Remove conditional code.
9751 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9752 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9753 Remove conditional code.
9754 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9755 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9756 Remove conditional code.
9757 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9758 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9759 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9760 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9761 * sysdeps/unix/sysv/linux/sigaction.c
9762 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9763 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9764 * sysdeps/unix/sysv/linux/sigpending.c
9765 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9766 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9767 * sysdeps/unix/sysv/linux/sigprocmask.c
9768 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9769 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9770 * sysdeps/unix/sysv/linux/sigsuspend.c
9771 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9772 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9773 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9774 (__libc_missing_rt_sigs): Remove.
9775 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9776 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9777 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9778 Remove conditional code.
9779 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9780 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9781 return 1.
9782 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9783 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9784 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9785 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9786
9787 2012-05-14 Andreas Jaeger <aj@suse.de>
9788
9789 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9790 it's not used in glibc.
9791 (__coshm1): Likewise.
9792 (__acosh1p): Likewise.
9793 (__sgn): Likewise.
9794
9795 * manual/string.texi (Copying and Concatenation): Add missing
9796 variable in concat example.
9797 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9798
9799 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9800
9801 [BZ #14103]
9802 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9803 __builtin_clzl with __builtin_clzll.
9804
9805 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9806
9807 [BZ #14104]
9808 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9809 libc_freeres_ptr.
9810
9811 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9812
9813 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9814 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9815 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9816 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9817
9818 2012-05-14 Mike Frysinger <vapier@gentoo.org>
9819
9820 * NEWS: Update ia64 info.
9821
9822 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9823
9824 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9825 used as bcopy.
9826
9827 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9828
9829 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9830 * sysdeps/unix/syscalls.list (dup3): Likewise.
9831 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9832 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9833
9834 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9835
9836 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9837 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9838
9839 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9840
9841 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9842 thread pointer.
9843 (TLS_IE): Use mov/add instead of movq/addq to load thread
9844 pointer.
9845 (TLS_GD_PREFIX): New.
9846 (TLS_GD): Use it.
9847
9848 2012-05-11 David S. Miller <davem@davemloft.net>
9849
9850 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9851 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9852 (_FPU_SETCW): Likewise.
9853
9854 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9855
9856 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9857 is 32-byte aligned.
9858
9859 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9860
9861 [BZ #11837]
9862 * iconvdata/gb18030.c: Update tables.
9863 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9864 characters specially.
9865 (BODY for TO_LOOP): Add encoding of missing ranges.
9866
9867 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9868
9869 [BZ #13673]
9870 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9871 * sysdeps/mach/hurd/dup3.c: Likewise.
9872 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9873 * sysdeps/powerpc/memmove.c:: Likewise.
9874
9875 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9876
9877 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9878 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9879
9880 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9881
9882 * elf/elf.h (R_X86_64_RELATIVE64): New.
9883 (R_X86_64_NUM): Updated.
9884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9885 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9886 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9887 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9888 tst-quad1pie tst-quad2pie
9889 (modules-names): Add tst-quadmod1 tst-quadmod2.
9890 ($(objpfx)tst-quad1): New dependency.
9891 ($(objpfx)tst-quad2): Likewise.
9892 ($(objpfx)tst-quad1pie): Likewise.
9893 ($(objpfx)tst-quad2pie): Likewise.
9894 * sysdeps/x86_64/tst-quad1.c: New file.
9895 * sysdeps/x86_64/tst-quad1pie.c: New file.
9896 * sysdeps/x86_64/tst-quad2.c: Likewise.
9897 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9898 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9899 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9900 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9901 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9902
9903 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9904
9905 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9906 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9907 * streams/stropts.h (t_scalar_t): Define type.
9908
9909 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9910 (_PATH_PRESERVE): Set to "/var/lib".
9911 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9912
9913 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9914 instead of int.
9915
9916 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9917 if __dir_mkfile succeeded.
9918
9919 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9920 checking for _hurd_dtablesize. Unlock it right after having
9921 finished _hurd_dtable allocation.
9922
9923 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9924
9925 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9926 * sysdeps/mach/hurd/configure: Regenerated.
9927 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9928 special-casing to...
9929 * sysdeps/gnu/configure.in: ... this new file.
9930 * sysdeps/unix/sysv/linux/configure: Regenerated.
9931 * sysdeps/gnu/configure: New generated file.
9932
9933 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9934 for Linux: use nsec instead of usec, as well as:
9935 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9936 members of type struct timespec.
9937 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9938 New macros.
9939 (struct stat64): Likewise.
9940 (_STATBUF_ST_NSEC): New macro.
9941 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9942
9943 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9944 __strtoul_internal rather than strtoul.
9945
9946 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9947
9948 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9949 and reject them.
9950
9951 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9952
9953 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9954 which preserves existing values.
9955 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9956
9957 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9958
9959 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9960 TIMEOUT values. Return EINVAL for NFDS values either negative or
9961 greater than FD_SETSIZE.
9962
9963 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9964
9965 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9966 allocated, call __vm_protect to finish enabling the existing space, and
9967 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9968 allocate the remainder.
9969
9970 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9971
9972 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9973 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9974
9975 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9976
9977 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9978 sysdeps/mach/hurd/readlink.c.
9979
9980 * posix/tst-sysconf.c (posix_options): Only use
9981 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9982 _POSIX_SYNCHRONIZED_IO when they are defined
9983 * sysdeps/mach/hurd/bits/posix_opt.h:
9984 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9985 (_XOPEN_REALTIME): Undefine macro.
9986 (_XOPEN_REALTIME_THREADS): Undefine macro.
9987 (_XOPEN_SHM): Undefine macro.
9988 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9989 macro to -1.
9990 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9991 macro to -1.
9992 (_POSIX_ASYNC_IO): Undefine macro.
9993 (_POSIX_PRIORITIZED_IO): Undefine macro.
9994 (_POSIX_SPIN_LOCKS): Define macro to -1.
9995
9996 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9997 SA_NODEFER, SA_RESETHAND.
9998 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9999 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10000 F_DUPFD_CLOEXEC.
10001
10002 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10003
10004 * elf/Makefile (pldd-modules): Define unconditionally.
10005
10006 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10007
10008 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10009
10010 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10011
10012 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10013 Return ENOENT when name is empty.
10014 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10015
10016 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10017
10018 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10019
10020 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10021
10022 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10023
10024 Fix mlock in all cases except non-readable pages.
10025 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10026 instead of VM_PROT_ALL as parameter to __vm_wire function.
10027
10028 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10029 (__mkdir): When path is `/', just fail with EEXIST.
10030 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10031
10032 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10033
10034 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10035 <sys/uio.h> (for writev).
10036 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10037 and <sys/param.h> (for MIN).
10038
10039 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10040
10041 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10042 REQUESTED_TIME. Properly set the remaining time and return EINTR
10043 if interrupted.
10044
10045 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10046
10047 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10048 Depend on against $(link-rpcuserlibs).
10049
10050 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10051
10052 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10053 (__libc_stack_end): Do not use attribute_relro.
10054 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10055 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10056 to libthread-provided value.
10057 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10058 attribute_relro.
10059
10060 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10061
10062 [BZ #3748]
10063 * bits/libc-lock.h (__libc_once_get): New macro.
10064 * sysdeps/mach/bits/libc-lock.h: Likewise.
10065 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10066 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10067 instead of using implementation details.
10068
10069 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10070 * libio/freopen.c: Likewise.
10071 * libio/freopen64.c: Likewise.
10072 * misc/syslog.c: Likewise.
10073 * nscd/connections.c: Likewise.
10074 * nscd/netgroupcache.c: Likewise.
10075 * sysdeps/posix/getcwd.c: Likewise.
10076
10077 2012-05-10 Roland McGrath <roland@hack.frob.com>
10078
10079 * math/w_ilogbf.c: Add #include <limits.h>.
10080
10081 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10082
10083 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10084 path instead of returning without unlocking.
10085
10086 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10087 immediate-write ioctls.
10088 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10089
10090 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10091
10092 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10093 __builtin_frame_address instead of making assumptions about the
10094 location of the return address relative to DATA. Force early load of
10095 the return address.
10096 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10097 __builtin_frame_address.
10098
10099 dup3 for GNU Hurd.
10100 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10101 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10102 implement dup3 and do some further code clean-ups.
10103 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10104 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10105
10106 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10107
10108 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10109
10110 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10111 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10112 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10113 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10114 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10115 d->port.lock.
10116
10117 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10118 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10119 when handler == SIG_ERR, not when handler != SIG_ERR.
10120
10121 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10122
10123 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10124 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10125 definitions.
10126
10127 accept4 for GNU Hurd.
10128 * include/sys/socket.h (__libc_accept4): New prototype.
10129 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10130 to implement __libc_accept4.
10131 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10132 __libc_accept4.
10133 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10134
10135 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10136 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10137 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10138 signal-defines.sym.
10139
10140 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10141
10142 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10143
10144 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10145
10146 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10147 assertion on O_CLOEXEC flag.
10148 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10149 * hurd/intern-fd.c: Likewise.
10150 * hurd/port2fd.c: Likewise.
10151
10152 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10153
10154 [BZ #3906]
10155 * bits/in.h (IPV6_PKTINFO): Define new macro.
10156 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10157
10158 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10159
10160 [BZ #13954]
10161 [BZ #13955]
10162 [BZ #13956]
10163 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10164 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10165 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10166 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10167 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10168 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10169 * math/libm-test.inc (logb_test) : Additional logb tests.
10170
10171 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10172 Andreas Jaeger <aj@suse.de>
10173
10174 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10175 * configure: Regenerated.
10176 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10177 * config.make.in (link-obsolete-rpc): New substituted variable.
10178 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10179 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10180 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10181 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10182 so that libc.a contains the symbols.
10183 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10184 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10185 * sunrpc/auth_none.c: Likewise.
10186 * sunrpc/auth_unix.c: Likewise.
10187 * sunrpc/authdes_prot.c: Likewise.
10188 * sunrpc/authuxprot.c: Likewise.
10189 * sunrpc/clnt_gen.c: Likewise.
10190 * sunrpc/clnt_perr.c: Likewise.
10191 * sunrpc/clnt_raw.c: Likewise.
10192 * sunrpc/clnt_simp.c: Likewise.
10193 * sunrpc/clnt_tcp.c: Likewise.
10194 * sunrpc/clnt_udp.c: Likewise.
10195 * sunrpc/clnt_unix.c: Likewise.
10196 * sunrpc/des_crypt.c: Likewise.
10197 * sunrpc/des_soft.c: Likewise.
10198 * sunrpc/get_myaddr.c: Likewise.
10199 * sunrpc/key_call.c: Likewise.
10200 * sunrpc/key_prot.c: Likewise.
10201 * sunrpc/netname.c: Likewise.
10202 * sunrpc/pm_getmaps.c: Likewise.
10203 * sunrpc/pm_getport.c: Likewise.
10204 * sunrpc/pmap_clnt.c: Likewise.
10205 * sunrpc/pmap_prot.c: Likewise.
10206 * sunrpc/pmap_prot2.c: Likewise.
10207 * sunrpc/pmap_rmt.c: Likewise.
10208 * sunrpc/publickey.c: Likewise.
10209 * sunrpc/rpc_cmsg.c: Likewise.
10210 * sunrpc/rpc_common.c: Likewise.
10211 * sunrpc/rpc_dtable.c: Likewise.
10212 * sunrpc/rpc_prot.c: Likewise.
10213 * sunrpc/rpc_thread.c: Likewise.
10214 * sunrpc/rtime.c: Likewise.
10215 * sunrpc/svc.c: Likewise.
10216 * sunrpc/svc_auth.c: Likewise.
10217 * sunrpc/svc_raw.c: Likewise.
10218 * sunrpc/svc_run.c: Likewise.
10219 * sunrpc/svc_tcp.c: Likewise.
10220 * sunrpc/svc_udp.c: Likewise.
10221 * sunrpc/svc_unix.c: Likewise.
10222 * sunrpc/svcauth_des.c: Likewise.
10223 * sunrpc/xcrypt.c: Likewise.
10224 * sunrpc/xdr.c: Likewise.
10225 * sunrpc/xdr_array.c: Likewise.
10226 * sunrpc/xdr_float.c: Likewise.
10227 * sunrpc/xdr_intXX_t.c: Likewise.
10228 * sunrpc/xdr_mem.c: Likewise.
10229 * sunrpc/xdr_rec.c: Likewise.
10230 * sunrpc/xdr_ref.c: Likewise.
10231 * sunrpc/xdr_sizeof.c: Likewise.
10232 * sunrpc/xdr_stdio.c: Likewise.
10233
10234 2012-05-10 Roland McGrath <roland@hack.frob.com>
10235
10236 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10237 change. Update copyright years.
10238
10239 2012-05-10 Joseph Myers <joseph@codesourcery.com>
10240
10241 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10242
10243 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10244 Joseph Myers <joseph@codesourcery.com>
10245 Paul Pluzhnikov <ppluzhnikov@google.com>
10246
10247 [BZ #14012]
10248 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10249 requiring rpcgen.
10250 [cross-compiling] (extra-libs): Likewise.
10251 [cross-compiling] (extra-libs-others): Likewise.
10252 [cross-compiling] (librpcsvc-routines): Likewise.
10253 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10254 [cross-compiling] (omit-deps): Likewise.
10255 (sunrpc-CPPFLAGS): New variable.
10256 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10257 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10258 (cross-rpcgen-objs): New variable.
10259 (extra-objs): Append $(cross-rpcgen-objs).
10260 ($(cross-rpcgen-objs)): New rule.
10261 ($(objpfx)cross-rpcgen): Likewise.
10262 (rpcgen-cmd): Define to use $(built-program-file). Expand
10263 comment.
10264 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10265 ($(objpfx)x%.stmp): Likewise.
10266 * sunrpc/proto.h [IS_IN_build] (_): Define.
10267 [IS_IN_build] (_libc_intl_domainname): Likewise.
10268
10269 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10270
10271 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10272 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10273 and R_X86_64_TPOFF64.
10274
10275 2012-05-10 Joseph Myers <joseph@codesourcery.com>
10276
10277 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10278 sysdeps/unix/sysv/syscalls.list.
10279 (stime): Likewise.
10280 (utime): Likewise.
10281 * sysdeps/unix/sysv/syscalls.list: Remove file.
10282
10283 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10284
10285 [BZ #3440]
10286 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10287 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10288 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10289 (__LC_IDENTIFICATION): Make these macros useful in #if
10290 expressions, as required by C99.
10291
10292 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10293
10294 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10295 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10296 after this.
10297
10298 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10299
10300 * stdlib/longlong.h: Updated from GCC.
10301
10302 2012-05-09 Andreas Jaeger <aj@suse.de>
10303
10304 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10305 default is first entry.
10306 (run_mode): Set type.
10307 (main): Remove informal message about syslog.
10308 (options): Fix typo.
10309
10310 [BZ #14053]
10311 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10312 to asm.
10313 (lrint): Likewise.
10314 (llrintf): Likewise.
10315 (llrint): Likewise.
10316 (rint): Likewise.
10317 (rintf): Likewise.
10318 (nearbyint): Likewise.
10319 (nearbyintf): Likewise.
10320
10321 2012-05-09 Andreas Jaeger <aj@suse.de>
10322 Pedro Alves <palves@redhat.com>
10323
10324 * nscd/nscd.c (run_mode): Use enum.
10325 (main): Cleanup coding style issue.
10326
10327 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
10328 Andreas Jaeger <aj@suse.de>
10329
10330 * nscd/nscd.c (go_background): Replaced with...
10331 (run_mode): ... this.
10332 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10333 (options): Add -F --foreground.
10334 (main): Implement it.
10335 (parse_opt): Parse it.
10336
10337 2012-05-09 Andreas Jaeger <aj@suse.de>
10338
10339 [BZ #14083]
10340 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10341 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10342 -Wconversion warning.
10343 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10344 Likewise.
10345
10346 2012-05-09 Joseph Myers <joseph@codesourcery.com>
10347
10348 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10349 == 0.
10350 (LC_ALL): Use macro-int-constant.
10351 (LC_COLLATE): Likewise.
10352 (LC_CTYPE): Likewise.
10353 (LC_MESSAGES): Likewise.
10354 (LC_MONETARY): Likewise.
10355 (LC_NUMERIC): Likewise.
10356 (LC_TIME): Likewise.
10357 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10358 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10359 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10360 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10361 Specify type.
10362 [C99-based standards] (float_t): Expect type.
10363 [C99-based standards] (double_t): Expect type.
10364 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10365 type.
10366 [C99-based standards] (HUGE_VALL): Likewise.
10367 [C99-based standards] (INFINITY): Likewise.
10368 [C99-based standards] (NAN): Likewise.
10369 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10370 [C99-based standards] (FP_NAN): Likewise.
10371 [C99-based standards] (FP_NORMAL): Likewise.
10372 [C99-based standards] (FP_SUBNORMAL): Likewise.
10373 [C99-based standards] (FP_ZERO): Likewise.
10374 [C99-based standards] (FP_FAST_FMA): Use
10375 optional-macro-int-constant. Specify type. Require == 1.
10376 [C99-based standards] (FP_FAST_FMAF): Likewise.
10377 [C99-based standards] (FP_FAST_FMAL): Likewise.
10378 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10379 [C99-based standards] (FP_ILOGBNAN): Likewise.
10380 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10381 Specify type.
10382 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10383 [C99-based standards] (math_errhandling): Specify type.
10384 [ISO99 || ISO11] (signgam): Do not allow.
10385 [non-C99-based standards] (copysignf): Do not allow.
10386 [non-C99-based standards] (exp2f): Likewise.
10387 [non-C99-based standards] (log2f): Likewise.
10388 [non-C99-based standards] (modff): Allow.
10389 [non-C99-based standards] (erff): Do not allow.
10390 [non-C99-based standards] (erfcf): Likewise.
10391 [non-C99-based standards] (gammaf): Likewise.
10392 [non-C99-based standards] (hypotf): Likewise.
10393 [non-C99-based standards] (j0f): Likewise.
10394 [non-C99-based standards] (j1f): Likewise.
10395 [non-C99-based standards] (jnf): Likewise.
10396 [non-C99-based standards] (lgammaf): Likewise.
10397 [non-C99-based standards] (tgammaf): Likewise.
10398 [non-C99-based standards] (y0f): Likewise.
10399 [non-C99-based standards] (y1f): Likewise.
10400 [non-C99-based standards] (ynf): Likewise.
10401 [non-C99-based standards] (isnanf): Likewise.
10402 [non-C99-based standards] (acoshf): Likewise.
10403 [non-C99-based standards] (asinhf): Likewise.
10404 [non-C99-based standards] (atanhf): Likewise.
10405 [non-C99-based standards] (cbrtf): Likewise.
10406 [non-C99-based standards] (expm1f): Likewise.
10407 [non-C99-based standards] (ilogbf): Likewise.
10408 [non-C99-based standards] (log1pf): Likewise.
10409 [non-C99-based standards] (logbf): Likewise.
10410 [non-C99-based standards] (nextafterf): Likewise.
10411 [non-C99-based standards] (remainderf): Likewise.
10412 [non-C99-based standards] (rintf): Likewise.
10413 [non-C99-based standards] (scalbf): Likewise.
10414 [non-C99-based standards] (copysignl): Likewise.
10415 [non-C99-based standards] (exp2l): Likewise.
10416 [non-C99-based standards] (log2l): Likewise.
10417 [non-C99-based standards] (modfl): Allow.
10418 [non-C99-based standards] (erfl): Do not allow.
10419 [non-C99-based standards] (erfcl): Likewise.
10420 [non-C99-based standards] (gammal): Likewise.
10421 [non-C99-based standards] (hypotl): Likewise.
10422 [non-C99-based standards] (j0l): Likewise.
10423 [non-C99-based standards] (j1l): Likewise.
10424 [non-C99-based standards] (jnl): Likewise.
10425 [non-C99-based standards] (lgammal): Likewise.
10426 [non-C99-based standards] (tgammal): Likewise.
10427 [non-C99-based standards] (y0l): Likewise.
10428 [non-C99-based standards] (y1l): Likewise.
10429 [non-C99-based standards] (ynl): Likewise.
10430 [non-C99-based standards] (isnanl): Likewise.
10431 [non-C99-based standards] (acoshl): Likewise.
10432 [non-C99-based standards] (asinhl): Likewise.
10433 [non-C99-based standards] (atanhl): Likewise.
10434 [non-C99-based standards] (cbrtl): Likewise.
10435 [non-C99-based standards] (expm1l): Likewise.
10436 [non-C99-based standards] (ilogbl): Likewise.
10437 [non-C99-based standards] (log1pl): Likewise.
10438 [non-C99-based standards] (logbl): Likewise.
10439 [non-C99-based standards] (nextafterl): Likewise.
10440 [non-C99-based standards] (remainderl): Likewise.
10441 [non-C99-based standards] (rintl): Likewise.
10442 [non-C99-based standards] (scalbl): Likewise.
10443 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10444 [non-C99-based standards] (FP_*): Do not allow.
10445 [C99-based standards] (FP_*): Change to
10446 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10447 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10448 allow.
10449 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10450 (SIG_ERR): Likewise.
10451 [X/Open-based standards] (SIG_HOLD): Likewise.
10452 (SIG_IGN): Likewise.
10453 (SIGABRT): Use macro-int-constant. Specify type. Require
10454 positive value.
10455 (SIGFPE): Likewise.
10456 (SIGILL): Likewise.
10457 (SIGINT): Likewise.
10458 (SIGSEGV): Likewise.
10459 (SIGTER): Likewise.
10460 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10461 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10462 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10463 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10464 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10465 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10466 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10467 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10468 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10469 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10470 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10471 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10472 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10473 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10474 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10475 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10476 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10477 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10478 [X/Open-based standards] (SIGTRAP): Likewise.
10479 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10480 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10481 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10482 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10483 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10484 allow.
10485
10486 2012-05-08 Ian Wienand <ianw@vmware.com>
10487
10488 [BZ #14080]
10489 * time/tzset.c (__tzset_parse_tz): Update default rules for
10490 daylight time changes in the Energy Policy Act of 2005.
10491
10492 2012-05-09 Andreas Jaeger <aj@suse.de>
10493
10494 [BZ #13983]
10495 * elf/ldconfig.c (parse_conf): Change string to make clear that
10496 ldconfig only issued a warning if ld.so.conf does not exist.
10497
10498 2012-05-08 David S. Miller <davem@davemloft.net>
10499
10500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10501 movxtod instead of popping the value on the stack.
10502
10503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10504
10505 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10506
10507 * config.h.in: Add HAVE_ARM_PCS_VFP.
10508
10509 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
10510
10511 [BZ #13979]
10512 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10513 checking but the checks are disabled for any reason.
10514
10515 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10516
10517 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10518 and ELF64_R_TYPE with ELFW(R_TYPE).
10519
10520 2012-05-08 Joseph Myers <joseph@codesourcery.com>
10521
10522 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10523 (ulimit): Likewise.
10524
10525 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10526 (settimeofday): Likewise.
10527
10528 2012-05-08 Mike Frysinger <vapier@gentoo.org>
10529
10530 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10531 a struct th_u2 inside the union, and move tu_block/tu_code into
10532 a new th_u3 union of tu_block/tu_code inside of that. Move
10533 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10534 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10535 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10536 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10537 (th_stuff): Change to th_u1.tu_stuff.
10538 (th_data): Define.
10539 (th_msg): Change to th_u1.th_u2.tu_data.
10540
10541 2012-05-07 David S. Miller <davem@davemloft.net>
10542
10543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10544
10545 [BZ #14074]
10546 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10547 (SETUP_PIC_REG): Use it.
10548 (SETUP_PIC_REG_LEAF): Use it.
10549
10550 2012-05-07 Joseph Myers <joseph@codesourcery.com>
10551
10552 [BZ #13885]
10553 [BZ #13923]
10554 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10555 USE_AS_EXPM1L.
10556 (EXPL_FINITE): Likewise.
10557 (FLDLOG): Likewise.
10558 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10559 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10560 e_expl.S.
10561 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10562 USE_AS_EXPM1L.
10563 (EXPL_FINITE): Likewise.
10564 (FLDLOG): Likewise.
10565 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10566 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10567 e_expl.S.
10568 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10569 test of -max_value argument for long double.
10570 * sysdeps/i386/fpu/libm-test-ulps: Update.
10571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10572
10573 2012-05-06 David S. Miller <davem@davemloft.net>
10574
10575 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10576 quad soft-float symbols whose references which are compiler
10577 generated.
10578 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10579
10580 2012-05-06 Joseph Myers <joseph@codesourcery.com>
10581
10582 [BZ #13884]
10583 [BZ #13914]
10584 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10585 USE_AS_EXP10L.
10586 (EXPL_FINITE): Likewise.
10587 (FLDLOG): Likewise.
10588 (c0): Likewise.
10589 (c1): Likewise.
10590 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10591 Adjust comments for base varying.
10592 (__expl_finite): Change alias to EXPL_FINITE.
10593 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10594 e_expl.S.
10595 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10596 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10597 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10598 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10599 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10600 USE_AS_EXP10L.
10601 (EXPL_FINITE): Likewise.
10602 (FLDLOG): Likewise.
10603 (c0): Likewise.
10604 (c1): Likewise.
10605 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10606 Adjust comments for base varying.
10607 (__expl_finite): Change alias to EXPL_FINITE.
10608 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10609 tests for bugs.
10610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10611
10612 [BZ #14064]
10613 * math/libm-test.inc (check_float_internal): Correct ulp
10614 calculation for subnormal expected results.
10615
10616 2012-05-06 Andreas Jaeger <aj@suse.de>
10617
10618 * Makeconfig (+math-flags): New, set to -frounding-math.
10619 (+cflags): Add +math-flags so that all of glibc gets compiled with
10620 it.
10621
10622 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10623
10624 2012-05-05 Joseph Myers <joseph@codesourcery.com>
10625
10626 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10627 Disable one test.
10628
10629 [BZ #13787]
10630 [BZ #13922]
10631 [BZ #14036]
10632 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10633 (__ieee754_expl): Allow for and saturate large arguments.
10634 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10635 (u_threshold): Likewise.
10636 (__exp): Call __ieee754_exp before checking for overflow and
10637 underflow.
10638 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10639 (u_threshold): Likewise.
10640 (__expf): Call __ieee754_expf before checking for overflow and
10641 underflow.
10642 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10643 (u_threshold): Likewise.
10644 (__expl): Call __ieee754_expl before checking for overflow and
10645 underflow.
10646 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10647 (__ieee754_expl): Allow for and saturate large arguments.
10648 * math/libm-test.inc (exp_test): Add another test. Do not allow
10649 missing overflow exception on overflow.
10650 (expm1_test): Do not allow missing overflow exception on overflow.
10651
10652 * sysdeps/i386/fpu/e_expl.c: Move to ...
10653 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10654 rather than using inline asm.
10655 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10656 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10657 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10658
10659 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10660 (nice): Likewise.
10661 (poll): Likewise.
10662 (signal): Likewise.
10663 (time): Likewise.
10664 (times): Likewise.
10665
10666 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10667
10668 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10669 sysdeps/unix/common/syscalls.list.
10670 (fchmod): Likewise.
10671 (fchown): Likewise.
10672 (ftruncate): Likewise.
10673 (getrusage): Likewise.
10674 (gettimeofday): Likewise.
10675 (setpgid): Likewise.
10676 (setregid): Likewise.
10677 (setreuid): Likewise.
10678 (sigaction): Likewise.
10679 (truncate): Likewise.
10680 (vhangup): Likewise.
10681 * sysdeps/unix/common/syscalls.list: Remove file.
10682 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10683 * sysdeps/unix/sysv/linux/Implies: Likewise.
10684
10685 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10686
10687 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10689 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10690 Moved to ...
10691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10692 Here.
10693 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10694 to ...
10695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10696 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10697 to ...
10698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10699 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10700 to ...
10701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10702 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10703 to ...
10704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10705 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10706 to ...
10707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10708 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10709 to ...
10710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10711 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10712 to ...
10713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10714 Here.
10715 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10716 to ...
10717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10718 Here.
10719 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10720 to ...
10721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10722 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10723 Moved to ...
10724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10725 Here.
10726 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10727 to ...
10728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10729
10730 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10731
10732 * sysdeps/unix/common/bits/dirent.h: Remove file.
10733 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10734
10735 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10736 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10737 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10738 * sysdeps/unix/bsd/isatty.c: Likewise.
10739 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10740 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10741 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10742
10743 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10744
10745 [BZ #13563]
10746 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10747 long double comparison inaccuracies.
10748 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10750
10751 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10752
10753 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10754 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10755
10756 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10757
10758 [BZ #14049]
10759 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10760 nonzero digits before rounding a hex value.
10761 * stdlib/tst-strtod.c (tests): Add another test.
10762
10763 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10764
10765 * sysdeps/s390/fpu/libm-test-ulps: Update.
10766
10767 2012-05-03 Andreas Jaeger <aj@suse.de>
10768
10769 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10770 does not get optimized out.
10771 (malloc_opt_barrier): New.
10772
10773 2012-05-03 Andreas Jaeger <aj@suse.de>
10774 Roland McGrath <roland@hack.frob.com>
10775
10776 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10777 intermediate file deletion.
10778 (generated): Add .symlist files.
10779
10780 2012-05-03 Joseph Myers <joseph@codesourcery.com>
10781
10782 [BZ #13775]
10783 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10784 Redirect under this condition.
10785 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10786 [__USE_GNU] (__dprintf_chk): Not under this condition.
10787 [__USE_GNU] (__vdprintf_chk): Likewise.
10788 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10789 under this condition.
10790 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10791 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10792 [__USE_XOPEN2K8] (vdprintf): Likewise.
10793 [__USE_GNU] (__dprintf_chk): Not under this condition.
10794 [__USE_GNU] (__vdprintf_chk): Likewise.
10795 [__USE_GNU] (dprintf): Likewise.
10796 [__USE_GNU] (vdprintf): Likewise.
10797
10798 2012-05-03 Roland McGrath <roland@hack.frob.com>
10799
10800 * elf/Makefile (common-generated): Set this instead of generated for
10801 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10802 $(all-built-dso)-derived lists.
10803
10804 2012-05-03 Andreas Jaeger <aj@suse.de>
10805
10806 * sysdeps/i386/fpu/libm-test-ulps: Update.
10807
10808 * FAQ: Removed.
10809 * FAQ.in: Likewise.
10810 * scripts/gen-FAQ.pl: Likewise.
10811 * manual/install.texi (Installation): Point to online location of
10812 FAQ.
10813 * Makefile (files-for-dist): Remove FAQ.
10814 (FAQ): Remove.
10815
10816 2012-05-02 Allan McRae <allan@archlinux.org>
10817
10818 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10819 (LDFLAGS-reldepmod5.so): Likewise.
10820 (LDFLAGS-reldep6mod1.so): Likewise.
10821 (LDFLAGS-reldep6mod4.so): Likewise.
10822 (LDFLAGS-reldep8mod3.so): Likewise.
10823 (LDFLAGS-unload4mod1.so): Likewise.
10824 (LDFLAGS-unload4mod2.so): Likewise.
10825 (LDFLAGS-tst-initorder): Likewise.
10826 (LDFLAGS-tst-initordera2.so): Likewise.
10827 (LDFLAGS-tst-initordera3.so): Likewise.
10828 (LDFLAGS-tst-initordera4.so): Likewise.
10829 (LDFLAGS-tst-initorderb2.so): Likewise.
10830 (LDFLAGS-noload): Likewise.
10831 (LDFLAGS-next): Likewise.
10832 (LDFLAGS-order2mod1.so): Likewise.
10833 (LDFLAGS-order2mod2.so): Likewise.
10834 (LDFLAGS-tst-initorder2): Likewise.
10835 (LDFLAGS-tst-initorder2a.so): Likewise.
10836 (LDFLAGS-tst-initorder2b.so): Likewise.
10837 (LDFLAGS-tst-initorder2c.so): Likewise.
10838 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10839
10840 2012-05-02 David S. Miller <davem@davemloft.net>
10841
10842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10843
10844 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10845
10846 [BZ #14055]
10847 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10848
10849 2012-05-02 Andreas Jaeger <aj@suse.de>
10850
10851 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10852 since we manipulate rounding mode.
10853 (CPPFLAGS-test-idouble.c): Likewise.
10854 (CPPFLAGS-test-ifloat.c): Likewise.
10855 (CFLAGS-test-ldouble.c): Likewise.
10856 (CFLAGS-test-double.c): Likewise.
10857 (CFLAGS-test-float.c): Likewise.
10858 (CFLAGS-test-misc.c): Likewise.
10859 (CFLAGS-test-test-fenv.c): Likewise.
10860
10861 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10862
10863 [BZ #2550]
10864 [BZ #2570]
10865 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10866 comparisons to determine direction to adjust input.
10867
10868 2012-05-01 Roland McGrath <roland@hack.frob.com>
10869
10870 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10871 output to the target.
10872
10873 * scripts/localplt.awk: New file.
10874 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10875 (check-localplt-CFLAGS): Variable removed.
10876 ($(all-built-dso:=.jmprel)): New static pattern rule.
10877 (generated): Add those targets.
10878 (localplt-built-dso): New variable.
10879 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10880
10881 * elf/check-localplt.c: File removed.
10882
10883 * scripts/check-execstack.awk: New file.
10884 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10885 (check-execstack-CFLAGS): Variable removed.
10886 ($(objpfx)check-execstack.h): Target removed.
10887 ($(objpfx)execstack-default): New target.
10888 (generated): Add that instead of check-execstack.h.
10889 ($(all-built-dso:=.phdr)): New static pattern rule.
10890 (generated): Add those targets.
10891 * elf/check-execstack.c: File removed.
10892
10893 * scripts/check-textrel.awk: New file.
10894 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10895 (check-textrel-CFLAGS): Variable removed.
10896 (all-built-dso): Use := to define.o
10897 ($(all-built-dso:=.dyn)): New static pattern rule.
10898 (generated): Add those targets.
10899 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10900 * config.make.in (READELF): New substituted variable.
10901 * elf/check-textrel.c: File removed.
10902
10903 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10904
10905 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10906 allow.
10907 * conform/data/ctype.h-data [C99-based standards] (isblank):
10908 Expect function.
10909 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10910 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10911 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10912 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10913 Specify type. Require positive value.
10914 (EILSEQ): Likewise.
10915 (ERANGE): Likewise.
10916 [ISO || POSIX] (EILSEQ): Do not expect.
10917 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10918 Specify type. Require positive value.
10919 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10920 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10921 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10922 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10923 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10924 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10925 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10926 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10927 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10928 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10929 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10930 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10931 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10932 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10933 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10934 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10935 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10936 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10937 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10938 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10939 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10940 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10941 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10942 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10943 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10944 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10945 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10946 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10947 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10948 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10949 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10950 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10951 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10952 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10953 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10954 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10955 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10956 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10957 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10958 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10959 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10960 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10961 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10962 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10963 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10964 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10965 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10966 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10967 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10968 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10969 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10970 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10971 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10972 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10973 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10974 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10975 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10976 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10977 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10978 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10979 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10980 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10981 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10982 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10983 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10984 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10985 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10986 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10987 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10988 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10989 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10990 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10991 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10992 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10993 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10994 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10995 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10996 Require >= 2.
10997 (FLT_ROUNDS): Expect as macro, not constant.
10998 (FLT_MANT_DIG): Use macro-int-constant.
10999 (DBL_MANT_DIG): Likewise.
11000 (LDBL_MANT_DIG): Likewise.
11001 (FLT_DIG): Likewise.
11002 (DBL_DIG): Likewise.
11003 (LDBL_DIG): Likewise.
11004 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11005 (DBL_MIN_EXP): Likewise.
11006 (LDBL_MIN_EXP): Likewise.
11007 (FLT_MAX_EXP): Use macro-int-constant.
11008 (DBL_MAX_EXP): Likewise.
11009 (LDBL_MAX_EXP): Likewise.
11010 (FLT_MAX_10_EXP): Likewise.
11011 (DBL_MAX_10_EXP): Likewise.
11012 (LDBL_MAX_10_EXP): Likewise.
11013 (FLT_MAX): Use macro-constant.
11014 (DBL_MAX): Likewise.
11015 (LDBL_MAX): Likewise.
11016 (FLT_EPSILON): Use macro-constant. Give upper bound.
11017 (DBL_EPSILON): Likewise.
11018 (LDBL_EPSILON): Likewise.
11019 (FLT_MIN): Likewise.
11020 (DBL_MIN): Likewise.
11021 (LDBL_MIN): Likewise.
11022 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11023 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11024 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11025 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11026 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11027 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11028 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11029 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11030 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11031 [ISO11] (FLT_TRUE_MIN): Likewise.
11032 [ISO11] (LDBL_TRUE_MIN): Likewise.
11033 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11034 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11035 (SCHAR_MIN): Use macro-int-constant. Specify type.
11036 (SCHAR_MAX): Likewise.
11037 (UCHAR_MAX): Likewise.
11038 (CHAR_MIN): Likewise.
11039 (CHAR_MAX): Likewise.
11040 (MB_LEN_MAX): Use macro-int-constant.
11041 (SHRT_MIN): Use macro-int-constant. Specify type.
11042 (SHRT_MAX): Likewise.
11043 (USHRT_MAX): Likewise.
11044 (INT_MAX): Likewise.
11045 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11046 bound negative.
11047 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11048 bound with "U".
11049 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11050 bound with "L".
11051 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11052 bound negative. Suffix upper bound with "L".
11053 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11054 bound with "UL".
11055 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11056 Specify type.
11057 [C99-based standards] (LLONG_MAX): Likewise.
11058 [C99-based standards] (ULLONG_MAX): Likewise.
11059 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11060 == 0.
11061 [ISO11] (max_align_t): Require type.
11062 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11063
11064 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11065 from $CFLAGS, without defining away __attribute__ calls.
11066 (checknamespace): Use $CFLAGS_namespace.
11067
11068 * conform/conformtest.pl (@keywords): Only include C99 keywords
11069 for standards based on C99 or C11.
11070
11071 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11072 Disable tests.
11073 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11074 UNIX98]: Likewise.
11075
11076 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11077 usability of symbols in #if.
11078
11079 * conform/conformtest.pl: If macro or constant types start
11080 "promoted:", expect the symbol to be of the following type
11081 promoted by the integer promotions.
11082
11083 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11084 in one place. Also handle "macro-constant".
11085
11086 * conform/conformtest.pl: Only accept expected macro values with
11087 "==". Parse all "macro" lines in one place.
11088 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11089
11090 * conform/conformtest.pl: Handle braced types on "constant" lines
11091 instead of handling "typed-constant".
11092 * conform/data/signal.h-data: Use "constant" instead of
11093 "typed-constant".
11094
11095 * conform/conformtest.pl: Handle "optional-" at start of lines in
11096 one place rather than duplicating several cases. Handle each
11097 format of "macro" line with initial "optional-".
11098
11099 * conform/conformtest.pl: Only accept expected constant or
11100 optional-constant values with "==". Parse all "constant" lines in
11101 one place. Parse all "optional-constant" lines in one place.
11102 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11103 * conform/data/fmtmsg.h-data: Likewise.
11104 * conform/data/netinet/in.h-data: Likewise.
11105 * conform/data/tar.h-data: Likewise.
11106 * conform/data/limits.h-data: Use "==" form on "constant" and
11107 "optional-constant" lines.
11108
11109 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11110 Use -std=c99 for XOPEN2K.
11111 (@knownproblems): Remove.
11112 (newtoken): Don't check %isknown.
11113
11114 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11115 Do not expect macro.
11116 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11117 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11118 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11119 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11120 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11121 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11122 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11123 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11124 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11125 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11126 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11127 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11128 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11129 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11130 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11131 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11132 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11133 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11134 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11135 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11136 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11137 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11138 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11139 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11140 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11141 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11142 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11143 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11144 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11145 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11146 [XPG3] (acosh): Likewise.
11147 [XPG3] (asinh): Likewise.
11148 [XPG3] (atanh): Likewise.
11149 [XPG3] (cbrt): Likewise.
11150 [XPG3] (expm1): Likewise.
11151 [XPG3] (ilogb): Likewise.
11152 [XPG3] (log1p): Likewise.
11153 [XPG3] (logb): Likewise.
11154 [XPG3] (nextafter): Likewise.
11155 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11156 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11157 [XPG3] (remainder): Likewise.
11158 [XPG3] (rint): Likewise.
11159 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11160 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11161 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11162 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11163 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11164 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11165 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11166 [UNIX98 || XOPEN2K] (scalb): Expect.
11167 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11168 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11169 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11170 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11171 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11172 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11173 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11174 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11175 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11176 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11177 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11178 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11179 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11180 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11181 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11182 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11183 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11184 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11185 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11186 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11187 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11188 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11189 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11190 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11191 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11192 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11193 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11194 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11195 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11196 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11197 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11198 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11199 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11200 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11201 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11202 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11203 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11204 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11205 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11206 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11207 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11208 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11209 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11210 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11211 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11212 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11213 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11214 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11215 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11216 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11217 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11218 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11219 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11220 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11221 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11222 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11223 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11224 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11225 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11226 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11227 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11228 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11229 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11230 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11231 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11232 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11233 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11234 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11235 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11236 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11237 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11238 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11239 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11240 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11241 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11242 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11243 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11244 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11245 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11246 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11247 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11248 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11249 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11250 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11251 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11252 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11253 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11254 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11255 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11256 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11257 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11258 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11259 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11260 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11261 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11262 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11263 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11264 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11265 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11266 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11267 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11268 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11269 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11270 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11271 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11272 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11273 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11274 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11275 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11276 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11277 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11278 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11279 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11280 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11281 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11282 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11283 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11284 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11285 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11286 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11287 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11288 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11289 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11290 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11291 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11292 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11293 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11294 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11295 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11296 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11297 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11298 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11299 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11300 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11301 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11302 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11303 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11304
11305 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11306 _XOPEN_SOURCE_EXTENDED for XPG4.
11307
11308 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11309
11310 * Makeconfig (localtime): Remove variable.
11311 (inst_localtime-file): Likewise.
11312
11313 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11314
11315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11316 Update.
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11318 Update.
11319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11320 Update.
11321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11322 Update.
11323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11324 Update.
11325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11326 Update.
11327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11328 Update.
11329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11330 Update.
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11332 Update.
11333
11334 2012-05-01 Joseph Myers <joseph@codesourcery.com>
11335
11336 [BZ #2550]
11337 [BZ #2570]
11338 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11339 comparisons to determine direction to adjust input.
11340 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11341 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11342 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11343 Likewise.
11344 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11345 Likewise.
11346 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11347 Likewise.
11348 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11349 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11350 Likewise.
11351 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11352 Likewise.
11353 * math/libm-test.inc (nexttoward_test): Add more tests.
11354
11355 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11356
11357 [BZ #14040]
11358 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11359 in version GLIBC_2.1, not GLIBC_2.0.
11360 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11361 Likewise.
11362
11363 2012-04-30 Joseph Myers <joseph@codesourcery.com>
11364
11365 [BZ #13942]
11366 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11367 (1 - x) * (1 + x).
11368 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11369 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11370 * math/libm-test.inc (acos_test): Add more tests.
11371 (asin_test): Likewise.
11372 * sysdeps/i386/fpu/libm-test-ulps: Update.
11373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11374
11375 [BZ #14034]
11376 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11377 of square root.
11378 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11379 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11380 * math/libm-test.inc (acos_test_tonearest): New function.
11381 (acos_test_towardzero): Likewise.
11382 (acos_test_downward): Likewise.
11383 (acos_test_upward): Likewise.
11384 (asin_test_tonearest): Likewise.
11385 (asin_test_towardzero): Likewise.
11386 (asin_test_downward): Likewise.
11387 (asin_test_upward): Likewise.
11388 (main): Call the new functions.
11389 * sysdeps/i386/fpu/libm-test-ulps: Update.
11390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11391
11392 [BZ #13884]
11393 [BZ #13924]
11394 * math/e_exp10.c: Include <float.h>.
11395 (__ieee754_exp10): Handle underflow here rather than multiplying
11396 large negative argument by M_LN10.
11397 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11398 of __ieee754_expf.
11399 * math/e_exp10l.c: Include <float.h>.
11400 (__ieee754_exp10l): Handle underflow here rather than multiplying
11401 large negative argument by M_LN10l.
11402 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11403 spurious overflow exception on underflow.
11404
11405 2012-04-29 Marek Polacek <polacek@redhat.com>
11406
11407 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11408 (__fortify_function): New macro.
11409 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11410 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11411 __extern_always_inline.
11412 * libio/bits/stdio2.h: Likewise.
11413 * libio/bits/stdio.h: Likewise.
11414 * string/string.h: Likewise.
11415 * string/bits/string3.h: Likewise.
11416 * include/stdio.h: Likewise.
11417 * stdlib/bits/stdlib.h: Likewise.
11418 * stdlib/stdlib.h: Likewise.
11419 * rt/bits/mqueue2.h: Likewise.
11420 * rt/mqueue.h: Likewise.
11421 * posix/bits/unistd.h: Likewise.
11422 * posix/unistd.h: Likewise.
11423 * io/bits/poll2.h: Likewise.
11424 * io/bits/fcntl2.h: Likewise.
11425 * io/fcntl.h: Likewise.
11426 * io/sys/poll.h: Likewise.
11427 * misc/bits/syslog.h: Likewise.
11428 * misc/bits/syslog-ldbl.h: Likewise.
11429 * misc/sys/syslog.h: Likewise.
11430 * socket/bits/socket2.h: Likewise.
11431 * socket/sys/socket.h: Likewise.
11432 * debug/tst-chk1.c: Likewise.
11433 * wcsmbs/bits/wchar2.h: Likewise.
11434 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11435 * wcsmbs/wchar.h: Likewise.
11436
11437 2012-04-29 Andreas Jaeger <aj@suse.de>
11438
11439 * Makerules (tests): Remove enable-check-abi protection.
11440 (check-abi-warn): Remove.
11441 (check-abi-%): Remove check-abi-warn usage.
11442
11443 * configure.in: Remove check-abi configure option.
11444 * configure: Regenerated.
11445 * config.make.in (enable-check-abi): Remove.
11446
11447 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11448
11449 [BZ #14033]
11450 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11451 double functions to double *_finite functions.
11452
11453 [BZ #13941]
11454 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11455 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11456 LDBL_MIN_EXP.
11457 * stdio-common/Makefile (tests): Add tst-sprintf3.
11458 * stdio-common/tst-sprintf3.c: New file.
11459
11460 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11461 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11462
11463 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11464
11465 * conform/conformtest.pl: Remove duplicate typed-constant
11466 handling.
11467
11468 2012-04-28 David S. Miller <davem@davemloft.net>
11469
11470 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11471 (check-abi-%): Remove AWK script prerequisite and explicit
11472 abilist directory.
11473 (check-abi): Rewrite to just diff the symlist with the abilist.
11474 (config-tls, config-abi-config): Delete, no longer used.
11475 (update-abi-%): Remove AWK script and explicit abilist directory.
11476 (update-abi): Rewrite to simply compare and conditionally copy the
11477 symlist and the sysdep abilist file. Remove update-abi-config
11478 checks.
11479 * abilist/ld.abilist: Remove.
11480 * abilist/libBrokenLocale.abilist: Remove.
11481 * abilist/libanl.abilist: Remove.
11482 * abilist/libcrypt.abilist: Remove.
11483 * abilist/libdl.abilist: Remove.
11484 * abilist/librt.abilist: Remove.
11485 * abilist/libthread_db.abilist: Remove.
11486 * abilist/libutil.abilist: Remove.
11487 * scripts/extract-abilist.awk: Remove.
11488 * scripts/merge-abilist.awk: Remove.
11489 * sysdeps/generic/libcidn.abilist: New file.
11490 * sysdeps/generic/libnss_compat.abilist: New file.
11491 * sysdeps/generic/libnss_db.abilist: New file.
11492 * sysdeps/generic/libnss_dns.abilist: New file.
11493 * sysdeps/generic/libnss_files.abilist: New file.
11494 * sysdeps/generic/libnss_hesiod.abilist: New file.
11495 * sysdeps/generic/libnss_nis.abilist: New file.
11496 * sysdeps/generic/libnss_nisplus.abilist: New file.
11497 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11498 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11499 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11500 file.
11501 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11502 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11503 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11504 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11505 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11506 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11507 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11508 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11509 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11510 file.
11511 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11512 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11513 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11514 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11515 file.
11516 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11517 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11518 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11519 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11520 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11521 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11522 file.
11523 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11524 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11525 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11526 file.
11527 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11528 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11529 New file.
11530 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11531 New file.
11532 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11533 New file.
11534 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11535 New file.
11536 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11537 New file.
11538 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11539 New file.
11540 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11541 New file.
11542 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11543 New file.
11544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11545 New file.
11546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11547 New file.
11548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11549 New file.
11550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11551 New file.
11552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11553 New file.
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11555 file.
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11557 New file.
11558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11559 New file.
11560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11561 file.
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11563 New file.
11564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11565 New file.
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11567 file.
11568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11569 New file.
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11571 New file.
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11573 New file.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11575 New file.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11577 New file.
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11579 New file.
11580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11582 file.
11583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11584 New file.
11585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11586 file.
11587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11588 file.
11589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11590 file.
11591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11592 file.
11593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11594 file.
11595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11596 New file.
11597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11598 file.
11599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11600 file.
11601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11602 New file.
11603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11604 file.
11605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11607 file.
11608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11609 New file.
11610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11611 file.
11612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11613 file.
11614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11615 file.
11616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11617 file.
11618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11619 file.
11620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11621 New file.
11622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11623 file.
11624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11625 file.
11626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11627 New file.
11628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11629 file.
11630 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11631 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11632 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11633 file.
11634 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11635 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11636 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11637 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11638 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11639 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11640 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11641 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11642 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11643 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11646 file.
11647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11648 New file.
11649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11650 file.
11651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11652 file.
11653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11654 file.
11655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11656 file.
11657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11658 file.
11659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11660 New file.
11661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11662 New file.
11663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11664 file.
11665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11666 New file.
11667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11668 file.
11669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11671 file.
11672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11673 New file.
11674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11675 file.
11676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11677 file.
11678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11679 file.
11680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11681 file.
11682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11683 file.
11684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11685 New file.
11686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11687 New file.
11688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11689 file.
11690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11691 New file.
11692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11693 file.
11694
11695 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11696
11697 * conform/conformtest.pl: Fix typo in handling typed-constant from
11698 allow-header.
11699
11700 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11701
11702 * README: Cut down references to pre-2.6 Linux kernels and
11703 Linuxthreads. Update lists of configurations in libc and ports
11704 and sort alphabetically. Say "or newer" with Linux kernel version
11705 requirements.
11706
11707 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11708
11709 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11710
11711 [BZ #887]
11712 * math/libm-test.inc (logb_test_downward): New test to expose
11713 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11714 rounding mode.
11715
11716 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11717
11718 [BZ #14027]
11719 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11720 to be done.
11721 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11722 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11723
11724 2012-04-26 Joseph Myers <joseph@codesourcery.com>
11725
11726 * sysdeps/unix/i386/brk.S: Remove file.
11727 * sysdeps/unix/i386/dl-brk.S: Likewise.
11728 * sysdeps/unix/i386/pipe.S: Likewise.
11729 * sysdeps/unix/i386/sigreturn.S: Likewise.
11730 * sysdeps/unix/i386/syscall.S: Likewise.
11731 * sysdeps/unix/i386/vfork.S: Likewise.
11732 * sysdeps/unix/i386/wait.S: Likewise.
11733
11734 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11735 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11736
11737 * configure.in (arm*-none*): Do not allow without
11738 --enable-hacker-mode.
11739 (netbsd*): Remove case setting base_os.
11740 (386bsd*): Likewise.
11741 (freebsd*): Likewise.
11742 (bsdi*): Likewise.
11743 (osf*): Likewise.
11744 (sunos*): Likewise.
11745 (ultrix*): Likewise.
11746 (newsos*): Likewise.
11747 (dynix*): Likewise.
11748 (*bsd*): Likewise.
11749 (sysv*): Likewise.
11750 (isc*): Likewise.
11751 (esix*): Likewise.
11752 (sco*): Likewise.
11753 (minix*): Likewise.
11754 (irix4*): Likewise.
11755 (irix6*): Likewise.
11756 (solaris[2-9]*): Likewise.
11757 (none): Likewise.
11758 * configure: Regenerated.
11759
11760 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11761
11762 [BZ #11521]
11763 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11764 overflow or cancellation in calculating denominator.
11765 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11767 down expression to avoid unexpected rounding in newer GCCs.
11768 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11769
11770 2012-04-26 David S. Miller <davem@davemloft.net>
11771
11772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11773 long-double compat symbols.
11774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11787
11788 2012-04-25 David S. Miller <davem@davemloft.net>
11789
11790 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11791 HWCAP_* values only after the memory barriers have been defined.
11792 (atomic_full_barrier): Define.
11793 (atomic_read_barrier): Define.
11794 (atomic_write_barrier): Define.
11795
11796 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11797
11798 * shlib-versions: Add libgcc_s version information.
11799 * sysdeps/generic/libgcc_s.h: Remove.
11800 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11801 libgcc_s.h.
11802 * sysdeps/gnu/unwind-resume.c: Likewise.
11803 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11804
11805 2012-04-25 David S. Miller <davem@davemloft.net>
11806
11807 * sysdeps/unix/sparc/brk.S: Delete.
11808 * sysdeps/unix/sparc/dl-brk.S: Delete.
11809 * sysdeps/unix/sparc/pipe.S: Delete.
11810 * sysdeps/unix/sparc/sysdep.S: Delete.
11811 * sysdeps/unix/sparc/sysdep.h: Delete.
11812 * sysdeps/unix/sparc/vfork.S: Delete.
11813 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11814 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11815 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11816 ret_ERRVAL, r0, r1, MOVE): Define.
11817 (JUMPTARGET): Remove.
11818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11819 sysdeps/unix/sparc/sysdep.h
11820 (ENTRY, END): Remove.
11821 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11822
11823 2012-04-25 Joseph Myers <joseph@codesourcery.com>
11824
11825 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11826 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11827 -DIS_IN_build.
11828
11829 * timezone/README: Update upstream location and email address for
11830 tzcode and tzdata.
11831 * timezone/zdump.c: Update from tzcode 2012b.
11832 * timezone/zic.c: Likewise.
11833
11834 * configure.in (libc_cv_as_needed): Remove test.
11835 * configure: Regenerated.
11836 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11837 conditional definition.
11838 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11839 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11840 * config.make.in (have-as-needed): Remove variable.
11841
11842 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11843 Paul Pluzhnikov <ppluzhnikov@google.com>
11844
11845 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11846 strings correctly.
11847
11848 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11849
11850 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11851 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11852 * sysdeps/sh/strlen.S: Likewise.
11853
11854 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11855
11856 * sysdeps/unix/fork.S: Remove file.
11857 * sysdeps/unix/i386/fork.S: Likewise.
11858 * sysdeps/unix/sparc/fork.S: Likewise.
11859
11860 * sysdeps/unix/system.c: Remove file.
11861 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11862
11863 * sysdeps/unix/getegid.S: Remove file.
11864 * sysdeps/unix/geteuid.S: Likewise.
11865
11866 2012-04-24 Roland McGrath <roland@hack.frob.com>
11867
11868 * scripts/check-localplt.awk: New file.
11869 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11870 of diff.
11871 * scripts/data/localplt-generic.data: Add a comment.
11872
11873 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11874 NODE when __dir_mkfile failed.
11875 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11876 Reported by Ludovic Courtès <ludo@gnu.org>.
11877
11878 2012-04-24 Andreas Jaeger <aj@suse.de>
11879
11880 * Makerules (common-clean): Also remove gen-as-const-headers
11881 files.
11882
11883 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11884
11885 * Makerules (native-compile): Do not change working directory for
11886 build. Use $(OUTPUT_OPTION) in command.
11887 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11888
11889 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11890
11891 [BZ #13886]
11892 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11893 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11894 * math/libm-test.inc (floor_test): Add more tests.
11895 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11896
11897 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11898
11899 * sysdeps/unix/getdents.c: Remove file.
11900 * sysdeps/unix/sysv/getdents.c: Likewise.
11901 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11902
11903 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11904 sysdeps/unix/mman/syscalls.list.
11905 (mmap): Likewise.
11906 (mprotect): Likewise.
11907 (msync): Likewise.
11908 (munmap): Likewise.
11909 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11910 * sysdeps/unix/mman/syscalls.list: Remove.
11911 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11912
11913 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11914 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11915 * configure: Regenerated.
11916 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11917 $(libgcc_s_suffix).
11918 * config.make.in (libgcc_s_suffix): Remove variable.
11919
11920 2012-04-23 Joseph Myers <joseph@codesourcery.com>
11921
11922 * sysdeps/unix/sysv/gethostname.c: Move to ...
11923 * sysdeps/posix/gethostname.c: ... here.
11924
11925 * sysdeps/unix/execve.S: Remove file.
11926
11927 * sysdeps/unix/_exit.S: Remove file.
11928
11929 2012-04-23 Andreas Jaeger <aj@suse.de>
11930
11931 [BZ #13739]
11932 * manual/Makefile: Remove make dist support, there's no
11933 need for a stand-alone documentation tar ball.
11934 (TEXI2DVI): Define always, it's not in Makeconfig.
11935 (dist): Removed.
11936 (tar-it): Removed.
11937 (edition): Removed.
11938 (glibc-doc-$(edition).tar): Removed
11939 (%.Z): Removed.
11940 (%.gz): Removed.
11941 (%.uu): Removed.
11942 (ETAGS): Remove, it's in Makeconfig.
11943 (move-if-change): Remove, it's in Makeconfig.
11944
11945 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
11946
11947 [BZ #13970]
11948 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11949 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11950 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11951 (strtod_l, strtof_l, strtold_l): Remove __wur.
11952 It is not necessarily an error to ignore strtol's return value.
11953 One can reliably look at the stored endptr to decide whether
11954 the number had valid syntax.
11955
11956 2012-04-21 Andreas Jaeger <aj@suse.de>
11957
11958 [BZ #13739]
11959 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11960
11961 2012-04-21 Joseph Myers <joseph@codesourcery.com>
11962
11963 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11964 * sysdeps/unix/sysv/Versions: Remove file.
11965
11966 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11967
11968 [BZ #13927]
11969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11970
11971 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
11972
11973 [BZ #7064]
11974 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11975 version from __vm86.
11976
11977 2012-04-20 Joseph Myers <joseph@codesourcery.com>
11978
11979 * sysdeps/unix/common/lxstat.c: Remove file.
11980 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11981
11982 * sysdeps/unix/sysv/Makefile: Remove file.
11983
11984 * sysdeps/unix/sysv/direct.h: Remove file.
11985
11986 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11987 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11988 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11989 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11990 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11991 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11992 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11993
11994 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11995
11996 * sysdeps/unix/xmknod.c: Remove file.
11997 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11998
11999 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12000
12001 * sysdeps/unix/sysv/i386/time.S: Remove file.
12002
12003 * sysdeps/unix/fxstat.c: Remove file.
12004 * sysdeps/unix/xstat.c: Likewise.
12005 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12006
12007 * sysdeps/unix/sysv/sigaction.c: Remove file.
12008
12009 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12010 (sysdep_headers): Remove variable.
12011 [termio.h not in sysdep_headers] (generated): Likewise.
12012 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12013 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12014 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12015 * sysdeps/unix/sysv/tcflow.c: Likewise.
12016 * sysdeps/unix/sysv/tcflush.c: Likewise.
12017 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12018 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12019 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12020 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12021 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12022
12023 * sysdeps/unix/siglist.c: Remove file.
12024
12025 * sysdeps/unix/getppid.S: Remove file.
12026
12027 * sysdeps/unix/mkdir.c: Remove file.
12028 * sysdeps/unix/rmdir.c: Likewise.
12029
12030 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12031
12032 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12033 ERR_MAX value.
12034 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12035 errlist-compat value.
12036
12037 2012-04-18 David S. Miller <davem@davemloft.net>
12038
12039 * sysdeps/generic/memcopy.h (reg_char): Delete.
12040 * debug/strcat_chk.c: Use char, not reg_char.
12041 * debug/strcpy_chk.c: Likewise.
12042 * debug/strncat_chk.c: Likewise.
12043 * debug/strncpy_chk.c: Likewise.
12044 * string/memchr.c: Likewise.
12045 * string/memrchr.c: Likewise.
12046 * string/rawmemchr.c: Likewise.
12047 * string/strcat.c: Likewise.
12048 * string/strchr.c: Likewise.
12049 * string/strchrnul.c: Likewise.
12050 * string/strcmp.c: Likewise.
12051 * string/strcpy.c: Likewise.
12052 * string/strncat.c: Likewise.
12053 * string/strncmp.c: Likewise.
12054 * string/strncpy.c: Likewise.
12055
12056 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12057
12058 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12059 __builtin_memcopy is called when src and dest ranges are known to not
12060 overlap.
12061
12062 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12063
12064 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12065 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12066 fwd_align_merge macro call.
12067 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12068 bwd_align_merge macro call.
12069 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12070
12071 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12072
12073 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12074 bwd_align_merge macros.
12075 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12076 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12077 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12078
12079 2012-04-18 David S. Miller <davem@davemloft.net>
12080
12081 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12082
12083 2012-04-18 Andreas Jaeger <aj@suse.de>
12084
12085 [BZ# 6794]
12086 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12087 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12088 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12089
12090 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12091 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12092 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12093
12094 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12095 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12096 Adjust for changed ldbl-128 files.
12097
12098 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12099 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12100 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12101
12102 2012-04-17 David S. Miller <davem@davemloft.net>
12103
12104 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12105
12106 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12107
12108 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12109 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12110 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12111 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12112 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12113 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12114
12115 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12116
12117 [BZ #6794]
12118 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12119 * math/libm-test.inc: Add ilogb errno and exception tests.
12120 * math/w_ilogb.c: New file: ilogb wrapper.
12121 * math/w_ilogbf.c: New file: ilogbf wrapper.
12122 * math/w_ilogbl.c: New file: ilogbl wrapper.
12123 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12124 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12125 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12126 exception being thrown with 0.0 as argument.
12127 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12128 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12129 exception being thrown with 0.0 as argument.
12130 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12131 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12132 exception being thrown with 0.0 as argument.
12133 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12134 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12135 exception being thrown with 0.0 as argument.
12136 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12137 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12138 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12139 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12140 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12141 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12142 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12143 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12144 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12145
12146 2012-04-17 Petr Baudis <pasky@ucw.cz>
12147
12148 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12149 with altivec.
12150
12151 2012-04-16 Marek Polacek <polacek@redhat.com>
12152
12153 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12154
12155 2012-04-16 Marek Polacek <polacek@redhat.com>
12156
12157 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12158 operands of fdivp instruction.
12159
12160 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12161
12162 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12163 * elf/tst-auditmod3b.c: Likewise.
12164 * elf/tst-auditmod4b.c: Likewise.
12165 * elf/tst-auditmod5b.c: Likewise.
12166 * elf/tst-auditmod6b.c: Likewise.
12167 * elf/tst-auditmod6c.c: Likewise.
12168 * elf/tst-auditmod7b.c: Likewise.
12169 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12170 * sysdeps/x86_64/preconfigure.in: Likewise.
12171 * sysdeps/x86_64/preconfigure: Regenerated.
12172
12173 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12174
12175 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12176 __ILP32__.
12177
12178 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
12179
12180 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12181 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12182
12183 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12184
12185 [BZ #13973]
12186 * locale/iso-639.def: Fix gl language name. Spotted by
12187 Yaron Shahrabani.
12188
12189 2012-04-12 Roland McGrath <roland@hack.frob.com>
12190
12191 [BZ #2074]
12192 * libio/libio.h (__io_write_fn): Update comment.
12193
12194 2012-04-12 Petr Baudis <pasky@ucw.cz>
12195
12196 [BZ #2074]
12197 * stdio.texi (Hook Functions): The user provided writer function
12198 is not allowed to return -1.
12199
12200 2012-04-11 David S. Miller <davem@davemloft.net>
12201
12202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12203
12204 2012-04-11 Mike Frysinger <vapier@gentoo.org>
12205
12206 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12207 Add a leading slash to rtkaio.
12208
12209 2012-04-11 Jim Meyering <meyering@redhat.com>
12210
12211 [BZ #11959]
12212 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12213 It is not necessarily an error to ignore fwrite's return
12214 value. One can reliably use ferror to test for errors after
12215 the fact.
12216
12217 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12218
12219 * bits/types.h (__snseconds_t): New type.
12220 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12221
12222 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12223 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12224 (__SNSECONDS_T_TYPE): Likewise.
12225 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12226 (__SNSECONDS_T_TYPE): Likewise.
12227 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12228 (__SNSECONDS_T_TYPE): Likewise.
12229
12230 2012-04-10 Andreas Jaeger <aj@suse.de>
12231
12232 [BZ #2636]
12233 * manual/time.texi (Processor Time): Return type of times is
12234 elapsed real time since an arbitrary point in the past.
12235 (CPU Time): Move CLK_TCK from here...
12236 (Processor Time): ...to here. Correct description.
12237 * manual/conf.texi (Constants for Sysconf): Correct description of
12238 _SC_CLK_TCK.
12239
12240 2012-04-10 David S. Miller <davem@davemloft.net>
12241
12242 [BZ #13967]
12243 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12244 where the is a gap between DT_REL(A) and DT_JMPREL.
12245
12246 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12247
12248 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12249 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12250 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12251
12252 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12253
12254 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12255 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12256 (dl_main): Handle --inhibit-cache.
12257 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12258 _dl_inhibit_cache.
12259 * elf/dl-load.c (_dl_map_object): Use it.
12260 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12261
12262 2012-04-09 Joseph Myers <joseph@codesourcery.com>
12263
12264 [BZ #13872]
12265 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12266 (__ieee754_powl): Saturate large exponents rather than testing for
12267 overflow of y*log2(x).
12268 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12269 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12270 exceptions.
12271
12272 [BZ #11521]
12273 * math/s_ctan.c: Include <float.h>.
12274 (__ctan): Avoid internal overflow or cancellation in calculating
12275 denominator.
12276 * math/s_ctanf.c: Likewise.
12277 * math/s_ctanl.c: Likewise.
12278 * math/s_ctanh.c: Likewise.
12279 * math/s_ctanhf.c: Likewise.
12280 * math/s_ctanhl.c: Likewise.
12281 * math/libm-test.inc (ctan_test): Add more tests.
12282 (ctanh_test): Likewise.
12283 * sysdeps/i386/fpu/libm-test-ulps: Update.
12284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12285
12286 2012-04-09 Andreas Jaeger <aj@suse.de>
12287
12288 [BZ #6894]
12289 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12290 is an optional BSD extension.
12291
12292 [BZ #10254]
12293 * manual/stdio.texi (Opening Streams): Document additional fopen
12294 parameters.
12295
12296 2012-04-09 Roland McGrath <roland@hack.frob.com>
12297
12298 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12299 %eax without telling the compiler.
12300
12301 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12302
12303 [BZ # 13963]
12304 * manual/install.texi: Use sourceware.org.
12305
12306 2012-04-09 Joseph Myers <joseph@codesourcery.com>
12307
12308 [BZ #13873]
12309 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12310 (__ieee754_pow): Generate overflow and underflow using huge*huge
12311 and tiny*tiny rather than just returning constant infinity or zero
12312 for large exponents.
12313 * math/libm-test.inc (pow_test): Require overflow exceptions for
12314 applicable cases of large exponents.
12315
12316 [BZ #706]
12317 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12318 (__ieee754_pow): Use iterative multiplication algorithm only for
12319 integer exponents with absolute value below 1024. Check for odd
12320 integer exponents when using algorithm for real exponents.
12321 * math/libm-test.inc (pow_test): Add more tests.
12322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12323
12324 2012-04-08 Joseph Myers <joseph@codesourcery.com>
12325
12326 [BZ #13705]
12327 * math/libm-test.inc (exp_test): Do not allow overflow exception
12328 on underflow test.
12329
12330 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12331
12332 [BZ #13705]
12333 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12334 instead of __kernel_standard_f.
12335
12336 2012-04-08 Mike Frysinger <vapier@gentoo.org>
12337
12338 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12339 * sysdeps/x86_64/memset_chk.S: Likewise.
12340
12341 2012-04-08 Andreas Jaeger <aj@suse.de>
12342
12343 [BZ #10153]
12344 * manual/startup.texi (Environment Access): Describe return value
12345 for putenv and setenv.
12346
12347 [BZ #6895]
12348 * manual/filesys.texi (Directory Entries): Add description for
12349 DT_LNK.
12350
12351 [BZ #6890]
12352 * manual/filesys.texi (Directory Entries): Clarify that it's file
12353 system not operating system in the description of DT_UNKNOWN.
12354
12355 [BZ #6578]
12356 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12357
12358 2012-04-08 Stephen Compall <s11@member.fsf.org>
12359
12360 [BZ #6649]
12361 * manual/llio.texi (Opening and Closing Files): Add cross
12362 reference to explain mode argument.
12363
12364 2012-04-07 Mike Frysinger <vapier@gentoo.org>
12365
12366 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12367 * sysdeps/x86_64/memset_chk.S: Likewise.
12368
12369 2012-04-07 David S. Miller <davem@davemloft.net>
12370
12371 * elf/elf.h (R_SPARC_WDISP10): Define.
12372 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12373 R_SPARC_SIZE32.
12374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12375 R_SPARC_SIZE64 and R_SPARC_H34.
12376
12377 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12378
12379 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12380 conditions and remove no longer applicable assertion.
12381
12382 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12383
12384 * bits/byteswap.h: Include <features.h>.
12385 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12386 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12387
12388 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12389
12390 * bits/byteswap.h (__bswap_16): Removed.
12391 Include <bits/byteswap-16.h> to get __bswap_16.
12392 * sysdeps/i386/bits/byteswap.h: Likewise.
12393 * sysdeps/s390/bits/byteswap.h: Likewise.
12394 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12395 * bits/byteswap-16.h: New file.
12396 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12397 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12398 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12399 * string/Makefile (headers): Add bits/byteswap-16.h.
12400
12401 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12402
12403 [BZ #13895]
12404 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12405 extra indirection.
12406 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12407 * nss/tst-nss-static.c: New.
12408
12409 2012-04-06 Robert Millan <rmh@gnu.org>
12410
12411 [BZ #6486]
12412 * manual/llio.texi (File Position Primitive): lseek
12413 refers to WHENCE when it really means OFFSET.
12414
12415 2012-04-06 Andreas Jaeger <aj@suse.de>
12416
12417 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12418 strncmp declarations.
12419
12420 * abilist/libc.abilist: Add __poll and __ppoll.
12421
12422 2012-04-05 David S. Miller <davem@davemloft.net>
12423
12424 * scripts/check-local-headers.sh: Accept a host triplet in the
12425 path matched by the exclude regexp.
12426
12427 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12428 definition.
12429 * sysdeps/powerpc/powerpc32/dl-machine.h
12430 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12431 * sysdeps/s390/s390-32/dl-machine.h
12432 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12433 * sysdeps/sparc/sparc32/dl-machine.h
12434 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12435 * sysdeps/sparc/sparc64/dl-machine.h
12436 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12437
12438 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12439 lazy binding.
12440 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12441 undefined symbol errors.
12442
12443 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12444 DT_NEEDED entries.
12445
12446 2012-04-05 Michael Matz <matz@suse.de>
12447
12448 [BZ #13592]
12449 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12450
12451 2012-04-05 Andreas Jaeger <aj@suse.de>
12452
12453 [BZ #13908]
12454 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12455 comment.
12456
12457 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12458
12459 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12460 which ROUND is no valid rounding mode.
12461
12462 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12463
12464 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12465 read again.
12466 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12467
12468 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12469
12470 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12471 an exception using FPU order intentionally.
12472
12473 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12474
12475 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12476 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12477 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12478 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12479
12480 2012-04-05 Simon Josefsson <simon@josefsson.org>
12481
12482 [BZ #12340]
12483 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12484 EINVAL when BUFLEN is too smal.
12485
12486 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12487
12488 [BZ #13553]
12489 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12490 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12491
12492 2012-04-03 Andreas Jaeger <aj@suse.de>
12493
12494 [BZ #13938]
12495 * manual/setjmp.texi (System V contexts): Fix sentence.
12496
12497 [BZ #13926]
12498 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12499 New macro for this case.
12500 [!__GNUC__] (__bswap_64): New inline function for this case.
12501 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12502 * bits/byteswap.h: Likewise.
12503 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12504 ull, guard with __GLIBC_HAVE_LONG_LONG.
12505
12506 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12507 __GLIBC_HAVE_LONG_LONG.
12508
12509 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12510 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12511
12512 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12513
12514 [BZ #13691]
12515 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12516 inptr and inend, rather than using last_ch.
12517
12518 2012-04-02 David S. Miller <davem@davemloft.net>
12519
12520 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12521 * stdio-common/printf-parse.h (read_int): Change return type to
12522 'int', return -1 on INT_MAX overflow.
12523 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12524 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12525 overflows INT_MAX. Check for overflow of in-format-string precision
12526 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12527 SIZE_MAX not INT_MAX for integer overflow test.
12528 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12529 skip the construct in the format string but do not record anything.
12530 * stdio-common/bug22.c: Adjust to test both width/prevision
12531 INT_MAX overflow as well as total length INT_MAX overflow. Check
12532 explicitly for proper errno values.
12533
12534 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12535
12536 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12537 CHAR_MAX.
12538 * string/test-strcmp.c [! WIDE]: Likewise.
12539 * time/tst-mktime2.c: Likewise for INT_MAX.
12540 * string/test-string.h: #include <sys/param.h> for MIN.
12541
12542 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12543 * sysdeps/i386/init-first.c (init): Likewise.
12544 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12545 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12546 * sysdeps/sh/init-first.c (init): Likewise.
12547
12548 2012-04-01 Ulrich Drepper <drepper@gmail.com>
12549
12550 * po/ru.po: Update from translation team.
12551 * po/vi.po: Likewise.
12552
12553 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12554
12555 * resolv/nss_dns/dns-host.c: Merge copyright years.
12556
12557 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12558
12559 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12560 Optimize memcpy with prefetch if
12561 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12562 src, dst pointers have unequal 16 byte alignments.
12563
12564 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12565
12566 [BZ #13928]
12567 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12568 from a CNAME entry and return the minimum ttl for the query.
12569 (gaih_getanswer_slice): Likewise.
12570
12571 2012-03-30 Jeff Law <law@redhat.com>
12572
12573 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12574 due to long keys.
12575 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12576 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12577
12578 * resolv/nss_dns/dns-host.c: Update copyright year.
12579
12580 2012-03-30 Ulrich Drepper <drepper@gmail.com>
12581
12582 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12583 requests to save a system call. Fix check that all bytes are sent.
12584
12585 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12586 comments for sendmmsg.
12587
12588 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12589
12590 [BZ #13691]
12591 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12592 with only 1 character between 0x0041 and 0x01b0.
12593 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12594 * wcsmbs/tst-mbsnrtowcs.c: New file.
12595
12596 2012-03-29 David S. Miller <davem@davemloft.net>
12597
12598 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12599 small copies by hand.
12600
12601 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12602
12603 [BZ #13761]
12604 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12605 _nss_compat_initgroups_dyn): Fall back to malloc/free
12606 for large group memberships.
12607
12608 2012-03-28 David S. Miller <davem@davemloft.net>
12609
12610 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12611 that branches into memcpy.
12612 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12613 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12614 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12615 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12616 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12617 bits.
12618 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12619 implementation too.
12620 * sysdeps/sparc/mempcpy.S: New file.
12621
12622 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12623 the IFUNC routine in the libc case.
12624 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12625
12626 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12627 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12628 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12629 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12630 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12631 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12632 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12633 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12634
12635 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12636 loop to 256 bytes instead of 64 bytes and fix test signedness.
12637
12638 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12639 * sysdeps/sparc/sparc32/Makefile: rather than here...
12640 * sysdeps/sparc/sparc64/Makefile: and here.
12641
12642 2012-03-28 Ulrich Drepper <drepper@gmail.com>
12643
12644 * malloc/mallocbug.c: Avoid warnings about unused variables.
12645
12646 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12647
12648 [BZ #13760]
12649 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12650 in the right place. Discard and retry query if response is
12651 larger than input buffer size.
12652
12653 2012-03-28 Joseph Myers <joseph@codesourcery.com>
12654
12655 [BZ #369]
12656 [BZ #2678]
12657 [BZ #3866]
12658 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12659 x for large integer exponent.
12660 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12661 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12662 sign of result as needed afterwards.
12663 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12664 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12665 result for underflowing pow the same as for overflow.
12666 (__kernel_standard_l): Handle powl overflow and underflow here
12667 rather than calling __kernel_standard.
12668 * math/libm-test.inc (pow_test): Add more tests.
12669
12670 [BZ #3868]
12671 [BZ #13879]
12672 [BZ #13910]
12673 [BZ #13911]
12674 [BZ #13912]
12675 [BZ #13913]
12676 [BZ #13915]
12677 [BZ #13916]
12678 [BZ #13917]
12679 [BZ #13918]
12680 [BZ #13919]
12681 [BZ #13920]
12682 [BZ #13921]
12683 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12684 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12685 (__kernel_standard_l): New function.
12686 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12687 __kernel_standard.
12688 * math/w_acosl.c (__acosl): Likewise.
12689 * math/w_asinl.c (__asinl): Likewise.
12690 * math/w_atan2l.c (__atan2l): Likewise.
12691 * math/w_atanhl.c (__atanhl): Likewise.
12692 * math/w_coshl.c (__coshl): Likewise.
12693 * math/w_exp10l.c (__exp10l): Likewise.
12694 * math/w_exp2l.c (__exp2l): Likewise.
12695 * math/w_fmodl.c (__fmodl): Likewise.
12696 * math/w_hypotl.c (__hypotl): Likewise.
12697 * math/w_j0l.c (__j0l, __y0l): Likewise.
12698 * math/w_j1l.c (__j1l, __y1l): Likewise.
12699 * math/w_jnl.c (__jnl, __ynl): Likewise.
12700 * math/w_lgammal.c (__lgammal): Likewise.
12701 * math/w_log10l.c (__log10l): Likewise.
12702 * math/w_log2l.c (__log2l): Likewise.
12703 * math/w_logl.c (__logl): Likewise.
12704 * math/w_powl.c (__powl): Likewise.
12705 * math/w_remainderl.c (__remainderl): Likewise.
12706 * math/w_scalbl.c (sysv_scalbl): Likewise.
12707 * math/w_sinhl.c (__sinhl): Likewise.
12708 * math/w_sqrtl.c (__sqrtl): Likewise.
12709 * math/w_tgammal.c (__tgammal): Likewise.
12710 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12711 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12712 * math/libm-test.inc (acos_test): Add more tests.
12713 (acosh_test): Likewise.
12714 (asin_test): Likewise.
12715 (atanh_test): Likewise.
12716 (exp_test): Likewise.
12717 (exp10_test): Likewise.
12718 (exp2_test): Likewise.
12719 (expm1_test): Likewise.
12720 (lgamma_test): Likewise.
12721 (log_test): Likewise.
12722 (log10_test): Likewise.
12723 (log1p_test): Likewise.
12724 (log2_test): Likewise.
12725 (pow_test): Do not allow some spurious overflow exceptions.
12726 (sqrt_test): Add more tests.
12727 (tgamma_test): Likewise.
12728 (y0_test): Likewise.
12729 (y1_test): Likewise.
12730 (yn_test): Likewise.
12731
12732 2012-03-27 Anton Blanchard <anton@samba.org>
12733
12734 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12735 MAP_HUGETLB.
12736 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12737 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12738 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12739
12740 2012-03-27 David S. Miller <davem@davemloft.net>
12741
12742 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12743
12744 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12745 have-as-vis3 check.
12746
12747 2012-03-27 Andreas Jaeger <aj@suse.de>
12748
12749 * sysdeps/x86_64/elf/configure.in: Moved to ...
12750 * sysdeps/x86_64/configure.in: ... here.
12751 * sysdeps/x86_64/elf/start.S: Moved to ...
12752 * sysdeps/x86_64/start.S: ... here.
12753 * sysdeps/x86_64/elf/configure: Delete.
12754
12755 * sysdeps/x86_64/configure.in: Merge contents from
12756 sysdeps/i386/configure.in (without i686 check).
12757
12758 * sysdeps/i386/elf/Versions: Merge into ...
12759 * sysdeps/i386/Versions: ... this.
12760 * sysdeps/i386/elf/Versions: Delete file.
12761 * sysdeps/i386/elf/start.S: Moved to ...
12762 * sysdeps/i386/start.S: ...here.
12763 * sysdeps/i386/elf/configure.in: Merge into...
12764 * sysdeps/i386/configure.in: ...here.
12765 * sysdeps/i386/elf/configure.in: Delete file.
12766 * sysdeps/i386/elf/configure: Delete file.
12767
12768 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12769 * debug/backtracesyms.c: ... here.
12770 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12771 * debug/backtracesymsfd.c: ... here.
12772 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12773 * sysdeps/generic/ifunc-sel.h: ... here.
12774
12775 * sysdeps/unix/i386/start.c: Delete file.
12776 * sysdeps/unix/sparc/start.c: Delete file.
12777 * sysdeps/unix/start.c: Delete file.
12778
12779 * sysdeps/sh/elf/configure.in: Moved to ...
12780 * sysdeps/sh/configure.in: ... here.
12781 * sysdeps/sh/elf/start.S: Moved to ...
12782 * sysdeps/sh/start.S: ... here.
12783 * sysdeps/sh/elf/configure: Delete file.
12784
12785 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12786 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12787 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12788 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12789 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12790 * sysdeps/powerpc/powerpc64/start.S: here.
12791 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12792 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12793 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12794 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12795 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12796
12797 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12798 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12799 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12800 * sysdeps/powerpc/powerpc32/start.S: ... here.
12801 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12802 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12803 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12804
12805 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12806 * sysdeps/powerpc/ifunc-sel.h: ... here.
12807 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12808 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12809
12810 * sysdeps/sparc/elf/configure.in: Moved to ...
12811 * sysdeps/sparc/configure.in: ... here.
12812 * sysdeps/sparc/elf/configure: Delete file.
12813 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12814 * sysdeps/sparc/sparc32/start.S: ... here.
12815 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12816 * sysdeps/sparc/sparc64/start.S: ... here.
12817 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12818 * sysdeps/sparc/sparc32/Makefile: ... this.
12819 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12820 * sysdeps/sparc/sparc64/Makefile: ... this.
12821
12822 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12823 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12824 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12825 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12826 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12827 * sysdeps/s390/s390-32/setjmp.S: ... here.
12828 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12829 * sysdeps/s390/s390-32/configure.in: ... here.
12830 * sysdeps/s390/s390-32/elf/configure: Delete file.
12831 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12832 * sysdeps/s390/s390-32/start.S: ... here.
12833
12834 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12835 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12836 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12837 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12838 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12839 * sysdeps/s390/s390-64/setjmp.S: ... here.
12840 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12841 * sysdeps/s390/s390-64/configure.in: ... here
12842 * sysdeps/s390/s390-64/elf/configure: Delete file.
12843 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12844 * sysdeps/s390/s390-64/start.S: ... here.
12845 * sysdeps/s390/s390-64/elf/configure: Delete.
12846
12847 * configure.in: Remove support for elf directories in sysdeps.
12848
12849 * configure: Regenerated.
12850 * sysdeps/i386/configure: Regenerated.
12851 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12852 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12853 * sysdeps/s390/s390-32/configure: Regenerated.
12854 * sysdeps/s390/s390-64/configure: Regenerated.
12855 * sysdeps/sh/configure: Regenerated.
12856 * sysdeps/sparc/configure: Regenerated.
12857 * sysdeps/x86_64/configure: Regenerated.
12858
12859 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12860
12861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12862
12863 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12864 denormal result into account.
12865
12866 2012-03-25 Roland McGrath <roland@hack.frob.com>
12867
12868 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12869 Reported by Allan McRae <allan@archlinux.org>.
12870
12871 2012-03-23 Jeff Law <law@redhat.com>
12872
12873 * nss/getnssent.c (__nss_getent): Fix typo.
12874
12875 2012-03-23 David S. Miller <davem@davemloft.net>
12876
12877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12878
12879 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12880
12881 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12882 to pad to uint64_t for each field.
12883 (dl_tls_index): Replace unsigned long with uint64_t.
12884
12885 2012-03-23 Daniel Jacobowitz <dmj@google.com>
12886 Paul Pluzhnikov <ppluzhnikov@google.com>
12887
12888 [BZ #6528]
12889 * grp/Makefile (otherlibs): Don't set it.
12890 * inet/Makefile (otherlibs): Likewise.
12891 * login/Makefile (otherlibs): Likewise.
12892 * nscd/Makefile (otherlibs): Likewise.
12893 * posix/Makefile (otherlibs): Likewise.
12894 * pwd/Makefile (otherlibs): Likewise.
12895 * rt/Makefile (otherlibs): Likewise.
12896 * sunrpc/Makefile (otherlibs): Likewise.
12897 * nss/Makefile (otherlibs): Likewise.
12898 Add libnss_files to routines and static-only-routines.
12899 ($(objpfx)getent): Remove rule.
12900 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12901 static-only-routines.
12902
12903 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12904
12905 [BZ #13892]
12906 * math/s_cexp.c: Include <float.h>.
12907 (__cexp): Handle exp result overflowing not necessarily
12908 overflowing both real and imaginary parts of result.
12909 * math/s_cexpf.c: Likewise.
12910 * math/s_cexpl.c: Likewise.
12911 * math/libm-test.inc (cexp_test): Add more tests.
12912 * sysdeps/i386/fpu/libm-test-ulps: Update.
12913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12914
12915 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12916
12917 * include/link.h (ELFW): New macro.
12918 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12919 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12920
12921 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12922
12923 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12924 with uint64_t.
12925
12926 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12927
12928 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12929 declaration.
12930 (struct La_x32_retval): Likewise.
12931
12932 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12933
12934 * sysdeps/x86_64/preconfigure.in: New file.
12935 * sysdeps/x86_64/preconfigure: New generated file.
12936
12937 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12938
12939 [BZ #13824]
12940 * math/e_exp2l.c: Include <float.h>.
12941 (__ieee754_exp2l): Handle overflow and underflow cases
12942 separately. Only pass fractional part of argument to
12943 __ieee754_expl.
12944 * math/libm-test.inc (exp2_test): Add more tests.
12945
12946 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12947 negating x to take absolute value.
12948 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12949 Likewise.
12950 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12951 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12952 Likewise.
12953 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12954 computing low part if x was negated.
12955 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12956
12957 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12958
12959 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12960 la_x32_gnu_pltexit.
12961 (pltexit): Cast int_retval to ptrdiff_t.
12962 * elf/tst-auditmod3b.c: Likewise.
12963 * elf/tst-auditmod4b.c: Likewise.
12964 * elf/tst-auditmod5b.c: Likewise.
12965 * elf/tst-auditmod6b.c: Likewise.
12966 * elf/tst-auditmod6c.c: Likewise.
12967 * elf/tst-auditmod7b.c: Likewise.
12968
12969 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12970 and x32_gnu_pltexit.
12971
12972 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12973 __ELF_NATIVE_CLASS.
12974 (La_x32_regs): New macro.
12975 (La_x32_retval): Likewise.
12976 (la_x32_gnu_pltenter): New function prototype.
12977 (la_x32_gnu_pltexit): Likewise.
12978
12979 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12980
12981 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12982 exponent.
12983
12984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12985
12986 * configure.in (libc_cv_cc_nofma): Check for option to disable
12987 generation of FMA instructions.
12988 * configure: Regenerate.
12989 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12990 * sysdeps/ieee754/dbl-64/Makefile: New file.
12991 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12992 Remove brandred-fma4.
12993 (CFLAGS-brandred-fma4.c): Remove.
12994 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12995 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12996 define.
12997 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12998 define.
12999
13000 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13001
13002 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13003 LLONG_MAX != LONG_MAX.
13004 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13005 (_fitoa_word): Likewise.
13006 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13007 LLONG_MAX != LONG_MAX.
13008 * stdio-common/_itowa.h: Include <_itoa.h>.
13009 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13010 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13011 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13012 only if not defined.
13013 (_ITOA_WORD_TYPE): Likewise.
13014 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13015 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13016
13017 2012-03-21 David S. Miller <davem@davemloft.net>
13018
13019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13020
13021 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13022
13023 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13024 of x86_64 when setting libc_cv_slibdir, libdir and
13025 libc_cv_localedir.
13026 * sysdeps/unix/sysv/linux/configure: Regenerated.
13027
13028 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13029
13030 * manual/lang.texi (Old Varargs): Remove section.
13031 (How Variadic): Update menu.
13032 (va_start): Do not mention varargs.h.
13033
13034 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13035 Joseph Myers <joseph@codesourcery.com>
13036
13037 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13038 link test.
13039 * configure: Regenerated.
13040
13041 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13042
13043 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13044 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13045 conformtest.pl
13046
13047 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13048
13049 * NOTES: Remove.
13050 * Makefile (files-for-dist): Remove NOTES.
13051 (NOTES): Remove rule.
13052 * README: Don't refer to NOTES.
13053 * manual/creature.texi: Don't include macros.texi.
13054 * manual/intro.texi (creature.texi): Remove comment referring to
13055 NOTES.
13056
13057 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13058 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13059 * configure: Regenerated.
13060 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13061 LIBC_TRY_CC_OPTION.
13062 (libc_cv_as_i686): Likewise.
13063 (libc_cv_cc_avx): Likewise.
13064 (libc_cv_cc_sse2avx): Likewise.
13065 (libc_cv_cc_fma4): Likewise.
13066 (libc_cv_cc_novzeroupper): Likewise.
13067 * sysdeps/i386/configure: Regenerated.
13068
13069 [BZ #13883]
13070 * sysdeps/i386/fpu/s_cexp.S: Remove.
13071 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13072 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13073 * math/libm-test.inc (cexp_test): Add more tests.
13074 * sysdeps/i386/fpu/libm-test-ulps: Update.
13075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13076
13077 2012-03-21 Allan McRae <allan@archlinux.org>
13078
13079 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13080
13081 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13082
13083 [BZ #13871]
13084 * math/w_exp2.c: Do not include <float.h>.
13085 (o_threshold, u_threshold): Remove.
13086 (__exp2): Calculate result before checking finiteness and calling
13087 __kernel_standard.
13088 * math/w_exp2f.c: Likewise.
13089 * math/w_exp2l.c: Likewise.
13090 * math/libm-test.inc (exp2_test): Require overflow exception for
13091 1e6 input.
13092
13093 [BZ #3866]
13094 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13095 range of signed 64-bit integers before using fistpll. Remove
13096 checks for whether integers fit in mantissa bits.
13097 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13098 the range of signed 32-bit integers before using fistpl. Remove
13099 checks for whether integers fit in mantissa bits.
13100 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13101 (__ieee754_powl): Test for y outside the range of signed 64-bit
13102 integers before using fistpll. Reduce 64-bit values to 63-bit
13103 ones as needed.
13104 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13105 divide-by-zero is raised for zero to large negative powers.
13106 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13107 (__ieee754_powl): Test for y outside the range of signed 64-bit
13108 integers before using fistpll. Reduce 64-bit values to 63-bit
13109 ones as needed.
13110 * math/libm-test.inc (pow_test): Add more tests.
13111
13112 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13113
13114 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13115 <stdio-common/_itoa.h>.
13116 * debug/segfault.c: Likewise.
13117 * elf/dl-cache.c: Likewise.
13118 * elf/dl-minimal.c: Likewise.
13119 * elf/dl-misc.c: Likewise.
13120 * elf/dl-sysdep.c: Likewise.
13121 * elf/dl-version.c: Likewise.
13122 * elf/rtld.c: Likewise.
13123 * hurd/hurdsock.c: Likewise.
13124 * hurd/lookup-retry.c: Likewise.
13125 * malloc/malloc.c: Likewise.
13126 * malloc/mtrace.c: Likewise.
13127 * nscd/nscd_getgr_r.c: Likewise.
13128 * nscd/nscd_getpw_r.c: Likewise.
13129 * nscd/nscd_getserv_r.c: Likewise.
13130 * posix/getopt_init.c: Likewise.
13131 * posix/wordexp.c: Likewise.
13132 * stdio-common/_itoa.c: Likewise.
13133 * stdio-common/printf_fphex.c: Likewise.
13134 * stdio-common/vfprintf.c: Likewise.
13135 * string/_strerror.c: Likewise.
13136 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13137 * sysdeps/i386/i686/hp-timing.h: Likewise.
13138 * sysdeps/mach/_strerror.c: Likewise.
13139 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13140 * sysdeps/mach/hurd/sethostid.c: Likewise.
13141 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13142 * sysdeps/mach/xpg-strerror.c: Likewise.
13143 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13144 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13145 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13146 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13147 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13148 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13149 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13150 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13151 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13152 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13153 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13154 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13155 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13156 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13157 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13158 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13159 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13160 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13161 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13162 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13163 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13164
13165 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13166
13167 * stdio-common/_itoa.h: Moved to ...
13168 * sysdeps/generic/_itoa.h: Here.
13169
13170 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13171
13172 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13173 instead of "_itoa.h" and "_itowa.h".
13174 * stdio-common/vfprintf.: Likewise.
13175
13176 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13177
13178 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13179 <bits/wordsize.h>.
13180 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13181 (__signbit): Likwise.
13182 (llrintf): Likwise.
13183 (llrint): Likwise.
13184
13185 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13186
13187 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13188 __WORDSIZE != 64.
13189
13190 2012-03-20 Joseph Myers <joseph@codesourcery.com>
13191
13192 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13193 OVERFLOW_EXCEPTION_OK.
13194 * math/libm-test.inc ("Philosophy"): Update comment about
13195 exception testing.
13196 (OVERFLOW_EXCEPTION): Define.
13197 (OVERFLOW_EXCEPTION_OK): Likewise.
13198 (INVALID_EXCEPTION_OK): Renumber.
13199 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13200 (IGNORE_ZERO_INF_SIGN): Likewise.
13201 (test_exceptions): Handle FE_OVERFLOW.
13202 (exp10_test): Expect overflow exceptions.
13203 (exp2_test): Likewise.
13204 (expm1_test): Likewise.
13205 (nextafter_test): Likewise.
13206 (pow_test): Likewise.
13207 (scalbn_test): Likewise.
13208 (scalbln_test): Likewise.
13209
13210 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13211
13212 * sysdeps/x86_64/bits/atomic.h
13213 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13214 64bit integer.
13215 (atomic_exchange_acq): Likewise.
13216 (__arch_exchange_and_add_body): Likewise.
13217 (__arch_add_body): Likewise.
13218 (atomic_add_negative): Likewise.
13219 (atomic_add_zero): Likewise.
13220
13221 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13222
13223 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13224 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13225
13226 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13227
13228 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13229 Check __x86_64__ instead of __WORDSIZE.
13230
13231 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13232
13233 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13234
13235 2012-03-19 David S. Miller <davem@davemloft.net>
13236
13237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13238
13239 * sysdeps/sparc/fpu/fenv_private.h: New file.
13240 * sysdeps/sparc/fpu/math_private.h: Use it.
13241 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13242 Remove.
13243 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13244 (libc_feholdexcept_setroundl): Remove.
13245 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13246 Remove.
13247 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13248 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13249
13250 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13251
13252 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13253 int64_t instead of long int.
13254 (INSERT_WORDS64): Likwise.
13255
13256 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13257
13258 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13259 _Unwind_GetCFA return to _Unwind_Ptr first.
13260
13261 2012-03-19 Joseph Myers <joseph@codesourcery.com>
13262
13263 [BZ #13629]
13264 * math/s_clog.c: Include <float.h>.
13265 (__clog): Scale large or subnormal inputs.
13266 * math/s_clogf.c: Likewise.
13267 * math/s_clogl.c: Likewise.
13268 * math/s_clog10.c: Include <float.h>.
13269 (M_LOG10_2): Define.
13270 (__clog10): Scale large or subnormal inputs.
13271 * math/s_clog10f.c: Likewise.
13272 * math/s_clog10l.c: Likewise.
13273 * math/libm-test.inc (clog_test): Add more tests.
13274 (clog10_test): Likewise.
13275 * sysdeps/i386/fpu/libm-test-ulps: Update.
13276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13277
13278 [BZ #11451]
13279 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13280 x and y.
13281 * math/libm-test.inc (atan2_test): Add another test.
13282
13283 * Makerules (common-objdir-compile): Remove.
13284 * sysdeps/unix/Makefile (config-generated): Do not add
13285 $(unix-generated) to variable.
13286 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13287 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13288 Remove rule.
13289 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13290 Likewise.
13291 [generic bits/local_lim.h] (before-compile): Do not append to
13292 variable.
13293 [generic bits/local_lim.h] (common-generated): Likewise.
13294 [generic sys/param.h] (before-compile): Do not append to variable.
13295 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13296 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13297 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13298 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13299 include.
13300 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13301 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13302 [generic sys/param.h] ($(addprefix
13303 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13304 [generic sys/param.h] (common-generated): Do not append to
13305 variable.
13306 [generic sys/param.h] (sysdep_headers): Likewise.
13307 [generic bits/errno.h] (before-compile): Do not append to
13308 variable.
13309 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13310 rule.
13311 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13312 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13313 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13314 [generic bits/errno.h] (common-generated): Do not append to
13315 variable.
13316 [generic bits/ioctls.h] (before-compile): Do not append to
13317 variable.
13318 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13319 rule.
13320 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13321 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13322 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13323 rule.
13324 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13325 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13326 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13327 [generic bits/ioctls.h] (common-generated): Do not append to
13328 variable.
13329 [generic sys/syscall.h] (syscall.h): Remove variable.
13330 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13331 rule.
13332 [generic sys/syscall.h] (before-compile): Do not append to
13333 variable.
13334 [generic sys/syscall.h] (common-generated): Likewise.
13335 * sysdeps/unix/errnos-tmpl.c: Remove file.
13336 * sysdeps/unix/errnos.awk: Likewise.
13337 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13338 * sysdeps/unix/ioctls.awk: Likewise.
13339 * sysdeps/unix/mk-local_lim.c: Likewise.
13340 * sysdeps/unix/snarf-ioctls: Likewise.
13341
13342 2012-03-19 Richard Henderson <rth@twiddle.net>
13343
13344 * sysdeps/i386/fpu/fenv_private.h: New file.
13345 * sysdeps/i386/fpu/math_private.h: Use it.
13346 (math_opt_barrier, math_force_eval): Remove.
13347 (libc_feholdexcept_setround_53bit): Remove.
13348 (libc_feupdateenv_53bit): Remove.
13349 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13350 (math_opt_barrier, math_force_eval): Remove.
13351 (libc_feholdexcept): Remove.
13352 (libc_feholdexcept_setround): Remove.
13353 (libc_fetestexcept, libc_fesetenv): Remove.
13354 (libc_feupdateenv_test): Remove.
13355 (libc_feupdateenv, libc_feholdsetround): Remove.
13356 (libc_feresetround): Remove.
13357
13358 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13359 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13360
13361 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13362 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13363 (libc_feupdateenv_testl): New.
13364 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13365 (libc_feupdateenv_testf): New.
13366 (libc_feupdateenv): Use libc_feupdateenv_test.
13367 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13368 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13369
13370 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13371 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13372 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13373 (libc_feresetround_noex): New.
13374 (libc_feresetround_noexf): New.
13375 (libc_feresetround_noexl): New.
13376 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13377 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13378 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13379 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13380 SET_RESTORE_ROUND.
13381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13382 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13383 (__cos): Likewise.
13384 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13385 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13386 SET_RESTORE_ROUND_NOEX.
13387 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13388 SET_RESTORE_ROUND_NOEXF.
13389 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13390 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13391 (libc_feholdsetroundf): New.
13392 (libc_feresetround, libc_feresetroundf): New.
13393
13394 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13395 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13396 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13397
13398 * sysdeps/generic/math_private.h: Include <fenv.h>.
13399 (default_libc_feholdexcept): New.
13400 (default_libc_feholdexcept_setround): New.
13401 (default_libc_fesetenv, default_libc_feupdateenv): New.
13402 (libc_feholdexcept): Only define if undefined.
13403 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13404 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13405 (libc_feholdexcept_setroundl): Likewise.
13406 (libc_feholdexcept_setround_53bit): Likewise.
13407 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13408 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13409 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13410 (libc_feupdateenv_53bit): Likewise.
13411 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13412 (libc_feholdexcept): Convert from macro to inline function.
13413 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13414 (libc_fesetenv, libc_feupdateenv): Likewise.
13415
13416 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13417 not previously defined.
13418 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13419 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13420 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13421 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13422 * sysdeps/ieee754/flt-32/math_private.h: New file.
13423 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13424 math_private.h below SET_FLOAT_WORD.
13425 (__isnan, __isinf_ns, __finite): Remove.
13426 (__isnanf, __isinf_nsf, __finitef): Remove.
13427
13428 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13429
13430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13431
13432 2012-03-17 David S. Miller <davem@davemloft.net>
13433
13434 [BZ #6471]
13435 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13436 for 2.16.
13437
13438 2012-03-16 David S. Miller <davem@davemloft.net>
13439
13440 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13441 warnings.
13442
13443 [BZ #6471]
13444 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13445 properly.
13446 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13447 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13448 sysdep_routines when subdir is sysvipc.
13449 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13450 __getshmlba helper.
13451
13452 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13453
13454 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13455
13456 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13457 [__LP64__].
13458
13459 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13460
13461 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13462 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13463 (__lround): Renamed to ...
13464 (__llround): This. Replace long int with long long int.
13465 Define lround functions as aliases of llround functions.
13466 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13467
13468 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13469
13470 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13471 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13472 adresses to uintptr_t. Replace "long int" and "unsigned long
13473 int" with "greg_t" on va_arg.
13474
13475 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13476
13477 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13478 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13479
13480 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13481 Move e_machine check before EI_CLASS check. Handle x32
13482 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13483 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13484 SKIP_EM_IA_64 and include
13485 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13486
13487 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13488 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13489 (add_system_dir): New macro.
13490
13491 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13492 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13493
13494 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13495
13496 [BZ #2551]
13497 [BZ #2552]
13498 [BZ #2553]
13499 [BZ #2554]
13500 [BZ #2562]
13501 [BZ #2563]
13502 [BZ #2565]
13503 [BZ #2566]
13504 [BZ #2576]
13505 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13506 (y0): Likewise.
13507 * math/w_j0f.c (j0f): Likewise.
13508 (y0f): Likewise.
13509 * math/w_j0l.c (__j0l): Likewise.
13510 (__y0l): Likewise.
13511 * math/w_j1.c (j1): Likewise.
13512 (y1): Likewise.
13513 * math/w_j1f.c (j1f): Likewise.
13514 (y1f): Likewise.
13515 * math/w_j1l.c (__j1l): Likewise.
13516 (__y1l): Likewise.
13517 * math/w_jn.c (jn): Likewise.
13518 (yn): Likewise.
13519 * math/w_jnf.c (jnf): Likewise.
13520 (ynf): Likewise.
13521 * math/w_jnl.c (__jnl): Likewise.
13522 (__ynl): Likewise.
13523 * math/libm-test.inc (j0_test): Add more tests.
13524 (j1_test): Likewise.
13525 (jn_test): Likewise. Add trailing semicolon to existing test.
13526 (y0_test): Likewise.
13527 (y1_test): Likewise.
13528 * sysdeps/i386/fpu/libm-test-ulps: Update.
13529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13530
13531 [BZ #13851]
13532 [BZ #13854]
13533 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13534 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13535 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13536 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13537 (__tanl): Set errno for infinite argument.
13538 * sysdeps/i386/fpu/mptan.c: Remove.
13539 * sysdeps/i386/fpu/s_tan.S: Likewise.
13540 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13541 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13542 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13543 * math/libm-test.inc (tan_test): Add more tests and enable more
13544 tests for double and long double.
13545 * sysdeps/i386/fpu/libm-test-ulps: Update.
13546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13547
13548 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13549
13550 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13551 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13552
13553 2012-03-16 Roland McGrath <roland@hack.frob.com>
13554
13555 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13556 * configure.in: Use it for both main tree and add-ons.
13557 * configure: Regenerated.
13558
13559 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13560
13561 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13562
13563 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13564
13565 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13566 in comment.
13567
13568 [BZ #13851]
13569 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13570 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13574 infinite argument.
13575 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13576 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13577 != 0 for prec == 2.
13578 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13579 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13580 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13581 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13582 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13583 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13584 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13585 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13586 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13587 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13588 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13589 * math/libm-test.inc (cos_test): Add more tests and enable more
13590 tests for long double.
13591 (sin_test): Likewise.
13592 (sincos_test): Likewise.
13593 * sysdeps/i386/fpu/libm-test-ulps: Update.
13594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13595
13596 2012-03-16 David S. Miller <davem@davemloft.net>
13597
13598 * sysdeps/sparc/fpu/math_private.h: New file.
13599
13600 2012-03-15 David S. Miller <davem@davemloft.net>
13601
13602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13603 file.
13604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13606 file.
13607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13612 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13613 sysdep routines.
13614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13615
13616 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13617 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13618
13619 * sysdeps/sparc/sparc-ifunc.h: New file.
13620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13621 sparc-ifunc.h
13622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13624 Likewise.
13625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13626 Likewise.
13627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13631 Likewise.
13632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13637 Likewise.
13638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13639 Likewise.
13640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13646 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13647 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13649 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13659 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13660 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13661 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13663 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13664
13665 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13666
13667 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13668 scaling.
13669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13670
13671 2012-03-15 Andreas Jaeger <aj@suse.de>
13672
13673 [BZ #13852]
13674 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13675 ieee754/flt-32 implementation for sin, cos and sincos.
13676 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13677 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13678 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13679 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13680 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13681 ieee754/flt-32 implementation for tan.
13682
13683 * math/libm-test.inc (cos_test): Enable some large input tests for
13684 float as well
13685 (sin_test): Likewise.
13686 (sincos_test): Likewise.
13687 (tan_test): Add tests for large input.
13688
13689 * sysdeps/i386/fpu/libm-test-ulps: Update.
13690
13691 2012-03-15 Andreas Jaeger <aj@suse.de>
13692
13693 [BZ #13658]
13694 * math/libm-test.inc (cos_test): Add more test cases.
13695 (sin_test): Likewise.
13696 (sincos_test): Likewise.
13697
13698 2012-03-15 Andreas Jaeger <aj@suse.de>
13699
13700 [BZ #13837]
13701 * math/libm-test.inc (cos_test): Add a test case for large input
13702 value.
13703 (sin_test): Likewise.
13704 (sincos_test): Likewise.
13705
13706 2012-03-15 Andreas Jaeger <aj@suse.de>,
13707 Joseph Myers <joseph@codesourcery.com>
13708
13709 [BZ #13658]
13710 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13711 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13712 * sysdeps/i386/fpu/branred.c: Likewise.
13713 * sysdeps/i386/fpu/dosincos.c: Likewise.
13714 * sysdeps/i386/fpu/mpa.c: Likewise.
13715 * sysdeps/i386/fpu/s_cos.S: Likewise.
13716 * sysdeps/i386/fpu/s_sin.S: Likewise.
13717 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13718 * sysdeps/i386/fpu/sincos32.c: Likewise.
13719
13720 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13721 Define.
13722 (libc_feupdateenv_53bit): Define.
13723 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13724 Define.
13725 (libc_feupdateenv_53bit): Define.
13726
13727 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13728 53 bit (without extend i386 double precision).
13729
13730 * math/libm-test.inc (sincos_test): Add tests for large input.
13731 (sin): Likewise.
13732 (cos): Likewise.
13733
13734 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13735
13736 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13737
13738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13739
13740 2012-03-15 David S. Miller <davem@davemloft.net>
13741
13742 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13743 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13744 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13745 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13758 file.
13759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13761 file.
13762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13764 file.
13765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13767 file.
13768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13769 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13770 fmin/fmax sysdep routines.
13771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13772
13773 2012-03-14 David S. Miller <davem@davemloft.net>
13774
13775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13779 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13780 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13781 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13782 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13784 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13796 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13797 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13798 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13800 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13802 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13803 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13804 routines.
13805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13806 file.
13807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13809 file.
13810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13812 file.
13813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13815 file.
13816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13818 file.
13819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13821 file.
13822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13823 file.
13824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13825 file.
13826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13827 file.
13828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13829 New file.
13830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13831 file.
13832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13833 file.
13834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13836 file.
13837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13839 file.
13840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13842 file.
13843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13845 VIS3 routines.
13846
13847 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13848 New file.
13849
13850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13851
13852 * sysdeps/sparc/configure.in: New file.
13853 * sysdeps/sparc/configure: Generate.
13854 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13855 * configure: Regenerate.
13856 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13857 * config.make.in (have-as-vis3): New.
13858 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13859 available use -Av9d instead of -Av9a.
13860 * sysdeps/sparc/sparc64/Makefile: Likewise.
13861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13863 New file.
13864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13865 file.
13866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13867 New file.
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13869 file.
13870 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13871 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13872 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13873 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13874 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13875
13876 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13877 fzeros/fnegs to load 0x80000000 into a float register instead of
13878 using the stack.
13879 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13880
13881 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13882
13883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13884 bits/syscall.h.
13885 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13886 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13887 ($(inst_includedir)/bits/syscall.h): Remove rule.
13888 ($(objpfx)bits/syscall.d): Include instead of
13889 $(objpfx)syscall-list.d.
13890 (generated): Change syscall-list.h and syscall-list.d to
13891 bits/syscall.h and bits/syscall.d.
13892
13893 2012-03-14 Roland McGrath <roland@hack.frob.com>
13894
13895 [BZ #13846]
13896 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13897
13898 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13899
13900 [BZ #13841]
13901 * math/s_csqrt.c: Include <float.h>.
13902 (__csqrt): Scale large or subnormal inputs.
13903 * math/s_csqrtf.c: Likewise.
13904 * math/s_csqrtl.c: Likewise.
13905 * math/libm-test.inc (csqrt_test): Add more tests.
13906 * sysdeps/i386/fpu/libm-test-ulps: Update.
13907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13908
13909 [BZ #13840]
13910 * math/libm-test.inc (hypot_test): Add more tests.
13911
13912 2012-03-13 David S. Miller <davem@davemloft.net>
13913
13914 [BZ #13840]
13915 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13916 double-precision for the calculation instead of scaling.
13917
13918 2012-03-13 Joseph Myers <joseph@codesourcery.com>
13919
13920 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13921 manipulate bits before adding and subtracting TWO52[sx].
13922 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13923 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13924 Likewise.
13925 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13926
13927 2012-03-13 David S. Miller <davem@davemloft.net>
13928
13929 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13930 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13931 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13932 rtld-global-offsets.h
13933 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13934
13935 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13936 large parameters.
13937
13938 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13939
13940 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13941 'err' in the ifdef scope in which it is actually used.
13942
13943 * nss/nss_db/db-init.c: Include string.h
13944
13945 2012-03-12 David S. Miller <davem@davemloft.net>
13946
13947 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13948 masking out of the most significant byte of random value used.
13949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13950 Fix coding style in previous change.
13951
13952 * sysdeps/unix/sysv/linux/kernel-features.h
13953 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13954 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13955 expression.
13956 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13957 later.
13958
13959 2012-03-11 David S. Miller <davem@davemloft.net>
13960
13961 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13962 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13963 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13964 for 'resultvar' otherwise things get truncated on 64-bit.
13965
13966 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13967 Fix masking out of the most significant byte of random value used.
13968
13969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13970
13971 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13972
13973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13974
13975 2012-03-09 David S. Miller <davem@davemloft.net>
13976
13977 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13978 variables with appropriate CPP guards.
13979 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13980 frame pointer, not the stack pointer. Correct layout comments. Fix test
13981 on resulting framesize and the management of the outregs buffer for pltexit.
13982 Preserve floating point return values across _dl_call_pltexit call.
13983 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13984 framesize and the management of the outregs buffer for pltexit.
13985 Preserve floating point return values across _dl_call_pltexit
13986 call.
13987 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13988 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13989 (print_exit): Fix format string for return register value.
13990
13991 2012-03-10 Joseph Myers <joseph@codesourcery.com>
13992
13993 * sunrpc/Makefile (others): Add rpcgen.
13994 ($(objpfx)rpcgen): Remove special build rule and dependency on
13995 libc.
13996 * sunrpc/rpcgen.c: New file.
13997
13998 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13999
14000 [BZ #13673]
14001 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14002 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14003 * sysdeps/i386/crti.S: Likewise.
14004 * sysdeps/i386/crtn.S: Likewise.
14005 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14006 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14007 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14008 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14009 * sysdeps/sh/crti.S: Likewise.
14010 * sysdeps/sh/crtn.S: Likewise.
14011 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14012
14013 [BZ #13673]
14014 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14015 with URL.
14016 * locale/programs/locfile-kw.gperf: Likewise.
14017 * locale/programs/charmap-kw.h: Regenerated.
14018 * locale/programs/locfile-kw.h: Likewise.
14019
14020 [BZ #13673]
14021 * intl/plural.y: Replace FSF snail mail address with URL.
14022 * intl/plural.c: Regenerated.
14023
14024 2012-03-09 Richard Henderson <rth@twiddle.net>
14025
14026 * include/math_private.h: Remove file.
14027 * math/math_private.h: Move file ...
14028 * sysdeps/generic/math_private.h: ... here.
14029
14030 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14031 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14032 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14033
14034 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14035 and <math_private.h>.
14036 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14037 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14038 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14039 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14040 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14044 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14045 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14048 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14051 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14052 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14053 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14054 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14055 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14057 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14058 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14059 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14060 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14061 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14062 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14063 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14064 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14065 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14066 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14068 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14069 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14070 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14071 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14072 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14073 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14074 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14075 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14076 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14077 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14078 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14079 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14080 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14081 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14082 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14083 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14084 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14085 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14086 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14087 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14088 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14089 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14090 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14091 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14092 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14093 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14094 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14097 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14098 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14099 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14100 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14101 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14102 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14103 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14104 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14105 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14106 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14107 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14108 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14109 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14110 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14116 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14117 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14118 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14119 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14124 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14125 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14126 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14127 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14128 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14129 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14130 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14131 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14132 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14133 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14134 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14135 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14136 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14137 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14138 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14139 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14140 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14141 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14142 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14143 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14144 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14145 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14146 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14147 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14148 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14149 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14150 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14151 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14152 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14153 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14154 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14155 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14156 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14157 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14158 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14159 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14160 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14161 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14162 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14163 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14164 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14165 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14166 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14167 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14168 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14169 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14170 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14171 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14172 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14173 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14174 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14175 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14176 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14177 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14178 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14179 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14180 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14181 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14182 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14183 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14184 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14185 * sysdeps/ieee754/k_standard.c: Likewise.
14186 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14187 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14188 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14189 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14190 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14191 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14192 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14193 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14194 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14195 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14196 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14197 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14198 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14199 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14200 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14201 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14202 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14203 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14204 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14205 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14206 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14207 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14208 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14209 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14210 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14211 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14212 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14213 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14214 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14215 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14216 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14217 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14218 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14219 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14220 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14221 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14222 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14223 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14224 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14225 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14226 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14227 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14228 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14229 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14230 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14231 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14232 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14233 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14234 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14235 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14236 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14237 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14238 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14239 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14242 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14243 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14244 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14245 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14246 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14247 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14248 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14249 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14250 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14251 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14252 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14253 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14254 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14255 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14257 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14259 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14260 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14261 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14262 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14263 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14264 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14265 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14266 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14267 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14268 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14269 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14270 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14271 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14272 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14273 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14274 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14275 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14276 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14277 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14278 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14279 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14280 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14281 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14282 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14283 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14284 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14286 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14287 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14289 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14290 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14291 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14292 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14295 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14296 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14297 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14298 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14299 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14300 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14301 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14303 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14304 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14305 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14306 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14307 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14308 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14309 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14311 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14312 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14313 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14314 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14315 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14316 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14317 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14318 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14319 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14320 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14321 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14322 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14323 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14324 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14325 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14326 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14327 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14330 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14331 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14332 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14333 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14334 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14335 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14336 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14337 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14338 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14340 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14341 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14342 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14343 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14344 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14345 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14346 * sysdeps/ieee754/s_lib_version.c: Likewise.
14347 * sysdeps/ieee754/s_matherr.c: Likewise.
14348 * sysdeps/ieee754/s_signgam.c: Likewise.
14349 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14350 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14351 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14352 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14353 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14354 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14355 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14356 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14357 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14358 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14359 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14360 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14361 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14362 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14363 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14364 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14365 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14366 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14367 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14368 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14370
14371 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14372
14373 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14374 * sunrpc/rpc_main.c: Likewise.
14375 * sunrpc/rpc_svcout.c: Likewise.
14376
14377 2012-03-09 David S. Miller <davem@davemloft.net>
14378
14379 * include/math_private.h: New file.
14380
14381 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14382
14383 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14384 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14385 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14386 from <bits/socket_type.h>.
14387 (enum __socket_type): Don't define here.
14388 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14390 bits/socket_type.h.
14391
14392 [BZ #13566]
14393 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14394 checking __USE_GNU.
14395
14396 * Makerules ($(inst_includedir)/%.h): New rule.
14397 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14398 (install-others): Remove variable setting.
14399 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14400
14401 2012-03-08 Richard Henderson <rth@twiddle.net>
14402
14403 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14404 from macro to inline function; merge with the
14405 !__LIBC_INTERNAL_MATH_INLINES version.
14406 (__ieee754_sqrtf): Likewise.
14407
14408 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14409 to inline function.
14410 (__rintf, __floor, __floorf): Likewise.
14411
14412 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14413 macro to inline function.
14414 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14415
14416 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14417 not <math/math_private.h>.
14418
14419 2012-03-08 David S. Miller <davem@davemloft.net>
14420
14421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14422 copyright year.
14423 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14424
14425 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14426
14427 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14428 normalization.
14429 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14430 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14431
14432 2012-03-08 Ulrich Drepper <drepper@gmail.com>
14433
14434 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14435 be defined individually, they must be defined as a block. Define
14436 S for printing a string instead of hidint the different by using a
14437 macro for adding the 'l'.
14438 * stdio-common/tst-fphex-wide.c: Adjust.
14439
14440 2012-03-07 Marek Polacek <polacek@redhat.com>
14441
14442 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14443
14444 2012-03-08 Marek Polacek <polacek@redhat.com>
14445
14446 [BZ #13806]
14447 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14448 * stdio-common/tst-fphex.c: Define a few macros to make the
14449 test reusable. Use them.
14450 * stdio-common/tst-fphex-wide.c: New file.
14451
14452 2012-03-08 Joseph Myers <joseph@codesourcery.com>
14453
14454 [BZ #6911]
14455 * manual/macros.texi (gnusystems): New macro.
14456 (nongnusystems): Likewise.
14457 (gnulinuxhurdsystems): Likewise.
14458 (gnuhurdsystems): Likewise..
14459 (gnulinuxsystems): Likewise.
14460 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14461 variants of the GNU system, not "GNU system".
14462 * manual/conf.texi: Likewise.
14463 * manual/errno.texi: Likewise. Update example of errno macro
14464 expansion.
14465 * manual/filesys.texi: Likewise.
14466 (getumask): Document as specific to GNU/Hurd.
14467 * manual/install.texi: Likewise. Reword some references to
14468 GNU/Linux.
14469 * manual/intro.texi: Likewise.
14470 * manual/io.texi: Likewise.
14471 (File Name Portability): Detail which constraints are inapplicable
14472 to all GNU systems and which are only inapplicable to GNU/Hurd.
14473 * manual/job.texi: Likewise.
14474 * manual/llio.texi: Likewise.
14475 (O_NOCTTY): Document as present on GNU/Linux.
14476 * manual/maint.texi: Likewise.
14477 * manual/memory.texi: Likewise.
14478 * manual/pattern.texi: Likewise.
14479 * manual/pipe.texi: Likewise.
14480 * manual/process.texi: Likewise.
14481 * manual/resource.texi: Likewise.
14482 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14483 child on GNU/Hurd.
14484 * manual/setjmp.texi: Likewise.
14485 * manual/signal.texi: Likewise.
14486 * manual/startup.texi: Likewise.
14487 * manual/stdio.texi: Likewise.
14488 * manual/terminal.texi: Likewise.
14489 (ONLCR): Document as POSIX.
14490 (OXTABS): Document availability on GNU/Linux as XTABS.
14491 (ONOEOT): Document availability separately from other bits.
14492 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14493 * manual/time.texi: Likewise.
14494 * manual/users.texi: Likewise.
14495 * INSTALL: Regenerated.
14496 * sysdeps/gnu/errlist.c: Regenerated.
14497
14498 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14499 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14500 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14501 puts.
14502 * configure: Regenerated.
14503
14504 2012-03-07 Joseph Myers <joseph@codesourcery.com>
14505
14506 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14507 default includes instead of AC_HEADER_CHECK.
14508 * sysdeps/i386/configure: Regenerated.
14509
14510 [BZ #10716]
14511 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14512 * math/s_cacoshf.c (__cacoshf): Likewise.
14513 * math/s_cacoshl.c (__cacoshl): Likewise.
14514 * math/s_casinh.c (__casinh): Set signs of result from argument.
14515 * math/s_casinhf.c (__casinhf): Likewise.
14516 * math/s_casinhl.c (__casinhl): Likewise.
14517 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14518 (casinh_test): Add more tests.
14519 * sysdeps/i386/fpu/libm-test-ulps: Update.
14520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14521
14522 2012-03-07 Ulrich Drepper <drepper@gmail.com>
14523
14524 * po/zh_TW.po: Update from translation team.
14525
14526 * login/Makefile (distribute): Remove variable.
14527 * catgets/Makefile: Likewise.
14528 * mach/Makefile: Likewise.
14529 * malloc/Makefile: Likewise.
14530 * misc/Makefile: Likewise.
14531 * iconv/Makefile: Likewise.
14532 * nscd/Makefile: Likewise.
14533 * hurd/Makefile: Likewise.
14534 * manual/Makefile: Likewise.
14535 * locale/Makefile: Likewise.
14536 * intl/Makefile: Likewise.
14537 * conform/Makefile: Likewise.
14538 * nss/Makefile: Likewise.
14539 * time/Makefile: Likewise.
14540 * soft-fp/Makefile: Likewise.
14541 * dirent/Makefile: Likewise.
14542 * gmon/Makefile: Likewise.
14543 * po/Makefile: Likewise.
14544 * rt/Makefile: Likewise.
14545 * socket/Makefile: Likewise.
14546 * math/Makefile: Likewise.
14547 * signal/Makefile: Likewise.
14548 * debug/Makefile: Likewise.
14549 * elf/Makefile: Likewise.
14550 * timezone/Makefile: Likewise.
14551 * stdlib/Makefile: Likewise.
14552 * iconvdata/Makefile: Likewise.
14553 * sunrpc/Makefile: Likewise.
14554 * io/Makefile: Likewise.
14555 * argp/Makefile: Likewise.
14556 * inet/Makefile: Likewise.
14557 * hesiod/Makefile: Likewise.
14558 * grp/Makefile: Likewise.
14559 * csu/Makefile: Likewise.
14560 * wctype/Makefile: Likewise.
14561 * crypt/Makefile: Likewise.
14562 * libio/Makefile: Likewise.
14563 * string/Makefile: Likewise.
14564 * nis/Makefile: Likewise.
14565 * resolv/Makefile: Likewise.
14566 * stdio-common/Makefile: Likewise.
14567 * wcsmbs/Makefile: Likewise.
14568 * dlfcn/Makefile: Likewise.
14569 * posix/Makefile: Likewise.
14570
14571 [BZ #6959]
14572 * timezone/Makefile: Don't install timezone files, just the programs
14573 and scripts.
14574
14575 2012-03-06 Ulrich Drepper <drepper@gmail.com>
14576
14577 * nss/databases.def: Add missing gshadow entry.
14578
14579 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14580
14581 2012-03-06 Marek Polacek <polacek@redhat.com>
14582
14583 [BZ #13726]
14584 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14585 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14586 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14587 * stdio-common/tst-long-dbl-fphex.c: New file.
14588
14589 2012-03-06 David S. Miller <davem@davemloft.net>
14590
14591 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14592 (set_obp_int): New function.
14593 (get_obp_int): New function.
14594 (__get_clockfreq_via_dev_openprom): Likewise.
14595 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14596 Avoid unused variable warnings on 'val' and use builtin_expect.
14597 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14598 __builtin_expect.
14599 (INLINE_CLONE_SYSCALL): Likewise.
14600
14601 2012-03-05 David S. Miller <davem@davemloft.net>
14602
14603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14604
14605 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14606
14607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14608
14609 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14610 only for |x| >= 40.
14611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14612
14613 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
14614
14615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14616 Replace gettimeofday with __vdso_gettimeofday.
14617
14618 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14619 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14620 __vdso_clock_gettime and __vdso_getcpu.
14621
14622 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14623 time with __vdso_time.
14624
14625 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14626
14627 * manual/lang.texi (size_t): Note types to which size_t may be
14628 equivalent with the GNU C Library, but do not describe when
14629 differences between them are significant.
14630
14631 2012-03-05 Andreas Jaeger <aj@suse.de>
14632
14633 * sysdeps/i386/fpu/libm-test-ulps: Update.
14634
14635 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14636
14637 [BZ #3976]
14638 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14639 (__ieee754_pow): Save and restore rounding mode and use
14640 round-to-nearest for main computations.
14641 * math/libm-test.inc (pow_test_tonearest): New function.
14642 (pow_test_towardzero): Likewise.
14643 (pow_test_downward): Likewise.
14644 (pow_test_upward): Likewise.
14645 (main): Call the new functions.
14646 * sysdeps/i386/fpu/libm-test-ulps: Update.
14647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14648
14649 [BZ #3976]
14650 * math/libm-test.inc (cosh_test_tonearest): New function.
14651 (cosh_test_towardzero): Likewise.
14652 (cosh_test_downward): Likewise.
14653 (cosh_test_upward): Likewise.
14654 (sinh_test_tonearest): Likewise.
14655 (sinh_test_towardzero): Likewise.
14656 (sinh_test_downward): Likewise.
14657 (sinh_test_upward): Likewise.
14658 (main): Call the new functions.
14659 * sysdeps/i386/fpu/libm-test-ulps: Update.
14660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14661
14662 2012-03-05 Tom de Vries <tom@codesourcery.com>
14663
14664 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14665 default stack guard is set in last bytes.
14666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14667
14668 2012-03-05 Kees Cook <keescook@chromium.org>
14669
14670 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14671
14672 [BZ #13656]
14673 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14674 possibly allocate from heap instead of stack.
14675 * stdio-common/bug-vfprintf-nargs.c: New file.
14676 * stdio-common/Makefile (tests): Add nargs overflow test.
14677
14678 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14679
14680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14681
14682 2012-03-03 Marek Polacek <polacek@redhat.com>
14683
14684 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14685 * math/math_private.h: Likewise.
14686 * stdlib/tst-strtod.c: Likewise.
14687 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14688 * sysdeps/x86_64/bits/atomic.h: Likewise.
14689
14690 2012-03-02 David S. Miller <davem@davemloft.net>
14691
14692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14696 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14697 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14698 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14699 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14700
14701 2012-03-02 Roland McGrath <roland@hack.frob.com>
14702
14703 [BZ #13792]
14704 * manual/examples/README: New file, says the example source files
14705 can be used under GPL>=2.
14706 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14707 line containing just "*/".
14708 * manual/examples/add.c: Add copyright header (GPL>=2).
14709 * manual/examples/argp-ex1.c: Likewise.
14710 * manual/examples/argp-ex2.c: Likewise.
14711 * manual/examples/argp-ex3.c: Likewise.
14712 * manual/examples/argp-ex4.c: Likewise.
14713 * manual/examples/atexit.c: Likewise.
14714 * manual/examples/db.c: Likewise.
14715 * manual/examples/dir.c: Likewise.
14716 * manual/examples/dir2.c: Likewise.
14717 * manual/examples/execinfo.c: Likewise.
14718 * manual/examples/filecli.c: Likewise.
14719 * manual/examples/filesrv.c: Likewise.
14720 * manual/examples/fmtmsgexpl.c: Likewise.
14721 * manual/examples/genpass.c: Likewise.
14722 * manual/examples/inetcli.c: Likewise.
14723 * manual/examples/inetsrv.c: Likewise.
14724 * manual/examples/isockad.c: Likewise.
14725 * manual/examples/longopt.c: Likewise.
14726 * manual/examples/memopen.c: Likewise.
14727 * manual/examples/memstrm.c: Likewise.
14728 * manual/examples/mkfsock.c: Likewise.
14729 * manual/examples/mkisock.c: Likewise.
14730 * manual/examples/mygetpass.c: Likewise.
14731 * manual/examples/pipe.c: Likewise.
14732 * manual/examples/popen.c: Likewise.
14733 * manual/examples/rprintf.c: Likewise.
14734 * manual/examples/search.c: Likewise.
14735 * manual/examples/select.c: Likewise.
14736 * manual/examples/setjmp.c: Likewise.
14737 * manual/examples/sigh1.c: Likewise.
14738 * manual/examples/sigusr.c: Likewise.
14739 * manual/examples/stpcpy.c: Likewise.
14740 * manual/examples/strdupa.c: Likewise.
14741 * manual/examples/strftim.c: Likewise.
14742 * manual/examples/strncat.c: Likewise.
14743 * manual/examples/subopt.c: Likewise.
14744 * manual/examples/swapcontext.c: Likewise.
14745 * manual/examples/termios.c: Likewise.
14746 * manual/examples/testopt.c: Likewise.
14747 * manual/examples/testpass.c: Likewise.
14748 * manual/examples/timeval_subtract.c: Likewise.
14749
14750 [BZ #13792]
14751 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14752 function to ...
14753 * manual/timeval_subtract.c.texi: ... here, new file.
14754
14755 2012-03-02 David S. Miller <davem@davemloft.net>
14756
14757 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14758
14759 2012-03-02 Joseph Myers <joseph@codesourcery.com>
14760
14761 [BZ #3976]
14762 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14763 (__sin): Save and restore rounding mode and use round-to-nearest
14764 for all computations.
14765 (__cos): Save and restore rounding mode and use round-to-nearest
14766 for all computations.
14767 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14768 <fenv.h>.
14769 (tan): Save and restore rounding mode and use round-to-nearest for
14770 all computations.
14771 * math/libm-test.inc (cos_test_tonearest): New function.
14772 (cos_test_towardzero): Likewise.
14773 (cos_test_downward): Likewise.
14774 (cos_test_upward): Likewise.
14775 (sin_test_tonearest): Likewise.
14776 (sin_test_towardzero): Likewise.
14777 (sin_test_downward): Likewise.
14778 (sin_test_upward): Likewise.
14779 (tan_test_tonearest): Likewise.
14780 (tan_test_towardzero): Likewise.
14781 (tan_test_downward): Likewise.
14782 (tan_test_upward): Likewise.
14783 (main): Call the new functions.
14784 * sysdeps/i386/fpu/libm-test-ulps: Update.
14785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14786
14787 [BZ #10135]
14788 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14789 small n, then large n, before computing and testing k+n.
14790 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14791 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14792 Likewise.
14793 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14794 Likewise.
14795 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14796 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14797 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14798 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14799 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14800 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14801 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14802 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14803 * math/libm-test.inc (scalbn_test): Add more tests.
14804 (scalbln_test): Likewise.
14805
14806 * manual/filesys.texi (mode_t): Describe constraints on size and
14807 signedness, not exact equivalence to a particular type.
14808 (ino_t): Likewise.
14809 (ino64_t): Likewise.
14810 (dev_t): Likewise.
14811 (nlink_t): Likewise.
14812 (blkcnt_t): Likewise.
14813 (blkcnt64_t): Likewise.
14814 * manual/llio.texi (off_t): Likewise.
14815
14816 [BZ #3976]
14817 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14818 (__ieee754_exp): Save and restore rounding mode and use
14819 round-to-nearest for all computations.
14820 * math/libm-test.inc (exp_test_tonearest): New function.
14821 (exp_test_towardzero): Likewise.
14822 (exp_test_downward): Likewise.
14823 (exp_test_upward): Likewise.
14824 (main): Call the new functions.
14825 * sysdeps/i386/fpu/libm-test-ulps: Update.
14826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14827
14828 2012-03-01 Chris Demetriou <cgd@google.com>
14829
14830 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14831 have predictable order.
14832
14833 2012-03-01 David S. Miller <davem@davemloft.net>
14834
14835 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14836
14837 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14838 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14839 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14840 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14841
14842 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14843 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14844 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14846 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14847 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14848 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14849 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14850 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14851
14852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14853
14854 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14855 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14856 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14857
14858 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14859 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14860 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14861 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14862 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14864 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14865 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14866 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14867 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14868 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14869 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14870 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14871 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14872 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14874 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14875 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14876 * sysdeps/sparc/elf/configure: Regenerated.
14877
14878 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14879
14880 * configure.in (AS, LD): Require binutils 2.20 or later.
14881 * configure: Regenerated.
14882 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14883 as required minimum version.
14884 * INSTALL: Regenerated.
14885
14886 [BZ #2541]
14887 [BZ #4108]
14888 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14889 before squaring exponent.
14890 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14891 bottom long double and 27 bits of top long double before squaring
14892 exponent.
14893 * math/libm-test.inc (erfc_test): Add more tests.
14894 * sysdeps/i386/fpu/libm-test-ulps: Update.
14895 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14897
14898 2012-03-01 Kai Tietz <ktietz@redhat.com>
14899
14900 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14901 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14902 containing bit-fields.
14903 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14904 * soft-fp/single.h (_FP_UNION_S): Likewise.
14905 * soft-fp/double.h (_FP_UNION_D): Likewise.
14906
14907 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14908
14909 [BZ #13786]
14910 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14911 not include ../strcmp.S.
14912 [USE_AS_STRNCASECMP_L]: Likewise.
14913 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14914 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14915 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14916 (__strncasecmp_l_ia32): Define as alias to
14917 __strncasecmp_l_nonascii.
14918
14919 [BZ #5794]
14920 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14921 * sysdeps/i386/fpu/libm-test-ulps: Update.
14922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14923
14924 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14926
14927 2012-02-29 Jeff Law <law@redhat.com>
14928
14929 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14930 out of bounds read.
14931
14932 2012-02-29 Marek Polacek <polacek@redhat.com>
14933
14934 [BZ #13706]
14935 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14936 * elf/Makefile: Add rules to run tst-unused-dep.out.
14937
14938 2012-02-28 David S. Miller <davem@davemloft.net>
14939
14940 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14941 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14944 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14945 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14946
14947 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14948
14949 * math/libm-test.inc (llround_test): Move one test from
14950 lround_test. Use TEST_f_L in moved test.
14951 (lround_test): Move misplaced test to llround_test. Add testcase
14952 from bug 2561.
14953
14954 2012-02-28 Ulrich Drepper <drepper@gmail.com>
14955
14956 * sysdeps/x86_64/fpu/e_expf.S: New file.
14957 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14958
14959 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14960
14961 [BZ #13637]
14962 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14963 of remain_len that may cause incomplete multi-byte character and
14964 false match.
14965 * posix/bug-regex33.c: New file.
14966 * posix/Makefile (tests): Add bug-regex33.
14967
14968 2012-02-28 Joseph Myers <joseph@codesourcery.com>
14969
14970 * manual/macros.texi: New file.
14971 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14972 * manual/libc.texinfo: Include macros.texi.
14973 * manual/creatute.texi: Likewise.
14974 * manual/install.texi: Likewise.
14975 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14976 @glibcadj{} in references to the GNU C Library.
14977 * manual/charset.texi: Likewise.
14978 * manual/conf.texi: Likewise.
14979 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14980 when not using those macros.
14981 * manual/creature.texi: Likewise.
14982 * manual/crypt.texi: Likewise.
14983 * manual/errno.texi: Likewise.
14984 * manual/filesys.texi: Likewise.
14985 * manual/header.texi: Likewise.
14986 * manual/install.texi: Likewise.
14987 * manual/intro.texi: Likewise.
14988 * manual/io.texi: Likewise.
14989 * manual/job.texi: Likewise.
14990 * manual/lang.texi: Likewise.
14991 * manual/libc.texiinfo: Likewise.
14992 * manual/llio.texi: Likewise.
14993 * manual/locale.texi: Likewise.
14994 * manual/maint.texi: Likewise.
14995 * manual/math.texi: Likewise.
14996 * manual/memory.texi: Likewise.
14997 * manual/message.texi: Likewise.
14998 * manual/nss.texi: Likewise.
14999 * manual/pattern.texi: Likewise.
15000 * manual/process.texi: Likewise.
15001 * manual/resource.texi: Likewise.
15002 * manual/search.texi: Likewise.
15003 * manual/setjmp.texi: Likewise.
15004 * manual/signal.texi: Likewise.
15005 * manual/socket.texi: Likewise.
15006 * manual/startup.texi: Likewise.
15007 * manual/stdio.texi: Likewise.
15008 * manual/string.texi: Likewise.
15009 * manual/sysinfo.texi: Likewise.
15010 * manual/syslog.texi: Likewise.
15011 * manual/terminal.texi: Likewise.
15012 * manual/time.texi: Likewise.
15013 * manual/users.texi: Likewise.
15014 * INSTALL: Regenerated.
15015 * NOTES: Regenerated.
15016 * sysdeps/gnu/errlist.c: Regenerated.
15017
15018 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15019
15020 * include/dirent.h: Include <dirstream.h> before
15021 <dirent/dirent.h>.
15022
15023 2012-02-28 David S. Miller <davem@davemloft.net>
15024
15025 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15026 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15027 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15028 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15029
15030 2012-02-27 David S. Miller <davem@davemloft.net>
15031
15032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15034 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15035 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15036
15037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15038 frame pointer instead of stack pointer relative arg slot.
15039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15040 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15041 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15042
15043 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15044
15045 [BZ #3992]
15046 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15047
15048 2012-02-27 David S. Miller <davem@davemloft.net>
15049
15050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15054 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15055 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15056 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15057 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15058
15059 2012-02-27 Joseph Myers <joseph@codesourcery.com>
15060
15061 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15062 later. Allow versions 5-9.
15063 * configure: Regenerated.
15064 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15065 required minimum version and 4.6 as recommended version. Do not
15066 mention bugs in GCC 2.7 and 2.8.
15067 * INSTALL: Regenerated.
15068
15069 2012-02-27 David S. Miller <davem@davemloft.net>
15070
15071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15075 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15076 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15077 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15078 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15079
15080 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15081 manipulate bits before adding and subtracting TWO112[sx].
15082 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15083
15084 2012-02-27 Roland McGrath <roland@hack.frob.com>
15085
15086 [BZ #13775]
15087 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15088 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15089 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15090 being in POSIX, because they are in 1003.1-2008.
15091
15092 * rt/tst-aio.c: Include <fcntl.h>.
15093 * rt/tst-aio7.c: Likewise.
15094 * rt/tst-aio64.c: Likewise.
15095
15096 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15097
15098 2012-02-27 Joseph Myers <joseph@codesourcery.com>
15099
15100 * manual/install.texi (--with-headers): Describe headers as
15101 interface headers, not private headers.
15102 (Specific advice for GNU/Linux systems): Describe use of headers
15103 from "make headers_install", not private headers from older
15104 kernels.
15105 * INSTALL: Regenerated.
15106 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15107 Change to 2.6.19.
15108 * sysdeps/unix/sysv/linux/configure: Regenerated.
15109
15110 * manual/llio.texi (fclean): Remove documentation.
15111
15112 * manual/Makefile (libc-texi-generated): New variable. Include
15113 version.texi.
15114 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15115 $(libc-texi-generated), not duplicated list of files.
15116 (version.texi, stamp-version): New rules.
15117 (realclean): Remove $(libc-texi-generated), not individual files
15118 from that list. Do not remove dir-add.texinfo.
15119 * manual/libc.texinfo: Comment out uses of edition numbers and
15120 references to printed manual. Remove last-updated dates.
15121 (EDITION): Comment out.
15122 (ISBN): Likewise.
15123 (VERSION, UPDATED): Remove.
15124 (version.texi): Include.
15125
15126 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15127
15128 * sysdeps/posix/spawni.c: Include <signal.h>.
15129 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15130 * sysdeps/pthread/aio_fsync.c: Likewise.
15131
15132 2012-02-26 Ulrich Drepper <drepper@gmail.com>
15133
15134 * conform/Makefile (tests): Run only when not cross-compiling and
15135 when fast-check is not defined.
15136
15137 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15138 * conform/data/limits.h-data: Fixes for POSIX2008.
15139 * conform/run-conformtest.sh: Run all tests.
15140 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15141 headers.
15142 * include/bits/dlfcn.h: Likewise.
15143 * include/langinfo.h: Likewise.
15144 * include/monetary.h: Likewise.
15145 * include/sys/poll.h: Likewise.
15146
15147 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15148 for __USE_GNU.
15149 * posix/spawn.h: Define __need_sigset_t.
15150 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15151 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15152 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15153 to get sigevent_t only.
15154 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15155 only for __USE_GNU.
15156 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15157 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15158 process_vm_writev only for __USE_GNU.
15159 * termios/termios.h: Declare tcgetsid also for POSIX2008.
15160
15161 * conform/Makefile: For now ignore errors from run-conformtest.
15162 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15163 POSIX to avoid namespace pollution. Don't prepend headers.
15164 * conform/data/aio.h-data: Fixes for POSIX testing.
15165 * conform/data/fcntl.h-data: Likewise.
15166 * conform/data/glob.h-data: Likewise.
15167 * conform/data/grp.h-data: Likewise.
15168 * conform/data/pthread.h-data: Likewise.
15169 * conform/data/pwd.h-data: Likewise.
15170 * conform/data/signal.h-data: Likewise.
15171 * conform/data/spawn.h-data: Likewise.
15172 * conform/data/stdio.h-data: Likewise.
15173 * conform/data/stdlib.h-data: Likewise.
15174 * conform/data/stropts.h-data: Likewise.
15175 * conform/data/sys/mman.h-data: Likewise.
15176 * conform/data/sys/stat.h-data: Likewise.
15177 * conform/data/sys/types.h-data: Likewise.
15178 * conform/data/sys/wait.h-data: Likewise.
15179 * conform/data/time.h-data: Likewise.
15180 * conform/data/unistd.h-data: Likewise.
15181 * conform/data/utime.h-data: Likewise.
15182
15183 * io/sys/stat.h: fchmod was always in POSIX.
15184 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15185 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15186 * rt/aio.h: Define __need_timespec before including <time.h>.
15187 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15188 struct. Add forward declaration of pthread_attr_t and use it in
15189 sigevent.
15190 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15191 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15192 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15193 always remove CLK_TCK definition.
15194
15195 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15196
15197 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15198
15199 2012-02-25 Ulrich Drepper <drepper@gmail.com>
15200
15201 * conform/run-conformtest.sh: New file.
15202 * conform/Makefile: Run run-conformtest for tests.
15203 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15204 support.
15205
15206 * conform/data/uchar.h-data: New file.
15207 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15208 * conform/data/arpa/inet.h-data: Likewise.
15209 * conform/data/assert.h-data: Likewise.
15210 * conform/data/complex.h-data: Likewise.
15211 * conform/data/cpio.h-data: Likewise.
15212 * conform/data/ctype.h-data: Likewise.
15213 * conform/data/dirent.h-data: Likewise.
15214 * conform/data/dlfcn.h-data: Likewise.
15215 * conform/data/errno.h-data: Likewise.
15216 * conform/data/fcntl.h-data: Likewise.
15217 * conform/data/float.h-data: Likewise.
15218 * conform/data/fmtmsg.h-data: Likewise.
15219 * conform/data/fnmatch.h-data: Likewise.
15220 * conform/data/ftw.h-data: Likewise.
15221 * conform/data/glob.h-data: Likewise.
15222 * conform/data/grp.h-data: Likewise.
15223 * conform/data/iconv.h-data: Likewise.
15224 * conform/data/inttypes.h-data: Likewise.
15225 * conform/data/langinfo.h-data: Likewise.
15226 * conform/data/libgen.h-data: Likewise.
15227 * conform/data/limits.h-data: Likewise.
15228 * conform/data/locale.h-data: Likewise.
15229 * conform/data/math.h-data: Likewise.
15230 * conform/data/monetary.h-data: Likewise.
15231 * conform/data/mqueue.h-data: Likewise.
15232 * conform/data/ndbm.h-data: Likewise.
15233 * conform/data/net/if.h-data: Likewise.
15234 * conform/data/netdb.h-data: Likewise.
15235 * conform/data/netinet/in.h-data: Likewise.
15236 * conform/data/nl_types.h-data: Likewise.
15237 * conform/data/poll.h-data: Likewise.
15238 * conform/data/pthread.h-data: Likewise.
15239 * conform/data/pwd.h-data: Likewise.
15240 * conform/data/regex.h-data: Likewise.
15241 * conform/data/sched.h-data: Likewise.
15242 * conform/data/search.h-data: Likewise.
15243 * conform/data/semaphore.h-data: Likewise.
15244 * conform/data/setjmp.h-data: Likewise.
15245 * conform/data/signal.h-data: Likewise.
15246 * conform/data/spawn.h-data: Likewise.
15247 * conform/data/stdarg.h-data: Likewise.
15248 * conform/data/stdio.h-data: Likewise.
15249 * conform/data/stdlib.h-data: Likewise.
15250 * conform/data/string.h-data: Likewise.
15251 * conform/data/strings.h-data: Likewise.
15252 * conform/data/stropts.h-data: Likewise.
15253 * conform/data/sys/ipc.h-data: Likewise.
15254 * conform/data/sys/mman.h-data: Likewise.
15255 * conform/data/sys/msg.h-data: Likewise.
15256 * conform/data/sys/resource.h-data: Likewise.
15257 * conform/data/sys/select.h-data: Likewise.
15258 * conform/data/sys/sem.h-data: Likewise.
15259 * conform/data/sys/shm.h-data: Likewise.
15260 * conform/data/sys/socket.h-data: Likewise.
15261 * conform/data/sys/stat.h-data: Likewise.
15262 * conform/data/sys/statvfs.h-data: Likewise.
15263 * conform/data/sys/time.h-data: Likewise.
15264 * conform/data/sys/timeb.h-data: Likewise.
15265 * conform/data/sys/times.h-data: Likewise.
15266 * conform/data/sys/types.h-data: Likewise.
15267 * conform/data/sys/uio.h-data: Likewise.
15268 * conform/data/sys/un.h-data: Likewise.
15269 * conform/data/sys/utsname.h-data: Likewise.
15270 * conform/data/sys/wait.h-data: Likewise.
15271 * conform/data/syslog.h-data: Likewise.
15272 * conform/data/tar.h-data: Likewise.
15273 * conform/data/termios.h-data: Likewise.
15274 * conform/data/utime.h-data: Likewise.
15275 * conform/data/utmpx.h-data: Likewise.
15276 * conform/data/varargs.h-data: Likewise.
15277 * conform/data/wchar.h-data: Likewise.
15278 * conform/data/wctype.h-data: Likewise.
15279 * conform/data/wordexp.h-data: Likewise.
15280
15281 * include/stropts.h: New file.
15282 * include/uchar.h: New file.
15283 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15284 * include/assert.h: Likewise.
15285 * include/ctype.h: Likewise.
15286 * include/dirent.h: Likewise.
15287 * include/dlfcn.h: Likewise.
15288 * include/fcntl.h: Likewise.
15289 * include/fnmatch.h: Likewise.
15290 * include/glob.h: Likewise.
15291 * include/grp.h: Likewise.
15292 * include/libio.h: Likewise.
15293 * include/locale.h: Likewise.
15294 * include/math.h: Likewise.
15295 * include/net/if.h: Likewise.
15296 * include/netdb.h: Likewise.
15297 * include/netinet/in.h: Likewise.
15298 * include/pthread.h: Likewise.
15299 * include/pwd.h: Likewise.
15300 * include/regex.h: Likewise.
15301 * include/sched.h: Likewise.
15302 * include/search.h: Likewise.
15303 * include/setjmp.h: Likewise.
15304 * include/signal.h: Likewise.
15305 * include/stdio.h: Likewise.
15306 * include/stdlib.h: Likewise.
15307 * include/string.h: Likewise.
15308 * include/sys/cdefs.h: Likewise.
15309 * include/sys/mman.h: Likewise.
15310 * include/sys/msg.h: Likewise.
15311 * include/sys/resource.h: Likewise.
15312 * include/sys/select.h: Likewise.
15313 * include/sys/socket.h: Likewise.
15314 * include/sys/stat.h: Likewise.
15315 * include/sys/statvfs.h: Likewise.
15316 * include/sys/time.h: Likewise.
15317 * include/sys/times.h: Likewise.
15318 * include/sys/uio.h: Likewise.
15319 * include/sys/utsname.h: Likewise.
15320 * include/sys/wait.h: Likewise.
15321 * include/termios.h: Likewise.
15322 * include/time.h: Likewise.
15323 * include/ulimit.h: Likewise.
15324 * include/unistd.h: Likewise.
15325 * include/utime.h: Likewise.
15326 * include/wchar.h: Likewise.
15327 * include/wctype.h: Likewise.
15328 * include/wordexp.h: Likewise.
15329
15330 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15331
15332 * time/time.h: TIME_UTC must be a macro.
15333 Make timespec_get available for ISO C11 only as well.
15334
15335 2012-02-24 Ulrich Drepper <drepper@gmail.com>
15336
15337 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15338 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15339
15340 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15341
15342 * configure.in: Use -o not -a in test for unsupported multi-arch.
15343
15344 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15345
15346 * manual/texinfo.tex: Update to version 2012-01-19.16.
15347
15348 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15349
15350 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15351
15352 2012-02-24 Roland McGrath <roland@hack.frob.com>
15353
15354 [BZ #13738]
15355 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15356 * manual/fdl-1.3.texi: New file.
15357 * manual/fdl-1.1.texi: File removed.
15358
15359 [BZ #13738]
15360 * manual/libc.texinfo (FDL_VERSION): New @set.
15361 Use it for mention of FDL in cover text.
15362 (Documentation License): Use it in @include file name.
15363
15364 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15365 Roland McGrath <roland@hack.frob.com>
15366
15367 [BZ #5461]
15368 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15369 not LONG_LONG_MAX and LONG_LONG_MIN.
15370 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15371 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15372 name.
15373 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15374
15375 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15376
15377 [BZ #2547]
15378 [BZ #11365]
15379 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15380 manipulate bits before adding and subtracting TWO23[sx].
15381 * math/libm-test.inc (nearbyint_test): Add more tests.
15382
15383 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15384
15385 [BZ #2548]
15386 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15387 bits before adding and subtracting TWO23[sx].
15388 * math/libm-test.inc (rint_test): Add more tests.
15389 (rint_test_tonearest): Likewise.
15390 (rint_test_towardzero): Likewise.
15391 (rint_test_downward): Likewise.
15392 (rint_test_upward: Likewise.
15393
15394 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15395
15396 [BZ #10110]
15397 * include/stdc-predef.h: New file. Extracted from features.h.
15398 * include/features.h: Include stdc-predef.h.
15399 * Makefile (headers): Add stdc-predef.h.
15400 * CONFORMANCE (Compiler limitations): Update.
15401
15402 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15403
15404 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15405
15406 2012-02-21 David S. Miller <davem@davemloft.net>
15407
15408 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15409 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15410
15411 2012-02-20 David S. Miller <davem@davemloft.net>
15412
15413 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15414 using a normal save/restore sequence, rather than allocating a
15415 dummy stack frame just to store a frame pointer and restore.
15416 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15417
15418 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15419
15420 * manual/install.texi: Fix stray word in line-wrapped comment.
15421
15422 2012-02-20 David S. Miller <davem@davemloft.net>
15423
15424 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15425 both binutils and gcc support GOTDATA.
15426
15427 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15428 "rd %pc" in the PIC register setup sequences.
15429
15430 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15431 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15432 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15433 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15434 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15435 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15436 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15437 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15438 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15439 (SYSCALL_ERROR_HANDLER): Likewise.
15440 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15441 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15443 (SYSCALL_ERROR_HANDLER): Likewise.
15444
15445 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15446 (HAVE_GCC_GOTDATA): New.
15447 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15448 relocation support in both binutils and gcc.
15449 * sysdeps/sparc/elf/configure: Regenerate.
15450
15451 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15452 * sysdeps/sparc/sparc32/elf/configure: Delete.
15453 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15454 * sysdeps/sparc/sparc64/elf/configure: Delete.
15455 * sysdeps/sparc/elf/configure.in: New file.
15456 * sysdeps/sparc/elf/configure: Generate.
15457
15458 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15459 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15460 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15461 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15462 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15463
15464 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15465
15466 * manual/install.texi: Do not mention specific glibc version
15467 numbers.
15468 * manual/libc.texinfo (VERSION, UPDATED): Update.
15469 (@copying): Use @copyright{} and range of years.
15470
15471 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15472
15473 [BZ #13695]
15474 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15475 [crti.S not in sysdirs] (generated): Do not append.
15476 [crti.S not in sysdirs] (omit-deps): Likewise.
15477 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15478 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15479 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15480 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15481 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15482 Likewise.
15483 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15484 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15485 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15486 * csu/defs.awk: Remove file.
15487 * sysdeps/generic/initfini.c: Likewise.
15488 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15489 variable.
15490 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15491 Likewise.
15492
15493 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15494
15495 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15496 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15497 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15498 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15499 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15500 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15501 <bits/epoll.h>.
15502 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15503 (__EPOLL_PACKED): Define to empty if not defined by
15504 <bits/epoll.h>.
15505 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15507 bits/epoll.h.
15508
15509 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15510
15511 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15512 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15513 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15514 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15515 <bits/timerfd.h>.
15516 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15518 bits/timerfd.h.
15519
15520 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15521
15522 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15523 in C locale.
15524 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15525 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15526 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15528
15529 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15530
15531 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15532 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15533
15534 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15535
15536 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15537 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15538 defined.
15539 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15540 Likewise.
15541 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15542 entry for 2.16.
15543
15544 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15545
15546 * math/w_acos.c: Use non-signaling floating-point comparisons.
15547 * math/w_acosf.c: Likewise.
15548 * math/w_acosh.c: Likewise.
15549 * math/w_acoshf.c: Likewise.
15550 * math/w_acoshl.c: Likewise.
15551 * math/w_acosl.c: Likewise.
15552 * math/w_asin.c: Likewise.
15553 * math/w_asinf.c: Likewise.
15554 * math/w_asinl.c: Likewise.
15555 * math/w_atanh.c: Likewise.
15556 * math/w_atanhf.c: Likewise.
15557 * math/w_atanhl.c: Likewise.
15558 * math/w_exp2.c: Likewise.
15559 * math/w_exp2f.c: Likewise.
15560 * math/w_exp2l.c: Likewise.
15561 * math/w_j0.c: Likewise.
15562 * math/w_j0f.c: Likewise.
15563 * math/w_j0l.c: Likewise.
15564 * math/w_j1.c: Likewise.
15565 * math/w_j1f.c: Likewise.
15566 * math/w_j1l.c: Likewise.
15567 * math/w_jn.c: Likewise.
15568 * math/w_jnf.c: Likewise.
15569 * math/w_log.c: Likewise.
15570 * math/w_log10.c: Likewise.
15571 * math/w_log10f.c: Likewise.
15572 * math/w_log10l.c: Likewise.
15573 * math/w_log2.c: Likewise.
15574 * math/w_log2f.c: Likewise.
15575 * math/w_log2l.c: Likewise.
15576 * math/w_logf.c: Likewise.
15577 * math/w_logl.c: Likewise.
15578 * math/w_sqrt.c: Likewise.
15579 * math/w_sqrtf.c: Likewise.
15580 * math/w_sqrtl.c: Likewise.
15581 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15582 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15583 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15584 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15585 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15586
15587 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15588
15589 [BZ #9739]
15590 * manual/string.texi (strnlen): Use correct parameter name in
15591 equivalent expression.
15592
15593 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15594
15595 [BZ #11174]
15596 * manual/users.texi (seteuid): Consistently use neweuid for
15597 argument name.
15598
15599 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15600
15601 [BZ #13704]
15602 * manual/nss.texi (Services in the NSS configuration): Correct
15603 list of services in example configuration file.
15604
15605 2012-02-19 Nick Bowler <nbowler@draconx.ca>
15606
15607 [BZ #11322]
15608 * manual/arith.texi: Remove statements about negative zero
15609 behaving identically to zero.
15610
15611 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15612
15613 [BZ #5993]
15614 * manual/install.texi: Do not document upgrading from libc5.
15615
15616 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15617
15618 [BZ #4596]
15619 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15620
15621 2012-02-18 David S. Miller <davem@davemloft.net>
15622
15623 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15624 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15625 %o7 across the call.
15626 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15627 instead.
15628 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15629 SETUP_PIC_REG_LEAF.
15630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15631 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15632 * sysdeps/sparc/crtn.S: Likewise.
15633
15634 2012-02-17 Ulrich Drepper <drepper@gmail.com>
15635
15636 * aout/Makefile: Remove.
15637
15638 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15639
15640 [BZ #13058]
15641 * manual/examples/argp-ex1.c (main): Format definition in GNU
15642 style.
15643 * manual/examples/argp-ex2.c (main): Likewise.
15644 * manual/examples/argp-ex3.c (main): Likewise.
15645 * manual/examples/argp-ex4.c (main): Likewise.
15646 * manual/examples/longopt.c (main): Use new-style prototype
15647 definition.
15648 * manual/examples/strncat.c (main): Specify return type and use
15649 (void) for arguments.
15650 * manual/examples/subopt.c (main): Use char **argv argument.
15651
15652 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15653
15654 [BZ #5077]
15655 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15656 rounding modes.
15657
15658 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15659
15660 [BZ #6907]
15661 * manual/string.texi (strchr): Change when strchrnul is
15662 recommended.
15663
15664 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15665
15666 [BZ #174]
15667 * manual/locale.texi (setlocale): Document LOCPATH.
15668
15669 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15670
15671 [BZ #10210]
15672 * manual/process.texi (execle): Move @dots{} before last argument.
15673
15674 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
15675
15676 [BZ #12047]
15677 * manual/charset.texi (Generic Charset Conversion): Fix typo
15678 (LC_TYPE -> LC_CTYPE).
15679
15680 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15681
15682 [BZ #5805]
15683 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15684 (scalbnf): Likewise.
15685 (scalbnl): Likewise.
15686 (scalbln): Likewise.
15687 (scalblnf): Likewise.
15688 (scalblnl): Likewise.
15689 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15690 (vwarnx): Likewise.
15691 (verr): Likewise.
15692 (verrx): Likewise.
15693 * manual/filesys.texi (telldir): Use braces around return type.
15694 * manual/llio.texi (mmap): Add space after comma.
15695 (mmap64): Likewise.
15696 * manual/math.texi (jn): Use @var{} on parameter names.
15697 (jnf): Likewise.
15698 (jnl): Likewise.
15699 (yn): Likewise.
15700 (ynf): Likewise.
15701 (ynl): Likewise.
15702 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15703 line.
15704 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15705 "...".
15706 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15707 (sched_get_priority_max): Likewise.
15708 * manual/signal.texi (sigvec): Add space after comma.
15709 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15710 names.
15711 (if_indextoname): Likewise.
15712 (if_freenameindex): Likewise.
15713 (sendto): Use ',' instead of '.' in prototype.
15714 * manual/startup.texi (syscall): Use @dots{} instead of literal
15715 "...".
15716 * manual/stdio.texi (__fpending): Separate initial words of
15717 paragraph from @deftypefun line.
15718 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15719 "...".
15720 (vsyslog): Use @var{} on parameter names.
15721 * manual/terminal.texi (stty): Use @var{} on parameter names.
15722 * manual/users.texi (getutmp): Use @var{} on parameter names.
15723 (getutmpx): Likewise.
15724
15725 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15726
15727 [BZ #6884]
15728 * manual/stdio.texi (fopen): Fix typos in description of
15729 ",ccs=STRING".
15730
15731 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15732
15733 [BZ #4026]
15734 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15735 get clock_id definition.
15736
15737 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
15738
15739 [BZ #4822]
15740 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15741 (madvise): Cast every argument to void on its own.
15742
15743 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15744
15745 [BZ #9902]
15746 * manual/startup.texi (Exit Status): Fix typo.
15747
15748 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15749
15750 [BZ #10140]
15751 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15752 * manual/examples/argp-ex2.c: Likewise.
15753 * manual/examples/argp-ex3.c: Likewise.
15754
15755 2012-02-16 Richard Henderson <rth@redhat.com>
15756
15757 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15758 * sysdeps/s390/s390-32/initfini.c: Remove.
15759 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15760 * sysdeps/s390/s390-64/initfini.c: Remove.
15761
15762 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15763
15764 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15765 compiler output for sysdeps/generic/initfini.c.
15766 * sysdeps/sh/elf/initfini.c: Remove file.
15767
15768 2012-02-16 David S. Miller <davem@davemloft.net>
15769
15770 [BZ #11494]
15771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15772
15773 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15774 * sysdeps/sparc/crti.S: New file.
15775 * sysdeps/sparc/crtn.S: New file.
15776 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15777 * sysdeps/sparc/sparc64/Makefile: Likewise.
15778
15779 2012-02-15 Mike Frysinger <vapier@gentoo.org>
15780
15781 [BZ #3335]
15782 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15783
15784 2012-02-15 Roland McGrath <roland@hack.frob.com>
15785
15786 [BZ #4822]
15787 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15788
15789 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15790 (write, read, close): Likewise.
15791 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15792
15793 2012-02-15 Joseph Myers <joseph@codesourcery.com>
15794
15795 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15796 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15797 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15798 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15799 <bits/signalfd.h>.
15800 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15802 bits/signalfd.h.
15803
15804 2012-02-14 Marek Polacek <polacek@redhat.com>
15805
15806 * sysdeps/x86_64/crti.S: New file.
15807 * sysdeps/x86_64/crtn.S: New file.
15808 * sysdeps/x86_64/elf/initfini.c: Remove file.
15809
15810 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15811
15812 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15813 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15814 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15815 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15816 <bits/inotify.h>.
15817 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15819 bits/inotify.h.
15820
15821 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15822
15823 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15824 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15825 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15826 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15827 <bits/eventfd.h>.
15828 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15830 bits/eventfd.h.
15831
15832 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15833
15834 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15835 __feraiseexcept instead of feraiseexcept.
15836
15837 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15838 nanosleep invocations.
15839 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15840 strings, and add error checking for a nanosleep invocations.
15841
15842 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15843
15844 Replace FSF snail mail address with URLs, as per GNU coding standards.
15845 Most of the snail mail addresses were wrong anyway, and omitting
15846 them makes the source code easier to maintain. Almost all of the
15847 changes are to license notices and to locale LC_IDENTIFICATION
15848 addresses, except for this one:
15849 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15850 not its snail mail address.
15851
15852 2012-02-09 Richard Henderson <rth@twiddle.net>
15853
15854 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15855 of kernel-features.h.
15856
15857 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15858
15859 2012-02-08 Marek Polacek <polacek@redhat.com>
15860
15861 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15862 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15863 * sysdeps/gnu/_G_config.h: Likewise.
15864 * sysdeps/generic/_G_config.h: Likewise.
15865
15866 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15867
15868 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15869 tests.
15870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15871
15872 * sysdeps/powerpc/powerpc32/crti.S: New file.
15873 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15874 * sysdeps/powerpc/powerpc64/crti.S: New file.
15875 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15876
15877 * Makeconfig (have-initfini): Don't set.
15878 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15879 * configure.in (nopic_initfini): Don't substitute.
15880 * config.h.in (HAVE_INITFINI): Don't #undef.
15881 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15882 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15883
15884 2012-02-08 Joseph Myers <joseph@codesourcery.com>
15885
15886 Support crti.S and crtn.S provided directly by architectures.
15887 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15888 [crti.S in sysdirs] (omit-deps): Likewise.
15889 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15890 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15891 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15892 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15893 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15894 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15895 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15896 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15897 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15898 compiler output for sysdeps/generic/initfini.c.
15899 * sysdeps/i386/elf/Makefile: Remove file.
15900 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15901
15902 2012-02-07 Marek Polacek <polacek@redhat.com>
15903
15904 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15905 * sysdeps/gnu/_G_config.h: Likewise.
15906 * sysdeps/mach/hurd/_G_config.h: Likewise.
15907
15908 2012-02-07 Marek Polacek <polacek@redhat.com>
15909
15910 * math/Makefile (tests): Add tst-CMPLX2.
15911 * math/tst-CMPLX2.c: New file.
15912
15913 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15914
15915 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15916
15917 * math/libm-test.inc (jn_test): Add missing L suffix.
15918
15919 2012-02-06 Marek Polacek <polacek@redhat.com>
15920
15921 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15922 * sysdeps/i386/fpu/e_powf.S: Likewise.
15923 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15924 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15925 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15926 * sysdeps/i386/fpu/e_pow.S: Likewise.
15927 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15928 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15929 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15930 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15931 * sysdeps/i386/fpu/e_log2.S: Likewise.
15932 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15933 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15934 * sysdeps/i386/fpu/e_powl.S: Likewise.
15935 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15936 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15937 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15938 * sysdeps/i386/fpu/e_logl.S: Likewise.
15939 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15940 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15941 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15942 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15943 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15944 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15945 * sysdeps/i386/fpu/e_log.S: Likewise.
15946 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15947 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15948 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15949 * sysdeps/i386/fpu/e_logf.S: Likewise.
15950 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15951 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15952 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15953 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15954 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15955 * sysdeps/i386/fpu/e_log10.S: Likewise.
15956 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15957 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15958 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15959 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15960 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15961 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15962 * sysdeps/i386/asm-syntax.h: Likewise.
15963 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15964 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15965 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15966 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15967 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15968 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15969 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15970 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15971 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15972 * sysdeps/powerpc/sysdep.h: Likewise.
15973 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15974 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15975
15976 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15977
15978 [BZ #411]
15979 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15980
15981 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15982
15983 * sysdeps/i386/sysdep.h: Include <features.h>.
15984 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15985 version.
15986
15987 2012-02-05 Joseph Myers <joseph@codesourcery.com>
15988
15989 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15990 Define.
15991 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15992 LOAD_PIC_REG_STR.
15993
15994 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15995
15996 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15997 (SETUP_PIC_REG): Use GET_PC_THUNK.
15998 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15999 macro.
16000
16001 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16002
16003 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16004 for non-PIC compilation.
16005 (SETUP_PIC_REG): Add .p2align directive.
16006 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16007 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16008 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16009 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16010 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16011 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16012 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16013 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16014 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16015 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16016 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16017 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16018 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16019 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16020 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16021 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16022 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16023 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16024 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16025 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16026 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16027 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16028 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16029 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16030 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16032 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16033 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16034 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16035 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16036 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16037 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16038 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16039 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16040 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16041 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16042 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16043 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16044 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16045 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16046 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16047
16048 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16049
16050 * math/tst-CMPLX.c: Include <stdio.h>.
16051
16052 2012-01-31 Joseph Myers <joseph@codesourcery.com>
16053
16054 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16055 float.
16056 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16057 * sysdeps/sparc/bits/mathdef.h: Likewise.
16058
16059 2012-01-31 Marek Polacek <polacek@redhat.com>
16060
16061 * libio/libio.h: Don't define _PARAMS.
16062 * locale/programs/config.h: Don't define PARAMS.
16063 * stdlib/strtol_l.c: Likewise.
16064 (__strtol_l): Remove PARAMS from the prototype.
16065
16066 2012-01-31 Ulrich Drepper <drepper@gmail.com>
16067
16068 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16069 names. Just use the correct names. Remove unnecessary wrapper
16070 functions.
16071 * malloc/arena.c: Likewise.
16072 * malloc/hooks.c: Likewise.
16073
16074 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16075 ARENA_TEST says not to. Simplify test for creation of a new arena.
16076 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16077
16078 2012-01-30 Ulrich Drepper <drepper@gmail.com>
16079
16080 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16081 into tail calls.
16082 (update_get_addr): New function.
16083 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16084 GET_ADDR_MODULE parameter.
16085
16086 2012-01-30 Joseph Myers <joseph@codesourcery.com>
16087
16088 * crypt/cert.c: Remove __STDC__ conditionals.
16089 * crypt/crypt-entry.c: Likewise.
16090 * crypt/crypt_util.c: Likewise.
16091 * libio/filedoalloc.c: Likewise.
16092 * libio/fileops.c: Likewise.
16093 * libio/genops.c: Likewise.
16094 * libio/iofclose.c: Likewise.
16095 * libio/iofdopen.c: Likewise.
16096 * libio/iofopen.c: Likewise.
16097 * libio/iofopen64.c: Likewise.
16098 * libio/iogetdelim.c: Likewise.
16099 * libio/iopopen.c: Likewise.
16100 * libio/obprintf.c: Likewise.
16101 * libio/oldfileops.c: Likewise.
16102 * libio/oldiofclose.c: Likewise.
16103 * libio/oldiofdopen.c: Likewise.
16104 * libio/oldiofopen.c: Likewise.
16105 * libio/oldiopopen.c: Likewise.
16106 * libio/wfiledoalloc.c: Likewise.
16107 * libio/wgenops.c: Likewise.
16108 * locale/programs/xmalloc.c: Likewise.
16109 * misc/syslog.c: Likewise.
16110 * stdio-common/xbug.c: Likewise.
16111 * string/memchr.c: Likewise.
16112 * string/memcmp.c: Likewise.
16113 * string/memrchr.c: Likewise.
16114 * string/rawmemchr.c: Likewise.
16115 * sysdeps/posix/getcwd.c: Likewise.
16116 * time/strftime_l.c: Likewise.
16117
16118 2012-01-30 Joseph Myers <joseph@codesourcery.com>
16119
16120 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16121 * config.make.in (config-cflags-sse2avx): Define.
16122 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16123 Fix typo.
16124
16125 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16126
16127 * scripts/config.guess: Update from upstream config git repository.
16128 * scripts/config.sub: Likewise.
16129
16130 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16131
16132 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16133 (EM_NUM): Update.
16134 (R_TILEPRO_*, R_TILEGX_*): New macros.
16135
16136 * scripts/firstversions.awk: Fix bug in version range handling.
16137
16138 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16139
16140 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16141
16142 * include/sys/epoll.h: New file.
16143 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16144 libc_hidden_def.
16145
16146 2012-01-28 Ulrich Drepper <drepper@gmail.com>
16147
16148 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16149 Avoid unnecessary __WORDSIZE == 64 test.
16150 (fmaxf): Use VEX format if possible.
16151 (fmax): Likewise.
16152 (fminf): Likewise.
16153 (fmin): Likewise.
16154
16155 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16156 * math/math_private.h: Remove libc_fegetround* and
16157 libc_fesetround*.
16158 * sysdeps/i386/configure.in: Check for -msse2avx.
16159 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16160 also if SSE2AVX is defined.
16161 Remove libc_fegetround* and libc_fesetround*.
16162 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16163 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16164 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16165 of HAS_YMM_USABLE.
16166 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16167 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16168 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16169 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16170 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16171
16172 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16173
16174 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16175
16176 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16177 size is not set.
16178 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16179
16180 2012-01-27 Ulrich Drepper <drepper@gmail.com>
16181
16182 [BZ #13618]
16183 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16184 relocation.
16185 * Makeconfig (libm): Define.
16186 * elf/Makefile: Add rules to build and run tst-relsort1.
16187 * elf/tst-relsort1.c: New file.
16188 * elf/tst-relsort1mod1.c: New file.
16189 * elf/tst-relsort1mod2.c: New file.
16190
16191 2012-01-27 Joseph Myers <joseph@codesourcery.com>
16192
16193 * math/s_ldexp.c: Remove __STDC__ conditionals.
16194 * math/s_ldexpf.c: Likewise.
16195 * math/s_ldexpl.c: Likewise.
16196 * math/s_nextafter.c: Likewise.
16197 * math/s_nexttowardf.c: Likewise.
16198 * math/s_significand.c: Likewise.
16199 * math/s_significandf.c: Likewise.
16200 * math/s_significandl.c: Likewise.
16201 * math/w_jnl.c: Likewise.
16202 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16203 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16204 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16205 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16206 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16207 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16208 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16209 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16210 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16211 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16212 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16213 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16214 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16215 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16216 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16217 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16218 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16219 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16220 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16221 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16222 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16223 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16224 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16225 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16226 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16227 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16228 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16229 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16230 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16231 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16232 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16233 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16234 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16235 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16236 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16237 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16238 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16239 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16240 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16241 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16242 * sysdeps/ieee754/k_standard.c: Likewise.
16243 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16244 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16245 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16246 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16247 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16248 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16249 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16250 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16251 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16252 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16253 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16254 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16255 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16256 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16257 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16258 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16259 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16260 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16261 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16262 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16263 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16264 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16265 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16266 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16267 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16268 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16269 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16270 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16271 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16272 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16273 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16274 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16275 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16276 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16277 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16278 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16279 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16280 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16281 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16282 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16283 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16284 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16285 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16286 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16287 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16288 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16289 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16290 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16291 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16292 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16293 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16294 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16295 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16296 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16297 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16298 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16299 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16300 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16301 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16302 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16303 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16304 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16305 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16306 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16307 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16308 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16309 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16310 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16311 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16312 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16313 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16314 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16315 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16316 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16317 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16318 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16320 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16321 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16322 * sysdeps/ieee754/s_matherr.c: Likewise.
16323 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16324 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16325 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16326 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16327
16328 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16329
16330 * crypt/md5.h: Remove __STDC__ conditionals.
16331 * libio/libioP.h: Likewise.
16332 * locale/programs/config.h: Likewise.
16333 * sysdeps/generic/sysdep.h: Likewise.
16334 * sysdeps/i386/asm-syntax.h: Likewise.
16335 * sysdeps/s390/asm-syntax.h: Likewise.
16336 * sysdeps/unix/sysdep.h: Likewise.
16337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16339
16340 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16341
16342 * libio/libio.h: Remove __STDC__ conditionals.
16343 * malloc/obstack.h: Likewise.
16344 * math/complex.h: Likewise.
16345 * math/math.h: Likewise.
16346 * sysdeps/generic/_G_config.h: Likewise.
16347 * sysdeps/gnu/_G_config.h: Likewise.
16348 * sysdeps/mach/hurd/_G_config.h: Likewise.
16349 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16350 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16351 * sysdeps/sparc/bits/mathdef.h: Likewise.
16352
16353 2012-01-26 Ulrich Drepper <drepper@gmail.com>
16354
16355 [BZ #13583]
16356 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16357 Clean up HAS_* macros.
16358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16359 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16360 possible.
16361 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16362 HAS_AVX.
16363 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16364 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16365 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16366 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16367 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16368
16369 2012-01-25 Joseph Myers <joseph@codesourcery.com>
16370
16371 * elf/tst-unique3.cc (gets): Remove declaration.
16372 * elf/tst-unique3lib.cc (gets): Likewise.
16373 * elf/tst-unique3lib2.cc (gets): Likewise.
16374 * elf/tst-unique4.cc (gets): Likewise.
16375
16376 2012-01-24 Ulrich Drepper <drepper@gmail.com>
16377
16378 * include/stdio.h: Add C++ protection. Add gets declarations and
16379 definitions.
16380 * debug/tst-chk1.c: Don't declare gets here.
16381 * stdio-common/tst-gets.c: Likewise.
16382
16383 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16384
16385 * posix/glob: Remove directory.
16386
16387 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16388
16389 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16390
16391 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16392
16393 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16394 of the non-standard EPFNOSUPPORT.
16395
16396 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16397
16398 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16399 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16400 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16401
16402 2012-01-21 Ulrich Drepper <drepper@gmail.com>
16403
16404 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16405
16406 2012-01-20 Ulrich Drepper <drepper@gmail.com>
16407
16408 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16409 transient errors.
16410 * nscd/grpcache.c (cache_addgr): Likewise.
16411 * nscd/hstcache.c (cache_addhst): Likewise.
16412 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16413 * nscd/pwdcache.c (cache_addpw): Likewise.
16414 * nscd/servicescache.c (cache_addserv): Likewise.
16415
16416 2012-01-16 Ulrich Drepper <drepper@gmail.com>
16417
16418 * malloc/malloc.c: Various cleanups.
16419 * malloc/hooks.c: Likewise.
16420
16421 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16422 * stdlib/bug-fmtmsg1.c: New file.
16423
16424 * stdlib/fmtmsg.c (init): Add missing unlock.
16425 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16426
16427 2012-01-12 Marek Polacek <polacek@redhat.com>
16428
16429 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16430 and _GNU_SOURCE.
16431
16432 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16433
16434 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16435 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16436 macro to ensure uniqueness of label name.
16437 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16438 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16439
16440 2012-01-11 Ulrich Drepper <drepper@gmail.com>
16441
16442 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16443
16444 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16445 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16446 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16447 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16448
16449 2012-01-10 Ulrich Drepper <drepper@gmail.com>
16450
16451 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16452
16453 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16454 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16455 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16456
16457 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16458
16459 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16460 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16461 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16462 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16463
16464 * math/bits/math-finite.h: Add ldexp support.
16465
16466 2012-01-10 Marek Polacek <polacek@redhat.com>
16467
16468 * locale/programs/localedef.h (show_archive_content): Add noreturn
16469 attribute.
16470
16471 2012-01-09 Ulrich Drepper <drepper@gmail.com>
16472
16473 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16474
16475 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16476
16477 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16478
16479 * io/Makefile (headers): Add bits/poll2.h.
16480
16481 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16482
16483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16484 typo #include statement.
16485
16486 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16487
16488 * include/sys/cdefs.h: Define __attribute_alloc_size.
16489 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16490 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16491 * elf/pldd.c: Likewise.
16492 * iconv/iconv_charmap.c: Likewise.
16493 * iconv/iconvconfig.c: Likewise.
16494 * iconv/strtab.c: Likewise.
16495 * locale/programs/locale.c: Likewise.
16496 * locale/programs/localedef.h: Likewise.
16497 * locale/programs/simple-hash.c: Likewise.
16498 * nscd/nscd.h: Likewise.
16499 * nss/makedb.c: Likewise.
16500 * sysdeps/generic/ldconfig.h: Likewise.
16501 * locale/programs/localedef.c: Remove xmalloc prototype.
16502 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16503
16504 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16505
16506 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16507 appropriate.
16508
16509 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16510
16511 * math/Makefile (tests): Add tst-CMPLX.
16512 * math/tst-CMPLX.c: New file.
16513
16514 * math/complex.h (CMPLXL): Fix typo.
16515
16516 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16517 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16518 GLIBC_2.16.
16519 * debug/tst-chk1.c: Add poll and ppoll tests.
16520 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16521 * include/sys/poll.h: Add hidden proto for ppoll.
16522 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16523 * sysdeps/mach/hurd/ppoll.c: Likewise.
16524 * io/ppoll.c: Likewise.
16525 * debug/poll_chk.c: New file.
16526 * debug/ppoll_chk.c: New file.
16527 * include/bits/poll2.h: New file.
16528 * io/bits/poll2.h: New file.
16529
16530 [BZ #1350]
16531 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16532
16533 * configure.in: static is always set to yes. Remove.
16534 * config.make.in: Don't set build-static.
16535 * Makeconfig: Remove use of build-static.
16536 * dlfcn/Makefile: Likewise.
16537 * elf/Makefile: Likewise.
16538 * math/Makefile: Likewise.
16539 * misc/Makefile: Likewise.
16540 * nptl/Makefile: Likewise.
16541 * sysdeps/mach/hurd/Makefile: Likewise.
16542
16543 * configure.in: PWD_P is not used anymore.
16544 * config.make.in: Remove PWD_P entry.
16545
16546 * configure.in: Remove last remnants of RANLIB.
16547 No need to check for signed size_t anymore.
16548 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16549 and IA-64.
16550 Remove __builtin_expect test because we require at least gcc 3.4.
16551 * aclocal.m4: Likewise.
16552
16553 * wcsmbs/mbrtoc16.c: Implement using towc function.
16554 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16555 * wcsmbs/wcsmbsload.c: Likewise.
16556 * iconv/gconv_simple.c: Likewise.
16557 * iconv/gconv_int.h: Likewise.
16558 * iconv/gconv_builtin.h: Likewise.
16559 * iconv/iconv_prog.c: Remove CHAR16 handling.
16560
16561 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16562
16563 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16564
16565 * configure.in: Remove --with-elf and --enable-bounded options.
16566 Dont set base_machine for ia64. More non-ELF conditions removed.
16567 Remove testing and setting of leading underscore information.
16568 * config.make.in (build-bounded): Set to no.
16569 * config.h.in: Remove NO_UNDERSCORES entry.
16570 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16571 them.
16572 * csu/start.c: Remove !NO_UNDERSCORE code.
16573 * locale/localeinfo.h: Likewise.
16574 * sysdeps/generic/machine-gmon.h: Likewise.
16575 * sysdeps/generic/sysdep.h: Likewise.
16576 * sysdeps/i386/sysdep.h: Likewise.
16577 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16578 * sysdeps/mach/sysdep.h: Likewise.
16579 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16580 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16581 * sysdeps/sh/sysdep.h: Likewise.
16582 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16583 * sysdeps/unix/i386/sysdep.S: Likewise.
16584 * sysdeps/unix/sparc/start.c: Likewise.
16585 * sysdeps/unix/sparc/sysdep.S: Likewise.
16586 * sysdeps/unix/sparc/sysdep.h: Likewise.
16587 * sysdeps/unix/start.c: Likewise.
16588 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16589 * sysdeps/x86_64/sysdep.h: Likewise.
16590
16591 2012-01-07 Ulrich Drepper <drepper@gmail.com>
16592
16593 [BZ #13553]
16594 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16595 for non-gcc.
16596 * argp/argp-fmtstream.h: Use const instead __const.
16597 * argp/argp.h: Likewise.
16598 * assert/assert.h: Likewise.
16599 * bits/fenv.h: Likewise.
16600 * bits/sched.h: Likewise.
16601 * bits/sigset.h: Likewise.
16602 * bits/sigthread.h: Likewise.
16603 * catgets/nl_types.h: Likewise.
16604 * conform/data/pthread.h-data: Likewise.
16605 * crypt/crypt-private.h: Likewise.
16606 * crypt/crypt.h: Likewise.
16607 * crypt/crypt_util.c: Likewise.
16608 * ctype/ctype.h: Likewise.
16609 * debug/execinfo.h: Likewise.
16610 * debug/mbsnrtowcs_chk.c: Likewise.
16611 * debug/mbsrtowcs_chk.c: Likewise.
16612 * debug/wcsnrtombs_chk.c: Likewise.
16613 * debug/wcsrtombs_chk.c: Likewise.
16614 * debug/wcstombs_chk.c: Likewise.
16615 * dirent/dirent.h: Likewise.
16616 * dlfcn/dlfcn.h: Likewise.
16617 * elf/neededtest4.c: Likewise.
16618 * grp/grp.h: Likewise.
16619 * gshadow/gshadow.h: Likewise.
16620 * iconv/gconv.h: Likewise.
16621 * iconv/gconv_int.h: Likewise.
16622 * iconv/gconv_simple.c: Likewise.
16623 * iconv/iconv.h: Likewise.
16624 * iconv/loop.c: Likewise.
16625 * iconv/skeleton.c: Likewise.
16626 * include/aio.h: Likewise.
16627 * include/aliases.h: Likewise.
16628 * include/argz.h: Likewise.
16629 * include/arpa/inet.h: Likewise.
16630 * include/assert.h: Likewise.
16631 * include/dirent.h: Likewise.
16632 * include/dlfcn.h: Likewise.
16633 * include/execinfo.h: Likewise.
16634 * include/fcntl.h: Likewise.
16635 * include/fenv.h: Likewise.
16636 * include/glob.h: Likewise.
16637 * include/grp.h: Likewise.
16638 * include/libintl.h: Likewise.
16639 * include/mntent.h: Likewise.
16640 * include/netdb.h: Likewise.
16641 * include/pwd.h: Likewise.
16642 * include/rpc/netdb.h: Likewise.
16643 * include/sched.h: Likewise.
16644 * include/search.h: Likewise.
16645 * include/shadow.h: Likewise.
16646 * include/signal.h: Likewise.
16647 * include/stdio.h: Likewise.
16648 * include/stdlib.h: Likewise.
16649 * include/string.h: Likewise.
16650 * include/sys/socket.h: Likewise.
16651 * include/sys/stat.h: Likewise.
16652 * include/sys/statfs.h: Likewise.
16653 * include/sys/statvfs.h: Likewise.
16654 * include/sys/syslog.h: Likewise.
16655 * include/sys/time.h: Likewise.
16656 * include/sys/uio.h: Likewise.
16657 * include/time.h: Likewise.
16658 * include/unistd.h: Likewise.
16659 * include/utmp.h: Likewise.
16660 * include/wchar.h: Likewise.
16661 * include/wctype.h: Likewise.
16662 * inet/aliases.h: Likewise.
16663 * inet/arpa/inet.h: Likewise.
16664 * inet/netinet/ether.h: Likewise.
16665 * inet/netinet/in.h: Likewise.
16666 * intl/libintl.h: Likewise.
16667 * io/bits/fcntl2.h: Likewise.
16668 * io/fcntl.h: Likewise.
16669 * io/ftw.h: Likewise.
16670 * io/sys/poll.h: Likewise.
16671 * io/sys/stat.h: Likewise.
16672 * io/sys/statfs.h: Likewise.
16673 * io/sys/statvfs.h: Likewise.
16674 * io/utime.h: Likewise.
16675 * libio/bits/stdio.h: Likewise.
16676 * libio/bits/stdio2.h: Likewise.
16677 * libio/libio.h: Likewise.
16678 * libio/libioP.h: Likewise.
16679 * libio/stdio.h: Likewise.
16680 * locale/lc-ctype.c: Likewise.
16681 * locale/locale.h: Likewise.
16682 * login/utmp.h: Likewise.
16683 * malloc/arena.c: Likewise.
16684 * malloc/malloc.c: Likewise.
16685 * malloc/malloc.h: Likewise.
16686 * malloc/mcheck.c: Likewise.
16687 * malloc/mtrace.c: Likewise.
16688 * math/bits/mathcalls.h: Likewise.
16689 * math/fenv.h: Likewise.
16690 * math/math_private.h: Likewise.
16691 * misc/bits/error.h: Likewise.
16692 * misc/bits/syslog.h: Likewise.
16693 * misc/err.h: Likewise.
16694 * misc/error.h: Likewise.
16695 * misc/fstab.h: Likewise.
16696 * misc/mntent.h: Likewise.
16697 * misc/regexp.h: Likewise.
16698 * misc/search.h: Likewise.
16699 * misc/sgtty.h: Likewise.
16700 * misc/sys/mman.h: Likewise.
16701 * misc/sys/syslog.h: Likewise.
16702 * misc/sys/uio.h: Likewise.
16703 * misc/sys/xattr.h: Likewise.
16704 * misc/ttyent.h: Likewise.
16705 * nis/rpcsvc/ypclnt.h: Likewise.
16706 * nss/nss.h: Likewise.
16707 * posix/bits/unistd.h: Likewise.
16708 * posix/fnmatch.h: Likewise.
16709 * posix/glob.h: Likewise.
16710 * posix/sched.h: Likewise.
16711 * posix/spawn.h: Likewise.
16712 * posix/sys/wait.h: Likewise.
16713 * posix/unistd.h: Likewise.
16714 * posix/wordexp.h: Likewise.
16715 * pwd/pwd.h: Likewise.
16716 * resolv/netdb.h: Likewise.
16717 * resource/sys/resource.h: Likewise.
16718 * rt/aio.h: Likewise.
16719 * rt/bits/mqueue2.h: Likewise.
16720 * rt/mqueue.h: Likewise.
16721 * shadow/shadow.h: Likewise.
16722 * signal/signal.h: Likewise.
16723 * socket/send.c: Likewise.
16724 * socket/sendto.c: Likewise.
16725 * socket/sys/socket.h: Likewise.
16726 * stdio-common/printf.h: Likewise.
16727 * stdlib/bits/stdlib.h: Likewise.
16728 * stdlib/fmtmsg.h: Likewise.
16729 * stdlib/monetary.h: Likewise.
16730 * stdlib/stdlib.h: Likewise.
16731 * stdlib/ucontext.h: Likewise.
16732 * streams/stropts.h: Likewise.
16733 * string/argz.h: Likewise.
16734 * string/bits/string2.h: Likewise.
16735 * string/string.h: Likewise.
16736 * string/strings.h: Likewise.
16737 * sunrpc/rpc/auth.h: Likewise.
16738 * sunrpc/rpc/auth_des.h: Likewise.
16739 * sunrpc/rpc/clnt.h: Likewise.
16740 * sunrpc/rpc/netdb.h: Likewise.
16741 * sunrpc/rpc/pmap_clnt.h: Likewise.
16742 * sunrpc/rpc/xdr.h: Likewise.
16743 * sysdeps/generic/inttypes.h: Likewise.
16744 * sysdeps/generic/net/if.h: Likewise.
16745 * sysdeps/generic/sys/swap.h: Likewise.
16746 * sysdeps/gnu/net/if.h: Likewise.
16747 * sysdeps/gnu/utmpx.h: Likewise.
16748 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16749 * sysdeps/i386/i486/bits/string.h: Likewise.
16750 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16751 * sysdeps/s390/bits/string.h: Likewise.
16752 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16753 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16754 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16755 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16756 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16757 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16758 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16759 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16760 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16761 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16762 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16763 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16764 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16765 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16766 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16767 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16768 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16769 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16770 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16771 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16772 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16773 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16774 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16775 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16776 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16777 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16778 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16779 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16780 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16781 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16782 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16783 * sysvipc/sys/ipc.h: Likewise.
16784 * sysvipc/sys/msg.h: Likewise.
16785 * sysvipc/sys/sem.h: Likewise.
16786 * sysvipc/sys/shm.h: Likewise.
16787 * termios/termios.h: Likewise.
16788 * time/sys/time.h: Likewise.
16789 * time/time.h: Likewise.
16790 * wcsmbs/bits/wchar2.h: Likewise.
16791 * wcsmbs/uchar.h: Likewise.
16792 * wcsmbs/wchar.h: Likewise.
16793 * wctype/wctype.h: Likewise.
16794
16795 [BZ #13551]
16796 * Makeconfig: Remove all but ELF support including AIX support.
16797 * Makerules: Likewise.
16798 * config.h.in: Likewise.
16799 * config.make.in: Likewise.
16800 * configure: Likewise.
16801 * configure.in: Likewise.
16802 * csu/Makefile: Likewise.
16803 * csu/version.c: Likewise.
16804 * debug/Makefile: Likewise.
16805 * dlfcn/Makefile: Likewise.
16806 * elf/Makefile: Likewise.
16807 * extra-lib.mk: Likewise.
16808 * iconv/Makefile: Likewise.
16809 * include/libc-symbols.h: Likewise.
16810 * include/shlib-compat.h: Likewise.
16811 * resolv/Makefile: Likewise.
16812 * resolv/res_libc.c: Likewise.
16813 * rt/Makefile: Likewise.
16814 * sysdeps/i386/asm-syntax.h: Likewise.
16815 * sysdeps/i386/sysdep.h: Likewise.
16816 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16817 * sysdeps/mach/sysdep.h: Likewise.
16818 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16819 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16820 * sysdeps/s390/asm-syntax.h: Likewise.
16821 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16822 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16823 * sysdeps/sh/sysdep.h: Likewise.
16824 * sysdeps/unix/sparc/sysdep.h: Likewise.
16825 * sysdeps/wordsize-32/divdi3.c: Likewise.
16826 * sysdeps/x86_64/sysdep.h: Likewise.
16827
16828 * argp/Versions: Remove _argp_unlock_xxx.
16829
16830 [BZ #13559]
16831 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16832 * abilist/libBrokenLocale.abilist: Likewise.
16833 * abilist/libanl.abilist: Likewise.
16834 * abilist/libc.abilist: Likewise.
16835 * abilist/libcrypt.abilist: Likewise.
16836 * abilist/libdl.abilist: Likewise.
16837 * abilist/libm.abilist: Likewise.
16838 * abilist/libnsl.abilist: Likewise.
16839 * abilist/libpthread.abilist: Likewise.
16840 * abilist/libresolv.abilist: Likewise.
16841 * abilist/librt.abilist: Likewise.
16842 * abilist/libthread_db.abilist: Likewise.
16843 * abilist/libutil.abilist: Likewise.
16844 * abilist/libnss_db.abilist: New file.
16845
16846 * scripts/abilist.awk: Add support for indirect functions.
16847
16848 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16849
16850 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16851
16852 * shlib-versions: Remove entries for ports architectures.
16853
16854 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16855 files in ports.
16856 * elf/stackguard-macros.h: Remove support for IA-64.
16857 * elf/tst-auditmod1.c: Likewise.
16858 * sysdeps/generic/ldsodefs.h: Likewise.
16859
16860 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16861 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16862 configure files.
16863
16864 [BZ #13552]
16865 * configure.in: Remove --enable-omitfp support.
16866 * FAQ.in: Adjust.
16867 * config.make.in: Likewise.
16868 * Makeconfig: Likewise.
16869 * manual/install.texi: Likewise.
16870
16871 In case anyone cares, the IA-64 architecture could move to ports.
16872 * sysdeps/ia64/*: Removed.
16873 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16874 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16875
16876 [BZ #13555]
16877 * configure.in: Remove entries for unsupported architectures.
16878
16879 [BZ #13533]
16880 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16881 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16882 routines.
16883 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16884 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16885 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16886 fall back to using wcrtomb.
16887 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16888 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16889 renaming.
16890 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16891 * wcsmbs/tst-c16c32-1.c: New file.
16892
16893 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16894 local variable.
16895
16896 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16897
16898 * elf/tst-unique3.cc: Add explicit declaration of gets.
16899 * elf/tst-unique3lib.cc: Likewise.
16900 * elf/tst-unique3lib2.cc: Likewise.
16901 * elf/tst-unique4.cc: Likewise.
16902
16903 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16904
16905 2012-01-06 Joseph Myers <joseph@codesourcery.com>
16906
16907 [BZ #13566]
16908 * assert/assert.h (static_assert): Don't define for C++.
16909 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16910 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16911
16912 2012-01-03 Ulrich Drepper <drepper@gmail.com>
16913
16914 * iconv/loop.c (single loop): Fix assertion in storing of
16915 remaining bytes.
16916
16917 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16918
16919 2012-01-01 Ulrich Drepper <drepper@gmail.com>
16920
16921 * posix/getconf.c: Update copyright year.
16922 * nss/getent.c: Likewise.
16923 * nss/makedb.c: Likewise.
16924 * iconv/iconvconfig.c: Likewise.
16925 * iconv/iconv_prog.c: Likewise.
16926 * elf/ldconfig.c: Likewise.
16927 * elf/pldd.c: Likewise.
16928 * elf/sotruss.ksh: Likewise.
16929 * catgets/gencat.c: Likewise.
16930 * csu/version.c: Likewise.
16931 * elf/ldd.bash.in: Likewise.
16932 * elf/sprof.c (print_version): Likewise.
16933 * locale/programs/locale.c: Likewise.
16934 * locale/programs/localedef.c: Likewise.
16935 * login/programs/pt_chown.c: Likewise.
16936 * nscd/nscd.c (print_version): Likewise.
16937 * debug/xtrace.sh: Likewise.
16938 * malloc/memusage.sh: Likewise.
16939 * malloc/mtrace.pl: Likewise.
16940 * debug/catchsegv.sh: Likewise.
16941
16942 2011-12-30 Jakub Jelinek <jakub@redhat.com>
16943
16944 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16945 pure attribute.
16946
16947 2011-12-24 Ulrich Drepper <drepper@gmail.com>
16948
16949 [BZ #13533]
16950 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16951 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16952 transformations.
16953 * iconv/gconv_int.h: Likewise.
16954 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16955 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16956 from libc for GLIBC_2.16.
16957 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16958 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16959 * wcsmbs/uchar.h: Really define mbstate_t.
16960 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16961 * wcsmbs/c16rtomb.c: New file.
16962 * wcsmbs/mbrtoc16.c: New file.
16963 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16964 for C/POSIX locale.
16965 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16966 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16967
16968 * wcsmbs/wchar.h: Add missing __restrict.
16969
16970 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16971
16972 [BZ #13532]
16973 * time/Makefile (routines): Add timespec_get.
16974 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16975 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16976 timespec for ISO C11.
16977 * time/timespec_get.c: New file.
16978 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16979 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16980
16981 [BZ #13531]
16982 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16983 * stdlib/stdlib.h: Declare aligned_alloc.
16984 * Versions.def: Add GLIBC_2.16 for libc.
16985 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16986
16987 [BZ 13527]
16988 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16989 ISO C11.
16990
16991 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16992 code.
16993
16994 [BZ #13528]
16995 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16996
16997 [BZ #13529]
16998 * assert/assert.h (static_assert): Define.
16999
17000 * version.h: Update for 2.16 development version.
17001
17002 [BZ #13526]
17003 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17004 _ISOC11_SOURCE.
17005
17006 * version.h (RELEASE): Bump for 2.15 release.
17007 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17008
17009 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17010 Patch by Marek Polacek <mpolacek@redhat.com>.
17011
17012 * bits/byteswap.h: Protect long long constants with __extension__.
17013 * sysdeps/i386/bits/byteswap.h: Likewise.
17014 * sysdeps/ia64/bits/byteswap.h: Likewise.
17015 * sysdeps/s390/bits/byteswap.h: Likewise.
17016 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17017
17018 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17019
17020 [BZ #13540]
17021 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17022 destination buffer.
17023 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17024
17025 2011-12-23 Marek Polacek <polacek@redhat.com>
17026
17027 * elf/dl-addr.c (determine_info): Add inline keyword.
17028 * elf/tst-auditmod4b.c (check_avx): Likewise.
17029 * elf/tst-auditmod6b.c (check_avx): Likewise.
17030 * elf/tst-auditmod6c.c (check_avx): Likewise.
17031 * elf/tst-auditmod7b.c (check_avx): Likewise.
17032
17033 2011-12-23 Ulrich Drepper <drepper@gmail.com>
17034
17035 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17036 !__SSE_MATH__.
17037
17038 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17039
17040 [BZ #13540]
17041 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17042 processing for last bytes.
17043
17044 2011-08-06 Bruno Haible <bruno@clisp.org>
17045
17046 [BZ #13061]
17047 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17048 U+0385, not to U+1FEE.
17049
17050 [BZ #13062]
17051 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17052 entry for U+00A5 U+0301.
17053
17054 2011-12-22 Ulrich Drepper <drepper@gmail.com>
17055
17056 [BZ #13166]
17057 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17058 buffer for the output is too small.
17059
17060 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17061 optimization.
17062
17063 [BZ #13185]
17064 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17065 SSE flags if possible.
17066
17067 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17068
17069 [BZ #13540]
17070 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17071 processing for last bytes.
17072
17073 2011-12-22 Joseph Myers <joseph@codesourcery.com>
17074
17075 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17076 (syscall-list-default-options, syscall-list-default-condition)
17077 (syscall-list-includes): Define.
17078 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17079 list of ABIs and options and #if conditions for each ABI. Do not
17080 handle common syscalls between ABIs specially.
17081 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17082 Remove.
17083 (syscall-list-variants, syscall-list-32bit-options)
17084 (syscall-list-32bit-condition, syscall-list-64bit-options)
17085 (syscall-list-64bit-condition): Define.
17086 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17087 (syscall-list-variants, syscall-list-32bit-options)
17088 (syscall-list-32bit-condition, syscall-list-64bit-options)
17089 (syscall-list-64bit-condition): Define.
17090 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17091 Remove.
17092 (syscall-list-variants, syscall-list-32bit-options)
17093 (syscall-list-32bit-condition, syscall-list-64bit-options)
17094 (syscall-list-64bit-condition): Define.
17095 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17096 Remove.
17097 (syscall-list-variants, syscall-list-32bit-options)
17098 (syscall-list-32bit-condition, syscall-list-64bit-options)
17099 (syscall-list-64bit-condition): Define.
17100
17101 2011-12-22 Ulrich Drepper <drepper@gmail.com>
17102
17103 * locale/iso-639.def: Add brx entry.
17104
17105 [BZ #13328]
17106 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17107 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17108
17109 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17110 __feraiseexcept_renamed.
17111
17112 2011-12-21 Ulrich Drepper <drepper@gmail.com>
17113
17114 [BZ #13538]
17115 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17116 EPOLLET with unsigned values.
17117 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17118 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17119
17120 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17121 to large cancellation.
17122 * math/s_cacoshf.c: Likewise.
17123 * math/s_cacoshl.c: Likewise.
17124
17125 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17126
17127 [BZ #13305]
17128 [BZ #12786]
17129 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17130 * math/s_cacoshf.c: Likewise.
17131 * math/s_cacoshl.c: Likewise.
17132
17133 2011-12-21 Ulrich Drepper <drepper@gmail.com>
17134
17135 [BZ #13439]
17136 * iconv/gconv.h: Define __GCONV_SWAP.
17137 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17138 * iconvdata/utf-16.c: Likewise.
17139 * iconvdata/utf-32.c: Likewise.
17140
17141 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17142
17143 [BZ #13524]
17144 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17145 numerator after shifting it by one limb.
17146
17147 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17148
17149 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17150 under [__USE_EXTERN_INLINES].
17151
17152 2011-12-17 Ulrich Drepper <drepper@gmail.com>
17153
17154 [BZ #13446]
17155 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17156
17157 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17158
17159 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17160 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17161 optimized code.
17162 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17163 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17164 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17165 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17166 for strncasecmp/strncasecmp_l compilation.
17167 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17168 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17169
17170 2011-12-08 Marek Polacek <mpolacek@redhat.com>
17171
17172 [BZ #13484]
17173 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17174 of __asm__.
17175
17176 2011-12-17 Ulrich Drepper <drepper@gmail.com>
17177
17178 [BZ #13506]
17179 * time/tzfile.c (__tzfile_read): Check values from file header.
17180
17181 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17182
17183 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17184 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17185 * powerpc/powerpc32/dl-start.S: Likewise.
17186 * powerpc/powerpc32/elf/start.S: Likewise.
17187 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17188 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17189 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17190 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17191 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17192 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17193 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17194 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17195 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17196 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17197 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17198 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17199 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17200 * powerpc/powerpc32/memset.S: Likewise.
17201 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17202 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17203 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17204 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17205 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17206 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17207 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17208 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17209 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17210 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17211 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17212 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17213 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17214
17215 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17216
17217 * math/libm-test.inc: Added more nearbyint tests.
17218 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17219 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17220 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17221 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17222
17223 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17224
17225 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17226 FD_CLOEXEC.
17227
17228 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17229
17230 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17231 Add wcscpy-ssse3 wcscpy-c.
17232 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17233 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17234 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17235 * sysdeps/x86_64/wcschr.S: New file.
17236 * sysdeps/x86_64/wcsrchr.S: New file.
17237 * string/test-strcmp.c: Remove checking of wcscmp function for
17238 wrong alignments.
17239 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17240 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17241 wcsrchr-sse2 wcsrchr-c.
17242 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17243 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17244 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17245 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17246 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17247 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17248 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17249 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17250 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17251 * wcsmbc/wcschr.c (WCSCHR): New macro.
17252
17253 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17254
17255 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17256 * wcsmbs/test-wcsrchr.c: New file.
17257 * string/test-strrchr.c: Add wcsrchr support.
17258 (WIDE): New macro.
17259 * wcsmbs/test-wcscpy.c: New file.
17260 * string/test-strcpy.c: Add wcscpy support.
17261 (WIDE): New macro.
17262
17263 2011-12-10 Ulrich Drepper <drepper@gmail.com>
17264
17265 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17266 the inner loop.
17267
17268 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17269
17270 [BZ #13472]
17271 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17272
17273 2011-12-04 Ulrich Drepper <drepper@gmail.com>
17274
17275 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17276 Minor optimizations.
17277
17278 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17279 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17280 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17281
17282 2011-12-03 Ulrich Drepper <drepper@gmail.com>
17283
17284 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17285 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17286 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17287 for gcc to avoid warnings.
17288 * inet/Makefile (tests): Add tst-checks.
17289 * inet/tst-checks.c: New file.
17290
17291 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17292 warning.
17293
17294 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17295 __wmemcmp_sse2.
17296
17297 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17298 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17299
17300 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17301
17302 2011-12-02 Ulrich Drepper <drepper@gmail.com>
17303
17304 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17305 problem.
17306
17307 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17308
17309 2011-11-29 Joseph Myers <joseph@codesourcery.com>
17310
17311 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17312 conditional on GCC version.
17313 (__arch_compare_and_exchange_val_8_acq)
17314 (__arch_compare_and_exchange_val_16_acq)
17315 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17316 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17317 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17318
17319 2011-12-02 Joseph Myers <joseph@codesourcery.com>
17320
17321 * sysdeps/sh/backtrace.c: New file.
17322
17323 2011-12-02 Andreas Schwab <schwab@redhat.com>
17324
17325 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17326 parenthesis.
17327
17328 2011-12-01 Andreas Schwab <schwab@redhat.com>
17329
17330 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17331 falling back to utime.
17332
17333 2011-11-30 Andreas Schwab <schwab@redhat.com>
17334
17335 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17336 expectations for float.
17337
17338 2011-11-29 Andreas Schwab <schwab@redhat.com>
17339
17340 * locale/weight.h (findidx): Add parameter len.
17341 * locale/weightwc.h (findidx): Likewise.
17342 * posix/fnmatch_loop.c (FCT): Adjust caller.
17343 * posix/regcomp.c (build_equiv_class): Likewise.
17344 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17345 * posix/regexec.c (check_node_accept_bytes): Likewise.
17346 * string/strcoll_l.c (STRCOLL): Likewise.
17347 * string/strxfrm_l.c (STRXFRM): Likewise.
17348
17349 2011-11-17 Ulrich Drepper <drepper@gmail.com>
17350
17351 * Makefile.in: Remove CVSOPT handling.
17352 * configure.in: Remove use of AC_REVISION.
17353 * iconvdata/Makefile (distribute): No need to filter out CVS.
17354 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17355 handling.
17356
17357 2011-11-16 Andreas Schwab <schwab@redhat.com>
17358
17359 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17360 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17361 [USE_AS_STRNCASECMP_L]: Likewise.
17362 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17363 NO_TLS_DIRECT_SEG_REFS.
17364 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17365 Fix argument offsets for non-PIC.
17366 [USE_AS_STRNCASECMP_L]: Likewise.
17367 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17368 NO_TLS_DIRECT_SEG_REFS.
17369
17370 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17371
17372 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17373 O_CLOEXEC.
17374 * locale/loadlocale.c (_nl_load_locale): Likewise.
17375
17376 2011-11-15 Andreas Schwab <schwab@redhat.com>
17377
17378 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17379 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17380 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17381 (SYSCALL_GETTIME): Set errno on error.
17382
17383 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17384 count references to noai6ai_cached.
17385
17386 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17387
17388 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17389
17390 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17391 FD_CLOEXEC for /proc/self/maps.
17392
17393 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17394 FD_CLOEXEC for /proc/meminfo.
17395
17396 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17397 gai.conf.
17398
17399 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17400 FD_CLOEXEC for given file.
17401
17402 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17403
17404 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17405 FD_CLOEXEC for /etc/hosts.
17406 (_gethtent): Likewise.
17407
17408 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17409
17410 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17411 cancellation and set FD_CLOEXEC for /etc/netgroup.
17412
17413 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17414 reading /etc/publickey.
17415
17416 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17417 allow cancellation when reading /etc/group.
17418
17419 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17420 cancellation.
17421 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17422
17423 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17424 when using data file.
17425
17426 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17427
17428 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17429 (write_nis_obj): Use "c" and "e" in fopen.
17430
17431 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17432
17433 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17434
17435 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17436
17437 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17438
17439 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17440 locale.alias.
17441
17442 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17443
17444 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17445
17446 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17447
17448 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17449 file parsing and set FD_CLOEXEC.
17450
17451 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17452
17453 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17454
17455 2011-11-14 Andreas Schwab <schwab@redhat.com>
17456
17457 * malloc/arena.c (arena_get2): Don't call reused_arena when
17458 _int_new_arena failed.
17459
17460 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17461
17462 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17463 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17464 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17465 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17466 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17467 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17468 to compile strcasecmp and strncasecmp.
17469 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17470 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17471
17472 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17473
17474 2011-11-13 Ulrich Drepper <drepper@gmail.com>
17475
17476 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17477 locale-defines.sym to gen-as-const-headers.
17478 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17479 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17480 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17481 to compile strcasecmp and strncasecmp.
17482 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17483 strcasecmp_l and strncasecmp_l.
17484 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17485 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17486 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17487 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17488 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17489 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17490 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17491 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17492 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17493 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17494 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17495
17496 2011-11-12 Ulrich Drepper <drepper@gmail.com>
17497
17498 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17499 result of SYSDEP_GETTIME_CPU to retval.
17500 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17501 parameter list to macro. Remove trailing semicolon. Adjust users.
17502
17503 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17504 variable.
17505
17506 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17507 mantissa words.
17508 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17509
17510 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17511 from unused variable.
17512
17513 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17514 DWARF definitions.
17515 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17516 for assembling.
17517
17518 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17519 over namespaces.
17520
17521 * sunrpc/rpc_prot.c (rejected): Fix case value.
17522
17523 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17524 unsigned long long int to avoid warnings in shift.
17525
17526 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17527 of use of trans.
17528 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17529 variable tmp.
17530
17531 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17532 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17533 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17534
17535 * nis/nis_table.c (nis_list): Use variable of correct type for
17536 result of __follow_path call.
17537
17538 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17539
17540 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17541 of math functions ceil, trunc, floor, round, and sqrt, when
17542 avaliable on the platform.
17543 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17544 name clash.
17545 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17546 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17547 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17548
17549 2011-10-30 Marek Polacek <mpolacek@redhat.com>
17550
17551 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17552 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17553
17554 2011-11-11 Roland McGrath <roland@hack.frob.com>
17555
17556 * include/unistd.h: Fix __readlink return type.
17557 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17558
17559 2011-11-11 Ulrich Drepper <drepper@gmail.com>
17560
17561 * stdlib/ucontext.h: Undo last change for makecontext.
17562
17563 2011-11-11 Andreas Schwab <schwab@redhat.com>
17564
17565 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17566
17567 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17568 * setjmp/setjmp.h: Mark functions as non-leaf.
17569 * setjmp/bits/setjmp2.h: Likewise.
17570 * stdlib/ucontext.h: Likewise.
17571
17572 2011-11-10 Andreas Schwab <schwab@redhat.com>
17573
17574 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17575 (reused_arena): Don't check arena limit.
17576 (arena_get2): Atomically check arena limit.
17577
17578 2011-11-08 Ulrich Drepper <drepper@gmail.com>
17579
17580 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17581 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17582
17583 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17584 instructions.
17585
17586 2011-11-07 Andreas Schwab <schwab@redhat.com>
17587
17588 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17589 handler when locking.
17590
17591 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17592 Fix size of allocated buffer.
17593
17594 2011-11-04 Andreas Schwab <schwab@redhat.com>
17595
17596 [BZ #10103]
17597 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17598 declarations for long double functions.
17599 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17600
17601 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17602
17603 2011-11-03 Andreas Schwab <schwab@redhat.com>
17604
17605 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17606 installed.
17607
17608 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17609 is disabled.
17610
17611 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17612
17613 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17614
17615 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17616
17617 * include/alloca.h (stackinfo_alloca_round): Define.
17618 (extend_alloca): Use it.
17619 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17620 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17621 here.
17622
17623 * scripts/check-local-headers.sh: Ignore libaudit.h.
17624
17625 * nscd/Makefile (extra-objs): Make recursively expanded.
17626
17627 2011-11-01 Ulrich Drepper <drepper@gmail.com>
17628
17629 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17630 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17631
17632 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17633 * posix/tst-rfc3484-2.c: Likewise.
17634 * posix/tst-rfc3484-3.c: Likewise.
17635
17636 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17637 process_vm_writev.
17638 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17639 process_vm_writev.
17640 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17641 process_vm_writev from libc using GLIBC_2.15 version.
17642
17643 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17644
17645 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17646
17647 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17648 stack usage.
17649
17650 2011-10-31 Ulrich Drepper <drepper@gmail.com>
17651
17652 [BZ #13367]
17653 * nss/getent.c (initgroups_keys): Show error message in case no group
17654 names are given.
17655
17656 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17657 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17658 __bump_nl_timestamp.
17659 * nscd/connections (nscd_init): When host database is served open
17660 netlink socket and request notification about configuration changes.
17661 (main_loop_poll): Track netlink file descriptor and bump timestamp
17662 in case data becomes available.
17663 (main_loop_epoll): Likewise.
17664 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17665 (database_pers_head): Add extra_data fileds.
17666 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17667 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17668 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17669 Adjust caller.
17670 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17671 in6ai data, call __free_in6ai.
17672 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17673 Add -DHAVE_NETLINK.
17674 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17675 interface information. Reuse previous data if netlink timestamp
17676 is not changed.
17677 (__bump_nl_timestamp): New function.
17678 (__free_in6ai): New function.
17679
17680 2011-10-30 Ulrich Drepper <drepper@gmail.com>
17681
17682 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17683 close_not_cancel_no_status here.
17684 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17685
17686 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17687
17688 [BZ #13276]
17689 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17690 return value.
17691
17692 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17693 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17694 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17695
17696 2011-07-03 Andreas Jaeger <aj@suse.de>
17697
17698 [BZ #10709]
17699 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17700 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17701 * math/libm-test.inc (sin_test): Add test case.
17702
17703 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17704
17705 [BZ #13337]
17706 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17707 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17708
17709 * elf/chroot_canon.c (chroot_canon): Cleanups.
17710
17711 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17712
17713 [BZ #13335]
17714 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17715 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17716
17717 * string/test-strchr.c: Make usable for strchrnul testing.
17718 * string/test-strchrnul.c: New file.
17719 * string/Makefile (strop-tests): Add strchrnul.
17720
17721 * po/it.po: Update from translation team.
17722 * po/es.po: Likewise.
17723
17724 2011-10-28 Ulrich Drepper <drepper@gmail.com>
17725
17726 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17727 the three constants needed as parameters. Drop the others.
17728 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17729 __m128i_strloadu_tolower.
17730 Create and initialize variable zero and use it in all the places
17731 where _mm_setzero_si128 was used.
17732
17733 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17734 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17735 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17736 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17737 anymore.
17738 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17739 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17740 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17741 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17742 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17743 __mpranred, __mptan.
17744 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17745 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17746 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17747 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17748 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17749 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17750 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17751 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17752 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17753
17754 2011-10-28 Andreas Schwab <schwab@redhat.com>
17755
17756 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17757 redefine if SHARED.
17758 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17759
17760 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17761 wide char related routines to wcsmbs subdir.
17762
17763 2011-10-27 Andreas Schwab <schwab@redhat.com>
17764
17765 [BZ #13344]
17766 * misc/sys/cdefs.h (__THROWNL): Define.
17767 * posix/unistd.h: Use __THREADNL instead of __THREAD
17768 for memory synchronization functions.
17769
17770 2011-10-26 Roland McGrath <roland@hack.frob.com>
17771
17772 [BZ #13349]
17773 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17774 doesn't exist.
17775 * manual/stdio.texi (Obstack Streams): Node removed.
17776
17777 2011-10-26 Andreas Schwab <schwab@redhat.com>
17778
17779 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17780 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17781 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17782
17783 * math/math_private.h (math_force_eval): Allow non-addressable
17784 arguments.
17785 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17786
17787 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17788
17789 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17790 file is not needed.
17791
17792 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17793 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17794 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17795 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17796 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17797 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17798 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17799 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17800 Add AVX variants.
17801 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17802 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17803 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17804 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17805 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17806 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17807 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17808 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17809 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17810 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17811 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17812 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17813 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17814 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17815 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17816 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17817 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17818 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17819 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17820
17821 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17822 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17823
17824 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17825 place. Use VEX encoding when compiling for AVX.
17826
17827 2011-10-25 Andreas Schwab <schwab@redhat.com>
17828
17829 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17830 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17831
17832 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17833
17834 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17835
17836 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17837 useless if() expression.
17838 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17839 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17840 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17841 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17842 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17843 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17844 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17845 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17846 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17847 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17848 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17849 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17850 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17851 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17852 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17853 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17854 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17855 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17856 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17857
17858 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17859
17860 2011-10-25 Andreas Schwab <schwab@redhat.com>
17861
17862 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17863 condition.
17864 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17865
17866 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17867
17868 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17869 .text section. Avoid duplicate constants.
17870 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17871 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17872 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17874 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17875 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17876 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17877 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17878 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17879 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17880 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17881 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17882 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17883 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17884 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17885 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17886 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17887 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17888 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17890 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17891 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17892 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17893 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17894 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17895 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17896 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17897 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17898 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17899 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17900 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17901 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17902 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17903 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17904 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17905 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17906 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17907 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17908 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17909 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17910 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17911 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17912 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17913 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17914 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17915
17916 2011-10-24 Ulrich Drepper <drepper@gmail.com>
17917
17918 * sysdeps/x86_64/dla.h: Move to ...
17919 * sysdeps/x86_64/fpu/dla.h: ...here.
17920 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17921 situations. Use __builtin_fma only for gcc 4.6 and up.
17922
17923 * config.make.in: Add have-mfma4 entry.
17924 * configure.in: Substitute libc_cv_cc_fma4.
17925 * math/Makefile (dbl-only-routines): Add sincostab.
17926 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17927 Use __sincostab not sincos.
17928 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17929 name is a macro.
17930 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17933 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17934 using __copysign.
17935 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17936 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17937 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17938 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17939 and __inv.
17940 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17941 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17942 __copysign.
17943 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17944 define aliases when function name is a macro.
17945 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17946 sysdeps/ieee754/dbl-64/sincos.tbl.
17947 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17948 fma4-enabled routines.
17949 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17950 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17951 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17952 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17953 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17954 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17956 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17958 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17959 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17960 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17961 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17962 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17963 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17964 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17965 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17966 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17967 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17968 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17969 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17970 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17971 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17972 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17973 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17974 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17975 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17976 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17977 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17978 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17979
17980 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17981 rename.
17982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17990
17991 2011-10-24 Andreas Schwab <schwab@redhat.com>
17992
17993 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17994
17995 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17996
17997 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17998
17999 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18000 prediction.
18001 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18002
18003 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18004 Remove unused variable magic_bits.
18005 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18006
18007 * string/strnlen.c: Define and use STRNLEN macro.
18008 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18009 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18010 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18011 * wcsmbs/wcslen.c: Define and use WCSLEN.
18012 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18013 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18014 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18015 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18016 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18017 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18018 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18019
18020 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18021
18022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18023 strnlen-sse2-no-bsf.
18024 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18025 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18026 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18027 Add strnlen support.
18028 (USE_AS_STRNLEN): New macro.
18029 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18030 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18031 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18032 * sysdeps/x86_64/wcslen.S: New file.
18033
18034 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18035
18036 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18037 XMM-moves are used for copying on small sizes.
18038
18039 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18040
18041 * wcsmbs/Makefile (strop-tests): Add wcschr.
18042 * wcsmbs/test-wcschr.c: New file.
18043 * string/test-strchr.c: Update.
18044 Add wcschr support.
18045 (WIDE): New macro.
18046
18047 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18048
18049 * wcsmbs/Makefile (strop-tests): Add wcslen.
18050 * wcsmbs/test-wcslen.c: New file.
18051 * string/test-strlen.c: Update.
18052 Add wcslen support.
18053 (WIDE): New macro.
18054
18055 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18056
18057 * po/it.po: Update from translation team.
18058
18059 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18060
18061 * sysdeps/x86_64/wcscmp.S: Update.
18062 Fix wrong comparison semantics.
18063 wcscmp shall use signed comparison not unsigned.
18064 Don't use substraction to avoid overflow bug.
18065 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18066 * wcsmbc/wcscmp.c: Likewise.
18067 * string/test-strcmp.c: Likewise.
18068 Add new tests to check cases with negative values.
18069
18070 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18071
18072 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18073 * sysdeps/x86_64/dla.h: ...here. New file.
18074 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18075 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18079 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18083
18084 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18085
18086 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18087 __ynl_finite aliases.
18088
18089 2011-10-22 Ulrich Drepper <drepper@gmail.com>
18090
18091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18092
18093 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18094 define DLA_FMA.
18095 [DLA_FMA] (EMULV): Use DLA_FMA.
18096 [DLA_FMA] (MUL12): Use EMULV.
18097 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18098 that are not needed.
18099 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18103 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18104 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18106
18107 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18108
18109 * math/s_nan.c: Undef __nan.
18110 * math/s_nanf.c: Undef __nanf.
18111 * math/s_nanl.c: Undef __nanl.
18112 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18113 "math_private.h".
18114
18115 2011-10-22 Ulrich Drepper <drepper@gmail.com>
18116
18117 * math/s_catan.c: Add branch predictions.
18118 * math/s_catanf.c: Likewise.
18119 * math/s_catanh.c: Likewise.
18120 * math/s_catanhf.c: Likewise.
18121 * math/s_catanhl.c: Likewise.
18122 * math/s_catanl.c: Likewise.
18123 * math/s_cexp.c: Likewise.
18124 * math/s_cexpf.c: Likewise.
18125 * math/s_cexpl.c: Likewise.
18126 * math/s_clog.c: Likewise.
18127 * math/s_clog10.c: Likewise.
18128 * math/s_clog10f.c: Likewise.
18129 * math/s_clog10l.c: Likewise.
18130 * math/s_clogf.c: Likewise.
18131 * math/s_clogl.c: Likewise.
18132 * math/s_csqrt.c: Likewise.
18133 * math/s_csqrtf.c: Likewise.
18134 * math/s_csqrtl.c: Likewise.
18135 * math/s_ctanf.c: Likewise.
18136 * math/s_ctanh.c: Likewise.
18137 * math/s_ctanhf.c: Likewise.
18138 * math/s_ctanhl.c: Likewise.
18139 * math/s_ctanl.c: Likewise.
18140
18141 * math/math_private.h: Define __nan, __nanf, __nanl.
18142 * math/s_cacosh.c: Include <math_private.h>.
18143 * math/s_cacoshl.c: Likewise.
18144 * math/s_casinh.c: Likewise.
18145 * math/s_casinhf.c: Likewise.
18146 * math/s_casinhl.c: Likewise.
18147 * math/s_ccos.c: Rely entire on ccosh.
18148 * math/s_ccosf.c: Rely entire on ccoshf.
18149 * math/s_ccosl.c: Rely entirely on ccoshl.
18150 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18151 Remove tests for FE_INVALID.
18152 * math/s_ccoshf.c: Likewise.
18153 * math/s_ccoshl.c: Likewise.
18154 * math/s_csin.c: Likewise.
18155 * math/s_csinf.c: Likewise.
18156 * math/s_csinh.c Likewise.
18157 * math/s_csinhf.c: Likewise.
18158 * math/s_csinhl.c: Likewise.
18159 * math/s_csinl.c: Likewise.
18160 * math/s_ctan.c: Likewise.
18161 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18162 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18163 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18164
18165 2011-10-21 Ulrich Drepper <drepper@gmail.com>
18166
18167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18168 compilation problems.
18169
18170 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18171 __builtin_expect.
18172
18173 2011-10-20 Ulrich Drepper <drepper@gmail.com>
18174
18175 * sysdeps/i386/configure.in: Test for -mfma4 option.
18176 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18177 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18178 COMMON_CPUID_INDEX_80000001.
18179 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18180 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18181 use it if FMA3 is not supported.
18182 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18183
18184 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18185 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18186
18187 2011-10-20 Andreas Schwab <schwab@redhat.com>
18188
18189 [BZ #12892]
18190 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18191 it would create a cycle with a link time dependency.
18192
18193 2011-10-19 Ulrich Drepper <drepper@gmail.com>
18194
18195 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18196 instruction.
18197 * string/Makefile (strop-tests): Add rawmemchr.
18198 * string/test-rawmemchr.c: New file.
18199
18200 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18201 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18202 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18203 when compiling str{,n}casecmp and when AVX is available. Hook up
18204 new optimized code in initializers.
18205
18206 2011-10-19 Andreas Schwab <schwab@redhat.com>
18207
18208 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18209 __feraiseexcept instead of feraiseexcept.
18210
18211 2011-10-18 Ulrich Drepper <drepper@gmail.com>
18212
18213 * math/math_private.h: Define defaults for libc_fetestexcept and
18214 libc_feupdateenv.
18215 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18216 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18217 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18218 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18219 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18220 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18221 libc_fetestexcept and libc_feupdateenv.
18222
18223 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18224 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18225 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18226 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18227 libc_feholdexcept_setround.
18228
18229 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18230 Add s_nearbyint-c and s_nearbyintf-c.
18231 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18232 nearbyintf inlines.
18233 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18234 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18235 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18236 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18237
18238 * math/math_private.h: Define defaults for libc_fegetround,
18239 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18240 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18241 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18242 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18243 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18244 standard functions.
18245 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18246 Remove comments and hacks for old compiler versions.
18247 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18248 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18249 libc_feholdexceptl.
18250
18251 2011-10-18 Andreas Schwab <schwab@redhat.com>
18252
18253 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18254 (__feraiseexcept_renamed): Add __NTH.
18255 (feraiseexcept): Add __NTH. Rename local variables to fix
18256 namespace violations.
18257
18258 2011-10-17 Ulrich Drepper <drepper@gmail.com>
18259
18260 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18261
18262 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18263
18264 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18265 recently added interfaces.
18266 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18267
18268 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18269 about macro parameter expansion.
18270
18271 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18272 __NO_MATH_INLINES is defined. Cleanups.
18273
18274 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18275 and __floorf is target has SSE4.1.
18276 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18277 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18278 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18279 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18280
18281 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18282 name.
18283 (floorf): Likewise.
18284
18285 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18286
18287 2011-10-17 Andreas Schwab <schwab@redhat.com>
18288
18289 * misc/sys/cdefs.h: Fix last change.
18290
18291 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18292 database lookup.
18293
18294 2011-10-16 Ulrich Drepper <drepper@gmail.com>
18295
18296 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18297
18298 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18299 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18300 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18301 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18302 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18303 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18304 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18305 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18306 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18307 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18308 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18309 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18310 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18311 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18312 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18313 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18314 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18315 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18316 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18317 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18318 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18319 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18320
18321 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18322 ceil, ceilf, floor, floorf.
18323
18324 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18325 Perform IRELATIVE relocations last.
18326
18327 * elf/do-rel.h: Add another parameter nrelative, replacing the
18328 local variable with the same name. Change name of the function
18329 to end in Rel or Rela (uppercase).
18330 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18331 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18332 elf_dynamic_do_##reloc function.
18333
18334 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18335
18336 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18337 is sufficient, at least on modern CPUs.
18338
18339 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18340
18341 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18342 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18343
18344 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18345 __expl_finite.
18346 * math/bits/math-finite.h: Add entries for exp.
18347 * math/e_expl.c: Add __*_finite alias.
18348 * sysdeps/i386/fpu/e_exp.S: Likewise.
18349 * sysdeps/i386/fpu/e_expf.S: Likewise.
18350 * sysdeps/i386/fpu/e_expl.c: Likewise.
18351 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18352 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18355 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18356 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18357 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18358
18359 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18360 is sufficient, at least on modern CPUs.
18361
18362 * ctype/ctype-info.c (__ctype_init): Define.
18363 * include/ctype.h (__ctype_init): Declare.
18364 (__ctype_b_loc): The variable is always initialized.
18365 (__ctype_toupper_loc): Likewise.
18366 (__ctype_tolower_loc): Likewise.
18367 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18368 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18369
18370 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18371
18372 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18373
18374 * configure.in: Also look in $cxxmachine/include for C++ system
18375 headers.
18376
18377 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18378
18379 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18380 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18381 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18382 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18383 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18384 (USE_AS_WMEMCMP): New macro.
18385 Fixing indents.
18386 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18387 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18388 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18389 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18391 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18392 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18393 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18394 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18395 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18396 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18397 (USE_AS_WMEMCMP): New macro.
18398 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18399 * sysdeps/string/test-memcmp.c: Update.
18400 Fix simple_wmemcmp.
18401 Add new tests.
18402 * wcsmbs/wmemcmp.c: Update.
18403 (WMEMCMP): New macro.
18404 Fix overflow bug.
18405
18406 2011-10-12 Andreas Jaeger <aj@suse.de>
18407
18408 [BZ #13268]
18409 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18410
18411 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18412
18413 * libio/iofwide.c (do_length): Avoid warning.
18414
18415 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18416
18417 2011-10-14 Ulrich Drepper <drepper@gmail.com>
18418
18419 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18420
18421 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18422 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18423 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18424 * sysdeps/i386/i686/fpu/e_log.S: New file.
18425 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18426 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18427
18428 * ctype/ctype.h: Add support for inlined isXXX functions when
18429 compiling C++ code.
18430
18431 2011-10-14 Andreas Schwab <schwab@redhat.com>
18432
18433 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18434
18435 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18436
18437 2011-10-13 Roland McGrath <roland@hack.frob.com>
18438
18439 [BZ #13291]
18440 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18441
18442 2011-10-13 Andreas Schwab <schwab@redhat.com>
18443
18444 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18445 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18446 feraiseexcept.
18447
18448 * sysdeps/x86_64/memrchr.S: Check for zero size.
18449
18450 * string/stratcliff.c: Add memrchr tests.
18451
18452 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18453
18454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18455 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18456 rawmemchr-sse2 rawmemchr-sse2-bsf.
18457 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18458 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18459 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18460 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18461 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18462 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18463 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18464 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18465 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18466 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18467 * string/memrchr.c (MEMRCHR): New macro.
18468
18469 2011-10-12 Ulrich Drepper <drepper@gmail.com>
18470
18471 Add integration with gcc's -ffinite-math-only and optimize wrapper
18472 functions in libm.
18473 * Versions.def: Define GLIBC_2.15 version for libm.
18474 * math/Makefile (headers): Add bits/math-finite.h.
18475 * math/bits/math-finite.h: New file.
18476 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18477 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18478 * math/e_acoshl.c: Add __*_finite alias.
18479 * math/e_acosl.c: Likewise.
18480 * math/e_asinl.c: Likewise.
18481 * math/e_atan2l.c: Likewise.
18482 * math/e_atanhl.c: Likewise.
18483 * math/e_coshl.c: Likewise.
18484 * math/e_exp10.c: Likewise.
18485 * math/e_exp10f.c: Likewise.
18486 * math/e_exp10l.c: Likewise.
18487 * math/e_exp2l.c: Likewise.
18488 * math/e_fmodl.c: Likewise.
18489 * math/e_gammal_r.c: Likewise.
18490 * math/e_hypotl.c: Likewise.
18491 * math/e_j0l.c: Likewise.
18492 * math/e_j1l.c: Likewise.
18493 * math/e_jnl.c: Likewise.
18494 * math/e_lgammal_r.c: Likewise.
18495 * math/e_log10l.c: Likewise.
18496 * math/e_log2l.c: Likewise.
18497 * math/e_logl.c: Likewise.
18498 * math/e_powl.c: Likewise.
18499 * math/e_sinhl.c: Likewise.
18500 * math/e_sqrtl.c: Likewise.
18501 * math/e_scalb.c: Completely rewritten and optimized.
18502 * math/e_scalbf.c: Likewise.
18503 * math/e_scalbl.c: Likewise.
18504 * math/w_acos.c: Likewise.
18505 * math/w_acosf.c: Likewise.
18506 * math/w_acosl.c: Likewise.
18507 * math/w_acosh.c: Likewise.
18508 * math/w_acoshf.c: Likewise.
18509 * math/w_acoshl.c: Likewise.
18510 * math/w_asin.c: Likewise.
18511 * math/w_asinf.c: Likewise.
18512 * math/w_asinl.c: Likewise.
18513 * math/w_atan2.c: Likewise.
18514 * math/w_atan2f.c: Likewise.
18515 * math/w_atan2l.c: Likewise.
18516 * math/w_atanh.c: Likewise.
18517 * math/w_atanhf.c: Likewise.
18518 * math/w_atanhl.c: Likewise.
18519 * math/w_exp10.c: Likewise.
18520 * math/w_exp10f.c: Likewise.
18521 * math/w_exp10l.c: Likewise.
18522 * math/w_fmod.c: Likewise.
18523 * math/w_fmodf.c: Likewise.
18524 * math/w_fmodl.c: Likewise.
18525 * math/w_j0.c: Likewise.
18526 * math/w_j0f.c: Likewise.
18527 * math/w_j0l.c: Likewise.
18528 * math/w_j1.c: Likewise.
18529 * math/w_j1f.c: Likewise.
18530 * math/w_j1l.c: Likewise.
18531 * math/w_jn.c: Likewise.
18532 * math/w_jnf.c: Likewise.
18533 * math/w_log.c: Likewise.
18534 * math/w_logf.c: Likewise.
18535 * math/w_logl.c: Likewise.
18536 * math/w_log10.c: Likewise.
18537 * math/w_log10f.c: Likewise.
18538 * math/w_log10l.c: Likewise.
18539 * math/w_log2.c: Likewise.
18540 * math/w_log2f.c: Likewise.
18541 * math/w_log2l.c: Likewise.
18542 * math/w_pow.c: Likewise.
18543 * math/w_powf.c: Likewise.
18544 * math/w_powl.c: Likewise.
18545 * math/w_remainder.c: Likewise.
18546 * math/w_remainderf.c: Likewise.
18547 * math/w_remainderl.c: Likewise.
18548 * math/w_scalb.c: Likewise.
18549 * math/w_scalbf.c: Likewise.
18550 * math/w_scalbl.c: Likewise.
18551 * math/w_sqrt.c: Likewise.
18552 * math/w_sqrtf.c: Likewise.
18553 * math/w_sqrtl.c: Likewise.
18554 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18555 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18556 used.
18557 * math/math_private.h: Declare __kernel_standard_f.
18558 * math/w_cosh.c: Remove cruft and optimize a bit.
18559 * math/w_coshf.c: Likewise.
18560 * math/w_coshl.c: Likewise.
18561 * math/w_exp2.c: Likewise.
18562 * math/w_exp2f.c: Likewise.
18563 * math/w_exp2l.c: Likewise.
18564 * math/w_hypot.c: Likewise.
18565 * math/w_hypotf.c: Likewise.
18566 * math/w_hypotl.c: Likewise.
18567 * math/w_lgamma.c: Likewise.
18568 * math/w_lgamma_r.c: Likewise.
18569 * math/w_lgammaf.c: Likewise.
18570 * math/w_lgammaf_r.c: Likewise.
18571 * math/w_lgammal.c: Likewise.
18572 * math/w_lgammal_r.c: Likewise.
18573 * math/w_sinh.c: Likewise.
18574 * math/w_sinhf.c: Likewise.
18575 * math/w_sinhl.c: Likewise.
18576 * math/w_tgamma.c: Likewise.
18577 * math/w_tgammaf.c: Likewise.
18578 * math/w_tgammal.c: Likewise.
18579 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18580 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18581 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18582 Minor optimizations. Pretty printing. Remove cruft.
18583 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18584 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18585 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18586 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18587 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18588 * sysdeps/i386/fpu/e_asin.S: Likewise.
18589 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18590 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18591 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18592 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18593 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18594 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18595 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18596 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18597 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18598 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18599 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18600 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18601 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18602 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18603 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18604 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18605 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18606 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18607 * sysdeps/i386/fpu/e_log.S: Likewise.
18608 * sysdeps/i386/fpu/e_log10.S: Likewise.
18609 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18610 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18611 * sysdeps/i386/fpu/e_log2.S: Likewise.
18612 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18613 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18614 * sysdeps/i386/fpu/e_logf.S: Likewise.
18615 * sysdeps/i386/fpu/e_logl.S: Likewise.
18616 * sysdeps/i386/fpu/e_pow.S: Likewise.
18617 * sysdeps/i386/fpu/e_powf.S: Likewise.
18618 * sysdeps/i386/fpu/e_powl.S: Likewise.
18619 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18620 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18621 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18622 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18623 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18624 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18625 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18626 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18627 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18628 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18629 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18630 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18631 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18632 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18633 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18634 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18635 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18636 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18637 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18638 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18639 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18640 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18641 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18642 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18643 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18644 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18645 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18646 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18648 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18649 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18650 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18651 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18652 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18653 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18654 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18655 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18656 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18657 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18658 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18659 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18660 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18661 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18662 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18663 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18664 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18665 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18666 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18667 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18668 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18669 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18670 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18671 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18672 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18673 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18674 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18675 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18676 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18677 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18678 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18679 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18680 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18681 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18682 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18683 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18684 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18685 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18686 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18687 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18688 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18689 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18690 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18691 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18692 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18693 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18694 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18695 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18696 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18697 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18698 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18699 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18700 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18701 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18702 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18703 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18704 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18705 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18706 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18707 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18708 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18709 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18710 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18711 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18712 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18713 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18714 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18715 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18716 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18717 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18718 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18719 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18720 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18721 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18722 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18723 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18724 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18725 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18726 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18727 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18728 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18729 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18730 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18731 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18732 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18733 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18734 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18735 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18736 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18737 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18738 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18739 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18740 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18741 (__isnanf): Likewise.
18742 (__isinf_ns): Likewise.
18743 (__isinf_nsf): Likewise.
18744 (__finite): Likewise.
18745 (__finitef): Likewise.
18746 (__ieee754_sqrt): Define as macro.
18747 (__ieee754_sqrtf): Define as macro.
18748 (__ieee754_sqrtl): Define as macro.
18749 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18750 inlined copy.
18751 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18752 __FINITE_MATH_ONLY__ consistent.
18753 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18754
18755 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18756
18757 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18758 of rawmemchr.
18759
18760 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18761
18762 2011-10-09 Ulrich Drepper <drepper@gmail.com>
18763
18764 * po/ja.po: Update from translation team.
18765
18766 2011-10-08 Roland McGrath <roland@hack.frob.com>
18767
18768 * locale/programs/locarchive.c (prepare_address_space): New function.
18769 (create_archive, enlarge_archive, open_archive): Use it.
18770
18771 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18772 inside [SHARED], where it is used.
18773
18774 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18775
18776 * nss/getent.c (netgroup_keys): Remove unused variable.
18777 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18778
18779 2011-10-08 Ulrich Drepper <drepper@gmail.com>
18780
18781 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18782 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18784 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18785 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18786 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18787 * math/Makefile (libm-calls): Add s_isinf_ns.
18788 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18789 * math/multc3.c: Likewise.
18790 * math/s_casin.c: Likewise.
18791 * math/s_casinf.c: Likewise.
18792 * math/s_casinl.c: Likewise.
18793 * math/s_ccos.c: Likewise.
18794 * math/s_ccosf.c: Likewise.
18795 * math/s_ccosl.c: Likewise.
18796 * math/s_ctan.c: Likewise.
18797 * math/s_ctanf.c: Likewise.
18798 * math/s_ctanh.c: Likewise.
18799 * math/s_ctanhf.c: Likewise.
18800 * math/s_ctanhl.c: Likewise.
18801 * math/s_ctanl.c: Likewise.
18802 * math/w_fmod.c: Likewise.
18803 * math/w_fmodf.c: Likewise.
18804 * math/w_fmodl.c: Likewise.
18805 * math/w_remainder.c: Likewise.
18806 * math/w_remainderf.c: Likewise.
18807 * math/w_remainderl.c: Likewise.
18808 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18809 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18810 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18812 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18813 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18814 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18815 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18816
18817 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18818 of the number.
18819 * stdio-common/printf_fphex.c: Likewise.
18820 * stdio-common/printf_size.c: Likewise.
18821
18822 * math/e_exp10.c: Include math_private.h using <...> not "...".
18823 * math/e_exp10f.c: Likewise.
18824 * math/e_exp10l.c: Likewise.
18825 * math/e_exp2l.c: Likewise.
18826 * math/e_j0l.c: Likewise.
18827 * math/e_j1l.c: Likewise.
18828 * math/e_jnl.c: Likewise.
18829 * math/e_lgammal_r.c: Likewise.
18830 * math/e_rem_pio2l.c: Likewise.
18831 * math/e_scalb.c: Likewise.
18832 * math/e_scalbf.c: Likewise.
18833 * math/e_scalbl.c: Likewise.
18834 * math/k_cosl.c: Likewise.
18835 * math/k_sinl.c: Likewise.
18836 * math/k_tanl.c: Likewise.
18837 * math/s_cacoshf.c: Likewise.
18838 * math/s_catan.c: Likewise.
18839 * math/s_catanf.c: Likewise.
18840 * math/s_catanh.c: Likewise.
18841 * math/s_catanhf.c: Likewise.
18842 * math/s_catanhl.c: Likewise.
18843 * math/s_catanl.c: Likewise.
18844 * math/s_ccosh.c: Likewise.
18845 * math/s_ccoshf.c: Likewise.
18846 * math/s_ccoshl.c: Likewise.
18847 * math/s_cexp.c: Likewise.
18848 * math/s_cexpf.c: Likewise.
18849 * math/s_cexpl.c: Likewise.
18850 * math/s_clog.c: Likewise.
18851 * math/s_clog10.c: Likewise.
18852 * math/s_clog10f.c: Likewise.
18853 * math/s_clog10l.c: Likewise.
18854 * math/s_clogf.c: Likewise.
18855 * math/s_clogl.c: Likewise.
18856 * math/s_csin.c: Likewise.
18857 * math/s_csinf.c: Likewise.
18858 * math/s_csinh.c: Likewise.
18859 * math/s_csinhf.c: Likewise.
18860 * math/s_csinhl.c: Likewise.
18861 * math/s_csinl.c: Likewise.
18862 * math/s_csqrt.c: Likewise.
18863 * math/s_csqrtf.c: Likewise.
18864 * math/s_csqrtl.c: Likewise.
18865 * math/s_ctan.c: Likewise.
18866 * math/s_ctanf.c: Likewise.
18867 * math/s_ctanh.c: Likewise.
18868 * math/s_ctanhf.c: Likewise.
18869 * math/s_ctanhl.c: Likewise.
18870 * math/s_ctanl.c: Likewise.
18871 * math/s_ldexp.c: Likewise.
18872 * math/s_ldexpf.c: Likewise.
18873 * math/s_ldexpl.c: Likewise.
18874 * math/s_significand.c: Likewise.
18875 * math/s_significandf.c: Likewise.
18876 * math/s_significandl.c: Likewise.
18877 * math/w_acos.c: Likewise.
18878 * math/w_acosf.c: Likewise.
18879 * math/w_acosh.c: Likewise.
18880 * math/w_acoshf.c: Likewise.
18881 * math/w_acoshl.c: Likewise.
18882 * math/w_acosl.c: Likewise.
18883 * math/w_asin.c: Likewise.
18884 * math/w_asinf.c: Likewise.
18885 * math/w_asinl.c: Likewise.
18886 * math/w_atan2.c: Likewise.
18887 * math/w_atan2f.c: Likewise.
18888 * math/w_atan2l.c: Likewise.
18889 * math/w_atanh.c: Likewise.
18890 * math/w_atanhf.c: Likewise.
18891 * math/w_atanhl.c: Likewise.
18892 * math/w_cosh.c: Likewise.
18893 * math/w_coshf.c: Likewise.
18894 * math/w_coshl.c: Likewise.
18895 * math/w_dremf.c: Likewise.
18896 * math/w_exp10.c: Likewise.
18897 * math/w_exp10f.c: Likewise.
18898 * math/w_exp10l.c: Likewise.
18899 * math/w_exp2.c: Likewise.
18900 * math/w_exp2f.c: Likewise.
18901 * math/w_fmod.c: Likewise.
18902 * math/w_fmodf.c: Likewise.
18903 * math/w_fmodl.c: Likewise.
18904 * math/w_hypot.c: Likewise.
18905 * math/w_hypotf.c: Likewise.
18906 * math/w_hypotl.c: Likewise.
18907 * math/w_j0.c: Likewise.
18908 * math/w_j0f.c: Likewise.
18909 * math/w_j0l.c: Likewise.
18910 * math/w_j1.c: Likewise.
18911 * math/w_j1f.c: Likewise.
18912 * math/w_j1l.c: Likewise.
18913 * math/w_jn.c: Likewise.
18914 * math/w_jnf.c: Likewise.
18915 * math/w_jnl.c: Likewise.
18916 * math/w_lgamma.c: Likewise.
18917 * math/w_lgamma_r.c: Likewise.
18918 * math/w_lgammaf.c: Likewise.
18919 * math/w_lgammaf_r.c: Likewise.
18920 * math/w_lgammal.c: Likewise.
18921 * math/w_lgammal_r.c: Likewise.
18922 * math/w_log.c: Likewise.
18923 * math/w_log10.c: Likewise.
18924 * math/w_log10f.c: Likewise.
18925 * math/w_log10l.c: Likewise.
18926 * math/w_log2.c: Likewise.
18927 * math/w_log2f.c: Likewise.
18928 * math/w_log2l.c: Likewise.
18929 * math/w_logf.c: Likewise.
18930 * math/w_logl.c: Likewise.
18931 * math/w_pow.c: Likewise.
18932 * math/w_powf.c: Likewise.
18933 * math/w_powl.c: Likewise.
18934 * math/w_remainder.c: Likewise.
18935 * math/w_remainderf.c: Likewise.
18936 * math/w_remainderl.c: Likewise.
18937 * math/w_scalb.c: Likewise.
18938 * math/w_scalbf.c: Likewise.
18939 * math/w_scalbl.c: Likewise.
18940 * math/w_sinh.c: Likewise.
18941 * math/w_sinhf.c: Likewise.
18942 * math/w_sinhl.c: Likewise.
18943 * math/w_sqrt.c: Likewise.
18944 * math/w_sqrtf.c: Likewise.
18945 * math/w_sqrtl.c: Likewise.
18946 * math/w_tgamma.c: Likewise.
18947 * math/w_tgammaf.c: Likewise.
18948 * math/w_tgammal.c: Likewise.
18949
18950 * po/ja.po: Update from translation team.
18951
18952 2011-09-29 Andreas Jaeger <aj@suse.de>
18953
18954 [BZ #13179]
18955 * sunrpc/netname.c (netname2host): Fix logic.
18956
18957 [BZ #6779]
18958 [BZ #6783]
18959 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18960 correctly.
18961 * math/w_remainder.c (__remainder): Likewise.
18962 * math/w_remainderf.c (__remainderf): Likewise.
18963 * math/libm-test.inc (remainder_test): Add test cases.
18964
18965 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18966
18967 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18968 sdiv_qrnnd.
18969
18970 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18971
18972 * string/test-memcmp.c: Avoid unncessary #defines.
18973 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18974
18975 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18976
18977 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18978 Use new sse2 version for core i3 - i7 as it's faster
18979 than sse42 version.
18980 (bit_Prefer_PMINUB_for_stringop): New.
18981 * sysdeps/x86_64/rawmemchr.S: Update.
18982 Replace with faster SSE2 version.
18983 * sysdeps/x86_64/memrchr.S: New file.
18984 * sysdeps/x86_64/memchr.S: Update.
18985 Replace with faster SSE2 version.
18986
18987 2011-09-12 Marek Polacek <mpolacek@redhat.com>
18988
18989 * elf/dl-load.c (lose): Add cast to avoid warning.
18990
18991 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18992
18993 * po/ca.po: Update from translation team.
18994
18995 * inet/getnetgrent_r.c: Hook up nscd.
18996 * nscd/Makefile (routines): Add nscd_netgroup.
18997 (nscd-modules): Add netgroupcache.
18998 (CFLAGS-netgroupcache.c): Define.
18999 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19000 (cache_search): Add const to second parameter.
19001 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19002 INNETGR.
19003 (dbs): Add netgrdb entry.
19004 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19005 (verify_persistent_db): Handle netgrdb.
19006 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19007 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19008 GETFDNETGR.
19009 (netgroup_response_header): Define.
19010 (innetgroup_response_header): Define.
19011 (datahead): Add netgroup_response_header and innetgroup_response_header
19012 elements.
19013 * nscd/nscd.conf: Add entries for netgroup cache.
19014 * nscd/nscd.h (dbtype): Add netgrdb.
19015 (_PATH_NSCD_NETGROUP_DB): Define.
19016 (netgroup_iov_disabled): Declare.
19017 (xmalloc, xcalloc, xrealloc): Move declarations here.
19018 (cache_search): Adjust prototype.
19019 Add netgroup-related prototypes.
19020 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19021 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19022 (__nscd_innetgr): Declare.
19023 * nscd/selinux.c (perms): Use access_vector_t as element type and
19024 add netgroup-related initializers.
19025 * nscd/netgroupcache.c: New file.
19026 * nscd/nscd_netgroup.c: New file.
19027 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19028 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19029 For four parameters use innetgr.
19030 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19031 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19032 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19033 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19034
19035 * nscd/connections.c (register_traced_file): Don't register file
19036 for disabled databases.
19037
19038 2011-10-06 Ulrich Drepper <drepper@gmail.com>
19039
19040 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19041
19042 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19043 from tree and freeing node.
19044
19045 2011-09-25 Jiri Olsa <jolsa@redhat.com>
19046
19047 * nss/nsswitch.c (__nss_database_lookup): Handle
19048 nss_parse_service_list out of memory case.
19049
19050 2011-09-15 Jiri Olsa <jolsa@redhat.com>
19051
19052 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19053 out of memory case.
19054
19055 2011-10-04 Andreas Schwab <schwab@redhat.com>
19056
19057 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19058 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19059 pass it down.
19060 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19061 elf_machine_rela, elf_machine_lazy_rel.
19062 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19063 (ELF_DYNAMIC_DO_REL): Likewise.
19064 (ELF_DYNAMIC_DO_RELA): Likewise.
19065 (ELF_DYNAMIC_RELOCATE): Likewise.
19066 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19067 to ELF_DYNAMIC_DO_REL.
19068 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19069 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19070 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19071 elf_machine_rela.
19072 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19073 skip_ifunc, don't call ifunc function if non-zero.
19074 (elf_machine_rela): Likewise.
19075 (elf_machine_lazy_rel): Likewise.
19076 (elf_machine_lazy_rela): Likewise.
19077 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19078 (elf_machine_lazy_rel): Likewise.
19079 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19080 Likewise.
19081 (elf_machine_lazy_rel): Likewise.
19082 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19083 Likewise.
19084 (elf_machine_lazy_rel): Likewise.
19085 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19086 (elf_machine_lazy_rel): Likewise.
19087 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19088 (elf_machine_lazy_rel): Likewise.
19089 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19090 (elf_machine_lazy_rel): Likewise.
19091 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19092 (elf_machine_lazy_rel): Likewise.
19093 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19094 (elf_machine_lazy_rel): Likewise.
19095 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19096 (elf_machine_lazy_rel): Likewise.
19097
19098 2011-09-28 Ulrich Drepper <drepper@gmail.com>
19099
19100 * nss/nss_files/files-init.c (_nss_files_init): Use static
19101 initialization for all the *_traced_file variables.
19102
19103 2011-09-28 Andreas Schwab <schwab@redhat.com>
19104
19105 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19106
19107 2011-09-27 Roland McGrath <roland@hack.frob.com>
19108
19109 [BZ #13226]
19110 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19111
19112 2011-09-27 Andreas Schwab <schwab@redhat.com>
19113
19114 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19115 Reread the line before reparsing it.
19116
19117 2011-09-26 Andreas Schwab <schwab@redhat.com>
19118
19119 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19120
19121 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19122 Maxim Kuvyrkov <maxim@codesourcery.com>
19123 Joseph Myers <joseph@codesourcery.com>
19124
19125 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19126 if needed for __stack_chk_guard.
19127
19128 2011-09-19 Roland McGrath <roland@hack.frob.com>
19129
19130 * sysdeps/posix/spawni.c (script_execute): Always define it.
19131 It will be optimized away if unused.
19132 (maybe_script_execute): New function.
19133 (__spawni): Call it.
19134
19135 * Makerules: Don't include tls.make.
19136 (config-tls): Always set to thread.
19137 * tls.make.c: File removed.
19138
19139 2011-09-19 Mike Frysinger <vapier@gentoo.org>
19140
19141 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19142 * config.make.in (CPPFLAGS-config): New substituted variable.
19143
19144 2011-09-15 Ulrich Drepper <drepper@gmail.com>
19145
19146 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19147
19148 [BZ #13192]
19149 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19150 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19151
19152 2011-09-15 Roland McGrath <roland@hack.frob.com>
19153
19154 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19155 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19156 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19157 (CALL_FAIL): Likewise.
19158 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19159 (CALL_FAIL): Macro removed.
19160 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19161
19162 2011-09-15 Ulrich Drepper <drepper@gmail.com>
19163
19164 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19165 for __FINITE_MATH_ONLY__ == 1.
19166
19167 2011-09-15 Andreas Schwab <schwab@redhat.com>
19168
19169 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19170 __ieee754_sqrt instead of sqrt.
19171 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19172 __ieee754_sqrtf instead of sqrtf.
19173 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19174 __floorf instead of floorf.
19175 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19176 __floorf, __truncf instead of floorf, truncf.
19177
19178 2011-09-14 Ulrich Drepper <drepper@gmail.com>
19179
19180 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19181
19182 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19183 __extern_always_inline.
19184 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19185 32-bit.
19186
19187 2011-09-14 Andreas Schwab <schwab@redhat.com>
19188
19189 * elf/rtld.c (dl_main): Also relocate in dependency order when
19190 doing symbol dependency testing.
19191
19192 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19193
19194 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19195 Always define `refsym'.
19196
19197 2011-09-13 Andreas Schwab <schwab@redhat.com>
19198
19199 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19200 (__FD_ELT): Renamed from __FDELT.
19201 * misc/bits/select2.h (__FD_ELT): Likewise.
19202 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19203 __FD_MASK instead of __FDELT, __FDMASK.
19204 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19205 Likewise.
19206 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19207 Likewise.
19208
19209 * elf/Makefile (gen-ldd): Fix pattern.
19210
19211 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19212 (init_tls): Likewise.
19213
19214 2011-09-12 Ulrich Drepper <drepper@gmail.com>
19215
19216 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19217
19218 2011-09-12 Andreas Schwab <schwab@redhat.com>
19219
19220 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19221 `struct cmsghdr *' instead of `void *'.
19222 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19223 Likewise.
19224
19225 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19226
19227 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19228 if non-absolute.
19229 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19230 ldd_rewrite_script.
19231
19232 2011-09-11 Ulrich Drepper <drepper@gmail.com>
19233
19234 * configure.in: Remove --with-tls option.
19235 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19236 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19237 out in case it is missing.
19238 * sysdeps/ia64/elf/configure.in: Likewise.
19239 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19240 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19241 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19242 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19243 * sysdeps/sh/elf/configure.in: Likewise.
19244 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19245 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19246 * sysdeps/x86_64/elf/configure.in: Likewise.
19247 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19248 * sysdeps/mach/hurd/tls.h: Likewise.
19249
19250 [BZ #13067]
19251 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19252
19253 [BZ #13090]
19254 * configure.in: Fix use of AC_INIT.
19255
19256 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19257
19258 2011-09-10 Ulrich Drepper <drepper@gmail.com>
19259
19260 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19261 __set_errno.
19262 * malloc/hooks.c: Likewise.
19263
19264 [BZ #11929]
19265 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19266 variables statically.
19267 (narenas): Initialize.
19268 (list_lock): Initialize.
19269 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19270 initializtion of main_arena and list_lock. Small cleanups.
19271 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19272 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19273 Add initializers to main_arena and mp_.
19274 (malloc_state): Remove pagesize member. Change all users to use
19275 GLRO(dl_pagesize).
19276
19277 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19278 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19279 is always initialized.
19280
19281 * malloc/malloc.c: Removed unused configurations and dead code.
19282 * malloc/arena.c: Likewise.
19283 * malloc/hooks.c: Likewise.
19284 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19285
19286 * include/tls.h: Removed. USE___THREAD must always be defined.
19287 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19288 * elf/dl-libc.c: Likewise.
19289 * elf/dl-tsd.c: Likewise.
19290 * include/errno.h: Likewise.
19291 * include/netdb.h: Likewise.
19292 * include/resolv.h: Likewise.
19293 * inet/herrno-loc.c: Likewise.
19294 * inet/herrno.c: Likewise.
19295 * malloc/arena.c: Likewise.
19296 * malloc/hooks.c: Likewise.
19297 * malloc/malloc.c: Likewise.
19298 * resolv/res-state.c: Likewise.
19299 * resolv/res_libc.c: Likewise.
19300 * sysdeps/i386/dl-machine.h: Likewise.
19301 * sysdeps/ia64/dl-machine.h: Likewise.
19302 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19303 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19304 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19305 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19306 * sysdeps/sh/dl-machine.h: Likewise.
19307 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19308 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19309 * sysdeps/unix/i386/sysdep.S: Likewise.
19310 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19311 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19313 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19314 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19315 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19316 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19320 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19321 * sysdeps/x86_64/dl-machine.h: Likewise.
19322 * tls.make.c: Likewise.
19323
19324 * configure.in: Remove --with-__thread option. Make tests for
19325 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19326 tls_model attribute fail if no support is available. Remove
19327 USE_IN_LIBIO.
19328 * Makeconfig: Adjust for dropped configure option. All features are
19329 now mandatory.
19330 * Makerules: Likewise.
19331 * Versions.def: Likewise.
19332 * argp/argp-fmtstream.c: Likewise.
19333 * argp/argp-fmtstream.h: Likewise.
19334 * argp/argp-help.c: Likewise.
19335 * assert/assert.c: Likewise.
19336 * config.h.in: Likewise.
19337 * config.make.in: Likewise.
19338 * configure: Likewise.
19339 * configure.in: Likewise.
19340 * csu/Versions: Likewise.
19341 * csu/init.c: Likewise.
19342 * elf/tst-audit2.c: Likewise.
19343 * elf/tst-tls10.c: Likewise.
19344 * elf/tst-tls10.h: Likewise.
19345 * elf/tst-tls11.c: Likewise.
19346 * elf/tst-tls12.c: Likewise.
19347 * elf/tst-tls14.c: Likewise.
19348 * elf/tst-tlsmod11.c: Likewise.
19349 * elf/tst-tlsmod12.c: Likewise.
19350 * elf/tst-tlsmod13.c: Likewise.
19351 * elf/tst-tlsmod13a.c: Likewise.
19352 * elf/tst-tlsmod14a.c: Likewise.
19353 * elf/tst-tlsmod15b.c: Likewise.
19354 * elf/tst-tlsmod16a.c: Likewise.
19355 * elf/tst-tlsmod16b.c: Likewise.
19356 * elf/tst-tlsmod7.c: Likewise.
19357 * elf/tst-tlsmod8.c: Likewise.
19358 * elf/tst-tlsmod9.c: Likewise.
19359 * gmon/gmon.c: Likewise.
19360 * grp/fgetgrent_r.c: Likewise.
19361 * grp/putgrent.c: Likewise.
19362 * hurd/fopenport.c: Likewise.
19363 * include/libc-symbols.h: Likewise.
19364 * include/tls.h: Likewise.
19365 * intl/gettextP.h: Likewise.
19366 * intl/loadinfo.h: Likewise.
19367 * locale/global-locale.c: Likewise.
19368 * locale/localeinfo.h: Likewise.
19369 * mach/devstream.c: Likewise.
19370 * malloc/arena.c: Likewise.
19371 * malloc/set-freeres.c: Likewise.
19372 * misc/err.c: Likewise.
19373 * misc/getttyent.c: Likewise.
19374 * misc/mntent_r.c: Likewise.
19375 * posix/getopt.c: Likewise.
19376 * posix/wordexp.c: Likewise.
19377 * pwd/fgetpwent_r.c: Likewise.
19378 * resolv/Versions: Likewise.
19379 * resolv/res_hconf.c: Likewise.
19380 * shadow/fgetspent_r.c: Likewise.
19381 * shadow/putspent.c: Likewise.
19382 * stdio-common/printf_fphex.c: Likewise.
19383 * stdio-common/tmpfile.c: Likewise.
19384 * stdlib/abort.c: Likewise.
19385 * stdlib/fmtmsg.c: Likewise.
19386 * sunrpc/auth_unix.c: Likewise.
19387 * sunrpc/clnt_perr.c: Likewise.
19388 * sunrpc/clnt_tcp.c: Likewise.
19389 * sunrpc/clnt_udp.c: Likewise.
19390 * sunrpc/clnt_unix.c: Likewise.
19391 * sunrpc/openchild.c: Likewise.
19392 * sunrpc/svc_simple.c: Likewise.
19393 * sunrpc/svc_tcp.c: Likewise.
19394 * sunrpc/svc_udp.c: Likewise.
19395 * sunrpc/svc_unix.c: Likewise.
19396 * sunrpc/xdr.c: Likewise.
19397 * sunrpc/xdr_array.c: Likewise.
19398 * sunrpc/xdr_rec.c: Likewise.
19399 * sunrpc/xdr_ref.c: Likewise.
19400 * sunrpc/xdr_stdio.c: Likewise.
19401
19402 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19403
19404 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19405
19406 2011-07-03 Andreas Jaeger <aj@suse.de>
19407
19408 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19409 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19410 regenerate with gen-libm-tests.pl.
19411
19412 2010-05-12 Petr Baudis <pasky@suse.cz>
19413
19414 [BZ #11589]
19415 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19416 around j0() zero points by switching to j1().
19417 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19418 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19419 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19420 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19421
19422 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19423
19424 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19425 instead of 0.
19426 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19427 instead of 0. .
19428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19429 Patch in part by Pavel Roskin <proski@gnu.org>.
19430
19431 [BZ #13138]
19432 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19433 realloc.
19434 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19435 Free memory block if necessary.
19436
19437 [BZ #12847]
19438 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19439 be NULL. Don't lock in this case.
19440
19441 2011-09-09 Roland McGrath <roland@hack.frob.com>
19442
19443 * elf/elf.h (ELFOSABI_GNU): New macro.
19444 (ELFOSABI_LINUX): Define to that.
19445
19446 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19447
19448 * string/strncat.c (strncat): Undef the symbol in case it has been
19449 defined in bits/string.h.
19450
19451 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19452
19453 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19454
19455 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19456 link map.
19457
19458 2011-08-17 Andreas Jaeger <aj@suse.de>
19459
19460 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19461
19462 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19463 Ian Lance Taylor <iant@google.com>
19464
19465 * math/libm-test.inc (lround_test): New testcase.
19466 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19467
19468 2011-09-08 Ulrich Drepper <drepper@gmail.com>
19469
19470 * Makefile: Remove support for automatic cvs check-ins.
19471 * Makerules: Likewise.
19472 * config.make.in: Likewise.
19473 * configure.in: Likewise.
19474 * intl/Makefile: Likewise.
19475 * locale/Makefile: Likewise.
19476 * po/Makefile: Likewise.
19477 * posix/Makefile: Likewise.
19478 * sysdeps/gnu/Makefile: Likewise.
19479 * sysdeps/mach/hurd/Makefile: Likewise.
19480 * sysdeps/sparc/sparc32/Makefile: Likewise.
19481
19482 [BZ #13118]
19483 * posix/Makefile (bug-regex32-ENV): Define.
19484 Patch by John Stanley <jpsinthemix@verizon.net>.
19485
19486 * misc/Makefile (headers): Add bits/select2.h.
19487 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19488 * misc/bits/select2.h: New file.
19489 * include/bits/select2.h: New file.
19490 * debug/Makefile (routines): Add fdelt_chk.
19491 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19492 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19493 FD_ISSET.
19494 * debug/fdelt_chk.c: New file.
19495
19496 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19497 * wcsmbs/test-wmemcmp.c: Likewise.
19498 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19499 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19500
19501 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19502
19503 * string/Makefile (strop-tests): Add memcmp.
19504 * string/test-wmemcmp.c: New file.
19505 * string/test-memcmp.c: Add wmemcmp support.
19506
19507 2011-09-08 Roland McGrath <roland@hack.frob.com>
19508
19509 [BZ #13153]
19510 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19511 2011-07-19 change.
19512
19513 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19514 garbage value in a __mach_port_mod_refs call in the cases of the
19515 task-self and thread-self ports.
19516
19517 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19518
19519 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19520
19521 2011-09-08 Andreas Schwab <schwab@redhat.com>
19522
19523 * elf/dl-load.c (lose): Check for non-null L.
19524
19525 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19526
19527 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19528
19529 * elf/dl-libc.c (dlerror_run): Pass back error code from
19530 dl_catch_error.
19531
19532 [BZ #13123]
19533 * elf/dl-load.c (lose): Free l_origin if it is valid.
19534
19535 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19536 names.
19537 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19538 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19540 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19541 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19542 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19543
19544 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19545
19546 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19547 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19548 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19549 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19550 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19551 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19552 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19553 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19554 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19555 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19556
19557 2011-08-15 Alan Modra <amodra@gmail.com>
19558
19559 [BZ #13092]
19560 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19561 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19562 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19563 ppc_mcount to static-only-routines.
19564 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19565 __mcount_internal.
19566 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19567 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19568
19569 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19570
19571 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19572 for finite and infinity parameters.
19573
19574 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19575
19576 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19577 and add nop instructions for throughput optimization.
19578 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19579
19580 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19581
19582 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19583 aligned copy for power7 with vector-scalar instructions.
19584 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19585
19586 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19587
19588 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19589 AVX check.
19590
19591 2011-09-07 Andreas Schwab <schwab@redhat.com>
19592
19593 [BZ #13144]
19594 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19595 last change.
19596
19597 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19598
19599 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19600 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19601 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19602 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19603 clock_gettime.
19604
19605 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19606
19607 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19608 Forgot to demangle the pointer.
19609
19610 * sysdeps/i386/sysdep.h: Define atom_text_section.
19611 * sysdeps/x86_64/sysdep.h: Likewise.
19612 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19613 section with atom_text_section.
19614 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19615 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19616 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19617 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19618 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19619
19620 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19621 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19622 already be defined. Change to take two parameters and don't assign
19623 result to variable. Adjust all users.
19624 Define INTERNAL_GETTIME if not already defined.
19625 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19626 call.
19627 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19628 HAVE_CLOCK_GETTIME_VSYSCALL.
19629 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19630
19631 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19632 gettimeofday vsyscall, just use time.
19633
19634 2011-09-06 Andreas Schwab <schwab@redhat.com>
19635
19636 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19637 <errno.h>.
19638
19639 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19640
19641 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19642 syscall on x86-64.
19643 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19644 syscall.
19645 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19646 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19647 syscall if possible.
19648
19649 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19650
19651 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19652 e_ident. Don't pass to find_mapsXX.
19653 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19654
19655 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19656
19657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19658 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19659 * sysdeps/x86_64/multiarch/strchr.S: Update.
19660 Check bit_slow_BSF bit.
19661 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19662 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19663 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19664
19665 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19666
19667 [BZ #13134]
19668 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19669 before glibc 2.15.
19670 (tryshell): Define.
19671 (__spawni): Change last parameter to be flag. Test
19672 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19673 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19674 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19675 * posix/spawni.c: Likewise.
19676 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19677 * posix/spawnp.c: Likewise. Change normal version to use
19678 SPAWN_XFLAGS_USE_PATH.
19679 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19680 SPAWN_XFLAGS_TRY_SHELL.
19681
19682 [BZ #13150]
19683 * posix/glob.h: Remove gcc 1.x support.
19684
19685 [BZ #13068]
19686 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19687
19688 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19689
19690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19691 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19692 strrchr-sse2-bsf
19693 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19694 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19695 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19696 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19697 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19698 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19699
19700 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19701
19702 * sysdeps/x86_64/wcscmp.S: New file.
19703
19704 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19705 wcscmp-c wcscmp-sse2
19706 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19707 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19708 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19709 * wcsmbs/wcscmp.c: Allow renaming.
19710
19711 2011-09-05 David S. Miller <davem@davemloft.net>
19712
19713 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19714 stack slot, rather than the struct return pointer slot.
19715 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19716 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19718 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19719
19720 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19721
19722 * po/ja.po: Update from translation team.
19723
19724 [BZ #13144]
19725 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19726 kernel in 64-bit binaries.
19727
19728 2011-09-01 David S. Miller <davem@davemloft.net>
19729
19730 * elf/elf.h (HWCAP_SPARC_*): Move to..
19731 * sysdeps/sparc/sysdep.h: this new file and add new values.
19732 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19733 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19734 _DL_HWCAP_COUNT to 24.
19735 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19736 entries.
19737 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19738 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19739 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19741 instead of magic constants.
19742 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19743
19744 2011-08-31 David S. Miller <davem@davemloft.net>
19745
19746 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19747 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19748 Reimplement to do errno handling inline.
19749 (SYSCALL_ERROR_HANDLER): New macro.
19750 (__SYSCALL_STRING): Do not do errno handling in asm.
19751 (__CLONE_SYSCALL_STRING): Delete.
19752 (__INTERNAL_SYSCALL_STRING): Delete.
19753 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19754 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19755 (PSEUDO): Reimplement to do errno handling inline.
19756 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19757 (SYSCALL_ERROR_HANDLER): New macro.
19758 (__SYSCALL_STRING): Do not do errno handling in asm.
19759 (__CLONE_SYSCALL_STRING): Delete.
19760 (__INTERNAL_SYSCALL_STRING): Delete.
19761 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19762 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19763 i386.
19764 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19765 (inline_syscall*): Add 'err' argument.
19766 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19767 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19768 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19769 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19770
19771 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19772 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19773
19774 2011-08-30 Andreas Schwab <schwab@redhat.com>
19775
19776 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19777
19778 2011-08-29 Jiri Olsa <jolsa@redhat.com>
19779
19780 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19781 directive.
19782
19783 2011-08-24 David S. Miller <davem@davemloft.net>
19784
19785 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19786
19787 2011-08-24 Andreas Schwab <schwab@redhat.com>
19788
19789 * elf/Makefile: Add rules to build and run unload8 test.
19790 * elf/unload8.c: New file.
19791 * elf/unload8mod1.c: New file.
19792 * elf/unload8mod1x.c: New file.
19793 * elf/unload8mod2.c: New file.
19794 * elf/unload8mod3.c: New file.
19795
19796 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19797 it wasn't used.
19798
19799 2011-08-23 David S. Miller <davem@davemloft.net>
19800
19801 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19802 subtract stack bias.
19803 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19804 %sp not %fp in calculations.
19805 (_JMPBUF_UNWINDS_ADJ): Likewise.
19806
19807 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19808 (aio_suspend): Call it to force an exception region around the
19809 AIO_MISC_WAIT() invocation.
19810
19811 2011-08-23 Andreas Schwab <schwab@redhat.com>
19812
19813 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19814 backslash.
19815
19816 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19817
19818 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19819 protection macro.
19820 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19821 and <dl-machine.h>.
19822 (Elf64_FuncDesc): Remove.
19823
19824 2011-08-22 David S. Miller <davem@davemloft.net>
19825
19826 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19827 sigaltstack check, add missing cfi directives.
19828 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19829 missing cfi directives, and sigaltstack handling.
19830
19831 2011-08-16 Andreas Schwab <schwab@redhat.com>
19832
19833 [BZ #11724]
19834 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19835 object is seen twice.
19836 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19837
19838 * elf/Makefile (distribute): Add tst-initorder2.c.
19839 (tests): Add tst-initorder2.
19840 (modules-names): Add tst-initorder2a tst-initorder2b
19841 tst-initorder2c tst-initorder2d. Add rules to build them.
19842 ($(objpfx)tst-initorder2.out): New rule.
19843 * elf/tst-initorder2.c: New file.
19844 * elf/tst-initorder2.exp: New file.
19845
19846 2011-08-22 Andreas Schwab <schwab@redhat.com>
19847
19848 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19849
19850 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19851 dependencies back to end of function.
19852
19853 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19854 $(elfobjdir)/ld.so.
19855
19856 2011-08-21 Ulrich Drepper <drepper@gmail.com>
19857
19858 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19859 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19860 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19861 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19862 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19863 of __vdso_gettimeofday.
19864 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19865 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19866 attribute_hidden.
19867 (_libc_vdso_platform_setup): Remove initialization of
19868 __vdso_gettimeofday and __vdso_time.
19869
19870 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19871
19872 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19873 and fgetc_unlocked.
19874 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19875 getc_unlocked.
19876
19877 * elf/dl-open.c (add_to_global): Report additions to the global scope
19878 for LD_DEBUG=scopes.
19879 (dl_open_worker): Also print scope of newly loaded dependencies.
19880 (_dl_show_scope): Indicate if there is no scope.
19881
19882 [BZ #13114]
19883 * stdio-common/Makefile (tests): Add bug24.
19884 * stdio-common/bug24.c: New file.
19885
19886 2011-08-19 Andreas Jaeger <aj@suse.de>
19887
19888 [BZ #13114]
19889 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19890 non-existant file when using close-on-exec mode.
19891
19892 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19893
19894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19895 the very first instruction.
19896
19897 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19898 the CFI state in the end.
19899 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19900 inclusion of dl-trampoline.h.
19901 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19902
19903 2011-08-19 Andreas Schwab <schwab@redhat.com>
19904
19905 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19906 expectations for long double.
19907
19908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19909 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19910
19911 2011-08-14 David S. Miller <davem@davemloft.net>
19912
19913 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19914 artificual limit depends upon the system page size.
19915
19916 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19917
19918 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19919 * resolv/Makefile: Define CFLAGS-libresolv.
19920
19921 2011-08-17 Andreas Schwab <schwab@redhat.com>
19922
19923 * nss/makedb.c (compute_tables): Make variables used in nested
19924 function static.
19925
19926 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19927
19928 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19929 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19930 if buffer was too small.
19931
19932 * elf/pldd.c (main): Attach to all threads in the process.
19933 Rewrite /proc handling to use *at functions.
19934
19935 2011-08-16 Ulrich Drepper <drepper@gmail.com>
19936
19937 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19938 specifies first scope to show.
19939 (dl_open_worker): Update callers. Move printing scope of new
19940 object to before the relocation.
19941 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19942 * sysdeps/generic/ldsodefs.h: Update declaration.
19943
19944 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19945 string for the scope number.
19946
19947 2011-08-14 Ulrich Drepper <drepper@gmail.com>
19948
19949 * nscd/servicescache.c (cache_addserv): Make sure written is always
19950 initialized.
19951
19952 2011-08-14 Roland McGrath <roland@hack.frob.com>
19953
19954 * sysdeps/i386/i486/bits/atomic.h
19955 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19956 statement expression, so as to suppress "set but not used" warning.
19957 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19958
19959 * string/strncat.c (STRNCAT): Use prototype definition.
19960
19961 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19962 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19963 -Iprograms here.
19964 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19965 (localedef-modules): Add localedef.
19966 (locale-modules): Add locale.
19967
19968 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19969 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19970 to avoid a warning.
19971
19972 2011-08-14 David S. Miller <davem@davemloft.net>
19973
19974 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19975 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19976
19977 2011-08-13 Ulrich Drepper <drepper@gmail.com>
19978
19979 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19980 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19981 * elf/rtld.c (dl_main): Set l_name of vDSO.
19982 Call _dl_show_scope when DL_DEBUG_SCOPES.
19983 (process_dl_debug): Recognize scopes flag and also set it for all.
19984 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19985 Declare _dl_show_scope.
19986
19987 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19988 (do_dlopen): Pass caller_dlopen to dl_open.
19989 (__libc_dlopen_mode): Initialize caller_dlopen.
19990
19991 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19992 of libc. Make tolower call locale-independent. Optimize a bit by
19993 using isdigit instead of isalnum.
19994 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19995
19996 2011-08-12 Ulrich Drepper <drepper@gmail.com>
19997
19998 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19999 was a dependency or dynamically loaded.
20000
20001 2011-08-11 Ulrich Drepper <drepper@gmail.com>
20002
20003 * intl/l10nflist.c: Allow architecture-specific pop function.
20004 * sysdeps/x86_64/l10nflist.c: New file.
20005
20006 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20007 classification.
20008
20009 2011-08-10 Andreas Schwab <schwab@redhat.com>
20010
20011 * include/dirent.h: Add libc_hidden_proto for scandirat and
20012 scandirat64. Don't declare __scandirat64.
20013 * dirent/scandirat.c: Add libc_hidden_def.
20014 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20015 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20016
20017 2011-08-10 David S. Miller <davem@davemloft.net>
20018
20019 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20020 enum.
20021 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20022 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20023 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20024
20025 2011-08-09 Ulrich Drepper <drepper@gmail.com>
20026
20027 * Versions.def [libc]: Add GLIBC_2.15.
20028 * dirent/Makefile (routines): Add scandirat and scandirat64.
20029 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20030 GLIBC_2.15.
20031 * dirent/dirent.h: Declare scandirat and scandirat64.
20032 * dirent/scandirat.c: New file.
20033 * dirent/scandirat64.c: New file.
20034 * sysdeps/wordsize-64/scandirat.c: New file.
20035 * sysdeps/wordsize-64/scandirat64.c: New file.
20036 * dirent/opendir.c: Define opendirat.
20037 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20038 using scandirat.
20039 * dirent/scandir64.c: Adjust for scandir.c change.
20040 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20041 __scandirat64, and __scandir_cancel_handler.
20042 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20043 additional parameter and use openat instead of open (outside of ld.so).
20044 Add new __opendir as wrapper around __opendirat.
20045 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20046 here without requiring old scandirat implementation.
20047
20048 2011-08-08 Ulrich Drepper <drepper@gmail.com>
20049
20050 * dirent/scandir.c (cancel_handler): Renamed to
20051 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20052 defined. Adjust users.
20053 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20054 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20055
20056 2011-08-04 Ulrich Drepper <drepper@gmail.com>
20057
20058 * string/test-string.h (IMPL): Use __STRING to expand name and then
20059 stringify it.
20060
20061 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20062 of cleanups.
20063
20064 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20065
20066 * string/Makefile: Update.
20067 (strop-tests): Append strncat.
20068 * string/test-wcscmp.c: New file.
20069 New comprehensive test for wcscmp.
20070 * string/test-strcmp.c: Update.
20071 (WIDE): New define.
20072
20073 2011-07-22 Andreas Schwab <schwab@redhat.com>
20074
20075 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20076 line.
20077
20078 2011-07-26 Andreas Schwab <schwab@redhat.com>
20079
20080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20081 encoding to ACE if AI_IDN.
20082
20083 2011-08-01 Jakub Jelinek <jakub@redhat.com>
20084
20085 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20086 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20087
20088 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20089
20090 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20091 Fix overflow bug in strncat.
20092 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20093
20094 * string/test-strncat.c: Update.
20095 Add new tests for checking overflow bugs.
20096
20097 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20098
20099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20100 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20101 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20102 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20103 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20104 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20105 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20106 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20107 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20108
20109 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20110 (USE_AS_STRCAT): Define.
20111 Add strcat and strncat support.
20112 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20113
20114 2011-07-25 Andreas Schwab <schwab@redhat.com>
20115
20116 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20117 __n bigger than INT_MAX+1.
20118 (__strncmp_g): Likewise.
20119
20120 2011-07-23 Ulrich Drepper <drepper@gmail.com>
20121
20122 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20123 * libio/stido.h: Likewise.
20124
20125 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20126 (AF_NFC): Define.
20127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20128 (AF_NFC): Define.
20129
20130 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20131 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20132 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20133 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20134 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20135
20136 [BZ #13021]
20137 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20138 installed.
20139
20140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20141 typo.
20142 (_dl_x86_64_save_sse): Likewise.
20143
20144 2011-07-22 Ulrich Drepper <drepper@gmail.com>
20145
20146 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20147 OSXSAVE.
20148 (_dl_x86_64_save_sse): Likewise.
20149
20150 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20151
20152 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20153
20154 2011-07-21 Andreas Schwab <schwab@redhat.com>
20155
20156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20157 change.
20158 (_dl_x86_64_save_sse): Use correct AVX check.
20159
20160 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20161
20162 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20163 bug in strncpy/strncat.
20164 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20165
20166 2011-07-21 Ulrich Drepper <drepper@gmail.com>
20167
20168 * string/tester.c (test_strcat): Add tests for different alignments
20169 of source and destination.
20170 (test_strncat): Likewise.
20171
20172 2011-07-20 Ulrich Drepper <drepper@gmail.com>
20173
20174 [BZ #12852]
20175 * posix/glob.c (glob): Check passed in values before using them in
20176 expressions to avoid some overflows.
20177 (glob_in_dir): Likewise.
20178
20179 [BZ #13007]
20180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20181 check for AVX enablement so that we don't crash with old kernels and
20182 new hardware.
20183 * elf/tst-audit4.c: Add same checks here.
20184 * elf/tst-audit6.c: Likewise.
20185
20186 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20187
20188 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20189
20190 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20191
20192 2011-07-20 Ulrich Drepper <drepper@gmail.com>
20193
20194 * po/cs.po: Update from translation team.
20195 * po/bg.po: Likewise.
20196
20197 2011-07-12 Marek Polacek <mpolacek@redhat.com>
20198
20199 * misc/sys/cdefs.h: Add support for const attribute.
20200 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20201 to gnu_dev_{major,minor,makedev} functions.
20202
20203 2011-07-20 Marek Polacek <mpolacek@redhat.com>
20204
20205 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20206
20207 2011-07-20 Andreas Schwab <schwab@redhat.com>
20208
20209 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20210 strlen results.
20211
20212 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20213
20214 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20215 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20216 register in order to avoid conflicts with the soft frame pointer
20217 being held in r11 when necessary.
20218 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20219 (INTERNAL_VSYSCALL_NCS): Likewise.
20220
20221 2011-07-14 Marek Polacek <mpolacek@redhat.com>
20222
20223 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20224 * elf/dl-fini.c (_dl_fini): Adjust caller.
20225 * elf/dl-close.c (_dl_close_worker): Likewise.
20226 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20227
20228 2011-07-15 Marek Polacek <mpolacek@redhat.com>
20229
20230 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20231 "aux_cache->nlibs < 0".
20232
20233 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20234 in the reload-count case.
20235
20236 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20237
20238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20239 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20240 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20241 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20242 * sysdeps/x86_64/multiarch/strcat.S: New file.
20243 * sysdeps/x86_64/multiarch/strncat.S: New file.
20244 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20245 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20246 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20247 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20248 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20249 (USE_AS_STRCAT): Define.
20250 Add strcat and strncat support.
20251 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20252 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20253 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20254 * string/strncat.c: Update.
20255 (USE_AS_STRNCAT): Define.
20256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20257 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20258 and i7.
20259 * sysdeps/x86_64/multiarch/init-arch.h
20260 (bit_Prefer_PMINUB_for_stringop): New.
20261 (index_Prefer_PMINUB_for_stringop): Likewise.
20262 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20263 bit_Prefer_PMINUB_for_stringop.
20264
20265 2011-07-19 Ulrich Drepper <drepper@gmail.com>
20266
20267 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20268 buffer64.
20269 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20270 of casting of buffer.
20271 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20272 buffer32 and buffer64.
20273 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20274 writes instead of casting of buffer.
20275 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20276 buffer32.
20277 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20278 casting of buffer.
20279
20280 2011-07-19 Andreas Schwab <schwab@redhat.com>
20281
20282 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20283
20284 2011-07-19 Ulrich Drepper <drepper@gmail.com>
20285
20286 * nscd/nscd.c (termination_handler): Don't do anything for a database
20287 if it has not yet been initialized.
20288
20289 2011-07-18 Ulrich Drepper <drepper@gmail.com>
20290
20291 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20292
20293 2011-07-15 Marek Polacek <mpolacek@redhat.com>
20294
20295 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20296
20297 2011-07-18 Ulrich Drepper <drepper@gmail.com>
20298
20299 * po/nl.po: Update from translation team.
20300 * po/sv.po: Likewise.
20301
20302 2011-07-16 Roland McGrath <roland@hack.frob.com>
20303
20304 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20305 now disallowed by GCC.
20306
20307 * configure.in (use-default-link): Default to yes if a test -shared
20308 link meets our qualifications.
20309 * configure: Regenerated.
20310
20311 * config.make.in (output-format): New variable.
20312 * configure.in: Check for ld --print-output-format support.
20313 * configure: Regenerated.
20314 * Makerules ($(common-objpfx)format.lds)
20315 [$(output-format) != unknown]: Just use $(output-format),
20316 instead of the linker-script munging.
20317
20318 2011-07-14 Roland McGrath <roland@hack.frob.com>
20319
20320 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20321 of $(common-objpfx)shlib.lds.
20322 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20323
20324 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20325 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20326
20327 * configure.in (-z relro check): Adjust test code to add a large
20328 writable data section after it.
20329 * configure: Regenerated.
20330
20331 2011-07-11 Roland McGrath <roland@hack.frob.com>
20332
20333 * configure.in (-z relro check): Fix test code to make the variable
20334 truly const.
20335 * configure: Regenerated.
20336
20337 2011-07-11 Ulrich Drepper <drepper@gmail.com>
20338
20339 * nscd/nscd.h (struct traced_file): Define.
20340 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20341 elements. Add traced_files.
20342 (inotify_fd): Declare.
20343 (register_traced_file): Declare.
20344 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20345 (inotify_fd): Export.
20346 (resolv_conf_descr): Remove.
20347 (nscd_init): Move inotify descriptor creation to main.
20348 Don't register files for notification here.
20349 (register_traced_file): New function.
20350 (invalidate_cache): Don't use reset_res to determine whether to call
20351 res_init, go through the list of registered files.
20352 (main_loop_poll): The inotify descriptors are now stored in the
20353 structures for the traced files.
20354 (main_loop_epoll): Likewise
20355 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20356 to __nss_disable_nscd.
20357 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20358 for a database anymore. Check the records for all the registered
20359 files instead.
20360 * nss/Makefile (libnss_files-routines): Add files-init.
20361 (libnss_db-routines): Add db-init.
20362 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20363 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20364 * nss/nss_db/db-init.c: New file.
20365 * nss/nss_files/files-init.c: New file.
20366 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20367 __nss_lookup_function.
20368 (__nss_lookup_function): Call nss_load_library.
20369 (nss_load_all_libraries): New function.
20370 (__nss_disable_nscd): Take parameter with callback function for files
20371 to register. Set is_nscd. Load all the DSOs for the NSS modules
20372 used for the cached services.
20373 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20374 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20375 options for features to all the files in nscd.
20376
20377 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20378
20379 2011-07-10 Roland McGrath <roland@hack.frob.com>
20380
20381 * csu/elf-init.c (__libc_csu_init): Comment typo.
20382
20383 2011-07-09 Ulrich Drepper <drepper@gmail.com>
20384
20385 * po/pl.po: Update from translation team.
20386 * po/ja.po: Likewise.
20387 * po/ru.po: Likewise.
20388 * po/ko.po: Likewise.
20389 * po/fr.po: Likewise.
20390
20391 2011-07-09 Roland McGrath <roland@hack.frob.com>
20392
20393 * configure.in (.ctors/.dtors header and trailer check):
20394 Use an empirical test on a built program.
20395 * configure: Regenerated.
20396
20397 * configure.in (-z relro check): Use an empirical test on a built DSO.
20398 Detect, but do not require, on ia64.
20399 * configure: Regenerated.
20400
20401 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20402 Update tests that use readelf to use $READELF instead.
20403 * configure: Regenerated.
20404
20405 2011-07-08 Ulrich Drepper <drepper@gmail.com>
20406
20407 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20408 if the result is not used.
20409
20410 2011-07-05 Andreas Jaeger <aj@suse.de>
20411
20412 [BZ#9696]
20413 * stdlib/tst-strtod.c: Add testcase.
20414
20415 2011-07-07 Ulrich Drepper <drepper@gmail.com>
20416
20417 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20418 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20419 The latter has a higher limit. Take additional parameter to pass to
20420 the new function.
20421 (__pathconf): Pass file to __statfs_link_max.
20422 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20423 __statfs_link_max.
20424 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20425 __statfs_link_max.
20426
20427 [BZ #12868]
20428 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20429 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20430 Handle Lustre.
20431 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20432 (__statfs_filesize_max): Likewise.
20433 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20434
20435 2011-07-05 Andreas Jaeger <aj@suse.de>
20436
20437 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20438
20439 2011-07-06 Marek Polacek <mpolacek@redhat.com>
20440
20441 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20442 `status' variable.
20443 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20444 Likewise.
20445
20446 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20447
20448 * Makefile (strop-tests): Add strncat.
20449 * string/test-strncat.c: New file.
20450
20451 2011-06-30 Marek Polacek <mpolacek@redhat.com>
20452
20453 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20454
20455 2011-06-21 Andreas Jaeger <aj@suse.de>
20456
20457 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20458 Copy rule from iconvdata/Makefile.
20459
20460 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20461
20462 [BZ #12922]
20463 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20464 but no long options are defined, just return 'W'.
20465
20466 2011-06-22 Marek Polacek <mpolacek@redhat.com>
20467
20468 [BZ #9696]
20469 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20470
20471 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20472
20473 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20474 netgroups to read.
20475 (innetgr): Likewise.
20476
20477 2011-07-05 Roland McGrath <roland@hack.frob.com>
20478
20479 * config.make.in (install_root): Default to $(DESTDIR).
20480
20481 2011-07-05 Ulrich Drepper <drepper@gmail.com>
20482
20483 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20484
20485 2011-07-02 Roland McGrath <roland@hack.frob.com>
20486
20487 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20488
20489 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20490 containing directory rather than embedding absolute directory names.
20491
20492 * scripts/check-local-headers.sh: Rewritten using awk.
20493 Match by word, not by line. Print error messages for matches.
20494 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20495
20496 * Makerules [shlib-lds-flags empty]:
20497 ($(common-objpfx)libc_pic.opts): New target.
20498 ($(common-objpfx)libc_pic.os.clean): New target.
20499 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20500
20501 * config.make.in (OBJCOPY): New variable.
20502 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20503 * configure: Regenerated.
20504
20505 * config.make.in (use-default-link): New variable.
20506 * configure.in (use_default_link): Grok --with-default-link to set it.
20507 * configure: Regenerated.
20508 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20509 (shlib-lds, shlib-lds-flags): Define to empty.
20510
20511 * Makerules (shlib-lds): New variable.
20512 (shlib-lds-flags): New variable.
20513 (build-shlib, build-moduile, build-module-asneeded): Use it.
20514 ($(common-objpfx)libc.so): Use $(shlib-lds).
20515 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20516 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20517
20518 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20519 DT_FLAGS/DT_FLAGS_1 with zero flags.
20520
20521 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20522 linker script munging.
20523
20524 2011-07-02 Ulrich Drepper <drepper@gmail.com>
20525
20526 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20527 as 128-bit value.
20528 * crypt/sha512.c (sha512_process_block): Perform total addition using
20529 128-bit if possible.
20530 (__sha512_finish_ctx): Likewise.
20531 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20532 as 64-bit value.
20533 * crypt/sha256.c (SWAP64): Define.
20534 (sha256_process_block): Perform total addition using 64-bit if
20535 possible.
20536 (__sha256_finish_ctx): Likewise.
20537
20538 2011-07-01 Ulrich Drepper <drepper@gmail.com>
20539
20540 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20541 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20542 * nscd/hstcache.c (cache_addhst): Likewise.
20543 * nscd/grpcache.c (cache_addgr): Likewise.
20544 * nscd/aicache.c (addhstaiX): Likewise
20545 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20546
20547 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
20548
20549 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20550 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20551 * nscd/hstcache.c (cache_addhst): Likewise.
20552 * nscd/grpcache.c (cache_addgr): Likewise.
20553 * nscd/aicache.c (addhstaiX): Likewise
20554
20555 2011-07-01 Andreas Schwab <schwab@redhat.com>
20556
20557 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20558 domain only when needed.
20559
20560 2011-06-30 Andreas Schwab <schwab@redhat.com>
20561
20562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20563 is always restored.
20564
20565 2011-06-29 Ulrich Drepper <drepper@gmail.com>
20566
20567 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20568 are re-adding the entry.
20569 * nscd/servicescache.c (cache_addserv): Likewise.
20570
20571 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20572
20573 * sysdeps/generic/dl-irel.h: fix protection against multiple
20574 inclusions.
20575 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20576
20577 2011-06-28 Ulrich Drepper <drepper@gmail.com>
20578
20579 [BZ #12935]
20580 * malloc/memusage.sh: Fix quoting in message.
20581 * debug/xtrace.sh: Likewise.
20582
20583 * configure.in: Remove support for --experimental-malloc option, make
20584 it the default.
20585 * config.make.in: Likewise.
20586 * malloc/Makefile: Likewise.
20587
20588 2011-06-27 Andreas Schwab <schwab@redhat.com>
20589
20590 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20591 two-byte characters.
20592
20593 2011-06-27 Roland McGrath <roland@hack.frob.com>
20594
20595 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20596 AC_CACHE_CHECK invocation.
20597 * configure: Regenerated.
20598
20599 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20600
20601 2011-06-27 Ulrich Drepper <drepper@gmail.com>
20602
20603 [BZ #12350]
20604 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20605 bit from old_res_options.
20606
20607 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20608
20609 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20610 value type for setfct.
20611
20612 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20613
20614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20615 __gettimeofday instead of gettimeofday.
20616
20617 2011-06-26 Ulrich Drepper <drepper@gmail.com>
20618
20619 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20620
20621 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20622
20623 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20624
20625 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20626 info.
20627
20628 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20629
20630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20631 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20632 strcpy-sse2-unaligned strncpy-sse2-unaligned
20633 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20634 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20635 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20636 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20637 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20639 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20640 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20641 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20642 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20643 (STRCPY): Support SSE2 and SSSE3 versions.
20644
20645 2011-06-24 Ulrich Drepper <drepper@gmail.com>
20646
20647 [BZ #12874]
20648 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20649 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20650 kernels which artificially limit size of requests.
20651
20652 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20653
20654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20655 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20656 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20657 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20658 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20659 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20660 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20661 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20662 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20663 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20664 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20665 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20666 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20667 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20668 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20670 Enable unaligned load optimization for Intel Core i3, i5 and i7
20671 processors.
20672 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20673 Define.
20674 (index_Fast_Unaligned_Load): Define.
20675 (HAS_FAST_UNALIGNED_LOAD): Define.
20676
20677 2011-06-23 Marek Polacek <mpolacek@redhat.com>
20678
20679 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20680
20681 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20682
20683 [BZ #12907]
20684 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20685 until it is clear that the information is realy needed.
20686 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20687
20688 2011-06-22 Andreas Schwab <schwab@redhat.com>
20689
20690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20691
20692 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20693
20694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20695 /sys/devices/system/cpu/online if it is usable.
20696
20697 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20698 reading the information from the /proc filesystem to once a second.
20699
20700 2011-06-21 Andreas Jaeger <aj@suse.de>
20701
20702 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20703 NULL after inclusion of kernel headers.
20704
20705 2011-06-21 Ulrich Drepper <drepper@gmail.com>
20706
20707 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20708 calls to internal_setent.
20709
20710 [BZ #12885]
20711 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20712 addresses using gethostbyname4_r ignore IPv4 addresses.
20713
20714 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20715 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20716
20717 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20718
20719 2011-06-20 David S. Miller <davem@davemloft.net>
20720
20721 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20722 inclusions.
20723 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20724
20725 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20726 (elf_irel): Use it.
20727 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20728 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20729 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20730 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20731 * sysdeps/x86_64/dl-irel.h: Likewise.
20732
20733 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20734 * elf/dl-sym.c: Likewise.
20735
20736 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20737
20738 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20739 need to dereference resplen2.
20740
20741 2011-06-14 Andreas Schwab <schwab@redhat.com>
20742
20743 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20744
20745 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20746
20747 * Makeconfig: Define vardbdir and inst_vardbdir.
20748 * nss/Makefile: Add rules to install db-Makefile.
20749
20750 * nss/nss_db/db-XXX.c: Cleanup.
20751
20752 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20753 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20754 GLIBC_PRIVATE.
20755 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20756 * nss/makedb.c: Implement -g option to specify that value strings
20757 are generated and should not be added to table iterated over for
20758 get*ent calls.
20759 * nss/nss_db/db-initgroups.c: New file.
20760
20761 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20762 interface.
20763
20764 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20765 (internal_getgrouplist): Adjust to name change.
20766 Update use_initgroups_entry if this is not the first call.
20767 * nss/databases.def: Add initgroups entry.
20768
20769 * nss/makedb.c (compute_tables): Check result of multiple hash table
20770 sizes to minimize maximum chain length.
20771
20772 2011-06-14 Ulrich Drepper <drepper@gmail.com>
20773
20774 * Versions.def: Add entry for libnss_db.
20775 * shlib-versions: Likewise.
20776 * nss/Makefile: Add rules to build libnss_db.
20777 * nss/Versions: Add libnss_db information. Organize libnss_files
20778 entries better.
20779 * nss/db-Makefile: Add gshadow support. Change rules for the new
20780 makedb progra. Some minor improvements to generate smaller files.
20781 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20782 here from...
20783 * nss/makedb.c: ...here.
20784 Improve database format to be smaller and require less memory at
20785 runtime.
20786 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20787 db anymore.
20788 * nss/nss_db/db-netgrp.c: Likewise.
20789 * nss/nss_db/db-open.c: Likewise.
20790 * nss/nss_files/flies-XXX.x: Adjust comments.
20791 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20792 * nss/nss_files/files-grp.c: Likewise.
20793 * nss/nss_files/files-hosts.c: Likewise.
20794 * nss/nss_files/files-network.c: Likewise.
20795 * nss/nss_files/files-proto.c: Likewise.
20796 * nss/nss_files/files-pwd.c: Likewise.
20797 * nss/nss_files/files-rpc.c: Likewise.
20798 * nss/nss_files/files-service.c: Likewise.
20799 * nss/nss_files/files-sgrp.c: Likewise.
20800 * nss/nss_files/files-spwd.c: Likewise.
20801 * nss/nss_db/db-alias.c: Removed.
20802 * nss/nss_db/dummy-db.h: Removed.
20803
20804 2011-06-02 Ulrich Drepper <drepper@gmail.com>
20805
20806 * nss/makedb.c: Rewritten to not use database library.
20807 * nss/Makefile: Update to build new makedb program.
20808
20809 2011-06-14 Andreas Jaeger <aj@suse.de>
20810
20811 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20812 memset declaration.
20813
20814 2011-06-10 Andreas Schwab <schwab@redhat.com>
20815
20816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20817 tmpbuf.
20818
20819 2011-06-10 Roland McGrath <roland@hack.frob.com>
20820
20821 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20822 * elf/Makefile ($(objpfx)ld.so): Likewise.
20823
20824 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20825 Don't list ld.so twice in dependencies.
20826
20827 * posix/bug-regex31.c: Include <stdlib.h>.
20828
20829 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20830
20831 * nis/nss_compat/compat-spwd.c
20832 (getspent_next_nss_netgr): Remove unused variable.
20833 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20834
20835 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20836 nonmembers" output to use the right array.
20837
20838 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20839
20840 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20841
20842 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20843 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20844 * catgets/gencat.c (read_input_file): Likewise.
20845 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20846
20847 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20848 variable definition inside #if's controlling its use.
20849
20850 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20851
20852 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20853
20854 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20855
20856 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20857 unreachable code.
20858
20859 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20860
20861 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20862 * configure: Regenerated.
20863
20864 * Makerules: Revert last change.
20865 * elf/Makefile: Likewise.
20866
20867 2011-06-09 Roland McGrath <roland@hack.frob.com>
20868
20869 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20870 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20871 (reloc-link): Likewise.
20872
20873 2011-06-09 Ulrich Drepper <drepper@gmail.com>
20874
20875 * elf/Makefile: Add rules to build pldd.
20876 * elf/pldd.c: New file.
20877 * elf/pldd-xx.c: New file.
20878
20879 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20880
20881 * version.h: Update for 2.15 development version.
20882
20883 2011-06-07 David S. Miller <davem@davemloft.net>
20884
20885 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20886 ifuncs.
20887 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20888 elf_machine_lazy_rel): Likewise.
20889 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20890 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20891 elf_machine_lazy_rel): Likewise.
20892 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20893 dl_hwcap via passed in argument.
20894 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20895 Likewise.
20896
20897 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20898
20899 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20900
20901 2011-06-06 Roland McGrath <roland@hack.frob.com>
20902
20903 [BZ #12849]
20904 * manual/fdl-1.1.texi: New file, verbatim from:
20905 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20906 * manual/lgpl-2.1.texi: New file, verbatim from:
20907 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20908 * manual/Makefile (licenses): New variable, list those new file names.
20909 (texis): Use it.
20910 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20911
20912 * manual/fdl.texi: File removed.
20913 * manual/lesser.texi: File removed.
20914 * manual/libc.texinfo (Copying, Documentation License):
20915 Use new @include file names, put @appendix directive before @include.
20916
20917 2011-06-04 Jakub Jelinek <jakub@redhat.com>
20918
20919 [BZ #12841]
20920 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20921 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20922 (mq_open): Add __NTH.
20923
20924 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20925
20926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20927 Assume Intel Core i3/i5/i7 processor if AVX is available.
20928
20929 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20930
20931 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20932 typo.
20933
20934 2011-05-31 Andreas Schwab <schwab@redhat.com>
20935
20936 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20937 memory. Use alloca_account. Fix memory leak when retrying.
20938
20939 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20940
20941 * version.h (RELEASE): Bump for 2.14 release.
20942 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20943
20944 * config.make.in (RANLIB): Remove entry.
20945
20946 2011-05-30 Ulrich Drepper <drepper@gmail.com>
20947
20948 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20949 (libc.pot): Work around missing support for .ksh extension in xgettext.
20950
20951 [BZ #12684]
20952 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20953 if both request failed.
20954 (send_dg): In case of server errors clear resplen or *resplen2.
20955
20956 [BZ #12454]
20957 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20958 when there are multiple maps.
20959 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20960 (_dl_fini): Remove test here.
20961
20962 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20963
20964 2011-05-29 Ulrich Drepper <drepper@gmail.com>
20965
20966 [BZ #12350]
20967 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20968 bit from old_res_options.
20969 (gaih_inet): Likewise.
20970
20971 [BZ #11099]
20972 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20973 as signed.
20974
20975 * resolv/res_init.c (res_setoptions): Make the code more compact.
20976
20977 [BZ #11558]
20978 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20979 set RES_USEVC.
20980
20981 [BZ #11634]
20982 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20983
20984 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20985
20986 [BZ #11781]
20987 * malloc/malloc.h: Declare malloc hook variables as volatile.
20988
20989 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20990 in last patch.
20991
20992 [BZ #11799]
20993 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20994 raise in the comment.
20995 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20996 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20997 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20998
20999 2011-05-28 Ulrich Drepper <drepper@gmail.com>
21000
21001 [BZ #12811]
21002 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21003 grow the buffers more if it already has to be sufficient.
21004 (build_wcs_upper_buffer): Likewise.
21005 * posix/regexec.c (check_matching): Likewise.
21006 (clean_state_log_if_needed): Likewise.
21007 (extend_buffers): Don't enlarge buffers beyond size of the input
21008 buffer.
21009 Patches mostly by Emil Wojak <emil@wojak.eu>.
21010 * posix/bug-regex32.c: New file.
21011 * posix/Makefile (tests): Add bug-regex32.
21012
21013 * locale/findlocale.c (_nl_find_locale): Return right away if
21014 _nl_explode_name failed.
21015 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21016
21017 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21018
21019 * debug/xtrace.sh: Unify messages.
21020 * malloc/memusage.sh: Likewise.
21021
21022 [BZ #12813]
21023 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21024 time symbol from vDSO. Substitute with vsyscall if not available.
21025 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21026 __vdso_time.
21027
21028 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21029 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21030 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21031 Add sendmmsg and internal_sendmmsg.
21032 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21033 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21034 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21035
21036 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21037 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21038 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21039
21040 2011-05-27 Ulrich Drepper <drepper@gmail.com>
21041
21042 [BZ #12813]
21043 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21044 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21045 available.
21046 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21047 __vdso_getcpu.
21048
21049 [BZ #12814]
21050 * iconvdata/Makefile (tests): Add bug-iconv9.
21051 * iconvdata/bug-iconv9.c: New file.
21052
21053 2011-05-27 Andreas Schwab <schwab@redhat.com>
21054
21055 [BZ #12814]
21056 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21057
21058 2011-05-25 Jakub Jelinek <jakub@redhat.com>
21059
21060 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21061 (struct user_regs_struct): Change intcs field back to cs.
21062
21063 2011-05-25 Ulrich Drepper <drepper@gmail.com>
21064
21065 * po/ja.po: Update from translation team.
21066
21067 2011-05-23 Ulrich Drepper <drepper@gmail.com>
21068
21069 [BZ #12795]
21070 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21071 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21072
21073 2011-05-20 Andreas Schwab <schwab@redhat.com>
21074
21075 * stdlib/longlong.h: Update from GCC.
21076
21077 2011-05-23 Andreas Schwab <schwab@redhat.com>
21078
21079 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21080 parameter name.
21081 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21082 Add parameter name.
21083 (__sysconf): Pass it down.
21084
21085 2011-05-22 Ulrich Drepper <drepper@gmail.com>
21086
21087 [BZ #12671]
21088 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21089 some situations.
21090 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21091 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21092 add in in __libc_use_alloca calls. Adjust callers.
21093 (glob): Use malloc in some situations.
21094
21095 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21096 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21097 pltexit.
21098
21099 2011-05-21 Ulrich Drepper <drepper@gmail.com>
21100
21101 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21102 and CLOCK_BOOTTIME_ALARM.
21103
21104 [BZ #12782]
21105 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21106 is returned.
21107
21108 * string/_strerror.c (__strerror_r): Print negative errors as signed
21109 numbers.
21110
21111 [BZ #12777]
21112 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21113 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21114 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21115
21116 * configure.in: Fix typo in redirection and correct removal of test
21117 files in two cases.
21118
21119 [BZ #12788]
21120 * locale/setlocale.c (new_composite_name): Fix test to check for
21121 identical name of all categories.
21122
21123 [BZ #12792]
21124 * libio/filedoalloc.c (local_isatty): New function.
21125 (_IO_file_doallocate): Use local_isatty.
21126 * stdio-common/perror.c (perror): In case a new stream is used
21127 forward the stream error.
21128 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21129 error flag.
21130
21131 2011-05-20 Ulrich Drepper <drepper@gmail.com>
21132
21133 [BZ #11869]
21134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21135 alloca.
21136 * include/alloca.h (extend_alloca_account): Define.
21137
21138 [BZ #11857]
21139 * posix/regex.h: Fix comments with documentation of user-accessible
21140 fields after compilation and describe correct free'ing of pattern
21141 after re_compile_pattern.
21142 Patch by Reuben Thomas <rrt@sc3d.org>.
21143
21144 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21145
21146 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21147 and -mno-altivec to prevent the compiler from using Altivec and/or
21148 VSX instructions when the corresponding registers are not available.
21149
21150 2011-05-19 Andreas Schwab <schwab@redhat.com>
21151
21152 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21153
21154 2011-05-19 Ulrich Drepper <drepper@gmail.com>
21155
21156 * libio/freopen.c (freopen): Use __dup2, not dup2.
21157 * libio/freopen64.c (freopen64): Likewise.
21158
21159 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21160
21161 [BZ #12775]
21162 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21163 * math/Makefile (tests): Add test-powl.
21164 (CFLAGS-test-powl.c): Define.
21165 * math/test-powl.c: New file.
21166
21167 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21168
21169 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21170
21171 2011-05-17 Ulrich Drepper <drepper@gmail.com>
21172
21173 [BZ #11837]
21174 * iconvdata/gb18030.c: Update to GB18020-2005.
21175
21176 2011-05-16 Ulrich Drepper <drepper@gmail.com>
21177
21178 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21179 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21180 Patch by Aharon Robbins <arnold@skeeve.com>.
21181
21182 [BZ #11892]
21183 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21184 on the stack.
21185
21186 [BZ #11895]
21187 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21188 through underflows.
21189
21190 [BZ #12766]
21191 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21192 point to strings before performing equality test for error_one_per_line
21193 mode.
21194
21195 [BZ #11697]
21196 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21197
21198 [BZ #11820]
21199 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21200 (struct user_fpregs_struct): Avoid __uint*_t types.
21201
21202 [BZ #6420]
21203 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21204 symbol info. Use it instead of calling _dl_addr locally.
21205 (lock_and_info): New function.
21206 (tr_freehook): Call lock_and_info and pass symbol info as additional
21207 parameter to tr_where.
21208 (tr_mallochook): Likewise.
21209 (tr_reallochook): Likewise.
21210 (tr_memalignhook): Likewise.
21211
21212 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21213 used and couldn't be at all thread-safe.
21214
21215 2011-05-15 Ulrich Drepper <drepper@gmail.com>
21216
21217 * libio/freopen.c (freopen): Don't close old file descriptor
21218 before the new one is opened. Instead dup the new file descriptor
21219 to the old one after the new stream is created.
21220 * libio/freopen64.c (freopen64): Likewise.
21221 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21222 * libio/fileops.c (_IO_new_file_close_it): Handle new
21223 _IO_FLAGS2_NOCLOSE flag.
21224 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21225 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21226 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21227 _IO_FLAGS2_NOCLOSE flag.
21228 * include/unistd.h: Add hidden_proto for dup3.
21229 Define __have_dup3.
21230 * io/dup3.c: Define hidden symbol.
21231 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21232
21233 [BZ #7101]
21234 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21235 when an incomplete long option is used.
21236 * posix/tst-getopt_long1.c: New file.
21237 * posix/Makefile (tests): Add tst-getopt_long1.
21238
21239 [BZ #10138]
21240 * scripts/config.guess: Update from autoconf-2.68.
21241 * scripts/config.sub: Likewise.
21242
21243 [BZ #10157]
21244 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21245 tests into ...
21246 (has_cpuclock): ...this. New function.
21247 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21248 macro here based on has_cpuclock code.
21249
21250 [BZ #10149]
21251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21252 First byte (not low byte) is now always NUL.
21253 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21254
21255 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21256 Use non-cancelable interfaces.
21257
21258 [BZ #9809]
21259 * locale/iso-639.def: Add entry for Sorani.
21260
21261 [BZ #11901]
21262 * include/stdlib.h: Move include protection to the right place.
21263 Define abort_msg_s. Declare __abort_msg with it.
21264 * stdlib/abort.c (__abort_msg): Adjust type.
21265 * assert/assert.c (__assert_fail_base): New function. Majority
21266 of code from __assert_fail. Allocate memory for __abort_msg with
21267 mmap.
21268 (__assert_fail): Now call __assert_fail_base.
21269 * assert/assert-perr.c: Remove bulk of implementation. Use
21270 __assert_fail_base.
21271 * include/assert.hL Declare __assert_fail_base.
21272 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21273 mmap.
21274 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21275
21276 2011-05-14 Ulrich Drepper <drepper@gmail.com>
21277
21278 [BZ #11952]
21279 [BZ #12453]
21280 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21281 until all modules are registered in the DTV.
21282 * elf/Makefile: Add rules to build and run tst-tls19.
21283 * elf/tst-tls19.c: New file.
21284 * elf/tst-tls19mod1.c: New file.
21285 * elf/tst-tls19mod2.c: New file.
21286 * elf/tst-tls19mod3.c: New file.
21287 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21288
21289 [BZ #12083]
21290 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21291 correctly.
21292
21293 [BZ #12601]
21294 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21295 two-byte sequence errors.
21296 * iconvdata/Makefile (tests): Add bug-iconv8.
21297 * iconvdata/bug-iconv8.c: New file.
21298
21299 [BZ #12626]
21300 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21301 buf2 definition.
21302
21303 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21304
21305 [BZ #12432]
21306 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21307 (dummy_getcfa): New function.
21308 (init): Get _Unwind_GetCFA address, use dummy if not found.
21309 (backtrace_helper): In recursion check, also check whether CFA changes.
21310 (__backtrace): Completely initialize arg.
21311
21312 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21313 storing incomplete byte sequence in state object. Avoid testing for
21314 guaranteed too small input if we know there is enough data available.
21315
21316 2011-05-11 Andreas Schwab <schwab@redhat.com>
21317
21318 * Makeconfig (+link-pie): Indent.
21319 * Rules (binaries-pie): Define if $(have-fpie) and
21320 $(build-shared).
21321 (binaries-shared): Also filter out $(binaries-pie).
21322 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21323 * nscd/Makefile (others-pie): Add nscd.
21324 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21325 ($(objpfx)nscd): Remove command override.
21326 * login/Makefile (others-pie): Add pt_chown.
21327 ($(objpfx)pt_chown): Remove command override.
21328 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21329 remove command overrides.
21330
21331 2011-05-13 Ulrich Drepper <drepper@gmail.com>
21332
21333 * libio/tst_putwc.c: Fix error messages.
21334
21335 [BZ #12724]
21336 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21337 currently writing and seek to current position when not.
21338 * libio/Makefile (tests): Add bug-fclose1.
21339 * libio/bug-fclose1.c: New file.
21340
21341 2011-05-12 Ulrich Drepper <drepper@gmail.com>
21342
21343 [BZ #12511]
21344 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21345 don't set DF_1_NODELETE here.
21346 (do_lookup_x): When entering new entry test for copy relocation
21347 and if necessary set DF_1_NODELETE flag.
21348 * elf/tst-unique4.cc: New file.
21349 * elf/tst-unique4.h: New file.
21350 * elf/tst-unique4lib.cc: New file.
21351 * elf/Makefile: Add rules to build and run tst-unique4.
21352 Patch by Piotr Bury <pbury@goahead.com>.
21353
21354 2011-05-11 Ulrich Drepper <drepper@gmail.com>
21355
21356 [BZ #12052]
21357 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21358
21359 [BZ #12625]
21360 * misc/mntent_r.c (addmntent): Flush the stream after the output
21361
21362 [BZ #12393]
21363 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21364 (is_trusted_path_normalize): Skip initial colon. Append slash
21365 to empty buffer. Duplicate is_trusted_path code but allow
21366 constructed patch to be prefix.
21367 (is_dst): Allow $ORIGIN followed by /.
21368 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21369 Correct testing of result of is_trusted_path_normalize
21370 (decompose_rpath): Fix warning.
21371
21372 2011-05-10 Ulrich Drepper <drepper@gmail.com>
21373
21374 [BZ #11257]
21375 * grp/initgroups.c (internal_getgrouplist): When we found the service
21376 list through the initgroups entry in nsswitch.conf do not always
21377 continue on a successful lookup. Don't always use the
21378 __nss_group_database value if it is set.
21379 * nss/nsswitch.conf (initgroups): Change action for successful db
21380 lookup to continue for compatibility.
21381
21382 2011-05-09 Ulrich Drepper <drepper@gmail.com>
21383
21384 [BZ #11532]
21385 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21386 and CP774 modules.
21387 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21388 and CP774 modules.
21389 * iconvdata/tst-tables.sh: Likewise.
21390 * iconvdata/cp770.c: New file.
21391 * iconvdata/cp771.c: New file.
21392 * iconvdata/cp772.c: New file.
21393 * iconvdata/cp773.c: New file.
21394 * iconvdata/cp774.c: New file.
21395 * iconvdata/testdata/CP770: New file.
21396 * iconvdata/testdata/CP770..UTF8: New file.
21397 * iconvdata/testdata/CP771: New file.
21398 * iconvdata/testdata/CP771..UTF8: New file.
21399 * iconvdata/testdata/CP772: New file.
21400 * iconvdata/testdata/CP772..UTF8: New file.
21401 * iconvdata/testdata/CP773: New file.
21402 * iconvdata/testdata/CP773..UTF8: New file.
21403 * iconvdata/testdata/CP774: New file.
21404 * iconvdata/testdata/CP774..UTF8: New file.
21405
21406 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21407 END CHARMAP line.
21408 * iconvdata/gen-8bit-gap.sh: Likewise.
21409 * iconvdata/gen-8bit.sh: Likewise.
21410
21411 * locale/iso-639.def: Add ary entry.
21412
21413 [BZ #11258]
21414 * locale/C-translit.h.in: Add U20A1 transliteration.
21415
21416 [BZ #12178]
21417 * locale/iso-639.def: Add wae entry.
21418 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21419
21420 [BZ #12545]
21421 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21422 for n.
21423
21424 [BZ #12711]
21425 * locale/C-translit.h.in: Add entry for U20B9.
21426 Patch by pravin.d.s@gmail.com.
21427
21428 2011-05-08 Ulrich Drepper <drepper@gmail.com>
21429
21430 [BZ #12713]
21431 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21432 ENAMETOOLONG use generic getcwd.
21433 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21434 in rtld. Use *stat64.
21435 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21436 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21437 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21438 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21439 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21440 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21441 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21442 __fstatat64 macros.
21443 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21444 * dirent/rewinddir.c: Add libc_hidden_def.
21445 * sysdeps/mach/hurd/rewinddir.c: Likewise.
21446 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
21447
21448 * include/dirent.h (__alloc_dir): Add flags parameter.
21449 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21450 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21451 __alloc_dir.
21452 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21453 from fdopendir if O_CLOEXEC is already set.
21454
21455 2011-03-15 Alan Modra <amodra@gmail.com>
21456
21457 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21458 l_tls_firstbyte_offset non-zero. Save padding offset in
21459 l_tls_firstbyte_offset for later use.
21460 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21461 freeing static tls block.
21462
21463 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21464
21465 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21466 where #ifdef was intended. The intent is to prevent ARG_MAX from
21467 being defined by the kernel headers.
21468
21469 2011-05-07 Ulrich Drepper <drepper@gmail.com>
21470
21471 [BZ #12734]
21472 * resolv/resolv.h: Define RES_NOTLDQUERY.
21473 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21474 no-tld-query and set RES_NOTLDQUERY.
21475 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21476 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21477 modern BIND to search name as TLD unless forbidden.
21478
21479 2011-05-07 Petr Baudis <pasky@suse.cz>
21480 Ulrich Drepper <drepper@gmail.com>
21481
21482 [BZ #12393]
21483 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21484 (is_trusted_path): ...to here.
21485 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21486 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21487 using is_trusted_path_normalize() in setuid scripts.
21488
21489 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21490
21491 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21492 __BEGIN/__END_DECLS.
21493
21494 2011-05-06 Ulrich Drepper <drepper@gmail.com>
21495
21496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21497 NSS_STATUS_NOTFOUND if no record was found.
21498
21499 2011-05-05 Andreas Schwab <schwab@redhat.com>
21500
21501 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21502 (headers-not-in-tirpc): Remove rpc/netdb.h
21503 * resolv/netdb.h: Revert last change.
21504
21505 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21506
21507 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21508 circular dependency between libgcc.a and libc.a.
21509
21510 2011-05-05 Andreas Schwab <schwab@redhat.com>
21511
21512 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21513 * nis/Makefile: Don't install rpcsvc/*.
21514 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21515 instead of <rpc/types.h>.
21516 (MAXHOSTNAMELEN): Define.
21517
21518 2011-05-03 Andreas Schwab <schwab@redhat.com>
21519
21520 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21521
21522 2011-04-28 Maciej Babinski <mbabinski@google.com>
21523
21524 [BZ #12714]
21525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21526 gethostbyname4_r when IPv6 results are possible.
21527
21528 2011-05-02 Ulrich Drepper <drepper@gmail.com>
21529
21530 [BZ #12723]
21531 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21532 _PC_PIPE_BUF handling.
21533
21534 2011-04-30 Bruno Haible <bruno@clisp.org>
21535
21536 [BZ #12717]
21537 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21538 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21539 to 'int'.
21540 * inet/getnameinfo.c (getnameinfo): Likewise.
21541
21542 2011-04-29 Ulrich Drepper <drepper@gmail.com>
21543
21544 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21545 to groups setting in database lookup.
21546 * nss/nsswitch.conf: Add initgroups entry.
21547
21548 2011-04-22 Ulrich Drepper <drepper@gmail.com>
21549
21550 [BZ #12685]
21551 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21552 mode string.
21553 Patch by Eric Blake <eblake@redhat.com>.
21554
21555 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21556
21557 * sunrpc/Makefile (need-export-routines): Add svc_run.
21558 (routines): Remove svc_run.
21559 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21560 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21561 * sunrpc/svc_run.c (svc_run): Likewise.
21562 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21563
21564 2011-04-21 Ulrich Drepper <drepper@gmail.com>
21565
21566 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21567 problem in reallocation in last patch.
21568
21569 2011-04-20 Ulrich Drepper <drepper@gmail.com>
21570
21571 * sunrpc/Makefile: Move inclusion of Rules.
21572
21573 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21574
21575 * nss/nss_files/files-initgroups.c: New file.
21576 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21577 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21578 _nss_files_initgroups_dyn.
21579
21580 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21581
21582 * elf/elf.h (R_ARM_IRELATIVE): Define.
21583
21584 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21585
21586 * po/ru.po: Update from translation team.
21587
21588 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21589
21590 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21591 dependencies.
21592
21593 2011-02-06 Mike Frysinger <vapier@gentoo.org>
21594
21595 [BZ #12653]
21596 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21597 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21598 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21599 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21600 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21601
21602 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21603
21604 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21605 differing bytes.
21606 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21607 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21608 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21609
21610 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21611
21612 [BZ #12420]
21613 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21614 storing it.
21615 * stdlib/bug-getcontext.c: New file.
21616 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21617
21618 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21619
21620 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21621 instructions into .machine "z9-109".
21622 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21623 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21624
21625 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21626
21627 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21628 between environment variables and auxiliary vector.
21629
21630 2011-04-16 Ulrich Drepper <drepper@gmail.com>
21631
21632 * Makefile: Add rules to build linkobj/libc.so.
21633 * include/libc-symbols.h: Define libc_hidden_nolink.
21634 * include/rpc/auth.h: Mark functions which are to be hidden.
21635 * include/rpc/auth_des.h: Likewise.
21636 * include/rpc/auth_unix.h: Likewise.
21637 * include/rpc/clnt.h: Likewise.
21638 * include/rpc/des_crypt.h: Likewise.
21639 * include/rpc/key_prot.h: Likewise.
21640 * include/rpc/pmap_clnt.h: Likewise.
21641 * include/rpc/pmap_prot.h: Likewise.
21642 * include/rpc/pmap_rmt.h: Likewise.
21643 * include/rpc/rpc_msg.h: Likewise.
21644 * include/rpc/svc.h: Likewise.
21645 * include/rpc/svc_auth.h: Likewise.
21646 * include/rpc/xdr.h: Likewise.
21647 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21648 * nss/Makefile: Likewise.
21649 * sunrpc/Makefile: Don't install headers. Build library with normal
21650 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21651 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21652 for the compat linking library. Remove use of INTDEF/INTUSE.
21653 * sunrpc/auth_none.c: Likewise.
21654 * sunrpc/auth_unix.c: Likewise.
21655 * sunrpc/authdes_prot.c: Likewise.
21656 * sunrpc/authuxprot.c: Likewise.
21657 * sunrpc/clnt_gen.c: Likewise.
21658 * sunrpc/clnt_perr.c: Likewise.
21659 * sunrpc/clnt_raw.c: Likewise.
21660 * sunrpc/clnt_simp.c: Likewise.
21661 * sunrpc/clnt_tcp.c: Likewise.
21662 * sunrpc/clnt_udp.c: Likewise.
21663 * sunrpc/clnt_unix.c: Likewise.
21664 * sunrpc/des_crypt.c: Likewise.
21665 * sunrpc/des_soft.c: Likewise.
21666 * sunrpc/get_myaddr.c: Likewise.
21667 * sunrpc/key_call.c: Likewise.
21668 * sunrpc/key_prot.c: Likewise.
21669 * sunrpc/netname.c: Likewise.
21670 * sunrpc/pm_getmaps.c: Likewise.
21671 * sunrpc/pm_getport.c: Likewise.
21672 * sunrpc/pmap_clnt.c: Likewise.
21673 * sunrpc/pmap_prot.c: Likewise.
21674 * sunrpc/pmap_prot2.c: Likewise.
21675 * sunrpc/pmap_rmt.c: Likewise.
21676 * sunrpc/publickey.c: Likewise.
21677 * sunrpc/rpc_cmsg.c: Likewise.
21678 * sunrpc/rpc_common.c: Likewise.
21679 * sunrpc/rpc_dtable.c: Likewise.
21680 * sunrpc/rpc_prot.c: Likewise.
21681 * sunrpc/rpc_thread.c: Likewise.
21682 * sunrpc/rtime.c: Likewise.
21683 * sunrpc/svc.c: Likewise.
21684 * sunrpc/svc_auth.c: Likewise.
21685 * sunrpc/svc_authux.c: Likewise.
21686 * sunrpc/svc_raw.c: Likewise.
21687 * sunrpc/svc_run.c: Likewise.
21688 * sunrpc/svc_simple.c: Likewise.
21689 * sunrpc/svc_tcp.c: Likewise.
21690 * sunrpc/svc_udp.c: Likewise.
21691 * sunrpc/svc_unix.c: Likewise.
21692 * sunrpc/svcauth_des.c: Likewise.
21693 * sunrpc/xcrypt.c: Likewise.
21694 * sunrpc/xdr.c: Likewise.
21695 * sunrpc/xdr_array.c: Likewise.
21696 * sunrpc/xdr_float.c: Likewise.
21697 * sunrpc/xdr_intXX_t.c: Likewise.
21698 * sunrpc/xdr_mem.c: Likewise.
21699 * sunrpc/xdr_rec.c: Likewise.
21700 * sunrpc/xdr_ref.c: Likewise.
21701 * sunrpc/xdr_sizeof.c: Likewise.
21702 * sunrpc/xdr_stdio.c: Likewise.
21703
21704 2011-04-10 Ulrich Drepper <drepper@gmail.com>
21705
21706 [BZ #12650]
21707 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21708 * sysdeps/ia64/dl-tls.h: Likewise.
21709 * sysdeps/powerpc/dl-tls.h: Likewise.
21710 * sysdeps/s390/dl-tls.h: Likewise.
21711 * sysdeps/sh/dl-tls.h: Likewise.
21712 * sysdeps/sparc/dl-tls.h: Likewise.
21713 * sysdeps/x86_64/dl-tls.h: Likewise.
21714 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21715
21716 2011-03-14 Andreas Schwab <schwab@redhat.com>
21717
21718 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21719 rpath element also skip the following colon.
21720 (expand_dynamic_string_token): Add is_path parameter and pass
21721 down to DL_DST_REQUIRED and _dl_dst_substitute.
21722 (decompose_rpath): Call expand_dynamic_string_token with
21723 non-zero is_path. Ignore empty rpaths.
21724 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21725 with zero is_path.
21726
21727 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21728
21729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21730 Make cancelable.
21731
21732 2011-04-09 Ulrich Drepper <drepper@gmail.com>
21733
21734 [BZ #12655]
21735 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21736 Patch by Filipe David Manana <fdmanana@apache.org>.
21737
21738 2011-04-07 Andreas Schwab <schwab@redhat.com>
21739
21740 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21741 Maintain aligned stack.
21742 (CHECK_RSP): Remove unused macro.
21743
21744 2011-04-03 Ulrich Drepper <drepper@gmail.com>
21745
21746 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21747 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21748
21749 2011-04-02 Ulrich Drepper <drepper@gmail.com>
21750
21751 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21752
21753 * include/features.h: Mention __USE_XOPEN2K8 in comment.
21754
21755 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21756
21757 [BZ #12518]
21758 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21759 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21760 * sysdeps/x86_64/memmove.c: New file.
21761 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21762 (memcpy): Renamed to ...
21763 (__new_memcpy): This.
21764 (memcpy): Provide GLIBC_2_14 memcpy.
21765 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21766 (memcpy): Provide GLIBC_2_2_5 memcpy.
21767
21768 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21769
21770 [BZ #12631]
21771 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21772
21773 2011-03-30 Andreas Schwab <schwab@redhat.com>
21774
21775 * misc/syncfs.c: New file.
21776 * misc/Makefile (routines): Add syncfs.
21777 * posix/unistd.h: Declare syncfs.
21778 * sysdeps/unix/syscalls.list: Add syncfs.
21779
21780 2011-04-01 Andreas Schwab <schwab@redhat.com>
21781
21782 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21783 open_by_handle_at.
21784 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21785 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21786 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21787 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21788 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21789 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21790 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21791
21792 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21793
21794 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21795 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21796 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21797 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21798 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21800 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21801
21802 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21803 sync_file_range.c with -fexceptions.
21804 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21805 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21806 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21807 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21808 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21809 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21811 sync_file_range as cancellation point
21812 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21813 now a wrapper around __call_sync_file_range with cancellation handling.
21814 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21815 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21816 function name to __call_sync_file_range.
21817 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21818 Add call_sync_file_range.
21819
21820 2011-04-01 Andreas Schwab <schwab@redhat.com>
21821
21822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21823 bits/timex.h.
21824
21825 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21826
21827 * iconv/iconv.h: Fix typo in comment.
21828 * io/fcntl.h: Likewise.
21829 * libio/stdio.h: Likewise.
21830 * posix/spawn.h: Likewise.
21831 * posix/unistd.h: Likewise.
21832 * stdlib/stdlib.h: Likewise.
21833 * time/time.h: Likewise.
21834 * wcsmbs/wchar.h: Likewise.
21835
21836 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21837 open_by_handle): Add.
21838 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21839 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21840 Augment a few comments.
21841 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21843 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21844 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21845 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21846 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21847 open_by_handle.
21848
21849 * io/fcntl.h (AT_EMPTY_PATH): Define.
21850
21851 2011-03-30 Ulrich Drepper <drepper@gmail.com>
21852
21853 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21854 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21855 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21856 to...
21857 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21858 * Versions.def: Add GLIBC_2.14.
21859 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21860 Export.
21861
21862 2011-03-22 Ulrich Drepper <drepper@gmail.com>
21863
21864 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21865 round counter.
21866 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21867
21868 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21869
21870 [BZ #12597]
21871 * string/test-strncmp.c (do_page_test): New function.
21872 (check2): Likewise.
21873 (test_main): Call check2.
21874 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21875
21876 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21877
21878 [BZ #12587]
21879 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21880 Handle cache information in CPU leaf 4.
21881 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21882
21883 2011-03-18 Ulrich Drepper <drepper@gmail.com>
21884
21885 [BZ #12583]
21886 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21887 character representation.
21888 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21889
21890 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21891
21892 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21893 END(__isnan) to END(__isnanf) to match function entry point/label
21894 EALIGN(__isnanf,...).
21895
21896 2011-03-10 Jakub Jelinek <jakub@redhat.com>
21897
21898 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21899
21900 2011-03-10 Ulrich Drepper <drepper@gmail.com>
21901
21902 [BZ #12510]
21903 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21904 copy from the symbol referenced in the relocation to initialize the
21905 used variable.
21906 Patch by Piotr Bury <pbury@goahead.com>.
21907 * elf/Makefile: Add rules to build and tst-unique3.
21908 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21909 * elf/tst-unique3.cc: New file.
21910 * elf/tst-unique3.h: New file.
21911 * elf/tst-unique3lib.cc: New file.
21912 * elf/tst-unique3lib2.cc: New file.
21913
21914 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21915
21916 2011-03-10 Mike Frysinger <vapier@gentoo.org>
21917
21918 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21919 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21920 to _start.
21921
21922 2011-03-06 Ulrich Drepper <drepper@gmail.com>
21923
21924 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21925 to-be-loaded object along a path to loader is ld.so.
21926
21927 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21928 Ulrich Drepper <drepper@gmail.com>
21929
21930 * sysdeps/x86_64/memset.S: After aligning destination, code
21931 branches to different locations depending on the value of
21932 misalignment, when multiarch is enabled. Fix this.
21933
21934 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21935
21936 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21937 Set _x86_64_preferred_memory_instruction for AMD processsors.
21938 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21939 Set bit_Prefer_SSE_for_memop for AMD processors.
21940
21941 2011-03-04 Ulrich Drepper <drepper@gmail.com>
21942
21943 * libio/fmemopen.c (fmemopen): Optimize a bit.
21944
21945 2011-03-03 Andreas Schwab <schwab@redhat.com>
21946
21947 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21948
21949 2011-03-03 Roland McGrath <roland@redhat.com>
21950
21951 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21952
21953 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21954
21955 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21956 __bzero_ultra1 instead of __memset_ultra1.
21957
21958 2011-02-23 Andreas Schwab <schwab@redhat.com>
21959 Ulrich Drepper <drepper@gmail.com>
21960
21961 [BZ #12509]
21962 * include/link.h (struct link_map): Add l_orig_initfini.
21963 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21964 returning unsuccessfully.
21965 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21966 close of a file loaded at startup, restore the original l_initfini
21967 list.
21968 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21969 list, store the pointer.
21970 * elf/Makefile ($(objpfx)noload-mem): New rule.
21971 (noload-ENV): Define.
21972 (tests): Add $(objpfx)noload-mem.
21973 * elf/noload.c: Include <memcheck.h>.
21974 (main): Call mtrace. Close all opened handles.
21975
21976 2011-02-17 Andreas Schwab <schwab@redhat.com>
21977
21978 [BZ #12454]
21979 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21980 dependencies are missing.
21981
21982 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21983
21984 Fix __if_freereq crash: Unlike the generic version which uses free,
21985 Hurd needs munmap.
21986 * sysdeps/mach/hurd/ifreq.h: New file.
21987
21988 2011-01-27 Petr Baudis <pasky@suse.cz>
21989 Ulrich Drepper <drepper@gmail.com>
21990
21991 [BZ 12445]#
21992 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21993 to extend_alloca().
21994 * stdio-common/bug23.c: New file.
21995 * stdio-common/Makefile (tests): Add bug23.
21996
21997 2010-09-28 Andreas Schwab <schwab@redhat.com>
21998 Ulrich Drepper <drepper@gmail.com>
21999
22000 [BZ #12489]
22001 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22002 before performing relro protection. At old place add assertion
22003 to make sure nothing changed.
22004
22005 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22006 Glauber de Oliveira Costa <glommer@gmail.com>
22007
22008 * elf/elf.h: Add new ARM TLS relocs.
22009
22010 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22011
22012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22013 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22014 cast from r3.
22015 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22016 'tests' variable.
22017 * sysdeps/wordsize-64/tst-writev.c: New file.
22018
22019 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22020
22021 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22022 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22023 insns in _dl_start to prevent a TOC reference before relocs are
22024 resolved.
22025
22026 2011-02-15 Ulrich Drepper <drepper@gmail.com>
22027
22028 [BZ #12469]
22029 * Makeconfig: Remove RANLIB definition.
22030 * Makerules: Don't use RANLIB.
22031 * aclocal.m4: Remove ranlib test.
22032 * configure.in: No need to check for ranlib.
22033 * elf/rtld-Rules: Don't use RANLIB.
22034
22035 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22036
22037 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22038 protection macro.
22039 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22040 inclusion protection macro.
22041
22042 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22043 SIGRTMIN and SIGRTMAX and print information in that case only when
22044 SIGRTMIN is defined.
22045
22046 2011-02-11 Jakub Jelinek <jakub@redhat.com>
22047
22048 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22049 arginfo fn returning -1.
22050
22051 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22052 and thousands string is zero terminated.
22053
22054 2011-02-03 Andreas Schwab <schwab@redhat.com>
22055
22056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22057 sysdeps/unix/sysv/linux/bits/socket.h.
22058
22059 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22060
22061 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22062 (__CPU_COUNT): Remove old macros.
22063 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22064 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22065 (__CPU_ALLOC, __CPU_FREE): Add macros.
22066 (__sched_cpualloc, __sched_cpufree): Add declarations.
22067
22068 2011-02-05 Ulrich Drepper <drepper@gmail.com>
22069
22070 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22071 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22072 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22073 (readdhstai): Return value of addhstaiX call.
22074 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22075 (addgrbyX): Return value returned by cache_addgr.
22076 (readdgrbyname): Return value returned by addgrbyX.
22077 (readdgrbygid): Likewise.
22078 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22079 (addpwbyX): Return value returned by cache_addpw.
22080 (readdpwbyname): Return value returned by addhstbyX.
22081 (readdpwbyuid): Likewise.
22082 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22083 (addservbyX): Return value returned by cache_addserv.
22084 (readdservbyname): Return value returned by addservbyX:
22085 (readdservbyport): Likewise.
22086 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22087 (addhstbyX): Return value returned by cache_addhst.
22088 (readdhstbyname): Return value returned by addhstbyX.
22089 (readdhstbyaddr): Likewise.
22090 (readdhstbynamev6): Likewise.
22091 (readdhstbyaddrv6): Likewise.
22092 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22093 (readdinitgroups): Return value returned by addinitgroupsX.
22094 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22095 (prune_cache): Keep track of timeout value of re-added entries.
22096 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22097 * nscd/nscd.h: Adjust prototypes of readd* functions.
22098
22099 2011-02-04 Roland McGrath <roland@redhat.com>
22100
22101 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22102 (nis_stats): Likewise.
22103 * nis/nis_modify.c (nis_modify): Likewise.
22104 * nis/nis_remove.c (nis_remove): Likewise.
22105 * nis/nis_add.c (nis_add): Likewise.
22106
22107 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22108
22109 * posix/fnmatch_loop.c: Add some consts.
22110
22111 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22112
22113 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22114
22115 [BZ #12460]
22116 * config.make.in (config-cflags-novzeroupper): Define.
22117 * configure.in: Substitute libc_cv_cc_novzeroupper.
22118 * elf/Makefile (AVX-CFLAGS): Define.
22119 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22120 (CFLAGS-tst-auditmod4a.c): Likewise.
22121 (CFLAGS-tst-auditmod4b.c): Likewise.
22122 (CFLAGS-tst-auditmod6b.c): Likewise.
22123 (CFLAGS-tst-auditmod6c.c): Likewise.
22124 (CFLAGS-tst-auditmod7b.c): Likewise.
22125 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22126
22127 2011-02-02 Ulrich Drepper <drepper@gmail.com>
22128
22129 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22130 function to the callback.
22131 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22132
22133 2011-02-02 Andreas Schwab <schwab@redhat.com>
22134
22135 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22136 of errno.
22137
22138 2011-01-19 Ulrich Drepper <drepper@gmail.com>
22139
22140 [BZ #11724]
22141 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22142 of constructors.
22143 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22144 of destructors.
22145 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22146
22147 [BZ #11724]
22148 * elf/Makefile: Add rules to build and run new test.
22149 * elf/tst-initorder.c: New file.
22150 * elf/tst-initorder.exp: New file.
22151 * elf/tst-initordera1.c: New file.
22152 * elf/tst-initordera2.c: New file.
22153 * elf/tst-initordera3.c: New file.
22154 * elf/tst-initordera4.c: New file.
22155 * elf/tst-initorderb1.c: New file.
22156 * elf/tst-initorderb2.c: New file.
22157 * elf/tst-order-a1.c: New file.
22158 * elf/tst-order-a2.c: New file.
22159 * elf/tst-order-a3.c: New file.
22160 * elf/tst-order-a4.c: New file.
22161 * elf/tst-order-b1.c: New file.
22162 * elf/tst-order-b2.c: New file.
22163 * elf/tst-order-main.c: New file.
22164 New test case by George Gensure <werkt0@gmail.com>.
22165
22166 2010-10-01 Andreas Schwab <schwab@redhat.com>
22167
22168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22169 decoding ACE if AI_CANONIDN.
22170
22171 2011-01-18 Ulrich Drepper <drepper@gmail.com>
22172
22173 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22174
22175 2011-01-17 Ulrich Drepper <drepper@gmail.com>
22176
22177 * version.h (RELEASE): Bump for 2.13 release.
22178 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22179
22180 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22181
22182 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22183 MADV_NOHUGEPAGE.
22184 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22185 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22186 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22187 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22188 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22189 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22190
22191 * posix/getconf.c: Update copyright year.
22192 * catgets/gencat.c: Likewise.
22193 * csu/version.c: Likewise.
22194 * debug/catchsegv.sh: Likewise.
22195 * debug/xtrace.sh: Likewise.
22196 * elf/ldconfig.c: Likewise.
22197 * elf/ldd.bash.in: Likewise.
22198 * elf/sprof.c (print_version): Likewise.
22199 * iconv/iconv_prog.c: Likewise.
22200 * iconv/iconvconfig.c: Likewise.
22201 * locale/programs/locale.c: Likewise.
22202 * locale/programs/localedef.c: Likewise.
22203 * malloc/memusage.sh: Likewise.
22204 * malloc/mtrace.pl: Likewise.
22205 * nscd/nscd.c (print_version): Likewise.
22206 * nss/getent.c: Likewise.
22207
22208 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22209 PF_CAIF, and PF_ALG.
22210 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22211
22212 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22213
22214 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22215 (modules-names): Use them.
22216 (ifunc-test-modules, ifunc-pie-tests): Define.
22217 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22218 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22219 (test-extras): Likewise.
22220 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22221 $(compile-command.c).
22222 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22223 (all-built-dso): Define.
22224 (check-textrel.out, check-execstack.out): Depend on it.
22225
22226 * configure.in: Don't override --enable-multi-arch.
22227
22228 2011-01-15 Ulrich Drepper <drepper@gmail.com>
22229
22230 [BZ #6812]
22231 * nscd/hstcache.c (tryagain): Define.
22232 (cache_addhst): Return tryagain not notfound for temporary errors.
22233 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22234 failed.
22235
22236 2011-01-14 Ulrich Drepper <drepper@gmail.com>
22237
22238 [BZ #10563]
22239 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22240 to make the syscall.
22241 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22242
22243 [BZ #12378]
22244 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22245 and fall back to matching as normal character if the string ends before
22246 the matching ']' is found. This is what POSIX requires.
22247 * posix/testfnm.c: Adjust test result.
22248 * posix/globtest.sh: Adjust test result. Add new test.
22249 * posix/tst-fnmatch.input: Likewise.
22250 * posix/tst-fnmatch2.c: Add new test.
22251
22252 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22253
22254 * elf/Makefile (check-execstack): Revert last change. Depend on
22255 check-execstack.h.
22256 (check-execstack.h): New target.
22257 (generated): Add check-execstack.h.
22258 * elf/check-execstack.c: Include "check-execstack.h".
22259 (main): Revert last change.
22260 (handle_file): Return zero if GNU_STACK is absent and
22261 DEFAULT_STACK_PERMS doesn't include PF_X.
22262
22263 2011-01-13 Ulrich Drepper <drepper@gmail.com>
22264
22265 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22266 in child fails because the descriptor is already closed.
22267 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22268 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22269 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22270
22271 [BZ #12397]
22272 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22273 syscall.
22274
22275 [BZ #10484]
22276 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22277 temporary buffer used to handle multi lookups locally.
22278 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22279
22280 2011-01-12 Ulrich Drepper <drepper@gmail.com>
22281
22282 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22283 loader is ld.so.
22284
22285 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22286
22287 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22288 alignment for SSE2.
22289
22290 2011-01-12 Ulrich Drepper <drepper@gmail.com>
22291
22292 [BZ #12394]
22293 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22294 characters. When rounding increased number of integer digits recompute
22295 number of groups.
22296 * stdio-common/tst-grouping.c: New file.
22297 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22298
22299 2011-01-09 Ulrich Drepper <drepper@gmail.com>
22300
22301 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22302 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22303
22304 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22305 void.
22306 * bits/select.h: Likewise.
22307
22308 2011-01-08 Ulrich Drepper <drepper@gmail.com>
22309
22310 * po/ja.po: Update from translation team.
22311
22312 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
22313
22314 [BZ #11155]
22315 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22316 implementation just like for lxstat, fxstatat, et al.
22317
22318 2010-12-27 Jim Meyering <meyering@redhat.com>
22319
22320 [BZ #12348]
22321 * posix/regexec.c (build_trtable): Return failure indication upon
22322 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22323
22324 2010-12-25 Ulrich Drepper <drepper@gmail.com>
22325
22326 [BZ #12201]
22327 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22328 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22329 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22330 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22331
22332 [BZ #12207]
22333 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22334
22335 [BZ #12204]
22336 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22337 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22338
22339 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22340
22341 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22342 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22343 script has SORT_BY_INIT_PRIORITY.
22344 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22345 NO_CTORS_DTORS_SECTIONS is defined.
22346 * elf/soinit.c: Likewise.
22347 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22348 NO_CTORS_DTORS_SECTIONS is defined.
22349 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22350 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22351 * sysdeps/sh/init-first.c: Likewise.
22352 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22353
22354 2010-12-24 Ulrich Drepper <drepper@gmail.com>
22355
22356 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22357 always use the slow path.
22358
22359 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22360
22361 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22362 similar rule which adds the sysdep directories to the header search in
22363 order to pick up the correct platform stackinfo.h.
22364 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22365 perform test if it is, otherwise return successfully without testing.
22366 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22367 DEFAULT_STACK_PERMS define in stackinfo.h.
22368 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22369 defined in stackinfo.h.
22370 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22371 DEFAULT_STACK_PERMS defined in stackinfo.h.
22372 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22373 * sysdeps/ia64/stackinfo.h: Likewise.
22374 * sysdeps/s390/stackinfo.h: Likewise.
22375 * sysdeps/sh/stackinfo.h: Likewise.
22376 * sysdeps/sparc/stackinfo.h: Likewise.
22377 * sysdeps/x86_64/stackinfo.h: Likewise.
22378 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22379 PF_X for powerpc64. Retain PF_X for powerpc32.
22380
22381 2010-12-19 Ulrich Drepper <drepper@gmail.com>
22382
22383 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22384 accurately.
22385 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22386 GETDENTS_64BIT_ALIGNED.
22387
22388 2010-12-14 Ulrich Drepper <dreper@gmail.com>
22389
22390 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22391
22392 2010-12-10 Andreas Schwab <schwab@redhat.com>
22393
22394 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22395 _GNU_SOURCE.
22396
22397 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22398 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22399 Remove __restrict.
22400 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22401 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22402
22403 2010-12-09 Ulrich Drepper <drepper@gmail.com>
22404
22405 [BZ #11655]
22406 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22407 are initialized.
22408
22409 2010-12-09 Jakub Jelinek <jakub@redhat.com>
22410
22411 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22412
22413 2010-12-03 Ulrich Drepper <drepper@gmail.com>
22414
22415 * po/it.po: Update from translation team.
22416
22417 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22418
22419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22420 unused codes.
22421
22422 2010-11-30 Ulrich Drepper <drepper@gmail.com>
22423
22424 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22425
22426 2010-11-24 Andreas Schwab <schwab@redhat.com>
22427
22428 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22429 specially.
22430 (gaih_getanswer_slice): Likewise.
22431
22432 2010-10-20 Jakub Jelinek <jakub@redhat.com>
22433
22434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22435
22436 2010-05-31 Petr Baudis <pasky@suse.cz>
22437
22438 [BZ #11149]
22439 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22440 silently even in the chroot mode.
22441
22442 2010-11-22 Ulrich Drepper <drepper@gmail.com>
22443
22444 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22445 last patch a bit. Pretty printing
22446
22447 2010-05-31 Petr Baudis <pasky@suse.cz>
22448
22449 [BZ #10085]
22450 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22451 initialization of skip_initgroups_dyn.
22452
22453 2010-11-19 Ulrich Drepper <drepper@gmail.com>
22454
22455 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22456 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22457
22458 2010-11-16 Ulrich Drepper <drepper@gmail.com>
22459
22460 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22461
22462 2010-11-11 Andreas Schwab <schwab@redhat.com>
22463
22464 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22465 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22466 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22467 ($(objpfx)tst-fnmatch-mem): New rule.
22468 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22469 * posix/tst-fnmatch.c (main): Call mtrace.
22470
22471 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22472
22473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22474 Support Intel processor model 6 and model 0x2c.
22475
22476 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
22477
22478 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22479 signed comparison.
22480
22481 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22482
22483 [BZ #12205]
22484 * string/test-strncasecmp.c (check_result): New function.
22485 (do_one_test): Use it.
22486 (check1): New function.
22487 (test_main): Use it.
22488 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22489 Support strcasecmp and strncasecmp.
22490
22491 2010-11-08 Ulrich Drepper <drepper@gmail.com>
22492
22493 [BZ #12194]
22494 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22495 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22496
22497 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22498
22499 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22500 IFUNC support.
22501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22502 memset-x86-64.
22503 * sysdeps/x86_64/multiarch/bzero.S: New file.
22504 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22505 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22506 * sysdeps/x86_64/multiarch/memset.S: New file.
22507 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22509 Set bit_Prefer_SSE_for_memop for Intel processors.
22510 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22511 Define.
22512 (index_Prefer_SSE_for_memop): Define.
22513 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22514
22515 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
22516
22517 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22518 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22519
22520 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22521
22522 [BZ #12191]
22523 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22524 (__x86_64_raw_data_cache_size_half): Likewise.
22525 (__x86_64_raw_shared_cache_size): Likewise.
22526 (__x86_64_raw_shared_cache_size_half): Likewise.
22527
22528 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22529 (__x86_64_raw_data_cache_size_half): Likewise.
22530 (__x86_64_raw_shared_cache_size): Likewise.
22531 (__x86_64_raw_shared_cache_size_half): Likewise.
22532 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22533 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22534 and __x86_64_raw_shared_cache_size_half. Round
22535 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22536 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22537 to multiple of 256 bytes.
22538
22539 2010-11-03 Ulrich Drepper <drepper@gmail.com>
22540
22541 [BZ #12167]
22542 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22543 of inacessible symlinks. Verify result of symlink before returning it.
22544 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22545 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22546
22547 2010-10-28 Erich Ritz <erichritz@gmail.com>
22548
22549 * math/math.h (isinf): Fix typo in comment.
22550
22551 2010-11-01 Ulrich Drepper <drepper@gmail.com>
22552
22553 * po/da.po: Update from translation team.
22554
22555 2010-10-26 Ulrich Drepper <drepper@gmail.com>
22556
22557 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22558 is added to the list.
22559
22560 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22561 Ulrich Drepper <drepper@gmail.com>
22562
22563 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22564 the global list here. Move code to...
22565 (_dl_add_to_namespace_list): ...here. New function.
22566 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22567 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22568 * elf/dl-load.c (lose): Don't remove the element from the list.
22569 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22570 (_dl_map_object): Likewise.
22571
22572 2010-10-25 Ulrich Drepper <drepper@gmail.com>
22573
22574 [BZ #12159]
22575 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22576 into all bytes of SSE register.
22577 Patch by Richard Li <richardpku@gmail.com>.
22578
22579 2010-10-24 Ulrich Drepper <drepper@gmail.com>
22580
22581 [BZ #12140]
22582 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22583 perturbing.
22584
22585 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22586
22587 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22588 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22589 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22590 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22592 submachine.
22593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22594
22595 2010-10-22 Andreas Schwab <schwab@redhat.com>
22596
22597 * include/dlfcn.h (__RTLD_SECURE): Define.
22598 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22599 mode & __RTLD_SECURE instead.
22600 (open_path): Rename preloaded parameter to secure.
22601 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22602 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22603 * elf/dl-deps.c (openaux): Likewise.
22604 * elf/rtld.c (struct map_args): Remove is_preloaded.
22605 (map_doit): Don't use it.
22606 (dl_main): Likewise.
22607 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22608 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22609
22610 2010-09-09 Andreas Schwab <schwab@redhat.com>
22611
22612 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22613 (sysd-rules-targets): Remove duplicates.
22614 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22615 rtld-%.$o dependency.
22616
22617 2010-10-18 Andreas Schwab <schwab@redhat.com>
22618
22619 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22620 _dl_map_object do it.
22621
22622 2010-10-19 Ulrich Drepper <drepper@gmail.com>
22623
22624 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22625 fast fma builtins, define the macros in the C99 standard.
22626 (FP_FAST_FMAF): Likewise.
22627 (FP_FAST_FMAL): Likewise.
22628 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22629
22630 * bits/mathdef.h: Update copyright year.
22631 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22632
22633 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22634
22635 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22636 builtins, define the macros in the C99 standard.
22637 (FP_FAST_FMAF): Likewise.
22638 (FP_FAST_FMAL): Likewise.
22639 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22640 multiply/add.
22641 (FP_FAST_FMAF): Likewise.
22642
22643 2010-10-15 Jakub Jelinek <jakub@redhat.com>
22644
22645 [BZ #3268]
22646 * math/libm-test.inc (fma_test): Some new testcases.
22647 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22648 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22649 y and infinite z. Do multiplication by C already in long double.
22650 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22652 y and infinite z. Do bitwise or of inexact bit into u.d.
22653 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22654 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22655 * sysdeps/i386/fpu/s_fma.S: Removed.
22656 * sysdeps/i386/fpu/s_fmal.S: Removed.
22657
22658 2010-10-16 Jakub Jelinek <jakub@redhat.com>
22659
22660 [BZ #3268]
22661 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22663 computation is not scheduled after fetestexcept. Fix value
22664 of minimum denormal long double.
22665
22666 2010-10-14 Jakub Jelinek <jakub@redhat.com>
22667
22668 [BZ #3268]
22669 * math/libm-test.inc (fma_test): Add some more tests.
22670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22671 correctly.
22672
22673 2010-10-15 Andreas Schwab <schwab@redhat.com>
22674
22675 * scripts/data/localplt-s390-linux-gnu.data: New file.
22676 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22677
22678 2010-10-13 Jakub Jelinek <jakub@redhat.com>
22679
22680 [BZ #3268]
22681 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22682 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22683 instead of dbl-64.
22684 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22685 inlines.
22686 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22688 if one of x and y is very large and the other is subnormal.
22689 * sysdeps/s390/fpu/s_fmaf.c: New file.
22690 * sysdeps/s390/fpu/s_fma.c: New file.
22691 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22692 * sysdeps/powerpc/fpu/s_fma.S: New file.
22693 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22694 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22695 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22696
22697 2010-10-12 Jakub Jelinek <jakub@redhat.com>
22698
22699 [BZ #3268]
22700 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22701 fma tests.
22702 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22703 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22704 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22705 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22706 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22707 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22708 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22709
22710 2010-10-12 Ulrich Drepper <drepper@redhat.com>
22711
22712 [BZ #12078]
22713 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22714 * posix/bug-regex31.input: Add test case.
22715
22716 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22717
22718 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22719 * posix/bug-regex31.input: New file.
22720
22721 [BZ #12078]
22722 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22723 (parse_sub_exp): Fix last change, use postorder.
22724
22725 * posix/bug-regex31.c: New file.
22726 * posix/Makefile: Add rules to build and run bug-regex31.
22727
22728 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22729
22730 [BZ #12078]
22731 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22732
22733 [BZ #12108]
22734 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22735 to have entries in sys_siglist.
22736
22737 [BZ #12093]
22738 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22739 be NULL.
22740
22741 2010-10-07 Jakub Jelinek <jakub@redhat.com>
22742
22743 [BZ #3268]
22744 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22745 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22746 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22747 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22748 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22749 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22750 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22751 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22752 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22753 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22754 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22755 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22756 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22757 * math/ftestexcept.c (fetestexcept): Likewise.
22758 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22759 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22760 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22761 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22762 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22763 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22764 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22765
22766 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22767
22768 [BZ #12107]
22769 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22770 newline.
22771
22772 2010-10-06 Ulrich Drepper <drepper@gmail.com>
22773
22774 * string/bug-strstr1.c: New file.
22775 * string/Makefile: Add rules to build and run bug-strstr1.
22776
22777 2010-10-05 Eric Blake <eblake@redhat.com>
22778
22779 [BZ #12092]
22780 * string/str-two-way.h (two_way_long_needle): Always clear memory
22781 when skipping input due to the shift table.
22782
22783 2010-10-03 Ulrich Drepper <drepper@gmail.com>
22784
22785 [BZ #12005]
22786 * malloc/mcheck.c: Handle large requests.
22787
22788 [BZ #12077]
22789 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22790 for strncmp and strncasecmp.
22791 * string/stratcliff.c: Add tests for strcmp and strncmp.
22792 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22793
22794 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22795
22796 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22797 __set_fpscr.
22798
22799 2010-09-30 Andreas Jaeger <aj@suse.de>
22800
22801 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22802 (CGROUP_SUPER_MAGIC): Define.
22803 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22804 Handle btrfs and cgroup file systems.
22805 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22806 Likewise.
22807
22808 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
22809
22810 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22811 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22812
22813 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22814
22815 [BZ #12067]
22816 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22817 trying to locate the ELF header.
22818
22819 2010-09-27 Andreas Schwab <schwab@redhat.com>
22820
22821 [BZ #11611]
22822 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22823 Mask out sign-bit copies when constructing f_fsid.
22824
22825 2010-09-24 Petr Baudis <pasky@suse.cz>
22826
22827 * debug/stack_chk_fail_local.c: Add missing licence exception.
22828 * debug/warning-nop.c: Likewise.
22829
22830 2010-09-15 Joseph Myers <joseph@codesourcery.com>
22831
22832 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22833 implementing getdents64 using getdents syscall, set d_type if
22834 __ASSUME_GETDENTS32_D_TYPE.
22835
22836 2010-09-16 Andreas Schwab <schwab@redhat.com>
22837
22838 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22839 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22840
22841 2010-09-21 Ulrich Drepper <drepper@redhat.com>
22842
22843 [BZ #12037]
22844 * posix/unistd.h: Undo change of feature selection for ftruncate from
22845 2010-01-11.
22846
22847 2010-09-20 Ulrich Drepper <drepper@redhat.com>
22848
22849 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22850 detection.
22851
22852 2010-09-20 Andreas Schwab <schwab@redhat.com>
22853
22854 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22855 fanotify_mark.
22856 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22857
22858 2010-09-14 Andreas Schwab <schwab@redhat.com>
22859
22860 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22861 variables after CHECK_SP call.
22862 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22863
22864 2010-09-13 Andreas Schwab <schwab@redhat.com>
22865 Ulrich Drepper <drepper@redhat.com>
22866
22867 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22868 re-relocationg ld.so.
22869 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22870 _dl_init_paths call.
22871 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22872 here anymore.
22873
22874 2010-09-14 Ulrich Drepper <drepper@redhat.com>
22875
22876 * resolv/res_init.c (__res_vinit): Count the default server we added.
22877
22878 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22879 Ulrich Drepper <drepper@redhat.com>
22880
22881 [BZ #11968]
22882 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22883 (____longjmp_chk): Use %ebx for saving value across system call.
22884 Add unwind info.
22885
22886 2010-09-06 Andreas Schwab <schwab@redhat.com>
22887
22888 * manual/Makefile: Don't mix pattern rules with normal rules.
22889
22890 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22891
22892 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22893 operation.
22894 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22895 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22896 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22897 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22898 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22899 Likewise.
22900
22901 2010-09-04 Ulrich Drepper <drepper@redhat.com>
22902
22903 [BZ #11979]
22904 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22905 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22906
22907 2010-09-02 Ulrich Drepper <drepper@redhat.com>
22908
22909 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22910 * sysdeps/x86_64/addmul_1.S: Likewise.
22911 * sysdeps/x86_64/lshift.S: Likewise.
22912 * sysdeps/x86_64/mul_1.S: Likewise.
22913 * sysdeps/x86_64/rshift.S: Likewise.
22914 * sysdeps/x86_64/sub_n.S: Likewise.
22915 * sysdeps/x86_64/submul_1.S: Likewise.
22916
22917 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22918
22919 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22920 Define __sched_param instead of SCHED_* and sched_param when
22921 <bits/sched.h> is included with __need_schedparam defined.
22922 * bits/sched.h [__need_schedparam]
22923 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22924 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22925 (__defined_schedparam): Define to 1.
22926 (__sched_param): New structure, identical to sched_param.
22927 (__need_schedparam): Undefine.
22928
22929 2010-08-31 Mike Frysinger <vapier@gentoo.org>
22930
22931 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22932 (epoll_create1): Declare.
22933
22934 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22935
22936 2010-08-31 Andreas Schwab <schwab@redhat.com>
22937
22938 [BZ #7066]
22939 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22940 shifting retval into place.
22941
22942 2010-09-01 Ulrich Drepper <drepper@redhat.com>
22943
22944 * nis/rpcsvc/nis.h: Update copyright notice.
22945 * nis/rpcsvc/nis.x: Likewise.
22946 * nis/rpcsvc/nis_callback.h: Likewise.
22947 * nis/rpcsvc/nis_callback.x: Likewise.
22948 * nis/rpcsvc/nis_object.x: Likewise.
22949 * nis/rpcsvc/nis_tags.h: Likewise.
22950 * nis/rpcsvc/yp.h: Likewise.
22951 * nis/rpcsvc/yp.x: Likewise.
22952 * nis/rpcsvc/ypupd.h: Likewise.
22953 * nis/yp_xdr.c: Likewise.
22954 * nis/ypupdate_xdr.c: Likewise.
22955
22956 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22957 mainly the body of pmap_getport. Add parameters to specify timeouts.
22958 (pmap_getport): Use __libc_rpc_getport.
22959 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22960 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22961 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22962
22963 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22964
22965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22966 fanotify_mark.
22967
22968 2010-08-27 Roland McGrath <roland@redhat.com>
22969
22970 * sysdeps/i386/i686/multiarch/Makefile
22971 (CFLAGS-varshift.c): New variable.
22972
22973 2010-08-27 Ulrich Drepper <drepper@redhat.com>
22974
22975 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22976 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22977
22978 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22979
22980 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22981
22982 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22983
22984 * sysdeps/x86_64/strlen.S: Unroll the loop.
22985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22986 strlen-sse2 strlen-sse2-bsf.
22987 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22988 __strlen_no_bsf if bit_Slow_BSF is set.
22989 (__strlen_sse42): Removed.
22990 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22991 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22992
22993 2010-08-25 Roland McGrath <roland@redhat.com>
22994
22995 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22996 * sysdeps/x86_64/multiarch/varshift.c: New file.
22997 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22998 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22999 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23000 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23001
23002 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23003
23004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23005 strlen-sse2 strlen-sse2-bsf.
23006 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23007 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23008 (__strlen_sse2): Removed.
23009 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23010 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23012 bit_Slow_BSF for Atom.
23013 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23014 (index_Slow_BSF): Define.
23015 (HAS_SLOW_BSF): Define.
23016
23017 2010-08-25 Ulrich Drepper <drepper@redhat.com>
23018
23019 [BZ #10851]
23020 * resolv/res_init.c (__res_vinit): When no server address at all
23021 is given default to loopback.
23022
23023 2010-08-24 Roland McGrath <roland@redhat.com>
23024
23025 * configure.in: Remove config-name.h generation.
23026 * configure: Regenerated.
23027 * config-name.in: File removed.
23028 * scripts/config-uname.sh: New file.
23029 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23030 ($(objdir)config-name.h): New target.
23031
23032 * sunrpc/rpc_parse.h: Avoid nested comment.
23033
23034 2010-08-24 Richard Henderson <rth@redhat.com>
23035 Ulrich Drepper <drepper@redhat.com>
23036 H.J. Lu <hongjiu.lu@intel.com>
23037
23038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23039 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23040 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23041 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23042 _mm_alignr_epi8 with _mm_loadu_si128.
23043 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23044 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23045 (__m128i_shift_right): Removed.
23046 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23047 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23048 * sysdeps/x86_64/multiarch/varshift.h: New file.
23049 * sysdeps/x86_64/multiarch/varshift.S: New file.
23050
23051 2010-08-21 Mike Frysinger <vapier@gentoo.org>
23052
23053 * configure.in: Move assembler checks to before sysdep dir checking.
23054
23055 2010-08-20 Petr Baudis <pasky@suse.cz>
23056
23057 * LICENSES: Sync the sunrpc license.
23058
23059 2010-08-19 Ulrich Drepper <drepper@redhat.com>
23060
23061 * sunrpc/auth_des.c: Update copyright notice once again.
23062 * sunrpc/auth_none.c: Likewise.
23063 * sunrpc/auth_unix.c: Likewise.
23064 * sunrpc/authdes_prot.c: Likewise.
23065 * sunrpc/authuxprot.c: Likewise.
23066 * sunrpc/bindrsvprt.c: Likewise.
23067 * sunrpc/clnt_gen.c: Likewise.
23068 * sunrpc/clnt_perr.c: Likewise.
23069 * sunrpc/clnt_raw.c: Likewise.
23070 * sunrpc/clnt_simp.c: Likewise.
23071 * sunrpc/clnt_tcp.c: Likewise.
23072 * sunrpc/clnt_udp.c: Likewise.
23073 * sunrpc/clnt_unix.c: Likewise.
23074 * sunrpc/des_crypt.c: Likewise.
23075 * sunrpc/des_soft.c: Likewise.
23076 * sunrpc/get_myaddr.c: Likewise.
23077 * sunrpc/getrpcport.c: Likewise.
23078 * sunrpc/key_call.c: Likewise.
23079 * sunrpc/key_prot.c: Likewise.
23080 * sunrpc/openchild.c: Likewise.
23081 * sunrpc/pm_getmaps.c: Likewise.
23082 * sunrpc/pm_getport.c: Likewise.
23083 * sunrpc/pmap_clnt.c: Likewise.
23084 * sunrpc/pmap_prot.c: Likewise.
23085 * sunrpc/pmap_prot2.c: Likewise.
23086 * sunrpc/pmap_rmt.c: Likewise.
23087 * sunrpc/rpc/auth.h: Likewise.
23088 * sunrpc/rpc/auth_unix.h: Likewise.
23089 * sunrpc/rpc/clnt.h: Likewise.
23090 * sunrpc/rpc/des_crypt.h: Likewise.
23091 * sunrpc/rpc/key_prot.h: Likewise.
23092 * sunrpc/rpc/netdb.h: Likewise.
23093 * sunrpc/rpc/pmap_clnt.h: Likewise.
23094 * sunrpc/rpc/pmap_prot.h: Likewise.
23095 * sunrpc/rpc/pmap_rmt.h: Likewise.
23096 * sunrpc/rpc/rpc.h: Likewise.
23097 * sunrpc/rpc/rpc_des.h: Likewise.
23098 * sunrpc/rpc/rpc_msg.h: Likewise.
23099 * sunrpc/rpc/svc.h: Likewise.
23100 * sunrpc/rpc/svc_auth.h: Likewise.
23101 * sunrpc/rpc/types.h: Likewise.
23102 * sunrpc/rpc/xdr.h: Likewise.
23103 * sunrpc/rpc_clntout.c: Likewise.
23104 * sunrpc/rpc_cmsg.c: Likewise.
23105 * sunrpc/rpc_common.c: Likewise.
23106 * sunrpc/rpc_cout.c: Likewise.
23107 * sunrpc/rpc_dtable.c: Likewise.
23108 * sunrpc/rpc_hout.c: Likewise.
23109 * sunrpc/rpc_main.c: Likewise.
23110 * sunrpc/rpc_parse.c: Likewise.
23111 * sunrpc/rpc_parse.h: Likewise.
23112 * sunrpc/rpc_prot.c: Likewise.
23113 * sunrpc/rpc_sample.c: Likewise.
23114 * sunrpc/rpc_scan.c: Likewise.
23115 * sunrpc/rpc_scan.h: Likewise.
23116 * sunrpc/rpc_svcout.c: Likewise.
23117 * sunrpc/rpc_tblout.c: Likewise.
23118 * sunrpc/rpc_util.c: Likewise.
23119 * sunrpc/rpc_util.h: Likewise.
23120 * sunrpc/rpcinfo.c: Likewise.
23121 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23122 * sunrpc/rpcsvc/key_prot.x: Likewise.
23123 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23124 * sunrpc/rpcsvc/mount.x: Likewise.
23125 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23126 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23127 * sunrpc/rpcsvc/rex.x: Likewise.
23128 * sunrpc/rpcsvc/rstat.x: Likewise.
23129 * sunrpc/rpcsvc/rusers.x: Likewise.
23130 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23131 * sunrpc/rpcsvc/spray.x: Likewise.
23132 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23133 * sunrpc/rtime.c: Likewise.
23134 * sunrpc/svc.c: Likewise.
23135 * sunrpc/svc_auth.c: Likewise.
23136 * sunrpc/svc_authux.c: Likewise.
23137 * sunrpc/svc_raw.c: Likewise.
23138 * sunrpc/svc_run.c: Likewise.
23139 * sunrpc/svc_simple.c: Likewise.
23140 * sunrpc/svc_tcp.c: Likewise.
23141 * sunrpc/svc_udp.c: Likewise.
23142 * sunrpc/svc_unix.c: Likewise.
23143 * sunrpc/svcauth_des.c: Likewise.
23144 * sunrpc/xcrypt.c: Likewise.
23145 * sunrpc/xdr.c: Likewise.
23146 * sunrpc/xdr_array.c: Likewise.
23147 * sunrpc/xdr_float.c: Likewise.
23148 * sunrpc/xdr_mem.c: Likewise.
23149 * sunrpc/xdr_rec.c: Likewise.
23150 * sunrpc/xdr_ref.c: Likewise.
23151 * sunrpc/xdr_sizeof.c: Likewise.
23152 * sunrpc/xdr_stdio.c: Likewise.
23153
23154 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23155 handling.
23156
23157 2010-08-19 Andreas Schwab <schwab@redhat.com>
23158
23159 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23160
23161 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
23162
23163 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23164 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23165 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23166 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23167 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23168 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23169 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23170 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23171 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23172 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23173 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23174 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23175 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23176 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23177
23178 2010-07-26 Anton Blanchard <anton@samba.org>
23179
23180 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23181 * malloc/arena.c (heap_trim): Likewise.
23182
23183 2010-08-16 Ulrich Drepper <drepper@redhat.com>
23184
23185 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23186 here. Not...
23187 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23188 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23189
23190 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23191
23192 * sysdeps/i386/elf/Makefile: New file.
23193
23194 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23195
23196 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23197 from fanotify_init.
23198 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23199 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23200
23201 2010-08-15 Ulrich Drepper <drepper@redhat.com>
23202
23203 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23204 of strncasecmp_l.
23205 * sysdeps/multiarch/strcmp.S: Likewise.
23206
23207 2010-08-14 Ulrich Drepper <drepper@redhat.com>
23208
23209 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23210 strncase_l-nonascii.
23211 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23212 Add strncase_l-ssse3.
23213 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23214 * sysdeps/x86_64/strcmp.S: Likewise.
23215 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23216 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23217 * sysdeps/x86_64/strncase.S: New file.
23218 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23219 * sysdeps/x86_64/strncase_l.S: New file.
23220 * string/Makefile (strop-tests): Add strncasecmp.
23221 * string/test-strncasecmp.c: New file.
23222
23223 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23224 warning.
23225
23226 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23227 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23228
23229 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23230
23231 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23232
23233 2010-08-12 Ulrich Drepper <drepper@redhat.com>
23234
23235 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23236 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23237 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23238
23239 2010-05-01 Alan Modra <amodra@gmail.com>
23240
23241 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23242 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23243 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23244 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23245 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23246 tidying. Don't tail-call __sigjmp_save for static lib.
23247 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23248 save location.
23249 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23250 (CALL_MCOUNT): Add eh info, and nop after bl.
23251 (TAIL_CALL_SYSCALL_ERROR): New macro.
23252 (PSEUDO_RET): Use it.
23253 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23254 Correct save location of integer regs and cr.
23255 (_dl_profile_resolve): Correct cr save location. Delete nops
23256 after bl when SHARED. Reduce cfi size a little by better
23257 placement of cfi directives.
23258 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23259 make a stack frame. Instead use parm save area as a temp.
23260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23261 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23263 Don't make a stack frame for parent, use parm save area.
23264 Increase child stack frame to 112 bytes. Don't save unused reg,
23265 and adjust reg usage. Set up cfi on error recovery and
23266 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23268 (__makecontext): Add dummy nop after jump to exit.
23269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23270 Use correct parm save area and cr save, reduce stack frame.
23271 Correct cfi for possible PSEUDO_RET frame setup.
23272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23273 Branch to local label emitted by PSEUDO_RET rather than
23274 __syscall_error.
23275
23276 2010-08-12 Andreas Schwab <schwab@redhat.com>
23277
23278 [BZ #11904]
23279 * locale/programs/locale.c (print_assignment): New function.
23280 (show_locale_vars): Use it.
23281
23282 2010-08-11 Ulrich Drepper <drepper@redhat.com>
23283
23284 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23285 field.
23286 (struct statfs64): Likewise.
23287 (_STATFS_F_FLAGS): Define.
23288 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23289 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23290 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23291 (ST_VALID): Define locally.
23292 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23293 __statvfs_getflags, use the provided value.
23294 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23295 __ASSUME_STATFS_F_FLAGS.
23296
23297 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23298
23299 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23300 Add sys/fanotify.h.
23301 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23302 fanotify_mask for GLIBC_2.13.
23303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23304 fanotify_init and fanotify_mark.
23305 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23306 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23307
23308 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23309 Add prlimit.
23310 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23311 prlimit64 for GLIBC_2.13.
23312 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23313 prlimit64.
23314 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23315 syscall.
23316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23317 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23318 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23319 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23320 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23321 add prlimit alias.
23322 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23323
23324 [BZ #11903]
23325 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23326 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23327
23328 * nss/Makefile: Add rules to build and run tst-nss-test1.
23329 * shlib-versions: Add entry for libnss_test1.
23330 * nss/nss_test1.c: New file.
23331 * nss/tst-nss-test1.c: New file.
23332
23333 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23334 (__nss_configure_lookup): Set appropriate entry in
23335 __nss_configure_lookup to true.
23336 * nss/nsswitch.h: Define enum with indeces of databases in
23337 databases and __nss_database_custom arrays. Declare
23338 __nss_database_custom.
23339 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23340 to avoid using nscd when custom rules are installed.
23341 * nss/getXXbyYY_r.c: Likewise.
23342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23343
23344 * nss/nss_files/files-parse.c: Whitespace fixes.
23345
23346 2010-08-09 Ulrich Drepper <drepper@redhat.com>
23347
23348 [BZ #11883]
23349 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23350 * posix/fnmatch_loop.c: Likewise.
23351
23352 2010-07-17 Andi Kleen <ak@linux.intel.com>
23353
23354 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23355 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23356 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23357 * Versions.def [GLIBC_2.13]: Add.
23358
23359 2010-08-06 Ulrich Drepper <drepper@redhat.com>
23360
23361 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23362 Also fail if tpwd after pwuid call is NULL.
23363
23364 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23365
23366 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23367 when converting to ms.
23368
23369 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23370
23371 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23372 EOPNOTSUPP errors with ENOTTY.
23373 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23374 EOPNOTSUPP errors with ENOTTY.
23375
23376 2010-07-31 Ulrich Drepper <drepper@redhat.com>
23377
23378 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23379 Add strcasecmp_l-ssse3.
23380 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23381 strcasecmp.
23382 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23383 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23384 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23385
23386 2010-07-30 Ulrich Drepper <drepper@redhat.com>
23387
23388 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23389
23390 * string/Makefile (strop-tests): Add strcasecmp.
23391 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23392 strcasecmp_l-nonascii.
23393 (gen-as-const-headers): Add locale-defines.sym.
23394 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23395 * sysdeps/x86_64/strcasecmp.S: New file.
23396 * sysdeps/x86_64/strcasecmp_l.S: New file.
23397 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23398 * sysdeps/x86_64/locale-defines.sym: New file.
23399 * string/test-strcasecmp.c: New file.
23400
23401 * string/test-strcasestr.c: Test both ends of the range of characters.
23402 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23403
23404 2010-07-29 Roland McGrath <roland@redhat.com>
23405
23406 [BZ #11856]
23407 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23408
23409 2010-07-27 Ulrich Drepper <drepper@redhat.com>
23410
23411 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23412 for ld.so.
23413
23414 2010-07-27 Andreas Schwab <schwab@redhat.com>
23415
23416 * manual/memory.texi (Malloc Tunable Parameters): Document
23417 M_PERTURB.
23418
23419 2010-07-26 Roland McGrath <roland@redhat.com>
23420
23421 [BZ #11840]
23422 * configure.in (-fgnu89-inline check): Set and substitute
23423 gnu89_inline, not libc_cv_gnu89_inline.
23424 * configure: Regenerated.
23425 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23426
23427 2010-07-26 Ulrich Drepper <drepper@redhat.com>
23428
23429 * string/test-strnlen.c: New file.
23430 * string/Makefile (strop-tests): Add strnlen.
23431 * string/tester.c (test_strnlen): Add a few more test cases.
23432 * string/tst-strlen.c: Better error reporting.
23433
23434 * sysdeps/x86_64/strnlen.S: New file.
23435
23436 2010-07-24 Ulrich Drepper <drepper@redhat.com>
23437
23438 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23439 lower-latency instructions.
23440
23441 2010-07-23 Ulrich Drepper <drepper@redhat.com>
23442
23443 * string/test-strcasestr.c: New file.
23444 * string/test-strstr.c: New file.
23445 * string/Makefile (strop-tests): Add strstr and strcasestr.
23446 * string/str-two-way.h: Don't undefine MAX.
23447 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23448
23449 2010-07-21 Andreas Schwab <schwab@redhat.com>
23450
23451 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23452 strcasestr-nonascii.
23453 (CFLAGS-strcasestr-nonascii.c): Define.
23454 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23455 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23456 Remove unused attribute.
23457
23458 2010-07-20 Roland McGrath <roland@redhat.com>
23459
23460 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23461 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23462 ld.so.cache was broken. With it, there is no way to disable dsocaps
23463 like LD_HWCAP_MASK can disable hwcaps.
23464
23465 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23466
23467 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23468
23469 2010-07-16 Ulrich Drepper <drepper@redhat.com>
23470
23471 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23472 call in strcasestr.
23473 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23474 __strcasestr_sse42_nonascii.
23475 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23476 strcasestr-nonascii.c.
23477 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23478
23479 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
23480
23481 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23482 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23483 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23484 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23485
23486 2010-07-09 Ulrich Drepper <drepper@redhat.com>
23487
23488 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23489 fcntl.
23490
23491 2010-07-06 Andreas Schwab <schwab@redhat.com>
23492
23493 [BZ #11577]
23494 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23495 dl_signal_cerror.
23496
23497 2010-07-06 Ulrich Drepper <drepper@redhat.com>
23498
23499 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23500 _PC_PIPE_BUF using F_GETPIPE_SZ.
23501
23502 2010-07-05 Roland McGrath <roland@redhat.com>
23503
23504 * manual/arith.texi (Rounding Functions): Fix rint description
23505 implicit in round description.
23506
23507 2010-07-02 Ulrich Drepper <drepper@redhat.com>
23508
23509 * elf/Makefile: Fix linking for a few tests to make recent linker
23510 happy.
23511
23512 2010-06-30 Andreas Schwab <schwab@redhat.com>
23513
23514 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23515 $(common-objpfx)libc_nonshared.a.
23516
23517 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
23518
23519 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23520 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23521 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23522 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23523 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23524 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23525 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23526 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23541 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23542 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23543 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23544 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23545 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23546 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23547 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23548 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23549 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23550 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23551 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23552 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23567
23568 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23569
23570 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23571 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23572 * string/memmove.c (memmove): Renamed to ...
23573 (MEMMOVE): ...this. Default to memmove.
23574 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23575 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23576 (END_CHK): Define.
23577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23578 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23579 mempcpy-ssse3-back memmove-ssse3-back.
23580 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23581 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23583 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23584 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23585 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23586 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23587 * sysdeps/x86_64/multiarch/memmove.c: New file.
23588 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23589 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23590 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23591 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23592 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23593 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23594 Define.
23595 (index_Fast_Copy_Backward): Define.
23596 (HAS_ARCH_FEATURE): Define.
23597 (HAS_FAST_REP_STRING): Define.
23598 (HAS_FAST_COPY_BACKWARD): Define.
23599
23600 2010-06-21 Andreas Schwab <schwab@redhat.com>
23601
23602 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23603 Restore proper fallback handling.
23604
23605 2010-06-19 Ulrich Drepper <drepper@redhat.com>
23606
23607 [BZ #11701]
23608 * posix/group_member.c (__group_member): Correct checking loop.
23609
23610 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23611 OOM in getpwuid_r correctly. Return error number when the caller
23612 should return, otherwise -1.
23613 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23614 call returning > 0 value.
23615 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23616
23617 2010-06-07 Andreas Schwab <schwab@redhat.com>
23618
23619 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23620 libc_nonshared.a from targets in modules-names.
23621
23622 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23623
23624 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23625 requires it.
23626
23627 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
23628
23629 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23630 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23631 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23632 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23633
23634 2010-06-02 Andreas Schwab <schwab@redhat.com>
23635
23636 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23637
23638 2010-06-14 Ulrich Drepper <drepper@redhat.com>
23639
23640 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23641 and F_GETPIPE_SZ.
23642 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23643 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23645 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23646 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23647 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23648
23649 2010-06-14 Roland McGrath <roland@redhat.com>
23650
23651 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23652
23653 2010-06-07 Jakub Jelinek <jakub@redhat.com>
23654
23655 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23656 __REDIRECT followed by __THROW.
23657 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23658 * posix/getopt.h (getopt): Likewise.
23659
23660 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23661
23662 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23663 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23664 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23665 in AT_FLAGS.
23666 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23667 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23668
23669 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
23670
23671 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23672
23673 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23674
23675 [BZ #11640]
23676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23677 Properly check family and model.
23678
23679 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23680
23681 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23682
23683 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
23684
23685 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23686
23687 2010-05-21 Ulrich Drepper <drepper@redhat.com>
23688
23689 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23690 symbol reference.
23691
23692 2010-05-19 Andreas Schwab <schwab@redhat.com>
23693
23694 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23695 symbol reference.
23696
23697 2010-05-21 Andreas Schwab <schwab@redhat.com>
23698
23699 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23700 and internal_recvmmsg.
23701 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23702 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23703 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23704 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23705
23706 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23707 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23708 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23709
23710 2010-05-20 Andreas Schwab <schwab@redhat.com>
23711
23712 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23713
23714 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
23715
23716 POWER7 optimizations.
23717 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23718 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23719
23720 2010-05-19 Ulrich Drepper <drepper@redhat.com>
23721
23722 * version.h: Update for 2.13 development version.
23723
23724 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
23725
23726 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23727 exceptions. Return 0.
23728
23729 2010-05-07 Roland McGrath <roland@redhat.com>
23730
23731 * elf/ldconfig.c (main): Add a const.
23732
23733 2010-05-06 Ulrich Drepper <drepper@redhat.com>
23734
23735 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23736 (args_options): Add no-idn option.
23737 (ahosts_keys_int): Add idn_flags to ai_flags.
23738 (parse_option): Handle 'i' option to clear idn_flags.
23739
23740 * malloc/malloc.c (_int_free): Possible race in the most recently
23741 added check. Only act on the data if no current modification
23742 happened.
23743
23744 See ChangeLog.17 for earlier changes.
This page took 1.119151 seconds and 5 git commands to generate.