1 2012-11-11 David S. Miller <davem@davemloft.net>
3 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6 __close rather than their public counterparts.
8 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12 [UNIX98] (sem_timedwait): Do not expect.
13 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14 [XPG4 || UNIX98] (sockatmark): Do not expect.
15 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16 (clock_getcpuclockid): Do not expect.
17 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
18 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22 [UNIX98] (vwscanf): Likewise.
23 [UNIX98] (vswscanf): Likewise.
25 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27 * timezone/version.h: Remove file.
28 * timezone/README: Do not refer to version.h.
29 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31 ($(objpfx)zdump.o): Likewise.
32 ($(objpfx)version.h): New target.
34 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36 * timezone/README: Don't mention modification to tzselect.ksh.
37 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38 work on unmodified tzselect.ksh. Substitute version numbers in
41 * Makefile (format-me): Remove.
42 (INSTALL): Adjust indentation. Use commands directly instead of
45 * aclocal.m4 (ACX_PKGVERSION): New macro.
46 (ACX_BUGURL): Likewise.
47 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
48 (PKGVERSION): New AC_DEFINE_UNQUOTED.
49 (REPORT_BUGS_TO): Likewise.
50 * configure: Regenerated.
51 * config.h.in (PKGVERSION): New macro.
52 (REPORT_BUGS_TO): Likewise.
53 * config.make.in (PKGVERSION): New variable.
54 (PKGVERSION_TEXI): Likewise.
55 (REPORT_BUGS_TO): Likewise.
56 (REPORT_BUGS_TEXI): Likewise.
57 * Makefile (format-me): Use -I$(common-objpfx)manual.
58 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
59 ($(common-objpfx)manual/%): New target.
60 (manual/%): Remove target.
61 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
62 (print_version): Use PKGVERSION.
63 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
64 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
66 ($(objpfx)xtrace): Likewise.
67 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
68 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
69 (print_version): Use PKGVERSION.
70 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
71 (do_version): Use PKGVERSION.
72 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74 (common-ldd-rewrite): Likewise.
75 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
76 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
77 (print_version): Use PKGVERSION.
78 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
79 * elf/pldd.c (argp_program_bug_address): Remove variable.
80 (more_help): New function.
81 (argp): Use more_help.
82 (print_version): Use PKGVERSION.
83 * elf/sln.c (main): Use PKGVERSION.
84 (usage): Use REPORT_BUGS_TO.
85 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
86 (top level): Use PKGVERSION.
87 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
88 (print_version): Use PKGVERSION.
89 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
90 (print_version): Use PKGVERSION.
91 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
92 (print_version): Use PKGVERSION.
93 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
94 (print_version): Use PKGVERSION.
95 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
96 (print_version): Use PKGVERSION.
97 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
98 (print_version): Use PKGVERSION.
99 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
101 ($(objpfx)memusage): Likewise.
102 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
103 (do_version): Use PKGVERSION.
104 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
105 (print_version): Use PKGVERSION.
106 * malloc/mtrace.pl ($PACKAGE): Remove variable.
107 ($PKGVERSION): New variable.
108 ($REPORT_BUGS_TO): Likewise.
109 (usage): Use $REPORT_BUGS_TO.
110 (top level): Use $PKGVERSION.
111 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
112 ($(objpfx)pkgvers.texi): New rule.
113 ($(objpfx)stamp-pkgvers): Likewise.
114 * manual/install.texi: Include pkgvers.texi.
115 (--with-pkgversion): Document new configure option.
116 (--with-bugurl): Likewise.
117 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
118 than necessarily for this particular distribution. Use
119 REPORT_BUGS_TO for where to report bugs.
120 * INSTALL: Regenerated.
121 * manual/libc.texinfo: Include pkgvers.texi.
122 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
123 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
124 (print_version): Use PKGVERSION.
125 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
126 (print_version): Use PKGVERSION.
127 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
128 (print_version): Use PKGVERSION.
129 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
130 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
132 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
133 (print_version): Use PKGVERSION.
134 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
135 (print_version): Use PKGVERSION.
136 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
139 * timezone/checktab.awk: Update from tzcode 2012i.
140 * timezone/ialloc.c: Likewise.
141 * timezone/private.h: Likewise.
142 * timezone/scheck.c: Likewise.
143 * timezone/tzfile.h: Likewise.
144 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
145 (TZVERSION): Hardcode tzcode version number.
146 * timezone/zdump.c: Update from tzcode 2012i.
147 * timezone/zic.c: Likewise.
148 * timezone/version.h: New file.
149 * timezone/README: Describe version.h. Update upstream location.
152 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
153 (mktemp): Enable declaration.
154 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
155 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
156 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
157 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
159 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
161 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
163 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
165 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
167 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
171 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
172 offset in buffer as u_int32_t not u_long. Consistently use memcpy
173 for copies of such integer values.
174 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
175 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
177 2012-11-09 Andreas Jaeger <aj@suse.de>
179 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
180 definitions and declarations that are provided by
181 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
183 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
185 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
186 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
187 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
190 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
192 * elf/elf.h: Update comment before AArch64 relocations.
194 2012-11-07 David S. Miller <davem@davemloft.net>
196 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
197 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
198 (__start_context): Declare.
199 (__makecontext_ret): Delete.
200 (__makecontext): Hook up __start_context instead of
202 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
203 (sysdep_routines): Add __start_context when in stdlib.
205 2012-11-07 Joseph Myers <joseph@codesourcery.com>
207 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
208 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
209 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
211 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
212 (READELF): New variable. Use it instead of hardcoded "readelf".
214 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
216 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
217 * sysdeps/x86/Makefile: Here.
218 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
219 * sysdeps/x86/tst-xmmymm.sh: This.
221 2012-11-07 Joseph Myers <joseph@codesourcery.com>
223 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
225 [UNIX98] (pthread_barrier_t): Do not expect.
226 [UNIX98] (pthread_barrierattr_t): Likewise.
227 [UNIX98] (pthread_spinlock_t): Likewise.
228 [UNIX98] (pthread_barrier_destroy): Likewise.
229 [UNIX98] (pthread_barrier_init): Likewise.
230 [UNIX98] (pthread_barrier_wait): Likewise.
231 [UNIX98] (pthread_barrierattr_destroy): Likewise.
232 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
233 [UNIX98] (pthread_barrierattr_init): Likewise.
234 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
235 [UNIX98] (pthread_getcpuclockid): Likewise.
236 [UNIX98] (pthread_mutex_timedlock): Likewise.
237 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
238 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
239 [UNIX98] (pthread_sigmask): Likewise.
240 [UNIX98] (pthread_spin_destroy): Likewise.
241 [UNIX98] (pthread_spin_init): Likewise.
242 [UNIX98] (pthread_spin_lock): Likewise.
243 [UNIX98] (pthread_spin_trylock): Likewise.
244 [UNIX98] (pthread_spin_unlock): Likewise.
245 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
247 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
248 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
249 [XPG3 || XPG4] (pthread_cond_t): Likewise.
250 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
251 [XPG3 || XPG4] (pthread_key_t): Likewise.
252 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
253 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
254 [XPG3 || XPG4] (pthread_once_t): Likewise.
255 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
256 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
257 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
258 [XPG3 || XPG4] (pthread_t): Likewise.
260 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
262 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
264 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
265 Change function return type to int.
267 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
268 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
269 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
270 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
271 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
272 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
273 [!POSIX] (posix_madvise): Likewise.
274 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
276 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
277 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
279 (posix_mem_offset): Likewise.
280 (posix_typed_mem_get_info): Likewise.
281 (posix_typed_mem_open): Likewise.
283 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
284 Change condition to [XOPEN2K8].
286 * conform/conformtest.pl: Preprocess allow-header data with -x c
287 instead of from stdin.
288 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
289 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
290 [C99-based standards] (cerfc): Likewise.
291 [C99-based standards] (cexp2): Likewise.
292 [C99-based standards] (cexpm1): Likewise.
293 [C99-based standards] (clog10): Likewise.
294 [C99-based standards] (clog1p): Likewise.
295 [C99-based standards] (clog2): Likewise.
296 [C99-based standards] (clgamma): Likewise.
297 [C99-based standards] (ctgamma): Likewise.
298 [C99-based standards] (cerff): Likewise.
299 [C99-based standards] (cerfcf): Likewise.
300 [C99-based standards] (cexp2f): Likewise.
301 [C99-based standards] (cexpm1f): Likewise.
302 [C99-based standards] (clog10f): Likewise.
303 [C99-based standards] (clog1pf): Likewise.
304 [C99-based standards] (clog2f): Likewise.
305 [C99-based standards] (clgammaf): Likewise.
306 [C99-based standards] (ctgammaf): Likewise.
307 [C99-based standards] (cerfl): Likewise.
308 [C99-based standards] (cerfcl): Likewise.
309 [C99-based standards] (cexp2l): Likewise.
310 [C99-based standards] (cexpm1l): Likewise.
311 [C99-based standards] (clog10l): Likewise.
312 [C99-based standards] (clog1pl): Likewise.
313 [C99-based standards] (clog2l): Likewise.
314 [C99-based standards] (clgammal): Likewise.
315 [C99-based standards] (ctgammal): Likewise.
316 * conform/data/inttypes.h-data [C99-based standards]: Include
317 stdint.h-data. Remove all expectations for stdint.h contents.
318 [C99-based standards] (PRI*): Do not allow.
319 [C99-based standards] (SCN*): Likewise.
320 [C99-based standards] (*_t): Likewise.
321 [C99-based-standards] (PRId8): Expect macro.
322 [C99-based-standards] (PRIi8): Likewise.
323 [C99-based-standards] (PRIo8): Likewise.
324 [C99-based-standards] (PRIu8): Likewise.
325 [C99-based-standards] (PRIx8): Likewise.
326 [C99-based-standards] (PRIX8): Likewise.
327 [C99-based-standards] (SCNd8): Likewise.
328 [C99-based-standards] (SCNi8): Likewise.
329 [C99-based-standards] (SCNo8): Likewise.
330 [C99-based-standards] (SCNu8): Likewise.
331 [C99-based-standards] (SCNx8): Likewise.
332 [C99-based-standards] (PRIdLEAST8): Likewise.
333 [C99-based-standards] (PRIiLEAST8): Likewise.
334 [C99-based-standards] (PRIoLEAST8): Likewise.
335 [C99-based-standards] (PRIuLEAST8): Likewise.
336 [C99-based-standards] (PRIxLEAST8): Likewise.
337 [C99-based-standards] (PRIXLEAST8): Likewise.
338 [C99-based-standards] (SCNdLEAST8): Likewise.
339 [C99-based-standards] (SCNiLEAST8): Likewise.
340 [C99-based-standards] (SCNoLEAST8): Likewise.
341 [C99-based-standards] (SCNuLEAST8): Likewise.
342 [C99-based-standards] (SCNxLEAST8): Likewise.
343 [C99-based-standards] (PRIdFAST8): Likewise.
344 [C99-based-standards] (PRIiFAST8): Likewise.
345 [C99-based-standards] (PRIoFAST8): Likewise.
346 [C99-based-standards] (PRIuFAST8): Likewise.
347 [C99-based-standards] (PRIxFAST8): Likewise.
348 [C99-based-standards] (PRIXFAST8): Likewise.
349 [C99-based-standards] (SCNdFAST8): Likewise.
350 [C99-based-standards] (SCNiFAST8): Likewise.
351 [C99-based-standards] (SCNoFAST8): Likewise.
352 [C99-based-standards] (SCNuFAST8): Likewise.
353 [C99-based-standards] (SCNxFAST8): Likewise.
354 [C99-based-standards] (PRId16): Likewise.
355 [C99-based-standards] (PRIi16): Likewise.
356 [C99-based-standards] (PRIo16): Likewise.
357 [C99-based-standards] (PRIu16): Likewise.
358 [C99-based-standards] (PRIx16): Likewise.
359 [C99-based-standards] (PRIX16): Likewise.
360 [C99-based-standards] (SCNd16): Likewise.
361 [C99-based-standards] (SCNi16): Likewise.
362 [C99-based-standards] (SCNo16): Likewise.
363 [C99-based-standards] (SCNu16): Likewise.
364 [C99-based-standards] (SCNx16): Likewise.
365 [C99-based-standards] (PRIdLEAST16): Likewise.
366 [C99-based-standards] (PRIiLEAST16): Likewise.
367 [C99-based-standards] (PRIoLEAST16): Likewise.
368 [C99-based-standards] (PRIuLEAST16): Likewise.
369 [C99-based-standards] (PRIxLEAST16): Likewise.
370 [C99-based-standards] (PRIXLEAST16): Likewise.
371 [C99-based-standards] (SCNdLEAST16): Likewise.
372 [C99-based-standards] (SCNiLEAST16): Likewise.
373 [C99-based-standards] (SCNoLEAST16): Likewise.
374 [C99-based-standards] (SCNuLEAST16): Likewise.
375 [C99-based-standards] (SCNxLEAST16): Likewise.
376 [C99-based-standards] (PRIdFAST16): Likewise.
377 [C99-based-standards] (PRIiFAST16): Likewise.
378 [C99-based-standards] (PRIoFAST16): Likewise.
379 [C99-based-standards] (PRIuFAST16): Likewise.
380 [C99-based-standards] (PRIxFAST16): Likewise.
381 [C99-based-standards] (PRIXFAST16): Likewise.
382 [C99-based-standards] (SCNdFAST16): Likewise.
383 [C99-based-standards] (SCNiFAST16): Likewise.
384 [C99-based-standards] (SCNoFAST16): Likewise.
385 [C99-based-standards] (SCNuFAST16): Likewise.
386 [C99-based-standards] (SCNxFAST16): Likewise.
387 [C99-based-standards] (PRId32): Likewise.
388 [C99-based-standards] (PRIi32): Likewise.
389 [C99-based-standards] (PRIo32): Likewise.
390 [C99-based-standards] (PRIu32): Likewise.
391 [C99-based-standards] (PRIx32): Likewise.
392 [C99-based-standards] (PRIX32): Likewise.
393 [C99-based-standards] (SCNd32): Likewise.
394 [C99-based-standards] (SCNi32): Likewise.
395 [C99-based-standards] (SCNo32): Likewise.
396 [C99-based-standards] (SCNu32): Likewise.
397 [C99-based-standards] (SCNx32): Likewise.
398 [C99-based-standards] (PRIdLEAST32): Likewise.
399 [C99-based-standards] (PRIiLEAST32): Likewise.
400 [C99-based-standards] (PRIoLEAST32): Likewise.
401 [C99-based-standards] (PRIuLEAST32): Likewise.
402 [C99-based-standards] (PRIxLEAST32): Likewise.
403 [C99-based-standards] (PRIXLEAST32): Likewise.
404 [C99-based-standards] (SCNdLEAST32): Likewise.
405 [C99-based-standards] (SCNiLEAST32): Likewise.
406 [C99-based-standards] (SCNoLEAST32): Likewise.
407 [C99-based-standards] (SCNuLEAST32): Likewise.
408 [C99-based-standards] (SCNxLEAST32): Likewise.
409 [C99-based-standards] (PRIdFAST32): Likewise.
410 [C99-based-standards] (PRIiFAST32): Likewise.
411 [C99-based-standards] (PRIoFAST32): Likewise.
412 [C99-based-standards] (PRIuFAST32): Likewise.
413 [C99-based-standards] (PRIxFAST32): Likewise.
414 [C99-based-standards] (PRIXFAST32): Likewise.
415 [C99-based-standards] (SCNdFAST32): Likewise.
416 [C99-based-standards] (SCNiFAST32): Likewise.
417 [C99-based-standards] (SCNoFAST32): Likewise.
418 [C99-based-standards] (SCNuFAST32): Likewise.
419 [C99-based-standards] (SCNxFAST32): Likewise.
420 [C99-based-standards] (PRId64): Likewise.
421 [C99-based-standards] (PRIi64): Likewise.
422 [C99-based-standards] (PRIo64): Likewise.
423 [C99-based-standards] (PRIu64): Likewise.
424 [C99-based-standards] (PRIx64): Likewise.
425 [C99-based-standards] (PRIX64): Likewise.
426 [C99-based-standards] (SCNd64): Likewise.
427 [C99-based-standards] (SCNi64): Likewise.
428 [C99-based-standards] (SCNo64): Likewise.
429 [C99-based-standards] (SCNu64): Likewise.
430 [C99-based-standards] (SCNx64): Likewise.
431 [C99-based-standards] (PRIdLEAST64): Likewise.
432 [C99-based-standards] (PRIiLEAST64): Likewise.
433 [C99-based-standards] (PRIoLEAST64): Likewise.
434 [C99-based-standards] (PRIuLEAST64): Likewise.
435 [C99-based-standards] (PRIxLEAST64): Likewise.
436 [C99-based-standards] (PRIXLEAST64): Likewise.
437 [C99-based-standards] (SCNdLEAST64): Likewise.
438 [C99-based-standards] (SCNiLEAST64): Likewise.
439 [C99-based-standards] (SCNoLEAST64): Likewise.
440 [C99-based-standards] (SCNuLEAST64): Likewise.
441 [C99-based-standards] (SCNxLEAST64): Likewise.
442 [C99-based-standards] (PRIdFAST64): Likewise.
443 [C99-based-standards] (PRIiFAST64): Likewise.
444 [C99-based-standards] (PRIoFAST64): Likewise.
445 [C99-based-standards] (PRIuFAST64): Likewise.
446 [C99-based-standards] (PRIxFAST64): Likewise.
447 [C99-based-standards] (PRIXFAST64): Likewise.
448 [C99-based-standards] (SCNdFAST64): Likewise.
449 [C99-based-standards] (SCNiFAST64): Likewise.
450 [C99-based-standards] (SCNoFAST64): Likewise.
451 [C99-based-standards] (SCNuFAST64): Likewise.
452 [C99-based-standards] (SCNxFAST64): Likewise.
453 [C99-based-standards] (PRIdMAX): Likewise.
454 [C99-based-standards] (PRIiMAX): Likewise.
455 [C99-based-standards] (PRIoMAX): Likewise.
456 [C99-based-standards] (PRIuMAX): Likewise.
457 [C99-based-standards] (PRIxMAX): Likewise.
458 [C99-based-standards] (PRIXMAX): Likewise.
459 [C99-based-standards] (SCNdMAX): Likewise.
460 [C99-based-standards] (SCNiMAX): Likewise.
461 [C99-based-standards] (SCNoMAX): Likewise.
462 [C99-based-standards] (SCNuMAX): Likewise.
463 [C99-based-standards] (SCNxMAX): Likewise.
464 [C99-based-standards] (PRIdPTR): Likewise.
465 [C99-based-standards] (PRIiPTR): Likewise.
466 [C99-based-standards] (PRIoPTR): Likewise.
467 [C99-based-standards] (PRIuPTR): Likewise.
468 [C99-based-standards] (PRIxPTR): Likewise.
469 [C99-based-standards] (PRIXPTR): Likewise.
470 [C99-based-standards] (SCNdPTR): Likewise.
471 [C99-based-standards] (SCNiPTR): Likewise.
472 [C99-based-standards] (SCNoPTR): Likewise.
473 [C99-based-standards] (SCNuPTR): Likewise.
474 [C99-based-standards] (SCNxPTR): Likewise.
475 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
477 * conform/data/stdint.h-data: Update comments to clarify
479 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
481 [C99-based standards] (INT8_MAX): Likewise.
482 [C99-based standards] (INT16_MIN): Likewise.
483 [C99-based standards] (INT16_MAX): Likewise.
484 [C99-based standards] (INT32_MIN): Likewise.
485 [C99-based standards] (INT32_MAX): Likewise.
486 [C99-based standards] (INT64_MIN): Likewise.
487 [C99-based standards] (INT64_MAX): Likewise.
488 [C99-based standards] (UINT8_MAX): Likewise.
489 [C99-based standards] (UINT16_MAX): Likewise.
490 [C99-based standards] (UINT32_MAX): Likewise.
491 [C99-based standards] (UINT64_MAX): Likewise.
492 [C99-based standards] (INT_LEAST8_MIN): Likewise.
493 [C99-based standards] (INT_LEAST8_MAX): Likewise.
494 [C99-based standards] (INT_LEAST16_MIN): Likewise.
495 [C99-based standards] (INT_LEAST16_MAX): Likewise.
496 [C99-based standards] (INT_LEAST32_MIN): Likewise.
497 [C99-based standards] (INT_LEAST32_MAX): Likewise.
498 [C99-based standards] (INT_LEAST64_MIN): Likewise.
499 [C99-based standards] (INT_LEAST64_MAX): Likewise.
500 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
501 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
502 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
503 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
504 [C99-based standards] (INT_FAST8_MIN): Likewise.
505 [C99-based standards] (INT_FAST8_MAX): Likewise.
506 [C99-based standards] (INT_FAST16_MIN): Likewise.
507 [C99-based standards] (INT_FAST16_MAX): Likewise.
508 [C99-based standards] (INT_FAST32_MIN): Likewise.
509 [C99-based standards] (INT_FAST32_MAX): Likewise.
510 [C99-based standards] (INT_FAST64_MIN): Likewise.
511 [C99-based standards] (INT_FAST64_MAX): Likewise.
512 [C99-based standards] (UINT_FAST8_MAX): Likewise.
513 [C99-based standards] (UINT_FAST16_MAX): Likewise.
514 [C99-based standards] (UINT_FAST32_MAX): Likewise.
515 [C99-based standards] (UINT_FAST64_MAX): Likewise.
516 [C99-based standards] (INTPTR_MIN): Likewise.
517 [C99-based standards] (INTPTR_MAX): Likewise.
518 [C99-based standards] (UINTPTR_MAX): Likewise.
519 [C99-based standards] (INTMAX_MIN): Likewise.
520 [C99-based standards] (INTMAX_MAX): Likewise.
521 [C99-based standards] (UINTMAX_MAX): Likewise.
522 [C99-based standards] (PTRDIFF_MIN): Likewise.
523 [C99-based standards] (PTRDIFF_MAX): Likewise.
524 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
525 [C99-based standards] (SIZE_MAX): Likewise.
526 [C99-based standards] (WCHAR_MAX): Likewise.
527 [C99-based standards] (WINT_MAX): Likewise.
528 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
530 [C99-based standards] (WCHAR_MIN): Likewise.
531 [C99-based standards] (WINT_MIN): Likewise.
532 [C99-based standards] (*_t): Allow.
533 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
534 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
535 Include math.h-data and complex.h-data. Remove all expectations
536 of math.h and complex.h contents.
537 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
539 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
540 (struct tm): Expect tag.
541 [C99-based-standards] (wcstof): Expect function.
542 [C99-based-standards] (wcstold): Likewise.
543 [C99-based-standards] (wcstoll): Likewise.
544 [C99-based-standards] (wcstoull): Likewise.
545 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
546 macro-int-constant. Specify type.
547 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
549 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
551 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
553 [ISO C standards]: Do not allow headers.
554 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
555 wcs[abcdefghijklmnopqrstuvwxyz]*.
556 [ISO C standards] (*_t): Do not allow.
557 * conform/data/wctype.h-data [C99-based standards] (iswblank):
559 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
560 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
562 [ISO C standards]: Do not allow headers.
563 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
564 is[abcdefghijklmnopqrstuvwxyz]*.
565 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
566 to[abcdefghijklmnopqrstuvwxyz]*.
567 [ISO C standards] (*_t): Do not allow.
568 * conform/data/stdalign.h-data: New file.
569 * conform/data/stdbool.h-data: Likewise.
570 * conform/data/stdnoreturn.h-data: Likewise.
572 2012-11-07 Andreas Jaeger <aj@suse.de>
575 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
576 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
577 guards are changed. Only define if not yet defined, #undef back
578 after including linux/sysctl.h if defined here.
580 2012-11-07 Roland McGrath <roland@hack.frob.com>
583 * manual/filesys.texi (Directory Entries): Typo fix.
584 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
586 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
588 * elf/elf.h (EM_AARCH64): New macro.
589 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
590 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
591 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
592 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
593 (R_AARCH64_TLSDESC): Likewise.
594 (NT_ARM_TLS): Likewise.
595 (NT_ARM_HW_BREAK): Likewise.
596 (NT_ARM_HW_WATCH): Likewise.
598 2012-11-07 Joseph Myers <joseph@codesourcery.com>
601 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
602 (__ieee754_powl): Saturate nonzero exponents with absolute value
603 below 0x1p-79 to +/- 0x1p-79.
604 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
605 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
606 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
607 nonzero exponents with absolute value below 0x1p-32 to +/-
609 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
610 (__ieee754_powl): Saturate nonzero exponents with absolute value
611 below 0x1p-79 to +/- 0x1p-79.
612 * math/libm-test.inc (pow_test): Add more tests.
614 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
616 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
617 _dl_s390_cap_flags with kernel. Increase string length.
618 (_dl_s390_platforms): Add z196 and zEC12.
620 2012-11-07 Joseph Myers <joseph@codesourcery.com>
622 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
623 Change XOPEN21K to XOPEN2K.
625 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
627 * string/memmove.c: Use memcpy when possible.
629 2012-11-06 Andreas Jaeger <aj@suse.de>
631 * po/eo.po: Update from translation team.
633 2012-11-06 Joseph Myers <joseph@codesourcery.com>
636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
637 exponent and small x and y exponents, scale x or y up. Increase
638 by 2 the exponent used in scaling up.
639 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
640 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
641 * math/libm-test.inc (fma_test): Add more tests.
642 (fma_test_towardzero): Likewise.
643 (fma_test_downward): Likewise.
644 (fma_test_upward): Likewise.
646 2012-11-05 Joseph Myers <joseph@codesourcery.com>
649 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
653 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
654 namespace for names of struct fields.
655 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
657 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
658 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
660 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
663 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
665 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
667 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
671 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
674 2012-11-04 Joseph Myers <joseph@codesourcery.com>
677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
678 definitely overflow as x * y not x * y + z.
679 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
680 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
681 * math/libm-test.inc (fma_test): Add more tests.
682 (fma_test_towardzero): Likewise.
683 (fma_test_downward): Likewise.
684 (fma_test_upward): Likewise.
686 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
690 * include/stub-tag.h: Remove file.
691 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
693 * manual/maint.texi (Porting): Don't reference it.
694 * Makerules ($(objpfx)stubs): Likewise.
695 * dirent/closedir.c: Don't include <stub-tag.h>.
696 * dirent/dirfd.c: Likewise.
697 * dirent/fdopendir.c: Likewise.
698 * dirent/getdents.c: Likewise.
699 * dirent/getdents64.c: Likewise.
700 * dirent/opendir.c: Likewise.
701 * dirent/readdir.c: Likewise.
702 * dirent/readdir64.c: Likewise.
703 * dirent/readdir64_r.c: Likewise.
704 * dirent/readdir_r.c: Likewise.
705 * dirent/rewinddir.c: Likewise.
706 * dirent/seekdir.c: Likewise.
707 * dirent/telldir.c: Likewise.
708 * gmon/profil.c: Likewise.
709 * grp/setgroups.c: Likewise.
710 * inet/if_index.c: Likewise.
711 * io/access.c: Likewise.
712 * io/chdir.c: Likewise.
713 * io/chmod.c: Likewise.
714 * io/chown.c: Likewise.
715 * io/close.c: Likewise.
716 * io/dup.c: Likewise.
717 * io/dup2.c: Likewise.
718 * io/dup3.c: Likewise.
719 * io/euidaccess.c: Likewise.
720 * io/faccessat.c: Likewise.
721 * io/fchdir.c: Likewise.
722 * io/fchmod.c: Likewise.
723 * io/fchmodat.c: Likewise.
724 * io/fchown.c: Likewise.
725 * io/fchownat.c: Likewise.
726 * io/fcntl.c: Likewise.
727 * io/flock.c: Likewise.
728 * io/fstatfs.c: Likewise.
729 * io/fstatfs64.c: Likewise.
730 * io/fstatvfs.c: Likewise.
731 * io/fstatvfs64.c: Likewise.
732 * io/futimens.c: Likewise.
733 * io/fxstat.c: Likewise.
734 * io/fxstat64.c: Likewise.
735 * io/fxstatat.c: Likewise.
736 * io/fxstatat64.c: Likewise.
737 * io/getcwd.c: Likewise.
738 * io/isatty.c: Likewise.
739 * io/lchmod.c: Likewise.
740 * io/lchown.c: Likewise.
741 * io/link.c: Likewise.
742 * io/linkat.c: Likewise.
743 * io/lseek.c: Likewise.
744 * io/lseek64.c: Likewise.
745 * io/lxstat64.c: Likewise.
746 * io/mkdir.c: Likewise.
747 * io/mkdirat.c: Likewise.
748 * io/mkfifo.c: Likewise.
749 * io/mkfifoat.c: Likewise.
750 * io/open.c: Likewise.
751 * io/open64.c: Likewise.
752 * io/openat.c: Likewise.
753 * io/openat64.c: Likewise.
754 * io/pipe.c: Likewise.
755 * io/pipe2.c: Likewise.
756 * io/poll.c: Likewise.
757 * io/posix_fadvise.c: Likewise.
758 * io/posix_fadvise64.c: Likewise.
759 * io/posix_fallocate.c: Likewise.
760 * io/posix_fallocate64.c: Likewise.
761 * io/read.c: Likewise.
762 * io/readlink.c: Likewise.
763 * io/readlinkat.c: Likewise.
764 * io/rmdir.c: Likewise.
765 * io/sendfile.c: Likewise.
766 * io/sendfile64.c: Likewise.
767 * io/statfs.c: Likewise.
768 * io/statfs64.c: Likewise.
769 * io/statvfs.c: Likewise.
770 * io/statvfs64.c: Likewise.
771 * io/symlink.c: Likewise.
772 * io/symlinkat.c: Likewise.
773 * io/ttyname.c: Likewise.
774 * io/ttyname_r.c: Likewise.
775 * io/umask.c: Likewise.
776 * io/unlink.c: Likewise.
777 * io/unlinkat.c: Likewise.
778 * io/utime.c: Likewise.
779 * io/utimensat.c: Likewise.
780 * io/write.c: Likewise.
781 * io/xmknod.c: Likewise.
782 * io/xmknodat.c: Likewise.
783 * io/xstat.c: Likewise.
784 * io/xstat64.c: Likewise.
785 * login/getpt.c: Likewise.
786 * login/grantpt.c: Likewise.
787 * login/unlockpt.c: Likewise.
788 * math/e_acoshl.c: Likewise.
789 * math/e_acosl.c: Likewise.
790 * math/e_asinl.c: Likewise.
791 * math/e_atan2l.c: Likewise.
792 * math/e_atanhl.c: Likewise.
793 * math/e_coshl.c: Likewise.
794 * math/e_expl.c: Likewise.
795 * math/e_fmodl.c: Likewise.
796 * math/e_gammal_r.c: Likewise.
797 * math/e_hypotl.c: Likewise.
798 * math/e_j0l.c: Likewise.
799 * math/e_j1l.c: Likewise.
800 * math/e_jnl.c: Likewise.
801 * math/e_lgammal_r.c: Likewise.
802 * math/e_log10l.c: Likewise.
803 * math/e_log2l.c: Likewise.
804 * math/e_logl.c: Likewise.
805 * math/e_powl.c: Likewise.
806 * math/e_rem_pio2l.c: Likewise.
807 * math/e_sinhl.c: Likewise.
808 * math/e_sqrtl.c: Likewise.
809 * math/fclrexcpt.c: Likewise.
810 * math/fedisblxcpt.c: Likewise.
811 * math/feenablxcpt.c: Likewise.
812 * math/fegetenv.c: Likewise.
813 * math/fegetexcept.c: Likewise.
814 * math/fegetround.c: Likewise.
815 * math/feholdexcpt.c: Likewise.
816 * math/fesetenv.c: Likewise.
817 * math/fesetround.c: Likewise.
818 * math/feupdateenv.c: Likewise.
819 * math/fgetexcptflg.c: Likewise.
820 * math/fraiseexcpt.c: Likewise.
821 * math/fsetexcptflg.c: Likewise.
822 * math/ftestexcept.c: Likewise.
823 * math/k_cosl.c: Likewise.
824 * math/k_rem_pio2l.c: Likewise.
825 * math/k_sinl.c: Likewise.
826 * math/k_tanl.c: Likewise.
827 * math/s_asinhl.c: Likewise.
828 * math/s_atanl.c: Likewise.
829 * math/s_cbrtl.c: Likewise.
830 * math/s_erfl.c: Likewise.
831 * math/s_expm1l.c: Likewise.
832 * math/s_log1pl.c: Likewise.
833 * math/s_tanhl.c: Likewise.
834 * misc/acct.c: Likewise.
835 * misc/brk.c: Likewise.
836 * misc/chflags.c: Likewise.
837 * misc/chroot.c: Likewise.
838 * misc/fchflags.c: Likewise.
839 * misc/fgetxattr.c: Likewise.
840 * misc/flistxattr.c: Likewise.
841 * misc/fremovexattr.c: Likewise.
842 * misc/fsetxattr.c: Likewise.
843 * misc/fsync.c: Likewise.
844 * misc/ftruncate.c: Likewise.
845 * misc/futimes.c: Likewise.
846 * misc/futimesat.c: Likewise.
847 * misc/getdomain.c: Likewise.
848 * misc/getdtsz.c: Likewise.
849 * misc/gethostid.c: Likewise.
850 * misc/gethostname.c: Likewise.
851 * misc/getloadavg.c: Likewise.
852 * misc/getpagesize.c: Likewise.
853 * misc/getsysstats.c: Likewise.
854 * misc/getxattr.c: Likewise.
855 * misc/gtty.c: Likewise.
856 * misc/ioctl.c: Likewise.
857 * misc/lgetxattr.c: Likewise.
858 * misc/listxattr.c: Likewise.
859 * misc/llistxattr.c: Likewise.
860 * misc/lremovexattr.c: Likewise.
861 * misc/lsetxattr.c: Likewise.
862 * misc/lutimes.c: Likewise.
863 * misc/madvise.c: Likewise.
864 * misc/mincore.c: Likewise.
865 * misc/mlock.c: Likewise.
866 * misc/mlockall.c: Likewise.
867 * misc/mmap.c: Likewise.
868 * misc/mprotect.c: Likewise.
869 * misc/msync.c: Likewise.
870 * misc/munlock.c: Likewise.
871 * misc/munlockall.c: Likewise.
872 * misc/munmap.c: Likewise.
873 * misc/preadv.c: Likewise.
874 * misc/preadv64.c: Likewise.
875 * misc/ptrace.c: Likewise.
876 * misc/pwritev.c: Likewise.
877 * misc/pwritev64.c: Likewise.
878 * misc/readv.c: Likewise.
879 * misc/reboot.c: Likewise.
880 * misc/remap_file_pages.c: Likewise.
881 * misc/removexattr.c: Likewise.
882 * misc/revoke.c: Likewise.
883 * misc/select.c: Likewise.
884 * misc/setdomain.c: Likewise.
885 * misc/setegid.c: Likewise.
886 * misc/seteuid.c: Likewise.
887 * misc/sethostid.c: Likewise.
888 * misc/sethostname.c: Likewise.
889 * misc/setregid.c: Likewise.
890 * misc/setreuid.c: Likewise.
891 * misc/setxattr.c: Likewise.
892 * misc/sstk.c: Likewise.
893 * misc/stty.c: Likewise.
894 * misc/swapoff.c: Likewise.
895 * misc/swapon.c: Likewise.
896 * misc/sync.c: Likewise.
897 * misc/syncfs.c: Likewise.
898 * misc/syscall.c: Likewise.
899 * misc/truncate.c: Likewise.
900 * misc/ualarm.c: Likewise.
901 * misc/usleep.c: Likewise.
902 * misc/ustat.c: Likewise.
903 * misc/utimes.c: Likewise.
904 * misc/vhangup.c: Likewise.
905 * misc/writev.c: Likewise.
906 * posix/_exit.c: Likewise.
907 * posix/alarm.c: Likewise.
908 * posix/execve.c: Likewise.
909 * posix/fexecve.c: Likewise.
910 * posix/fork.c: Likewise.
911 * posix/fpathconf.c: Likewise.
912 * posix/getaddrinfo.c: Likewise.
913 * posix/getegid.c: Likewise.
914 * posix/geteuid.c: Likewise.
915 * posix/getgid.c: Likewise.
916 * posix/getgroups.c: Likewise.
917 * posix/getlogin.c: Likewise.
918 * posix/getlogin_r.c: Likewise.
919 * posix/getpgid.c: Likewise.
920 * posix/getpid.c: Likewise.
921 * posix/getppid.c: Likewise.
922 * posix/getresgid.c: Likewise.
923 * posix/getresuid.c: Likewise.
924 * posix/getsid.c: Likewise.
925 * posix/getuid.c: Likewise.
926 * posix/glob64.c: Likewise.
927 * posix/nanosleep.c: Likewise.
928 * posix/pathconf.c: Likewise.
929 * posix/pause.c: Likewise.
930 * posix/posix_madvise.c: Likewise.
931 * posix/pread.c: Likewise.
932 * posix/pread64.c: Likewise.
933 * posix/pwrite.c: Likewise.
934 * posix/pwrite64.c: Likewise.
935 * posix/sched_getaffinity.c: Likewise.
936 * posix/sched_getp.c: Likewise.
937 * posix/sched_gets.c: Likewise.
938 * posix/sched_primax.c: Likewise.
939 * posix/sched_primin.c: Likewise.
940 * posix/sched_rr_gi.c: Likewise.
941 * posix/sched_setaffinity.c: Likewise.
942 * posix/sched_setp.c: Likewise.
943 * posix/sched_sets.c: Likewise.
944 * posix/sched_yield.c: Likewise.
945 * posix/setgid.c: Likewise.
946 * posix/setlogin.c: Likewise.
947 * posix/setpgid.c: Likewise.
948 * posix/setresgid.c: Likewise.
949 * posix/setresuid.c: Likewise.
950 * posix/setsid.c: Likewise.
951 * posix/setuid.c: Likewise.
952 * posix/sleep.c: Likewise.
953 * posix/spawni.c: Likewise.
954 * posix/sysconf.c: Likewise.
955 * posix/times.c: Likewise.
956 * posix/wait.c: Likewise.
957 * posix/wait3.c: Likewise.
958 * posix/wait4.c: Likewise.
959 * posix/waitpid.c: Likewise.
960 * resolv/gai_sigqueue.c: Likewise.
961 * resource/getpriority.c: Likewise.
962 * resource/getrlimit.c: Likewise.
963 * resource/getrusage.c: Likewise.
964 * resource/nice.c: Likewise.
965 * resource/setpriority.c: Likewise.
966 * resource/setrlimit.c: Likewise.
967 * resource/ulimit.c: Likewise.
968 * rt/aio_cancel.c: Likewise.
969 * rt/aio_fsync.c: Likewise.
970 * rt/aio_read.c: Likewise.
971 * rt/aio_sigqueue.c: Likewise.
972 * rt/aio_suspend.c: Likewise.
973 * rt/aio_write.c: Likewise.
974 * rt/clock_getres.c: Likewise.
975 * rt/clock_gettime.c: Likewise.
976 * rt/clock_nanosleep.c: Likewise.
977 * rt/clock_settime.c: Likewise.
978 * rt/lio_listio.c: Likewise.
979 * rt/mq_close.c: Likewise.
980 * rt/mq_getattr.c: Likewise.
981 * rt/mq_notify.c: Likewise.
982 * rt/mq_open.c: Likewise.
983 * rt/mq_receive.c: Likewise.
984 * rt/mq_send.c: Likewise.
985 * rt/mq_setattr.c: Likewise.
986 * rt/mq_timedreceive.c: Likewise.
987 * rt/mq_timedsend.c: Likewise.
988 * rt/mq_unlink.c: Likewise.
989 * rt/shm_open.c: Likewise.
990 * rt/shm_unlink.c: Likewise.
991 * rt/timer_create.c: Likewise.
992 * rt/timer_delete.c: Likewise.
993 * rt/timer_getoverr.c: Likewise.
994 * rt/timer_gettime.c: Likewise.
995 * rt/timer_settime.c: Likewise.
996 * setjmp/__longjmp.c: Likewise.
997 * setjmp/setjmp.c: Likewise.
998 * signal/kill.c: Likewise.
999 * signal/killpg.c: Likewise.
1000 * signal/raise.c: Likewise.
1001 * signal/sigaction.c: Likewise.
1002 * signal/sigaltstack.c: Likewise.
1003 * signal/sigblock.c: Likewise.
1004 * signal/sigignore.c: Likewise.
1005 * signal/sigintr.c: Likewise.
1006 * signal/signal.c: Likewise.
1007 * signal/sigpause.c: Likewise.
1008 * signal/sigpending.c: Likewise.
1009 * signal/sigqueue.c: Likewise.
1010 * signal/sigreturn.c: Likewise.
1011 * signal/sigset.c: Likewise.
1012 * signal/sigsetmask.c: Likewise.
1013 * signal/sigstack.c: Likewise.
1014 * signal/sigsuspend.c: Likewise.
1015 * signal/sigtimedwait.c: Likewise.
1016 * signal/sigvec.c: Likewise.
1017 * signal/sigwait.c: Likewise.
1018 * signal/sigwaitinfo.c: Likewise.
1019 * signal/sysv_signal.c: Likewise.
1020 * socket/accept.c: Likewise.
1021 * socket/accept4.c: Likewise.
1022 * socket/bind.c: Likewise.
1023 * socket/connect.c: Likewise.
1024 * socket/getpeername.c: Likewise.
1025 * socket/getsockname.c: Likewise.
1026 * socket/getsockopt.c: Likewise.
1027 * socket/isfdtype.c: Likewise.
1028 * socket/listen.c: Likewise.
1029 * socket/recv.c: Likewise.
1030 * socket/recvfrom.c: Likewise.
1031 * socket/recvmsg.c: Likewise.
1032 * socket/send.c: Likewise.
1033 * socket/sendmsg.c: Likewise.
1034 * socket/sendto.c: Likewise.
1035 * socket/setsockopt.c: Likewise.
1036 * socket/shutdown.c: Likewise.
1037 * socket/sockatmark.c: Likewise.
1038 * socket/socket.c: Likewise.
1039 * socket/socketpair.c: Likewise.
1040 * stdio-common/ctermid.c: Likewise.
1041 * stdio-common/cuserid.c: Likewise.
1042 * stdio-common/remove.c: Likewise.
1043 * stdio-common/rename.c: Likewise.
1044 * stdio-common/renameat.c: Likewise.
1045 * stdio-common/tempname.c: Likewise.
1046 * stdlib/getcontext.c: Likewise.
1047 * stdlib/makecontext.c: Likewise.
1048 * stdlib/setcontext.c: Likewise.
1049 * stdlib/swapcontext.c: Likewise.
1050 * stdlib/system.c: Likewise.
1051 * streams/fattach.c: Likewise.
1052 * streams/fdetach.c: Likewise.
1053 * streams/getmsg.c: Likewise.
1054 * streams/getpmsg.c: Likewise.
1055 * streams/putmsg.c: Likewise.
1056 * streams/putpmsg.c: Likewise.
1057 * sysdeps/unix/bsd/getpt.c: Likewise.
1058 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1059 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1060 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1063 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1064 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1065 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1066 * sysvipc/msgctl.c: Likewise.
1067 * sysvipc/msgget.c: Likewise.
1068 * sysvipc/msgrcv.c: Likewise.
1069 * sysvipc/msgsnd.c: Likewise.
1070 * sysvipc/semctl.c: Likewise.
1071 * sysvipc/semget.c: Likewise.
1072 * sysvipc/semop.c: Likewise.
1073 * sysvipc/semtimedop.c: Likewise.
1074 * sysvipc/shmat.c: Likewise.
1075 * sysvipc/shmctl.c: Likewise.
1076 * sysvipc/shmdt.c: Likewise.
1077 * sysvipc/shmget.c: Likewise.
1078 * termios/tcdrain.c: Likewise.
1079 * termios/tcflow.c: Likewise.
1080 * termios/tcflush.c: Likewise.
1081 * termios/tcgetattr.c: Likewise.
1082 * termios/tcgetpgrp.c: Likewise.
1083 * termios/tcsendbrk.c: Likewise.
1084 * termios/tcsetattr.c: Likewise.
1085 * termios/tcsetpgrp.c: Likewise.
1086 * time/adjtime.c: Likewise.
1087 * time/clock.c: Likewise.
1088 * time/getitimer.c: Likewise.
1089 * time/gettimeofday.c: Likewise.
1090 * time/setitimer.c: Likewise.
1091 * time/settimeofday.c: Likewise.
1092 * time/stime.c: Likewise.
1093 * time/time.c: Likewise.
1095 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
1097 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1100 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1102 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1104 2012-11-03 Joseph Myers <joseph@codesourcery.com>
1107 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1108 FE_TONEAREST before applying Dekker multiplication and Knuth
1109 addition. Clear inexact exceptions and check for exact zero
1111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1112 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1113 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1114 * math/libm-test.inc (fma_test): Add more tests.
1115 (fma_test_towardzero): Likewise.
1116 (fma_test_downward): Likewise.
1117 (fma_test_upward): Likewise.
1118 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1120 (libc_fesetround): New macro.
1121 (libc_fesetroundf): Likewise.
1122 (libc_fesetroundl): Likewise.
1123 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1125 (libc_fesetround_387): Likewise.
1126 (libc_fesetroundf): New macro.
1127 (libc_fesetround): Likewise.
1128 (libc_fesetroundl): Likewise.
1129 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1131 (libc_fesetroundf): New macro.
1132 (libc_fesetround): Likewise.
1133 (libc_fesetroundl): Likewise.
1134 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1135 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1136 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1138 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1139 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1141 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1142 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1144 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1148 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1149 integer constant usable in #if and use that to give value to enum
1151 (FE_DIVBYZERO): Likewise.
1152 (FE_UNDERFLOW): Likewise.
1153 (FE_OVERFLOW): Likewise.
1154 (FE_INVALID): Likewise.
1155 (FE_INVALID_SNAN): Likewise.
1156 (FE_INVALID_ISI): Likewise.
1157 (FE_INVALID_IDI): Likewise.
1158 (FE_INVALID_ZDZ): Likewise.
1159 (FE_INVALID_IMZ): Likewise.
1160 (FE_INVALID_COMPARE): Likewise.
1161 (FE_INVALID_SOFTWARE): Likewise.
1162 (FE_INVALID_SQRT): Likewise.
1163 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1164 (FE_TONEAREST): Likewise.
1165 (FE_TOWARDZERO): Likewise.
1166 (FE_UPWARD): Likewise.
1167 (FE_DOWNWARD): Likewise.
1168 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1169 (FE_DIVBYZERO): Likewise.
1170 (FE_OVERFLOW): Likewise.
1171 (FE_UNDERFLOW): Likewise.
1172 (FE_INEXACT): Likewise.
1173 (FE_TONEAREST): Likewise.
1174 (FE_DOWNWARD): Likewise.
1175 (FE_UPWARD): Likewise.
1176 (FE_TOWARDZERO): Likewise.
1177 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1178 (FE_UNDERFLOW): Likewise.
1179 (FE_OVERFLOW): Likewise.
1180 (FE_DIVBYZERO): Likewise.
1181 (FE_INVALID): Likewise.
1182 (FE_TONEAREST): Likewise.
1183 (FE_TOWARDZERO): Likewise.
1184 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1185 (FE_OVERFLOW): Likewise.
1186 (FE_UNDERFLOW): Likewise.
1187 (FE_DIVBYZERO): Likewise.
1188 (FE_INEXACT): Likewise.
1189 (FE_TONEAREST): Likewise.
1190 (FE_TOWARDZERO): Likewise.
1191 (FE_UPWARD): Likewise.
1192 (FE_DOWNWARD): Likewise.
1193 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1194 (FE_DIVBYZERO): Likewise.
1195 (FE_OVERFLOW): Likewise.
1196 (FE_UNDERFLOW): Likewise.
1197 (FE_INEXACT): Likewise.
1198 (FE_TONEAREST): Likewise.
1199 (FE_DOWNWARD): Likewise.
1200 (FE_UPWARD): Likewise.
1201 (FE_TOWARDZERO): Likewise.
1203 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1205 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1207 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1209 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1210 commands. Quote $PWD.
1211 (blacklist_exports): Don't use remove_newlines. Replace "declare
1213 (remove_newlines): Remove.
1215 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1217 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1218 * stdlib/stdlib.h (atof): Moved to ...
1219 * include/bits/stdlib-float.h: Here. New file.
1220 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1221 * stdlib/bits/stdlib-float.h: New file.
1222 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1224 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1227 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1229 * conform/conformtest.pl (@headers): Add fenv.h.
1230 * conform/data/fenv.h-data: New file.
1231 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1232 include of <math/fenv.h>.
1234 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1235 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1236 && !UNIX98]. Enables tests for XOPEN2K8.
1237 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1238 POSIX2008]: Likewise.
1240 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1241 (struct rusage): Do not expect type or its members.
1244 * math/math.h (FP_NAN): Define macro to integer constant usable in
1245 #if and use that to give value to enum constant.
1246 (FP_INFINITE): Likewise.
1247 (FP_ZERO): Likewise.
1248 (FP_SUBNORMAL): Likewise.
1249 (FP_NORMAL): Likewise.
1251 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1253 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1254 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1257 2012-11-02 Roland McGrath <roland@hack.frob.com>
1259 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1260 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1261 autoconf-time if not.
1262 * configure.in: Remove AC_PREREQ.
1264 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1266 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1267 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1268 of the internal implementation.
1270 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1272 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1273 except include of <misc/sys/syslog.h>.
1275 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1278 function returns with a NULL context exit with zero.
1280 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1282 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1284 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1286 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1287 (run_program_cmd): This.
1288 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1289 (tst_langinfo): New variable. Use it.
1291 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1293 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1294 floating point opcodes.
1296 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1298 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1301 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1303 * sysdeps/mach/hurd/powerpc: Remove directory.
1304 * sysdeps/mach/powerpc: Likewise.
1306 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1308 * scripts/check-local-headers.sh: Ignore c++ headers.
1310 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1312 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1313 __libc_cleanup_region_start argument.
1315 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1320 x * y using scaling, not as x * y + z.
1321 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1322 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1323 * math/libm-test.inc (fma_test): Add more tests.
1324 (fma_test_towardzero): Likewise.
1325 (fma_test_downward): Likewise.
1326 (fma_test_upward): Likewise.
1328 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1330 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1332 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1334 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1337 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1339 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1341 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1348 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1351 Fix the order of the list for glibc 2.17.
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1355 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1359 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1362 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1363 for low part of x being zero before using __atanl (y).
1364 * math/libm-test.inc (atan2_test): Add another test.
1366 * manual/install.texi (Configuring and compiling): Document
1367 general use of test-wrapper and test-wrapper-env.
1368 * INSTALL: Regenerated.
1370 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1371 (__fma): Do not extract and scale down low bits on after-rounding
1372 systems when result rounded to normal precision would have normal
1374 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1375 (__fmal): Do not extract and scale down low bits on after-rounding
1376 systems when result rounded to normal precision would have normal
1378 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1379 (__fmal): Do not extract and scale down low bits on after-rounding
1380 systems when result rounded to normal precision would have normal
1382 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1384 (fma_test): Add more tests.
1385 (fma_test_towardzero): Likewise.
1386 (fma_test_downward): Likewise.
1387 (fma_test_upward): Likewise.
1389 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1391 * sysdeps/i386/tininess.h: Renamed to ...
1392 * sysdeps/x86/tininess.h: This.
1393 * sysdeps/x86_64/tininess.h: Removed.
1395 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1397 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1398 input. Use $(build-program-cmd).
1399 ($(objpfx)tst-array1-static.out): Likewise.
1400 ($(objpfx)tst-array2.out): Likewise.
1401 ($(objpfx)tst-array3.out): Likewise.
1402 ($(objpfx)tst-array4.out): Likewise.
1403 ($(objpfx)tst-array5.out): Likewise.
1404 ($(objpfx)tst-array5-static.out): Likewise.
1406 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1408 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1411 * nss/nsswitch.h (nss_interface_function): Provide new
1412 macro for use with NSS functions.
1413 * grp/initgroups.c: Use new macro.
1414 * nss/getXXbyYY.c: Likewise.
1415 * nss/getXXbyYY_r.c: Likewise.
1416 * nss/getXXent.c: Likewise.
1417 * nss/getXXent_r.c: Likewise.
1418 * sysdeps/posix/getaddrinfo.c: Likewise.
1420 2012-10-30 Andreas Jaeger <aj@suse.de>
1422 * po/ru.po: Update Russion translation from translation project.
1424 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1429 result and shift together with sticky bit instead of replicating
1430 round-to-nearest rounding.
1431 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1432 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1433 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1434 missing underflow exceptions.
1435 (fma_test_towardzero): Add more tests.
1436 (fma_test_downward): Likewise.
1437 (fma_test_upward): Likewise.
1440 * sysdeps/generic/tininess.h: New file.
1441 * sysdeps/i386/tininess.h: Likewise.
1442 * sysdeps/sh/tininess.h: Likewise.
1443 * sysdeps/x86_64/tininess.h: Likewise.
1444 * stdlib/tst-strtod-underflow.c: Likewise.
1445 * stdlib/tst-tininess.c: Likewise.
1446 * stdlib/strtod_l.c: Include <tininess.h>.
1447 (round_and_return): Do not set errno for exact underflow cases.
1448 Force an underflow exception when setting errno for underflow.
1449 Determine underflow based on rounding to normal precision if
1450 TININESS_AFTER_ROUNDING.
1451 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1452 ERANGE for exact underflow cases.
1453 * stdlib/Makefile (tests): Add tst-tininess and
1454 tst-strtod-underflow.
1455 ($(objpfx)tst-tininess): Use $(link-libm).
1456 ($(objpfx)tst-strtod-underflow): Likewise.
1458 2012-10-30 Andreas Jaeger <aj@suse.de>
1461 * elf/Makefile (tests): Remove conditional for have-initfini-array
1462 since this is now always required and the variable does not exist
1464 (tests-static): Likewise.
1465 (modules-names): Likewise.
1467 * po/eo.po: Add Esperanto translation from translation project.
1469 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1470 merged with constructor/destructor.
1471 (init_array): Likewise.
1472 * elf/tst-array2dep.c (fini_array): Likewise.
1473 (init_array): Likewise.
1475 2012-10-29 Mike Frysinger <vapier@gentoo.org>
1477 * manual/message.texi: Delete @cartouche tags.
1479 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1481 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1483 * sysdeps/mach/hurd/fsync.c: Likewise.
1485 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1486 [_POSIX_REALTIME_SIGNALS]: Change condition to
1487 [_POSIX_REALTIME_SIGNALS > 0].
1489 2012-10-27 Andreas Jaeger <aj@suse.de>
1491 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1492 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1493 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1494 [__WORDSIZE != 64]: Likewise.
1496 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1498 * iconvdata/tst-table.sh: Remove ${SHELL}.
1499 * iconvdata/tst-tables.sh: Likewise.
1501 2012-10-25 David S. Miller <davem@davemloft.net>
1503 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1504 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1507 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1509 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1510 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1511 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1514 2012-10-25 Roland McGrath <roland@hack.frob.com>
1516 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1517 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1520 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1521 Jim Blandy <jimb@codesourcery.com>
1523 * scripts/cross-test-ssh.sh: New file.
1524 * manual/install.texi (Configuring and compiling): Document use of
1526 * INSTALL: Regenerated.
1528 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1530 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1533 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1535 * Makeconfig (run-program-prefix): Fix comment.
1537 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1538 Jim Blandy <jimb@codesourcery.com>
1540 * Makeconfig (test-wrapper): New variable,
1541 (test-wrapper-env): Likewise.
1542 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1543 (run-built-tests): Define to yes.
1544 (run-program-prefix): Use $(test-wrapper).
1545 (built-program-cmd): Likewise.
1546 * Rules (make-test-out): Use $(test-wrapper-env) and
1547 $(host-built-program-cmd).
1548 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1549 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1551 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1552 $(test-wrapper-env) to tst-rtld-load-self.sh.
1553 ($(objpfx)order2.out): Use $(test-wrapper).
1554 ($(objpfx)tst-initorder.out): Likewise.
1555 ($(objpfx)tst-initorder2.out): Likewise.
1556 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1557 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1558 (test_wrapper_env): New variable. Use it to run ld.so.
1559 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1560 Use it to run ld.so.
1561 (test_wrapper_env): Likewise.
1562 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1563 $(test-wrapper) to run-iconv-test.sh.
1564 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1565 (ICONV): Use $test_wrapper.
1566 * posix/Makefile ($(objpfx)globtest.out): Pass
1567 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1568 globtest.sh, not $(run-program-prefix).
1569 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1570 (test_wrapper): Likewise.
1571 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1572 set together with run_via_rtld_prefix.
1573 (run_program_prefix): Define in terms of test_wrapper and
1574 run_via_rtld_prefix.
1576 2012-10-24 Roland McGrath <roland@hack.frob.com>
1578 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1579 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1583 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1584 Declare __clock_getres, __clock_gettime, __clock_settime,
1585 __clock_nanosleep, and __clock_getcpuclockid.
1586 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1587 Remove librt_hidden_def (clock_gettime).
1588 * sysdeps/unix/clock_gettime.c: Likewise.
1589 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1590 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1591 * rt/clock_getres.c: Define __clock_getres as an alias.
1592 * sysdeps/posix/clock_getres.c: Likewise.
1593 * rt/clock_settime.c: Define __clock_settime as an alias.
1594 * sysdeps/unix/clock_settime.c: Likewise.
1595 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1596 * sysdeps/unix/clock_nanosleep.c: Likewise.
1597 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1598 * rt/clock-compat.c: New file.
1599 * rt/Makefile (librt-routines): Add clock-compat and move
1600 $(clock-routines) to ...
1601 (routines): ... here, new variable.
1602 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1603 Don't add get_clockfreq here.
1604 * rt/Versions (libc: GLIBC_2.17): New version set.
1605 Add clock_* symbols here.
1606 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1607 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1608 (GLIBC_2.17): Add clock_* symbols.
1609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1611 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1620 * NEWS: Mention the move.
1622 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1623 Use __open, __read, __close rather than their public counterparts.
1624 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1625 (__get_clockfreq_via_cpuinfo): Likewise.
1626 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1627 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1629 * config.h.in (HAVE_IFUNC): New #undef.
1630 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1632 * configure: Regenerated.
1634 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1636 * configure.in: Move READELF check to start of file.
1637 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1638 libc_cv_asm_gnu_indirect_function in the process.
1639 * configure: Regenerated.
1641 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1643 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1644 send the output to /dev/null.
1645 (libc_cv_cc_with_libunwind): Likewise.
1646 (libc_cv_as_noexecstack): Likewise.
1647 * configure: Regenerate.
1649 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1651 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1653 * posix/globtest.sh (TMPDIR): Do not set.
1654 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1655 (testout): Likewise.
1657 2012-10-24 Andreas Jaeger <aj@suse.de>
1659 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1660 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1661 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1662 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1663 posix_fadvise64, posix_fallocate64.
1665 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1666 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1667 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1669 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1671 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1673 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1674 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1675 <bits/fcntl-linux.h>.
1676 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1679 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1680 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1681 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1682 [__WORDSIZE != 64]: Likewise.
1684 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1686 * Makeconfig (run-built-tests): New variable.
1687 * Rules [$(cross-compiling) = yes]: Change condition to
1688 [$(run-built-tests) = no].
1689 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1690 to [$(run-built-tests) = yes].
1691 * elf/Makefile [$(cross-compiling) = no]: Likewise
1692 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1693 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1694 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1695 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1696 * io/Makefile [$(cross-compiling) = no]: Likewise.
1697 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1698 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1699 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1700 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1701 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1702 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1703 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1704 * string/Makefile [$(cross-compiling) = no]: Likewise.
1706 * posix/Makefile ($(objpfx)globtest.out): Pass
1707 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1708 $(rtld-installed-name).
1709 * posix/globtest.sh (elf_objpfx): Remove variable.
1710 (rtld_installed_name): Likewise.
1711 (library_path): Likewise.
1712 (run_program_prefix): New variable. Use for running globtest
1715 2012-10-23 Jim Blandy <jimb@codesourcery.com>
1716 Joseph Myers <joseph@codesourcery.com>
1718 * Makeconfig (host-built-program-cmd): New variable.
1719 * elf/Makefile (tst-stackguard1-ARGS): Use
1720 $(host-built-program-cmd).
1721 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1722 (tst-spawn-ARGS): Likewise.
1723 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1725 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1726 Jim Blandy <jimb@codesourcery.com>
1728 * Makeconfig (run-via-rtld-prefix): New variable.
1729 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1730 (built-program-cmd): Likewise.
1732 2012-10-22 Andreas Jaeger <aj@suse.de>
1734 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1735 __O_RSYNC if it exists, otherwise to O_SYNC.
1737 2012-10-22 Jim Blandy <jimb@codesourcery.com>
1738 Joseph Myers <joseph@codesourcery.com>
1740 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1742 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1744 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1747 2012-10-22 Andreas Jaeger <aj@suse.de>
1749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1751 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1756 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1757 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1761 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1764 2012-10-21 Jim Blandy <jimb@codesourcery.com>
1765 Joseph Myers <joseph@codesourcery.com>
1767 * config.make.in (NM): New variable.
1769 2012-10-21 Andreas Jaeger <aj@suse.de>
1771 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1772 definitions and declarations that are provided by
1773 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1775 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1778 * elf/Makefile (tests-static): Add tst-leaks1-static.
1779 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1780 ($(objpfx)tst-leaks1-static): New rule.
1781 ($(objpfx)tst-leaks1-static-mem): Likewise.
1782 (tst-leaks1-static-ENV): New macro.
1783 * elf/dl-open.c (dl_open_worker): Check the main application
1784 only if SHARED is defined.
1785 * elf/tst-leaks1-static.c: New file.
1787 2012-10-20 Andreas Jaeger <aj@suse.de>
1789 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1790 generic values for Linux.
1791 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1792 and declarations that are provided by <bits/fcntl-linux.h> and
1793 include <bits/fcntl-linux.h>.
1794 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1795 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1797 2012-10-20 Roland McGrath <roland@hack.frob.com>
1799 * io/fcntl.h: Move include of <bits/types.h> to the top and
1800 include it unconditionally.
1802 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1804 * wcsmbs/Makefile (tests-ifunc): New variable.
1805 (tests): Add $(tests-ifunc).
1806 * wcsmbs/test-wcschr-ifunc.c: New file.
1807 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1808 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1809 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1810 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1811 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1813 * string/Makefile (tests-ifunc): New variable.
1814 (tests): Add $(tests-ifunc).
1815 * string/test-memccpy.c (TEST_NAME): New macro.
1816 * string/test-memchr.c (TEST_NAME): Likewise.
1817 * string/test-memcmp.c (TEST_NAME): Likewise.
1818 * string/test-memcpy.c (TEST_NAME): Likewise.
1819 * string/test-memmem.c (TEST_NAME): Likewise.
1820 * string/test-memmove.c (TEST_NAME): Likewise.
1821 * string/test-memset.c (TEST_NAME): Likewise.
1822 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1823 * string/test-stpcpy.c (TEST_NAME): Likewise.
1824 * string/test-stpncpy.c (TEST_NAME): Likewise.
1825 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1826 * string/test-strcasestr.c (TEST_NAME): Likewise.
1827 * string/test-strcat.c (TEST_NAME): Likewise.
1828 * string/test-strchr.c (TEST_NAME): Likewise.
1829 * string/test-strcmp.c(TEST_NAME): Likewise.
1830 * string/test-strcpy.c (TEST_NAME): Likewise.
1831 * string/test-strcspn.c (TEST_NAME): Likewise.
1832 * string/test-strlen.c (TEST_NAME): Likewise.
1833 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1834 * string/test-strncmp.c (TEST_NAME): Likewise.
1835 * string/test-strncpy.c (TEST_NAME): Likewise.
1836 * string/test-strnlen.c (TEST_NAME): Likewise.
1837 * string/test-strpbrk.c (TEST_NAME): Likewise.
1838 * string/test-strrchr.c (TEST_NAME): Likewise.
1839 * string/test-strspn.c (TEST_NAME): Likewise.
1840 * string/test-strstr.c (TEST_NAME): Likewise.
1841 * string/test-bcopy-ifunc.c: New file.
1842 * string/test-bzero-ifunc.c: Likewise.
1843 * string/test-memccpy-ifunc.c: Likewise.
1844 * string/test-memchr-ifunc.c: Likewise.
1845 * string/test-memcmp-ifunc.c: Likewise.
1846 * string/test-memcpy-ifunc.c: Likewise.
1847 * string/test-memmem-ifunc.c: Likewise.
1848 * string/test-memmove-ifunc.c: Likewise.
1849 * string/test-mempcpy-ifunc.c: Likewise.
1850 * string/test-memset-ifunc.c: Likewise.
1851 * string/test-rawmemchr-ifunc.c: Likewise.
1852 * string/test-stpcpy-ifunc.c: Likewise.
1853 * string/test-stpncpy-ifunc.c: Likewise.
1854 * string/test-strcasecmp-ifunc.c: Likewise.
1855 * string/test-strcasestr-ifunc.c: Likewise.
1856 * string/test-strcat-ifunc.c: Likewise.
1857 * string/test-strchr-ifunc.c: Likewise.
1858 * string/test-strchrnul-ifunc.c: Likewise.
1859 * string/test-strcmp-ifunc.c: Likewise.
1860 * string/test-strcpy-ifunc.c: Likewise.
1861 * string/test-strcspn-ifunc.c: Likewise.
1862 * string/test-strlen-ifunc.c: Likewise.
1863 * string/test-strncasecmp-ifunc.c: Likewise.
1864 * string/test-strncat-ifunc.c: Likewise.
1865 * string/test-strncmp-ifunc.c: Likewise.
1866 * string/test-strncpy-ifunc.c: Likewise.
1867 * string/test-strnlen-ifunc.c: Likewise.
1868 * string/test-strpbrk-ifunc.c: Likewise.
1869 * string/test-strrchr-ifunc.c: Likewise.
1870 * string/test-strspn-ifunc.c: Likewise.
1871 * string/test-strstr-ifunc.c: Likewise.
1873 * debug/Makefile (tests-ifunc): New variable.
1874 (tests): Add $(tests-ifunc).
1875 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1876 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1877 * debug/test-stpcpy_chk-ifunc.c: New file.
1878 * debug/test-strcpy_chk-ifunc.c: Likewise.
1880 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1883 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1884 header is not read in.
1886 2012-10-19 Joseph Myers <joseph@codesourcery.com>
1888 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1889 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1890 directly. Pass built executable to script as
1891 $(built-program-cmd).
1892 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1893 $testprogram without using LD_LIBRARY_PATH and $ldso.
1895 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1896 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1897 $(rtld-installed-name).
1898 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1899 (rtld_installed_name): Likewise.
1900 (library_path): Likewise.
1901 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1902 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1903 $(run-program-prefix) to tst-tables.sh.
1904 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1905 it to run tst-table-from and tst-table-to.
1906 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1907 Pass it to tst-table.sh.
1908 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1909 $(run-program-prefix) to tst-gettext.sh.
1910 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1912 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1914 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1916 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1917 to run tst-gettext2.
1918 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1919 to run tst-translit.
1920 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1921 $(run-program-prefix) to tst-mtrace.sh.
1922 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1924 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1925 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1926 $(rtld-installed-name).
1927 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1928 (rtld_installed_name): Likewise.
1929 (run_program_prefix): New variable. Use it to run wordexp-test.
1931 * Makeconfig (ARCH): Remove all definitions.
1932 (machine): Likewise.
1933 [ARCH]: Remove conditional code.
1934 [!objdir]: Give error.
1935 [!objdir] (objpfx): Remove.
1936 [!objdir] (common-objpfx): Likewise.
1937 [!objdir] (common-objdir): Likewise.
1938 * configure.in (config_makefile): Remove. Hardcode Makefile in
1939 AC_CONFIG_FILES call.
1940 * configure: Regenerated.
1943 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1945 (testout): Likewise.
1947 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1948 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1949 $(rtld-installed-name).
1950 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1951 (rtld_installed_name): Likwise.
1952 (runit): Remove function.
1953 (run_getconf): New variable, Use it for running getconf binary.
1955 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1958 * string/test-memmem.c (check_result): New function.
1959 (do_one_test): Use it.
1960 (check1): New function.
1961 (test_main): Use it.
1963 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1965 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1967 2012-10-18 Joseph Myers <joseph@codesourcery.com>
1969 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1970 (_G_LSEEK64): Likewise.
1971 (_G_MMAP64): Likewise.
1972 (_G_FSTAT64): Likewise.
1973 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1974 (_G_LSEEK64): Likewise.
1975 (_G_MMAP64): Likewise.
1976 (_G_FSTAT64): Likewise.
1977 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1978 unconditional. Call __mmap64 directly.
1979 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1980 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1982 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1983 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1985 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1986 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1988 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1989 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1991 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1992 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
1994 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1995 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
1996 __fxstat64 directly.
1997 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1998 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2000 (freopen64) [!_G_OPEN64]: Remove conditional code.
2001 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2003 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2004 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2006 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2007 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2009 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2010 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2012 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2013 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2015 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2016 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2018 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2019 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2021 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2023 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2026 * manual/memory.texi (Malloc Tunable Parameters): Add note
2027 about free list pointers overwriting some perturb bytes.
2028 Wording suggested by Roland McGrath.
2030 2012-10-17 Joseph Myers <joseph@codesourcery.com>
2032 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2033 (lgamma_test): Likewise.
2034 (tgamma_test): Likewise.
2036 2012-10-16 Florian Weimer <fweimer@redhat.com>
2039 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2040 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2042 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2044 * NEWS: Mention BZ #14716.
2045 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2046 when removing AVAILABLE1_USES_J macro.
2048 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2050 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2051 (__bswap_64): __uint64_t for unsigned 64-bit int.
2053 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2055 * include/string.h (memmem): Declare libc hidden alias.
2056 * string/memmem.c (memmem): Define libc hidden alias.
2057 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2058 __read, __close instead of open, read, close.
2060 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2062 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2063 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2065 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2066 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2067 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2069 (__rawmemchr_sse2): Likewise.
2070 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2071 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2072 (__strchr_sse2): Likewise.
2073 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2074 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2075 (__strcasecmp_sse2): Likewise.
2076 (__strncasecmp_sse2): Likewise.
2077 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2078 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2079 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2080 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2081 (__strrchr_sse2): Likewise.
2082 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2084 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2085 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2086 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2087 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2088 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2089 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2090 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2091 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2092 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2093 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2094 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2095 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2096 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2097 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2098 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2099 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2100 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2101 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2102 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2103 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2104 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2105 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2106 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2107 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2108 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2109 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2110 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2111 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2112 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2113 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2115 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2117 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2118 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2119 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2120 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2122 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2124 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2125 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2126 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2127 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2129 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2130 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2131 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2132 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2133 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2134 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2135 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2136 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2137 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2138 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2139 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2140 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2141 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2142 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2143 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2144 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2145 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2146 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2147 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2148 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2149 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2150 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2151 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2152 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2153 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2154 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2155 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2156 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2157 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2158 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2159 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2160 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2161 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2162 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2163 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2164 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2165 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2166 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2167 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2168 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2169 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2171 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2172 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2173 * include/ifunc-impl-list.h: New file.
2174 * misc/ifunc-impl-list.c: Likewise.
2175 * misc/Makefile (routines): Add ifunc-impl-list.
2176 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2177 * string/test-string.h: Include <ifunc-impl-list.h>.
2178 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2179 impl_array): New variables.
2180 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2182 (test_init): Call __libc_ifunc_impl_list to initialize
2183 func_list if TEST_IFUNC and TEST_NAME are defined.
2185 * string/Makefile (strop-tests): Add bcopy and bzero.
2186 * string/test-bcopy.c: New file.
2187 * string/test-bzero.c: Likewise.
2188 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2190 * string/test-memset.c: Support bzero test if TEST_BZERO is
2192 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2194 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2196 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2199 2012-10-10 Joseph Myers <joseph@codesourcery.com>
2201 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2202 * configure: Regenerated.
2204 * Makeconfig (+link-static-before-libc): Don't include
2205 $(link-static-libc).
2207 * libio/libio.h (_IO_pos_t): Remove.
2209 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2211 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2214 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2216 * crypt/crypt-entry.c: Include fips-private.h.
2217 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2218 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2219 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2220 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2222 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2224 * crypt/crypt-private.h: Include stdbool.h.
2225 (_ufc_setup_salt_r): Return bool.
2226 * crypt/crypt-entry.c: Include errno.h.
2227 (__crypt_r): Return NULL with EINVAL for bad salt.
2228 * crypt/crypt_util.c (bad_for_salt): New.
2229 (_ufc_setup_salt_r): Check that salt is long enough and within
2230 the specified alphabet.
2231 * crypt/badsalttest.c: New file.
2232 * crypt/Makefile (tests): Add it.
2233 ($(objpfx)badsalttest): New.
2235 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2237 * NEWS: Add entry for BZ #14602.
2239 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2241 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2243 * math/libm-test.inc: Update comment listing what functions and
2245 (isgreater_test): New function.
2246 (isgreaterequal_test): Likewise.
2247 (isless_test): Likewise.
2248 (islessequal_test): Likewise.
2249 (islessgreater_test): Likewise.
2250 (isunordered_test): Likewise.
2251 (main): Call the new functions.
2253 2012-10-09 Roland McGrath <roland@hack.frob.com>
2255 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2256 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2257 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2258 * sysdeps/i386/configure: Regenerated.
2259 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2260 * sysdeps/mach/configure: Regenerated.
2261 * sysdeps/mach/hurd/configure: Regenerated.
2262 * sysdeps/powerpc/configure: Regenerated.
2263 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2264 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2265 * sysdeps/s390/s390-32/configure: Regenerated.
2266 * sysdeps/s390/s390-64/configure: Regenerated.
2267 * sysdeps/sh/configure: Regenerated.
2268 * sysdeps/sparc/configure: Regenerated.
2269 * sysdeps/unix/sysv/linux/configure: Regenerated.
2270 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2271 * sysdeps/x86_64/configure: Regenerated.
2273 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2274 defined. Don't check if MAP is NULL.
2276 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2278 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2279 (_G_stat64): Likewise.
2280 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2281 (_G_stat64): Likewise.
2282 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2283 instead of struct _G_stat64.
2284 * libio/fileops.c (mmap_remap_check): Likewise.
2285 (decide_maybe_mmap): Likewise.
2286 (_IO_new_file_seekoff): Likewise.
2287 (_IO_file_stat): Likewise.
2288 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2290 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2291 instead of struct _G_stat64.
2292 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2294 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2297 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2299 (CHECK_EOL): New macro.
2300 (two_way_short_needle): Check beginning of haystack for EOL. Use
2302 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2303 Replace with CHECK_EOL.
2304 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2305 Replace with CHECK_EOL.
2307 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2309 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2311 * math/libm-test.inc: Update comment listing what functions and
2313 (finite_test): New function.
2314 (isinf_test): Likewise.
2315 (isnan_test): Likewise.
2316 (fpclassify_test): Test subnormal input.
2317 (isfinite_test): Likewise.
2318 (isnormal_test): Likewise.
2319 (main): Call the new functions.
2321 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2324 * Makerules (%.dynsym): Force C locale when running
2325 $(OBJDUMP) --dynamic-syms.
2327 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2329 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2332 2012-10-06 David S. Miller <davem@davemloft.net>
2334 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2335 upper 32-bits of the length value in %o2 since we use branch-on-register
2336 tests which consider the entire 64-bit register.
2338 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2340 * string/test-strstr.c (check2): Add a test for page boundary.
2342 2012-10-05 David S. Miller <davem@davemloft.net>
2344 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2345 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2347 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2349 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2350 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2351 and bzero when HWCAP_SPARC_CRYPTO is present.
2353 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2356 * string/test-strstr.c (check2): New function.
2357 (test_main): Call check2.
2359 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2361 * string/bug-strcasestr1.c (do_test): Moved to ...
2362 * string/test-strcasestr.c (check1): Here. New function.
2363 (do_one_test): Break out result checking code into ...
2364 (check_result): This. New function.
2365 (do_one_test): Call check_result.
2366 (test_main): Call check1.
2367 * string/bug-strchr1.c (do_test): Moved to ...
2368 * string/test-strchr.c (check1): Here. New function.
2369 (do_one_test): Break out result checking code into ...
2370 (check_result): This. New function.
2371 (do_one_test): Call check_result.
2372 (test_main): Call check1.
2373 * string/bug-strstr1.c (main): Moved to ...
2374 * string/test-strchr.c (check1): Here. New function.
2375 (do_one_test): Break out result checking code into ...
2376 (check_result): This. New function.
2377 (do_one_test): Call check_result.
2378 (test_main): Call check1.
2379 * string/bug-strcasestr1.c: Removed.
2380 * string/bug-strchr1.c: Likewise.
2381 * string/bug-strstr1.c: Likewise.
2383 * elf/Makefile (dl-routines): Add hwcaps.
2384 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2385 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2386 (_dl_important_hwcaps): Moved to ...
2387 * elf/dl-hwcaps.c: Here. New file.
2388 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2391 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2392 if IS_IN_rtld isn't defined.
2394 * elf/dl-support.c (_dl_sysinfo_map): New.
2395 Include "get-dynamic-info.h" and "setup-vdso.h".
2396 (_dl_non_dynamic_init): Call setup_vdso.
2397 * elf/dynamic-link.h: Don't include <assert.h>.
2398 (elf_get_dynamic_info): Moved to ...
2399 * elf/get-dynamic-info.h: Here. New file.
2400 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2401 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2402 * elf/setup-vdso.h: Here. New file.
2403 * elf/rtld.c: Include "setup-vdso.h".
2404 (dl_main): Call setup_vdso.
2406 2012-10-05 Joseph Myers <joseph@codesourcery.com>
2408 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2409 creal in comment listing functions tested. List finite, isinf,
2410 isnan, isless, islessequal, isgreater, isgreaterequal,
2411 islessgreater, isunordered, lgamma_r and pow10 as functions and
2412 macros not tested. Mention which functions not tested are aliases
2413 for other functions. Fix typo. Note that signs of NaNs are not
2416 * scripts/config.guess: Update from config.git.
2417 * scripts/config.sub: Likewise.
2419 2012-10-04 Roland McGrath <roland@hack.frob.com>
2421 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2422 * misc/madvise.c (madvise): Renamed to __madvise.
2423 Make madvise a weak alias.
2424 * include/sys/mman.h: Declare __madvise.
2425 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2426 * sysdeps/unix/syscalls.list
2427 (madvise): Make __madvise the strong name, and madvise a weak alias.
2428 * sysdeps/unix/sysv/linux/syscalls.list
2429 (madvise, mmap): Remove redundant entries.
2430 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2431 * malloc/malloc.c (mtrim): Likewise.
2432 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2434 2012-10-03 Roland McGrath <roland@hack.frob.com>
2436 * sysdeps/mach/hurd/dl-cache.c: File removed.
2437 * config.h.in (USE_LDCONFIG): New #undef.
2438 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2439 * configure: Regenerated.
2440 * elf/Makefile (dl-routines): Add dl-cache only under
2441 [$(use-ldconfig) = yes].
2442 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2443 cache on [USE_LDCONFIG].
2444 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2446 * elf/rtld.c (dl_main): Likewise.
2448 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2450 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2451 _SC_LEVEL4_CACHE_LINESIZE.
2453 2012-10-03 Roland McGrath <roland@hack.frob.com>
2455 * sysdeps/unix/bsd/confstr.h: File removed.
2457 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
2459 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2462 2012-10-02 Roland McGrath <roland@hack.frob.com>
2464 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2465 Make 'mapoff' field ElfW(Off) rather than off_t.
2467 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2469 * nscd/Makefile: Remove nscd-cflags and all its users.
2470 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2471 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2474 * malloc.c (malloc_printerr): Clarify error message.
2476 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2480 Set bit_FMA_Usable if FMA is supported.
2481 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2483 (bit_FMA4_Usable): Updated.
2484 (index_FMA_Usable): New macro.
2485 (CPUID_FMA): Likewise
2486 (HAS_FMA): Defined with bit_FMA_Usable.
2488 2012-10-01 Roland McGrath <roland@hack.frob.com>
2490 * bits/types.h (__swblk_t): Type removed.
2491 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2492 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2493 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2494 (__SWBLK_T_TYPE): Likewise.
2495 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2496 (__SWBLK_T_TYPE): Likewise.
2497 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2498 (__SWBLK_T_TYPE): Likewise.
2499 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2500 (__SWBLK_T_TYPE): Likewise.
2502 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
2503 Honza Horak <hhorak@redhat.com>
2505 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2506 (xdr_mapname): Use YPMAXMAP as maxsize.
2507 (xdr_peername): Use YPMAXPEER as maxsize.
2508 (xdr_keydat): Use YPAXRECORD as maxsize.
2509 (xdr_valdat): Use YPMAXRECORD as maxsize.
2511 2012-10-01 Roland McGrath <roland@hack.frob.com>
2513 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2515 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2516 * csu/init-first.c: ... here.
2517 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2518 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2519 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2520 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2521 * sysdeps/i386/init-first.c: File removed.
2522 * sysdeps/sh/init-first.c: File removed.
2524 2012-10-01 Joseph Myers <joseph@codesourcery.com>
2527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2528 if x * y might underflow to zero and z is zero.
2529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2530 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2531 * math/libm-test.inc (min_subnorm_value): New variable.
2532 (fma_test): Add more tests.
2533 (fma_test_towardzero): Likewise.
2534 (fma_test_downward): Likewise
2535 (fma_test_upward): Likewise.
2536 (initialize): Set min_subnorm_value.
2538 2012-09-29 Joseph Myers <joseph@codesourcery.com>
2541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2543 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2544 mode for addition resulting in exact zero.
2545 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2546 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2548 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2549 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2550 * math/libm-test.inc (fma_test): Add more tests.
2551 (fma_test_towardzero): New function.
2552 (fma_test_downward): Likewise.
2553 (fma_test_upward): Likewise.
2554 (main): Call the new functions.
2556 2012-09-28 David S. Miller <davem@davemloft.net>
2558 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2560 2012-09-28 Roland McGrath <roland@hack.frob.com>
2562 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2565 * sysdeps/gnu/_G_config.h: Moved to ...
2566 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2567 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2568 * sysdeps/generic/_G_config.h: ... here.
2570 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2572 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2574 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2575 Conditionalize target on [libnss_test1.so-version].
2577 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2579 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2580 (elfobjdir): Move out of conditionals.
2582 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2583 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2584 (__nss_lookup_function): Conditionalize label remove_from_tree on
2585 [!DO_STATIC_NSS || SHARED], matching its only use.
2587 2012-09-28 David S. Miller <davem@davemloft.net>
2589 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2590 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2592 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2594 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2596 when HWCAP_SPARC_CRYPTO is present.
2598 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2600 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2602 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2605 * stdio-common/vfprintf.c (process_string_arg): Revert
2608 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2610 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2612 * stdio-common/tst-sprintf.c: Include <locale.h>
2613 (main): Test sprintf's handling of incomplete multibyte
2616 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2618 * elf/dl-runtime.c (VERSYMIDX): Removed.
2619 * elf/dl-version.c (VERSYMIDX): Likewise.
2620 * elf/do-rel.h (VERSYMIDX): Likewise.
2622 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2623 * elf/rtld.c (VALIDX): Likewise.
2624 (ADDRIDX): Likewise.
2625 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2626 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2627 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2628 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2630 (ADDRIDX): Likewise.
2632 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2634 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2636 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2639 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2641 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2642 addresses are in the same scope as 192.0.2/24.
2643 * posix/gai.conf: Document new scope table defaults.
2645 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2648 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2649 for ftell. Compute offsets from write pointers instead.
2650 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2652 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2655 * libio/Makefile (tests): New test case tst-fseek.
2656 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2657 combination works in wide mode.
2658 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2659 state when the external buffer state changes.
2661 2012-09-27 David S. Miller <davem@davemloft.net>
2664 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2665 pass reloc->r_addend in as the 'high' argument to
2666 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2670 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2672 * rt/tst-aio2.c: Include <pthread.h>.
2673 * rt/tst-aio3.c: Likewise.
2675 2012-09-27 Steve Ellcey <sellcey@mips.com>
2677 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2679 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2681 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2682 contents on [SHARED].
2684 2012-09-26 Marek Polacek <polacek@redhat.com>
2688 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2689 for C++ and GCC <4.3 as well as for non GCC compilers.
2691 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2695 2012-09-25 Roland McGrath <roland@hack.frob.com>
2697 * Makefile.in (all, install): Declare with .PHONY.
2698 Reported by Michael Hope <michael.hope@linaro.org>.
2700 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2702 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2703 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2705 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2707 (sydep_routines): Add the new and the internal functions.
2708 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2709 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2711 (GLIBC_2.17): Add the new function.
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2713 (GLIBC_2.17): Likewise.
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2715 (GLIBC_2.17): Likewise.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2717 (GLIBC_2.17): Likewise.
2718 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2720 2012-09-25 Alan Modra <amodra@gmail.com>
2722 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2723 Add release barrier before setting once_control to say
2724 initialisation is done. Add hints on lwarx. Use macro in
2726 (clear_once_control): Add release barrier.
2728 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2731 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2733 * math/s_clog10.c (__clog10): Likewise.
2734 * math/s_clog10f.c (__clog10f): Likewise.
2735 * math/s_clog10l.c (__clog10l): Likewise.
2736 * math/s_clogf.c (__clogf): Likewise.
2737 * math/s_clogl.c (__clogl): Likewise.
2738 * math/Makefile (libm-calls): Add x2y2m1.
2739 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2740 (__x2y2m1): Likewise.
2741 (__x2y2m1l): Likewise.
2742 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2743 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2744 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2745 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2746 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2747 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2748 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2749 * sysdeps/i386/fpu/libm-test-ulps: Update.
2750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2753 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2754 int as type of variable DEPTH.
2755 (glob): Use size_t instead of int as type of variables NEWCOUNT
2758 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2760 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2762 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2763 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2764 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2765 macros for using routine as __sincosf_ia32.
2766 Use macro for function declaration and weak_alias.
2767 * sysdeps/i386/fpu/libm-test-ulps: Update.
2769 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2772 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2774 * math/s_cexpf.c (__cexpf): Likewise.
2775 * math/s_csinf.c (__csinf): Likewise.
2776 * math/s_csinhf.c (__csinhf): Likewise.
2777 * math/s_ctanf.c (__ctanf): Likewise.
2778 * math/s_ctanhf.c (__ctanhf): Likewise.
2779 * math/s_ccosh.c (__ccoshf): Likewise.
2780 * math/s_cexp.c (__cexpl): Likewise.
2781 * math/s_csin.c (__csin): Likewise.
2782 * math/s_csinh.c (__csinh): Likewise.
2783 * math/s_ctan.c (__ctan): Likewise.
2784 * math/s_ctanh.c (ctanh): Likewise.
2785 * math/s_ccoshl.c (__ccoshl): Likewise.
2786 * math/s_cexpl.c (__cexpl): Likewise.
2787 * math/s_csinl.c (__csinl): Likewise.
2788 * math/s_csinhl.c (__csinhl): Likewise.
2789 * math/s_ctanl.c (__ctanl): Likewise.
2790 * math/s_ctanhl.c (__ctanhl): Likewise.
2792 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2794 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2795 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2796 (_IO_off_t): Define to __off_t, not _G_off_t.
2797 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2798 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2799 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2800 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2801 type of __dummy and __dummy2 fields.
2802 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2803 (_G_ssize_t): Likewise.
2804 (_G_off_t): Likewise.
2805 (_G_pid_t): Likewise.
2806 (_G_uid_t): Likewise.
2807 (_G_wchar_t): Likewise.
2808 (_G_wint_t): Likewise.
2809 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2810 (_G_ssize_t): Likewise.
2811 (_G_off_t): Likewise.
2812 (_G_pid_t): Likewise.
2813 (_G_uid_t): Likewise.
2814 (_G_wchar_t): Likewise.
2815 (_G_wint_t): Likewise.
2816 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2817 (_G_ssize_t): Likewise.
2818 (_G_off_t): Likewise.
2819 (_G_pid_t): Likewise.
2820 (_G_uid_t): Likewise.
2821 (_G_wchar_t): Likewise.
2822 (_G_wint_t): Likewise.
2824 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2826 * malloc/arena.c: Include malloc-sysdep.h.
2827 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2828 is sufficient to shrink the heap or an unmap is needed.
2829 * sysdeps/generic/malloc-sysdep.h: New file. Define
2830 new function check_may_shrink_heap.
2831 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2832 new function check_may_shrink_heap.
2834 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2836 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2839 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2841 * catgets/test-gencat.sh: Add "set -e".
2842 * elf/tst-pathopt.sh: Likewise.
2843 * grp/tst_fgetgrent.sh: Likewise.
2844 * iconvdata/run-iconv-test.sh: Likewise.
2845 * intl/tst-gettext.sh: Likewise.
2846 * intl/tst-gettext2.sh: Likewise.
2847 * intl/tst-gettext4.sh: Likewise.
2848 * intl/tst-gettext6.sh: Likewise.
2849 * intl/tst-translit.sh: Likewise.
2850 * io/ftwtest-sh: Likewise.
2851 * libio/test-freopen.sh: Likewise.
2852 * malloc/tst-mtrace.sh: Likewise.
2853 * posix/globtest.sh: Likewise.
2854 * posix/tst-getconf.sh: Likewise.
2855 * posix/wordexp-tst.sh: Likewise.
2856 * stdio-common/tst-printf.sh: Likewise.
2857 * stdio-common/tst-unbputc.sh: Likewise.
2858 * stdlib/tst-fmtmsg.sh: Likewise.
2859 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2860 * catgets/Makefile: Do not specify -e option when running
2861 testsuite shell scripts.
2862 * elf/Makefile: Likewise.
2863 * grp/Makefile: Likewise.
2864 * iconvdata/Makefile: Likewise.
2865 * intl/Makefile: Likewise.
2866 * io/Makefile: Likewise.
2867 * libio/Makefile: Likewise.
2868 * malloc/Makefile: Likewise.
2869 * posix/Makefile: Likewise.
2870 * stdio-common/Makefile: Likewise.
2871 * stdlib/Makefile: Likewise.
2872 * sysdeps/x86_64/Makefile: Likewise.
2874 * io/ftwtest-sh: Add copyright header.
2875 * posix/globtest.sh: Likewise.
2876 * posix/tst-getconf.sh: Likewise.
2877 * posix/wordexp-tst.sh: Likewise.
2878 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2880 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2883 * Makeconfig (+link): Defined as $(+link-static) if
2884 $(build-shared) isn't yes.
2885 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2887 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2889 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2892 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2893 new chunk size with MALLOC_ALIGN_MASK.
2895 2012-09-24 Joseph Myers <joseph@codesourcery.com>
2898 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2900 (__printf_fphex): Determine rounding using get_rounding_mode and
2902 * stdio-common/tst-printf-round.c (struct hex_test): New
2904 (hex_tests): New variable.
2905 (test_hex_in_one_mode): New function.
2906 (do_test): Also run tests for hex float output.
2908 2012-09-21 Joseph Myers <joseph@codesourcery.com>
2910 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2911 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2912 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2913 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2914 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2915 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2916 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2917 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2919 2012-09-20 Joseph Myers <joseph@codesourcery.com>
2921 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2922 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2923 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2924 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2926 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2929 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2931 * elf/tst-rtld-load-self.sh: New test.
2932 * elf/Makefile: Run it.
2934 2012-09-18 Joseph Myers <joseph@codesourcery.com>
2936 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2937 (tst-writev-ENV): Remove.
2938 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2940 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2942 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2944 2012-09-17 Joseph Myers <joseph@codesourcery.com>
2946 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2948 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2950 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2951 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2952 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2955 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2958 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2959 * config.make.in (have-cpp-asm-debuginfo): Removed.
2960 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2961 * configure: Regenerated.
2963 2012-09-14 Joseph Myers <joseph@codesourcery.com>
2966 * stdio-common/printf_fp.c: Include <stdbool.h> and
2968 (___printf_fp): Determine rounding using get_rounding_mode and
2970 * stdio-common/tst-printf-round.c: New file.
2971 * stdio-common/Makefile (tests): Add tst-printf-round.
2972 (link-libm): New variable.
2973 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2975 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2978 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2979 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2981 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2984 2012-09-13 Joseph Myers <joseph@codesourcery.com>
2986 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2987 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2988 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2989 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2991 2012-09-12 Joseph Myers <joseph@codesourcery.com>
2994 * include/rounding-mode.h: New file.
2995 * sysdeps/generic/get-rounding-mode.h: Likewise.
2996 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2997 * stdlib/strtod_l.c: Include <rounding-mode.h>.
2998 (MAX_VALUE): New macro.
2999 (MIN_VALUE): Likewise.
3000 (overflow_value): New function.
3001 (underflow_value): Likewise.
3002 (round_and_return): Use overflow_value and underflow_value to
3003 determine return values in overflow and underflow cases. Use
3004 round_away to determine rounding depending on rounding mode.
3005 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3006 determine return values in overflow and underflow cases.
3007 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3008 (struct test_results): New structure.
3009 (struct test): Use struct test_results to store expected results
3010 for all rounding modes.
3011 (TEST): Include expected results for all rounding modes.
3012 (test_in_one_mode): New function.
3013 (do_test): Use test_in_one_mode to compute and check results.
3014 Check results for all rounding modes.
3015 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3018 2012-12-09 Allan McRae <allan@archlinux.org>
3020 * sysdeps/i386/fpu/libm-test-ulps: Update
3022 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3024 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3025 (_G_int32_t): Likewise.
3026 (_G_uint16_t): Likewise.
3027 (_G_uint32_t): Likewise.
3028 (_G_HAVE_BOOL): Likewise.
3029 (_G_HAVE_ATEXIT): Likewise.
3030 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3031 (_G_HAVE_IO_FILE_OPEN): Likewise.
3032 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3033 (_G_int32_t): Likewise.
3034 (_G_uint16_t): Likewise.
3035 (_G_uint32_t): Likewise.
3036 (_G_HAVE_BOOL): Likewise.
3037 (_G_HAVE_ATEXIT): Likewise.
3038 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3039 (_G_HAVE_IO_FILE_OPEN): Likewise.
3040 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3041 (_G_int32_t): Likewise.
3042 (_G_uint16_t): Likewise.
3043 (_G_uint32_t): Likewise.
3044 (_G_HAVE_BOOL): Likewise.
3045 (_G_HAVE_ATEXIT): Likewise.
3046 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3047 (_G_HAVE_IO_FILE_OPEN): Likewise.
3049 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3051 * csu/libc-tls.c: Update copyright years.
3053 2012-09-10 Joseph Myers <joseph@codesourcery.com>
3055 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3056 [!_G_USING_THUNKS]: Remove conditional code.
3057 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3058 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3060 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3061 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3062 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3063 (_G_VTABLE_LABEL_PREFIX): Likewise.
3064 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3065 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3066 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3067 (_G_VTABLE_LABEL_PREFIX): Likewise.
3068 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3069 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3070 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3071 (_G_VTABLE_LABEL_PREFIX): Likewise.
3072 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3074 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3076 * libio/Makefile: Include ../Makeconfig before tests.
3077 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3078 only if $(build-shared) is yes.
3080 * iconv/gconv_db.c: Update copyright years.
3082 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3084 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3085 unwind info if defined PIC. Fix special cases description.
3086 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3088 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3090 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3092 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3094 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3096 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3099 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3100 (LDLIBS-tst-chk4): This.
3101 (LDFLAGS-tst-chk5): Renamed to ...
3102 (LDLIBS-tst-chk5): This.
3103 (LDFLAGS-tst-chk6): Renamed to ...
3104 (LDLIBS-tst-chk6): This.
3105 (LDFLAGS-tst-lfschk4): Renamed to ...
3106 (LDLIBS-tst-lfschk4): This.
3107 (LDFLAGS-tst-lfschk5): Renamed to ...
3108 (LDLIBS-tst-lfschk5): This.
3109 (LDFLAGS-tst-lfschk6): Renamed to ...
3110 (LDLIBS-tst-lfschk6): This.
3112 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3113 on $(common-objpfx)soversions.mk.
3115 2012-09-07 Joseph Myers <joseph@codesourcery.com>
3118 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3121 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3123 * malloc/arena.c (arena_get_retry): New function that gets
3124 another arena for the caller to try its request on.
3125 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3126 current arena cannot fulfill the request.
3127 (__libc_memalign): Likewise.
3128 (__libc_memalign): Likewise.
3129 (__libc_pvalloc): Likewise.
3130 (__libc_calloc): Likewise.
3132 2012-09-05 John Tobey <john.tobey@gmail.com>
3135 * manual/arith.texi (Operations on Complex): Fix description
3138 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3141 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3145 * manual/memory.texi (Memory): Make order of menu items match
3148 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3150 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3151 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3152 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3154 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3156 * csu/libc-tls.c (static_dtv): Renamed to ...
3157 (_dl_static_dtv): This. Make it global.
3158 (_dl_initial_dtv): Removed.
3159 (__libc_setup_tls): Updated.
3160 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3161 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3164 2012-09-06 Petr Machata <pmachata@redhat.com>
3166 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3167 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3168 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3169 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3171 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3174 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3175 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3178 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3181 * Makeconfig (link-static-before-libc): Replace $(+prector)
3183 (link-static-after-libc): Replace $(+postctor) with
3185 (link-bounded): Replace $(+prector)/$(+postctor) with
3186 $(+prectorT)/$(+postctorT).
3187 (+prectorT): New macro.
3188 (+postctorT): Likewise.
3190 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3192 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3193 (round_str): Handle values above the maximum for IBM long double
3195 * stdlib/tst-strtod-round.c (tests): Regenerated.
3197 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3199 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3201 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3202 zarch_nohighgprs around the zarch optimized routines.
3203 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3204 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3205 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3208 2012-09-05 David S. Miller <davem@davemloft.net>
3210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3212 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3213 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3214 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3215 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3218 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3220 * malloc/arena.c: Fold copyright years.
3221 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3223 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3225 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3227 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3229 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3231 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3233 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3234 change internal state upon failure.
3236 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3238 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3239 * malloc/memusage.c (mmap): Likewise.
3240 (mmap64, mremap): Likewise. Adjust name in comment.
3242 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3244 * libio/fileops.c: Fix typos in comments.
3245 * libio/oldfileops.c: Likewise.
3246 * libio/wfileops.c: Likewise.
3248 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3251 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3252 (tst-malloc-usable-ENV): Set environment for test case.
3253 * malloc/hooks.c (malloc_check_get_size): New function to get
3255 * malloc/malloc.c (musable): Use malloc_check_get_size.
3256 * malloc/tst-malloc-usable.c: New test case.
3258 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3260 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3262 2012-09-05 Allan McRae <allan@archlinux.org>
3265 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3266 determine header location.
3267 * configure: Regenerated.
3269 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3271 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3273 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3274 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3278 2012-09-04 David S. Miller <davem@davemloft.net>
3280 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3281 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3282 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3284 2012-09-04 Florian Weimer <fweimer@redhat.com>
3286 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3289 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3291 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3294 * libio/iogetdelim.c: Include <limits.h>.
3295 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3296 + len + 1 would overflow.
3298 2012-09-03 Andreas Jaeger <aj@suse.de>
3300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3301 * sysdeps/i386/fpu/libm-test-ulps: Update.
3303 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3305 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3306 Add s_sinf-sse2, s_conf-sse2.
3308 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3309 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3310 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3311 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3313 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3314 for using routine as __sinf_ia32.
3315 Use macro for function declaration and weak_alias.
3316 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3317 for using routine as __cosf_ia32.
3318 Use macro for function declaration and weak_alias.
3320 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3321 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3323 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3324 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3327 * math/libm-test.inc (cos_test): Add more test cases.
3328 (sin_test): Likewise.
3329 (sincos_test): Likewise.
3331 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3333 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3334 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3336 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3338 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3341 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3342 first element of the GOT.
3343 (elf_machine_load_address): Return the difference between
3344 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3346 2012-09-01 Allan McRae <allan@archlinux.org>
3349 * configure.in (AWK): Require gawk version 3.0 or later.
3350 * configure: Regenerated.
3352 2012-09-01 Joseph Myers <joseph@codesourcery.com>
3354 * sysdeps/unix/sysv/linux/kernel-features.h
3355 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3356 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3357 [__NR_clock_getres]: Make code unconditional.
3358 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3359 (clock_getcpuclockid): Remove code left unreachable by removal of
3361 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3363 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3364 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3365 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3366 Make code unconditional.
3367 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3368 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3369 * sysdeps/unix/sysv/linux/clock_settime.c
3370 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3372 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3373 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3375 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3378 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3379 scripts/test-installation.pl.
3381 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3382 and $ld_so_version if it is set.
3384 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3387 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3388 failure if reading from procfs failed.
3389 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3391 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3393 * sysdeps/unix/sysv/linux/kernel-features.h
3394 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3395 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3396 Remove conditional code.
3397 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3398 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3399 Remove conditional code.
3400 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3401 * sysdeps/unix/sysv/linux/i386/fxstat.c
3402 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3403 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3404 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3405 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3406 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3407 * sysdeps/unix/sysv/linux/i386/lxstat.c
3408 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3409 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3410 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3411 Remove conditional code.
3412 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3413 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3414 Remove conditional code.
3415 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3416 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3417 <kernel-features.h>.
3418 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3420 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3421 Remove conditional code.
3422 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3423 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3426 2012-08-27 Mike Frysinger <vapier@gentoo.org>
3429 * NEWS: Add fixed bug number.
3431 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3434 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3435 underflowing exponent in case of negative sign.
3436 * stdlib/tst-strtod-round-data: Add more tests.
3437 * stdlib/tst-strtod-round.c (tests): Regenerated.
3440 * stdlib/strtod_l.c (NDIG): Remove.
3441 (HEXNDIG): Likewise.
3442 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3443 smallest representable value.
3444 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3445 lie within an exact representation of 1/2 ulp of the result.
3446 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3448 (TENS_P9_IDX): Define unconditionally.
3449 (TENS_P9_SIZE): Likewise.
3450 (TENS_P10_IDX): Likewise.
3451 (TENS_P10_SIZE): Likewise.
3452 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3453 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3454 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3455 entries for 10^2^13 and 10^2^14.
3456 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3457 (TENS_P13_IDX): Define.
3458 (TENS_P13_SIZE): Likewise.
3459 (TENS_P14_IDX): Likewise.
3460 (TENS_P14_SIZE): Likewise.
3461 (_fpioconst_pow10): Change array size to
3462 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3464 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3465 1024]: Add entries for 10^2^13 and 10^2^14.
3466 [LAST_POW10 > _LAST_POW10]: Remove #error.
3467 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3468 (_fpioconst_pow10): Change array size to
3469 FPIOCONST_POW10_ARRAY_SIZE.
3470 * stdlib/gen-fpioconst.c: New file.
3471 * stdlib/gen-tst-strtod-round.c: Likewise.
3472 * stdlib/tst-strtod-round-data: Likewise.
3473 * stdlib/tst-strtod-round.c: Likewise.
3474 * stdlib/Makefile (tests): Add tst-strtod-round.
3477 * stdlib/strtod_l.c: Include <stdint.h>.
3478 (NDEBUG): Do not define.
3479 (round_and_return): Change EXPONENT parameter to type intmax_t.
3480 Rearrange calculations to avoid internal overflow possibilities.
3481 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3482 Rearrange calculations to avoid internal overflow possibilities.
3483 Assert that number fits inside MPNSIZE limbs.
3484 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3485 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3486 calculations and add assertions to avoid internal overflow
3487 possibilities. Add casts to avoid signed/unsigned operations.
3488 * stdlib/tst-strtod-overflow.c: New file.
3489 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3491 2012-08-25 Marek Polacek <polacek@redhat.com>
3493 * time/time.h: Fix some typos in comments.
3495 2012-08-23 Roland McGrath <roland@hack.frob.com>
3497 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3498 * posix/tst-rfc3484-2.c: Likewise.
3499 * posix/tst-rfc3484-3.c: Likewise.
3501 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3503 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3504 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3506 2012-08-23 Joseph Myers <joseph@codesourcery.com>
3508 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3509 #include of fxstatat64.c.
3511 2012-08-22 Roland McGrath <roland@hack.frob.com>
3513 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3514 * shadow/getspent_r.c: Likewise.
3515 * shadow/getspnam.c: Likewise.
3516 * shadow/getspnam_r.c: Likewise.
3517 * gshadow/getsgent.c: Likewise.
3518 * gshadow/getsgent_r.c: Likewise.
3519 * gshadow/getsgnam.c: Likewise.
3520 * gshadow/getsgnam_r.c: Likewise.
3521 * inet/getnetbyad.c: Likewise.
3522 * inet/getnetbyad_r.c: Likewise.
3523 * inet/getnetbynm.c: Likewise.
3524 * inet/getnetbynm_r.c: Likewise.
3525 * inet/getnetent.c: Likewise.
3526 * inet/getnetent_r.c: Likewise.
3527 * inet/getproto.c: Likewise.
3528 * inet/getproto_r.c: Likewise.
3529 * inet/getprtent.c: Likewise.
3530 * inet/getprtent_r.c: Likewise.
3531 * inet/getprtname.c: Likewise.
3532 * inet/getprtname_r.c: Likewise.
3533 * inet/getrpcbyname.c: Likewise.
3534 * inet/getrpcbyname_r.c: Likewise.
3535 * inet/getrpcbynumber.c: Likewise.
3536 * inet/getrpcbynumber_r.c: Likewise.
3537 * inet/getrpcent.c: Likewise.
3538 * inet/getrpcent_r.c: Likewise.
3539 * inet/getaliasent.c: Likewise.
3540 * inet/getaliasent_r.c: Likewise.
3541 * inet/getaliasname.c: Likewise.
3542 * inet/getaliasname_r.c: Likewise.
3543 * nscd/getgrgid_r.c: Likewise.
3544 * nscd/getgrnam_r.c: Likewise.
3545 * nscd/gethstbyad_r.c: Likewise.
3546 * nscd/gethstbynm3_r.c: Likewise.
3547 * nscd/getpwnam_r.c: Likewise.
3548 * nscd/getpwuid_r.c: Likewise.
3549 * nscd/getsrvbynm_r.c: Likewise.
3550 * nscd/getsrvbypt_r.c: Likewise.
3551 * nscd/gai.c: Likewise.
3553 * configure.in (build_nscd): New substituted variable, set
3554 by --disable-build-nscd and defaults to $use_nscd.
3555 * configure: Regenerated.
3556 * config.make.in (build-nscd): New substituted variable.
3557 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3558 Change conditional to require [$(build-nscd) = yes] as well.
3559 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3562 * configure.in (use_nscd): New substituted variable, set by
3563 --disable-nscd. If enabled, define USE_NSCD.
3564 * configure: Regenerated.
3565 * config.h.in: Add USE_NSCD.
3566 * config.make.in (use-nscd): New substituted variable.
3567 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3568 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3569 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3570 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3571 (CFLAGS-getgrnam_r.c): Likewise.
3572 (CFLAGS-initgroups.c): Likewise.
3573 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3574 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3576 * inet/getnetgrent_r.c
3577 (nscd_setnetgrent): New function, broken out of ...
3578 (setnetgrent): ... here. Call it.
3579 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3580 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3581 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3582 * nscd/Makefile (routines, aux): Move definitions after include of
3583 Makeconfig. Conditionalize on [$(use-nscd) != no].
3584 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3585 Conditionalize on [USE_NSCD].
3586 (is_nscd, nscd_init_cb): Likewise.
3587 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3588 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3589 * nss/nss_db/db-init.c: Likewise.
3590 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3592 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3593 (make_request): Use it.
3594 (cache_valid_p): New function.
3595 (__check_pf): Use it.
3596 * NEWS: Add item for --disable-nscd.
3598 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3600 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3601 to support sed >= 4.2.1-20-ga9bf076.
3602 * configure: Regenerated.
3604 2012-08-22 Roland McGrath <roland@hack.frob.com>
3606 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3607 Conditionalize whole body on [IREL].
3609 2012-08-22 Jeff Law <law@redhat.com>
3612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3613 if the family is PF_UNSPEC.
3615 2012-08-22 Mike Frysinger <vapier@gentoo.org>
3617 * Makerules (lib-version): Rename from V.
3618 (install-lib-nosubdir): Change V to lib-version.
3620 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3623 * powerpc32/power6/wcschr.c: New file.
3624 * powerpc32/power6/wcscpy.c: New file.
3625 * powerpc32/power6/wcsrchr.c: New file.
3626 * powerpc64/power6/wcschr.c: New file.
3627 * powerpc64/power6/wcscpy.c: New file.
3628 * powerpc64/power6/wcsrchr.c: New file.
3630 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3632 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3633 (two_way_short_needle): Use it.
3634 * string/strstr.c (AVAILABLE1_USES_J): Define.
3635 * string/strcasestr.c: Likewise.
3637 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3639 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3642 * NEWS: Add an entry.
3643 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3644 define their defaults.
3645 (two_way_short_needle): Detect end-of-string on-the-fly.
3646 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3647 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3648 * string/bug-strcasestr1.c: New test.
3649 * string/Makefile: Run it.
3651 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3654 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3655 the first character.
3657 2012-08-21 Roland McGrath <roland@hack.frob.com>
3659 * csu/elf-init.c (__libc_csu_irel): Function removed.
3660 * csu/libc-start.c (apply_irel): New function.
3661 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3663 2012-08-21 Joseph Myers <joseph@codesourcery.com>
3665 * sysdeps/unix/sysv/linux/kernel-features.h
3666 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3667 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3668 <kernel-features.h>.
3669 [__NR_fadvise64_64]: Make code unconditional.
3670 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3671 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3672 !__NR_fadvise64_64)]: Likewise.
3673 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3674 !__NR_fadvise64_64))]: Likewise.
3675 [__NR_fadvise64]: Make code unconditional.
3676 [!__NR_fadvise64]: Remove conditional code.
3677 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3678 <kernel-features.h>.
3679 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3681 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3684 not include <kernel-features.h>.
3685 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3687 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3689 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3690 include <kernel-features.h>.
3691 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3693 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3696 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3698 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3699 slight instruction rearrangements per scrollpipe analysis.
3700 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3702 2012-08-20 Roland McGrath <roland@hack.frob.com>
3704 * manual/syslog.texi (syslog; vsyslog, closelog):
3705 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3706 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3708 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3709 DSOCAPS to match condition on defining it.
3711 2012-08-20 Joseph Myers <joseph@codesourcery.com>
3713 * sysdeps/unix/sysv/linux/kernel-features.h
3714 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3716 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3717 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3719 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3720 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3722 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3723 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3725 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3726 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3728 * sysdeps/unix/sysv/linux/kernel-features.h
3729 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3730 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3732 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3733 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3734 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3735 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3736 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3737 Make code unconditional.
3738 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3739 (__mmap64) [!__NR_mmap2]: Likewise.
3740 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3741 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3742 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3743 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3744 [__NR_mmap2]: Make code unconditional.
3745 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3746 (__mmap64) [!__NR_mmap2]: Likewise.
3748 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3750 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3752 2012-08-18 Andreas Jaeger <aj@suse.de>
3754 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3756 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3758 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3759 * include/unistd.h (__have_sock_cloexec): Likewise.
3760 (__have_pipe2): Likewise.
3761 (__have_dup3): Likewise.
3763 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3766 * include/unistd.h (__have_pipe2): Change define into an extern int.
3767 (__have_dup3): Likewise.
3768 * socket/have_sock_cloexec.c: Include fcntl.h.
3769 (__have_pipe2): New variable.
3770 (__have_dup3): Likewise.
3772 2012-08-17 Mike Frysinger <vapier@gentoo.org>
3774 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3776 2012-08-17 Marek Polacek <polacek@redhat.com>
3778 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3779 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3781 2012-08-17 Roland McGrath <roland@hack.frob.com>
3783 * configure.in: Add AC_SUBST for sysheaders.
3784 * configure: Regenerated.
3785 * config.make.in (sysheaders): New substituted variable.
3787 * sysdeps/unix/mkfifo.c: Moved ...
3788 * sysdeps/posix/mkfifo.c: ... here.
3789 * sysdeps/unix/mkfifoat.c: Moved ...
3790 * sysdeps/posix/mkfifoat.c: ... here.
3792 * sysdeps/unix/utime.c: Moved ...
3793 * sysdeps/posix/utime.c: ... here.
3795 * sysdeps/unix/time.c: Moved ...
3796 * sysdeps/posix/time.c: ... here.
3797 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3798 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3800 * sysdeps/unix/nice.c: Moved ...
3801 * sysdeps/posix/nice.c: ... here.
3803 * sysdeps/unix/alarm.c: Moved ...
3804 * sysdeps/posix/alarm.c: ... here.
3806 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3808 2012-08-17 Jeff Law <law@redhat.com>
3810 * intl/Makefile (codeset_mo): New variable.
3811 ($(codeset_mo)): New target.
3812 (tst-codeset.out): Depend on that. Remove explicit rule.
3813 (tst-gettext3.out, tst-gettext5.out): Likewise.
3814 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3815 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3816 * intl/tst-codeset.sh: Remove.
3817 * intl/tst-gettext3.sh: Likewise.
3818 * intl/tst-gettext5.sh: Likewise.
3820 2012-08-17 Roland McGrath <roland@hack.frob.com>
3822 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3823 * sysdeps/unix/syscalls.list: ... here.
3825 * sysdeps/posix/getaddrinfo.c
3826 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3827 (gaiconf_init, gaiconf_reload): Use them.
3829 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3830 Define using time_t rather than struct timespec.
3832 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3833 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3835 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3837 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3838 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3841 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3842 __libc_cleanup_push argument.
3844 * bits/param.h: New file.
3845 * misc/sys/param.h: New file.
3846 * include/sys/param.h: New file.
3847 * misc/Makefile (headers): Add bits/param.h.
3848 * sysdeps/generic/sys/param.h: File removed.
3849 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3850 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3851 * sysdeps/mach/hurd/bits/param.h: New file.
3852 * sysdeps/mach/hurd/sys/param.h: File removed.
3854 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3857 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3859 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3860 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3863 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3864 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3865 rather than -D_IO_MTSAFE_IO conditionally.
3866 * stdio-common/Makefile (CPPFLAGS): Likewise.
3867 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3868 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3869 Use $(libio-mtsafe).
3870 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3872 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3873 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3874 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3875 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3876 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3877 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3878 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3879 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3880 (CFLAGS-fread_u_chk.c): Likewise.
3881 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3882 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3883 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3884 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3885 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3886 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3887 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3888 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3889 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3891 * libio/Makefile: Test [$(libc-reentrant) = yes]
3892 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3895 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3896 * sysdeps/pthread/configure: File removed.
3897 * sysdeps/pthread/Makeconfig: New file.
3898 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3899 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3901 2012-08-16 Gary Benson <gbenson@redhat.com>
3903 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3904 unmapping the first object in a namespace.
3906 2012-08-16 Roland McGrath <roland@hack.frob.com>
3908 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3909 (__internal_setnetgrent): ... this. Add internal_function to
3910 definition. Add libc_hidden_def.
3911 (setnetgrent): Update caller.
3912 (internal_endnetgrent): Renamed to ...
3913 (__internal_endnetgrent): ... this. Add internal_function to
3914 definition. Add libc_hidden_def.
3915 (endnetgrent): Update caller.
3916 (internal_getnetgrent_r): Renamed to ...
3917 (__internal_getnetgrent_r): ... this. Add internal_function to
3918 definition. Add libc_hidden_def.
3919 (__getnetgrent_r): Update caller.
3920 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3922 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3924 * stdlib/longlong.h: Update from GCC.
3926 2012-08-16 Roland McGrath <roland@hack.frob.com>
3928 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3929 on _QL, which is set by umul_ppmm but never used.
3930 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3931 variables, which are set by GMP macros but never used.
3932 * stdio-common/_itowa.c (_itowa): Likewise.
3933 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3934 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3936 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3938 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3939 struct La_sh_regs is not constant.
3940 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3941 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3942 and struct La_sparc64_regs are not constant.
3944 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3946 * sysdeps/unix/sysv/linux/kernel-features.h
3947 (__ASSUME_POSIX_TIMERS): Remove.
3948 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3949 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3950 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3951 Make code unconditional.
3952 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3953 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3954 Make code unconditional.
3955 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3956 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3957 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3958 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3959 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3960 Make code unconditional.
3961 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3962 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3963 (__libc_missing_posix_timers): Remove.
3965 2012-08-15 Roland McGrath <roland@hack.frob.com>
3967 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3968 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3970 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3972 * elf/dl-sym.c: Include <stdlib.h>.
3974 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3975 constants, which avoids warnings in 32-bit builds.
3977 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3978 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3980 * misc/lseek.c: File moved to ...
3981 * io/lseek.c: ... here.
3983 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3985 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3986 shifting LEN more than 31 bits at once.
3988 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3991 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3992 segmentation fault for a case of two empty input strings.
3993 * string/test-strncasecmp.c (check1): Renamed to...
3995 (bz14195): Add new testcase for two empty input strings and N > 0.
3996 (test_main): Call new testcase, adapt for renamed function.
3998 2012-08-15 Andreas Jaeger <aj@suse.de>
4001 * crypt/md5test2.c: New test, based on test supplied by Serge
4002 Belyshev <belyshev@depni.sinp.msu.ru>.
4003 * crypt/Makefile (xtests): Add md5test-giant..
4004 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4006 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4009 * crypt/md5.c (md5_process_block): Don't assume the buffer
4010 length is less than 2**32.
4011 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4012 length is less than 2**64.
4014 2012-08-15 Roland McGrath <roland@hack.frob.com>
4016 * string/str-two-way.h: Include <sys/param.h>.
4017 (MAX): Macro removed.
4019 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4020 Move #define and #undef of memmove to just before and after
4021 including <string.h>.
4023 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4024 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4025 and after including <string.h>. Move declarations of
4026 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4027 to before #include "string/memmove.c".
4029 * include/dirent.h: Declare __getdirentries.
4031 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4032 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4034 2012-08-14 Mike Frysinger <vapier@gentoo.org>
4036 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4037 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4038 * sysdeps/i386/configure: Regenerated.
4039 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4040 STABS_CURRENT_FILE, and STABS_FUN.
4041 (END): Remove call to STABS_FUN_END.
4042 (STABS_CURRENT_FILE1): Delete.
4043 (STABS_CURRENT_FILE): Likewise.
4044 (STABS_FUN): Likewise.
4045 (STABS_FUN_END): Likewise.
4046 (STABS_FUN2): Likewise.
4047 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4048 * sysdeps/x86_64/configure: Regenerated.
4050 2012-08-14 Roland McGrath <roland@hack.frob.com>
4052 * elf/dl-open.c: Include <atomic.h>.
4053 * elf/dl-lookup.c: Likewise.
4055 2012-08-14 Joseph Myers <joseph@codesourcery.com>
4057 * sysdeps/unix/sysv/linux/kernel-features.h
4058 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4059 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4061 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4063 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4064 condition on __ASSUME_CLONE_THREAD_FLAGS.
4066 2012-08-14 Andreas Jaeger <aj@suse.de>
4068 * sysdeps/i386/fpu/libm-test-ulps: Update.
4070 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4072 * include/atomic.h (atomic_exchange_and_add): Split into ...
4073 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4076 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4080 2012-08-13 Jeff Law <law@redhat.com>
4082 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4083 null byte in the output string.
4085 2012-08-10 Joseph Myers <joseph@codesourcery.com>
4087 * sysdeps/unix/sysv/linux/kernel-features.h
4088 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4089 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4090 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4091 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4092 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4093 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4094 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4096 2012-08-09 Jeff Law <law@redhat.com>
4099 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4100 When avoid_arena is set, don't retry in the that arena. Pick the
4101 next one, whatever it might be.
4102 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4103 (arena_lock): Pass in new parameter to arena_get2.
4104 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4106 (__libc_malloc): Unify retrying after main arena failure with
4107 __libc_memalign version.
4108 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4110 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4113 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4114 to __redirect_strstr.
4115 (__strstr_sse42): Use typeof __redirect_strstr.
4116 (__strstr_ia32): Likewise.
4117 (__libc_strstr): New prototype.
4118 (strstr): Renamed to ...
4119 (__libc_strstr): This.
4120 (strstr): New strong alias of __libc_strstr.
4121 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4122 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4125 (__libc_time): New prototype.
4126 (time_ifunc): Replace time with __libc_time.
4127 (time): New strong alias and hidden definition of __libc_time.
4128 (__GI_time): Remove strong alias.
4129 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4131 (memmove): Redefined to __redirect_memmove.
4132 (__memmove_sse2): Use typeof __redirect_memmove.
4133 (__memmove_ssse3): Likewise.
4134 (__memmove_ssse3_back): Likewise.
4135 (__libc_memmove): New prototype.
4136 (memmove): Renamed to ...
4137 (__libc_memmove): This.
4138 (memmove): New strong alias of __libc_memmove.
4140 2012-08-08 Mark Salter <msalter@redhat.com>
4143 (R_MN10300_TLS_GD): Define.
4144 (R_MN10300_TLS_LD): Likewise.
4145 (R_MN10300_TLS_LDO): Likewise.
4146 (R_MN10300_TLS_GOTIE): Likewise.
4147 (R_MN10300_TLS_IE): Likewise.
4148 (R_MN10300_TLS_LE): Likewise.
4149 (R_MN10300_TLS_DTPMOD): Likewise.
4150 (R_MN10300_TLS_DTPOFF): Likewise.
4151 (R_MN10300_TLS_TPOFF): Likewise.
4152 (R_MN10300_SYM_DIFF): Likewise.
4153 (R_MN10300_ALIGN): Likewise.
4154 (R_MN10300_NUM): Update.
4156 2012-08-08 Joseph Myers <joseph@codesourcery.com>
4158 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4161 2012-08-08 Roland McGrath <roland@hack.frob.com>
4163 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4165 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4166 sysdeps/unix -> sysdeps/posix move.
4167 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4169 2012-08-07 Allan McRae <allan@archlinux.org>
4172 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4173 (SUNOS_CPP): Likewise.
4174 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4176 (open_input): Call CPP using execvp.
4178 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4180 * sysdeps/unix/sysv/linux/kernel-features.h
4181 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4182 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4183 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4184 (__ASSUME_WAITID_SYSCALL): Likewise.
4185 * sysdeps/unix/sysv/linux/dl-execstack.c
4186 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4188 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4190 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4191 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4192 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4194 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4196 [__ASSUME_WAITID_SYSCALL]: Likewise.
4197 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4199 2012-08-07 Roland McGrath <roland@hack.frob.com>
4201 * sysdeps/unix/closedir.c: Renamed to ...
4202 * sysdeps/posix/closedir.c: ... here.
4203 * sysdeps/unix/dirfd.c: Renamed to ...
4204 * sysdeps/posix/dirfd.c: ... here.
4205 * sysdeps/unix/dirstream.h: Renamed to ...
4206 * sysdeps/posix/dirstream.h: ... here.
4207 * sysdeps/unix/fdopendir.c: Renamed to ...
4208 * sysdeps/posix/fdopendir.c: ... here.
4209 * sysdeps/unix/opendir.c: Renamed to ...
4210 * sysdeps/posix/opendir.c: ... here.
4211 * sysdeps/unix/readdir.c: Renamed to ...
4212 * sysdeps/posix/readdir.c: ... here.
4213 * sysdeps/unix/readdir_r.c: Renamed to ...
4214 * sysdeps/posix/readdir_r.c: ... here.
4215 * sysdeps/unix/rewinddir.c: Renamed to ...
4216 * sysdeps/posix/rewinddir.c: ... here.
4217 * sysdeps/unix/seekdir.c: Renamed to ...
4218 * sysdeps/posix/seekdir.c: ... here.
4219 * sysdeps/unix/telldir.c: Renamed to ...
4220 * sysdeps/posix/telldir.c: ... here.
4221 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4222 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4223 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4224 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4226 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4227 * bits/fcntl.h: ... here.
4229 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4231 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4232 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4233 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4234 (struct flock): Move l_start, l_len to the beginning.
4235 Use __pid_t for l_pid.
4236 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4237 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4238 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4239 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4240 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4241 [__USE_LARGEFILE64] (struct flock64): New type.
4242 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4244 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4245 * bits/dirent.h: ... here.
4247 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4248 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4250 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4252 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4253 Change from 2.6.0 to 2.6.16.
4254 * sysdeps/unix/sysv/linux/configure: Regenerated.
4255 * sysdeps/unix/sysv/linux/kernel-features.h
4256 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4257 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4259 (__ASSUME_UTIMES): Likewise.
4260 (__ASSUME_CLONE_STOPPED): Remove.
4261 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4262 architectures, not kernel version.
4263 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4264 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4265 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4266 (__ASSUME_WAITID_SYSCALL): Likewise.
4267 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4268 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4269 * README: State 2.6.16 as minimum Linux kernel version. Do not
4270 refer to older versions.
4272 2012-08-06 Roland McGrath <roland@hack.frob.com>
4274 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4275 Define alphasort64 as an alias.
4276 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4277 Define versionsort64 as an alias.
4278 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4279 Define scandir64 as an alias.
4280 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4281 Define scandirat64 as an alias.
4282 * dirent/alphasort64.c (alphasort64):
4283 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4284 * dirent/versionsort64.c: Likewise.
4285 * dirent/scandir64.c: Likewise.
4286 * dirent/scandirat64.c: Likewise.
4287 * sysdeps/wordsize-64/alphasort.c: File removed.
4288 * sysdeps/wordsize-64/alphasort64.c: File removed.
4289 * sysdeps/wordsize-64/scandir.c: File removed.
4290 * sysdeps/wordsize-64/scandir64.c: File removed.
4291 * sysdeps/wordsize-64/scandirat.c: File removed.
4292 * sysdeps/wordsize-64/scandirat64.c: File removed.
4293 * sysdeps/wordsize-64/versionsort.c: File removed.
4294 * sysdeps/wordsize-64/versionsort64.c: File removed.
4295 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4296 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4297 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4298 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4299 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4300 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4301 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4302 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4304 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4306 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4307 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4308 [defined __arch64__ || defined __sparcv9]
4309 (__INO_T_MATCHES_INO64_T): New macro.
4310 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4311 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4312 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4313 * sysdeps/unix/sysv/linux/bits/dirent.h
4314 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4315 (_DIRENT_MATCHES_DIRENT64): New macro.
4317 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4318 Define lockf64 as an alias.
4319 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4320 Define fseeko64 as an alias.
4321 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4322 Define ftello64 as an alias.
4323 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4324 Define _IO_fgetpos64 and fgetpos64 as aliases.
4325 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4326 Define _IO_fsetpos64 and fsetpos64 as aliases.
4327 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4328 Conditionalize body on this.
4329 * libio/fseeko64.c: Likewise.
4330 * libio/ftello64.c: Likewise.
4331 * libio/iofgetpos64.c: Likewise.
4332 * libio/iofsetpos64.c: Likewise.
4333 * sysdeps/wordsize-64/lockf.c: File removed.
4334 * sysdeps/wordsize-64/lockf64.c: File removed.
4335 * sysdeps/wordsize-64/fseeko.c: File removed.
4336 * sysdeps/wordsize-64/fseeko64.c: File removed.
4337 * sysdeps/wordsize-64/ftello.c: File removed.
4338 * sysdeps/wordsize-64/ftello64.c: File removed.
4339 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4340 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4341 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4342 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4343 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4344 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4345 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4346 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4347 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4348 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4349 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4350 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4351 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4352 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4354 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4355 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4356 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4357 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4358 [defined __arch64__ || defined __sparcv9]
4359 (__OFF_T_MATCHES_OFF64_T): New macro.
4360 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4361 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4362 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4363 (__OFF_T_MATCHES_OFF64_T): New macro.
4365 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4367 * stdlib/secure-getenv.c (__secure_getenv): Replace
4368 GLIBC_2_16 with GLIBC_2_17.
4370 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4372 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4373 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4375 2012-08-03 David S. Miller <davem@davemloft.net>
4377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4379 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4381 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4383 (__ASSUME_CORRECT_SI_PID): Likewise.
4384 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4385 (__ASSUME_TMPFS_NAME): Likewise.
4386 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4387 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4388 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4389 (HAVE_AUX_SECURE): Make definition unconditional.
4390 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4391 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4393 2012-08-03 Roland McGrath <roland@hack.frob.com>
4395 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4396 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4397 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4398 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4399 __eloop_threshold instead of SYMLOOP_MAX.
4401 * sysdeps/generic/eloop-threshold.h: New file.
4402 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4404 * elf/chroot_canon.c (chroot_canon): Likewise.
4406 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4409 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4410 Change to 2.6.0 everywhere.
4411 * sysdeps/unix/sysv/linux/configure: Regenerated.
4412 * sysdeps/unix/sysv/linux/kernel-features.h
4413 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4414 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4416 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4417 (__ASSUME_FUTEX_REQUEUE): Remove.
4418 (__ASSUME_STATFS64): Define unconditionally.
4419 (__ASSUME_AT_SECURE): Likewise.
4420 (__ASSUME_CORRECT_SI_PID): Likewise.
4421 (__ASSUME_TGKILL): Define without depending on kernel version for
4423 (__ASSUME_UTIMES): Likewise.
4424 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4426 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4427 (__ASSUME_TMPFS_NAME): Likewise.
4428 * README: Update reference to Linux kernel versions.
4430 2012-08-02 Marek Polacek <polacek@redhat.com>
4433 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4434 libc_cv_asm_type_prefix with %.
4435 * configure: Regenerated.
4436 * include/libc-symbols.h: Remove comment about
4437 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4438 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4439 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4440 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4441 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4442 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4443 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4444 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4445 * elf/tst-unique2mod1.c: Likewise.
4446 * elf/tst-unique1mod2.c: Likewise.
4447 * elf/tst-unique1mod1.c: Likewise.
4448 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4449 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4450 Replace ASM_TYPE_DIRECTIVE with .type.
4451 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4452 * sysdeps/i386/sysdep.h: Likewise.
4453 * sysdeps/x86_64/sysdep.h: Likewise.
4454 * sysdeps/sh/sysdep.h: Likewise.
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4456 Do not define ASM_TYPE_DIRECTIVE.
4457 * sysdeps/powerpc/sysdep.h: Likewise.
4458 * sysdeps/powerpc/powerpc32/sysdep.h:
4459 Replace ASM_TYPE_DIRECTIVE with .type.
4460 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4461 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4462 * sysdeps/i386/fpu/e_powf.S: Likewise.
4463 * sysdeps/i386/fpu/e_expl.S: Likewise.
4464 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4465 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4466 * sysdeps/i386/fpu/e_pow.S: Likewise.
4467 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4468 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4469 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4470 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4471 * sysdeps/i386/fpu/e_log2.S: Likewise.
4472 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4473 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4474 * sysdeps/i386/fpu/e_powl.S: Likewise.
4475 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4476 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4477 * sysdeps/i386/fpu/e_logl.S: Likewise.
4478 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4479 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4480 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4481 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4482 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4483 * sysdeps/i386/fpu/e_log.S: Likewise.
4484 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4485 * sysdeps/i386/fpu/e_logf.S: Likewise.
4486 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4487 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4488 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4489 * sysdeps/i386/fpu/e_log10.S: Likewise.
4490 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4491 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4492 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4493 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4494 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4495 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4496 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4497 * sysdeps/i386/i686/strtok.S: Likewise.
4498 * sysdeps/i386/i386-mcount.S: Likewise.
4499 * sysdeps/i386/strtok.S: Likewise.
4500 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4501 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4502 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4503 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4504 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4505 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4506 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4507 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4508 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4509 * sysdeps/x86_64/_mcount.S: Likewise.
4510 * sysdeps/x86_64/strtok.S: Likewise.
4511 * sysdeps/sh/_mcount.S: Likewise.
4513 2012-08-01 Roland McGrath <roland@hack.frob.com>
4515 * libio/iofopen.c: Include <fcntl.h>.
4516 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4517 (_IO_fopen64, fopen64): Define as aliases.
4518 * libio/iofopen64.c: Include <fcntl.h>.
4519 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4520 Conditionalize body on this.
4521 * sysdeps/wordsize-64/iofopen.c: File removed.
4522 * sysdeps/wordsize-64/iofopen64.c: File removed.
4524 2012-08-01 Marek Polacek <polacek@redhat.com>
4526 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4527 Use dlfcn directly instead of a variable.
4528 (binfmt-subdir): Do not define.
4531 2012-08-01 Joseph Myers <joseph@codesourcery.com>
4533 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4534 Remove all definitions.
4535 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4536 <kernel-features.h>.
4537 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4538 (miss_F_GETOWN_EX): Remove all definitions.
4539 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4541 [!__ASSUME_FCNTL64]: Remove conditional code.
4542 [__ASSUME_FCNTL64]: Make code unconditional.
4543 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4544 <kernel-features.h>.
4545 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4546 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4547 (lockf64) [__NR_fcntl64]: Make code unconditional.
4548 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4550 * sysdeps/unix/sysv/linux/kernel-features.h
4551 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4552 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4553 Make code unconditional.
4554 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4555 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4557 [__NR_vfork]: Make code unconditional.
4558 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4559 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4561 [__NR_vfork]: Make code unconditional.
4562 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4563 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4565 2012-08-01 Roland McGrath <roland@hack.frob.com>
4567 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4568 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4570 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4571 Define mkstemp64 as an alias.
4572 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4573 Define mkstemps64 as an alias.
4574 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4575 Define mkostemp64 as an alias.
4576 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4577 Define mkostemps64 as an alias.
4578 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4579 Conditionalize body on this.
4580 * misc/mkostemp64.c: Likewise.
4581 * misc/mkostemps64.c: Likewise.
4582 * misc/mkstemps64.c: Likewise.
4583 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4584 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4585 * sysdeps/wordsize-64/mkostemp.c: File removed.
4586 * sysdeps/wordsize-64/mkstemp.c: File removed.
4587 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4588 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4589 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4590 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4593 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4594 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4595 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4596 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4598 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4599 compat_symbol macros from <shlib-compat.h> rather than the underlying
4600 default_symbol_version and symbol_version macros, so that DEFAULT
4601 lines in shlib-versions are respected.
4602 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4604 2012-08-01 Florian Weimer <fweimer@redhat.com>
4606 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4607 Declare with warn_unused_result.
4608 (setgid, setregid, setegid, setresgid): Likewise.
4609 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4611 * WUR-REPORT: Remove set*id functions.
4613 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4615 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4617 2012-07-31 Roland McGrath <roland@hack.frob.com>
4619 * include/sys/socket.h (__libc_accept, __libc_accept4):
4620 Add attribute_hidden.
4621 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4623 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4625 * inet/getnetgrent_r.c (setup): Likewise.
4627 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4629 2012-07-31 David S. Miller <davem@davemloft.net>
4631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4633 2012-07-31 Joseph Myers <joseph@codesourcery.com>
4636 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4637 value between 1.0 and 2.0 and smaller part has absolute value less
4639 * math/s_clog10.c (__clog10): Likewise.
4640 * math/s_clog10f.c (__clog10f): Likewise.
4641 * math/s_clog10l.c (__clog10l): Likewise.
4642 * math/s_clogf.c (__clogf): Likewise.
4643 * math/s_clogl.c (__clogl): Likewise.
4644 * math/libm-test.inc (clog_test): Add more tests.
4645 (clog10_test): Likewise.
4646 * sysdeps/i386/fpu/libm-test-ulps: Update.
4647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4649 2012-07-31 Florian Weimer <fweimer@redhat.com>
4651 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4652 Exit with zero in case no suitable GID is found, and write a
4653 message to standard error.
4655 2012-07-30 Roland McGrath <roland@hack.frob.com>
4657 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4659 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4660 (MAXPATHLEN): Removed.
4661 (NOGROUP, NODEV): New macros.
4662 (setbit, clrbit, isset, isclr): New macros.
4663 (howmany, roundup, powerof2): New macros.
4664 (DEV_BSIZE): New macro.
4666 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4667 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4669 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4670 definition on [!__NO_LONG_DOUBLE_MATH].
4672 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4673 PTR_MANGLE and PTR_DEMANGLE.
4675 * socket/accept4.c (accept4): Rename to __libc_accept4.
4676 Define accept4 as a weak alias.
4678 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4679 on [_DIRENT_HAVE_D_TYPE].
4680 * io/ftw.c (ftw_dir): Likewise.
4682 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4684 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4686 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4687 Use the BSD numbers rather than the arbitrary ones we had.
4688 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4689 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4690 (SIGXCPU, SIGXFSZ): New macros.
4693 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4694 initializer on [_LIBC_REENTRANT].
4696 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4697 definitions inside [_POSIX_MAPPED_FILES].
4699 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4701 * dirent/opendir.c: Include <fcntl.h>.
4703 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4704 (__libc_getspecific): Likewise.
4705 (__libc_key_create): Likewise.
4707 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4708 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4709 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4710 (tmpfile64): Define as alias.
4711 * sysdeps/wordsize-64/tmpfile.c: File removed.
4712 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4713 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4714 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4716 * stdio-common/vfscanf.c: Include <stdbool.h>.
4717 * nss/makedb.c: Likewise.
4718 * stdio-common/_i18n_number.h: Likewise.
4719 * argp/argp-help.c: Likewise.
4720 * posix/wordexp.c: Likewise.
4721 * sysdeps/posix/spawni.c: Likewise.
4722 * nss/nss_files/files-initgroups.c: Likewise.
4723 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4724 * nss/nss_files/files-initgroups.c: Likewise.
4725 * nss/nss_db/db-netgrp.c: Likewise.
4726 * nss/nss_db/db-initgroups.c: Likewise.
4727 * io/fchmodat.c: Include <sys/stat.h>.
4729 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4730 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4732 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4735 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4736 Add multiple inclusion protection.
4738 2012-07-27 David S. Miller <davem@davemloft.net>
4740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4742 2012-07-27 Gary Benson <gbenson@redhat.com>
4745 * elf/rtld.c: Include <stap-probe.h>.
4746 (dl_main): Added static probes "init_start" and "init_complete".
4747 * elf/dl-load.c: Include <stap-probe.h>.
4748 (lose): Take new parameter "nsid".
4749 Added static probe "map_failed".
4750 (_dl_map_object_from_fd): Pass namespace id to lose.
4751 Added static probe "map_start".
4752 (open_verify): Pass namespace id to lose.
4753 * elf/dl-open.c: Include <stap-probe.h>.
4754 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4755 and "reloc_complete".
4756 * elf/dl-close.c: Include <stap-probe.h>.
4757 (_dl_close_worker): Added static probes "unmap_start" and
4759 * elf/rtld-debugger-interface.txt: New file documenting the above.
4761 2012-07-26 Roland McGrath <roland@hack.frob.com>
4763 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4764 rather than a string variable.
4765 * sunrpc/rpc_main.c (h_output): Likewise.
4766 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4768 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4770 * inet/check_native.c: New file.
4772 2012-07-26 Joseph Myers <joseph@codesourcery.com>
4775 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4776 if larger part has absolute value 1.0.
4777 * math/s_clog10.c (__clog10): Likewise.
4778 * math/s_clog10f.c (__clog10f): Likewise.
4779 * math/s_clog10l.c (__clog10l): Likewise.
4780 * math/s_clogf.c (__clogf): Likewise.
4781 * math/s_clogl.c (__clogl): Likewise.
4782 * math/libm-test.inc (clog_test): Add more tests.
4783 (clog10_test): Likewise.
4784 * sysdeps/i386/fpu/libm-test-ulps: Update.
4785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4787 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4788 (pltexit): Likewise.
4789 (La_regs): Likewise.
4790 (La_retval): Likewise.
4791 (int_retval): Likewise.
4792 Update #error for removed macros to refer only to definitions in
4794 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4796 (pltexit): Likewise.
4797 (La_regs): Likewise.
4798 (La_retval): Likewise.
4799 (int_retval): Likewise.
4800 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4802 (pltexit): Likewise.
4803 (La_regs): Likewise.
4804 (La_retval): Likewise.
4805 (int_retval): Likewise.
4806 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4808 (pltexit): Likewise.
4809 (La_regs): Likewise.
4810 (La_retval): Likewise.
4811 (int_retval): Likewise.
4812 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4814 (pltexit): Likewise.
4815 (La_regs): Likewise.
4816 (La_retval): Likewise.
4817 (int_retval): Likewise.
4818 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4820 (pltexit): Likewise.
4821 (La_regs): Likewise.
4822 (La_retval): Likewise.
4823 (int_retval): Likewise.
4824 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4826 (pltexit): Likewise.
4827 (La_regs): Likewise.
4828 (La_retval): Likewise.
4829 (int_retval): Likewise.
4830 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4831 macro definitions in tst-audit.h.
4832 * sysdeps/i386/tst-audit.h: New file.
4833 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4834 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4835 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4836 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4837 * sysdeps/sh/tst-audit.h: Likewise.
4838 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4839 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4840 * sysdeps/x86_64/tst-audit.h: Likewise.
4842 2012-07-26 Andreas Jaeger <aj@suse.de>
4844 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4847 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4848 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4849 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4851 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4852 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4853 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4855 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4858 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4860 (si_call_addr, si_syscall, si_arch): Define new macro.
4861 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4863 (si_call_addr, si_syscall, si_arch): Define new marcro.
4864 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4866 (si_call_addr, si_syscall, si_arch): Define new macro.
4867 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4869 (si_call_addr, si_syscall, si_arch): Define new macro.
4871 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4874 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4875 Change to 2.4.21 where previously 2.4.1.
4876 * sysdeps/unix/sysv/linux/configure: Regenerated.
4877 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4878 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4879 Linux kernel version.
4880 (__ASSUME_STD_AUXV): Remove.
4881 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4883 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4884 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4885 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4886 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4887 (__ASSUME_NETLINK_SUPPORT): Likewise.
4888 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4889 (__no_netlink_support): Remove conditional definition.
4890 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4892 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4893 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4894 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4895 (if_nameindex_ioctl): Remove.
4896 (if_nameindex_netlink): Do not handle __no_netlink_support.
4897 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4899 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4900 Remove conditional code.
4901 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4903 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4905 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4906 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4907 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4909 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4910 [!__ASSUME_STD_AUXV]: Remove conditional code.
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4912 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4913 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4915 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4916 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4918 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4920 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4921 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4923 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4925 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4928 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4931 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4933 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4935 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4937 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4940 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4942 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4945 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4947 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4949 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4951 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4954 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4956 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4958 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4960 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4963 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4965 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4966 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4967 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4968 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4969 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4970 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4971 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4972 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4973 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4974 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4975 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4976 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4977 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4978 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4979 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4980 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4981 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4982 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4983 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4984 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4985 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4986 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4987 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4989 2012-07-25 Florian Weimer <fweimer@redhat.com>
4991 * Versions.def: Add GLIBC_2.17.
4992 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4993 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4994 Introduce __libc_secure_getenv.
4995 * stdlib/Versions (2.17): Add secure_getenv
4996 (GLIBC_PRIVATE): Add __libc_secure_getenv.
4997 * stdlib/secure-getenv.c: Rename __secure_getenv to
4998 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
4999 symbol __secure_getenv for GLIBC_2.0.
5000 * stdlib/tst-secure-getenv.c: New.
5001 * stdlib/Makefile (tests): Add testcase.
5002 * manual/startup.texi (Environment Access): Document
5004 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5005 __libc_secure_getenv.
5006 * inet/ruserpass.c (ruserpass): Likewise.
5007 * malloc/mtrace.c (mtrace): Likewise.
5008 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5009 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5010 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5011 * sysdeps/posix/tempname.c: Likewise. Evaluate
5013 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5014 __secure_getenv to __libc_secure_getenv.
5015 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5022 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5028 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5030 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5031 (struct La_i86_retval): Likewise.
5032 (struct La_x86_64_regs): Likewise.
5033 (struct La_x86_64_retval): Likewise.
5034 (struct La_x32_regs): Likewise.
5035 (struct La_x32_retval): Likewise.
5036 (struct La_ppc32_regs): Likewise.
5037 (struct La_ppc32_retval): Likewise.
5038 (struct La_ppc64_regs): Likewise.
5039 (struct La_ppc64_retval): Likewise.
5040 (struct La_sh_regs): Likewise.
5041 (struct La_sh_retval): Likewise.
5042 (struct La_s390_32_regs): Likewise.
5043 (struct La_s390_32_retval): Likewise.
5044 (struct La_s390_64_regs): Likewise.
5045 (struct La_s390_64_retval): Likewise.
5046 (struct La_sparc32_regs): Likewise.
5047 (struct La_sparc32_retval): Likewise.
5048 (struct La_sparc64_regs): Likewise.
5049 (struct La_sparc64_retval): Likewise.
5050 (struct audit_ifaces): Remove architecture-specific pltenter and
5052 * sysdeps/i386/ldsodefs.h: New file.
5053 * sysdeps/powerpc/ldsodefs.h: Likewise.
5054 * sysdeps/s390/ldsodefs.h: Likewise.
5055 * sysdeps/sh/ldsodefs.h: Likewise.
5056 * sysdeps/sparc/ldsodefs.h: Likewise.
5057 * sysdeps/x86_64/ldsodefs.h: Likewise.
5059 2012-07-25 Marek Polacek <polacek@redhat.com>
5062 * math/libm-test.inc (yn_test): Add another test.
5063 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5064 to ERANGE when the result is +-Inf.
5065 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5066 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5067 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5068 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5070 2012-07-24 Joseph Myers <joseph@codesourcery.com>
5072 * conform/data/time.h-data (NULL): Use macro-constant. Require
5074 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5076 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5078 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5080 * configure.in <sysdeps resolving>: Correct printing
5082 * configure: Regenerate.
5084 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5086 * math/w_ilogb.c: Include <limits.h>.
5087 * math/w_ilogbl.c: Likewise.
5089 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5091 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5092 va_copy. Document allowing for unavailable va_copy only as
5093 pre-C99 compatibility.
5094 * manual/string.texi (Copying and Concatenation): Use va_copy
5095 instead of __va_copy in concat example.
5097 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5099 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5100 (__sendto): Use create_address_port. Initialize APORT and deallocate
5103 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5104 with O_NOLINK passed to __file_name_lookup.
5106 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5107 with O_NOLINK passed to __file_name_lookup.
5109 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5110 negative N or less than NGIDS.
5112 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5113 type to string_t. Set ERANGE as errno and return it if NAME is not big
5114 enough. Use memcpy instead of strncpy.
5116 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5118 * elf/Makefile (check-data): Remove.
5119 (localplt.data): New vpath directive.
5120 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5121 instead of $(check-data).
5122 * scripts/data/localplt-generic.data: Move to ...
5123 * sysdeps/generic/localplt.data: ... here.
5124 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5125 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5126 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5129 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5132 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5135 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5138 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5141 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5145 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5147 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5148 PPC32 and PPC64 files.
5149 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5150 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5152 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5154 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5155 __makecontext_ret to ...
5156 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5157 ... here and call exit if uc_link is NULL. New file.
5158 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5159 __makecontext_ret.S.
5160 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5161 __makecontext_ret to ...
5162 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5163 ... here and call exit if uc_link is NULL. New file.
5164 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5165 __makecontext_ret.S.
5167 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5169 * elf/elf.h (R_390_IRELATIVE): New definition.
5170 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5171 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5172 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5173 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5174 (elf_machine_lazy_rel): Likewise.
5175 * sysdeps/s390/dl-irel.h: New file.
5176 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5177 * sysdeps/s390/s390-64/memset.S: New asm code.
5178 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5179 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5180 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5181 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5182 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5183 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5184 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5185 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5186 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5187 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5188 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5189 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5190 * sysdeps/s390/s390-32/memset.S: New asm code.
5191 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5193 2012-07-17 Marek Polacek <polacek@redhat.com>
5196 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5197 * sysdeps/s390/s390-64/configure.in: Likewise.
5198 * sysdeps/sparc/configure.in: Likewise.
5199 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5200 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5201 * sysdeps/i386/configure.in: Likewise.
5202 * sysdeps/x86_64/configure.in: Likewise.
5203 * sysdeps/sh/configure.in: Likewise.
5204 * sysdeps/s390/s390-32/configure: Regenerated.
5205 * sysdeps/s390/s390-64/configure: Likewise.
5206 * sysdeps/x86_64/configure: Likewise.
5207 * sysdeps/sh/configure: Likewise.
5208 * sysdeps/powerpc/powerpc64/configure: Likewise.
5209 * sysdeps/powerpc/powerpc32/configure: Likewise.
5210 * sysdeps/sparc/configure: Likwise.
5211 * sysdeps/i386/configure: Likewise.
5213 * elf/dl-open.c: Comment fixes.
5215 2012-07-17 Joseph Myers <joseph@codesourcery.com>
5217 * Makefile [CXX] (check-data): Remove.
5218 [CXX] (c++-types.data): New vpath directive.
5219 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5220 vpath. Do not allow for C++ type data being missing.
5221 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5222 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5223 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5224 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5225 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5226 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5227 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5230 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5233 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5236 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5239 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5242 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5245 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5248 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5251 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5252 definitions to architecture-specific files.
5256 * sysdeps/i386/tls-macros.h: New file.
5257 * sysdeps/powerpc/tls-macros.h: Likewise.
5258 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5259 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5260 * sysdeps/sh/tls-macros.h: Likewise.
5261 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5262 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5263 * sysdeps/x86_64/tls-macros.h: Likewise.
5265 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5267 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5268 zero value for regular exit case.
5270 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5271 (__start_context): Preserve zero value for regular exit case.
5273 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5274 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5276 * manual/setjmp.texi (setcontext): Clarify normal process
5277 termination when uc_link is the null pointer.
5278 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5281 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5283 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5284 preprocessor. Test for each exception mask separately.
5286 2012-07-16 Andreas Jaeger <aj@suse.de>
5288 * po/ru.po: Update from translation team.
5290 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5292 * conform/data/string.h-data (NULL): Use macro-constant. Require
5294 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5295 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5296 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5297 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5298 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5300 2012-07-13 Andreas Jaeger <aj@suse.de>
5302 * po/fr.po: Update from translation team.
5304 2012-07-12 Marek Polacek <polacek@redhat.com>
5307 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5308 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5311 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5314 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5315 Change to 2.4.1 where previously 2.4.0.
5316 * sysdeps/unix/sysv/linux/configure: Regenerated.
5317 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5318 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5320 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5321 (__ASSUME_AT_CLKTCK): Remove.
5322 (__ASSUME_AT_PAGESIZE): Likewise.
5323 (__ASSUME_AT_XID): Likewise.
5324 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5325 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5326 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5328 (HAVE_AUX_PAGESIZE): Likewise.
5329 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5330 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5331 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5333 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5337 the temporary buffer used to invoke __gethostbyname2_r,
5338 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5339 host_data / struct gaih_addrtuple.
5340 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5341 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5342 header file nss/nsswitch.h.
5343 * nss/nsswitch.h (global scope): Add definition of implementation
5344 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5345 resolv/nss_dns/dns-host.c).
5347 2012-07-11 Andreas Jaeger <aj@suse.de>
5349 * po/fr.po: Update from translation team.
5351 * po/sv.po: Update from translation team
5352 * po/fr.po: Another update from translation team.
5354 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5356 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5357 for subnormals or multiply small sinh result by itself.
5358 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5361 2012-07-11 David S. Miller <davem@davemloft.net>
5363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5365 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5368 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5369 (INTERNAL_MARK): Shift it here.
5371 2012-07-10 Marek Polacek <polacek@redhat.com>
5374 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5375 libc_cv_asm_global_directive with .globl.
5376 * configure: Regenerated.
5377 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5379 * sysdeps/i386/configure: Regenerated.
5380 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5382 * sysdeps/x86_64/configure: Regenerated.
5383 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5384 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5385 * elf/tst-unique2mod2.c: Likewise.
5386 * elf/tst-unique2mod1.c: Likewise.
5387 * elf/tst-unique1mod2.c: Likewise.
5388 * elf/tst-unique1mod1.c: Likewise.
5389 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5390 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5391 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5392 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5393 * sysdeps/mach/sysdep.h: Likewise.
5394 * sysdeps/i386/sysdep.h: Likewise.
5395 * sysdeps/i386/i386-mcount.S: Likewise.
5396 * sysdeps/x86_64/_mcount.S: Likewise.
5397 * sysdeps/x86_64/sysdep.h: Likewise.
5398 * sysdeps/sh/_mcount.S: Likewise.
5399 * sysdeps/sh/sysdep.h: Likewise.
5400 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5401 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5402 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5403 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5404 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5405 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5406 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5407 * locale/localeinfo.h: Likewise.
5408 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5409 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5411 2012-07-09 Roland McGrath <roland@hack.frob.com>
5414 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5416 * manual/message.texi (The Uniforum approach): Likewise.
5417 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5418 (glibc iconv Implementation): Likewise.
5420 2012-07-09 Joseph Myers <joseph@codesourcery.com>
5423 * math/s_clog.c (__clog): Avoid scaling a value down where that
5424 could result in underflow.
5425 * math/s_clog10.c (__clog10): Likewise.
5426 * math/s_clog10f.c (__clog10f): Likewise.
5427 * math/s_clog10l.c (__clog10l): Likewise.
5428 * math/s_clogf.c (__clogf): Likewise.
5429 * math/s_clogl.c (__clogl): Likewise.
5430 * math/libm-test.inc (clog_test): Add more tests.
5431 (clog10_test): Likewise.
5432 * sysdeps/i386/fpu/libm-test-ulps: Update.
5433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5435 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5438 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5439 by 7 not 8 to examine high bit of fractional part.
5442 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5443 for call to __mcount_internal.
5444 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5445 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5446 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5448 2012-07-06 Joseph Myers <joseph@codesourcery.com>
5451 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5452 approximation for values within 0x1p-13f of an odd multiple of
5454 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5455 exception. Add more tests.
5456 * sysdeps/i386/fpu/libm-test-ulps: Update.
5459 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5460 inputs and return -1 for them. Do not check for +Inf in case not
5462 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5463 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5464 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5465 and return -1 for them. Do not check for +Inf in case not
5467 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5469 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5470 and return -1 for them. Do not check for +Inf in case not
5472 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5474 * sysdeps/i386/fpu/libm-test-ulps: Update.
5475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5477 2012-07-06 Mike Frysinger <vapier@gentoo.org>
5479 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5481 2012-07-05 Joseph Myers <joseph@codesourcery.com>
5485 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5486 could result in spurious underflow. Scale down values above
5487 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5488 * math/s_csqrtf.c (__csqrtf): Likewise.
5489 * math/s_csqrtl.c (__csqrtl): Likewise.
5490 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5492 * sysdeps/i386/fpu/libm-test-ulps: Update.
5493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5495 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5497 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5499 * catgets/xopen-msg.awk: New file.
5500 * catgets/xopen-msg.sed: Removed.
5502 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5504 * intl/po2test.awk: New file.
5505 * intl/po2test.sed: Removed.
5507 2012-07-04 Joseph Myers <joseph@codesourcery.com>
5510 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5511 or multiply small sinh result by itself.
5512 * math/s_ctanf.c (__ctanf): Likewise.
5513 * math/s_ctanh.c (__ctanh): Likewise.
5514 * math/s_ctanhf.c (__ctanhf): Likewise.
5515 * math/s_ctanhl.c (__ctanhl): Likewise.
5516 * math/s_ctanl.c (__ctanl): Likewise.
5517 * math/libm-test.inc (ctan_test_tonearest): New function.
5518 (ctan_test_towardzero): Likewise.
5519 (ctan_test_downward): Likewise.
5520 (ctan_test_upward): Likewise.
5521 (ctanh_test_tonearest): Likewise.
5522 (ctanh_test_towardzero): Likewise.
5523 (ctanh_test_downward): Likewise.
5524 (ctanh_test_upward): Likewise.
5525 (main): Call these new functions.
5526 * sysdeps/i386/fpu/libm-test-ulps: Update.
5527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5529 2012-07-03 Mike Frysinger <vapier@gentoo.org>
5531 * .gitignore: Delete /ports entry.
5533 2012-07-03 Andreas Jaeger <aj@suse.de>
5535 * po/bg.po: Update from translation team.
5536 * po/cs.po: Likewise.
5537 * po/de.po: Likewise.
5538 * po/hr.po: Likewise.
5539 * po/nl.pl: Likewise.
5540 * po/pl.po: Likewise.
5541 * po/vi.po: Likewise.
5543 2012-07-03 Joseph Myers <joseph@codesourcery.com>
5545 * Makeconfig [!+link] (+link-before-libc): New variable.
5546 [!+link] (+link-after-libc): Likewise.
5547 [!+link] (+link-tests): Likewise.
5548 [!+link] (+link): Define in terms of $(+link-before-libc) and
5549 $(+link-after-libc).
5550 [!+link-static] (+link-static-before-libc): New variable.
5551 [!+link-static] (+link-static-after-libc): Likewise.
5552 [!+link-static] (+link-static-tests): Likewise.
5553 [!+link-static] (+link-static): Define in terms of
5554 $(+link-static-before-libc) and $(+link-static-after-libc).
5555 [build-shared] (link-libc-before-gnulib): New variable.
5556 [build-shared] (link-libc-tests): Likewise.
5557 [build-shared] (link-libc): Define in terms of
5558 $(link-libc-before-gnulib).
5559 [!build-shared] (link-libc-tests): New variable.
5560 (link-libc-static-tests): New variable.
5561 [!gnulib] (gnulib-arch): New variable.
5562 [!gnulib] (gnulib-tests): Likewise.
5563 [!gnulib] (static-gnulib-arch): Likewise.
5564 [!gnulib] (static-gnulib-tests): Likewise.
5565 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5566 Define with "=" instead of ":=".
5567 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5568 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5569 * Rules (binaries-all-notests): New variable.
5570 (binaries-all-tests): Likewise.
5571 (binaries-static-notests): Likewise.
5572 (binaries-static-tests): Likewise.
5573 (binaries-all): Define using $(binaries-all-notests) and
5574 $(binaries-all-tests).
5575 (binaries-static): Define using $(binaries-static-notests) and
5576 $(binaries-static-tests).
5577 (binaries-shared-tests): New variable.
5578 (binaries-shared-notests): Likewise.
5579 (binaries-shared): Remove variable.
5580 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5581 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5582 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5583 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5584 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5585 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5586 * elf/Makefile (sln-modules): New variable.
5587 (extra-objs): Add $(sln-modules:=.o).
5588 (ldconfig-modules): Add static-stubs.
5589 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5590 * elf/static-stubs.c: New file.
5593 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5594 by 7 not 8 to examine high bit of fractional part. Use volatile
5595 variables when splitting into final array of floats if
5596 __FLT_EVAL_METHOD__ != 0.
5597 * math/libm-test.inc (cos_test): Add another test.
5598 (sin_test): Likewise.
5599 * sysdeps/i386/fpu/libm-test-ulps: Update.
5602 * math/libm-test.inc (cosh_test): Add more tests.
5604 * version.h (RELEASE): Set to "development".
5605 (VERSION): Set to "2.16.90".
5607 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5609 * NEWS: Update copyright. Remove last-updated date.
5610 Mention math library bug fixes and timezone data changes.
5611 * README: Mention GNU/Hurd, x32, and HPPA support status.
5613 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5615 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5617 2012-06-27 Andreas Jaeger <aj@suse.de>
5619 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5621 2012-06-25 Andreas Jaeger <aj@suse.de>
5623 * sysdeps/s390/fpu/libm-test-ulps: Update.
5625 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5626 Thomas Schwinge <thomas@codesourcery.com>
5628 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5629 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5630 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5633 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5635 * sysdeps/mach/start.c: Remove file.
5636 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5637 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5638 * sysdeps/sh/init-first.c: Likewise.
5640 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5641 registers for frame unwinding purposes, add CFI directives.
5642 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5643 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5644 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5647 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5648 __fortify_fail returning.
5649 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5651 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5652 sysdeps/sh/____longjmp_chk.S.
5653 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5654 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5655 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5656 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5658 * sysdeps/sh/abort-instr.h: New file.
5659 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5660 process in case exit returns.
5662 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5663 initialize the GOT register before use.
5665 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5666 calculation of ARGC > 4.
5668 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5669 meaningful names to some local labels.
5671 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5672 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5674 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5675 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5676 (__arch_compare_and_exchange_val_16_acq): Likewise.
5677 (__arch_compare_and_exchange_val_32_acq): Likewise.
5678 (atomic_exchange_and_add): Fix gUSA sequence.
5679 (atomic_add): Likewise.
5680 (atomic_add_negative): Likewise.
5681 (atomic_add_zero): Likewise.
5682 (atomic_bit_test_set): Likewise.
5684 2012-06-22 Andreas Schwab <schwab@redhat.com>
5687 * include/link.h (struct link_map): Add l_free_initfini.
5688 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5690 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5691 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5692 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5695 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5697 * configure.in: Use AC_LANG_SOURCE.
5698 * configure: Regenerate.
5700 2012-06-22 Roland McGrath <roland@hack.frob.com>
5702 * configure.in (libc_cv_localstatedir): New substituted variable.
5703 * configure: Regenerated.
5704 * config.make.in (localstatedir): New variable, substituted from
5705 libc_cv_localstatedir.
5706 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5707 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5708 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5709 * sysdeps/gnu/configure: Regenerated.
5711 2012-06-21 Jeff Law <law@redhat.com>
5714 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5715 free. Simplify list management for _LIBC case.
5717 2012-06-21 Joseph Myers <joseph@codesourcery.com>
5720 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5721 Clear sign bit of 64-bit integer value before comparing against
5724 * sysdeps/mach/configure: Regenerated.
5726 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5729 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5731 2012-06-21 Jeff Law <law@redhat.com>
5734 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5735 uint16_t for elements in the "seen" array to avoid char overflows.
5736 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5737 * elf/dl-open.c (dl_open_worker): Likewise.
5739 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5741 * scripts/list-sources.sh: Scan PORTS for translations.
5742 * po/libc.pot: Regenerated.
5744 2012-06-21 Andreas Jaeger <aj@suse.de>
5747 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5749 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5750 * bits/byteswap-16.h (__bswap_16): Likewise.
5751 * bits/byteswap.h (__bswap_constant_16): Likewise.
5753 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5756 * sysdeps/i386/fpu_control.h: Removed.
5757 * sysdeps/x86_64/fpu_control.h: Moved to ...
5758 * sysdeps/x86/fpu_control.h: Here.
5760 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5761 (_FPU_SETCW): Likewise.
5763 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5766 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5767 * sysdeps/x86/fpu/bits/mathinline.h: This.
5768 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5772 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5773 functions if __x86_64__ is defined.
5775 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5777 * string/endian.h: Add !__ASSEMBLER__ condition for including
5778 conversion interfaces.
5780 2012-06-15 Joseph Myers <joseph@codesourcery.com>
5783 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5784 of ABS(x) in calculating zero to negative powers other than odd
5786 * math/libm-test.inc (pow_test): Add more tests.
5788 2012-06-15 Andreas Jaeger <aj@suse.de>
5790 * manual/contrib.texi (Contributors): Update entry of Liubov
5791 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5794 2012-06-15 Cyril Hrubis <metan@ucw.cz>
5796 * string/string.h: Add __wur to GNU version of strerror_r.
5798 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5801 * string/Makefile (tests): Add tst-strtok_r.
5802 * string/tst-strtok_r.c: New file.
5803 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5804 RAX_LP/RDX_LP on SAVE_PTR.
5806 2012-06-14 Roland McGrath <roland@hack.frob.com>
5808 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5810 2012-06-14 Joseph Myers <joseph@codesourcery.com>
5812 * libm_test.inc (csqrt_test): Allow more spurious underflow
5814 (j0_test): Likewise.
5815 (j1_test): Likewise.
5816 (y0_test): Likewise.
5817 (y1_test): Likewise.
5819 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5821 * po/Makefile (libc.pot): Use UTF-8 charset.
5823 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5826 Suppress sign-conversion warning from FD_SET.
5827 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5828 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5829 not unsigned long int.
5830 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5832 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5836 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5837 __extern_always_inline instead of __extern_inline.
5838 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5839 (__signbit): Likewise.
5840 (__signbitl): Support C++ namespace.
5841 (lrintf): New inline function.
5843 (llrintf): Likewise.
5855 (nearbyint): Likewise.
5856 (nearbyintf): Likewise.
5858 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5860 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5861 non-default versions.
5863 2012-06-11 Roland McGrath <roland@hack.frob.com>
5866 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5868 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5870 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5871 (FE_UPWARD, FE_DOWNWARD): Don't define.
5872 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5873 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5875 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5877 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5878 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5880 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5882 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5883 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5884 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5885 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5887 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5890 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5891 * sysdeps/i386/fpu/Implies: New file.
5892 * sysdeps/x86_64/fpu/Implies: Likewise.
5893 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5894 * sysdeps/x86/fpu/bits/fenv.h: This.
5896 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5899 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5902 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5903 character 0xffff that matches the last element of the
5906 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5908 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5911 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5913 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5914 values higher than 25.6283.
5916 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5918 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5919 subnormal exponent extraction and add some __builtin_expect.
5920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5921 Fix for subnormal mantissa calculation.
5923 2012-06-04 Mike Frysinger <vapier@gentoo.org>
5925 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5926 cpu2 is -1 and errno is not ENOSYS.
5928 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5931 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5932 * sysdeps/x86/bits/string.h: This.
5933 * sysdeps/x86_64/bits/string.h: Removed.
5935 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5936 if not compiling for x86-64, but compiling for >= i486.
5938 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5939 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5941 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5942 New macro from Linux kernel 3.4.0.
5943 (FP_XSTATE_MAGIC2): Likewise.
5944 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5945 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5946 (struct _fpx_sw_bytes): New struct.
5947 (struct _xsave_hdr): Likewise.
5948 (struct _ymmh_state): Likewise.
5949 (struct _xstate): Likewise.
5951 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5952 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5953 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5954 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5955 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5956 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5958 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5959 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5960 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5961 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5962 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5963 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5965 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5968 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5969 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5970 (sysdep_headers): Include sys/platform/ppc.h.
5971 * sysdeps/powerpc/test-gettimebase.c: Test for
5972 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5973 * manual/Makefile (appendices): Include platform.texi.
5974 * manual/contrib.texi (Contributors): Update @node pointers.
5975 * manual/maint.texi (Maintenance): Likewise.
5976 (Platform): New node.
5977 * manual/platform.texi: New file. Document the new features.
5979 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5980 Jakub Jelinek <jakub@redhat.com>
5983 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5984 where __builtin_expect is unavailable.
5986 2012-06-03 David S. Miller <davem@davemloft.net>
5988 * stdlib/longlong.h: Updated from GCC.
5990 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5993 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5994 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5997 (GLIBC_2.16): Likewise.
5999 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6001 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6003 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6006 (default-abi): New variable.
6007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6008 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6010 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6012 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6014 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6017 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6018 definition. Document in comment.
6020 2012-06-01 David S. Miller <davem@davemloft.net>
6022 * stdlib/longlong.h: Updated from GCC.
6024 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6027 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6028 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6029 sys/debugreg.h sys/io.h here.
6030 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6031 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6033 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6034 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6035 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6036 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6037 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6038 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6040 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6041 Define only if __x86_64__ is defined.
6043 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6046 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6047 Use int64_t for variable i.
6048 * math/libm-test.inc (fmod_test): Add more tests.
6050 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6051 z computation is not scheduled after fetestexcept.
6052 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6053 Use math_force_eval instead of asm to ensure calculation scheduled
6054 before exception test.
6055 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6056 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6058 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6061 computation is not scheduled after fetestexcept.
6063 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6066 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6067 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6069 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6071 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6072 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6074 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6077 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6079 (__WCHAR_MIN): Support __WORDSIZE == 64.
6080 (__WCHAR_MAX): Likewise.
6082 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6083 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6086 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6087 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6090 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6091 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6093 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6094 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6096 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6097 Defined to 1 if __x86_64__ isn't defined.
6098 (_STAT_VER_LINUX_OLD): New.
6099 (st_atime): Remove duplicate.
6100 (st_mtime): Likewise.
6101 (st_ctime): Likewise.
6103 2012-05-31 David S. Miller <davem@davemloft.net>
6105 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6108 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6110 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6114 * elf/dl-reloc.c: Include <_itoa.h>.
6115 (_dl_reloc_bad_type): Remove use of INTUSE.
6116 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6117 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6118 * stdio-common/psiginfo.c (psiginfo): Likewise.
6119 * stdio-common/psignal.c (psignal): Likewise.
6120 * string/strsignal.c (strsignal): Likewise.
6121 * include/signal.h (_sys_siglist): Declare hidden proto.
6122 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6123 INTVARDEF with libc_hidden_data_def.
6124 * stdio-common/itoa-udigits.c: Likewise.
6125 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6126 (_itoa_lower_digits_internal): Remove declaration.
6127 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6128 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6129 (_sys_sigabbrev_internal): Remove aliases.
6130 (_sys_siglist): Define hidden alias.
6132 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6137 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6140 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6141 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6143 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6144 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6145 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6146 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6147 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6148 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6150 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6151 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6152 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6154 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6162 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6163 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6164 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6166 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6167 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6168 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6169 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6170 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6171 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6173 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6174 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6176 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6177 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6179 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6180 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6181 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6183 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6184 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6186 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6188 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6189 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6190 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6192 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6194 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6196 2012-05-31 Joseph Myers <joseph@codesourcery.com>
6198 * math/math.h (M_El): Use two more decimal places.
6199 (M_LOG2El): Likewise.
6200 (M_LOG10El): Likewise.
6202 (M_LN10l): Likewise.
6204 (M_PI_2l): Likewise.
6205 (M_PI_4l): Likewise.
6206 (M_1_PIl): Likewise.
6207 (M_2_PIl): Likewise.
6208 (M_2_SQRTPIl): Likewise.
6209 (M_SQRT2l): Likewise.
6210 (M_SQRT1_2l): Likewise.
6212 2012-05-31 David S. Miller <davem@davemloft.net>
6214 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6215 values between float registers.
6216 * sysdeps/sparc/sparc64/memset.S: Likewise.
6217 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6219 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6221 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6222 -D_FORTIFY_SOURCE=1.
6223 (CPPFLAGS-tst-longjmp_chk.c): Define.
6224 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6225 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6226 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6227 CFLAGS-tst-wchar-h.c.
6229 2012-05-31 Marek Polacek <polacek@redhat.com>
6232 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6233 __endmntent_internal): Remove declaration.
6234 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6235 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6236 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6238 2012-05-30 David S. Miller <davem@davemloft.net>
6240 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6241 (___Q_simulate_exceptions): Use real FP ops rather than writing
6243 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6246 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6249 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6250 * sysdeps/x86/bits/xtitypes.h: This.
6252 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6253 * sysdeps/x86/bits/wordsize.h: This.
6255 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6256 * sysdeps/x86/bits/huge_vall.h: This.
6258 * sysdeps/i386/bits/select.h: Removed.
6259 * sysdeps/x86_64/bits/select.h: Renamed to ...
6260 * sysdeps/x86/bits/select.h: This.
6262 * sysdeps/i386/bits/setjmp.h: Removed.
6263 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6264 * sysdeps/x86/bits/setjmp.h: This.
6266 * sysdeps/i386/bits/mathdef.h: Removed.
6267 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6268 * sysdeps/x86/bits/mathdef.h: This.
6270 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6273 * include/sys/socket.h (__connect_internal)
6274 (__libc_sa_len_internal): Remove declaration.
6275 (__connect, __libc_sa_len): Declare hidden_proto.
6276 (SA_LEN): Remove use of INTUSE.
6277 * socket/connect.c: Add libc_hidden_def.
6278 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6279 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6280 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6282 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6283 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6284 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6285 of adding _internal alias.
6287 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6290 * sysdeps/i386/bits/link.h: Removed.
6291 * sysdeps/i386/bits/linkmap.h: Likewise.
6292 * sysdeps/x86_64/bits/link.h: Renamed to ...
6293 * sysdeps/x86/bits/link.h: This.
6294 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6295 * sysdeps/x86/bits/linkmap.h: This.
6297 * sysdeps/i386/bits/endian.h: Removed.
6298 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6299 * sysdeps/x86/bits/endian.h: This.
6301 * sysdeps/i386/bits/byteswap.h: Removed.
6302 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6303 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6304 * sysdeps/x86/bits/byteswap.h: This.
6305 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6306 * sysdeps/x86/bits/byteswap-16.h: This.
6307 * sysdeps/i386/Implies: Add x86.
6308 * sysdeps/x86_64/Implies: Likewise.
6310 2012-05-30 David S. Miller <davem@davemloft.net>
6312 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6313 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6314 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6315 (FP_TRAPPING_EXCEPTIONS): Define.
6316 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6317 (FP_TRAPPING_EXCEPTIONS): Define.
6318 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6319 subnormals only when inexact has been signalled or underflow
6320 exceptions are enabled.
6321 (_FP_PACK_CANONICAL): Likewise.
6323 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6326 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6327 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6329 2012-05-30 Richard Henderson <rth@twiddle.net>
6331 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6332 with #ifndef NOT_IN_libc.
6334 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6335 marked to avoid plt entry.
6337 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6340 * Makeconfig (default-abi): New macro.
6341 (abi-includes): Likewise.
6342 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6343 $(abi-$(default-abi)-lib-soname) for soname if defined.
6344 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6346 * Makefile (installed-stubs): Likewise.
6347 * include/stubs-biarch.h: Removed.
6348 * scripts/lib-names.awk: Only handle one library at a time.
6349 * scripts/soversions.awk: Remove WORDSIZE support.
6350 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6352 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6354 (syscall-list-default-condition): Likewise.
6355 (syscall-list-default-condition): Likewise.
6356 (syscall-list-includes): Likewise.
6357 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6358 syscall-list-* with abi-*. Handle undefined abi-variants.
6359 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6360 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6361 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6362 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6363 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6364 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6366 (syscall-list-32-options): Likewise.
6367 (syscall-list-32-condition): Likewise.
6368 (syscall-list-64-options): Likewise.
6369 (syscall-list-64-condition): Likewise.
6370 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6372 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6375 (abi-64-ld-soname): New macro.
6376 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6377 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6380 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6381 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6383 2012-05-30 Joseph Myers <joseph@codesourcery.com>
6385 * sysdeps/unix/sysv/linux/kernel-features.h
6386 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6387 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6388 include <kernel-features.h>.
6389 [!__NR_ftruncate64]: Remove conditional code.
6390 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6391 [__NR_ftruncate64]: Make code unconditional.
6392 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6393 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6394 include <kernel-features.h>.
6395 [!__NR_ftruncate64]: Remove conditional code.
6396 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6397 [__NR_ftruncate64]: Make code unconditional.
6398 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6400 include <kernel-features.h>.
6401 [!__NR_ftruncate64]: Remove conditional code.
6402 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6403 [__NR_ftruncate64]: Make code unconditional.
6404 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6406 include <kernel-features.h>.
6407 [!__NR_ftruncate64]: Remove conditional code.
6408 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6409 [__NR_ftruncate64]: Make code unconditional.
6410 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6412 * configure.in (libc_cv_fpie): Weaken to a compile test using
6414 * configure: Regenerated.
6416 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6431 2012-05-27 David S. Miller <davem@davemloft.net>
6433 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6435 (__Q_simulate_exceptions): Return void. Change to simulate
6436 exceptions by writing into the %fsr.
6437 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6438 (__Qp_handle_exceptions): Likewise.
6440 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6441 __Qp_handle_exceptions.
6442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6443 __Qp_handle_exceptions.
6444 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6445 as unused and give dummy FP_RND_NEAREST initializer.
6446 (FP_INHIBIT_RESULTS): Define.
6447 (___Q_simulate_exceptions): Update declaration.
6448 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6450 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6451 as unused and give dummy FP_RND_NEAREST initializer.
6452 (__Qp_handle_exceptions): Update declaration.
6453 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6456 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6458 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6459 the temporary FPU control word.
6460 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6461 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6462 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6463 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6464 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6465 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6466 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6467 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6468 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6469 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6470 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6472 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6474 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6477 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6479 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6480 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6481 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6482 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6484 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6485 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6488 2012-05-27 Ulrich Drepper <drepper@gmail.com>
6490 * po/h.po: Update from translation team.
6492 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6494 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6496 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6497 handling of denormals.
6498 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6499 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6500 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6501 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6502 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6507 2012-05-26 Marek Polacek <polacek@redhat.com>
6510 * math/libm-test.inc (fma_test): Don't always expect underflow
6513 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6516 * elf/tst-execstack.c: Include stackinfo.h.
6517 (do_test): Adjust test case to ensure that pthread_getattr_np
6518 behaviour remains the same after marking stack executable.
6520 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6522 * sysdeps/unix/sysv/linux/kernel-features.h
6523 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6524 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6526 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6527 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6528 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6530 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6531 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6533 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6535 * configure.in: Define the default includes to being none.
6536 * configure: Regenerated.
6538 2012-05-25 Roland McGrath <roland@hack.frob.com>
6540 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6541 * sysdeps/x86_64/setjmp.S: Likewise.
6542 * sysdeps/i386/bsd-setjmp.S: Likewise.
6543 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6544 * sysdeps/i386/setjmp.S: Likewise.
6545 * sysdeps/i386/__longjmp.S: Likewise.
6546 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6547 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6549 * include/stap-probe.h: New file.
6550 * configure.in: Handle --enable-systemtap.
6551 * configure: Regenerated.
6552 * config.h.in (USE_STAP_PROBE): New #undef.
6553 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6554 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6555 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6557 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6560 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6561 to 2.4.0 where earlier.
6562 * sysdeps/unix/sysv/linux/configure: Regenerated.
6563 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6564 <kernel-features.h>.
6565 [__ASSUME_32BITUIDS]: Make code unconditional.
6566 [!__ASSUME_32BITUIDS]: Remove conditional code.
6567 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6568 <kernel-features.h>.
6569 [__ASSUME_32BITUIDS]: Make code unconditional.
6570 [!__ASSUME_32BITUIDS]: Remove conditional code.
6571 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6572 [__ASSUME_32BITUIDS]: Make code unconditional.
6573 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6574 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6575 <kernel-features.h>.
6576 [__ASSUME_32BITUIDS]: Make code unconditional.
6577 [!__ASSUME_32BITUIDS]: Remove conditional code.
6578 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6579 <kernel-features.h>.
6580 [__ASSUME_32BITUIDS]: Make code unconditional.
6581 [!__ASSUME_32BITUIDS]: Remove conditional code.
6582 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6583 <kernel-features.h>.
6584 [__ASSUME_32BITUIDS]: Make code unconditional.
6585 [!__ASSUME_32BITUIDS]: Remove conditional code.
6586 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6587 <kernel-features.h>.
6588 [__ASSUME_32BITUIDS]: Make code unconditional.
6589 [!__ASSUME_32BITUIDS]: Remove conditional code.
6590 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6591 <kernel-features.h>.
6592 [__ASSUME_32BITUIDS]: Make code unconditional.
6593 [!__ASSUME_32BITUIDS]: Remove conditional code.
6594 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6595 <kernel-features.h>.
6596 [__ASSUME_32BITUIDS]: Make code unconditional.
6597 [!__ASSUME_32BITUIDS]: Remove conditional code.
6598 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6599 <kernel-features.h>.
6600 [__ASSUME_32BITUIDS]: Make code unconditional.
6601 [!__ASSUME_32BITUIDS]: Remove conditional code.
6602 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6603 <kernel-features.h>.
6604 [__ASSUME_32BITUIDS]: Make code unconditional.
6605 [!__ASSUME_32BITUIDS]: Remove conditional code.
6606 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6607 <kernel-features.h>.
6608 [__ASSUME_32BITUIDS]: Make code unconditional.
6609 [!__ASSUME_32BITUIDS]: Remove conditional code.
6610 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6611 <kernel-features.h>.
6612 [__ASSUME_32BITUIDS]: Make code unconditional.
6613 [!__ASSUME_32BITUIDS]: Remove conditional code.
6614 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6615 <kernel-features.h>.
6616 [__NR_setresgid] (__setresgid): Do not declare.
6617 [__ASSUME_32BITUIDS]: Make code unconditional.
6618 [!__ASSUME_32BITUIDS]: Remove conditional code.
6619 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6620 <kernel-features.h>.
6621 [__NR_setresuid] (__setresuid): Do not declare.
6622 [__ASSUME_32BITUIDS]: Make code unconditional.
6623 [!__ASSUME_32BITUIDS]: Remove conditional code.
6624 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6625 <kernel-features.h>.
6626 [__ASSUME_32BITUIDS]: Make code unconditional.
6627 [!__ASSUME_32BITUIDS]: Remove conditional code.
6628 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6629 <kernel-features.h>.
6630 [__ASSUME_32BITUIDS]: Make code unconditional.
6631 [!__ASSUME_32BITUIDS]: Remove conditional code.
6632 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6633 <kernel-features.h>.
6634 [__ASSUME_32BITUIDS]: Make code unconditional.
6635 [!__ASSUME_32BITUIDS]: Remove conditional code.
6636 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6637 <kernel-features.h>.
6638 [__ASSUME_32BITUIDS]: Make code unconditional.
6639 [!__ASSUME_32BITUIDS]: Remove conditional code.
6640 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6641 <kernel-features.h>.
6642 [__ASSUME_32BITUIDS]: Make code unconditional.
6643 [!__ASSUME_32BITUIDS]: Remove conditional code.
6644 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6645 <kernel-features.h>.
6646 [__ASSUME_32BITUIDS]: Make code unconditional.
6647 [!__ASSUME_32BITUIDS]: Remove conditional code.
6648 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6649 <kernel-features.h>.
6650 [__ASSUME_32BITUIDS]: Make code unconditional.
6651 [!__ASSUME_32BITUIDS]: Remove conditional code.
6652 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6653 <kernel-features.h>.
6654 [__ASSUME_32BITUIDS]: Make code unconditional.
6655 [!__ASSUME_32BITUIDS]: Remove conditional code.
6656 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6657 <kernel-features.h>.
6658 [__ASSUME_32BITUIDS]: Make code unconditional.
6659 [!__ASSUME_32BITUIDS]: Remove conditional code.
6660 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6661 <kernel-features.h>.
6662 [__ASSUME_32BITUIDS]: Make code unconditional.
6663 [!__ASSUME_32BITUIDS]: Remove conditional code.
6664 * sysdeps/unix/sysv/linux/kernel-features.h
6665 (__ASSUME_SETRESUID_SYSCALL): Remove.
6666 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6667 (__ASSUME_32BITUIDS): Likewise.
6668 (__ASSUME_LDT_WORKS): Likewise.
6669 (__ASSUME_O_DIRECTORY): Likewise.
6670 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6671 architecture but not kernel version.
6672 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6673 (__ASSUME_MMAP2_SYSCALL): Likewise.
6674 (__ASSUME_STAT64_SYSCALL): Likewise.
6675 (__ASSUME_IPC64): Likewise.
6676 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6677 <kernel-features.h>.
6678 [__ASSUME_32BITUIDS]: Make code unconditional.
6679 [!__ASSUME_32BITUIDS]: Remove conditional code.
6680 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6681 <kernel-features.h>.
6682 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6683 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6684 132096]: Remove conditional code.
6685 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6686 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6687 <kernel-features.h>.
6688 [__ASSUME_32BITUIDS]: Make code unconditional.
6689 [!__ASSUME_32BITUIDS]: Remove conditional code.
6690 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6691 <kernel-features.h>.
6692 [__ASSUME_32BITUIDS]: Make code unconditional.
6693 [!__ASSUME_32BITUIDS]: Remove conditional code.
6694 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6695 <kernel-features.h>.
6696 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6698 (__setresgid): Do not declare.
6699 [__ASSUME_32BITUIDS]: Make code unconditional.
6700 [!__ASSUME_32BITUIDS]: Remove conditional code.
6701 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6702 <kernel-features.h>.
6703 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6705 (__setresuid): Do not declare.
6706 [__ASSUME_32BITUIDS]: Make code unconditional.
6707 [!__ASSUME_32BITUIDS]: Remove conditional code.
6708 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6709 <kernel-features.h>.
6710 [__ASSUME_32BITUIDS]: Make code unconditional.
6711 [!__ASSUME_32BITUIDS]: Remove conditional code.
6712 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6713 <kernel-features.h>.
6714 [__ASSUME_32BITUIDS]: Make code unconditional.
6715 [!__ASSUME_32BITUIDS]: Remove conditional code.
6717 2012-05-25 Richard Henderson <rth@twiddle.net>
6719 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6720 dl_hwcap to ifunc resolver.
6721 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6723 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6724 dl_hwcap to ifunc resolver.
6725 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6727 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6730 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6731 for |x| <= 2**-26, not 2**-57.
6732 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6735 2012-05-24 Jeff Law <law@redhat.com>
6737 * stdio-common/Makefile (tests): Add bug25.
6738 * stdio-common/bug25.c: New test.
6740 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6743 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6744 multiple of MALLOC_ALIGNMENT in size.
6745 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6747 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6749 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6751 (FILENAME_MAX): Use macro-int-constant.
6752 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6753 (_IOFBF): Use macro-int-constant.
6756 (SEEK_CUR): Likewise.
6757 (SEEK_END): Likewise.
6758 (SEEK_SET): Likewise.
6759 (TMP_MAX): Likewise.
6760 (EOF): Use macro-int-constant. Require < 0.
6761 (NULL): Use macro-constant. Require == 0.
6762 (stdin): Require type to be FILE *.
6765 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6767 (EXIT_SUCCESS): Likewise.
6768 (NULL): Use macro-constant. Require == 0.
6769 (RAND_MAX): Use macro-int-constant.
6770 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6771 [C99-based standards] (strtof): Require function.
6772 [C99-based standards] (strtold): Likewise.
6773 [C99-based standards] (strtoll): Likewise.
6774 [C99-based standards] (strtoull): Likewise.
6775 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6776 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6777 [ISO || ISO99 || ISO11] (math.h): Likewise.
6778 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6779 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6780 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6782 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6785 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6786 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6787 * intl/dgettext.c (DCGETTEXT): Likewise.
6788 * intl/gettext.c (DCGETTEXT): Likewise.
6789 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6790 * posix/regex_internal.h (gettext): Likewise.
6791 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6793 * include/argz.h (__argz_count_internal)
6794 (__argz_stringify_internal): Remove declaration.
6795 (__argz_count, __argz_stringify): Declare hidden proto.
6796 * intl/dcgettext.c: Remove use of INTDEF.
6797 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6798 * string/argz-stringify.c: Likewise.
6799 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6800 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6801 Declare hidden proto.
6802 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6803 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6804 Declare hidden proto.
6805 * include/stdio.h (__asprintf_internal): Don't declare.
6806 (__asprintf): Don't define as macro. Declare hidden proto.
6807 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6808 (__fsetlocking): Declare hidden proto.
6809 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6810 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6812 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6813 (_IO_setlinebuf): Remove use of INTUSE.
6814 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6815 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6816 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6818 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6819 (_IO_do_flush): Remove use of INTUSE.
6820 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6821 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6822 (_IO_adjust_column, _IO_least_wmarker)
6823 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6824 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6825 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6826 (_IO_default_doallocate, _IO_wdefault_doallocate)
6827 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6828 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6829 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6830 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6831 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6832 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6833 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6834 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6835 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6836 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6837 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6838 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6839 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6841 (_IO_flush_all_internal, _IO_adjust_column_internal)
6842 (_IO_default_uflow_internal, _IO_default_finish_internal)
6843 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6844 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6845 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6846 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6847 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6848 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6849 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6850 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6851 (_IO_file_close_internal, _IO_file_close_it_internal)
6852 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6853 (_IO_file_init_internal, _IO_file_attach_internal)
6854 (_IO_file_fopen_internal, _IO_file_read_internal)
6855 (_IO_file_sync_internal, _IO_file_seek_internal)
6856 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6857 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6858 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6859 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6860 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6861 (_IO_list_all_internal, _IO_link_in_internal)
6862 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6863 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6864 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6865 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6866 (_IO_do_write_internal, _IO_padn_internal)
6867 (_IO_getline_info_internal, _IO_getline_internal)
6868 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6869 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6870 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6871 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6872 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6873 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6874 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6875 with libc_hidden_ver, remove use of INTUSE.
6876 * libio/genops.c: Likewise.
6877 * libio/freopen.c: Likewise.
6878 * libio/freopen64.c: Likewise.
6879 * libio/iofclose.c: Likewise.
6880 * libio/iofdopen.c: Likewise.
6881 * libio/iofflush.c: Likewise.
6882 * libio/iofflush_u.c: Likewise.
6883 * libio/iofgets.c: Likewise.
6884 * libio/iofgets_u.c: Likewise.
6885 * libio/iofopen.c: Likewise.
6886 * libio/iofopncook.c: Likewise.
6887 * libio/iofread.c: Likewise.
6888 * libio/iofread_u.c: Likewise.
6889 * libio/ioftell.c: Likewise.
6890 * libio/iofwrite.c: Likewise.
6891 * libio/iogetline.c: Likewise.
6892 * libio/iogets.c: Likewise.
6893 * libio/iogetwline.c: Likewise.
6894 * libio/iopadn.c: Likewise.
6895 * libio/iopopen.c: Likewise.
6896 * libio/ioseekoff.c: Likewise.
6897 * libio/ioseekpos.c: Likewise.
6898 * libio/iosetbuffer.c: Likewise.
6899 * libio/iosetvbuf.c: Likewise.
6900 * libio/ioungetc.c: Likewise.
6901 * libio/ioungetwc.c: Likewise.
6902 * libio/iovdprintf.c: Likewise.
6903 * libio/iovsprintf.c: Likewise.
6904 * libio/iovsscanf.c: Likewise.
6905 * libio/memstream.c: Likewise.
6906 * libio/obprintf.c: Likewise.
6907 * libio/oldfileops.c: Likewise.
6908 * libio/oldiofclose.c: Likewise.
6909 * libio/oldiofdopen.c: Likewise.
6910 * libio/oldiofopen.c: Likewise.
6911 * libio/oldiopopen.c: Likewise.
6912 * libio/oldstdfiles.c: Likewise.
6913 * libio/putc.c: Likewise.
6914 * libio/setbuf.c: Likewise.
6915 * libio/setlinebuf.c: Likewise.
6916 * libio/stdfiles.c: Likewise.
6917 * libio/strops.c: Likewise.
6918 * libio/vasprintf.c: Likewise.
6919 * libio/vscanf.c: Likewise.
6920 * libio/vsnprintf.c: Likewise.
6921 * libio/vswprintf.c: Likewise.
6922 * libio/wfiledoalloc.c: Likewise.
6923 * libio/wfileops.c: Likewise.
6924 * libio/wgenops.c: Likewise.
6925 * libio/wmemstream.c: Likewise.
6926 * libio/wstrops.c: Likewise.
6927 * libio/__fpurge.c: Likewise.
6928 * libio/__fsetlocking.c: Likewise.
6929 * assert/assert.c: Likewise.
6930 * debug/fgets_chk.c: Likewise.
6931 * debug/fgets_u_chk.c: Likewise.
6932 * debug/fread_chk.c: Likewise.
6933 * debug/fread_u_chk.c: Likewise.
6934 * debug/gets_chk.c: Likewise.
6935 * debug/obprintf_chk.c: Likewise.
6936 * debug/vasprintf_chk.c: Likewise.
6937 * debug/vdprintf_chk.c: Likewise.
6938 * debug/vsnprintf_chk.c: Likewise.
6939 * debug/vsprintf_chk.c: Likewise.
6940 * malloc/mtrace.c: Likewise.
6941 * misc/error.c: Likewise.
6942 * misc/syslog.c: Likewise.
6943 * stdio-common/asprintf.c: Likewise.
6944 * stdio-common/fxprintf.c: Likewise.
6945 * stdio-common/getw.c: Likewise.
6946 * stdio-common/isoc99_fscanf.c: Likewise.
6947 * stdio-common/isoc99_scanf.c: Likewise.
6948 * stdio-common/isoc99_vfscanf.c: Likewise.
6949 * stdio-common/isoc99_vscanf.c: Likewise.
6950 * stdio-common/isoc99_vsscanf.c: Likewise.
6951 * stdio-common/printf-prs.c: Likewise.
6952 * stdio-common/printf_fp.c: Likewise.
6953 * stdio-common/printf_fphex.c: Likewise.
6954 * stdio-common/printf_size.c: Likewise.
6955 * stdio-common/putw.c: Likewise.
6956 * stdio-common/scanf.c: Likewise.
6957 * stdio-common/sprintf.c: Likewise.
6958 * stdio-common/tmpfile.c: Likewise.
6959 * stdio-common/vfprintf.c: Likewise.
6960 * stdio-common/vfscanf.c: Likewise.
6961 * stdlib/strfmon_l.c: Likewise.
6962 * sunrpc/openchild.c: Likewise.
6963 * sunrpc/xdr_stdio.c: Likewise.
6964 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6965 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6967 2012-05-24 Roland McGrath <roland@hack.frob.com>
6969 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6971 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6972 in the third column, to generate for the shared library an IFUNC
6973 that uses _dl_vdso_vsym.
6974 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6975 * Makeconfig (object-suffixes-noshared): New variable.
6977 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6978 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6979 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6980 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6983 * include/sys/time.h (__gettimeofday): Remove macro.
6984 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6985 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6987 (__gettimeofday): Add libc_hidden_def.
6988 (gettimeofday): Add libc_hidden_weak.
6989 * sysdeps/mach/gettimeofday.c: Likewise.
6990 * sysdeps/posix/gettimeofday.c: Likewise.
6991 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6992 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6993 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6994 (__gettimeofday_internal): Remove strong_alias.
6995 (__gettimeofday): Add libc_hidden_def.
6996 (gettimeofday): Add libc_hidden_weak.
6997 * sysdeps/unix/syscalls.list (gettimeofday):
6998 Remove __gettimeofday_internal alias.
7000 2012-05-24 Daniel Jacobowitz <drow@false.org>
7001 H.J. Lu <hongjiu.lu@intel.com>
7004 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7005 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7006 (largebin_index_32_big): New.
7007 (largebin_index): Use it for 16-byte alignment.
7008 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7009 correction with front_misalign.
7011 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7039 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7040 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7042 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7046 * math/libm-test.inc (exp_test): Add test from bug 14036.
7047 (pow_test): Add test from bug 10846.
7049 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7051 (special_function): Do not include flags in test name.
7052 (parse_args): Likewise.
7053 * sysdeps/i386/fpu/libm-test-ulps: Update.
7054 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7055 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7056 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7059 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7061 * math/libm-test.inc ("Philosophy"): Update comment about
7063 (UNDERFLOW_EXCEPTION): New macro.
7064 (UNDERFLOW_EXCEPTION_OK): Likewise.
7065 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7066 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7067 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7068 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7069 (INVALID_EXCEPTION_OK): Update value.
7070 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7071 (OVERFLOW_EXCEPTION_OK): Likewise.
7072 (IGNORE_ZERO_INF_SIGN): Likewise.
7073 (test_exceptions): Handle underflow exceptions.
7074 (acos_test): Update for underflow exception expectations.
7075 (cexp_test): Likewise.
7076 (clog_test): Likewise.
7077 (clog10_test): Likewise.
7078 (csqrt_test): Likewise.
7079 (ctan_test): Likewise.
7080 (ctanh_test): Likewise.
7081 (exp_test): Likewise.
7082 (exp10_test): Likewise.
7083 (exp2_test): Likewise.
7084 (expm1_test): Likewise.
7085 (fma_test): Likewise.
7086 (j0_test): Likewise.
7087 (jn_test): Likewise.
7088 (nexttoward_test): Likewise.
7089 (pow_test): Likewise.
7090 (scalbn_test): Likewise.
7091 (scalbln_test): Likewise.
7092 (tan_test): Likewise.
7093 (y1_test): Likewise.
7094 * sysdeps/i386/fpu/libm-test-ulps: Update.
7095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7097 2012-05-23 David S. Miller <davem@davemloft.net>
7099 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7100 (__libc_sigaction): Remove unused local variables.
7102 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7104 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7106 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7108 mktime: avoid signed integer overflow
7109 * time/mktime.c (__mktime_internal): Do not mishandle the case
7110 where diff == INT_MIN.
7112 mktime: simplify computation of average
7113 * time/mktime.c (ranged_convert): Use new time_t_avg function
7114 instead of rolling our own (probably-slower) code.
7116 mktime: do not assume signed right shift propagates sign bit
7117 * time/mktime.c (isdst_differ): New static function.
7118 (__mktime_internal): No need to normalize tm_isdst now.
7119 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7122 mktime: merge another wrapv change from gnulib
7123 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7124 from some compilers.
7126 mktime: remove incorrect attempt at unusual arithmetics
7127 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7128 The code didn't really work on such machines anyway.
7129 (TYPE_MINIMUM): Assume two's complement.
7130 (twos_complement_arithmetic): Verify that long_int and time_t
7131 are two's complement (or unsigned, in the latter case).
7133 mktime: check signed shifts on long_int and time_t, too
7134 * time/mktime.c (SHR): Check that shifts work as desired
7135 on the types long_int and time_t too, as SHR is used on
7138 mktime: do not assume 'long' is wide enough
7139 * time/mktime.c (verify): Move decl up.
7140 (long_int): New type.
7141 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7142 to remove assumption in the code that 'long' is wide enough to
7143 store year values. This assumption is not true on x32 and on
7144 some non-glibc platforms.
7146 mktime: merge wrapv change from gnulib
7147 * time/mktime.c (WRAPV): New macro.
7148 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7149 (guess_time_tm, __mktime_internal): Do not assume that signed
7150 integer overflow wraps around; modern compilers generate code
7151 where this assumption is no longer valid.
7153 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7155 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7156 Replace "jmp L(pseudo_end)" with "ret".
7157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7160 2012-05-23 Andreas Jaeger <aj@suse.de>
7162 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7163 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7165 2012-05-23 Andreas Jaeger <aj@suse.de>
7166 Maximilian Attems <max@stro.at>
7168 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7171 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7173 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7174 code so that pseudo_end is just ret and the stack pointer is
7175 correct also for static library in error case.
7177 2012-05-23 Joseph Myers <joseph@codesourcery.com>
7179 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7180 move to syscalls.list.
7181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7186 * manual/install.texi (Running make install): Do not mention Linux
7187 kernel version for which pt_chown is not needed.
7188 (Linux): Do not mention problems with nscd with 2.0 kernels.
7189 * INSTALL: Regenerated.
7191 2012-05-23 Andreas Jaeger <aj@suse.de>
7193 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7194 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7196 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7197 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7198 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7199 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7200 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7201 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7202 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7203 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7204 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7205 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7206 * sysdeps/unix/sysv/linux/bits/in.h
7207 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7209 2012-05-22 Roland McGrath <roland@hack.frob.com>
7211 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7212 (PREPARE_VERSION): Just use assert instead, it will be elided
7213 under [NDEBUG] anyway.
7215 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7217 * sysdeps/unix/sysv/linux/Makefile: Include
7218 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7219 (sysdep_routines): Remove sysctl.
7220 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7221 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7222 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7223 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7224 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7226 2012-05-22 Andreas Jaeger <aj@suse.de>
7228 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7229 that pseudo_end is just ret and the stack pointer is correct also
7230 for static library in error case.
7232 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7235 * nss/nsswitch.c (defconfig_entries): New variable.
7236 (__nss_database_lookup): Don't leak defconfig entries.
7237 (nss_parse_service_list): Don't leak on error paths.
7238 (free_database_entries): New function.
7239 (free_defconfig): New function.
7240 (free_mem): Move common code to free_database_entries.
7242 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7244 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7246 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7248 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7249 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7252 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7253 (INTERNAL_SYSCALL_TYPES): Likewise.
7254 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7255 (LOAD_REGS_TYPES_[1-6]): Likewise.
7256 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7257 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7259 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7261 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7262 copysignl for GLIBC_2_0.
7263 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7264 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7266 logbl for GLIBC_2_0.
7267 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7268 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7270 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7272 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7273 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7275 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7278 * time/mktime.c: Update copyright years.
7280 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7282 mktime: merge comment-quoting-style change from gnulib
7283 * time/mktime.c: Quote 'like this' in comments.
7284 The GNU coding standards suggest that we no longer quote `like this',
7285 as "`" and "'" are typically rendered asymmetrically nowadays.
7286 The typical gnulib style is to quote 'like this' when quoting
7287 code, and "like this" when quoting English.
7289 * time/mktime.c (compile-command): Add "-I.".
7291 mktime: merge mktime-internal.h change from gnulib
7292 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7294 mktime: merge time_r change from gnulib
7295 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7297 mktime: merge DEBUG change from gnulib
7298 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7299 case system <time.h> has a #define.
7301 mktime: merge <sys/types.h> change from gnulib
7302 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7303 since <time.t> is now guaranteed to define time_t.
7305 mktime: merge HAVE_CONFIG_H change from gnulib
7306 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7308 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7310 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7313 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7315 (struct rusage): Use anonymous union to pad each field to
7318 2012-05-21 David S. Miller <davem@davemloft.net>
7320 * Makefules (o-iterator): Remove .s cases.
7321 (compile-command.s): Delete.
7322 (COMPILE.s): Delete.
7323 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7325 2012-05-21 Joseph Myers <joseph@codesourcery.com>
7327 * configure.in (libc_cv_predef_stack_protector): Only consider
7328 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7329 * configure: Regenerated.
7331 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7333 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7334 New macro. Use R*LP on int and pointer.
7335 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7336 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7337 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7338 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7340 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7341 [__WORDSIZE_TIME64_COMPAT32] instead of
7342 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7343 (struct utmp): Likewise.
7344 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7345 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7347 (__WORDSIZE_TIME64_COMPAT32): This.
7348 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7349 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7350 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7351 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7352 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7353 (__WORDSIZE_TIME64_COMPAT32): New macro.
7355 2012-05-21 Andreas Jaeger <aj@suse.de>
7357 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7358 only if [SHARED]. Add prototype for __wcschr_ia32.
7360 2012-05-21 Roland McGrath <roland@hack.frob.com>
7362 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7363 of %rbp unmolested in the jmp_buf while mangling the low bits.
7364 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7365 unmolested high bits of %rbp while demangling the low bits.
7366 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7368 2012-05-21 Andreas Jaeger <aj@suse.de>
7370 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7371 * sunrpc/svc_simple.c: Use it for registerrpc.
7372 * sunrpc/xcrypt.c: Use it for passwd2des.
7374 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7376 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7378 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7379 Don't define if [__SYSCALL_WORDSIZE != 32].
7380 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7383 2012-05-21 Bruno Haible <bruno@clisp.org>
7384 Andreas Jaeger <aj@suse.de>
7386 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7387 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7388 inptr and inend for must_buffer_ch.
7389 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7390 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7391 * stdio-common/Makefile (tests): Remove bug15.
7392 (bug15-ENV): Remove macro.
7393 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7396 2012-05-19 Andreas Jaeger <aj@suse.de>
7397 Roland McGrath <roland@hack.frob.com>
7399 * manual/contrib.texi: Completely rewritten. It contains now an
7400 alphabetical list of contributors and their contributions.
7402 2012-05-21 Richard Henderson <rth@twiddle.net>
7404 * misc/getauxval.c (__getauxval): Use unsigned long int.
7405 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7406 (getauxval): Use unsigned long int.
7408 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7410 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7412 2012-05-21 Roland McGrath <roland@hack.frob.com>
7414 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7415 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7416 __alignof__ (long double).
7418 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7422 2012-05-20 Richard Henderson <rth@twiddle.net>
7424 * misc/getauxval.c: New file.
7425 * misc/sys/auxv.h: New file.
7426 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7427 (routines): Add getauxval.
7428 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7429 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7430 * elf/dl-sysdep.c (_dl_auxv): Remove.
7431 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7432 * elf/dl-support.c (_dl_auxv): New variable.
7433 (_dl_aux_init): Initialize it.
7434 * manual/startup.texi (Auxiliary Vector): New node.
7435 * sysdeps/generic/bits/hwcap.h: New file.
7436 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7437 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7438 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7439 * sysdeps/sparc/sysdep.h: ... here. Include it.
7440 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7441 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7447 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7453 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7457 2012-05-19 David S. Miller <davem@davemloft.net>
7459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7461 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7464 * math/s_ccosh.c: Include <float.h>
7465 (__ccosh): Avoid internal overflow calculating sinh and cosh
7466 values before multiplying by sin and cos values.
7467 * math/s_ccoshf.c: Likewise.
7468 * math/s_ccoshl.c: Likewise.
7469 * math/s_csin.c: Likewise.
7470 * math/s_csinf.c: Likewise.
7471 * math/s_csinl.c: Likewise.
7472 * math/s_csinh.c: Likewise.
7473 * math/s_csinhf.c: Likewise.
7474 * math/s_csinhl.c: Likewise.
7475 * math/libm-test.inc (ccos_test): Add more tests.
7476 (ccosh_test): Likewise.
7477 (csin_test): Likewise.
7478 (csinh_test): Likewise.
7479 * sysdeps/i386/fpu/libm-test-ulps: Update.
7480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7482 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7484 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7485 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7487 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7489 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7491 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7492 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7493 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7494 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7495 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7496 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7497 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7498 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7499 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7500 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7501 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7502 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7503 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7504 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7505 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7506 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7507 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7508 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7509 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7510 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7511 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7512 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7513 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7514 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7515 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7516 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7517 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7518 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7519 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7520 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7521 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7523 2012-05-18 Andreas Jaeger <aj@suse.de>
7525 * csu/.gitignore: Delete.
7527 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7529 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7530 (timex): Use __syscall_slong_t.
7532 2012-05-18 Andreas Jaeger <aj@suse.de>
7533 Carlos O'Donell <carlos_odonell@mentor.com>
7535 * manual/install.texi (Configuring and compiling): Update
7536 description about files modified in the source directory.
7537 * INSTALL: Regenerated.
7539 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7541 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7542 value. Use "or" to set return value to -1.
7543 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7544 negate return value.
7546 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7548 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7549 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7550 failure if the compiler has Graphite support disabled.
7551 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7553 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7554 CFLAGS-memmove.c): Likewise.
7555 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7558 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7560 * sysdeps/x86_64/x32/_itoa.h: New file.
7562 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7563 getdents system call only if kernel and user dirents have the
7564 same d_ino and d_off.
7566 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7567 LLONG_MAX != LONG_MAX.
7568 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7569 (_fitoa_word): Likewise.
7571 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7573 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7574 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7575 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7577 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7578 include <bits/wordsize.h>. Check __x86_64__ instead of
7580 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7581 if __x86_64__ is defined. Use anonymous union on fpstate.
7583 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7586 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7588 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7589 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7590 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7591 Refer to _rtld_local_ro instead of _rtld_global_ro.
7592 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7594 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7596 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7598 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7599 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7600 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7602 * sysdeps/powerpc/powerpc32/dl-machine.c
7603 (__elf_machine_runtime_setup) [PROF]: Don't reference
7606 2012-05-18 Andreas Jaeger <aj@suse.de>
7608 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7609 function only available for GCCs before 3.4 since GCC 3.4
7610 introduced a builtin.
7612 (llrintf): Likewise.
7620 (nearbyint): Likewise.
7621 (nearbyintf): Likewise.
7627 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7629 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7630 on both fields and cast pointer to __syscall_ulong_t.
7632 * bits/types.h (__fsword_t): New type.
7633 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7634 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7635 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7636 (__FSWORD_T_TYPE): Likewise.
7637 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7638 (__FSWORD_T_TYPE): Likewise.
7639 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7640 (__FSWORD_T_TYPE): Likewise.
7641 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7642 (__FSWORD_T_TYPE): Likewise.
7643 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7644 __SWORD_TYPE with __fsword_t.
7645 (statfs64): Likewise.
7647 2012-05-17 David S. Miller <davem@davemloft.net>
7649 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7651 2012-05-17 Andreas Jaeger <aj@suse.de>
7653 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7656 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7658 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7660 2012-05-17 Andreas Jaeger <aj@suse.de>
7662 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7665 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7667 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7669 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7671 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7672 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7674 2012-05-17 Andreas Jaeger <aj@suse.de>
7675 Carlos O'Donell <carlos_odonell@mentor.com>
7678 * sysdeps/x86_64/multiarch/init-arch.h
7679 (bit_YMM_Usable): Rename to...
7680 (bit_AVX_Usable): ... this.
7681 (bit_FMA4_Usable): New macro.
7682 (bit_XMM_state): New macro.
7683 (bit_YMM_state): New macro.
7684 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7685 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7686 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7687 (CPUID_OSXSAVE): New macro.
7688 (CPUID_AVX): New macro.
7689 (CPUID_FMA4): New macro.
7690 (index_YMM_Usable): Rename to...
7691 (index_AVX_Usable): ... this.
7692 (HAS_AVX): Use HAS_ARCH_FEATURE.
7693 (HAS_FMA4): Likewise.
7694 (HAS_YMM_USABLE): Remove.
7695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7696 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7698 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7699 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7700 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7701 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7702 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7704 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7706 * math/libm-test.c: Support platforms without multiple rounding modes.
7707 * math/bug-nextafter.c: Support platforms without FP exceptions.
7708 * math/bug-nexttoward.c: Likewise.
7709 * math/test-fenv.c: Likewise.
7710 * math/test-misc.c: Likewise.
7711 * stdlib/bug-getcontext.c: Likewise.
7713 2012-05-17 Andreas Jaeger <aj@suse.de>
7715 * manual/examples/search.c (critter_cmp): Change signature to
7717 * manual/string.texi (Collation Functions): Likewise.
7719 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7721 * bits/types.h: Fold copyright years.
7722 * bits/typesizes.h: Likewise.
7723 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7724 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7725 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7727 * time/time.h: Likewise.
7729 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7732 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7733 in instead of returning them. Return void.
7734 (__libc_mallinfo): Accumulate over all arenas.
7735 (__malloc_stats): Adjust for change in int_mallinfo interface.
7737 2012-05-16 Roland McGrath <roland@hack.frob.com>
7740 * configure.in (NM): Add AC_CHECK_TOOL for it.
7741 (libc_extra_cflags): New substituted variable.
7742 Check for -fstack-protector being used implicitly.
7743 * configure: Regenerated.
7744 * config.make.in (config-extra-cflags): New variable,
7745 gets @libc_extra_cflags@.
7746 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7749 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7750 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7751 * configure: Regenerated.
7752 * config.make.in (CPPUNDEFS): New substituted variable.
7753 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7754 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7755 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7757 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7759 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7760 (mq_attr): Use __syscall_slong_t.
7762 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7764 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7765 Check __x86_64__ instead of __WORDSIZE.
7766 (_STAT_VER_LINUX): Likewise.
7767 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7768 __syscall_ulong_t and __syscall_slong_t.
7771 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7773 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7775 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7777 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7779 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7781 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7784 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7785 include <bits/wordsize.h>. Check __x86_64__ instead of
7787 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7789 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7791 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7792 include <bits/wordsize.h>. Check __x86_64__ instead of
7794 (user_regs_struct): Use "__extension__ unsigned long long"
7795 instead of "unsigned long" if __x86_64__ is defined.
7796 (user): Likewise. Pad after pointer field if __ILP32__ is
7799 2012-05-16 Joseph Myers <joseph@codesourcery.com>
7801 * configure.in (makeinfo): Require version 4.5 or later. Allow
7803 * configure: Regenerated.
7804 * manual/install.texi (texinfo): Increase version requirement to
7806 * INSTALL: Regenerated.
7808 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7810 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7812 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7814 * sysdeps/x86_64/x32/ffs.c: New file.
7816 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7818 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7819 defined. Use __syscall_ulong_t.
7820 (shminfo): Use __syscall_ulong_t.
7821 (shm_info): Likewise.
7823 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7826 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7828 (msgqnum_t): Use __syscall_ulong_t.
7829 (msglen_t): Likewise.
7830 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7833 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7834 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7836 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7838 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7839 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7841 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7844 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7845 include <bits/wordsize.h>. Check __x86_64__ instead of
7848 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7849 "unsigned long long int" if __x86_64__ is defined.
7850 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7852 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7853 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7854 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7856 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7858 (GET_PC): Cast to uintptr_t first.
7859 (GET_FRAME): Likewise.
7860 (GET_STACK): Likewise.
7862 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7863 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7864 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7865 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7866 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7867 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7868 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7869 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7870 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7871 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7872 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7873 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7874 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7875 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7876 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7877 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7878 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7879 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7880 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7881 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7882 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7883 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7884 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7885 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7886 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7887 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7888 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7889 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7890 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7892 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7894 * Makerules (+depfiles): Also collect depfiles from .oS in
7896 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7897 .oS, $(libnldbl-routines)).
7899 * Makerules (native-compile-mkdep-flags): Define.
7900 * sunrpc/Makefile (extra-objs): Add $(addprefix
7901 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7902 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7903 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7904 calling $(make-target-directory).
7906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7908 * bits/types.h (__snseconds_t): Removed.
7909 * time/time.h (struct timespec): Replace __snseconds_t with
7911 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7912 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7914 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7915 (__SNSECONDS_T_TYPE): Likewise.
7916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7917 (__SNSECONDS_T_TYPE): Likewise.
7918 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7919 (__SNSECONDS_T_TYPE): Likewise.
7921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7923 * sysdeps/mach/hurd/bits/typesizes.h
7924 (__SYSCALL_SLONG_TYPE): New macro.
7925 (__SYSCALL_ULONG_TYPE): Likewise.
7927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7929 * bits/types.h (__syscall_slong_t): New type.
7930 (__syscall_ulong_t): Likewise.
7932 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7933 (__SYSCALL_ULONG_TYPE): Likewise.
7934 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7935 (__SYSCALL_SLONG_TYPE): Likewise.
7936 (__SYSCALL_ULONG_TYPE): Likewise.
7937 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7938 (__SYSCALL_SLONG_TYPE): Likewise.
7939 (__SYSCALL_ULONG_TYPE): Likewise.
7940 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7941 (__SYSCALL_SLONG_TYPE): Likewise.
7942 (__SYSCALL_ULONG_TYPE): Likewise.
7944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7946 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7947 Add sigaltstack-offsets.sym.
7948 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7949 <sigaltstack-offsets.h>.
7950 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7951 longjmp_msg pointer.
7952 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7953 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7955 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7957 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7959 * elf/stackguard-macros.h: Remove file.
7960 * sysdeps/generic/stackguard-macros.h: New file.
7961 * sysdeps/i386/stackguard-macros.h: Likewise.
7962 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7963 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7964 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7965 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7966 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7967 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7968 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7969 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7970 <elf/stackguard-macros.h>.
7973 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7974 __aligned__ in attribute.
7975 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7976 (gregset_t): Likewise.
7978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7980 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7981 * sysdeps/x86_64/64/Implies-after: Here. New file.
7982 * sysdeps/x86_64/x32/Implies-after: New file.
7984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7986 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7987 and access return value for _dl_profile_fixup. Use R10_LP to
7990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7992 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7996 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7997 * sysdeps/x86_64/x32/sysdep.h: New file.
7999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8001 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8002 * sysdeps/x86_64/setjmp.S: Likewise.
8004 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8006 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8007 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8008 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8009 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8010 remove unused global constant.
8012 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8014 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8015 include of <not-cancel.h>.
8017 2012-05-15 Roland McGrath <roland@hack.frob.com>
8019 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8021 2012-05-15 Jeff Law <law@redhat.com>
8022 Andreas Jaeger <aj@suse.de>
8025 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8027 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8028 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8029 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8030 code changing __hst_map_handle.map.
8032 2012-05-15 Roland McGrath <roland@hack.frob.com>
8034 * configure.in (sysnames): Look for Implies-before and Implies-after
8036 * configure: Regenerated.
8038 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8040 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8041 8-byte data alignment with LP_SIZE alignment.
8043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8045 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8050 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8052 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8054 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8055 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8056 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8058 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8062 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8063 (stackinfo_sub_sp): Likewise.
8065 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8067 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8070 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8072 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8077 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8080 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8082 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8084 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8086 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8087 into R11_LP and load __x86_64_shared_cache_size_half into
8090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8092 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8095 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8097 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8099 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8101 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8103 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8104 powerpc32/power7/fpu/s_logb.c via #include.
8105 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8106 powerpc32/power7/fpu/s_logbf.c via #include.
8107 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8108 powerpc32/power7/fpu/s_logbl.c via #include.
8110 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8112 * README.libm: Remove file.
8114 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8116 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8117 count for x32. Use R*_LP and omit operand-size suffix.
8119 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8121 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8122 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8123 * sysdeps/x86_64/x32/shlib-versions: New file.
8125 2012-05-14 Roland McGrath <roland@hack.frob.com>
8127 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8128 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8129 Use _dl_fatal_printf instead.
8131 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8133 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8134 set if not set by the user. Do not allow for being unset.
8135 * sysdeps/unix/sysv/linux/configure: Regenerated.
8137 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8139 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8140 the `q' suffix from lea and replace .quad with ASM_ADDR.
8142 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8145 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8147 (PTR_DEMANGLE): Likewise.
8149 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8151 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8153 (ASM_ADDR): Likewise.
8171 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8173 * sysdeps/x86_64/x32/dl-machine.h: New file.
8175 2012-05-14 Andreas Jaeger <aj@suse.de>
8177 * manual/Makefile (subdir): Remove export of subdir.
8178 (all): Remove target.
8179 (.PHONY): Remove all from list.
8180 (mkinstalldirs): Remove.
8181 (.PHONY): Remove installdirs from list.
8182 ($(inst_infodir)/libc.info): Use make-target-directory.
8183 (installdirs): Remove.
8185 (glibc-targets): Remove.
8188 ($(objpfx)stubs ../po/manual.pot): Remove.
8189 ($(objpfx)stamp%): Remove.
8190 (make-target-directory): Remove.
8191 (subdir_install): Remove.
8199 * manual/.gitignore: Remove, it's not needed anymore.
8200 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8202 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8204 (texis): Renamed to $(objpfx)texis.
8205 (texis-path): New, contains path to generated files.
8206 (chapters.%): Use texis-path for complete path, add extra argument
8208 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8209 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8210 (summary,texi, stamp-summary): Use complete path of
8211 files. Generate files in build dir.
8212 (dir-add.texi): Build in build dir.
8213 (libm-err.texi,stamp-libm-err): Likewise.
8214 (version.texi, stamp-version): Likewise.
8215 (.%c.texi): Likewise.
8216 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8217 (mostlyclean): Remove target.
8218 (realclean): Remove target.
8219 (generated): Add new variable with contents from mostlyclean and
8220 realclean, remove entries duplicated in common-mostlyclean, add
8221 stamp-libm-err and stamp-version.
8222 (generated-dirs): Add libc directory.
8223 ($(inst_infodir)/libc.info): Install files from build dir.
8225 * manual/install.texi (Configuring and compiling): Adjust since
8226 the info files are not part of the tar ball anymore.
8228 2012-05-14 Andreas Jaeger <aj@suse.de>
8230 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8233 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8236 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8237 to 2.2.0 where earlier.
8238 * sysdeps/unix/sysv/linux/configure: Regenerated.
8239 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8240 Remove conditional code.
8241 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8242 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8243 Remove conditional code.
8244 [!__NR_lchown]: Likewise.
8245 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8246 [__NR_lchown]: Likewise.
8247 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8248 comment referencing __ASSUME_LCHOWN_SYSCALL.
8249 * sysdeps/unix/sysv/linux/i386/sigaction.c
8250 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8251 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8252 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8253 Remove conditional code.
8254 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8255 (__protocol_available): Remove #if 0 code.
8256 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8258 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8259 * sysdeps/unix/sysv/linux/kernel-features.h
8260 (__ASSUME_GETCWD_SYSCALL): Don't define.
8261 (__ASSUME_REALTIME_SIGNALS): Likewise.
8262 (__ASSUME_PREAD_SYSCALL): Likewise.
8263 (__ASSUME_PWRITE_SYSCALL): Likewise.
8264 (__ASSUME_POLL_SYSCALL): Likewise.
8265 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8266 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8268 (__ASSUME_SIOCGIFNAME): Don't define.
8269 (__ASSUME_MSG_NOSIGNAL): Likewise.
8270 (__ASSUME_SENDFILE): Define unconditionally.
8271 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8272 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8274 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8275 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8276 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8277 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8278 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8279 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8280 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8282 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8285 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8288 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8291 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8292 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8294 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8297 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8300 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8301 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8303 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8304 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8305 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8306 Remove conditional code.
8307 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8308 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8309 Remove conditional code.
8310 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8311 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8312 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8313 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8314 Remove conditional code.
8315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8316 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8317 Remove conditional code.
8318 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8319 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8320 Remove conditional code.
8321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8322 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8323 Remove conditional code.
8324 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8325 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8326 Remove conditional code.
8327 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8328 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8329 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8330 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8331 * sysdeps/unix/sysv/linux/sigaction.c
8332 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8333 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8334 * sysdeps/unix/sysv/linux/sigpending.c
8335 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8336 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8337 * sysdeps/unix/sysv/linux/sigprocmask.c
8338 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8339 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8340 * sysdeps/unix/sysv/linux/sigsuspend.c
8341 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8342 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8343 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8344 (__libc_missing_rt_sigs): Remove.
8345 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8346 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8347 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8348 Remove conditional code.
8349 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8350 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8352 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8353 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8354 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8355 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8357 2012-05-14 Andreas Jaeger <aj@suse.de>
8359 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8360 it's not used in glibc.
8361 (__coshm1): Likewise.
8362 (__acosh1p): Likewise.
8365 * manual/string.texi (Copying and Concatenation): Add missing
8366 variable in concat example.
8367 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8369 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8372 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8373 __builtin_clzl with __builtin_clzll.
8375 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8378 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8381 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8383 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8384 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8385 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8386 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8388 2012-05-14 Mike Frysinger <vapier@gentoo.org>
8390 * NEWS: Update ia64 info.
8392 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8394 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8397 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8399 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8400 * sysdeps/unix/syscalls.list (dup3): Likewise.
8401 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8402 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8404 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8406 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8407 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8409 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8411 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8413 (TLS_IE): Use mov/add instead of movq/addq to load thread
8415 (TLS_GD_PREFIX): New.
8418 2012-05-11 David S. Miller <davem@davemloft.net>
8420 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8421 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8422 (_FPU_SETCW): Likewise.
8424 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8426 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8429 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8432 * iconvdata/gb18030.c: Update tables.
8433 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8434 characters specially.
8435 (BODY for TO_LOOP): Add encoding of missing ranges.
8437 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8440 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8441 * sysdeps/mach/hurd/dup3.c: Likewise.
8442 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8443 * sysdeps/powerpc/memmove.c:: Likewise.
8445 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8447 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8448 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8450 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8452 * elf/elf.h (R_X86_64_RELATIVE64): New.
8453 (R_X86_64_NUM): Updated.
8454 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8455 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8456 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8457 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8458 tst-quad1pie tst-quad2pie
8459 (modules-names): Add tst-quadmod1 tst-quadmod2.
8460 ($(objpfx)tst-quad1): New dependency.
8461 ($(objpfx)tst-quad2): Likewise.
8462 ($(objpfx)tst-quad1pie): Likewise.
8463 ($(objpfx)tst-quad2pie): Likewise.
8464 * sysdeps/x86_64/tst-quad1.c: New file.
8465 * sysdeps/x86_64/tst-quad1pie.c: New file.
8466 * sysdeps/x86_64/tst-quad2.c: Likewise.
8467 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8468 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8469 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8470 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8471 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8473 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8475 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8476 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8477 * streams/stropts.h (t_scalar_t): Define type.
8479 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8480 (_PATH_PRESERVE): Set to "/var/lib".
8481 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8483 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8486 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8487 if __dir_mkfile succeeded.
8489 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8490 checking for _hurd_dtablesize. Unlock it right after having
8491 finished _hurd_dtable allocation.
8493 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8495 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8496 * sysdeps/mach/hurd/configure: Regenerated.
8497 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8498 special-casing to...
8499 * sysdeps/gnu/configure.in: ... this new file.
8500 * sysdeps/unix/sysv/linux/configure: Regenerated.
8501 * sysdeps/gnu/configure: New generated file.
8503 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8504 for Linux: use nsec instead of usec, as well as:
8505 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8506 members of type struct timespec.
8507 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8509 (struct stat64): Likewise.
8510 (_STATBUF_ST_NSEC): New macro.
8511 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8513 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8514 __strtoul_internal rather than strtoul.
8516 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8518 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8521 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8523 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8524 which preserves existing values.
8525 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8527 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8529 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8530 TIMEOUT values. Return EINVAL for NFDS values either negative or
8531 greater than FD_SETSIZE.
8533 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8535 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8536 allocated, call __vm_protect to finish enabling the existing space, and
8537 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8538 allocate the remainder.
8540 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8542 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8543 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8545 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8547 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8548 sysdeps/mach/hurd/readlink.c.
8550 * posix/tst-sysconf.c (posix_options): Only use
8551 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8552 _POSIX_SYNCHRONIZED_IO when they are defined
8553 * sysdeps/mach/hurd/bits/posix_opt.h:
8554 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8555 (_XOPEN_REALTIME): Undefine macro.
8556 (_XOPEN_REALTIME_THREADS): Undefine macro.
8557 (_XOPEN_SHM): Undefine macro.
8558 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8560 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8562 (_POSIX_ASYNC_IO): Undefine macro.
8563 (_POSIX_PRIORITIZED_IO): Undefine macro.
8564 (_POSIX_SPIN_LOCKS): Define macro to -1.
8566 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8567 SA_NODEFER, SA_RESETHAND.
8568 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8569 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8572 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8574 * elf/Makefile (pldd-modules): Define unconditionally.
8576 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8578 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8580 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8582 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8583 Return ENOENT when name is empty.
8584 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8586 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8588 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8590 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8592 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8594 Fix mlock in all cases except non-readable pages.
8595 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8596 instead of VM_PROT_ALL as parameter to __vm_wire function.
8598 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8599 (__mkdir): When path is `/', just fail with EEXIST.
8600 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8602 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8604 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8605 <sys/uio.h> (for writev).
8606 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8607 and <sys/param.h> (for MIN).
8609 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8611 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8612 REQUESTED_TIME. Properly set the remaining time and return EINTR
8615 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8617 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8618 Depend on against $(link-rpcuserlibs).
8620 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8622 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8623 (__libc_stack_end): Do not use attribute_relro.
8624 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8625 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8626 to libthread-provided value.
8627 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8630 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8633 * bits/libc-lock.h (__libc_once_get): New macro.
8634 * sysdeps/mach/bits/libc-lock.h: Likewise.
8635 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8636 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8637 instead of using implementation details.
8639 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8640 * libio/freopen.c: Likewise.
8641 * libio/freopen64.c: Likewise.
8642 * misc/syslog.c: Likewise.
8643 * nscd/connections.c: Likewise.
8644 * nscd/netgroupcache.c: Likewise.
8645 * sysdeps/posix/getcwd.c: Likewise.
8647 2012-05-10 Roland McGrath <roland@hack.frob.com>
8649 * math/w_ilogbf.c: Add #include <limits.h>.
8651 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8653 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8654 path instead of returning without unlocking.
8656 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8657 immediate-write ioctls.
8658 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8660 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8662 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8663 __builtin_frame_address instead of making assumptions about the
8664 location of the return address relative to DATA. Force early load of
8666 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8667 __builtin_frame_address.
8670 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8671 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8672 implement dup3 and do some further code clean-ups.
8673 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8674 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8676 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8678 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8680 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8681 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8682 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8683 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8684 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8687 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8688 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8689 when handler == SIG_ERR, not when handler != SIG_ERR.
8691 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8693 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8694 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8697 accept4 for GNU Hurd.
8698 * include/sys/socket.h (__libc_accept4): New prototype.
8699 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8700 to implement __libc_accept4.
8701 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8703 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8705 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8706 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8707 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8710 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8712 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8714 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8716 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8717 assertion on O_CLOEXEC flag.
8718 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8719 * hurd/intern-fd.c: Likewise.
8720 * hurd/port2fd.c: Likewise.
8722 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8725 * bits/in.h (IPV6_PKTINFO): Define new macro.
8726 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8728 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8733 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8734 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8735 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8736 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8737 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8738 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8739 * math/libm-test.inc (logb_test) : Additional logb tests.
8741 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8742 Andreas Jaeger <aj@suse.de>
8744 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8745 * configure: Regenerated.
8746 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8747 * config.make.in (link-obsolete-rpc): New substituted variable.
8748 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8749 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8750 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8751 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8752 so that libc.a contains the symbols.
8753 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8754 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8755 * sunrpc/auth_none.c: Likewise.
8756 * sunrpc/auth_unix.c: Likewise.
8757 * sunrpc/authdes_prot.c: Likewise.
8758 * sunrpc/authuxprot.c: Likewise.
8759 * sunrpc/clnt_gen.c: Likewise.
8760 * sunrpc/clnt_perr.c: Likewise.
8761 * sunrpc/clnt_raw.c: Likewise.
8762 * sunrpc/clnt_simp.c: Likewise.
8763 * sunrpc/clnt_tcp.c: Likewise.
8764 * sunrpc/clnt_udp.c: Likewise.
8765 * sunrpc/clnt_unix.c: Likewise.
8766 * sunrpc/des_crypt.c: Likewise.
8767 * sunrpc/des_soft.c: Likewise.
8768 * sunrpc/get_myaddr.c: Likewise.
8769 * sunrpc/key_call.c: Likewise.
8770 * sunrpc/key_prot.c: Likewise.
8771 * sunrpc/netname.c: Likewise.
8772 * sunrpc/pm_getmaps.c: Likewise.
8773 * sunrpc/pm_getport.c: Likewise.
8774 * sunrpc/pmap_clnt.c: Likewise.
8775 * sunrpc/pmap_prot.c: Likewise.
8776 * sunrpc/pmap_prot2.c: Likewise.
8777 * sunrpc/pmap_rmt.c: Likewise.
8778 * sunrpc/publickey.c: Likewise.
8779 * sunrpc/rpc_cmsg.c: Likewise.
8780 * sunrpc/rpc_common.c: Likewise.
8781 * sunrpc/rpc_dtable.c: Likewise.
8782 * sunrpc/rpc_prot.c: Likewise.
8783 * sunrpc/rpc_thread.c: Likewise.
8784 * sunrpc/rtime.c: Likewise.
8785 * sunrpc/svc.c: Likewise.
8786 * sunrpc/svc_auth.c: Likewise.
8787 * sunrpc/svc_raw.c: Likewise.
8788 * sunrpc/svc_run.c: Likewise.
8789 * sunrpc/svc_tcp.c: Likewise.
8790 * sunrpc/svc_udp.c: Likewise.
8791 * sunrpc/svc_unix.c: Likewise.
8792 * sunrpc/svcauth_des.c: Likewise.
8793 * sunrpc/xcrypt.c: Likewise.
8794 * sunrpc/xdr.c: Likewise.
8795 * sunrpc/xdr_array.c: Likewise.
8796 * sunrpc/xdr_float.c: Likewise.
8797 * sunrpc/xdr_intXX_t.c: Likewise.
8798 * sunrpc/xdr_mem.c: Likewise.
8799 * sunrpc/xdr_rec.c: Likewise.
8800 * sunrpc/xdr_ref.c: Likewise.
8801 * sunrpc/xdr_sizeof.c: Likewise.
8802 * sunrpc/xdr_stdio.c: Likewise.
8804 2012-05-10 Roland McGrath <roland@hack.frob.com>
8806 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8807 change. Update copyright years.
8809 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8811 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8813 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8814 Joseph Myers <joseph@codesourcery.com>
8815 Paul Pluzhnikov <ppluzhnikov@google.com>
8818 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8820 [cross-compiling] (extra-libs): Likewise.
8821 [cross-compiling] (extra-libs-others): Likewise.
8822 [cross-compiling] (librpcsvc-routines): Likewise.
8823 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8824 [cross-compiling] (omit-deps): Likewise.
8825 (sunrpc-CPPFLAGS): New variable.
8826 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8827 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8828 (cross-rpcgen-objs): New variable.
8829 (extra-objs): Append $(cross-rpcgen-objs).
8830 ($(cross-rpcgen-objs)): New rule.
8831 ($(objpfx)cross-rpcgen): Likewise.
8832 (rpcgen-cmd): Define to use $(built-program-file). Expand
8834 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8835 ($(objpfx)x%.stmp): Likewise.
8836 * sunrpc/proto.h [IS_IN_build] (_): Define.
8837 [IS_IN_build] (_libc_intl_domainname): Likewise.
8839 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8841 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8842 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8843 and R_X86_64_TPOFF64.
8845 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8847 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8848 sysdeps/unix/sysv/syscalls.list.
8851 * sysdeps/unix/sysv/syscalls.list: Remove file.
8853 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8856 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8857 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8858 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8859 (__LC_IDENTIFICATION): Make these macros useful in #if
8860 expressions, as required by C99.
8862 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8864 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8865 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8868 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8870 * stdlib/longlong.h: Updated from GCC.
8872 2012-05-09 Andreas Jaeger <aj@suse.de>
8874 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8875 default is first entry.
8876 (run_mode): Set type.
8877 (main): Remove informal message about syslog.
8878 (options): Fix typo.
8881 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
8884 (llrintf): Likewise.
8888 (nearbyint): Likewise.
8889 (nearbyintf): Likewise.
8891 2012-05-09 Andreas Jaeger <aj@suse.de>
8892 Pedro Alves <palves@redhat.com>
8894 * nscd/nscd.c (run_mode): Use enum.
8895 (main): Cleanup coding style issue.
8897 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
8898 Andreas Jaeger <aj@suse.de>
8900 * nscd/nscd.c (go_background): Replaced with...
8901 (run_mode): ... this.
8902 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
8903 (options): Add -F --foreground.
8904 (main): Implement it.
8905 (parse_opt): Parse it.
8907 2012-05-09 Andreas Jaeger <aj@suse.de>
8910 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8911 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8912 -Wconversion warning.
8913 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8916 2012-05-09 Joseph Myers <joseph@codesourcery.com>
8918 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8920 (LC_ALL): Use macro-int-constant.
8921 (LC_COLLATE): Likewise.
8922 (LC_CTYPE): Likewise.
8923 (LC_MESSAGES): Likewise.
8924 (LC_MONETARY): Likewise.
8925 (LC_NUMERIC): Likewise.
8926 (LC_TIME): Likewise.
8927 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8928 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8930 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8932 [C99-based standards] (float_t): Expect type.
8933 [C99-based standards] (double_t): Expect type.
8934 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8936 [C99-based standards] (HUGE_VALL): Likewise.
8937 [C99-based standards] (INFINITY): Likewise.
8938 [C99-based standards] (NAN): Likewise.
8939 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8940 [C99-based standards] (FP_NAN): Likewise.
8941 [C99-based standards] (FP_NORMAL): Likewise.
8942 [C99-based standards] (FP_SUBNORMAL): Likewise.
8943 [C99-based standards] (FP_ZERO): Likewise.
8944 [C99-based standards] (FP_FAST_FMA): Use
8945 optional-macro-int-constant. Specify type. Require == 1.
8946 [C99-based standards] (FP_FAST_FMAF): Likewise.
8947 [C99-based standards] (FP_FAST_FMAL): Likewise.
8948 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8949 [C99-based standards] (FP_ILOGBNAN): Likewise.
8950 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8952 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8953 [C99-based standards] (math_errhandling): Specify type.
8954 [ISO99 || ISO11] (signgam): Do not allow.
8955 [non-C99-based standards] (copysignf): Do not allow.
8956 [non-C99-based standards] (exp2f): Likewise.
8957 [non-C99-based standards] (log2f): Likewise.
8958 [non-C99-based standards] (modff): Allow.
8959 [non-C99-based standards] (erff): Do not allow.
8960 [non-C99-based standards] (erfcf): Likewise.
8961 [non-C99-based standards] (gammaf): Likewise.
8962 [non-C99-based standards] (hypotf): Likewise.
8963 [non-C99-based standards] (j0f): Likewise.
8964 [non-C99-based standards] (j1f): Likewise.
8965 [non-C99-based standards] (jnf): Likewise.
8966 [non-C99-based standards] (lgammaf): Likewise.
8967 [non-C99-based standards] (tgammaf): Likewise.
8968 [non-C99-based standards] (y0f): Likewise.
8969 [non-C99-based standards] (y1f): Likewise.
8970 [non-C99-based standards] (ynf): Likewise.
8971 [non-C99-based standards] (isnanf): Likewise.
8972 [non-C99-based standards] (acoshf): Likewise.
8973 [non-C99-based standards] (asinhf): Likewise.
8974 [non-C99-based standards] (atanhf): Likewise.
8975 [non-C99-based standards] (cbrtf): Likewise.
8976 [non-C99-based standards] (expm1f): Likewise.
8977 [non-C99-based standards] (ilogbf): Likewise.
8978 [non-C99-based standards] (log1pf): Likewise.
8979 [non-C99-based standards] (logbf): Likewise.
8980 [non-C99-based standards] (nextafterf): Likewise.
8981 [non-C99-based standards] (remainderf): Likewise.
8982 [non-C99-based standards] (rintf): Likewise.
8983 [non-C99-based standards] (scalbf): Likewise.
8984 [non-C99-based standards] (copysignl): Likewise.
8985 [non-C99-based standards] (exp2l): Likewise.
8986 [non-C99-based standards] (log2l): Likewise.
8987 [non-C99-based standards] (modfl): Allow.
8988 [non-C99-based standards] (erfl): Do not allow.
8989 [non-C99-based standards] (erfcl): Likewise.
8990 [non-C99-based standards] (gammal): Likewise.
8991 [non-C99-based standards] (hypotl): Likewise.
8992 [non-C99-based standards] (j0l): Likewise.
8993 [non-C99-based standards] (j1l): Likewise.
8994 [non-C99-based standards] (jnl): Likewise.
8995 [non-C99-based standards] (lgammal): Likewise.
8996 [non-C99-based standards] (tgammal): Likewise.
8997 [non-C99-based standards] (y0l): Likewise.
8998 [non-C99-based standards] (y1l): Likewise.
8999 [non-C99-based standards] (ynl): Likewise.
9000 [non-C99-based standards] (isnanl): Likewise.
9001 [non-C99-based standards] (acoshl): Likewise.
9002 [non-C99-based standards] (asinhl): Likewise.
9003 [non-C99-based standards] (atanhl): Likewise.
9004 [non-C99-based standards] (cbrtl): Likewise.
9005 [non-C99-based standards] (expm1l): Likewise.
9006 [non-C99-based standards] (ilogbl): Likewise.
9007 [non-C99-based standards] (log1pl): Likewise.
9008 [non-C99-based standards] (logbl): Likewise.
9009 [non-C99-based standards] (nextafterl): Likewise.
9010 [non-C99-based standards] (remainderl): Likewise.
9011 [non-C99-based standards] (rintl): Likewise.
9012 [non-C99-based standards] (scalbl): Likewise.
9013 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9014 [non-C99-based standards] (FP_*): Do not allow.
9015 [C99-based standards] (FP_*): Change to
9016 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9017 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9019 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9020 (SIG_ERR): Likewise.
9021 [X/Open-based standards] (SIG_HOLD): Likewise.
9022 (SIG_IGN): Likewise.
9023 (SIGABRT): Use macro-int-constant. Specify type. Require
9028 (SIGSEGV): Likewise.
9030 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9031 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9032 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9033 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9034 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9035 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9036 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9037 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9038 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9039 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9040 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9041 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9042 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9043 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9044 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9045 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9046 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9047 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9048 [X/Open-based standards] (SIGTRAP): Likewise.
9049 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9050 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9051 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9052 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9053 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9056 2012-05-08 Ian Wienand <ianw@vmware.com>
9059 * time/tzset.c (__tzset_parse_tz): Update default rules for
9060 daylight time changes in the Energy Policy Act of 2005.
9062 2012-05-09 Andreas Jaeger <aj@suse.de>
9065 * elf/ldconfig.c (parse_conf): Change string to make clear that
9066 ldconfig only issued a warning if ld.so.conf does not exist.
9068 2012-05-08 David S. Miller <davem@davemloft.net>
9070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9071 movxtod instead of popping the value on the stack.
9073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9075 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9077 * config.h.in: Add HAVE_ARM_PCS_VFP.
9079 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
9082 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9083 checking but the checks are disabled for any reason.
9085 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9087 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9088 and ELF64_R_TYPE with ELFW(R_TYPE).
9090 2012-05-08 Joseph Myers <joseph@codesourcery.com>
9092 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9095 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9096 (settimeofday): Likewise.
9098 2012-05-08 Mike Frysinger <vapier@gentoo.org>
9100 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9101 a struct th_u2 inside the union, and move tu_block/tu_code into
9102 a new th_u3 union of tu_block/tu_code inside of that. Move
9103 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9104 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9105 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9106 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9107 (th_stuff): Change to th_u1.tu_stuff.
9109 (th_msg): Change to th_u1.th_u2.tu_data.
9111 2012-05-07 David S. Miller <davem@davemloft.net>
9113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9116 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9117 (SETUP_PIC_REG): Use it.
9118 (SETUP_PIC_REG_LEAF): Use it.
9120 2012-05-07 Joseph Myers <joseph@codesourcery.com>
9124 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9126 (EXPL_FINITE): Likewise.
9128 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9129 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9131 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9133 (EXPL_FINITE): Likewise.
9135 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9136 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9138 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9139 test of -max_value argument for long double.
9140 * sysdeps/i386/fpu/libm-test-ulps: Update.
9141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9143 2012-05-06 David S. Miller <davem@davemloft.net>
9145 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9146 quad soft-float symbols whose references which are compiler
9148 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9150 2012-05-06 Joseph Myers <joseph@codesourcery.com>
9154 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9156 (EXPL_FINITE): Likewise.
9160 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9161 Adjust comments for base varying.
9162 (__expl_finite): Change alias to EXPL_FINITE.
9163 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9165 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9166 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9168 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9169 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9171 (EXPL_FINITE): Likewise.
9175 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9176 Adjust comments for base varying.
9177 (__expl_finite): Change alias to EXPL_FINITE.
9178 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9183 * math/libm-test.inc (check_float_internal): Correct ulp
9184 calculation for subnormal expected results.
9186 2012-05-06 Andreas Jaeger <aj@suse.de>
9188 * Makeconfig (+math-flags): New, set to -frounding-math.
9189 (+cflags): Add +math-flags so that all of glibc gets compiled with
9192 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9194 2012-05-05 Joseph Myers <joseph@codesourcery.com>
9196 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9202 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9203 (__ieee754_expl): Allow for and saturate large arguments.
9204 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9205 (u_threshold): Likewise.
9206 (__exp): Call __ieee754_exp before checking for overflow and
9208 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9209 (u_threshold): Likewise.
9210 (__expf): Call __ieee754_expf before checking for overflow and
9212 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9213 (u_threshold): Likewise.
9214 (__expl): Call __ieee754_expl before checking for overflow and
9216 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9217 (__ieee754_expl): Allow for and saturate large arguments.
9218 * math/libm-test.inc (exp_test): Add another test. Do not allow
9219 missing overflow exception on overflow.
9220 (expm1_test): Do not allow missing overflow exception on overflow.
9222 * sysdeps/i386/fpu/e_expl.c: Move to ...
9223 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9224 rather than using inline asm.
9225 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9226 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9227 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9229 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9236 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9238 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9239 sysdeps/unix/common/syscalls.list.
9242 (ftruncate): Likewise.
9243 (getrusage): Likewise.
9244 (gettimeofday): Likewise.
9245 (setpgid): Likewise.
9246 (setregid): Likewise.
9247 (setreuid): Likewise.
9248 (sigaction): Likewise.
9249 (truncate): Likewise.
9250 (vhangup): Likewise.
9251 * sysdeps/unix/common/syscalls.list: Remove file.
9252 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9253 * sysdeps/unix/sysv/linux/Implies: Likewise.
9255 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9257 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9259 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9263 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9266 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9269 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9272 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9275 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9278 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9281 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9285 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9289 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9292 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9296 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9300 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9302 * sysdeps/unix/common/bits/dirent.h: Remove file.
9303 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9305 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9306 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9307 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9308 * sysdeps/unix/bsd/isatty.c: Likewise.
9309 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9310 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9311 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9313 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9316 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9317 long double comparison inaccuracies.
9318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9321 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9323 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9324 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9326 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9329 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9330 nonzero digits before rounding a hex value.
9331 * stdlib/tst-strtod.c (tests): Add another test.
9333 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9335 * sysdeps/s390/fpu/libm-test-ulps: Update.
9337 2012-05-03 Andreas Jaeger <aj@suse.de>
9339 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9340 does not get optimized out.
9341 (malloc_opt_barrier): New.
9343 2012-05-03 Andreas Jaeger <aj@suse.de>
9344 Roland McGrath <roland@hack.frob.com>
9346 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9347 intermediate file deletion.
9348 (generated): Add .symlist files.
9350 2012-05-03 Joseph Myers <joseph@codesourcery.com>
9353 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9354 Redirect under this condition.
9355 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9356 [__USE_GNU] (__dprintf_chk): Not under this condition.
9357 [__USE_GNU] (__vdprintf_chk): Likewise.
9358 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9359 under this condition.
9360 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9361 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9362 [__USE_XOPEN2K8] (vdprintf): Likewise.
9363 [__USE_GNU] (__dprintf_chk): Not under this condition.
9364 [__USE_GNU] (__vdprintf_chk): Likewise.
9365 [__USE_GNU] (dprintf): Likewise.
9366 [__USE_GNU] (vdprintf): Likewise.
9368 2012-05-03 Roland McGrath <roland@hack.frob.com>
9370 * elf/Makefile (common-generated): Set this instead of generated for
9371 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9372 $(all-built-dso)-derived lists.
9374 2012-05-03 Andreas Jaeger <aj@suse.de>
9376 * sysdeps/i386/fpu/libm-test-ulps: Update.
9380 * scripts/gen-FAQ.pl: Likewise.
9381 * manual/install.texi (Installation): Point to online location of
9383 * Makefile (files-for-dist): Remove FAQ.
9386 2012-05-02 Allan McRae <allan@archlinux.org>
9388 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9389 (LDFLAGS-reldepmod5.so): Likewise.
9390 (LDFLAGS-reldep6mod1.so): Likewise.
9391 (LDFLAGS-reldep6mod4.so): Likewise.
9392 (LDFLAGS-reldep8mod3.so): Likewise.
9393 (LDFLAGS-unload4mod1.so): Likewise.
9394 (LDFLAGS-unload4mod2.so): Likewise.
9395 (LDFLAGS-tst-initorder): Likewise.
9396 (LDFLAGS-tst-initordera2.so): Likewise.
9397 (LDFLAGS-tst-initordera3.so): Likewise.
9398 (LDFLAGS-tst-initordera4.so): Likewise.
9399 (LDFLAGS-tst-initorderb2.so): Likewise.
9400 (LDFLAGS-noload): Likewise.
9401 (LDFLAGS-next): Likewise.
9402 (LDFLAGS-order2mod1.so): Likewise.
9403 (LDFLAGS-order2mod2.so): Likewise.
9404 (LDFLAGS-tst-initorder2): Likewise.
9405 (LDFLAGS-tst-initorder2a.so): Likewise.
9406 (LDFLAGS-tst-initorder2b.so): Likewise.
9407 (LDFLAGS-tst-initorder2c.so): Likewise.
9408 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9410 2012-05-02 David S. Miller <davem@davemloft.net>
9412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9414 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9417 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9419 2012-05-02 Andreas Jaeger <aj@suse.de>
9421 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9422 since we manipulate rounding mode.
9423 (CPPFLAGS-test-idouble.c): Likewise.
9424 (CPPFLAGS-test-ifloat.c): Likewise.
9425 (CFLAGS-test-ldouble.c): Likewise.
9426 (CFLAGS-test-double.c): Likewise.
9427 (CFLAGS-test-float.c): Likewise.
9428 (CFLAGS-test-misc.c): Likewise.
9429 (CFLAGS-test-test-fenv.c): Likewise.
9431 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9435 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9436 comparisons to determine direction to adjust input.
9438 2012-05-01 Roland McGrath <roland@hack.frob.com>
9440 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9441 output to the target.
9443 * scripts/localplt.awk: New file.
9444 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9445 (check-localplt-CFLAGS): Variable removed.
9446 ($(all-built-dso:=.jmprel)): New static pattern rule.
9447 (generated): Add those targets.
9448 (localplt-built-dso): New variable.
9449 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9451 * elf/check-localplt.c: File removed.
9453 * scripts/check-execstack.awk: New file.
9454 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9455 (check-execstack-CFLAGS): Variable removed.
9456 ($(objpfx)check-execstack.h): Target removed.
9457 ($(objpfx)execstack-default): New target.
9458 (generated): Add that instead of check-execstack.h.
9459 ($(all-built-dso:=.phdr)): New static pattern rule.
9460 (generated): Add those targets.
9461 * elf/check-execstack.c: File removed.
9463 * scripts/check-textrel.awk: New file.
9464 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9465 (check-textrel-CFLAGS): Variable removed.
9466 (all-built-dso): Use := to define.o
9467 ($(all-built-dso:=.dyn)): New static pattern rule.
9468 (generated): Add those targets.
9469 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9470 * config.make.in (READELF): New substituted variable.
9471 * elf/check-textrel.c: File removed.
9473 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9475 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9477 * conform/data/ctype.h-data [C99-based standards] (isblank):
9479 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9480 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9481 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9482 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9483 Specify type. Require positive value.
9486 [ISO || POSIX] (EILSEQ): Do not expect.
9487 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9488 Specify type. Require positive value.
9489 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9490 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9491 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9492 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9493 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9494 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9495 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9496 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9497 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9498 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9499 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9500 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9501 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9502 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9503 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9504 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9505 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9506 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9507 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9508 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9509 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9510 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9511 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9512 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9513 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9514 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9515 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9516 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9517 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9518 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9519 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9520 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9521 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9522 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9523 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9524 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9525 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9526 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9527 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9528 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9529 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9530 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9531 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9532 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9533 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9534 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9535 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9536 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9537 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9538 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9539 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9540 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9541 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9542 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9543 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9544 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9545 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9546 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9547 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9548 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9549 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9550 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9551 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9552 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9553 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9554 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9555 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9556 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9557 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9558 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9559 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9560 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9561 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9562 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9563 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9564 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9565 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9567 (FLT_ROUNDS): Expect as macro, not constant.
9568 (FLT_MANT_DIG): Use macro-int-constant.
9569 (DBL_MANT_DIG): Likewise.
9570 (LDBL_MANT_DIG): Likewise.
9571 (FLT_DIG): Likewise.
9572 (DBL_DIG): Likewise.
9573 (LDBL_DIG): Likewise.
9574 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9575 (DBL_MIN_EXP): Likewise.
9576 (LDBL_MIN_EXP): Likewise.
9577 (FLT_MAX_EXP): Use macro-int-constant.
9578 (DBL_MAX_EXP): Likewise.
9579 (LDBL_MAX_EXP): Likewise.
9580 (FLT_MAX_10_EXP): Likewise.
9581 (DBL_MAX_10_EXP): Likewise.
9582 (LDBL_MAX_10_EXP): Likewise.
9583 (FLT_MAX): Use macro-constant.
9584 (DBL_MAX): Likewise.
9585 (LDBL_MAX): Likewise.
9586 (FLT_EPSILON): Use macro-constant. Give upper bound.
9587 (DBL_EPSILON): Likewise.
9588 (LDBL_EPSILON): Likewise.
9589 (FLT_MIN): Likewise.
9590 (DBL_MIN): Likewise.
9591 (LDBL_MIN): Likewise.
9592 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9593 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9594 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9595 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9596 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9597 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9598 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9599 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9600 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9601 [ISO11] (FLT_TRUE_MIN): Likewise.
9602 [ISO11] (LDBL_TRUE_MIN): Likewise.
9603 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9604 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9605 (SCHAR_MIN): Use macro-int-constant. Specify type.
9606 (SCHAR_MAX): Likewise.
9607 (UCHAR_MAX): Likewise.
9608 (CHAR_MIN): Likewise.
9609 (CHAR_MAX): Likewise.
9610 (MB_LEN_MAX): Use macro-int-constant.
9611 (SHRT_MIN): Use macro-int-constant. Specify type.
9612 (SHRT_MAX): Likewise.
9613 (USHRT_MAX): Likewise.
9614 (INT_MAX): Likewise.
9615 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9617 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9619 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9621 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9622 bound negative. Suffix upper bound with "L".
9623 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9625 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9627 [C99-based standards] (LLONG_MAX): Likewise.
9628 [C99-based standards] (ULLONG_MAX): Likewise.
9629 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9631 [ISO11] (max_align_t): Require type.
9632 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9634 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9635 from $CFLAGS, without defining away __attribute__ calls.
9636 (checknamespace): Use $CFLAGS_namespace.
9638 * conform/conformtest.pl (@keywords): Only include C99 keywords
9639 for standards based on C99 or C11.
9641 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9643 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9646 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9647 usability of symbols in #if.
9649 * conform/conformtest.pl: If macro or constant types start
9650 "promoted:", expect the symbol to be of the following type
9651 promoted by the integer promotions.
9653 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9654 in one place. Also handle "macro-constant".
9656 * conform/conformtest.pl: Only accept expected macro values with
9657 "==". Parse all "macro" lines in one place.
9658 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9660 * conform/conformtest.pl: Handle braced types on "constant" lines
9661 instead of handling "typed-constant".
9662 * conform/data/signal.h-data: Use "constant" instead of
9665 * conform/conformtest.pl: Handle "optional-" at start of lines in
9666 one place rather than duplicating several cases. Handle each
9667 format of "macro" line with initial "optional-".
9669 * conform/conformtest.pl: Only accept expected constant or
9670 optional-constant values with "==". Parse all "constant" lines in
9671 one place. Parse all "optional-constant" lines in one place.
9672 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9673 * conform/data/fmtmsg.h-data: Likewise.
9674 * conform/data/netinet/in.h-data: Likewise.
9675 * conform/data/tar.h-data: Likewise.
9676 * conform/data/limits.h-data: Use "==" form on "constant" and
9677 "optional-constant" lines.
9679 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9680 Use -std=c99 for XOPEN2K.
9681 (@knownproblems): Remove.
9682 (newtoken): Don't check %isknown.
9684 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9685 Do not expect macro.
9686 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9687 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9688 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9689 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9690 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9691 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9692 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9693 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9694 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9695 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9696 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9697 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9698 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9699 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9700 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9701 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9702 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9703 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9704 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9705 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9706 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9707 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9708 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9709 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9710 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9711 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9712 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9713 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9714 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9715 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9716 [XPG3] (acosh): Likewise.
9717 [XPG3] (asinh): Likewise.
9718 [XPG3] (atanh): Likewise.
9719 [XPG3] (cbrt): Likewise.
9720 [XPG3] (expm1): Likewise.
9721 [XPG3] (ilogb): Likewise.
9722 [XPG3] (log1p): Likewise.
9723 [XPG3] (logb): Likewise.
9724 [XPG3] (nextafter): Likewise.
9725 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9726 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9727 [XPG3] (remainder): Likewise.
9728 [XPG3] (rint): Likewise.
9729 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9730 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9731 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9732 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9733 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9734 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9735 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9736 [UNIX98 || XOPEN2K] (scalb): Expect.
9737 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9738 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9739 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9740 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9741 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9742 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9743 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9744 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9745 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9746 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9747 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9748 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9749 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9750 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9751 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9752 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9753 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9754 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9755 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9756 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9757 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9758 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9759 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9760 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9761 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9762 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9763 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9764 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9765 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9766 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9767 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9768 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9769 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9770 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9771 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9772 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9773 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9774 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9775 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9776 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9777 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9778 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9779 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9780 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9781 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9782 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9783 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9784 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9785 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9786 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9787 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9788 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9789 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9790 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9791 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9792 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9793 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9794 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9795 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9796 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9797 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9798 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9799 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9800 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9801 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9802 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9803 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9804 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9805 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9806 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9807 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9808 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9809 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9810 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9811 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9812 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9813 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9814 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9815 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9816 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9817 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9818 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9819 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9820 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9821 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9822 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9823 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9824 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9825 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9826 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9827 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9828 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9829 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9830 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9831 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9832 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9833 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9834 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9835 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9836 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9837 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9838 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9839 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9840 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9841 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9842 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9843 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9844 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9845 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9846 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9847 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9848 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9849 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9850 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9851 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9852 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9853 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9854 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9855 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9856 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9857 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9858 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9859 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9860 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9861 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9862 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9863 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9864 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9865 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9866 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9867 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9868 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9869 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9870 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9871 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9872 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9873 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9875 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9876 _XOPEN_SOURCE_EXTENDED for XPG4.
9878 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9880 * Makeconfig (localtime): Remove variable.
9881 (inst_localtime-file): Likewise.
9883 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9904 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9908 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9909 comparisons to determine direction to adjust input.
9910 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9911 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9912 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9914 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9916 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9918 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9919 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9921 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9923 * math/libm-test.inc (nexttoward_test): Add more tests.
9925 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9928 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9929 in version GLIBC_2.1, not GLIBC_2.0.
9930 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9933 2012-04-30 Joseph Myers <joseph@codesourcery.com>
9936 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9938 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9939 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9940 * math/libm-test.inc (acos_test): Add more tests.
9941 (asin_test): Likewise.
9942 * sysdeps/i386/fpu/libm-test-ulps: Update.
9943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9946 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9948 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9949 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9950 * math/libm-test.inc (acos_test_tonearest): New function.
9951 (acos_test_towardzero): Likewise.
9952 (acos_test_downward): Likewise.
9953 (acos_test_upward): Likewise.
9954 (asin_test_tonearest): Likewise.
9955 (asin_test_towardzero): Likewise.
9956 (asin_test_downward): Likewise.
9957 (asin_test_upward): Likewise.
9958 (main): Call the new functions.
9959 * sysdeps/i386/fpu/libm-test-ulps: Update.
9960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9964 * math/e_exp10.c: Include <float.h>.
9965 (__ieee754_exp10): Handle underflow here rather than multiplying
9966 large negative argument by M_LN10.
9967 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9969 * math/e_exp10l.c: Include <float.h>.
9970 (__ieee754_exp10l): Handle underflow here rather than multiplying
9971 large negative argument by M_LN10l.
9972 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9973 spurious overflow exception on underflow.
9975 2012-04-29 Marek Polacek <polacek@redhat.com>
9977 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9978 (__fortify_function): New macro.
9979 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9980 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9981 __extern_always_inline.
9982 * libio/bits/stdio2.h: Likewise.
9983 * libio/bits/stdio.h: Likewise.
9984 * string/string.h: Likewise.
9985 * string/bits/string3.h: Likewise.
9986 * include/stdio.h: Likewise.
9987 * stdlib/bits/stdlib.h: Likewise.
9988 * stdlib/stdlib.h: Likewise.
9989 * rt/bits/mqueue2.h: Likewise.
9990 * rt/mqueue.h: Likewise.
9991 * posix/bits/unistd.h: Likewise.
9992 * posix/unistd.h: Likewise.
9993 * io/bits/poll2.h: Likewise.
9994 * io/bits/fcntl2.h: Likewise.
9995 * io/fcntl.h: Likewise.
9996 * io/sys/poll.h: Likewise.
9997 * misc/bits/syslog.h: Likewise.
9998 * misc/bits/syslog-ldbl.h: Likewise.
9999 * misc/sys/syslog.h: Likewise.
10000 * socket/bits/socket2.h: Likewise.
10001 * socket/sys/socket.h: Likewise.
10002 * debug/tst-chk1.c: Likewise.
10003 * wcsmbs/bits/wchar2.h: Likewise.
10004 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10005 * wcsmbs/wchar.h: Likewise.
10007 2012-04-29 Andreas Jaeger <aj@suse.de>
10009 * Makerules (tests): Remove enable-check-abi protection.
10010 (check-abi-warn): Remove.
10011 (check-abi-%): Remove check-abi-warn usage.
10013 * configure.in: Remove check-abi configure option.
10014 * configure: Regenerated.
10015 * config.make.in (enable-check-abi): Remove.
10017 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10020 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10021 double functions to double *_finite functions.
10024 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10025 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10027 * stdio-common/Makefile (tests): Add tst-sprintf3.
10028 * stdio-common/tst-sprintf3.c: New file.
10030 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10031 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10033 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10035 * conform/conformtest.pl: Remove duplicate typed-constant
10038 2012-04-28 David S. Miller <davem@davemloft.net>
10040 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10041 (check-abi-%): Remove AWK script prerequisite and explicit
10043 (check-abi): Rewrite to just diff the symlist with the abilist.
10044 (config-tls, config-abi-config): Delete, no longer used.
10045 (update-abi-%): Remove AWK script and explicit abilist directory.
10046 (update-abi): Rewrite to simply compare and conditionally copy the
10047 symlist and the sysdep abilist file. Remove update-abi-config
10049 * abilist/ld.abilist: Remove.
10050 * abilist/libBrokenLocale.abilist: Remove.
10051 * abilist/libanl.abilist: Remove.
10052 * abilist/libcrypt.abilist: Remove.
10053 * abilist/libdl.abilist: Remove.
10054 * abilist/librt.abilist: Remove.
10055 * abilist/libthread_db.abilist: Remove.
10056 * abilist/libutil.abilist: Remove.
10057 * scripts/extract-abilist.awk: Remove.
10058 * scripts/merge-abilist.awk: Remove.
10059 * sysdeps/generic/libcidn.abilist: New file.
10060 * sysdeps/generic/libnss_compat.abilist: New file.
10061 * sysdeps/generic/libnss_db.abilist: New file.
10062 * sysdeps/generic/libnss_dns.abilist: New file.
10063 * sysdeps/generic/libnss_files.abilist: New file.
10064 * sysdeps/generic/libnss_hesiod.abilist: New file.
10065 * sysdeps/generic/libnss_nis.abilist: New file.
10066 * sysdeps/generic/libnss_nisplus.abilist: New file.
10067 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10068 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10069 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10071 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10072 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10073 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10074 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10075 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10076 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10077 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10078 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10079 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10081 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10082 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10083 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10084 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10086 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10087 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10088 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10089 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10090 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10091 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10093 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10094 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10095 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10097 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10100 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10102 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10104 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10106 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10108 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10110 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10112 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10114 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10116 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10118 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10122 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10200 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10201 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10202 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10204 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10205 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10206 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10207 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10208 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10209 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10210 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10211 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10212 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10213 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10265 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10267 * conform/conformtest.pl: Fix typo in handling typed-constant from
10270 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10272 * README: Cut down references to pre-2.6 Linux kernels and
10273 Linuxthreads. Update lists of configurations in libc and ports
10274 and sort alphabetically. Say "or newer" with Linux kernel version
10277 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10279 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10282 * math/libm-test.inc (logb_test_downward): New test to expose
10283 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10286 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10289 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10291 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10292 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10294 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10296 * sysdeps/unix/i386/brk.S: Remove file.
10297 * sysdeps/unix/i386/dl-brk.S: Likewise.
10298 * sysdeps/unix/i386/pipe.S: Likewise.
10299 * sysdeps/unix/i386/sigreturn.S: Likewise.
10300 * sysdeps/unix/i386/syscall.S: Likewise.
10301 * sysdeps/unix/i386/vfork.S: Likewise.
10302 * sysdeps/unix/i386/wait.S: Likewise.
10304 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10305 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10307 * configure.in (arm*-none*): Do not allow without
10308 --enable-hacker-mode.
10309 (netbsd*): Remove case setting base_os.
10310 (386bsd*): Likewise.
10311 (freebsd*): Likewise.
10314 (sunos*): Likewise.
10315 (ultrix*): Likewise.
10316 (newsos*): Likewise.
10317 (dynix*): Likewise.
10323 (minix*): Likewise.
10324 (irix4*): Likewise.
10325 (irix6*): Likewise.
10326 (solaris[2-9]*): Likewise.
10328 * configure: Regenerated.
10330 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10333 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10334 overflow or cancellation in calculating denominator.
10335 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10336 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10337 down expression to avoid unexpected rounding in newer GCCs.
10338 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10340 2012-04-26 David S. Miller <davem@davemloft.net>
10342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10343 long-double compat symbols.
10344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10358 2012-04-25 David S. Miller <davem@davemloft.net>
10360 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10361 HWCAP_* values only after the memory barriers have been defined.
10362 (atomic_full_barrier): Define.
10363 (atomic_read_barrier): Define.
10364 (atomic_write_barrier): Define.
10366 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10368 * shlib-versions: Add libgcc_s version information.
10369 * sysdeps/generic/libgcc_s.h: Remove.
10370 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10372 * sysdeps/gnu/unwind-resume.c: Likewise.
10373 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10375 2012-04-25 David S. Miller <davem@davemloft.net>
10377 * sysdeps/unix/sparc/brk.S: Delete.
10378 * sysdeps/unix/sparc/dl-brk.S: Delete.
10379 * sysdeps/unix/sparc/pipe.S: Delete.
10380 * sysdeps/unix/sparc/sysdep.S: Delete.
10381 * sysdeps/unix/sparc/sysdep.h: Delete.
10382 * sysdeps/unix/sparc/vfork.S: Delete.
10383 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10384 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10385 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10386 ret_ERRVAL, r0, r1, MOVE): Define.
10387 (JUMPTARGET): Remove.
10388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10389 sysdeps/unix/sparc/sysdep.h
10390 (ENTRY, END): Remove.
10391 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10393 2012-04-25 Joseph Myers <joseph@codesourcery.com>
10395 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10396 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10399 * timezone/README: Update upstream location and email address for
10401 * timezone/zdump.c: Update from tzcode 2012b.
10402 * timezone/zic.c: Likewise.
10404 * configure.in (libc_cv_as_needed): Remove test.
10405 * configure: Regenerated.
10406 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10407 conditional definition.
10408 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10409 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10410 * config.make.in (have-as-needed): Remove variable.
10412 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10413 Paul Pluzhnikov <ppluzhnikov@google.com>
10415 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10418 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10420 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10421 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10422 * sysdeps/sh/strlen.S: Likewise.
10424 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10426 * sysdeps/unix/fork.S: Remove file.
10427 * sysdeps/unix/i386/fork.S: Likewise.
10428 * sysdeps/unix/sparc/fork.S: Likewise.
10430 * sysdeps/unix/system.c: Remove file.
10431 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10433 * sysdeps/unix/getegid.S: Remove file.
10434 * sysdeps/unix/geteuid.S: Likewise.
10436 2012-04-24 Roland McGrath <roland@hack.frob.com>
10438 * scripts/check-localplt.awk: New file.
10439 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10441 * scripts/data/localplt-generic.data: Add a comment.
10443 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10444 NODE when __dir_mkfile failed.
10445 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10446 Reported by Ludovic Courtès <ludo@gnu.org>.
10448 2012-04-24 Andreas Jaeger <aj@suse.de>
10450 * Makerules (common-clean): Also remove gen-as-const-headers
10453 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10455 * Makerules (native-compile): Do not change working directory for
10456 build. Use $(OUTPUT_OPTION) in command.
10457 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10459 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10462 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10463 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10464 * math/libm-test.inc (floor_test): Add more tests.
10465 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10467 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10469 * sysdeps/unix/getdents.c: Remove file.
10470 * sysdeps/unix/sysv/getdents.c: Likewise.
10471 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10473 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10474 sysdeps/unix/mman/syscalls.list.
10476 (mprotect): Likewise.
10478 (munmap): Likewise.
10479 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10480 * sysdeps/unix/mman/syscalls.list: Remove.
10481 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10483 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10484 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10485 * configure: Regenerated.
10486 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10487 $(libgcc_s_suffix).
10488 * config.make.in (libgcc_s_suffix): Remove variable.
10490 2012-04-23 Joseph Myers <joseph@codesourcery.com>
10492 * sysdeps/unix/sysv/gethostname.c: Move to ...
10493 * sysdeps/posix/gethostname.c: ... here.
10495 * sysdeps/unix/execve.S: Remove file.
10497 * sysdeps/unix/_exit.S: Remove file.
10499 2012-04-23 Andreas Jaeger <aj@suse.de>
10502 * manual/Makefile: Remove make dist support, there's no
10503 need for a stand-alone documentation tar ball.
10504 (TEXI2DVI): Define always, it's not in Makeconfig.
10507 (edition): Removed.
10508 (glibc-doc-$(edition).tar): Removed
10512 (ETAGS): Remove, it's in Makeconfig.
10513 (move-if-change): Remove, it's in Makeconfig.
10515 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10518 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10519 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10520 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10521 (strtod_l, strtof_l, strtold_l): Remove __wur.
10522 It is not necessarily an error to ignore strtol's return value.
10523 One can reliably look at the stored endptr to decide whether
10524 the number had valid syntax.
10526 2012-04-21 Andreas Jaeger <aj@suse.de>
10529 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10531 2012-04-21 Joseph Myers <joseph@codesourcery.com>
10533 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10534 * sysdeps/unix/sysv/Versions: Remove file.
10536 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10541 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
10544 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10545 version from __vm86.
10547 2012-04-20 Joseph Myers <joseph@codesourcery.com>
10549 * sysdeps/unix/common/lxstat.c: Remove file.
10550 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10552 * sysdeps/unix/sysv/Makefile: Remove file.
10554 * sysdeps/unix/sysv/direct.h: Remove file.
10556 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10557 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10558 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10559 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10560 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10561 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10562 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10564 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10566 * sysdeps/unix/xmknod.c: Remove file.
10567 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10569 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10571 * sysdeps/unix/sysv/i386/time.S: Remove file.
10573 * sysdeps/unix/fxstat.c: Remove file.
10574 * sysdeps/unix/xstat.c: Likewise.
10575 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10577 * sysdeps/unix/sysv/sigaction.c: Remove file.
10579 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10580 (sysdep_headers): Remove variable.
10581 [termio.h not in sysdep_headers] (generated): Likewise.
10582 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10583 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10584 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10585 * sysdeps/unix/sysv/tcflow.c: Likewise.
10586 * sysdeps/unix/sysv/tcflush.c: Likewise.
10587 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10588 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10589 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10590 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10591 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10593 * sysdeps/unix/siglist.c: Remove file.
10595 * sysdeps/unix/getppid.S: Remove file.
10597 * sysdeps/unix/mkdir.c: Remove file.
10598 * sysdeps/unix/rmdir.c: Likewise.
10600 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10602 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10604 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10605 errlist-compat value.
10607 2012-04-18 David S. Miller <davem@davemloft.net>
10609 * sysdeps/generic/memcopy.h (reg_char): Delete.
10610 * debug/strcat_chk.c: Use char, not reg_char.
10611 * debug/strcpy_chk.c: Likewise.
10612 * debug/strncat_chk.c: Likewise.
10613 * debug/strncpy_chk.c: Likewise.
10614 * string/memchr.c: Likewise.
10615 * string/memrchr.c: Likewise.
10616 * string/rawmemchr.c: Likewise.
10617 * string/strcat.c: Likewise.
10618 * string/strchr.c: Likewise.
10619 * string/strchrnul.c: Likewise.
10620 * string/strcmp.c: Likewise.
10621 * string/strcpy.c: Likewise.
10622 * string/strncat.c: Likewise.
10623 * string/strncmp.c: Likewise.
10624 * string/strncpy.c: Likewise.
10626 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10628 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10629 __builtin_memcopy is called when src and dest ranges are known to not
10632 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10634 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10635 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10636 fwd_align_merge macro call.
10637 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10638 bwd_align_merge macro call.
10639 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10641 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10643 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10644 bwd_align_merge macros.
10645 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10646 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10647 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10649 2012-04-18 David S. Miller <davem@davemloft.net>
10651 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10653 2012-04-18 Andreas Jaeger <aj@suse.de>
10656 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10657 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10658 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10660 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10661 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10662 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10664 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10665 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10666 Adjust for changed ldbl-128 files.
10668 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10669 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10670 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10672 2012-04-17 David S. Miller <davem@davemloft.net>
10674 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10676 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10678 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10679 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10680 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10681 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10682 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10683 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10685 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10688 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10689 * math/libm-test.inc: Add ilogb errno and exception tests.
10690 * math/w_ilogb.c: New file: ilogb wrapper.
10691 * math/w_ilogbf.c: New file: ilogbf wrapper.
10692 * math/w_ilogbl.c: New file: ilogbl wrapper.
10693 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10694 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10695 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10696 exception being thrown with 0.0 as argument.
10697 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10698 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10699 exception being thrown with 0.0 as argument.
10700 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10701 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10702 exception being thrown with 0.0 as argument.
10703 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10704 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10705 exception being thrown with 0.0 as argument.
10706 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10707 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10708 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10709 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10710 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10711 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10712 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10713 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10714 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10716 2012-04-17 Petr Baudis <pasky@ucw.cz>
10718 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10721 2012-04-16 Marek Polacek <polacek@redhat.com>
10723 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10725 2012-04-16 Marek Polacek <polacek@redhat.com>
10727 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10728 operands of fdivp instruction.
10730 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10732 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10733 * elf/tst-auditmod3b.c: Likewise.
10734 * elf/tst-auditmod4b.c: Likewise.
10735 * elf/tst-auditmod5b.c: Likewise.
10736 * elf/tst-auditmod6b.c: Likewise.
10737 * elf/tst-auditmod6c.c: Likewise.
10738 * elf/tst-auditmod7b.c: Likewise.
10739 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10740 * sysdeps/x86_64/preconfigure.in: Likewise.
10741 * sysdeps/x86_64/preconfigure: Regenerated.
10743 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10745 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10748 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
10750 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10751 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10753 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10756 * locale/iso-639.def: Fix gl language name. Spotted by
10759 2012-04-12 Roland McGrath <roland@hack.frob.com>
10762 * libio/libio.h (__io_write_fn): Update comment.
10764 2012-04-12 Petr Baudis <pasky@ucw.cz>
10767 * stdio.texi (Hook Functions): The user provided writer function
10768 is not allowed to return -1.
10770 2012-04-11 David S. Miller <davem@davemloft.net>
10772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10774 2012-04-11 Mike Frysinger <vapier@gentoo.org>
10776 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10777 Add a leading slash to rtkaio.
10779 2012-04-11 Jim Meyering <meyering@redhat.com>
10782 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10783 It is not necessarily an error to ignore fwrite's return
10784 value. One can reliably use ferror to test for errors after
10787 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10789 * bits/types.h (__snseconds_t): New type.
10790 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10792 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10793 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10794 (__SNSECONDS_T_TYPE): Likewise.
10795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10796 (__SNSECONDS_T_TYPE): Likewise.
10797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10798 (__SNSECONDS_T_TYPE): Likewise.
10800 2012-04-10 Andreas Jaeger <aj@suse.de>
10803 * manual/time.texi (Processor Time): Return type of times is
10804 elapsed real time since an arbitrary point in the past.
10805 (CPU Time): Move CLK_TCK from here...
10806 (Processor Time): ...to here. Correct description.
10807 * manual/conf.texi (Constants for Sysconf): Correct description of
10810 2012-04-10 David S. Miller <davem@davemloft.net>
10813 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10814 where the is a gap between DT_REL(A) and DT_JMPREL.
10816 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10818 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10819 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10820 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10822 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10824 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10825 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10826 (dl_main): Handle --inhibit-cache.
10827 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10829 * elf/dl-load.c (_dl_map_object): Use it.
10830 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10832 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10835 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10836 (__ieee754_powl): Saturate large exponents rather than testing for
10837 overflow of y*log2(x).
10838 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10839 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10843 * math/s_ctan.c: Include <float.h>.
10844 (__ctan): Avoid internal overflow or cancellation in calculating
10846 * math/s_ctanf.c: Likewise.
10847 * math/s_ctanl.c: Likewise.
10848 * math/s_ctanh.c: Likewise.
10849 * math/s_ctanhf.c: Likewise.
10850 * math/s_ctanhl.c: Likewise.
10851 * math/libm-test.inc (ctan_test): Add more tests.
10852 (ctanh_test): Likewise.
10853 * sysdeps/i386/fpu/libm-test-ulps: Update.
10854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10856 2012-04-09 Andreas Jaeger <aj@suse.de>
10859 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10860 is an optional BSD extension.
10863 * manual/stdio.texi (Opening Streams): Document additional fopen
10866 2012-04-09 Roland McGrath <roland@hack.frob.com>
10868 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10869 %eax without telling the compiler.
10871 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10874 * manual/install.texi: Use sourceware.org.
10876 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10879 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10880 (__ieee754_pow): Generate overflow and underflow using huge*huge
10881 and tiny*tiny rather than just returning constant infinity or zero
10882 for large exponents.
10883 * math/libm-test.inc (pow_test): Require overflow exceptions for
10884 applicable cases of large exponents.
10887 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10888 (__ieee754_pow): Use iterative multiplication algorithm only for
10889 integer exponents with absolute value below 1024. Check for odd
10890 integer exponents when using algorithm for real exponents.
10891 * math/libm-test.inc (pow_test): Add more tests.
10892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10894 2012-04-08 Joseph Myers <joseph@codesourcery.com>
10897 * math/libm-test.inc (exp_test): Do not allow overflow exception
10900 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10903 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10904 instead of __kernel_standard_f.
10906 2012-04-08 Mike Frysinger <vapier@gentoo.org>
10908 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10909 * sysdeps/x86_64/memset_chk.S: Likewise.
10911 2012-04-08 Andreas Jaeger <aj@suse.de>
10914 * manual/startup.texi (Environment Access): Describe return value
10915 for putenv and setenv.
10918 * manual/filesys.texi (Directory Entries): Add description for
10922 * manual/filesys.texi (Directory Entries): Clarify that it's file
10923 system not operating system in the description of DT_UNKNOWN.
10926 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10928 2012-04-08 Stephen Compall <s11@member.fsf.org>
10931 * manual/llio.texi (Opening and Closing Files): Add cross
10932 reference to explain mode argument.
10934 2012-04-07 Mike Frysinger <vapier@gentoo.org>
10936 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10937 * sysdeps/x86_64/memset_chk.S: Likewise.
10939 2012-04-07 David S. Miller <davem@davemloft.net>
10941 * elf/elf.h (R_SPARC_WDISP10): Define.
10942 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10944 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10945 R_SPARC_SIZE64 and R_SPARC_H34.
10947 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10949 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10950 conditions and remove no longer applicable assertion.
10952 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10954 * bits/byteswap.h: Include <features.h>.
10955 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10956 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10958 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10960 * bits/byteswap.h (__bswap_16): Removed.
10961 Include <bits/byteswap-16.h> to get __bswap_16.
10962 * sysdeps/i386/bits/byteswap.h: Likewise.
10963 * sysdeps/s390/bits/byteswap.h: Likewise.
10964 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10965 * bits/byteswap-16.h: New file.
10966 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10967 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10968 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10969 * string/Makefile (headers): Add bits/byteswap-16.h.
10971 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10974 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10976 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10977 * nss/tst-nss-static.c: New.
10979 2012-04-06 Robert Millan <rmh@gnu.org>
10982 * manual/llio.texi (File Position Primitive): lseek
10983 refers to WHENCE when it really means OFFSET.
10985 2012-04-06 Andreas Jaeger <aj@suse.de>
10987 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10988 strncmp declarations.
10990 * abilist/libc.abilist: Add __poll and __ppoll.
10992 2012-04-05 David S. Miller <davem@davemloft.net>
10994 * scripts/check-local-headers.sh: Accept a host triplet in the
10995 path matched by the exclude regexp.
10997 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10999 * sysdeps/powerpc/powerpc32/dl-machine.h
11000 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11001 * sysdeps/s390/s390-32/dl-machine.h
11002 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11003 * sysdeps/sparc/sparc32/dl-machine.h
11004 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11005 * sysdeps/sparc/sparc64/dl-machine.h
11006 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11008 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11010 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11011 undefined symbol errors.
11013 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11016 2012-04-05 Michael Matz <matz@suse.de>
11019 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11021 2012-04-05 Andreas Jaeger <aj@suse.de>
11024 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11027 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11029 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11030 which ROUND is no valid rounding mode.
11032 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11034 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11036 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11038 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11040 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11041 an exception using FPU order intentionally.
11043 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11045 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11046 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11047 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11048 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11050 2012-04-05 Simon Josefsson <simon@josefsson.org>
11053 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11054 EINVAL when BUFLEN is too smal.
11056 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11059 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11060 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11062 2012-04-03 Andreas Jaeger <aj@suse.de>
11065 * manual/setjmp.texi (System V contexts): Fix sentence.
11068 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11069 New macro for this case.
11070 [!__GNUC__] (__bswap_64): New inline function for this case.
11071 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11072 * bits/byteswap.h: Likewise.
11073 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11074 ull, guard with __GLIBC_HAVE_LONG_LONG.
11076 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11077 __GLIBC_HAVE_LONG_LONG.
11079 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11080 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11082 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11085 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11086 inptr and inend, rather than using last_ch.
11088 2012-04-02 David S. Miller <davem@davemloft.net>
11090 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11091 * stdio-common/printf-parse.h (read_int): Change return type to
11092 'int', return -1 on INT_MAX overflow.
11093 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11094 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11095 overflows INT_MAX. Check for overflow of in-format-string precision
11096 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11097 SIZE_MAX not INT_MAX for integer overflow test.
11098 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11099 skip the construct in the format string but do not record anything.
11100 * stdio-common/bug22.c: Adjust to test both width/prevision
11101 INT_MAX overflow as well as total length INT_MAX overflow. Check
11102 explicitly for proper errno values.
11104 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11106 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11108 * string/test-strcmp.c [! WIDE]: Likewise.
11109 * time/tst-mktime2.c: Likewise for INT_MAX.
11110 * string/test-string.h: #include <sys/param.h> for MIN.
11112 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11113 * sysdeps/i386/init-first.c (init): Likewise.
11114 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11115 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11116 * sysdeps/sh/init-first.c (init): Likewise.
11118 2012-04-01 Ulrich Drepper <drepper@gmail.com>
11120 * po/ru.po: Update from translation team.
11121 * po/vi.po: Likewise.
11123 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11125 * resolv/nss_dns/dns-host.c: Merge copyright years.
11127 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11129 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11130 Optimize memcpy with prefetch if
11131 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11132 src, dst pointers have unequal 16 byte alignments.
11134 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11137 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11138 from a CNAME entry and return the minimum ttl for the query.
11139 (gaih_getanswer_slice): Likewise.
11141 2012-03-30 Jeff Law <law@redhat.com>
11143 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11145 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11146 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11148 * resolv/nss_dns/dns-host.c: Update copyright year.
11150 2012-03-30 Ulrich Drepper <drepper@gmail.com>
11152 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11153 requests to save a system call. Fix check that all bytes are sent.
11155 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11156 comments for sendmmsg.
11158 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11161 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11162 with only 1 character between 0x0041 and 0x01b0.
11163 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11164 * wcsmbs/tst-mbsnrtowcs.c: New file.
11166 2012-03-29 David S. Miller <davem@davemloft.net>
11168 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11169 small copies by hand.
11171 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11174 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11175 _nss_compat_initgroups_dyn): Fall back to malloc/free
11176 for large group memberships.
11178 2012-03-28 David S. Miller <davem@davemloft.net>
11180 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11181 that branches into memcpy.
11182 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11183 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11184 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11185 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11186 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11188 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11189 implementation too.
11190 * sysdeps/sparc/mempcpy.S: New file.
11192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11193 the IFUNC routine in the libc case.
11194 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11196 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11197 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11198 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11199 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11200 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11201 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11202 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11203 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11205 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11206 loop to 256 bytes instead of 64 bytes and fix test signedness.
11208 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11209 * sysdeps/sparc/sparc32/Makefile: rather than here...
11210 * sysdeps/sparc/sparc64/Makefile: and here.
11212 2012-03-28 Ulrich Drepper <drepper@gmail.com>
11214 * malloc/mallocbug.c: Avoid warnings about unused variables.
11216 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11219 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11220 in the right place. Discard and retry query if response is
11221 larger than input buffer size.
11223 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11228 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11229 x for large integer exponent.
11230 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11231 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11232 sign of result as needed afterwards.
11233 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11234 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11235 result for underflowing pow the same as for overflow.
11236 (__kernel_standard_l): Handle powl overflow and underflow here
11237 rather than calling __kernel_standard.
11238 * math/libm-test.inc (pow_test): Add more tests.
11253 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11254 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11255 (__kernel_standard_l): New function.
11256 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11258 * math/w_acosl.c (__acosl): Likewise.
11259 * math/w_asinl.c (__asinl): Likewise.
11260 * math/w_atan2l.c (__atan2l): Likewise.
11261 * math/w_atanhl.c (__atanhl): Likewise.
11262 * math/w_coshl.c (__coshl): Likewise.
11263 * math/w_exp10l.c (__exp10l): Likewise.
11264 * math/w_exp2l.c (__exp2l): Likewise.
11265 * math/w_fmodl.c (__fmodl): Likewise.
11266 * math/w_hypotl.c (__hypotl): Likewise.
11267 * math/w_j0l.c (__j0l, __y0l): Likewise.
11268 * math/w_j1l.c (__j1l, __y1l): Likewise.
11269 * math/w_jnl.c (__jnl, __ynl): Likewise.
11270 * math/w_lgammal.c (__lgammal): Likewise.
11271 * math/w_log10l.c (__log10l): Likewise.
11272 * math/w_log2l.c (__log2l): Likewise.
11273 * math/w_logl.c (__logl): Likewise.
11274 * math/w_powl.c (__powl): Likewise.
11275 * math/w_remainderl.c (__remainderl): Likewise.
11276 * math/w_scalbl.c (sysv_scalbl): Likewise.
11277 * math/w_sinhl.c (__sinhl): Likewise.
11278 * math/w_sqrtl.c (__sqrtl): Likewise.
11279 * math/w_tgammal.c (__tgammal): Likewise.
11280 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11281 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11282 * math/libm-test.inc (acos_test): Add more tests.
11283 (acosh_test): Likewise.
11284 (asin_test): Likewise.
11285 (atanh_test): Likewise.
11286 (exp_test): Likewise.
11287 (exp10_test): Likewise.
11288 (exp2_test): Likewise.
11289 (expm1_test): Likewise.
11290 (lgamma_test): Likewise.
11291 (log_test): Likewise.
11292 (log10_test): Likewise.
11293 (log1p_test): Likewise.
11294 (log2_test): Likewise.
11295 (pow_test): Do not allow some spurious overflow exceptions.
11296 (sqrt_test): Add more tests.
11297 (tgamma_test): Likewise.
11298 (y0_test): Likewise.
11299 (y1_test): Likewise.
11300 (yn_test): Likewise.
11302 2012-03-27 Anton Blanchard <anton@samba.org>
11304 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11306 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11307 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11308 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11310 2012-03-27 David S. Miller <davem@davemloft.net>
11312 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11314 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11315 have-as-vis3 check.
11317 2012-03-27 Andreas Jaeger <aj@suse.de>
11319 * sysdeps/x86_64/elf/configure.in: Moved to ...
11320 * sysdeps/x86_64/configure.in: ... here.
11321 * sysdeps/x86_64/elf/start.S: Moved to ...
11322 * sysdeps/x86_64/start.S: ... here.
11323 * sysdeps/x86_64/elf/configure: Delete.
11325 * sysdeps/x86_64/configure.in: Merge contents from
11326 sysdeps/i386/configure.in (without i686 check).
11328 * sysdeps/i386/elf/Versions: Merge into ...
11329 * sysdeps/i386/Versions: ... this.
11330 * sysdeps/i386/elf/Versions: Delete file.
11331 * sysdeps/i386/elf/start.S: Moved to ...
11332 * sysdeps/i386/start.S: ...here.
11333 * sysdeps/i386/elf/configure.in: Merge into...
11334 * sysdeps/i386/configure.in: ...here.
11335 * sysdeps/i386/elf/configure.in: Delete file.
11336 * sysdeps/i386/elf/configure: Delete file.
11338 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11339 * debug/backtracesyms.c: ... here.
11340 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11341 * debug/backtracesymsfd.c: ... here.
11342 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11343 * sysdeps/generic/ifunc-sel.h: ... here.
11345 * sysdeps/unix/i386/start.c: Delete file.
11346 * sysdeps/unix/sparc/start.c: Delete file.
11347 * sysdeps/unix/start.c: Delete file.
11349 * sysdeps/sh/elf/configure.in: Moved to ...
11350 * sysdeps/sh/configure.in: ... here.
11351 * sysdeps/sh/elf/start.S: Moved to ...
11352 * sysdeps/sh/start.S: ... here.
11353 * sysdeps/sh/elf/configure: Delete file.
11355 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11356 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11357 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11358 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11359 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11360 * sysdeps/powerpc/powerpc64/start.S: here.
11361 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11362 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11363 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11364 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11365 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11367 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11368 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11369 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11370 * sysdeps/powerpc/powerpc32/start.S: ... here.
11371 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11372 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11373 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11375 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11376 * sysdeps/powerpc/ifunc-sel.h: ... here.
11377 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11378 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11380 * sysdeps/sparc/elf/configure.in: Moved to ...
11381 * sysdeps/sparc/configure.in: ... here.
11382 * sysdeps/sparc/elf/configure: Delete file.
11383 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11384 * sysdeps/sparc/sparc32/start.S: ... here.
11385 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11386 * sysdeps/sparc/sparc64/start.S: ... here.
11387 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11388 * sysdeps/sparc/sparc32/Makefile: ... this.
11389 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11390 * sysdeps/sparc/sparc64/Makefile: ... this.
11392 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11393 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11394 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11395 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11396 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11397 * sysdeps/s390/s390-32/setjmp.S: ... here.
11398 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11399 * sysdeps/s390/s390-32/configure.in: ... here.
11400 * sysdeps/s390/s390-32/elf/configure: Delete file.
11401 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11402 * sysdeps/s390/s390-32/start.S: ... here.
11404 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11405 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11406 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11407 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11408 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11409 * sysdeps/s390/s390-64/setjmp.S: ... here.
11410 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11411 * sysdeps/s390/s390-64/configure.in: ... here
11412 * sysdeps/s390/s390-64/elf/configure: Delete file.
11413 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11414 * sysdeps/s390/s390-64/start.S: ... here.
11415 * sysdeps/s390/s390-64/elf/configure: Delete.
11417 * configure.in: Remove support for elf directories in sysdeps.
11419 * configure: Regenerated.
11420 * sysdeps/i386/configure: Regenerated.
11421 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11422 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11423 * sysdeps/s390/s390-32/configure: Regenerated.
11424 * sysdeps/s390/s390-64/configure: Regenerated.
11425 * sysdeps/sh/configure: Regenerated.
11426 * sysdeps/sparc/configure: Regenerated.
11427 * sysdeps/x86_64/configure: Regenerated.
11429 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11433 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11434 denormal result into account.
11436 2012-03-25 Roland McGrath <roland@hack.frob.com>
11438 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11439 Reported by Allan McRae <allan@archlinux.org>.
11441 2012-03-23 Jeff Law <law@redhat.com>
11443 * nss/getnssent.c (__nss_getent): Fix typo.
11445 2012-03-23 David S. Miller <davem@davemloft.net>
11447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11449 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11451 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11452 to pad to uint64_t for each field.
11453 (dl_tls_index): Replace unsigned long with uint64_t.
11455 2012-03-23 Daniel Jacobowitz <dmj@google.com>
11456 Paul Pluzhnikov <ppluzhnikov@google.com>
11459 * grp/Makefile (otherlibs): Don't set it.
11460 * inet/Makefile (otherlibs): Likewise.
11461 * login/Makefile (otherlibs): Likewise.
11462 * nscd/Makefile (otherlibs): Likewise.
11463 * posix/Makefile (otherlibs): Likewise.
11464 * pwd/Makefile (otherlibs): Likewise.
11465 * rt/Makefile (otherlibs): Likewise.
11466 * sunrpc/Makefile (otherlibs): Likewise.
11467 * nss/Makefile (otherlibs): Likewise.
11468 Add libnss_files to routines and static-only-routines.
11469 ($(objpfx)getent): Remove rule.
11470 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11471 static-only-routines.
11473 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11476 * math/s_cexp.c: Include <float.h>.
11477 (__cexp): Handle exp result overflowing not necessarily
11478 overflowing both real and imaginary parts of result.
11479 * math/s_cexpf.c: Likewise.
11480 * math/s_cexpl.c: Likewise.
11481 * math/libm-test.inc (cexp_test): Add more tests.
11482 * sysdeps/i386/fpu/libm-test-ulps: Update.
11483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11485 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11487 * include/link.h (ELFW): New macro.
11488 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11489 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11491 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11493 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11496 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11498 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11500 (struct La_x32_retval): Likewise.
11502 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11504 * sysdeps/x86_64/preconfigure.in: New file.
11505 * sysdeps/x86_64/preconfigure: New generated file.
11507 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11510 * math/e_exp2l.c: Include <float.h>.
11511 (__ieee754_exp2l): Handle overflow and underflow cases
11512 separately. Only pass fractional part of argument to
11514 * math/libm-test.inc (exp2_test): Add more tests.
11516 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11517 negating x to take absolute value.
11518 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11520 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11521 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11523 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11524 computing low part if x was negated.
11525 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11527 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11529 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11530 la_x32_gnu_pltexit.
11531 (pltexit): Cast int_retval to ptrdiff_t.
11532 * elf/tst-auditmod3b.c: Likewise.
11533 * elf/tst-auditmod4b.c: Likewise.
11534 * elf/tst-auditmod5b.c: Likewise.
11535 * elf/tst-auditmod6b.c: Likewise.
11536 * elf/tst-auditmod6c.c: Likewise.
11537 * elf/tst-auditmod7b.c: Likewise.
11539 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11540 and x32_gnu_pltexit.
11542 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11543 __ELF_NATIVE_CLASS.
11544 (La_x32_regs): New macro.
11545 (La_x32_retval): Likewise.
11546 (la_x32_gnu_pltenter): New function prototype.
11547 (la_x32_gnu_pltexit): Likewise.
11549 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11551 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11556 * configure.in (libc_cv_cc_nofma): Check for option to disable
11557 generation of FMA instructions.
11558 * configure: Regenerate.
11559 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11560 * sysdeps/ieee754/dbl-64/Makefile: New file.
11561 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11562 Remove brandred-fma4.
11563 (CFLAGS-brandred-fma4.c): Remove.
11564 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11565 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11567 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11570 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11572 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11573 LLONG_MAX != LONG_MAX.
11574 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11575 (_fitoa_word): Likewise.
11576 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11577 LLONG_MAX != LONG_MAX.
11578 * stdio-common/_itowa.h: Include <_itoa.h>.
11579 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11580 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11581 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11582 only if not defined.
11583 (_ITOA_WORD_TYPE): Likewise.
11584 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11585 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11587 2012-03-21 David S. Miller <davem@davemloft.net>
11589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11591 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11593 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11594 of x86_64 when setting libc_cv_slibdir, libdir and
11596 * sysdeps/unix/sysv/linux/configure: Regenerated.
11598 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11600 * manual/lang.texi (Old Varargs): Remove section.
11601 (How Variadic): Update menu.
11602 (va_start): Do not mention varargs.h.
11604 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11605 Joseph Myers <joseph@codesourcery.com>
11607 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11609 * configure: Regenerated.
11611 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11613 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11614 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11617 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11620 * Makefile (files-for-dist): Remove NOTES.
11621 (NOTES): Remove rule.
11622 * README: Don't refer to NOTES.
11623 * manual/creature.texi: Don't include macros.texi.
11624 * manual/intro.texi (creature.texi): Remove comment referring to
11627 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11628 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11629 * configure: Regenerated.
11630 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11631 LIBC_TRY_CC_OPTION.
11632 (libc_cv_as_i686): Likewise.
11633 (libc_cv_cc_avx): Likewise.
11634 (libc_cv_cc_sse2avx): Likewise.
11635 (libc_cv_cc_fma4): Likewise.
11636 (libc_cv_cc_novzeroupper): Likewise.
11637 * sysdeps/i386/configure: Regenerated.
11640 * sysdeps/i386/fpu/s_cexp.S: Remove.
11641 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11642 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11643 * math/libm-test.inc (cexp_test): Add more tests.
11644 * sysdeps/i386/fpu/libm-test-ulps: Update.
11645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11647 2012-03-21 Allan McRae <allan@archlinux.org>
11649 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11651 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11654 * math/w_exp2.c: Do not include <float.h>.
11655 (o_threshold, u_threshold): Remove.
11656 (__exp2): Calculate result before checking finiteness and calling
11658 * math/w_exp2f.c: Likewise.
11659 * math/w_exp2l.c: Likewise.
11660 * math/libm-test.inc (exp2_test): Require overflow exception for
11664 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11665 range of signed 64-bit integers before using fistpll. Remove
11666 checks for whether integers fit in mantissa bits.
11667 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11668 the range of signed 32-bit integers before using fistpl. Remove
11669 checks for whether integers fit in mantissa bits.
11670 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11671 (__ieee754_powl): Test for y outside the range of signed 64-bit
11672 integers before using fistpll. Reduce 64-bit values to 63-bit
11674 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11675 divide-by-zero is raised for zero to large negative powers.
11676 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11677 (__ieee754_powl): Test for y outside the range of signed 64-bit
11678 integers before using fistpll. Reduce 64-bit values to 63-bit
11680 * math/libm-test.inc (pow_test): Add more tests.
11682 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11684 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11685 <stdio-common/_itoa.h>.
11686 * debug/segfault.c: Likewise.
11687 * elf/dl-cache.c: Likewise.
11688 * elf/dl-minimal.c: Likewise.
11689 * elf/dl-misc.c: Likewise.
11690 * elf/dl-sysdep.c: Likewise.
11691 * elf/dl-version.c: Likewise.
11692 * elf/rtld.c: Likewise.
11693 * hurd/hurdsock.c: Likewise.
11694 * hurd/lookup-retry.c: Likewise.
11695 * malloc/malloc.c: Likewise.
11696 * malloc/mtrace.c: Likewise.
11697 * nscd/nscd_getgr_r.c: Likewise.
11698 * nscd/nscd_getpw_r.c: Likewise.
11699 * nscd/nscd_getserv_r.c: Likewise.
11700 * posix/getopt_init.c: Likewise.
11701 * posix/wordexp.c: Likewise.
11702 * stdio-common/_itoa.c: Likewise.
11703 * stdio-common/printf_fphex.c: Likewise.
11704 * stdio-common/vfprintf.c: Likewise.
11705 * string/_strerror.c: Likewise.
11706 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11707 * sysdeps/i386/i686/hp-timing.h: Likewise.
11708 * sysdeps/mach/_strerror.c: Likewise.
11709 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11710 * sysdeps/mach/hurd/sethostid.c: Likewise.
11711 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11712 * sysdeps/mach/xpg-strerror.c: Likewise.
11713 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11714 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11715 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11716 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11717 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11718 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11719 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11720 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11721 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11722 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11723 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11724 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11725 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11726 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11727 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11728 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11729 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11730 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11731 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11732 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11733 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11735 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11737 * stdio-common/_itoa.h: Moved to ...
11738 * sysdeps/generic/_itoa.h: Here.
11740 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11742 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11743 instead of "_itoa.h" and "_itowa.h".
11744 * stdio-common/vfprintf.: Likewise.
11746 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11748 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11750 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11751 (__signbit): Likwise.
11752 (llrintf): Likwise.
11755 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11757 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11760 2012-03-20 Joseph Myers <joseph@codesourcery.com>
11762 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11763 OVERFLOW_EXCEPTION_OK.
11764 * math/libm-test.inc ("Philosophy"): Update comment about
11766 (OVERFLOW_EXCEPTION): Define.
11767 (OVERFLOW_EXCEPTION_OK): Likewise.
11768 (INVALID_EXCEPTION_OK): Renumber.
11769 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11770 (IGNORE_ZERO_INF_SIGN): Likewise.
11771 (test_exceptions): Handle FE_OVERFLOW.
11772 (exp10_test): Expect overflow exceptions.
11773 (exp2_test): Likewise.
11774 (expm1_test): Likewise.
11775 (nextafter_test): Likewise.
11776 (pow_test): Likewise.
11777 (scalbn_test): Likewise.
11778 (scalbln_test): Likewise.
11780 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11782 * sysdeps/x86_64/bits/atomic.h
11783 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11785 (atomic_exchange_acq): Likewise.
11786 (__arch_exchange_and_add_body): Likewise.
11787 (__arch_add_body): Likewise.
11788 (atomic_add_negative): Likewise.
11789 (atomic_add_zero): Likewise.
11791 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11793 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11794 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11796 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11798 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11799 Check __x86_64__ instead of __WORDSIZE.
11801 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11803 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11805 2012-03-19 David S. Miller <davem@davemloft.net>
11807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11809 * sysdeps/sparc/fpu/fenv_private.h: New file.
11810 * sysdeps/sparc/fpu/math_private.h: Use it.
11811 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11813 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11814 (libc_feholdexcept_setroundl): Remove.
11815 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11817 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11818 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11820 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11822 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11823 int64_t instead of long int.
11824 (INSERT_WORDS64): Likwise.
11826 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11828 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11829 _Unwind_GetCFA return to _Unwind_Ptr first.
11831 2012-03-19 Joseph Myers <joseph@codesourcery.com>
11834 * math/s_clog.c: Include <float.h>.
11835 (__clog): Scale large or subnormal inputs.
11836 * math/s_clogf.c: Likewise.
11837 * math/s_clogl.c: Likewise.
11838 * math/s_clog10.c: Include <float.h>.
11839 (M_LOG10_2): Define.
11840 (__clog10): Scale large or subnormal inputs.
11841 * math/s_clog10f.c: Likewise.
11842 * math/s_clog10l.c: Likewise.
11843 * math/libm-test.inc (clog_test): Add more tests.
11844 (clog10_test): Likewise.
11845 * sysdeps/i386/fpu/libm-test-ulps: Update.
11846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11849 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11851 * math/libm-test.inc (atan2_test): Add another test.
11853 * Makerules (common-objdir-compile): Remove.
11854 * sysdeps/unix/Makefile (config-generated): Do not add
11855 $(unix-generated) to variable.
11856 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11857 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11859 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11861 [generic bits/local_lim.h] (before-compile): Do not append to
11863 [generic bits/local_lim.h] (common-generated): Likewise.
11864 [generic sys/param.h] (before-compile): Do not append to variable.
11865 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11866 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11867 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11868 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11870 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11871 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11872 [generic sys/param.h] ($(addprefix
11873 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11874 [generic sys/param.h] (common-generated): Do not append to
11876 [generic sys/param.h] (sysdep_headers): Likewise.
11877 [generic bits/errno.h] (before-compile): Do not append to
11879 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11881 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11882 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11883 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11884 [generic bits/errno.h] (common-generated): Do not append to
11886 [generic bits/ioctls.h] (before-compile): Do not append to
11888 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11890 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11891 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11892 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11894 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11895 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11896 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11897 [generic bits/ioctls.h] (common-generated): Do not append to
11899 [generic sys/syscall.h] (syscall.h): Remove variable.
11900 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11902 [generic sys/syscall.h] (before-compile): Do not append to
11904 [generic sys/syscall.h] (common-generated): Likewise.
11905 * sysdeps/unix/errnos-tmpl.c: Remove file.
11906 * sysdeps/unix/errnos.awk: Likewise.
11907 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11908 * sysdeps/unix/ioctls.awk: Likewise.
11909 * sysdeps/unix/mk-local_lim.c: Likewise.
11910 * sysdeps/unix/snarf-ioctls: Likewise.
11912 2012-03-19 Richard Henderson <rth@twiddle.net>
11914 * sysdeps/i386/fpu/fenv_private.h: New file.
11915 * sysdeps/i386/fpu/math_private.h: Use it.
11916 (math_opt_barrier, math_force_eval): Remove.
11917 (libc_feholdexcept_setround_53bit): Remove.
11918 (libc_feupdateenv_53bit): Remove.
11919 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11920 (math_opt_barrier, math_force_eval): Remove.
11921 (libc_feholdexcept): Remove.
11922 (libc_feholdexcept_setround): Remove.
11923 (libc_fetestexcept, libc_fesetenv): Remove.
11924 (libc_feupdateenv_test): Remove.
11925 (libc_feupdateenv, libc_feholdsetround): Remove.
11926 (libc_feresetround): Remove.
11928 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11929 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11931 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11932 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11933 (libc_feupdateenv_testl): New.
11934 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11935 (libc_feupdateenv_testf): New.
11936 (libc_feupdateenv): Use libc_feupdateenv_test.
11937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11938 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11940 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11941 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11942 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11943 (libc_feresetround_noex): New.
11944 (libc_feresetround_noexf): New.
11945 (libc_feresetround_noexl): New.
11946 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11947 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11948 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11949 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11951 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11952 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11954 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11955 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11956 SET_RESTORE_ROUND_NOEX.
11957 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11958 SET_RESTORE_ROUND_NOEXF.
11959 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11960 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11961 (libc_feholdsetroundf): New.
11962 (libc_feresetround, libc_feresetroundf): New.
11964 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11965 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11966 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11968 * sysdeps/generic/math_private.h: Include <fenv.h>.
11969 (default_libc_feholdexcept): New.
11970 (default_libc_feholdexcept_setround): New.
11971 (default_libc_fesetenv, default_libc_feupdateenv): New.
11972 (libc_feholdexcept): Only define if undefined.
11973 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11974 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11975 (libc_feholdexcept_setroundl): Likewise.
11976 (libc_feholdexcept_setround_53bit): Likewise.
11977 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11978 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11979 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11980 (libc_feupdateenv_53bit): Likewise.
11981 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11982 (libc_feholdexcept): Convert from macro to inline function.
11983 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11984 (libc_fesetenv, libc_feupdateenv): Likewise.
11986 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11987 not previously defined.
11988 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11989 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11990 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11991 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11992 * sysdeps/ieee754/flt-32/math_private.h: New file.
11993 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11994 math_private.h below SET_FLOAT_WORD.
11995 (__isnan, __isinf_ns, __finite): Remove.
11996 (__isnanf, __isinf_nsf, __finitef): Remove.
11998 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12002 2012-03-17 David S. Miller <davem@davemloft.net>
12005 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12008 2012-03-16 David S. Miller <davem@davemloft.net>
12010 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12014 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12016 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12017 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12018 sysdep_routines when subdir is sysvipc.
12019 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12020 __getshmlba helper.
12022 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12024 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12026 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12029 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12031 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12032 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12033 (__lround): Renamed to ...
12034 (__llround): This. Replace long int with long long int.
12035 Define lround functions as aliases of llround functions.
12036 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12038 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12040 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12041 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12042 adresses to uintptr_t. Replace "long int" and "unsigned long
12043 int" with "greg_t" on va_arg.
12045 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12047 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12048 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12050 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12051 Move e_machine check before EI_CLASS check. Handle x32
12052 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12053 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12054 SKIP_EM_IA_64 and include
12055 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12057 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12058 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12059 (add_system_dir): New macro.
12061 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12062 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12064 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12075 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12077 * math/w_j0f.c (j0f): Likewise.
12079 * math/w_j0l.c (__j0l): Likewise.
12081 * math/w_j1.c (j1): Likewise.
12083 * math/w_j1f.c (j1f): Likewise.
12085 * math/w_j1l.c (__j1l): Likewise.
12087 * math/w_jn.c (jn): Likewise.
12089 * math/w_jnf.c (jnf): Likewise.
12091 * math/w_jnl.c (__jnl): Likewise.
12093 * math/libm-test.inc (j0_test): Add more tests.
12094 (j1_test): Likewise.
12095 (jn_test): Likewise. Add trailing semicolon to existing test.
12096 (y0_test): Likewise.
12097 (y1_test): Likewise.
12098 * sysdeps/i386/fpu/libm-test-ulps: Update.
12099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12103 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12104 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12105 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12106 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12107 (__tanl): Set errno for infinite argument.
12108 * sysdeps/i386/fpu/mptan.c: Remove.
12109 * sysdeps/i386/fpu/s_tan.S: Likewise.
12110 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12111 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12112 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12113 * math/libm-test.inc (tan_test): Add more tests and enable more
12114 tests for double and long double.
12115 * sysdeps/i386/fpu/libm-test-ulps: Update.
12116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12118 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12120 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12121 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12123 2012-03-16 Roland McGrath <roland@hack.frob.com>
12125 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12126 * configure.in: Use it for both main tree and add-ons.
12127 * configure: Regenerated.
12129 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12131 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12133 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12135 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12139 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12140 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12141 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12142 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12143 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12145 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12146 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12147 != 0 for prec == 2.
12148 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12149 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12150 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12151 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12152 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12153 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12154 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12155 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12156 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12157 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12158 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12159 * math/libm-test.inc (cos_test): Add more tests and enable more
12160 tests for long double.
12161 (sin_test): Likewise.
12162 (sincos_test): Likewise.
12163 * sysdeps/i386/fpu/libm-test-ulps: Update.
12164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12166 2012-03-16 David S. Miller <davem@davemloft.net>
12168 * sysdeps/sparc/fpu/math_private.h: New file.
12170 2012-03-15 David S. Miller <davem@davemloft.net>
12172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12182 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12186 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12187 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12189 * sysdeps/sparc/sparc-ifunc.h: New file.
12190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12216 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12217 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12228 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12229 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12231 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12232 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12233 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12235 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12237 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12241 2012-03-15 Andreas Jaeger <aj@suse.de>
12244 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12245 ieee754/flt-32 implementation for sin, cos and sincos.
12246 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12247 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12248 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12249 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12250 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12251 ieee754/flt-32 implementation for tan.
12253 * math/libm-test.inc (cos_test): Enable some large input tests for
12255 (sin_test): Likewise.
12256 (sincos_test): Likewise.
12257 (tan_test): Add tests for large input.
12259 * sysdeps/i386/fpu/libm-test-ulps: Update.
12261 2012-03-15 Andreas Jaeger <aj@suse.de>
12264 * math/libm-test.inc (cos_test): Add more test cases.
12265 (sin_test): Likewise.
12266 (sincos_test): Likewise.
12268 2012-03-15 Andreas Jaeger <aj@suse.de>
12271 * math/libm-test.inc (cos_test): Add a test case for large input
12273 (sin_test): Likewise.
12274 (sincos_test): Likewise.
12276 2012-03-15 Andreas Jaeger <aj@suse.de>,
12277 Joseph Myers <joseph@codesourcery.com>
12280 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12281 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12282 * sysdeps/i386/fpu/branred.c: Likewise.
12283 * sysdeps/i386/fpu/dosincos.c: Likewise.
12284 * sysdeps/i386/fpu/mpa.c: Likewise.
12285 * sysdeps/i386/fpu/s_cos.S: Likewise.
12286 * sysdeps/i386/fpu/s_sin.S: Likewise.
12287 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12288 * sysdeps/i386/fpu/sincos32.c: Likewise.
12290 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12292 (libc_feupdateenv_53bit): Define.
12293 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12295 (libc_feupdateenv_53bit): Define.
12297 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12298 53 bit (without extend i386 double precision).
12300 * math/libm-test.inc (sincos_test): Add tests for large input.
12304 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12306 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12310 2012-03-15 David S. Miller <davem@davemloft.net>
12312 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12313 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12314 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12315 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12339 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12340 fmin/fmax sysdep routines.
12341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12343 2012-03-14 David S. Miller <davem@davemloft.net>
12345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12347 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12348 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12349 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12350 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12351 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12352 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12354 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12356 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12365 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12366 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12367 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12368 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12369 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12370 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12371 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12372 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12373 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12417 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12422 * sysdeps/sparc/configure.in: New file.
12423 * sysdeps/sparc/configure: Generate.
12424 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12425 * configure: Regenerate.
12426 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12427 * config.make.in (have-as-vis3): New.
12428 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12429 available use -Av9d instead of -Av9a.
12430 * sysdeps/sparc/sparc64/Makefile: Likewise.
12431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12441 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12442 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12443 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12444 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12446 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12447 fzeros/fnegs to load 0x80000000 into a float register instead of
12449 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12451 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12455 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12456 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12457 ($(inst_includedir)/bits/syscall.h): Remove rule.
12458 ($(objpfx)bits/syscall.d): Include instead of
12459 $(objpfx)syscall-list.d.
12460 (generated): Change syscall-list.h and syscall-list.d to
12461 bits/syscall.h and bits/syscall.d.
12463 2012-03-14 Roland McGrath <roland@hack.frob.com>
12466 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12468 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12471 * math/s_csqrt.c: Include <float.h>.
12472 (__csqrt): Scale large or subnormal inputs.
12473 * math/s_csqrtf.c: Likewise.
12474 * math/s_csqrtl.c: Likewise.
12475 * math/libm-test.inc (csqrt_test): Add more tests.
12476 * sysdeps/i386/fpu/libm-test-ulps: Update.
12477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12480 * math/libm-test.inc (hypot_test): Add more tests.
12482 2012-03-13 David S. Miller <davem@davemloft.net>
12485 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12486 double-precision for the calculation instead of scaling.
12488 2012-03-13 Joseph Myers <joseph@codesourcery.com>
12490 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12491 manipulate bits before adding and subtracting TWO52[sx].
12492 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12493 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12495 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12497 2012-03-13 David S. Miller <davem@davemloft.net>
12499 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12500 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12501 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12502 rtld-global-offsets.h
12503 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12505 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12508 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12510 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12511 'err' in the ifdef scope in which it is actually used.
12513 * nss/nss_db/db-init.c: Include string.h
12515 2012-03-12 David S. Miller <davem@davemloft.net>
12517 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12518 masking out of the most significant byte of random value used.
12519 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12520 Fix coding style in previous change.
12522 * sysdeps/unix/sysv/linux/kernel-features.h
12523 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12524 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12526 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12529 2012-03-11 David S. Miller <davem@davemloft.net>
12531 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12532 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12533 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12534 for 'resultvar' otherwise things get truncated on 64-bit.
12536 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12537 Fix masking out of the most significant byte of random value used.
12539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12541 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12545 2012-03-09 David S. Miller <davem@davemloft.net>
12547 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12548 variables with appropriate CPP guards.
12549 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12550 frame pointer, not the stack pointer. Correct layout comments. Fix test
12551 on resulting framesize and the management of the outregs buffer for pltexit.
12552 Preserve floating point return values across _dl_call_pltexit call.
12553 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12554 framesize and the management of the outregs buffer for pltexit.
12555 Preserve floating point return values across _dl_call_pltexit
12557 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12558 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12559 (print_exit): Fix format string for return register value.
12561 2012-03-10 Joseph Myers <joseph@codesourcery.com>
12563 * sunrpc/Makefile (others): Add rpcgen.
12564 ($(objpfx)rpcgen): Remove special build rule and dependency on
12566 * sunrpc/rpcgen.c: New file.
12568 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12571 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12572 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12573 * sysdeps/i386/crti.S: Likewise.
12574 * sysdeps/i386/crtn.S: Likewise.
12575 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12576 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12577 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12578 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12579 * sysdeps/sh/crti.S: Likewise.
12580 * sysdeps/sh/crtn.S: Likewise.
12581 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12584 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12586 * locale/programs/locfile-kw.gperf: Likewise.
12587 * locale/programs/charmap-kw.h: Regenerated.
12588 * locale/programs/locfile-kw.h: Likewise.
12591 * intl/plural.y: Replace FSF snail mail address with URL.
12592 * intl/plural.c: Regenerated.
12594 2012-03-09 Richard Henderson <rth@twiddle.net>
12596 * include/math_private.h: Remove file.
12597 * math/math_private.h: Move file ...
12598 * sysdeps/generic/math_private.h: ... here.
12600 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12601 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12602 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12604 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12605 and <math_private.h>.
12606 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12607 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12608 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12609 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12610 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12611 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12612 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12613 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12614 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12615 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12616 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12628 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12630 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12631 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12632 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12633 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12638 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12641 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12642 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12643 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12646 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12647 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12648 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12649 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12653 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12654 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12655 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12656 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12657 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12658 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12659 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12660 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12661 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12662 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12663 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12664 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12665 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12666 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12667 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12669 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12670 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12671 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12672 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12673 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12674 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12675 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12676 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12677 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12679 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12680 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12681 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12682 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12683 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12688 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12689 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12690 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12691 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12692 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12693 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12694 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12695 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12696 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12697 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12698 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12699 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12700 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12701 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12702 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12703 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12704 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12705 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12706 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12707 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12708 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12709 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12710 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12711 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12712 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12713 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12714 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12715 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12716 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12717 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12718 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12719 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12720 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12721 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12722 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12723 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12724 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12725 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12726 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12727 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12728 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12729 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12730 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12731 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12732 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12733 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12734 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12735 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12736 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12737 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12738 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12739 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12740 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12741 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12742 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12743 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12744 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12745 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12746 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12747 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12748 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12749 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12750 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12751 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12752 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12753 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12754 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12755 * sysdeps/ieee754/k_standard.c: Likewise.
12756 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12758 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12759 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12760 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12761 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12762 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12763 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12764 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12765 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12766 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12767 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12768 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12769 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12770 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12771 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12772 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12773 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12774 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12775 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12776 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12777 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12778 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12779 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12780 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12781 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12782 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12783 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12784 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12785 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12786 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12787 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12788 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12789 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12790 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12791 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12792 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12796 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12797 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12798 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12799 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12800 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12801 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12802 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12803 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12804 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12805 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12806 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12807 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12808 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12809 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12810 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12811 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12845 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12847 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12849 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12851 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12852 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12853 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12854 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12857 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12858 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12859 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12860 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12861 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12862 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12863 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12864 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12865 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12866 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12867 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12868 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12869 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12870 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12871 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12872 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12873 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12874 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12875 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12876 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12878 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12879 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12880 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12881 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12882 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12883 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12884 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12885 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12886 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12887 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12888 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12889 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12890 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12891 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12892 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12893 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12895 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12896 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12897 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12898 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12899 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12900 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12901 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12903 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12904 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12905 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12906 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12907 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12909 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12910 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12914 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12915 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12916 * sysdeps/ieee754/s_lib_version.c: Likewise.
12917 * sysdeps/ieee754/s_matherr.c: Likewise.
12918 * sysdeps/ieee754/s_signgam.c: Likewise.
12919 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12920 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12921 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12922 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12923 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12924 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12925 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12926 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12927 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12928 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12929 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12930 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12931 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12932 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12933 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12934 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12935 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12936 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12937 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12941 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12943 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12944 * sunrpc/rpc_main.c: Likewise.
12945 * sunrpc/rpc_svcout.c: Likewise.
12947 2012-03-09 David S. Miller <davem@davemloft.net>
12949 * include/math_private.h: New file.
12951 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12953 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12954 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12955 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12956 from <bits/socket_type.h>.
12957 (enum __socket_type): Don't define here.
12958 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12960 bits/socket_type.h.
12963 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12964 checking __USE_GNU.
12966 * Makerules ($(inst_includedir)/%.h): New rule.
12967 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12968 (install-others): Remove variable setting.
12969 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12971 2012-03-08 Richard Henderson <rth@twiddle.net>
12973 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12974 from macro to inline function; merge with the
12975 !__LIBC_INTERNAL_MATH_INLINES version.
12976 (__ieee754_sqrtf): Likewise.
12978 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12979 to inline function.
12980 (__rintf, __floor, __floorf): Likewise.
12982 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12983 macro to inline function.
12984 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12986 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12987 not <math/math_private.h>.
12989 2012-03-08 David S. Miller <davem@davemloft.net>
12991 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12993 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12995 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
12997 * resolv/gai_misc.c (handle_requests): Fix struct timespec
12999 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13000 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13002 2012-03-08 Ulrich Drepper <drepper@gmail.com>
13004 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13005 be defined individually, they must be defined as a block. Define
13006 S for printing a string instead of hidint the different by using a
13007 macro for adding the 'l'.
13008 * stdio-common/tst-fphex-wide.c: Adjust.
13010 2012-03-07 Marek Polacek <polacek@redhat.com>
13012 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13014 2012-03-08 Marek Polacek <polacek@redhat.com>
13017 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13018 * stdio-common/tst-fphex.c: Define a few macros to make the
13019 test reusable. Use them.
13020 * stdio-common/tst-fphex-wide.c: New file.
13022 2012-03-08 Joseph Myers <joseph@codesourcery.com>
13025 * manual/macros.texi (gnusystems): New macro.
13026 (nongnusystems): Likewise.
13027 (gnulinuxhurdsystems): Likewise.
13028 (gnuhurdsystems): Likewise..
13029 (gnulinuxsystems): Likewise.
13030 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13031 variants of the GNU system, not "GNU system".
13032 * manual/conf.texi: Likewise.
13033 * manual/errno.texi: Likewise. Update example of errno macro
13035 * manual/filesys.texi: Likewise.
13036 (getumask): Document as specific to GNU/Hurd.
13037 * manual/install.texi: Likewise. Reword some references to
13039 * manual/intro.texi: Likewise.
13040 * manual/io.texi: Likewise.
13041 (File Name Portability): Detail which constraints are inapplicable
13042 to all GNU systems and which are only inapplicable to GNU/Hurd.
13043 * manual/job.texi: Likewise.
13044 * manual/llio.texi: Likewise.
13045 (O_NOCTTY): Document as present on GNU/Linux.
13046 * manual/maint.texi: Likewise.
13047 * manual/memory.texi: Likewise.
13048 * manual/pattern.texi: Likewise.
13049 * manual/pipe.texi: Likewise.
13050 * manual/process.texi: Likewise.
13051 * manual/resource.texi: Likewise.
13052 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13054 * manual/setjmp.texi: Likewise.
13055 * manual/signal.texi: Likewise.
13056 * manual/startup.texi: Likewise.
13057 * manual/stdio.texi: Likewise.
13058 * manual/terminal.texi: Likewise.
13059 (ONLCR): Document as POSIX.
13060 (OXTABS): Document availability on GNU/Linux as XTABS.
13061 (ONOEOT): Document availability separately from other bits.
13062 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13063 * manual/time.texi: Likewise.
13064 * manual/users.texi: Likewise.
13065 * INSTALL: Regenerated.
13066 * sysdeps/gnu/errlist.c: Regenerated.
13068 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13069 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13070 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13072 * configure: Regenerated.
13074 2012-03-07 Joseph Myers <joseph@codesourcery.com>
13076 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13077 default includes instead of AC_HEADER_CHECK.
13078 * sysdeps/i386/configure: Regenerated.
13081 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13082 * math/s_cacoshf.c (__cacoshf): Likewise.
13083 * math/s_cacoshl.c (__cacoshl): Likewise.
13084 * math/s_casinh.c (__casinh): Set signs of result from argument.
13085 * math/s_casinhf.c (__casinhf): Likewise.
13086 * math/s_casinhl.c (__casinhl): Likewise.
13087 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13088 (casinh_test): Add more tests.
13089 * sysdeps/i386/fpu/libm-test-ulps: Update.
13090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13092 2012-03-07 Ulrich Drepper <drepper@gmail.com>
13094 * po/zh_TW.po: Update from translation team.
13096 * login/Makefile (distribute): Remove variable.
13097 * catgets/Makefile: Likewise.
13098 * mach/Makefile: Likewise.
13099 * malloc/Makefile: Likewise.
13100 * misc/Makefile: Likewise.
13101 * iconv/Makefile: Likewise.
13102 * nscd/Makefile: Likewise.
13103 * hurd/Makefile: Likewise.
13104 * manual/Makefile: Likewise.
13105 * locale/Makefile: Likewise.
13106 * intl/Makefile: Likewise.
13107 * conform/Makefile: Likewise.
13108 * nss/Makefile: Likewise.
13109 * time/Makefile: Likewise.
13110 * soft-fp/Makefile: Likewise.
13111 * dirent/Makefile: Likewise.
13112 * gmon/Makefile: Likewise.
13113 * po/Makefile: Likewise.
13114 * rt/Makefile: Likewise.
13115 * socket/Makefile: Likewise.
13116 * math/Makefile: Likewise.
13117 * signal/Makefile: Likewise.
13118 * debug/Makefile: Likewise.
13119 * elf/Makefile: Likewise.
13120 * timezone/Makefile: Likewise.
13121 * stdlib/Makefile: Likewise.
13122 * iconvdata/Makefile: Likewise.
13123 * sunrpc/Makefile: Likewise.
13124 * io/Makefile: Likewise.
13125 * argp/Makefile: Likewise.
13126 * inet/Makefile: Likewise.
13127 * hesiod/Makefile: Likewise.
13128 * grp/Makefile: Likewise.
13129 * csu/Makefile: Likewise.
13130 * wctype/Makefile: Likewise.
13131 * crypt/Makefile: Likewise.
13132 * libio/Makefile: Likewise.
13133 * string/Makefile: Likewise.
13134 * nis/Makefile: Likewise.
13135 * resolv/Makefile: Likewise.
13136 * stdio-common/Makefile: Likewise.
13137 * wcsmbs/Makefile: Likewise.
13138 * dlfcn/Makefile: Likewise.
13139 * posix/Makefile: Likewise.
13142 * timezone/Makefile: Don't install timezone files, just the programs
13145 2012-03-06 Ulrich Drepper <drepper@gmail.com>
13147 * nss/databases.def: Add missing gshadow entry.
13149 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13151 2012-03-06 Marek Polacek <polacek@redhat.com>
13154 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13155 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13156 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13157 * stdio-common/tst-long-dbl-fphex.c: New file.
13159 2012-03-06 David S. Miller <davem@davemloft.net>
13161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13162 (set_obp_int): New function.
13163 (get_obp_int): New function.
13164 (__get_clockfreq_via_dev_openprom): Likewise.
13165 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13166 Avoid unused variable warnings on 'val' and use builtin_expect.
13167 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13169 (INLINE_CLONE_SYSCALL): Likewise.
13171 2012-03-05 David S. Miller <davem@davemloft.net>
13173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13175 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13179 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13180 only for |x| >= 40.
13181 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13183 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
13185 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13186 Replace gettimeofday with __vdso_gettimeofday.
13188 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13189 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13190 __vdso_clock_gettime and __vdso_getcpu.
13192 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13193 time with __vdso_time.
13195 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13197 * manual/lang.texi (size_t): Note types to which size_t may be
13198 equivalent with the GNU C Library, but do not describe when
13199 differences between them are significant.
13201 2012-03-05 Andreas Jaeger <aj@suse.de>
13203 * sysdeps/i386/fpu/libm-test-ulps: Update.
13205 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13208 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13209 (__ieee754_pow): Save and restore rounding mode and use
13210 round-to-nearest for main computations.
13211 * math/libm-test.inc (pow_test_tonearest): New function.
13212 (pow_test_towardzero): Likewise.
13213 (pow_test_downward): Likewise.
13214 (pow_test_upward): Likewise.
13215 (main): Call the new functions.
13216 * sysdeps/i386/fpu/libm-test-ulps: Update.
13217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13220 * math/libm-test.inc (cosh_test_tonearest): New function.
13221 (cosh_test_towardzero): Likewise.
13222 (cosh_test_downward): Likewise.
13223 (cosh_test_upward): Likewise.
13224 (sinh_test_tonearest): Likewise.
13225 (sinh_test_towardzero): Likewise.
13226 (sinh_test_downward): Likewise.
13227 (sinh_test_upward): Likewise.
13228 (main): Call the new functions.
13229 * sysdeps/i386/fpu/libm-test-ulps: Update.
13230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13232 2012-03-05 Tom de Vries <tom@codesourcery.com>
13234 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13235 default stack guard is set in last bytes.
13236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13238 2012-03-05 Kees Cook <keescook@chromium.org>
13240 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13243 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13244 possibly allocate from heap instead of stack.
13245 * stdio-common/bug-vfprintf-nargs.c: New file.
13246 * stdio-common/Makefile (tests): Add nargs overflow test.
13248 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13252 2012-03-03 Marek Polacek <polacek@redhat.com>
13254 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13255 * math/math_private.h: Likewise.
13256 * stdlib/tst-strtod.c: Likewise.
13257 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13258 * sysdeps/x86_64/bits/atomic.h: Likewise.
13260 2012-03-02 David S. Miller <davem@davemloft.net>
13262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13266 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13267 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13268 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13269 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13271 2012-03-02 Roland McGrath <roland@hack.frob.com>
13274 * manual/examples/README: New file, says the example source files
13275 can be used under GPL>=2.
13276 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13277 line containing just "*/".
13278 * manual/examples/add.c: Add copyright header (GPL>=2).
13279 * manual/examples/argp-ex1.c: Likewise.
13280 * manual/examples/argp-ex2.c: Likewise.
13281 * manual/examples/argp-ex3.c: Likewise.
13282 * manual/examples/argp-ex4.c: Likewise.
13283 * manual/examples/atexit.c: Likewise.
13284 * manual/examples/db.c: Likewise.
13285 * manual/examples/dir.c: Likewise.
13286 * manual/examples/dir2.c: Likewise.
13287 * manual/examples/execinfo.c: Likewise.
13288 * manual/examples/filecli.c: Likewise.
13289 * manual/examples/filesrv.c: Likewise.
13290 * manual/examples/fmtmsgexpl.c: Likewise.
13291 * manual/examples/genpass.c: Likewise.
13292 * manual/examples/inetcli.c: Likewise.
13293 * manual/examples/inetsrv.c: Likewise.
13294 * manual/examples/isockad.c: Likewise.
13295 * manual/examples/longopt.c: Likewise.
13296 * manual/examples/memopen.c: Likewise.
13297 * manual/examples/memstrm.c: Likewise.
13298 * manual/examples/mkfsock.c: Likewise.
13299 * manual/examples/mkisock.c: Likewise.
13300 * manual/examples/mygetpass.c: Likewise.
13301 * manual/examples/pipe.c: Likewise.
13302 * manual/examples/popen.c: Likewise.
13303 * manual/examples/rprintf.c: Likewise.
13304 * manual/examples/search.c: Likewise.
13305 * manual/examples/select.c: Likewise.
13306 * manual/examples/setjmp.c: Likewise.
13307 * manual/examples/sigh1.c: Likewise.
13308 * manual/examples/sigusr.c: Likewise.
13309 * manual/examples/stpcpy.c: Likewise.
13310 * manual/examples/strdupa.c: Likewise.
13311 * manual/examples/strftim.c: Likewise.
13312 * manual/examples/strncat.c: Likewise.
13313 * manual/examples/subopt.c: Likewise.
13314 * manual/examples/swapcontext.c: Likewise.
13315 * manual/examples/termios.c: Likewise.
13316 * manual/examples/testopt.c: Likewise.
13317 * manual/examples/testpass.c: Likewise.
13318 * manual/examples/timeval_subtract.c: Likewise.
13321 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13323 * manual/timeval_subtract.c.texi: ... here, new file.
13325 2012-03-02 David S. Miller <davem@davemloft.net>
13327 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13329 2012-03-02 Joseph Myers <joseph@codesourcery.com>
13332 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13333 (__sin): Save and restore rounding mode and use round-to-nearest
13334 for all computations.
13335 (__cos): Save and restore rounding mode and use round-to-nearest
13336 for all computations.
13337 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13339 (tan): Save and restore rounding mode and use round-to-nearest for
13341 * math/libm-test.inc (cos_test_tonearest): New function.
13342 (cos_test_towardzero): Likewise.
13343 (cos_test_downward): Likewise.
13344 (cos_test_upward): Likewise.
13345 (sin_test_tonearest): Likewise.
13346 (sin_test_towardzero): Likewise.
13347 (sin_test_downward): Likewise.
13348 (sin_test_upward): Likewise.
13349 (tan_test_tonearest): Likewise.
13350 (tan_test_towardzero): Likewise.
13351 (tan_test_downward): Likewise.
13352 (tan_test_upward): Likewise.
13353 (main): Call the new functions.
13354 * sysdeps/i386/fpu/libm-test-ulps: Update.
13355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13358 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13359 small n, then large n, before computing and testing k+n.
13360 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13361 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13365 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13366 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13367 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13368 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13371 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13372 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13373 * math/libm-test.inc (scalbn_test): Add more tests.
13374 (scalbln_test): Likewise.
13376 * manual/filesys.texi (mode_t): Describe constraints on size and
13377 signedness, not exact equivalence to a particular type.
13379 (ino64_t): Likewise.
13381 (nlink_t): Likewise.
13382 (blkcnt_t): Likewise.
13383 (blkcnt64_t): Likewise.
13384 * manual/llio.texi (off_t): Likewise.
13387 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13388 (__ieee754_exp): Save and restore rounding mode and use
13389 round-to-nearest for all computations.
13390 * math/libm-test.inc (exp_test_tonearest): New function.
13391 (exp_test_towardzero): Likewise.
13392 (exp_test_downward): Likewise.
13393 (exp_test_upward): Likewise.
13394 (main): Call the new functions.
13395 * sysdeps/i386/fpu/libm-test-ulps: Update.
13396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13398 2012-03-01 Chris Demetriou <cgd@google.com>
13400 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13401 have predictable order.
13403 2012-03-01 David S. Miller <davem@davemloft.net>
13405 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13407 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13408 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13409 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13410 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13412 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13413 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13414 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13416 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13417 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13418 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13419 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13420 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13424 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13425 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13426 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13428 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13429 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13430 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13431 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13432 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13433 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13434 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13435 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13436 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13437 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13438 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13439 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13440 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13441 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13442 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13443 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13444 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13445 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13446 * sysdeps/sparc/elf/configure: Regenerated.
13448 2012-03-01 Joseph Myers <joseph@codesourcery.com>
13450 * configure.in (AS, LD): Require binutils 2.20 or later.
13451 * configure: Regenerated.
13452 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13453 as required minimum version.
13454 * INSTALL: Regenerated.
13458 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13459 before squaring exponent.
13460 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13461 bottom long double and 27 bits of top long double before squaring
13463 * math/libm-test.inc (erfc_test): Add more tests.
13464 * sysdeps/i386/fpu/libm-test-ulps: Update.
13465 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13468 2012-03-01 Kai Tietz <ktietz@redhat.com>
13470 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13471 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13472 containing bit-fields.
13473 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13474 * soft-fp/single.h (_FP_UNION_S): Likewise.
13475 * soft-fp/double.h (_FP_UNION_D): Likewise.
13477 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13480 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13481 not include ../strcmp.S.
13482 [USE_AS_STRNCASECMP_L]: Likewise.
13483 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13484 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13485 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13486 (__strncasecmp_l_ia32): Define as alias to
13487 __strncasecmp_l_nonascii.
13490 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13491 * sysdeps/i386/fpu/libm-test-ulps: Update.
13492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13494 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13497 2012-02-29 Jeff Law <law@redhat.com>
13499 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13500 out of bounds read.
13502 2012-02-29 Marek Polacek <polacek@redhat.com>
13505 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13506 * elf/Makefile: Add rules to run tst-unused-dep.out.
13508 2012-02-28 David S. Miller <davem@davemloft.net>
13510 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13511 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13512 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13513 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13514 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13515 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13517 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13519 * math/libm-test.inc (llround_test): Move one test from
13520 lround_test. Use TEST_f_L in moved test.
13521 (lround_test): Move misplaced test to llround_test. Add testcase
13524 2012-02-28 Ulrich Drepper <drepper@gmail.com>
13526 * sysdeps/x86_64/fpu/e_expf.S: New file.
13527 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13529 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13532 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13533 of remain_len that may cause incomplete multi-byte character and
13535 * posix/bug-regex33.c: New file.
13536 * posix/Makefile (tests): Add bug-regex33.
13538 2012-02-28 Joseph Myers <joseph@codesourcery.com>
13540 * manual/macros.texi: New file.
13541 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13542 * manual/libc.texinfo: Include macros.texi.
13543 * manual/creatute.texi: Likewise.
13544 * manual/install.texi: Likewise.
13545 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13546 @glibcadj{} in references to the GNU C Library.
13547 * manual/charset.texi: Likewise.
13548 * manual/conf.texi: Likewise.
13549 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13550 when not using those macros.
13551 * manual/creature.texi: Likewise.
13552 * manual/crypt.texi: Likewise.
13553 * manual/errno.texi: Likewise.
13554 * manual/filesys.texi: Likewise.
13555 * manual/header.texi: Likewise.
13556 * manual/install.texi: Likewise.
13557 * manual/intro.texi: Likewise.
13558 * manual/io.texi: Likewise.
13559 * manual/job.texi: Likewise.
13560 * manual/lang.texi: Likewise.
13561 * manual/libc.texiinfo: Likewise.
13562 * manual/llio.texi: Likewise.
13563 * manual/locale.texi: Likewise.
13564 * manual/maint.texi: Likewise.
13565 * manual/math.texi: Likewise.
13566 * manual/memory.texi: Likewise.
13567 * manual/message.texi: Likewise.
13568 * manual/nss.texi: Likewise.
13569 * manual/pattern.texi: Likewise.
13570 * manual/process.texi: Likewise.
13571 * manual/resource.texi: Likewise.
13572 * manual/search.texi: Likewise.
13573 * manual/setjmp.texi: Likewise.
13574 * manual/signal.texi: Likewise.
13575 * manual/socket.texi: Likewise.
13576 * manual/startup.texi: Likewise.
13577 * manual/stdio.texi: Likewise.
13578 * manual/string.texi: Likewise.
13579 * manual/sysinfo.texi: Likewise.
13580 * manual/syslog.texi: Likewise.
13581 * manual/terminal.texi: Likewise.
13582 * manual/time.texi: Likewise.
13583 * manual/users.texi: Likewise.
13584 * INSTALL: Regenerated.
13585 * NOTES: Regenerated.
13586 * sysdeps/gnu/errlist.c: Regenerated.
13588 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13590 * include/dirent.h: Include <dirstream.h> before
13593 2012-02-28 David S. Miller <davem@davemloft.net>
13595 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13596 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13597 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13598 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13600 2012-02-27 David S. Miller <davem@davemloft.net>
13602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13604 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13605 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13608 frame pointer instead of stack pointer relative arg slot.
13609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13610 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13611 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13613 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13616 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13618 2012-02-27 David S. Miller <davem@davemloft.net>
13620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13624 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13625 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13626 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13627 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13629 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13631 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13632 later. Allow versions 5-9.
13633 * configure: Regenerated.
13634 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13635 required minimum version and 4.6 as recommended version. Do not
13636 mention bugs in GCC 2.7 and 2.8.
13637 * INSTALL: Regenerated.
13639 2012-02-27 David S. Miller <davem@davemloft.net>
13641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13645 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13646 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13647 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13648 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13650 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13651 manipulate bits before adding and subtracting TWO112[sx].
13652 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13654 2012-02-27 Roland McGrath <roland@hack.frob.com>
13657 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13658 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13659 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13660 being in POSIX, because they are in 1003.1-2008.
13662 * rt/tst-aio.c: Include <fcntl.h>.
13663 * rt/tst-aio7.c: Likewise.
13664 * rt/tst-aio64.c: Likewise.
13666 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13668 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13670 * manual/install.texi (--with-headers): Describe headers as
13671 interface headers, not private headers.
13672 (Specific advice for GNU/Linux systems): Describe use of headers
13673 from "make headers_install", not private headers from older
13675 * INSTALL: Regenerated.
13676 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13678 * sysdeps/unix/sysv/linux/configure: Regenerated.
13680 * manual/llio.texi (fclean): Remove documentation.
13682 * manual/Makefile (libc-texi-generated): New variable. Include
13684 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13685 $(libc-texi-generated), not duplicated list of files.
13686 (version.texi, stamp-version): New rules.
13687 (realclean): Remove $(libc-texi-generated), not individual files
13688 from that list. Do not remove dir-add.texinfo.
13689 * manual/libc.texinfo: Comment out uses of edition numbers and
13690 references to printed manual. Remove last-updated dates.
13691 (EDITION): Comment out.
13693 (VERSION, UPDATED): Remove.
13694 (version.texi): Include.
13696 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13698 * sysdeps/posix/spawni.c: Include <signal.h>.
13699 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13700 * sysdeps/pthread/aio_fsync.c: Likewise.
13702 2012-02-26 Ulrich Drepper <drepper@gmail.com>
13704 * conform/Makefile (tests): Run only when not cross-compiling and
13705 when fast-check is not defined.
13707 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13708 * conform/data/limits.h-data: Fixes for POSIX2008.
13709 * conform/run-conformtest.sh: Run all tests.
13710 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13712 * include/bits/dlfcn.h: Likewise.
13713 * include/langinfo.h: Likewise.
13714 * include/monetary.h: Likewise.
13715 * include/sys/poll.h: Likewise.
13717 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13719 * posix/spawn.h: Define __need_sigset_t.
13720 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13721 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13722 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13723 to get sigevent_t only.
13724 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13725 only for __USE_GNU.
13726 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13727 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13728 process_vm_writev only for __USE_GNU.
13729 * termios/termios.h: Declare tcgetsid also for POSIX2008.
13731 * conform/Makefile: For now ignore errors from run-conformtest.
13732 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13733 POSIX to avoid namespace pollution. Don't prepend headers.
13734 * conform/data/aio.h-data: Fixes for POSIX testing.
13735 * conform/data/fcntl.h-data: Likewise.
13736 * conform/data/glob.h-data: Likewise.
13737 * conform/data/grp.h-data: Likewise.
13738 * conform/data/pthread.h-data: Likewise.
13739 * conform/data/pwd.h-data: Likewise.
13740 * conform/data/signal.h-data: Likewise.
13741 * conform/data/spawn.h-data: Likewise.
13742 * conform/data/stdio.h-data: Likewise.
13743 * conform/data/stdlib.h-data: Likewise.
13744 * conform/data/stropts.h-data: Likewise.
13745 * conform/data/sys/mman.h-data: Likewise.
13746 * conform/data/sys/stat.h-data: Likewise.
13747 * conform/data/sys/types.h-data: Likewise.
13748 * conform/data/sys/wait.h-data: Likewise.
13749 * conform/data/time.h-data: Likewise.
13750 * conform/data/unistd.h-data: Likewise.
13751 * conform/data/utime.h-data: Likewise.
13753 * io/sys/stat.h: fchmod was always in POSIX.
13754 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13755 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13756 * rt/aio.h: Define __need_timespec before including <time.h>.
13757 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13758 struct. Add forward declaration of pthread_attr_t and use it in
13760 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13761 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13762 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13763 always remove CLK_TCK definition.
13765 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13767 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13769 2012-02-25 Ulrich Drepper <drepper@gmail.com>
13771 * conform/run-conformtest.sh: New file.
13772 * conform/Makefile: Run run-conformtest for tests.
13773 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13776 * conform/data/uchar.h-data: New file.
13777 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13778 * conform/data/arpa/inet.h-data: Likewise.
13779 * conform/data/assert.h-data: Likewise.
13780 * conform/data/complex.h-data: Likewise.
13781 * conform/data/cpio.h-data: Likewise.
13782 * conform/data/ctype.h-data: Likewise.
13783 * conform/data/dirent.h-data: Likewise.
13784 * conform/data/dlfcn.h-data: Likewise.
13785 * conform/data/errno.h-data: Likewise.
13786 * conform/data/fcntl.h-data: Likewise.
13787 * conform/data/float.h-data: Likewise.
13788 * conform/data/fmtmsg.h-data: Likewise.
13789 * conform/data/fnmatch.h-data: Likewise.
13790 * conform/data/ftw.h-data: Likewise.
13791 * conform/data/glob.h-data: Likewise.
13792 * conform/data/grp.h-data: Likewise.
13793 * conform/data/iconv.h-data: Likewise.
13794 * conform/data/inttypes.h-data: Likewise.
13795 * conform/data/langinfo.h-data: Likewise.
13796 * conform/data/libgen.h-data: Likewise.
13797 * conform/data/limits.h-data: Likewise.
13798 * conform/data/locale.h-data: Likewise.
13799 * conform/data/math.h-data: Likewise.
13800 * conform/data/monetary.h-data: Likewise.
13801 * conform/data/mqueue.h-data: Likewise.
13802 * conform/data/ndbm.h-data: Likewise.
13803 * conform/data/net/if.h-data: Likewise.
13804 * conform/data/netdb.h-data: Likewise.
13805 * conform/data/netinet/in.h-data: Likewise.
13806 * conform/data/nl_types.h-data: Likewise.
13807 * conform/data/poll.h-data: Likewise.
13808 * conform/data/pthread.h-data: Likewise.
13809 * conform/data/pwd.h-data: Likewise.
13810 * conform/data/regex.h-data: Likewise.
13811 * conform/data/sched.h-data: Likewise.
13812 * conform/data/search.h-data: Likewise.
13813 * conform/data/semaphore.h-data: Likewise.
13814 * conform/data/setjmp.h-data: Likewise.
13815 * conform/data/signal.h-data: Likewise.
13816 * conform/data/spawn.h-data: Likewise.
13817 * conform/data/stdarg.h-data: Likewise.
13818 * conform/data/stdio.h-data: Likewise.
13819 * conform/data/stdlib.h-data: Likewise.
13820 * conform/data/string.h-data: Likewise.
13821 * conform/data/strings.h-data: Likewise.
13822 * conform/data/stropts.h-data: Likewise.
13823 * conform/data/sys/ipc.h-data: Likewise.
13824 * conform/data/sys/mman.h-data: Likewise.
13825 * conform/data/sys/msg.h-data: Likewise.
13826 * conform/data/sys/resource.h-data: Likewise.
13827 * conform/data/sys/select.h-data: Likewise.
13828 * conform/data/sys/sem.h-data: Likewise.
13829 * conform/data/sys/shm.h-data: Likewise.
13830 * conform/data/sys/socket.h-data: Likewise.
13831 * conform/data/sys/stat.h-data: Likewise.
13832 * conform/data/sys/statvfs.h-data: Likewise.
13833 * conform/data/sys/time.h-data: Likewise.
13834 * conform/data/sys/timeb.h-data: Likewise.
13835 * conform/data/sys/times.h-data: Likewise.
13836 * conform/data/sys/types.h-data: Likewise.
13837 * conform/data/sys/uio.h-data: Likewise.
13838 * conform/data/sys/un.h-data: Likewise.
13839 * conform/data/sys/utsname.h-data: Likewise.
13840 * conform/data/sys/wait.h-data: Likewise.
13841 * conform/data/syslog.h-data: Likewise.
13842 * conform/data/tar.h-data: Likewise.
13843 * conform/data/termios.h-data: Likewise.
13844 * conform/data/utime.h-data: Likewise.
13845 * conform/data/utmpx.h-data: Likewise.
13846 * conform/data/varargs.h-data: Likewise.
13847 * conform/data/wchar.h-data: Likewise.
13848 * conform/data/wctype.h-data: Likewise.
13849 * conform/data/wordexp.h-data: Likewise.
13851 * include/stropts.h: New file.
13852 * include/uchar.h: New file.
13853 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13854 * include/assert.h: Likewise.
13855 * include/ctype.h: Likewise.
13856 * include/dirent.h: Likewise.
13857 * include/dlfcn.h: Likewise.
13858 * include/fcntl.h: Likewise.
13859 * include/fnmatch.h: Likewise.
13860 * include/glob.h: Likewise.
13861 * include/grp.h: Likewise.
13862 * include/libio.h: Likewise.
13863 * include/locale.h: Likewise.
13864 * include/math.h: Likewise.
13865 * include/net/if.h: Likewise.
13866 * include/netdb.h: Likewise.
13867 * include/netinet/in.h: Likewise.
13868 * include/pthread.h: Likewise.
13869 * include/pwd.h: Likewise.
13870 * include/regex.h: Likewise.
13871 * include/sched.h: Likewise.
13872 * include/search.h: Likewise.
13873 * include/setjmp.h: Likewise.
13874 * include/signal.h: Likewise.
13875 * include/stdio.h: Likewise.
13876 * include/stdlib.h: Likewise.
13877 * include/string.h: Likewise.
13878 * include/sys/cdefs.h: Likewise.
13879 * include/sys/mman.h: Likewise.
13880 * include/sys/msg.h: Likewise.
13881 * include/sys/resource.h: Likewise.
13882 * include/sys/select.h: Likewise.
13883 * include/sys/socket.h: Likewise.
13884 * include/sys/stat.h: Likewise.
13885 * include/sys/statvfs.h: Likewise.
13886 * include/sys/time.h: Likewise.
13887 * include/sys/times.h: Likewise.
13888 * include/sys/uio.h: Likewise.
13889 * include/sys/utsname.h: Likewise.
13890 * include/sys/wait.h: Likewise.
13891 * include/termios.h: Likewise.
13892 * include/time.h: Likewise.
13893 * include/ulimit.h: Likewise.
13894 * include/unistd.h: Likewise.
13895 * include/utime.h: Likewise.
13896 * include/wchar.h: Likewise.
13897 * include/wctype.h: Likewise.
13898 * include/wordexp.h: Likewise.
13900 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13902 * time/time.h: TIME_UTC must be a macro.
13903 Make timespec_get available for ISO C11 only as well.
13905 2012-02-24 Ulrich Drepper <drepper@gmail.com>
13907 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13908 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13910 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13912 * configure.in: Use -o not -a in test for unsupported multi-arch.
13914 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13916 * manual/texinfo.tex: Update to version 2012-01-19.16.
13918 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13920 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13922 2012-02-24 Roland McGrath <roland@hack.frob.com>
13925 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13926 * manual/fdl-1.3.texi: New file.
13927 * manual/fdl-1.1.texi: File removed.
13930 * manual/libc.texinfo (FDL_VERSION): New @set.
13931 Use it for mention of FDL in cover text.
13932 (Documentation License): Use it in @include file name.
13934 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13935 Roland McGrath <roland@hack.frob.com>
13938 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13939 not LONG_LONG_MAX and LONG_LONG_MIN.
13940 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13941 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13943 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13945 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13949 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13950 manipulate bits before adding and subtracting TWO23[sx].
13951 * math/libm-test.inc (nearbyint_test): Add more tests.
13953 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13956 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13957 bits before adding and subtracting TWO23[sx].
13958 * math/libm-test.inc (rint_test): Add more tests.
13959 (rint_test_tonearest): Likewise.
13960 (rint_test_towardzero): Likewise.
13961 (rint_test_downward): Likewise.
13962 (rint_test_upward: Likewise.
13964 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13967 * include/stdc-predef.h: New file. Extracted from features.h.
13968 * include/features.h: Include stdc-predef.h.
13969 * Makefile (headers): Add stdc-predef.h.
13970 * CONFORMANCE (Compiler limitations): Update.
13972 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13974 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13976 2012-02-21 David S. Miller <davem@davemloft.net>
13978 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13979 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13981 2012-02-20 David S. Miller <davem@davemloft.net>
13983 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13984 using a normal save/restore sequence, rather than allocating a
13985 dummy stack frame just to store a frame pointer and restore.
13986 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13988 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13990 * manual/install.texi: Fix stray word in line-wrapped comment.
13992 2012-02-20 David S. Miller <davem@davemloft.net>
13994 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13995 both binutils and gcc support GOTDATA.
13997 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13998 "rd %pc" in the PIC register setup sequences.
14000 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14001 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14002 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14003 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14004 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14006 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14007 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14009 (SYSCALL_ERROR_HANDLER): Likewise.
14010 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14011 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14012 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14013 (SYSCALL_ERROR_HANDLER): Likewise.
14015 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14016 (HAVE_GCC_GOTDATA): New.
14017 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14018 relocation support in both binutils and gcc.
14019 * sysdeps/sparc/elf/configure: Regenerate.
14021 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14022 * sysdeps/sparc/sparc32/elf/configure: Delete.
14023 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14024 * sysdeps/sparc/sparc64/elf/configure: Delete.
14025 * sysdeps/sparc/elf/configure.in: New file.
14026 * sysdeps/sparc/elf/configure: Generate.
14028 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14029 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14030 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14031 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14032 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14034 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14036 * manual/install.texi: Do not mention specific glibc version
14038 * manual/libc.texinfo (VERSION, UPDATED): Update.
14039 (@copying): Use @copyright{} and range of years.
14041 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14044 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14045 [crti.S not in sysdirs] (generated): Do not append.
14046 [crti.S not in sysdirs] (omit-deps): Likewise.
14047 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14048 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14049 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14050 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14051 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14053 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14054 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14055 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14056 * csu/defs.awk: Remove file.
14057 * sysdeps/generic/initfini.c: Likewise.
14058 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14060 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14063 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14065 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14066 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14067 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14068 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14069 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14070 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14072 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14073 (__EPOLL_PACKED): Define to empty if not defined by
14075 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14079 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14081 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14082 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14083 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14084 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14086 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14090 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14092 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14094 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14095 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14096 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14099 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14101 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14102 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14104 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14106 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14107 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14109 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14111 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14114 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14116 * math/w_acos.c: Use non-signaling floating-point comparisons.
14117 * math/w_acosf.c: Likewise.
14118 * math/w_acosh.c: Likewise.
14119 * math/w_acoshf.c: Likewise.
14120 * math/w_acoshl.c: Likewise.
14121 * math/w_acosl.c: Likewise.
14122 * math/w_asin.c: Likewise.
14123 * math/w_asinf.c: Likewise.
14124 * math/w_asinl.c: Likewise.
14125 * math/w_atanh.c: Likewise.
14126 * math/w_atanhf.c: Likewise.
14127 * math/w_atanhl.c: Likewise.
14128 * math/w_exp2.c: Likewise.
14129 * math/w_exp2f.c: Likewise.
14130 * math/w_exp2l.c: Likewise.
14131 * math/w_j0.c: Likewise.
14132 * math/w_j0f.c: Likewise.
14133 * math/w_j0l.c: Likewise.
14134 * math/w_j1.c: Likewise.
14135 * math/w_j1f.c: Likewise.
14136 * math/w_j1l.c: Likewise.
14137 * math/w_jn.c: Likewise.
14138 * math/w_jnf.c: Likewise.
14139 * math/w_log.c: Likewise.
14140 * math/w_log10.c: Likewise.
14141 * math/w_log10f.c: Likewise.
14142 * math/w_log10l.c: Likewise.
14143 * math/w_log2.c: Likewise.
14144 * math/w_log2f.c: Likewise.
14145 * math/w_log2l.c: Likewise.
14146 * math/w_logf.c: Likewise.
14147 * math/w_logl.c: Likewise.
14148 * math/w_sqrt.c: Likewise.
14149 * math/w_sqrtf.c: Likewise.
14150 * math/w_sqrtl.c: Likewise.
14151 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14152 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14153 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14154 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14155 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14157 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14160 * manual/string.texi (strnlen): Use correct parameter name in
14161 equivalent expression.
14163 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14166 * manual/users.texi (seteuid): Consistently use neweuid for
14169 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14172 * manual/nss.texi (Services in the NSS configuration): Correct
14173 list of services in example configuration file.
14175 2012-02-19 Nick Bowler <nbowler@draconx.ca>
14178 * manual/arith.texi: Remove statements about negative zero
14179 behaving identically to zero.
14181 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14184 * manual/install.texi: Do not document upgrading from libc5.
14186 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14189 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14191 2012-02-18 David S. Miller <davem@davemloft.net>
14193 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14194 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14195 %o7 across the call.
14196 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14198 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14199 SETUP_PIC_REG_LEAF.
14200 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14201 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14202 * sysdeps/sparc/crtn.S: Likewise.
14204 2012-02-17 Ulrich Drepper <drepper@gmail.com>
14206 * aout/Makefile: Remove.
14208 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14211 * manual/examples/argp-ex1.c (main): Format definition in GNU
14213 * manual/examples/argp-ex2.c (main): Likewise.
14214 * manual/examples/argp-ex3.c (main): Likewise.
14215 * manual/examples/argp-ex4.c (main): Likewise.
14216 * manual/examples/longopt.c (main): Use new-style prototype
14218 * manual/examples/strncat.c (main): Specify return type and use
14219 (void) for arguments.
14220 * manual/examples/subopt.c (main): Use char **argv argument.
14222 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14225 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14228 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14231 * manual/string.texi (strchr): Change when strchrnul is
14234 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14237 * manual/locale.texi (setlocale): Document LOCPATH.
14239 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14242 * manual/process.texi (execle): Move @dots{} before last argument.
14244 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14247 * manual/charset.texi (Generic Charset Conversion): Fix typo
14248 (LC_TYPE -> LC_CTYPE).
14250 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14253 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14254 (scalbnf): Likewise.
14255 (scalbnl): Likewise.
14256 (scalbln): Likewise.
14257 (scalblnf): Likewise.
14258 (scalblnl): Likewise.
14259 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14260 (vwarnx): Likewise.
14263 * manual/filesys.texi (telldir): Use braces around return type.
14264 * manual/llio.texi (mmap): Add space after comma.
14265 (mmap64): Likewise.
14266 * manual/math.texi (jn): Use @var{} on parameter names.
14272 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14274 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14276 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14277 (sched_get_priority_max): Likewise.
14278 * manual/signal.texi (sigvec): Add space after comma.
14279 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14281 (if_indextoname): Likewise.
14282 (if_freenameindex): Likewise.
14283 (sendto): Use ',' instead of '.' in prototype.
14284 * manual/startup.texi (syscall): Use @dots{} instead of literal
14286 * manual/stdio.texi (__fpending): Separate initial words of
14287 paragraph from @deftypefun line.
14288 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14290 (vsyslog): Use @var{} on parameter names.
14291 * manual/terminal.texi (stty): Use @var{} on parameter names.
14292 * manual/users.texi (getutmp): Use @var{} on parameter names.
14293 (getutmpx): Likewise.
14295 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14298 * manual/stdio.texi (fopen): Fix typos in description of
14301 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14304 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14305 get clock_id definition.
14307 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14310 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14311 (madvise): Cast every argument to void on its own.
14313 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14316 * manual/startup.texi (Exit Status): Fix typo.
14318 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14321 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14322 * manual/examples/argp-ex2.c: Likewise.
14323 * manual/examples/argp-ex3.c: Likewise.
14325 2012-02-16 Richard Henderson <rth@redhat.com>
14327 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14328 * sysdeps/s390/s390-32/initfini.c: Remove.
14329 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14330 * sysdeps/s390/s390-64/initfini.c: Remove.
14332 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14334 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14335 compiler output for sysdeps/generic/initfini.c.
14336 * sysdeps/sh/elf/initfini.c: Remove file.
14338 2012-02-16 David S. Miller <davem@davemloft.net>
14341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14343 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14344 * sysdeps/sparc/crti.S: New file.
14345 * sysdeps/sparc/crtn.S: New file.
14346 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14347 * sysdeps/sparc/sparc64/Makefile: Likewise.
14349 2012-02-15 Mike Frysinger <vapier@gentoo.org>
14352 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14354 2012-02-15 Roland McGrath <roland@hack.frob.com>
14357 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14359 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14360 (write, read, close): Likewise.
14361 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14363 2012-02-15 Joseph Myers <joseph@codesourcery.com>
14365 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14366 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14367 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14368 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14370 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14374 2012-02-14 Marek Polacek <polacek@redhat.com>
14376 * sysdeps/x86_64/crti.S: New file.
14377 * sysdeps/x86_64/crtn.S: New file.
14378 * sysdeps/x86_64/elf/initfini.c: Remove file.
14380 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14382 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14383 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14384 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14385 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14387 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14391 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14393 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14394 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14395 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14396 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14398 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14402 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14404 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14405 __feraiseexcept instead of feraiseexcept.
14407 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14408 nanosleep invocations.
14409 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14410 strings, and add error checking for a nanosleep invocations.
14412 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14414 Replace FSF snail mail address with URLs, as per GNU coding standards.
14415 Most of the snail mail addresses were wrong anyway, and omitting
14416 them makes the source code easier to maintain. Almost all of the
14417 changes are to license notices and to locale LC_IDENTIFICATION
14418 addresses, except for this one:
14419 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14420 not its snail mail address.
14422 2012-02-09 Richard Henderson <rth@twiddle.net>
14424 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14425 of kernel-features.h.
14427 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14429 2012-02-08 Marek Polacek <polacek@redhat.com>
14431 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14432 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14433 * sysdeps/gnu/_G_config.h: Likewise.
14434 * sysdeps/generic/_G_config.h: Likewise.
14436 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14438 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14442 * sysdeps/powerpc/powerpc32/crti.S: New file.
14443 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14444 * sysdeps/powerpc/powerpc64/crti.S: New file.
14445 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14447 * Makeconfig (have-initfini): Don't set.
14448 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14449 * configure.in (nopic_initfini): Don't substitute.
14450 * config.h.in (HAVE_INITFINI): Don't #undef.
14451 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14452 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14454 2012-02-08 Joseph Myers <joseph@codesourcery.com>
14456 Support crti.S and crtn.S provided directly by architectures.
14457 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14458 [crti.S in sysdirs] (omit-deps): Likewise.
14459 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14460 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14461 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14462 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14463 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14464 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14465 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14466 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14467 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14468 compiler output for sysdeps/generic/initfini.c.
14469 * sysdeps/i386/elf/Makefile: Remove file.
14470 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14472 2012-02-07 Marek Polacek <polacek@redhat.com>
14474 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14475 * sysdeps/gnu/_G_config.h: Likewise.
14476 * sysdeps/mach/hurd/_G_config.h: Likewise.
14478 2012-02-07 Marek Polacek <polacek@redhat.com>
14480 * math/Makefile (tests): Add tst-CMPLX2.
14481 * math/tst-CMPLX2.c: New file.
14483 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14485 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14487 * math/libm-test.inc (jn_test): Add missing L suffix.
14489 2012-02-06 Marek Polacek <polacek@redhat.com>
14491 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14492 * sysdeps/i386/fpu/e_powf.S: Likewise.
14493 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14494 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14495 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14496 * sysdeps/i386/fpu/e_pow.S: Likewise.
14497 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14498 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14499 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14500 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14501 * sysdeps/i386/fpu/e_log2.S: Likewise.
14502 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14503 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14504 * sysdeps/i386/fpu/e_powl.S: Likewise.
14505 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14506 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14507 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14508 * sysdeps/i386/fpu/e_logl.S: Likewise.
14509 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14510 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14511 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14512 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14513 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14514 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14515 * sysdeps/i386/fpu/e_log.S: Likewise.
14516 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14517 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14518 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14519 * sysdeps/i386/fpu/e_logf.S: Likewise.
14520 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14521 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14522 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14523 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14524 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14525 * sysdeps/i386/fpu/e_log10.S: Likewise.
14526 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14527 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14528 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14529 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14530 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14531 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14532 * sysdeps/i386/asm-syntax.h: Likewise.
14533 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14534 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14535 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14536 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14537 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14538 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14539 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14540 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14541 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14542 * sysdeps/powerpc/sysdep.h: Likewise.
14543 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14544 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14546 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14549 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14551 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14553 * sysdeps/i386/sysdep.h: Include <features.h>.
14554 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14557 2012-02-05 Joseph Myers <joseph@codesourcery.com>
14559 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14561 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14564 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14566 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14567 (SETUP_PIC_REG): Use GET_PC_THUNK.
14568 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14571 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14573 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14574 for non-PIC compilation.
14575 (SETUP_PIC_REG): Add .p2align directive.
14576 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14577 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14578 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14579 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14580 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14581 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14582 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14583 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14584 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14585 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14586 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14587 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14588 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14589 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14590 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14591 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14592 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14593 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14594 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14595 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14596 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14597 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14598 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14599 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14600 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14602 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14603 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14604 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14605 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14606 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14607 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14608 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14609 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14610 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14611 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14612 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14613 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14614 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14615 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14616 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14618 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14620 * math/tst-CMPLX.c: Include <stdio.h>.
14622 2012-01-31 Joseph Myers <joseph@codesourcery.com>
14624 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14626 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14627 * sysdeps/sparc/bits/mathdef.h: Likewise.
14629 2012-01-31 Marek Polacek <polacek@redhat.com>
14631 * libio/libio.h: Don't define _PARAMS.
14632 * locale/programs/config.h: Don't define PARAMS.
14633 * stdlib/strtol_l.c: Likewise.
14634 (__strtol_l): Remove PARAMS from the prototype.
14636 2012-01-31 Ulrich Drepper <drepper@gmail.com>
14638 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14639 names. Just use the correct names. Remove unnecessary wrapper
14641 * malloc/arena.c: Likewise.
14642 * malloc/hooks.c: Likewise.
14644 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14645 ARENA_TEST says not to. Simplify test for creation of a new arena.
14646 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14648 2012-01-30 Ulrich Drepper <drepper@gmail.com>
14650 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14652 (update_get_addr): New function.
14653 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14654 GET_ADDR_MODULE parameter.
14656 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14658 * crypt/cert.c: Remove __STDC__ conditionals.
14659 * crypt/crypt-entry.c: Likewise.
14660 * crypt/crypt_util.c: Likewise.
14661 * libio/filedoalloc.c: Likewise.
14662 * libio/fileops.c: Likewise.
14663 * libio/genops.c: Likewise.
14664 * libio/iofclose.c: Likewise.
14665 * libio/iofdopen.c: Likewise.
14666 * libio/iofopen.c: Likewise.
14667 * libio/iofopen64.c: Likewise.
14668 * libio/iogetdelim.c: Likewise.
14669 * libio/iopopen.c: Likewise.
14670 * libio/obprintf.c: Likewise.
14671 * libio/oldfileops.c: Likewise.
14672 * libio/oldiofclose.c: Likewise.
14673 * libio/oldiofdopen.c: Likewise.
14674 * libio/oldiofopen.c: Likewise.
14675 * libio/oldiopopen.c: Likewise.
14676 * libio/wfiledoalloc.c: Likewise.
14677 * libio/wgenops.c: Likewise.
14678 * locale/programs/xmalloc.c: Likewise.
14679 * misc/syslog.c: Likewise.
14680 * stdio-common/xbug.c: Likewise.
14681 * string/memchr.c: Likewise.
14682 * string/memcmp.c: Likewise.
14683 * string/memrchr.c: Likewise.
14684 * string/rawmemchr.c: Likewise.
14685 * sysdeps/posix/getcwd.c: Likewise.
14686 * time/strftime_l.c: Likewise.
14688 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14690 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14691 * config.make.in (config-cflags-sse2avx): Define.
14692 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14695 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14697 * scripts/config.guess: Update from upstream config git repository.
14698 * scripts/config.sub: Likewise.
14700 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14702 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14704 (R_TILEPRO_*, R_TILEGX_*): New macros.
14706 * scripts/firstversions.awk: Fix bug in version range handling.
14708 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14710 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14712 * include/sys/epoll.h: New file.
14713 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14716 2012-01-28 Ulrich Drepper <drepper@gmail.com>
14718 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14719 Avoid unnecessary __WORDSIZE == 64 test.
14720 (fmaxf): Use VEX format if possible.
14725 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14726 * math/math_private.h: Remove libc_fegetround* and
14728 * sysdeps/i386/configure.in: Check for -msse2avx.
14729 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14730 also if SSE2AVX is defined.
14731 Remove libc_fegetround* and libc_fesetround*.
14732 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14733 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14734 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14736 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14737 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14738 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14739 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14740 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14742 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14744 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14746 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14748 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14750 2012-01-27 Ulrich Drepper <drepper@gmail.com>
14753 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14755 * Makeconfig (libm): Define.
14756 * elf/Makefile: Add rules to build and run tst-relsort1.
14757 * elf/tst-relsort1.c: New file.
14758 * elf/tst-relsort1mod1.c: New file.
14759 * elf/tst-relsort1mod2.c: New file.
14761 2012-01-27 Joseph Myers <joseph@codesourcery.com>
14763 * math/s_ldexp.c: Remove __STDC__ conditionals.
14764 * math/s_ldexpf.c: Likewise.
14765 * math/s_ldexpl.c: Likewise.
14766 * math/s_nextafter.c: Likewise.
14767 * math/s_nexttowardf.c: Likewise.
14768 * math/s_significand.c: Likewise.
14769 * math/s_significandf.c: Likewise.
14770 * math/s_significandl.c: Likewise.
14771 * math/w_jnl.c: Likewise.
14772 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14773 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14774 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14775 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14776 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14777 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14778 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14779 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14780 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14781 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14782 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14783 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14784 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14785 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14786 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14787 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14788 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14791 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14792 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14793 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14794 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14795 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14796 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14797 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14798 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14799 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14800 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14801 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14802 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14803 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14804 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14805 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14806 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14807 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14808 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14809 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14810 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14811 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14812 * sysdeps/ieee754/k_standard.c: Likewise.
14813 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14814 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14815 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14816 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14817 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14818 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14819 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14820 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14821 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14822 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14823 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14824 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14825 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14826 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14827 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14829 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14830 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14831 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14832 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14833 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14834 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14835 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14836 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14837 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14838 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14839 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14840 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14841 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14842 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14843 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14844 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14845 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14846 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14847 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14848 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14849 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14850 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14851 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14852 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14853 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14854 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14855 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14856 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14857 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14858 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14859 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14860 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14861 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14862 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14863 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14864 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14865 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14866 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14867 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14868 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14869 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14870 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14871 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14872 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14873 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14874 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14876 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14877 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14878 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14879 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14880 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14881 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14882 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14883 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14884 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14885 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14886 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14887 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14888 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14889 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14890 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14891 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14892 * sysdeps/ieee754/s_matherr.c: Likewise.
14893 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14894 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14895 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14896 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14898 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14900 * crypt/md5.h: Remove __STDC__ conditionals.
14901 * libio/libioP.h: Likewise.
14902 * locale/programs/config.h: Likewise.
14903 * sysdeps/generic/sysdep.h: Likewise.
14904 * sysdeps/i386/asm-syntax.h: Likewise.
14905 * sysdeps/s390/asm-syntax.h: Likewise.
14906 * sysdeps/unix/sysdep.h: Likewise.
14907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14910 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14912 * libio/libio.h: Remove __STDC__ conditionals.
14913 * malloc/obstack.h: Likewise.
14914 * math/complex.h: Likewise.
14915 * math/math.h: Likewise.
14916 * sysdeps/generic/_G_config.h: Likewise.
14917 * sysdeps/gnu/_G_config.h: Likewise.
14918 * sysdeps/mach/hurd/_G_config.h: Likewise.
14919 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14920 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14921 * sysdeps/sparc/bits/mathdef.h: Likewise.
14923 2012-01-26 Ulrich Drepper <drepper@gmail.com>
14926 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
14927 Clean up HAS_* macros.
14928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
14929 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14931 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14933 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14934 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14935 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14937 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14939 2012-01-25 Joseph Myers <joseph@codesourcery.com>
14941 * elf/tst-unique3.cc (gets): Remove declaration.
14942 * elf/tst-unique3lib.cc (gets): Likewise.
14943 * elf/tst-unique3lib2.cc (gets): Likewise.
14944 * elf/tst-unique4.cc (gets): Likewise.
14946 2012-01-24 Ulrich Drepper <drepper@gmail.com>
14948 * include/stdio.h: Add C++ protection. Add gets declarations and
14950 * debug/tst-chk1.c: Don't declare gets here.
14951 * stdio-common/tst-gets.c: Likewise.
14953 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14955 * posix/glob: Remove directory.
14957 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14959 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14961 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14963 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14964 of the non-standard EPFNOSUPPORT.
14966 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14968 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14969 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14970 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14972 2012-01-21 Ulrich Drepper <drepper@gmail.com>
14974 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14976 2012-01-20 Ulrich Drepper <drepper@gmail.com>
14978 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14980 * nscd/grpcache.c (cache_addgr): Likewise.
14981 * nscd/hstcache.c (cache_addhst): Likewise.
14982 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14983 * nscd/pwdcache.c (cache_addpw): Likewise.
14984 * nscd/servicescache.c (cache_addserv): Likewise.
14986 2012-01-16 Ulrich Drepper <drepper@gmail.com>
14988 * malloc/malloc.c: Various cleanups.
14989 * malloc/hooks.c: Likewise.
14991 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14992 * stdlib/bug-fmtmsg1.c: New file.
14994 * stdlib/fmtmsg.c (init): Add missing unlock.
14995 Patch by Peng Haitao <penght@cn.fujitsu.com>.
14997 2012-01-12 Marek Polacek <polacek@redhat.com>
14999 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15002 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15004 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15005 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15006 macro to ensure uniqueness of label name.
15007 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15008 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15010 2012-01-11 Ulrich Drepper <drepper@gmail.com>
15012 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15014 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15015 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15016 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15017 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15019 2012-01-10 Ulrich Drepper <drepper@gmail.com>
15021 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15023 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15024 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15025 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15027 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15029 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15030 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15031 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15034 * math/bits/math-finite.h: Add ldexp support.
15036 2012-01-10 Marek Polacek <polacek@redhat.com>
15038 * locale/programs/localedef.h (show_archive_content): Add noreturn
15041 2012-01-09 Ulrich Drepper <drepper@gmail.com>
15043 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15045 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15047 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15049 * io/Makefile (headers): Add bits/poll2.h.
15051 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15054 typo #include statement.
15056 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15058 * include/sys/cdefs.h: Define __attribute_alloc_size.
15059 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15060 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15061 * elf/pldd.c: Likewise.
15062 * iconv/iconv_charmap.c: Likewise.
15063 * iconv/iconvconfig.c: Likewise.
15064 * iconv/strtab.c: Likewise.
15065 * locale/programs/locale.c: Likewise.
15066 * locale/programs/localedef.h: Likewise.
15067 * locale/programs/simple-hash.c: Likewise.
15068 * nscd/nscd.h: Likewise.
15069 * nss/makedb.c: Likewise.
15070 * sysdeps/generic/ldconfig.h: Likewise.
15071 * locale/programs/localedef.c: Remove xmalloc prototype.
15072 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15074 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15076 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15079 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15081 * math/Makefile (tests): Add tst-CMPLX.
15082 * math/tst-CMPLX.c: New file.
15084 * math/complex.h (CMPLXL): Fix typo.
15086 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15087 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15089 * debug/tst-chk1.c: Add poll and ppoll tests.
15090 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15091 * include/sys/poll.h: Add hidden proto for ppoll.
15092 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15093 * sysdeps/mach/hurd/ppoll.c: Likewise.
15094 * io/ppoll.c: Likewise.
15095 * debug/poll_chk.c: New file.
15096 * debug/ppoll_chk.c: New file.
15097 * include/bits/poll2.h: New file.
15098 * io/bits/poll2.h: New file.
15101 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15103 * configure.in: static is always set to yes. Remove.
15104 * config.make.in: Don't set build-static.
15105 * Makeconfig: Remove use of build-static.
15106 * dlfcn/Makefile: Likewise.
15107 * elf/Makefile: Likewise.
15108 * math/Makefile: Likewise.
15109 * misc/Makefile: Likewise.
15110 * nptl/Makefile: Likewise.
15111 * sysdeps/mach/hurd/Makefile: Likewise.
15113 * configure.in: PWD_P is not used anymore.
15114 * config.make.in: Remove PWD_P entry.
15116 * configure.in: Remove last remnants of RANLIB.
15117 No need to check for signed size_t anymore.
15118 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15120 Remove __builtin_expect test because we require at least gcc 3.4.
15121 * aclocal.m4: Likewise.
15123 * wcsmbs/mbrtoc16.c: Implement using towc function.
15124 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15125 * wcsmbs/wcsmbsload.c: Likewise.
15126 * iconv/gconv_simple.c: Likewise.
15127 * iconv/gconv_int.h: Likewise.
15128 * iconv/gconv_builtin.h: Likewise.
15129 * iconv/iconv_prog.c: Remove CHAR16 handling.
15131 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15133 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15135 * configure.in: Remove --with-elf and --enable-bounded options.
15136 Dont set base_machine for ia64. More non-ELF conditions removed.
15137 Remove testing and setting of leading underscore information.
15138 * config.make.in (build-bounded): Set to no.
15139 * config.h.in: Remove NO_UNDERSCORES entry.
15140 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15142 * csu/start.c: Remove !NO_UNDERSCORE code.
15143 * locale/localeinfo.h: Likewise.
15144 * sysdeps/generic/machine-gmon.h: Likewise.
15145 * sysdeps/generic/sysdep.h: Likewise.
15146 * sysdeps/i386/sysdep.h: Likewise.
15147 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15148 * sysdeps/mach/sysdep.h: Likewise.
15149 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15150 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15151 * sysdeps/sh/sysdep.h: Likewise.
15152 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15153 * sysdeps/unix/i386/sysdep.S: Likewise.
15154 * sysdeps/unix/sparc/start.c: Likewise.
15155 * sysdeps/unix/sparc/sysdep.S: Likewise.
15156 * sysdeps/unix/sparc/sysdep.h: Likewise.
15157 * sysdeps/unix/start.c: Likewise.
15158 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15159 * sysdeps/x86_64/sysdep.h: Likewise.
15161 2012-01-07 Ulrich Drepper <drepper@gmail.com>
15164 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15166 * argp/argp-fmtstream.h: Use const instead __const.
15167 * argp/argp.h: Likewise.
15168 * assert/assert.h: Likewise.
15169 * bits/fenv.h: Likewise.
15170 * bits/sched.h: Likewise.
15171 * bits/sigset.h: Likewise.
15172 * bits/sigthread.h: Likewise.
15173 * catgets/nl_types.h: Likewise.
15174 * conform/data/pthread.h-data: Likewise.
15175 * crypt/crypt-private.h: Likewise.
15176 * crypt/crypt.h: Likewise.
15177 * crypt/crypt_util.c: Likewise.
15178 * ctype/ctype.h: Likewise.
15179 * debug/execinfo.h: Likewise.
15180 * debug/mbsnrtowcs_chk.c: Likewise.
15181 * debug/mbsrtowcs_chk.c: Likewise.
15182 * debug/wcsnrtombs_chk.c: Likewise.
15183 * debug/wcsrtombs_chk.c: Likewise.
15184 * debug/wcstombs_chk.c: Likewise.
15185 * dirent/dirent.h: Likewise.
15186 * dlfcn/dlfcn.h: Likewise.
15187 * elf/neededtest4.c: Likewise.
15188 * grp/grp.h: Likewise.
15189 * gshadow/gshadow.h: Likewise.
15190 * iconv/gconv.h: Likewise.
15191 * iconv/gconv_int.h: Likewise.
15192 * iconv/gconv_simple.c: Likewise.
15193 * iconv/iconv.h: Likewise.
15194 * iconv/loop.c: Likewise.
15195 * iconv/skeleton.c: Likewise.
15196 * include/aio.h: Likewise.
15197 * include/aliases.h: Likewise.
15198 * include/argz.h: Likewise.
15199 * include/arpa/inet.h: Likewise.
15200 * include/assert.h: Likewise.
15201 * include/dirent.h: Likewise.
15202 * include/dlfcn.h: Likewise.
15203 * include/execinfo.h: Likewise.
15204 * include/fcntl.h: Likewise.
15205 * include/fenv.h: Likewise.
15206 * include/glob.h: Likewise.
15207 * include/grp.h: Likewise.
15208 * include/libintl.h: Likewise.
15209 * include/mntent.h: Likewise.
15210 * include/netdb.h: Likewise.
15211 * include/pwd.h: Likewise.
15212 * include/rpc/netdb.h: Likewise.
15213 * include/sched.h: Likewise.
15214 * include/search.h: Likewise.
15215 * include/shadow.h: Likewise.
15216 * include/signal.h: Likewise.
15217 * include/stdio.h: Likewise.
15218 * include/stdlib.h: Likewise.
15219 * include/string.h: Likewise.
15220 * include/sys/socket.h: Likewise.
15221 * include/sys/stat.h: Likewise.
15222 * include/sys/statfs.h: Likewise.
15223 * include/sys/statvfs.h: Likewise.
15224 * include/sys/syslog.h: Likewise.
15225 * include/sys/time.h: Likewise.
15226 * include/sys/uio.h: Likewise.
15227 * include/time.h: Likewise.
15228 * include/unistd.h: Likewise.
15229 * include/utmp.h: Likewise.
15230 * include/wchar.h: Likewise.
15231 * include/wctype.h: Likewise.
15232 * inet/aliases.h: Likewise.
15233 * inet/arpa/inet.h: Likewise.
15234 * inet/netinet/ether.h: Likewise.
15235 * inet/netinet/in.h: Likewise.
15236 * intl/libintl.h: Likewise.
15237 * io/bits/fcntl2.h: Likewise.
15238 * io/fcntl.h: Likewise.
15239 * io/ftw.h: Likewise.
15240 * io/sys/poll.h: Likewise.
15241 * io/sys/stat.h: Likewise.
15242 * io/sys/statfs.h: Likewise.
15243 * io/sys/statvfs.h: Likewise.
15244 * io/utime.h: Likewise.
15245 * libio/bits/stdio.h: Likewise.
15246 * libio/bits/stdio2.h: Likewise.
15247 * libio/libio.h: Likewise.
15248 * libio/libioP.h: Likewise.
15249 * libio/stdio.h: Likewise.
15250 * locale/lc-ctype.c: Likewise.
15251 * locale/locale.h: Likewise.
15252 * login/utmp.h: Likewise.
15253 * malloc/arena.c: Likewise.
15254 * malloc/malloc.c: Likewise.
15255 * malloc/malloc.h: Likewise.
15256 * malloc/mcheck.c: Likewise.
15257 * malloc/mtrace.c: Likewise.
15258 * math/bits/mathcalls.h: Likewise.
15259 * math/fenv.h: Likewise.
15260 * math/math_private.h: Likewise.
15261 * misc/bits/error.h: Likewise.
15262 * misc/bits/syslog.h: Likewise.
15263 * misc/err.h: Likewise.
15264 * misc/error.h: Likewise.
15265 * misc/fstab.h: Likewise.
15266 * misc/mntent.h: Likewise.
15267 * misc/regexp.h: Likewise.
15268 * misc/search.h: Likewise.
15269 * misc/sgtty.h: Likewise.
15270 * misc/sys/mman.h: Likewise.
15271 * misc/sys/syslog.h: Likewise.
15272 * misc/sys/uio.h: Likewise.
15273 * misc/sys/xattr.h: Likewise.
15274 * misc/ttyent.h: Likewise.
15275 * nis/rpcsvc/ypclnt.h: Likewise.
15276 * nss/nss.h: Likewise.
15277 * posix/bits/unistd.h: Likewise.
15278 * posix/fnmatch.h: Likewise.
15279 * posix/glob.h: Likewise.
15280 * posix/sched.h: Likewise.
15281 * posix/spawn.h: Likewise.
15282 * posix/sys/wait.h: Likewise.
15283 * posix/unistd.h: Likewise.
15284 * posix/wordexp.h: Likewise.
15285 * pwd/pwd.h: Likewise.
15286 * resolv/netdb.h: Likewise.
15287 * resource/sys/resource.h: Likewise.
15288 * rt/aio.h: Likewise.
15289 * rt/bits/mqueue2.h: Likewise.
15290 * rt/mqueue.h: Likewise.
15291 * shadow/shadow.h: Likewise.
15292 * signal/signal.h: Likewise.
15293 * socket/send.c: Likewise.
15294 * socket/sendto.c: Likewise.
15295 * socket/sys/socket.h: Likewise.
15296 * stdio-common/printf.h: Likewise.
15297 * stdlib/bits/stdlib.h: Likewise.
15298 * stdlib/fmtmsg.h: Likewise.
15299 * stdlib/monetary.h: Likewise.
15300 * stdlib/stdlib.h: Likewise.
15301 * stdlib/ucontext.h: Likewise.
15302 * streams/stropts.h: Likewise.
15303 * string/argz.h: Likewise.
15304 * string/bits/string2.h: Likewise.
15305 * string/string.h: Likewise.
15306 * string/strings.h: Likewise.
15307 * sunrpc/rpc/auth.h: Likewise.
15308 * sunrpc/rpc/auth_des.h: Likewise.
15309 * sunrpc/rpc/clnt.h: Likewise.
15310 * sunrpc/rpc/netdb.h: Likewise.
15311 * sunrpc/rpc/pmap_clnt.h: Likewise.
15312 * sunrpc/rpc/xdr.h: Likewise.
15313 * sysdeps/generic/inttypes.h: Likewise.
15314 * sysdeps/generic/net/if.h: Likewise.
15315 * sysdeps/generic/sys/swap.h: Likewise.
15316 * sysdeps/gnu/net/if.h: Likewise.
15317 * sysdeps/gnu/utmpx.h: Likewise.
15318 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15319 * sysdeps/i386/i486/bits/string.h: Likewise.
15320 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15321 * sysdeps/s390/bits/string.h: Likewise.
15322 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15323 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15324 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15325 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15326 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15327 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15328 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15329 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15330 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15331 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15332 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15333 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15334 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15335 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15336 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15337 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15338 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15340 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15341 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15342 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15343 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15344 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15345 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15346 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15347 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15348 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15349 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15350 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15351 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15352 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15353 * sysvipc/sys/ipc.h: Likewise.
15354 * sysvipc/sys/msg.h: Likewise.
15355 * sysvipc/sys/sem.h: Likewise.
15356 * sysvipc/sys/shm.h: Likewise.
15357 * termios/termios.h: Likewise.
15358 * time/sys/time.h: Likewise.
15359 * time/time.h: Likewise.
15360 * wcsmbs/bits/wchar2.h: Likewise.
15361 * wcsmbs/uchar.h: Likewise.
15362 * wcsmbs/wchar.h: Likewise.
15363 * wctype/wctype.h: Likewise.
15366 * Makeconfig: Remove all but ELF support including AIX support.
15367 * Makerules: Likewise.
15368 * config.h.in: Likewise.
15369 * config.make.in: Likewise.
15370 * configure: Likewise.
15371 * configure.in: Likewise.
15372 * csu/Makefile: Likewise.
15373 * csu/version.c: Likewise.
15374 * debug/Makefile: Likewise.
15375 * dlfcn/Makefile: Likewise.
15376 * elf/Makefile: Likewise.
15377 * extra-lib.mk: Likewise.
15378 * iconv/Makefile: Likewise.
15379 * include/libc-symbols.h: Likewise.
15380 * include/shlib-compat.h: Likewise.
15381 * resolv/Makefile: Likewise.
15382 * resolv/res_libc.c: Likewise.
15383 * rt/Makefile: Likewise.
15384 * sysdeps/i386/asm-syntax.h: Likewise.
15385 * sysdeps/i386/sysdep.h: Likewise.
15386 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15387 * sysdeps/mach/sysdep.h: Likewise.
15388 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15389 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15390 * sysdeps/s390/asm-syntax.h: Likewise.
15391 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15392 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15393 * sysdeps/sh/sysdep.h: Likewise.
15394 * sysdeps/unix/sparc/sysdep.h: Likewise.
15395 * sysdeps/wordsize-32/divdi3.c: Likewise.
15396 * sysdeps/x86_64/sysdep.h: Likewise.
15398 * argp/Versions: Remove _argp_unlock_xxx.
15401 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15402 * abilist/libBrokenLocale.abilist: Likewise.
15403 * abilist/libanl.abilist: Likewise.
15404 * abilist/libc.abilist: Likewise.
15405 * abilist/libcrypt.abilist: Likewise.
15406 * abilist/libdl.abilist: Likewise.
15407 * abilist/libm.abilist: Likewise.
15408 * abilist/libnsl.abilist: Likewise.
15409 * abilist/libpthread.abilist: Likewise.
15410 * abilist/libresolv.abilist: Likewise.
15411 * abilist/librt.abilist: Likewise.
15412 * abilist/libthread_db.abilist: Likewise.
15413 * abilist/libutil.abilist: Likewise.
15414 * abilist/libnss_db.abilist: New file.
15416 * scripts/abilist.awk: Add support for indirect functions.
15418 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15420 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15422 * shlib-versions: Remove entries for ports architectures.
15424 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15426 * elf/stackguard-macros.h: Remove support for IA-64.
15427 * elf/tst-auditmod1.c: Likewise.
15428 * sysdeps/generic/ldsodefs.h: Likewise.
15430 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15431 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15435 * configure.in: Remove --enable-omitfp support.
15437 * config.make.in: Likewise.
15438 * Makeconfig: Likewise.
15439 * manual/install.texi: Likewise.
15441 In case anyone cares, the IA-64 architecture could move to ports.
15442 * sysdeps/ia64/*: Removed.
15443 * sysdeps/unix/sysv/linux/ia64/*: Removed.
15444 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15447 * configure.in: Remove entries for unsupported architectures.
15450 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15451 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15453 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15454 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15455 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15456 fall back to using wcrtomb.
15457 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15458 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15460 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15461 * wcsmbs/tst-c16c32-1.c: New file.
15463 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15466 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15468 * elf/tst-unique3.cc: Add explicit declaration of gets.
15469 * elf/tst-unique3lib.cc: Likewise.
15470 * elf/tst-unique3lib2.cc: Likewise.
15471 * elf/tst-unique4.cc: Likewise.
15473 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15475 2012-01-06 Joseph Myers <joseph@codesourcery.com>
15478 * assert/assert.h (static_assert): Don't define for C++.
15479 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15480 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15482 2012-01-03 Ulrich Drepper <drepper@gmail.com>
15484 * iconv/loop.c (single loop): Fix assertion in storing of
15487 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15489 2012-01-01 Ulrich Drepper <drepper@gmail.com>
15491 * posix/getconf.c: Update copyright year.
15492 * nss/getent.c: Likewise.
15493 * nss/makedb.c: Likewise.
15494 * iconv/iconvconfig.c: Likewise.
15495 * iconv/iconv_prog.c: Likewise.
15496 * elf/ldconfig.c: Likewise.
15497 * elf/pldd.c: Likewise.
15498 * elf/sotruss.ksh: Likewise.
15499 * catgets/gencat.c: Likewise.
15500 * csu/version.c: Likewise.
15501 * elf/ldd.bash.in: Likewise.
15502 * elf/sprof.c (print_version): Likewise.
15503 * locale/programs/locale.c: Likewise.
15504 * locale/programs/localedef.c: Likewise.
15505 * login/programs/pt_chown.c: Likewise.
15506 * nscd/nscd.c (print_version): Likewise.
15507 * debug/xtrace.sh: Likewise.
15508 * malloc/memusage.sh: Likewise.
15509 * malloc/mtrace.pl: Likewise.
15510 * debug/catchsegv.sh: Likewise.
15512 2011-12-30 Jakub Jelinek <jakub@redhat.com>
15514 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15517 2011-12-24 Ulrich Drepper <drepper@gmail.com>
15520 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15521 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15523 * iconv/gconv_int.h: Likewise.
15524 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15525 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15526 from libc for GLIBC_2.16.
15527 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15528 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15529 * wcsmbs/uchar.h: Really define mbstate_t.
15530 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15531 * wcsmbs/c16rtomb.c: New file.
15532 * wcsmbs/mbrtoc16.c: New file.
15533 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15534 for C/POSIX locale.
15535 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15536 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15538 * wcsmbs/wchar.h: Add missing __restrict.
15540 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15543 * time/Makefile (routines): Add timespec_get.
15544 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15545 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15546 timespec for ISO C11.
15547 * time/timespec_get.c: New file.
15548 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15549 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15552 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15553 * stdlib/stdlib.h: Declare aligned_alloc.
15554 * Versions.def: Add GLIBC_2.16 for libc.
15555 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15558 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15561 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
15565 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15568 * assert/assert.h (static_assert): Define.
15570 * version.h: Update for 2.16 development version.
15573 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15576 * version.h (RELEASE): Bump for 2.15 release.
15577 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15579 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15580 Patch by Marek Polacek <mpolacek@redhat.com>.
15582 * bits/byteswap.h: Protect long long constants with __extension__.
15583 * sysdeps/i386/bits/byteswap.h: Likewise.
15584 * sysdeps/ia64/bits/byteswap.h: Likewise.
15585 * sysdeps/s390/bits/byteswap.h: Likewise.
15586 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15588 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15591 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15592 destination buffer.
15593 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15595 2011-12-23 Marek Polacek <polacek@redhat.com>
15597 * elf/dl-addr.c (determine_info): Add inline keyword.
15598 * elf/tst-auditmod4b.c (check_avx): Likewise.
15599 * elf/tst-auditmod6b.c (check_avx): Likewise.
15600 * elf/tst-auditmod6c.c (check_avx): Likewise.
15601 * elf/tst-auditmod7b.c (check_avx): Likewise.
15603 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15605 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15608 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15611 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15612 processing for last bytes.
15614 2011-08-06 Bruno Haible <bruno@clisp.org>
15617 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15618 U+0385, not to U+1FEE.
15621 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15622 entry for U+00A5 U+0301.
15624 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15627 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15628 buffer for the output is too small.
15630 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15634 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15635 SSE flags if possible.
15637 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15640 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15641 processing for last bytes.
15643 2011-12-22 Joseph Myers <joseph@codesourcery.com>
15645 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15646 (syscall-list-default-options, syscall-list-default-condition)
15647 (syscall-list-includes): Define.
15648 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15649 list of ABIs and options and #if conditions for each ABI. Do not
15650 handle common syscalls between ABIs specially.
15651 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15653 (syscall-list-variants, syscall-list-32bit-options)
15654 (syscall-list-32bit-condition, syscall-list-64bit-options)
15655 (syscall-list-64bit-condition): Define.
15656 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15657 (syscall-list-variants, syscall-list-32bit-options)
15658 (syscall-list-32bit-condition, syscall-list-64bit-options)
15659 (syscall-list-64bit-condition): Define.
15660 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15662 (syscall-list-variants, syscall-list-32bit-options)
15663 (syscall-list-32bit-condition, syscall-list-64bit-options)
15664 (syscall-list-64bit-condition): Define.
15665 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15667 (syscall-list-variants, syscall-list-32bit-options)
15668 (syscall-list-32bit-condition, syscall-list-64bit-options)
15669 (syscall-list-64bit-condition): Define.
15671 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15673 * locale/iso-639.def: Add brx entry.
15676 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15677 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15679 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15680 __feraiseexcept_renamed.
15682 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15685 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15686 EPOLLET with unsigned values.
15687 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15688 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15690 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15691 to large cancellation.
15692 * math/s_cacoshf.c: Likewise.
15693 * math/s_cacoshl.c: Likewise.
15695 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15699 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15700 * math/s_cacoshf.c: Likewise.
15701 * math/s_cacoshl.c: Likewise.
15703 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15706 * iconv/gconv.h: Define __GCONV_SWAP.
15707 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15708 * iconvdata/utf-16.c: Likewise.
15709 * iconvdata/utf-32.c: Likewise.
15711 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15714 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15715 numerator after shifting it by one limb.
15717 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15719 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15720 under [__USE_EXTERN_INLINES].
15722 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15725 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15727 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15729 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15730 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15732 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15733 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15734 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15735 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15736 for strncasecmp/strncasecmp_l compilation.
15737 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15738 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15740 2011-12-08 Marek Polacek <mpolacek@redhat.com>
15743 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15746 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15749 * time/tzfile.c (__tzfile_read): Check values from file header.
15751 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15753 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15754 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15755 * powerpc/powerpc32/dl-start.S: Likewise.
15756 * powerpc/powerpc32/elf/start.S: Likewise.
15757 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15758 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15759 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15760 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15761 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15762 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15763 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15764 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15765 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15766 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15767 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15768 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15769 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15770 * powerpc/powerpc32/memset.S: Likewise.
15771 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15772 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15773 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15774 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15775 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15776 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15777 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15778 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15779 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15780 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15781 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15782 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15783 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15785 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15787 * math/libm-test.inc: Added more nearbyint tests.
15788 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15789 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15790 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15791 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15793 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15795 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15798 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15800 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15801 Add wcscpy-ssse3 wcscpy-c.
15802 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15803 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15804 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15805 * sysdeps/x86_64/wcschr.S: New file.
15806 * sysdeps/x86_64/wcsrchr.S: New file.
15807 * string/test-strcmp.c: Remove checking of wcscmp function for
15809 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15810 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15811 wcsrchr-sse2 wcsrchr-c.
15812 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15813 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15814 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15815 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15816 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15817 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15818 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15819 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15820 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15821 * wcsmbc/wcschr.c (WCSCHR): New macro.
15823 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15825 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15826 * wcsmbs/test-wcsrchr.c: New file.
15827 * string/test-strrchr.c: Add wcsrchr support.
15829 * wcsmbs/test-wcscpy.c: New file.
15830 * string/test-strcpy.c: Add wcscpy support.
15833 2011-12-10 Ulrich Drepper <drepper@gmail.com>
15835 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15838 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15841 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15843 2011-12-04 Ulrich Drepper <drepper@gmail.com>
15845 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
15846 Minor optimizations.
15848 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15849 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15850 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15852 2011-12-03 Ulrich Drepper <drepper@gmail.com>
15854 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15855 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15856 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15857 for gcc to avoid warnings.
15858 * inet/Makefile (tests): Add tst-checks.
15859 * inet/tst-checks.c: New file.
15861 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15864 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15867 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15868 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15870 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15872 2011-12-02 Ulrich Drepper <drepper@gmail.com>
15874 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15877 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15879 2011-11-29 Joseph Myers <joseph@codesourcery.com>
15881 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15882 conditional on GCC version.
15883 (__arch_compare_and_exchange_val_8_acq)
15884 (__arch_compare_and_exchange_val_16_acq)
15885 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15886 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15887 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15889 2011-12-02 Joseph Myers <joseph@codesourcery.com>
15891 * sysdeps/sh/backtrace.c: New file.
15893 2011-12-02 Andreas Schwab <schwab@redhat.com>
15895 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15898 2011-12-01 Andreas Schwab <schwab@redhat.com>
15900 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15901 falling back to utime.
15903 2011-11-30 Andreas Schwab <schwab@redhat.com>
15905 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15906 expectations for float.
15908 2011-11-29 Andreas Schwab <schwab@redhat.com>
15910 * locale/weight.h (findidx): Add parameter len.
15911 * locale/weightwc.h (findidx): Likewise.
15912 * posix/fnmatch_loop.c (FCT): Adjust caller.
15913 * posix/regcomp.c (build_equiv_class): Likewise.
15914 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15915 * posix/regexec.c (check_node_accept_bytes): Likewise.
15916 * string/strcoll_l.c (STRCOLL): Likewise.
15917 * string/strxfrm_l.c (STRXFRM): Likewise.
15919 2011-11-17 Ulrich Drepper <drepper@gmail.com>
15921 * Makefile.in: Remove CVSOPT handling.
15922 * configure.in: Remove use of AC_REVISION.
15923 * iconvdata/Makefile (distribute): No need to filter out CVS.
15924 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15927 2011-11-16 Andreas Schwab <schwab@redhat.com>
15929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15930 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15931 [USE_AS_STRNCASECMP_L]: Likewise.
15932 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15933 NO_TLS_DIRECT_SEG_REFS.
15934 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15935 Fix argument offsets for non-PIC.
15936 [USE_AS_STRNCASECMP_L]: Likewise.
15937 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15938 NO_TLS_DIRECT_SEG_REFS.
15940 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15942 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
15944 * locale/loadlocale.c (_nl_load_locale): Likewise.
15946 2011-11-15 Andreas Schwab <schwab@redhat.com>
15948 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15949 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15950 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15951 (SYSCALL_GETTIME): Set errno on error.
15953 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15954 count references to noai6ai_cached.
15956 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15958 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15960 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15961 FD_CLOEXEC for /proc/self/maps.
15963 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15964 FD_CLOEXEC for /proc/meminfo.
15966 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15969 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15970 FD_CLOEXEC for given file.
15972 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15974 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15975 FD_CLOEXEC for /etc/hosts.
15976 (_gethtent): Likewise.
15978 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15980 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15981 cancellation and set FD_CLOEXEC for /etc/netgroup.
15983 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15984 reading /etc/publickey.
15986 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15987 allow cancellation when reading /etc/group.
15989 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15991 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15993 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15994 when using data file.
15996 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15998 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15999 (write_nis_obj): Use "c" and "e" in fopen.
16001 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16003 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16005 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16007 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16009 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16012 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16014 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16016 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16018 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16019 file parsing and set FD_CLOEXEC.
16021 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16023 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16025 2011-11-14 Andreas Schwab <schwab@redhat.com>
16027 * malloc/arena.c (arena_get2): Don't call reused_arena when
16028 _int_new_arena failed.
16030 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16032 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16033 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16034 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16035 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16036 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16037 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16038 to compile strcasecmp and strncasecmp.
16039 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16040 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16042 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16044 2011-11-13 Ulrich Drepper <drepper@gmail.com>
16046 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16047 locale-defines.sym to gen-as-const-headers.
16048 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16049 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16050 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16051 to compile strcasecmp and strncasecmp.
16052 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16053 strcasecmp_l and strncasecmp_l.
16054 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16055 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16056 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16057 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16058 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16059 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16060 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16061 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16062 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16063 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16064 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16066 2011-11-12 Ulrich Drepper <drepper@gmail.com>
16068 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16069 result of SYSDEP_GETTIME_CPU to retval.
16070 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16071 parameter list to macro. Remove trailing semicolon. Adjust users.
16073 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16076 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16078 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16080 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16081 from unused variable.
16083 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16085 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16088 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16091 * sunrpc/rpc_prot.c (rejected): Fix case value.
16093 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16094 unsigned long long int to avoid warnings in shift.
16096 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16098 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16101 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16102 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16103 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16105 * nis/nis_table.c (nis_list): Use variable of correct type for
16106 result of __follow_path call.
16108 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16110 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16111 of math functions ceil, trunc, floor, round, and sqrt, when
16112 avaliable on the platform.
16113 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16115 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16116 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16117 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16119 2011-10-30 Marek Polacek <mpolacek@redhat.com>
16121 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16122 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16124 2011-11-11 Roland McGrath <roland@hack.frob.com>
16126 * include/unistd.h: Fix __readlink return type.
16127 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16129 2011-11-11 Ulrich Drepper <drepper@gmail.com>
16131 * stdlib/ucontext.h: Undo last change for makecontext.
16133 2011-11-11 Andreas Schwab <schwab@redhat.com>
16135 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16137 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16138 * setjmp/setjmp.h: Mark functions as non-leaf.
16139 * setjmp/bits/setjmp2.h: Likewise.
16140 * stdlib/ucontext.h: Likewise.
16142 2011-11-10 Andreas Schwab <schwab@redhat.com>
16144 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16145 (reused_arena): Don't check arena limit.
16146 (arena_get2): Atomically check arena limit.
16148 2011-11-08 Ulrich Drepper <drepper@gmail.com>
16150 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16151 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16153 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16156 2011-11-07 Andreas Schwab <schwab@redhat.com>
16158 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16159 handler when locking.
16161 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16162 Fix size of allocated buffer.
16164 2011-11-04 Andreas Schwab <schwab@redhat.com>
16167 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16168 declarations for long double functions.
16169 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16171 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16173 2011-11-03 Andreas Schwab <schwab@redhat.com>
16175 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16178 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16181 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16183 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16185 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16187 * include/alloca.h (stackinfo_alloca_round): Define.
16188 (extend_alloca): Use it.
16189 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16190 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16193 * scripts/check-local-headers.sh: Ignore libaudit.h.
16195 * nscd/Makefile (extra-objs): Make recursively expanded.
16197 2011-11-01 Ulrich Drepper <drepper@gmail.com>
16199 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16200 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16202 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16203 * posix/tst-rfc3484-2.c: Likewise.
16204 * posix/tst-rfc3484-3.c: Likewise.
16206 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16208 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16210 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16211 process_vm_writev from libc using GLIBC_2.15 version.
16213 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16215 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16217 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16220 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16223 * nss/getent.c (initgroups_keys): Show error message in case no group
16226 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16227 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16228 __bump_nl_timestamp.
16229 * nscd/connections (nscd_init): When host database is served open
16230 netlink socket and request notification about configuration changes.
16231 (main_loop_poll): Track netlink file descriptor and bump timestamp
16232 in case data becomes available.
16233 (main_loop_epoll): Likewise.
16234 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16235 (database_pers_head): Add extra_data fileds.
16236 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16237 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16238 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16240 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16241 in6ai data, call __free_in6ai.
16242 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16243 Add -DHAVE_NETLINK.
16244 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16245 interface information. Reuse previous data if netlink timestamp
16247 (__bump_nl_timestamp): New function.
16248 (__free_in6ai): New function.
16250 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16252 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16253 close_not_cancel_no_status here.
16254 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16256 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16259 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16262 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16263 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16264 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16266 2011-07-03 Andreas Jaeger <aj@suse.de>
16269 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16270 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16271 * math/libm-test.inc (sin_test): Add test case.
16273 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16276 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16277 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16279 * elf/chroot_canon.c (chroot_canon): Cleanups.
16281 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16284 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16285 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16287 * string/test-strchr.c: Make usable for strchrnul testing.
16288 * string/test-strchrnul.c: New file.
16289 * string/Makefile (strop-tests): Add strchrnul.
16291 * po/it.po: Update from translation team.
16292 * po/es.po: Likewise.
16294 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16296 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16297 the three constants needed as parameters. Drop the others.
16298 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16299 __m128i_strloadu_tolower.
16300 Create and initialize variable zero and use it in all the places
16301 where _mm_setzero_si128 was used.
16303 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16304 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16305 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16306 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16308 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16309 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16310 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16311 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16312 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16313 __mpranred, __mptan.
16314 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16315 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16316 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16317 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16318 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16319 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16320 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16321 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16322 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16324 2011-10-28 Andreas Schwab <schwab@redhat.com>
16326 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16327 redefine if SHARED.
16328 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16330 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16331 wide char related routines to wcsmbs subdir.
16333 2011-10-27 Andreas Schwab <schwab@redhat.com>
16336 * misc/sys/cdefs.h (__THROWNL): Define.
16337 * posix/unistd.h: Use __THREADNL instead of __THREAD
16338 for memory synchronization functions.
16340 2011-10-26 Roland McGrath <roland@hack.frob.com>
16343 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16345 * manual/stdio.texi (Obstack Streams): Node removed.
16347 2011-10-26 Andreas Schwab <schwab@redhat.com>
16349 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16350 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16351 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16353 * math/math_private.h (math_force_eval): Allow non-addressable
16355 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16357 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16359 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16360 file is not needed.
16362 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16363 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16364 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16365 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16366 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16367 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16368 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16369 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16371 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16372 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16373 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16374 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16375 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16376 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16377 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16378 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16379 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16380 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16381 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16382 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16384 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16385 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16386 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16387 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16388 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16389 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16391 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16392 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16394 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16395 place. Use VEX encoding when compiling for AVX.
16397 2011-10-25 Andreas Schwab <schwab@redhat.com>
16399 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16400 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16402 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16404 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16406 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16407 useless if() expression.
16408 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16409 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16410 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16411 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16412 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16413 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16414 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16415 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16416 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16417 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16418 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16419 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16420 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16421 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16422 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16423 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16424 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16425 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16426 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16428 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16430 2011-10-25 Andreas Schwab <schwab@redhat.com>
16432 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16434 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16436 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16438 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16439 .text section. Avoid duplicate constants.
16440 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16442 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16443 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16444 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16445 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16447 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16448 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16449 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16450 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16451 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16452 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16453 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16454 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16455 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16456 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16457 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16458 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16459 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16460 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16461 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16462 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16463 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16464 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16465 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16466 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16467 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16468 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16469 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16470 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16471 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16472 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16473 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16474 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16475 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16476 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16477 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16478 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16479 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16480 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16481 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16482 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16483 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16484 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16486 2011-10-24 Ulrich Drepper <drepper@gmail.com>
16488 * sysdeps/x86_64/dla.h: Move to ...
16489 * sysdeps/x86_64/fpu/dla.h: ...here.
16490 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16491 situations. Use __builtin_fma only for gcc 4.6 and up.
16493 * config.make.in: Add have-mfma4 entry.
16494 * configure.in: Substitute libc_cv_cc_fma4.
16495 * math/Makefile (dbl-only-routines): Add sincostab.
16496 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16497 Use __sincostab not sincos.
16498 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16500 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16502 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16503 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16505 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16506 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16507 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16508 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16510 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16511 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16513 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16514 define aliases when function name is a macro.
16515 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16516 sysdeps/ieee754/dbl-64/sincos.tbl.
16517 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16518 fma4-enabled routines.
16519 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16520 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16521 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16522 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16523 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16524 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16525 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16526 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16527 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16528 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16529 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16530 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16531 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16532 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16533 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16534 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16535 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16536 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16537 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16538 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16539 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16540 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16541 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16542 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16543 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16544 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16545 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16546 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16547 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16548 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16550 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16553 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16555 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16557 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16561 2011-10-24 Andreas Schwab <schwab@redhat.com>
16563 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16565 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16567 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16569 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16571 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16573 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16574 Remove unused variable magic_bits.
16575 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16577 * string/strnlen.c: Define and use STRNLEN macro.
16578 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16579 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16580 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16581 * wcsmbs/wcslen.c: Define and use WCSLEN.
16582 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16583 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16584 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16585 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16586 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16587 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16588 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16590 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16593 strnlen-sse2-no-bsf.
16594 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16595 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16596 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16597 Add strnlen support.
16598 (USE_AS_STRNLEN): New macro.
16599 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16600 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16601 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16602 * sysdeps/x86_64/wcslen.S: New file.
16604 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16606 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16607 XMM-moves are used for copying on small sizes.
16609 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16611 * wcsmbs/Makefile (strop-tests): Add wcschr.
16612 * wcsmbs/test-wcschr.c: New file.
16613 * string/test-strchr.c: Update.
16614 Add wcschr support.
16617 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16619 * wcsmbs/Makefile (strop-tests): Add wcslen.
16620 * wcsmbs/test-wcslen.c: New file.
16621 * string/test-strlen.c: Update.
16622 Add wcslen support.
16625 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16627 * po/it.po: Update from translation team.
16629 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16631 * sysdeps/x86_64/wcscmp.S: Update.
16632 Fix wrong comparison semantics.
16633 wcscmp shall use signed comparison not unsigned.
16634 Don't use substraction to avoid overflow bug.
16635 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16636 * wcsmbc/wcscmp.c: Likewise.
16637 * string/test-strcmp.c: Likewise.
16638 Add new tests to check cases with negative values.
16640 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16642 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16643 * sysdeps/x86_64/dla.h: ...here. New file.
16644 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16645 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16649 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16651 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16654 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16656 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16657 __ynl_finite aliases.
16659 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16663 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16665 [DLA_FMA] (EMULV): Use DLA_FMA.
16666 [DLA_FMA] (MUL12): Use EMULV.
16667 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16668 that are not needed.
16669 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16670 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16672 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16673 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16674 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16677 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16679 * math/s_nan.c: Undef __nan.
16680 * math/s_nanf.c: Undef __nanf.
16681 * math/s_nanl.c: Undef __nanl.
16682 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16685 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16687 * math/s_catan.c: Add branch predictions.
16688 * math/s_catanf.c: Likewise.
16689 * math/s_catanh.c: Likewise.
16690 * math/s_catanhf.c: Likewise.
16691 * math/s_catanhl.c: Likewise.
16692 * math/s_catanl.c: Likewise.
16693 * math/s_cexp.c: Likewise.
16694 * math/s_cexpf.c: Likewise.
16695 * math/s_cexpl.c: Likewise.
16696 * math/s_clog.c: Likewise.
16697 * math/s_clog10.c: Likewise.
16698 * math/s_clog10f.c: Likewise.
16699 * math/s_clog10l.c: Likewise.
16700 * math/s_clogf.c: Likewise.
16701 * math/s_clogl.c: Likewise.
16702 * math/s_csqrt.c: Likewise.
16703 * math/s_csqrtf.c: Likewise.
16704 * math/s_csqrtl.c: Likewise.
16705 * math/s_ctanf.c: Likewise.
16706 * math/s_ctanh.c: Likewise.
16707 * math/s_ctanhf.c: Likewise.
16708 * math/s_ctanhl.c: Likewise.
16709 * math/s_ctanl.c: Likewise.
16711 * math/math_private.h: Define __nan, __nanf, __nanl.
16712 * math/s_cacosh.c: Include <math_private.h>.
16713 * math/s_cacoshl.c: Likewise.
16714 * math/s_casinh.c: Likewise.
16715 * math/s_casinhf.c: Likewise.
16716 * math/s_casinhl.c: Likewise.
16717 * math/s_ccos.c: Rely entire on ccosh.
16718 * math/s_ccosf.c: Rely entire on ccoshf.
16719 * math/s_ccosl.c: Rely entirely on ccoshl.
16720 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16721 Remove tests for FE_INVALID.
16722 * math/s_ccoshf.c: Likewise.
16723 * math/s_ccoshl.c: Likewise.
16724 * math/s_csin.c: Likewise.
16725 * math/s_csinf.c: Likewise.
16726 * math/s_csinh.c Likewise.
16727 * math/s_csinhf.c: Likewise.
16728 * math/s_csinhl.c: Likewise.
16729 * math/s_csinl.c: Likewise.
16730 * math/s_ctan.c: Likewise.
16731 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16732 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16733 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16735 2011-10-21 Ulrich Drepper <drepper@gmail.com>
16737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16738 compilation problems.
16740 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16743 2011-10-20 Ulrich Drepper <drepper@gmail.com>
16745 * sysdeps/i386/configure.in: Test for -mfma4 option.
16746 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16747 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16748 COMMON_CPUID_INDEX_80000001.
16749 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16750 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16751 use it if FMA3 is not supported.
16752 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16754 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16755 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16757 2011-10-20 Andreas Schwab <schwab@redhat.com>
16760 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16761 it would create a cycle with a link time dependency.
16763 2011-10-19 Ulrich Drepper <drepper@gmail.com>
16765 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16767 * string/Makefile (strop-tests): Add rawmemchr.
16768 * string/test-rawmemchr.c: New file.
16770 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16771 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16772 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16773 when compiling str{,n}casecmp and when AVX is available. Hook up
16774 new optimized code in initializers.
16776 2011-10-19 Andreas Schwab <schwab@redhat.com>
16778 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16779 __feraiseexcept instead of feraiseexcept.
16781 2011-10-18 Ulrich Drepper <drepper@gmail.com>
16783 * math/math_private.h: Define defaults for libc_fetestexcept and
16785 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16786 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16787 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16788 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16789 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16790 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16791 libc_fetestexcept and libc_feupdateenv.
16793 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16794 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16795 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16796 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16797 libc_feholdexcept_setround.
16799 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16800 Add s_nearbyint-c and s_nearbyintf-c.
16801 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16802 nearbyintf inlines.
16803 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16804 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16805 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16806 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16808 * math/math_private.h: Define defaults for libc_fegetround,
16809 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16810 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16811 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16812 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16813 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16814 standard functions.
16815 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16816 Remove comments and hacks for old compiler versions.
16817 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16818 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16819 libc_feholdexceptl.
16821 2011-10-18 Andreas Schwab <schwab@redhat.com>
16823 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16824 (__feraiseexcept_renamed): Add __NTH.
16825 (feraiseexcept): Add __NTH. Rename local variables to fix
16826 namespace violations.
16828 2011-10-17 Ulrich Drepper <drepper@gmail.com>
16830 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16832 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16834 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16835 recently added interfaces.
16836 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16838 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16839 about macro parameter expansion.
16841 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16842 __NO_MATH_INLINES is defined. Cleanups.
16844 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16845 and __floorf is target has SSE4.1.
16846 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16847 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16848 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16849 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16851 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16853 (floorf): Likewise.
16855 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16857 2011-10-17 Andreas Schwab <schwab@redhat.com>
16859 * misc/sys/cdefs.h: Fix last change.
16861 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16864 2011-10-16 Ulrich Drepper <drepper@gmail.com>
16866 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16868 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16869 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16870 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16871 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16872 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16873 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16874 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16875 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16876 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16877 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16878 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16879 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16880 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16881 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16882 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16883 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16884 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16885 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16886 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16887 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16888 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16889 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16891 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16892 ceil, ceilf, floor, floorf.
16894 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16895 Perform IRELATIVE relocations last.
16897 * elf/do-rel.h: Add another parameter nrelative, replacing the
16898 local variable with the same name. Change name of the function
16899 to end in Rel or Rela (uppercase).
16900 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16901 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16902 elf_dynamic_do_##reloc function.
16904 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16906 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16907 is sufficient, at least on modern CPUs.
16909 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16911 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16912 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16914 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16916 * math/bits/math-finite.h: Add entries for exp.
16917 * math/e_expl.c: Add __*_finite alias.
16918 * sysdeps/i386/fpu/e_exp.S: Likewise.
16919 * sysdeps/i386/fpu/e_expf.S: Likewise.
16920 * sysdeps/i386/fpu/e_expl.c: Likewise.
16921 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16922 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16923 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16924 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16925 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16926 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16927 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16929 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16930 is sufficient, at least on modern CPUs.
16932 * ctype/ctype-info.c (__ctype_init): Define.
16933 * include/ctype.h (__ctype_init): Declare.
16934 (__ctype_b_loc): The variable is always initialized.
16935 (__ctype_toupper_loc): Likewise.
16936 (__ctype_tolower_loc): Likewise.
16937 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16938 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16940 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16942 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16944 * configure.in: Also look in $cxxmachine/include for C++ system
16947 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16949 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16950 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16951 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16952 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16953 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16954 (USE_AS_WMEMCMP): New macro.
16956 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16957 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16958 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16959 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16960 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16961 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16962 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16963 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16964 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16965 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16966 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16967 (USE_AS_WMEMCMP): New macro.
16968 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16969 * sysdeps/string/test-memcmp.c: Update.
16970 Fix simple_wmemcmp.
16972 * wcsmbs/wmemcmp.c: Update.
16973 (WMEMCMP): New macro.
16976 2011-10-12 Andreas Jaeger <aj@suse.de>
16979 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16981 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16983 * libio/iofwide.c (do_length): Avoid warning.
16985 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16987 2011-10-14 Ulrich Drepper <drepper@gmail.com>
16989 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16991 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16992 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16993 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16994 * sysdeps/i386/i686/fpu/e_log.S: New file.
16995 * sysdeps/i386/i686/fpu/e_logf.S: New file.
16996 * sysdeps/i386/i686/fpu/e_logl.S: New file.
16998 * ctype/ctype.h: Add support for inlined isXXX functions when
16999 compiling C++ code.
17001 2011-10-14 Andreas Schwab <schwab@redhat.com>
17003 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17005 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17007 2011-10-13 Roland McGrath <roland@hack.frob.com>
17010 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17012 2011-10-13 Andreas Schwab <schwab@redhat.com>
17014 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17015 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17018 * sysdeps/x86_64/memrchr.S: Check for zero size.
17020 * string/stratcliff.c: Add memrchr tests.
17022 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17024 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17025 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17026 rawmemchr-sse2 rawmemchr-sse2-bsf.
17027 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17028 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17029 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17030 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17031 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17032 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17033 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17034 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17035 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17036 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17037 * string/memrchr.c (MEMRCHR): New macro.
17039 2011-10-12 Ulrich Drepper <drepper@gmail.com>
17041 Add integration with gcc's -ffinite-math-only and optimize wrapper
17043 * Versions.def: Define GLIBC_2.15 version for libm.
17044 * math/Makefile (headers): Add bits/math-finite.h.
17045 * math/bits/math-finite.h: New file.
17046 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17047 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17048 * math/e_acoshl.c: Add __*_finite alias.
17049 * math/e_acosl.c: Likewise.
17050 * math/e_asinl.c: Likewise.
17051 * math/e_atan2l.c: Likewise.
17052 * math/e_atanhl.c: Likewise.
17053 * math/e_coshl.c: Likewise.
17054 * math/e_exp10.c: Likewise.
17055 * math/e_exp10f.c: Likewise.
17056 * math/e_exp10l.c: Likewise.
17057 * math/e_exp2l.c: Likewise.
17058 * math/e_fmodl.c: Likewise.
17059 * math/e_gammal_r.c: Likewise.
17060 * math/e_hypotl.c: Likewise.
17061 * math/e_j0l.c: Likewise.
17062 * math/e_j1l.c: Likewise.
17063 * math/e_jnl.c: Likewise.
17064 * math/e_lgammal_r.c: Likewise.
17065 * math/e_log10l.c: Likewise.
17066 * math/e_log2l.c: Likewise.
17067 * math/e_logl.c: Likewise.
17068 * math/e_powl.c: Likewise.
17069 * math/e_sinhl.c: Likewise.
17070 * math/e_sqrtl.c: Likewise.
17071 * math/e_scalb.c: Completely rewritten and optimized.
17072 * math/e_scalbf.c: Likewise.
17073 * math/e_scalbl.c: Likewise.
17074 * math/w_acos.c: Likewise.
17075 * math/w_acosf.c: Likewise.
17076 * math/w_acosl.c: Likewise.
17077 * math/w_acosh.c: Likewise.
17078 * math/w_acoshf.c: Likewise.
17079 * math/w_acoshl.c: Likewise.
17080 * math/w_asin.c: Likewise.
17081 * math/w_asinf.c: Likewise.
17082 * math/w_asinl.c: Likewise.
17083 * math/w_atan2.c: Likewise.
17084 * math/w_atan2f.c: Likewise.
17085 * math/w_atan2l.c: Likewise.
17086 * math/w_atanh.c: Likewise.
17087 * math/w_atanhf.c: Likewise.
17088 * math/w_atanhl.c: Likewise.
17089 * math/w_exp10.c: Likewise.
17090 * math/w_exp10f.c: Likewise.
17091 * math/w_exp10l.c: Likewise.
17092 * math/w_fmod.c: Likewise.
17093 * math/w_fmodf.c: Likewise.
17094 * math/w_fmodl.c: Likewise.
17095 * math/w_j0.c: Likewise.
17096 * math/w_j0f.c: Likewise.
17097 * math/w_j0l.c: Likewise.
17098 * math/w_j1.c: Likewise.
17099 * math/w_j1f.c: Likewise.
17100 * math/w_j1l.c: Likewise.
17101 * math/w_jn.c: Likewise.
17102 * math/w_jnf.c: Likewise.
17103 * math/w_log.c: Likewise.
17104 * math/w_logf.c: Likewise.
17105 * math/w_logl.c: Likewise.
17106 * math/w_log10.c: Likewise.
17107 * math/w_log10f.c: Likewise.
17108 * math/w_log10l.c: Likewise.
17109 * math/w_log2.c: Likewise.
17110 * math/w_log2f.c: Likewise.
17111 * math/w_log2l.c: Likewise.
17112 * math/w_pow.c: Likewise.
17113 * math/w_powf.c: Likewise.
17114 * math/w_powl.c: Likewise.
17115 * math/w_remainder.c: Likewise.
17116 * math/w_remainderf.c: Likewise.
17117 * math/w_remainderl.c: Likewise.
17118 * math/w_scalb.c: Likewise.
17119 * math/w_scalbf.c: Likewise.
17120 * math/w_scalbl.c: Likewise.
17121 * math/w_sqrt.c: Likewise.
17122 * math/w_sqrtf.c: Likewise.
17123 * math/w_sqrtl.c: Likewise.
17124 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17125 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17127 * math/math_private.h: Declare __kernel_standard_f.
17128 * math/w_cosh.c: Remove cruft and optimize a bit.
17129 * math/w_coshf.c: Likewise.
17130 * math/w_coshl.c: Likewise.
17131 * math/w_exp2.c: Likewise.
17132 * math/w_exp2f.c: Likewise.
17133 * math/w_exp2l.c: Likewise.
17134 * math/w_hypot.c: Likewise.
17135 * math/w_hypotf.c: Likewise.
17136 * math/w_hypotl.c: Likewise.
17137 * math/w_lgamma.c: Likewise.
17138 * math/w_lgamma_r.c: Likewise.
17139 * math/w_lgammaf.c: Likewise.
17140 * math/w_lgammaf_r.c: Likewise.
17141 * math/w_lgammal.c: Likewise.
17142 * math/w_lgammal_r.c: Likewise.
17143 * math/w_sinh.c: Likewise.
17144 * math/w_sinhf.c: Likewise.
17145 * math/w_sinhl.c: Likewise.
17146 * math/w_tgamma.c: Likewise.
17147 * math/w_tgammaf.c: Likewise.
17148 * math/w_tgammal.c: Likewise.
17149 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17150 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17151 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17152 Minor optimizations. Pretty printing. Remove cruft.
17153 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17154 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17155 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17156 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17157 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17158 * sysdeps/i386/fpu/e_asin.S: Likewise.
17159 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17160 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17161 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17162 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17163 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17164 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17165 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17166 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17167 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17168 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17169 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17170 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17171 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17172 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17173 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17174 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17175 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17176 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17177 * sysdeps/i386/fpu/e_log.S: Likewise.
17178 * sysdeps/i386/fpu/e_log10.S: Likewise.
17179 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17180 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17181 * sysdeps/i386/fpu/e_log2.S: Likewise.
17182 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17183 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17184 * sysdeps/i386/fpu/e_logf.S: Likewise.
17185 * sysdeps/i386/fpu/e_logl.S: Likewise.
17186 * sysdeps/i386/fpu/e_pow.S: Likewise.
17187 * sysdeps/i386/fpu/e_powf.S: Likewise.
17188 * sysdeps/i386/fpu/e_powl.S: Likewise.
17189 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17190 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17191 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17192 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17193 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17194 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17195 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17196 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17197 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17198 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17199 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17201 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17202 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17203 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17204 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17205 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17206 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17207 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17208 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17209 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17210 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17211 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17212 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17213 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17214 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17215 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17216 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17218 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17219 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17220 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17221 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17222 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17223 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17224 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17225 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17226 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17227 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17228 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17229 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17230 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17231 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17232 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17233 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17234 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17235 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17236 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17237 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17238 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17239 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17240 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17241 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17242 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17243 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17244 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17245 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17246 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17247 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17248 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17249 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17250 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17251 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17252 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17253 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17254 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17255 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17256 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17257 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17258 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17259 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17262 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17263 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17264 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17265 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17266 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17268 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17269 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17270 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17271 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17272 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17273 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17274 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17275 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17276 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17277 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17278 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17279 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17280 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17281 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17283 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17284 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17285 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17286 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17287 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17289 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17290 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17291 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17292 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17293 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17294 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17295 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17296 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17297 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17298 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17299 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17300 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17301 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17302 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17303 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17304 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17305 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17306 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17307 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17308 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17309 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17310 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17311 (__isnanf): Likewise.
17312 (__isinf_ns): Likewise.
17313 (__isinf_nsf): Likewise.
17314 (__finite): Likewise.
17315 (__finitef): Likewise.
17316 (__ieee754_sqrt): Define as macro.
17317 (__ieee754_sqrtf): Define as macro.
17318 (__ieee754_sqrtl): Define as macro.
17319 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17321 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17322 __FINITE_MATH_ONLY__ consistent.
17323 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17325 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17327 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17330 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17332 2011-10-09 Ulrich Drepper <drepper@gmail.com>
17334 * po/ja.po: Update from translation team.
17336 2011-10-08 Roland McGrath <roland@hack.frob.com>
17338 * locale/programs/locarchive.c (prepare_address_space): New function.
17339 (create_archive, enlarge_archive, open_archive): Use it.
17341 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17342 inside [SHARED], where it is used.
17344 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17346 * nss/getent.c (netgroup_keys): Remove unused variable.
17347 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17349 2011-10-08 Ulrich Drepper <drepper@gmail.com>
17351 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17352 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17353 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17354 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17355 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17356 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17357 * math/Makefile (libm-calls): Add s_isinf_ns.
17358 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17359 * math/multc3.c: Likewise.
17360 * math/s_casin.c: Likewise.
17361 * math/s_casinf.c: Likewise.
17362 * math/s_casinl.c: Likewise.
17363 * math/s_ccos.c: Likewise.
17364 * math/s_ccosf.c: Likewise.
17365 * math/s_ccosl.c: Likewise.
17366 * math/s_ctan.c: Likewise.
17367 * math/s_ctanf.c: Likewise.
17368 * math/s_ctanh.c: Likewise.
17369 * math/s_ctanhf.c: Likewise.
17370 * math/s_ctanhl.c: Likewise.
17371 * math/s_ctanl.c: Likewise.
17372 * math/w_fmod.c: Likewise.
17373 * math/w_fmodf.c: Likewise.
17374 * math/w_fmodl.c: Likewise.
17375 * math/w_remainder.c: Likewise.
17376 * math/w_remainderf.c: Likewise.
17377 * math/w_remainderl.c: Likewise.
17378 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17379 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17380 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17382 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17383 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17384 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17385 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17387 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17389 * stdio-common/printf_fphex.c: Likewise.
17390 * stdio-common/printf_size.c: Likewise.
17392 * math/e_exp10.c: Include math_private.h using <...> not "...".
17393 * math/e_exp10f.c: Likewise.
17394 * math/e_exp10l.c: Likewise.
17395 * math/e_exp2l.c: Likewise.
17396 * math/e_j0l.c: Likewise.
17397 * math/e_j1l.c: Likewise.
17398 * math/e_jnl.c: Likewise.
17399 * math/e_lgammal_r.c: Likewise.
17400 * math/e_rem_pio2l.c: Likewise.
17401 * math/e_scalb.c: Likewise.
17402 * math/e_scalbf.c: Likewise.
17403 * math/e_scalbl.c: Likewise.
17404 * math/k_cosl.c: Likewise.
17405 * math/k_sinl.c: Likewise.
17406 * math/k_tanl.c: Likewise.
17407 * math/s_cacoshf.c: Likewise.
17408 * math/s_catan.c: Likewise.
17409 * math/s_catanf.c: Likewise.
17410 * math/s_catanh.c: Likewise.
17411 * math/s_catanhf.c: Likewise.
17412 * math/s_catanhl.c: Likewise.
17413 * math/s_catanl.c: Likewise.
17414 * math/s_ccosh.c: Likewise.
17415 * math/s_ccoshf.c: Likewise.
17416 * math/s_ccoshl.c: Likewise.
17417 * math/s_cexp.c: Likewise.
17418 * math/s_cexpf.c: Likewise.
17419 * math/s_cexpl.c: Likewise.
17420 * math/s_clog.c: Likewise.
17421 * math/s_clog10.c: Likewise.
17422 * math/s_clog10f.c: Likewise.
17423 * math/s_clog10l.c: Likewise.
17424 * math/s_clogf.c: Likewise.
17425 * math/s_clogl.c: Likewise.
17426 * math/s_csin.c: Likewise.
17427 * math/s_csinf.c: Likewise.
17428 * math/s_csinh.c: Likewise.
17429 * math/s_csinhf.c: Likewise.
17430 * math/s_csinhl.c: Likewise.
17431 * math/s_csinl.c: Likewise.
17432 * math/s_csqrt.c: Likewise.
17433 * math/s_csqrtf.c: Likewise.
17434 * math/s_csqrtl.c: Likewise.
17435 * math/s_ctan.c: Likewise.
17436 * math/s_ctanf.c: Likewise.
17437 * math/s_ctanh.c: Likewise.
17438 * math/s_ctanhf.c: Likewise.
17439 * math/s_ctanhl.c: Likewise.
17440 * math/s_ctanl.c: Likewise.
17441 * math/s_ldexp.c: Likewise.
17442 * math/s_ldexpf.c: Likewise.
17443 * math/s_ldexpl.c: Likewise.
17444 * math/s_significand.c: Likewise.
17445 * math/s_significandf.c: Likewise.
17446 * math/s_significandl.c: Likewise.
17447 * math/w_acos.c: Likewise.
17448 * math/w_acosf.c: Likewise.
17449 * math/w_acosh.c: Likewise.
17450 * math/w_acoshf.c: Likewise.
17451 * math/w_acoshl.c: Likewise.
17452 * math/w_acosl.c: Likewise.
17453 * math/w_asin.c: Likewise.
17454 * math/w_asinf.c: Likewise.
17455 * math/w_asinl.c: Likewise.
17456 * math/w_atan2.c: Likewise.
17457 * math/w_atan2f.c: Likewise.
17458 * math/w_atan2l.c: Likewise.
17459 * math/w_atanh.c: Likewise.
17460 * math/w_atanhf.c: Likewise.
17461 * math/w_atanhl.c: Likewise.
17462 * math/w_cosh.c: Likewise.
17463 * math/w_coshf.c: Likewise.
17464 * math/w_coshl.c: Likewise.
17465 * math/w_dremf.c: Likewise.
17466 * math/w_exp10.c: Likewise.
17467 * math/w_exp10f.c: Likewise.
17468 * math/w_exp10l.c: Likewise.
17469 * math/w_exp2.c: Likewise.
17470 * math/w_exp2f.c: Likewise.
17471 * math/w_fmod.c: Likewise.
17472 * math/w_fmodf.c: Likewise.
17473 * math/w_fmodl.c: Likewise.
17474 * math/w_hypot.c: Likewise.
17475 * math/w_hypotf.c: Likewise.
17476 * math/w_hypotl.c: Likewise.
17477 * math/w_j0.c: Likewise.
17478 * math/w_j0f.c: Likewise.
17479 * math/w_j0l.c: Likewise.
17480 * math/w_j1.c: Likewise.
17481 * math/w_j1f.c: Likewise.
17482 * math/w_j1l.c: Likewise.
17483 * math/w_jn.c: Likewise.
17484 * math/w_jnf.c: Likewise.
17485 * math/w_jnl.c: Likewise.
17486 * math/w_lgamma.c: Likewise.
17487 * math/w_lgamma_r.c: Likewise.
17488 * math/w_lgammaf.c: Likewise.
17489 * math/w_lgammaf_r.c: Likewise.
17490 * math/w_lgammal.c: Likewise.
17491 * math/w_lgammal_r.c: Likewise.
17492 * math/w_log.c: Likewise.
17493 * math/w_log10.c: Likewise.
17494 * math/w_log10f.c: Likewise.
17495 * math/w_log10l.c: Likewise.
17496 * math/w_log2.c: Likewise.
17497 * math/w_log2f.c: Likewise.
17498 * math/w_log2l.c: Likewise.
17499 * math/w_logf.c: Likewise.
17500 * math/w_logl.c: Likewise.
17501 * math/w_pow.c: Likewise.
17502 * math/w_powf.c: Likewise.
17503 * math/w_powl.c: Likewise.
17504 * math/w_remainder.c: Likewise.
17505 * math/w_remainderf.c: Likewise.
17506 * math/w_remainderl.c: Likewise.
17507 * math/w_scalb.c: Likewise.
17508 * math/w_scalbf.c: Likewise.
17509 * math/w_scalbl.c: Likewise.
17510 * math/w_sinh.c: Likewise.
17511 * math/w_sinhf.c: Likewise.
17512 * math/w_sinhl.c: Likewise.
17513 * math/w_sqrt.c: Likewise.
17514 * math/w_sqrtf.c: Likewise.
17515 * math/w_sqrtl.c: Likewise.
17516 * math/w_tgamma.c: Likewise.
17517 * math/w_tgammaf.c: Likewise.
17518 * math/w_tgammal.c: Likewise.
17520 * po/ja.po: Update from translation team.
17522 2011-09-29 Andreas Jaeger <aj@suse.de>
17525 * sunrpc/netname.c (netname2host): Fix logic.
17529 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17531 * math/w_remainder.c (__remainder): Likewise.
17532 * math/w_remainderf.c (__remainderf): Likewise.
17533 * math/libm-test.inc (remainder_test): Add test cases.
17535 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17537 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17540 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17542 * string/test-memcmp.c: Avoid unncessary #defines.
17543 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17545 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17547 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17548 Use new sse2 version for core i3 - i7 as it's faster
17549 than sse42 version.
17550 (bit_Prefer_PMINUB_for_stringop): New.
17551 * sysdeps/x86_64/rawmemchr.S: Update.
17552 Replace with faster SSE2 version.
17553 * sysdeps/x86_64/memrchr.S: New file.
17554 * sysdeps/x86_64/memchr.S: Update.
17555 Replace with faster SSE2 version.
17557 2011-09-12 Marek Polacek <mpolacek@redhat.com>
17559 * elf/dl-load.c (lose): Add cast to avoid warning.
17561 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17563 * po/ca.po: Update from translation team.
17565 * inet/getnetgrent_r.c: Hook up nscd.
17566 * nscd/Makefile (routines): Add nscd_netgroup.
17567 (nscd-modules): Add netgroupcache.
17568 (CFLAGS-netgroupcache.c): Define.
17569 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17570 (cache_search): Add const to second parameter.
17571 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17573 (dbs): Add netgrdb entry.
17574 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17575 (verify_persistent_db): Handle netgrdb.
17576 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17577 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17579 (netgroup_response_header): Define.
17580 (innetgroup_response_header): Define.
17581 (datahead): Add netgroup_response_header and innetgroup_response_header
17583 * nscd/nscd.conf: Add entries for netgroup cache.
17584 * nscd/nscd.h (dbtype): Add netgrdb.
17585 (_PATH_NSCD_NETGROUP_DB): Define.
17586 (netgroup_iov_disabled): Declare.
17587 (xmalloc, xcalloc, xrealloc): Move declarations here.
17588 (cache_search): Adjust prototype.
17589 Add netgroup-related prototypes.
17590 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17591 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17592 (__nscd_innetgr): Declare.
17593 * nscd/selinux.c (perms): Use access_vector_t as element type and
17594 add netgroup-related initializers.
17595 * nscd/netgroupcache.c: New file.
17596 * nscd/nscd_netgroup.c: New file.
17597 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17598 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17599 For four parameters use innetgr.
17600 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17601 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17602 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17603 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17605 * nscd/connections.c (register_traced_file): Don't register file
17606 for disabled databases.
17608 2011-10-06 Ulrich Drepper <drepper@gmail.com>
17610 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17612 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17613 from tree and freeing node.
17615 2011-09-25 Jiri Olsa <jolsa@redhat.com>
17617 * nss/nsswitch.c (__nss_database_lookup): Handle
17618 nss_parse_service_list out of memory case.
17620 2011-09-15 Jiri Olsa <jolsa@redhat.com>
17622 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17623 out of memory case.
17625 2011-10-04 Andreas Schwab <schwab@redhat.com>
17627 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17628 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17630 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17631 elf_machine_rela, elf_machine_lazy_rel.
17632 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17633 (ELF_DYNAMIC_DO_REL): Likewise.
17634 (ELF_DYNAMIC_DO_RELA): Likewise.
17635 (ELF_DYNAMIC_RELOCATE): Likewise.
17636 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17637 to ELF_DYNAMIC_DO_REL.
17638 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17639 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17640 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17642 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17643 skip_ifunc, don't call ifunc function if non-zero.
17644 (elf_machine_rela): Likewise.
17645 (elf_machine_lazy_rel): Likewise.
17646 (elf_machine_lazy_rela): Likewise.
17647 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17648 (elf_machine_lazy_rel): Likewise.
17649 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17651 (elf_machine_lazy_rel): Likewise.
17652 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17654 (elf_machine_lazy_rel): Likewise.
17655 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17656 (elf_machine_lazy_rel): Likewise.
17657 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17658 (elf_machine_lazy_rel): Likewise.
17659 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17660 (elf_machine_lazy_rel): Likewise.
17661 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17662 (elf_machine_lazy_rel): Likewise.
17663 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17664 (elf_machine_lazy_rel): Likewise.
17665 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17666 (elf_machine_lazy_rel): Likewise.
17668 2011-09-28 Ulrich Drepper <drepper@gmail.com>
17670 * nss/nss_files/files-init.c (_nss_files_init): Use static
17671 initialization for all the *_traced_file variables.
17673 2011-09-28 Andreas Schwab <schwab@redhat.com>
17675 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17677 2011-09-27 Roland McGrath <roland@hack.frob.com>
17680 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17682 2011-09-27 Andreas Schwab <schwab@redhat.com>
17684 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17685 Reread the line before reparsing it.
17687 2011-09-26 Andreas Schwab <schwab@redhat.com>
17689 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17691 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17692 Maxim Kuvyrkov <maxim@codesourcery.com>
17693 Joseph Myers <joseph@codesourcery.com>
17695 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17696 if needed for __stack_chk_guard.
17698 2011-09-19 Roland McGrath <roland@hack.frob.com>
17700 * sysdeps/posix/spawni.c (script_execute): Always define it.
17701 It will be optimized away if unused.
17702 (maybe_script_execute): New function.
17703 (__spawni): Call it.
17705 * Makerules: Don't include tls.make.
17706 (config-tls): Always set to thread.
17707 * tls.make.c: File removed.
17709 2011-09-19 Mike Frysinger <vapier@gentoo.org>
17711 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17712 * config.make.in (CPPFLAGS-config): New substituted variable.
17714 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17716 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17719 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17720 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17722 2011-09-15 Roland McGrath <roland@hack.frob.com>
17724 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17725 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17726 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17727 (CALL_FAIL): Likewise.
17728 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17729 (CALL_FAIL): Macro removed.
17730 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17732 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17734 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17735 for __FINITE_MATH_ONLY__ == 1.
17737 2011-09-15 Andreas Schwab <schwab@redhat.com>
17739 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17740 __ieee754_sqrt instead of sqrt.
17741 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17742 __ieee754_sqrtf instead of sqrtf.
17743 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17744 __floorf instead of floorf.
17745 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17746 __floorf, __truncf instead of floorf, truncf.
17748 2011-09-14 Ulrich Drepper <drepper@gmail.com>
17750 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17752 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17753 __extern_always_inline.
17754 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17757 2011-09-14 Andreas Schwab <schwab@redhat.com>
17759 * elf/rtld.c (dl_main): Also relocate in dependency order when
17760 doing symbol dependency testing.
17762 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17764 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17765 Always define `refsym'.
17767 2011-09-13 Andreas Schwab <schwab@redhat.com>
17769 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17770 (__FD_ELT): Renamed from __FDELT.
17771 * misc/bits/select2.h (__FD_ELT): Likewise.
17772 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17773 __FD_MASK instead of __FDELT, __FDMASK.
17774 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17776 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17779 * elf/Makefile (gen-ldd): Fix pattern.
17781 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17782 (init_tls): Likewise.
17784 2011-09-12 Ulrich Drepper <drepper@gmail.com>
17786 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17788 2011-09-12 Andreas Schwab <schwab@redhat.com>
17790 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17791 `struct cmsghdr *' instead of `void *'.
17792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17795 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17797 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17799 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17800 ldd_rewrite_script.
17802 2011-09-11 Ulrich Drepper <drepper@gmail.com>
17804 * configure.in: Remove --with-tls option.
17805 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17806 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17807 out in case it is missing.
17808 * sysdeps/ia64/elf/configure.in: Likewise.
17809 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17810 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17811 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17812 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17813 * sysdeps/sh/elf/configure.in: Likewise.
17814 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17815 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17816 * sysdeps/x86_64/elf/configure.in: Likewise.
17817 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17818 * sysdeps/mach/hurd/tls.h: Likewise.
17821 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17824 * configure.in: Fix use of AC_INIT.
17826 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17828 2011-09-10 Ulrich Drepper <drepper@gmail.com>
17830 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17832 * malloc/hooks.c: Likewise.
17835 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17836 variables statically.
17837 (narenas): Initialize.
17838 (list_lock): Initialize.
17839 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17840 initializtion of main_arena and list_lock. Small cleanups.
17841 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17842 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17843 Add initializers to main_arena and mp_.
17844 (malloc_state): Remove pagesize member. Change all users to use
17847 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17848 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17849 is always initialized.
17851 * malloc/malloc.c: Removed unused configurations and dead code.
17852 * malloc/arena.c: Likewise.
17853 * malloc/hooks.c: Likewise.
17854 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
17856 * include/tls.h: Removed. USE___THREAD must always be defined.
17857 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17858 * elf/dl-libc.c: Likewise.
17859 * elf/dl-tsd.c: Likewise.
17860 * include/errno.h: Likewise.
17861 * include/netdb.h: Likewise.
17862 * include/resolv.h: Likewise.
17863 * inet/herrno-loc.c: Likewise.
17864 * inet/herrno.c: Likewise.
17865 * malloc/arena.c: Likewise.
17866 * malloc/hooks.c: Likewise.
17867 * malloc/malloc.c: Likewise.
17868 * resolv/res-state.c: Likewise.
17869 * resolv/res_libc.c: Likewise.
17870 * sysdeps/i386/dl-machine.h: Likewise.
17871 * sysdeps/ia64/dl-machine.h: Likewise.
17872 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17873 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17874 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17875 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17876 * sysdeps/sh/dl-machine.h: Likewise.
17877 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17878 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17879 * sysdeps/unix/i386/sysdep.S: Likewise.
17880 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17881 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17882 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17883 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17884 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17885 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17886 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17887 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17890 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17891 * sysdeps/x86_64/dl-machine.h: Likewise.
17892 * tls.make.c: Likewise.
17894 * configure.in: Remove --with-__thread option. Make tests for
17895 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17896 tls_model attribute fail if no support is available. Remove
17898 * Makeconfig: Adjust for dropped configure option. All features are
17900 * Makerules: Likewise.
17901 * Versions.def: Likewise.
17902 * argp/argp-fmtstream.c: Likewise.
17903 * argp/argp-fmtstream.h: Likewise.
17904 * argp/argp-help.c: Likewise.
17905 * assert/assert.c: Likewise.
17906 * config.h.in: Likewise.
17907 * config.make.in: Likewise.
17908 * configure: Likewise.
17909 * configure.in: Likewise.
17910 * csu/Versions: Likewise.
17911 * csu/init.c: Likewise.
17912 * elf/tst-audit2.c: Likewise.
17913 * elf/tst-tls10.c: Likewise.
17914 * elf/tst-tls10.h: Likewise.
17915 * elf/tst-tls11.c: Likewise.
17916 * elf/tst-tls12.c: Likewise.
17917 * elf/tst-tls14.c: Likewise.
17918 * elf/tst-tlsmod11.c: Likewise.
17919 * elf/tst-tlsmod12.c: Likewise.
17920 * elf/tst-tlsmod13.c: Likewise.
17921 * elf/tst-tlsmod13a.c: Likewise.
17922 * elf/tst-tlsmod14a.c: Likewise.
17923 * elf/tst-tlsmod15b.c: Likewise.
17924 * elf/tst-tlsmod16a.c: Likewise.
17925 * elf/tst-tlsmod16b.c: Likewise.
17926 * elf/tst-tlsmod7.c: Likewise.
17927 * elf/tst-tlsmod8.c: Likewise.
17928 * elf/tst-tlsmod9.c: Likewise.
17929 * gmon/gmon.c: Likewise.
17930 * grp/fgetgrent_r.c: Likewise.
17931 * grp/putgrent.c: Likewise.
17932 * hurd/fopenport.c: Likewise.
17933 * include/libc-symbols.h: Likewise.
17934 * include/tls.h: Likewise.
17935 * intl/gettextP.h: Likewise.
17936 * intl/loadinfo.h: Likewise.
17937 * locale/global-locale.c: Likewise.
17938 * locale/localeinfo.h: Likewise.
17939 * mach/devstream.c: Likewise.
17940 * malloc/arena.c: Likewise.
17941 * malloc/set-freeres.c: Likewise.
17942 * misc/err.c: Likewise.
17943 * misc/getttyent.c: Likewise.
17944 * misc/mntent_r.c: Likewise.
17945 * posix/getopt.c: Likewise.
17946 * posix/wordexp.c: Likewise.
17947 * pwd/fgetpwent_r.c: Likewise.
17948 * resolv/Versions: Likewise.
17949 * resolv/res_hconf.c: Likewise.
17950 * shadow/fgetspent_r.c: Likewise.
17951 * shadow/putspent.c: Likewise.
17952 * stdio-common/printf_fphex.c: Likewise.
17953 * stdio-common/tmpfile.c: Likewise.
17954 * stdlib/abort.c: Likewise.
17955 * stdlib/fmtmsg.c: Likewise.
17956 * sunrpc/auth_unix.c: Likewise.
17957 * sunrpc/clnt_perr.c: Likewise.
17958 * sunrpc/clnt_tcp.c: Likewise.
17959 * sunrpc/clnt_udp.c: Likewise.
17960 * sunrpc/clnt_unix.c: Likewise.
17961 * sunrpc/openchild.c: Likewise.
17962 * sunrpc/svc_simple.c: Likewise.
17963 * sunrpc/svc_tcp.c: Likewise.
17964 * sunrpc/svc_udp.c: Likewise.
17965 * sunrpc/svc_unix.c: Likewise.
17966 * sunrpc/xdr.c: Likewise.
17967 * sunrpc/xdr_array.c: Likewise.
17968 * sunrpc/xdr_rec.c: Likewise.
17969 * sunrpc/xdr_ref.c: Likewise.
17970 * sunrpc/xdr_stdio.c: Likewise.
17972 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17974 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17976 2011-07-03 Andreas Jaeger <aj@suse.de>
17978 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17979 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17980 regenerate with gen-libm-tests.pl.
17982 2010-05-12 Petr Baudis <pasky@suse.cz>
17985 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17986 around j0() zero points by switching to j1().
17987 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17988 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17989 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17990 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17992 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17994 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17996 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17998 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17999 Patch in part by Pavel Roskin <proski@gnu.org>.
18002 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18004 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18005 Free memory block if necessary.
18008 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18009 be NULL. Don't lock in this case.
18011 2011-09-09 Roland McGrath <roland@hack.frob.com>
18013 * elf/elf.h (ELFOSABI_GNU): New macro.
18014 (ELFOSABI_LINUX): Define to that.
18016 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18018 * string/strncat.c (strncat): Undef the symbol in case it has been
18019 defined in bits/string.h.
18021 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18023 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18025 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18028 2011-08-17 Andreas Jaeger <aj@suse.de>
18030 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18032 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18033 Ian Lance Taylor <iant@google.com>
18035 * math/libm-test.inc (lround_test): New testcase.
18036 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18038 2011-09-08 Ulrich Drepper <drepper@gmail.com>
18040 * Makefile: Remove support for automatic cvs check-ins.
18041 * Makerules: Likewise.
18042 * config.make.in: Likewise.
18043 * configure.in: Likewise.
18044 * intl/Makefile: Likewise.
18045 * locale/Makefile: Likewise.
18046 * po/Makefile: Likewise.
18047 * posix/Makefile: Likewise.
18048 * sysdeps/gnu/Makefile: Likewise.
18049 * sysdeps/mach/hurd/Makefile: Likewise.
18050 * sysdeps/sparc/sparc32/Makefile: Likewise.
18053 * posix/Makefile (bug-regex32-ENV): Define.
18054 Patch by John Stanley <jpsinthemix@verizon.net>.
18056 * misc/Makefile (headers): Add bits/select2.h.
18057 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18058 * misc/bits/select2.h: New file.
18059 * include/bits/select2.h: New file.
18060 * debug/Makefile (routines): Add fdelt_chk.
18061 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18062 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18064 * debug/fdelt_chk.c: New file.
18066 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18067 * wcsmbs/test-wmemcmp.c: Likewise.
18068 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18069 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18071 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18073 * string/Makefile (strop-tests): Add memcmp.
18074 * string/test-wmemcmp.c: New file.
18075 * string/test-memcmp.c: Add wmemcmp support.
18077 2011-09-08 Roland McGrath <roland@hack.frob.com>
18080 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18083 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18084 garbage value in a __mach_port_mod_refs call in the cases of the
18085 task-self and thread-self ports.
18087 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18089 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18091 2011-09-08 Andreas Schwab <schwab@redhat.com>
18093 * elf/dl-load.c (lose): Check for non-null L.
18095 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18097 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18099 * elf/dl-libc.c (dlerror_run): Pass back error code from
18103 * elf/dl-load.c (lose): Free l_origin if it is valid.
18105 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18107 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18108 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18109 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18110 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18111 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18112 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18114 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18116 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18117 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18118 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18119 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18120 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18121 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18122 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18123 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18124 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18125 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18127 2011-08-15 Alan Modra <amodra@gmail.com>
18130 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18131 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18132 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18133 ppc_mcount to static-only-routines.
18134 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18136 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18137 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18139 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18141 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18142 for finite and infinity parameters.
18144 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18146 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18147 and add nop instructions for throughput optimization.
18148 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18150 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18152 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18153 aligned copy for power7 with vector-scalar instructions.
18154 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18156 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18158 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18161 2011-09-07 Andreas Schwab <schwab@redhat.com>
18164 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18167 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18169 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18170 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18171 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18172 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18175 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18177 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18178 Forgot to demangle the pointer.
18180 * sysdeps/i386/sysdep.h: Define atom_text_section.
18181 * sysdeps/x86_64/sysdep.h: Likewise.
18182 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18183 section with atom_text_section.
18184 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18185 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18186 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18187 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18188 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18190 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18191 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18192 already be defined. Change to take two parameters and don't assign
18193 result to variable. Adjust all users.
18194 Define INTERNAL_GETTIME if not already defined.
18195 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18198 HAVE_CLOCK_GETTIME_VSYSCALL.
18199 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18201 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18202 gettimeofday vsyscall, just use time.
18204 2011-09-06 Andreas Schwab <schwab@redhat.com>
18206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18209 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18211 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18213 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18215 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18216 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18217 syscall if possible.
18219 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18221 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18222 e_ident. Don't pass to find_mapsXX.
18223 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18225 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18228 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18229 * sysdeps/x86_64/multiarch/strchr.S: Update.
18230 Check bit_slow_BSF bit.
18231 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18232 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18233 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18235 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18238 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18240 (tryshell): Define.
18241 (__spawni): Change last parameter to be flag. Test
18242 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18243 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18244 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18245 * posix/spawni.c: Likewise.
18246 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18247 * posix/spawnp.c: Likewise. Change normal version to use
18248 SPAWN_XFLAGS_USE_PATH.
18249 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18250 SPAWN_XFLAGS_TRY_SHELL.
18253 * posix/glob.h: Remove gcc 1.x support.
18256 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18258 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18260 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18261 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18263 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18264 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18265 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18266 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18267 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18268 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18270 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18272 * sysdeps/x86_64/wcscmp.S: New file.
18274 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18275 wcscmp-c wcscmp-sse2
18276 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18277 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18278 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18279 * wcsmbs/wcscmp.c: Allow renaming.
18281 2011-09-05 David S. Miller <davem@davemloft.net>
18283 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18284 stack slot, rather than the struct return pointer slot.
18285 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18286 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18288 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18290 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18292 * po/ja.po: Update from translation team.
18295 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18296 kernel in 64-bit binaries.
18298 2011-09-01 David S. Miller <davem@davemloft.net>
18300 * elf/elf.h (HWCAP_SPARC_*): Move to..
18301 * sysdeps/sparc/sysdep.h: this new file and add new values.
18302 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18303 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18304 _DL_HWCAP_COUNT to 24.
18305 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18307 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18308 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18309 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18310 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18311 instead of magic constants.
18312 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18314 2011-08-31 David S. Miller <davem@davemloft.net>
18316 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18318 Reimplement to do errno handling inline.
18319 (SYSCALL_ERROR_HANDLER): New macro.
18320 (__SYSCALL_STRING): Do not do errno handling in asm.
18321 (__CLONE_SYSCALL_STRING): Delete.
18322 (__INTERNAL_SYSCALL_STRING): Delete.
18323 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18324 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18325 (PSEUDO): Reimplement to do errno handling inline.
18326 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18327 (SYSCALL_ERROR_HANDLER): New macro.
18328 (__SYSCALL_STRING): Do not do errno handling in asm.
18329 (__CLONE_SYSCALL_STRING): Delete.
18330 (__INTERNAL_SYSCALL_STRING): Delete.
18331 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18332 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18334 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18335 (inline_syscall*): Add 'err' argument.
18336 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18337 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18338 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18339 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18341 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18342 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18344 2011-08-30 Andreas Schwab <schwab@redhat.com>
18346 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18348 2011-08-29 Jiri Olsa <jolsa@redhat.com>
18350 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18353 2011-08-24 David S. Miller <davem@davemloft.net>
18355 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18357 2011-08-24 Andreas Schwab <schwab@redhat.com>
18359 * elf/Makefile: Add rules to build and run unload8 test.
18360 * elf/unload8.c: New file.
18361 * elf/unload8mod1.c: New file.
18362 * elf/unload8mod1x.c: New file.
18363 * elf/unload8mod2.c: New file.
18364 * elf/unload8mod3.c: New file.
18366 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18369 2011-08-23 David S. Miller <davem@davemloft.net>
18371 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18372 subtract stack bias.
18373 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18374 %sp not %fp in calculations.
18375 (_JMPBUF_UNWINDS_ADJ): Likewise.
18377 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18378 (aio_suspend): Call it to force an exception region around the
18379 AIO_MISC_WAIT() invocation.
18381 2011-08-23 Andreas Schwab <schwab@redhat.com>
18383 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18386 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18388 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18390 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18391 and <dl-machine.h>.
18392 (Elf64_FuncDesc): Remove.
18394 2011-08-22 David S. Miller <davem@davemloft.net>
18396 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18397 sigaltstack check, add missing cfi directives.
18398 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18399 missing cfi directives, and sigaltstack handling.
18401 2011-08-16 Andreas Schwab <schwab@redhat.com>
18404 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18405 object is seen twice.
18406 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18408 * elf/Makefile (distribute): Add tst-initorder2.c.
18409 (tests): Add tst-initorder2.
18410 (modules-names): Add tst-initorder2a tst-initorder2b
18411 tst-initorder2c tst-initorder2d. Add rules to build them.
18412 ($(objpfx)tst-initorder2.out): New rule.
18413 * elf/tst-initorder2.c: New file.
18414 * elf/tst-initorder2.exp: New file.
18416 2011-08-22 Andreas Schwab <schwab@redhat.com>
18418 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18420 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18421 dependencies back to end of function.
18423 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18424 $(elfobjdir)/ld.so.
18426 2011-08-21 Ulrich Drepper <drepper@gmail.com>
18428 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18429 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18430 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18431 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18432 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18433 of __vdso_gettimeofday.
18434 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18435 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18437 (_libc_vdso_platform_setup): Remove initialization of
18438 __vdso_gettimeofday and __vdso_time.
18440 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18442 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18443 and fgetc_unlocked.
18444 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18447 * elf/dl-open.c (add_to_global): Report additions to the global scope
18448 for LD_DEBUG=scopes.
18449 (dl_open_worker): Also print scope of newly loaded dependencies.
18450 (_dl_show_scope): Indicate if there is no scope.
18453 * stdio-common/Makefile (tests): Add bug24.
18454 * stdio-common/bug24.c: New file.
18456 2011-08-19 Andreas Jaeger <aj@suse.de>
18459 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18460 non-existant file when using close-on-exec mode.
18462 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18464 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18465 the very first instruction.
18467 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18468 the CFI state in the end.
18469 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18470 inclusion of dl-trampoline.h.
18471 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18473 2011-08-19 Andreas Schwab <schwab@redhat.com>
18475 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18476 expectations for long double.
18478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18479 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18481 2011-08-14 David S. Miller <davem@davemloft.net>
18483 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18484 artificual limit depends upon the system page size.
18486 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18488 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18489 * resolv/Makefile: Define CFLAGS-libresolv.
18491 2011-08-17 Andreas Schwab <schwab@redhat.com>
18493 * nss/makedb.c (compute_tables): Make variables used in nested
18496 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18498 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18499 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18500 if buffer was too small.
18502 * elf/pldd.c (main): Attach to all threads in the process.
18503 Rewrite /proc handling to use *at functions.
18505 2011-08-16 Ulrich Drepper <drepper@gmail.com>
18507 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18508 specifies first scope to show.
18509 (dl_open_worker): Update callers. Move printing scope of new
18510 object to before the relocation.
18511 * elf/rtld.c (dl_main): Update _dl_show_scope call.
18512 * sysdeps/generic/ldsodefs.h: Update declaration.
18514 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18515 string for the scope number.
18517 2011-08-14 Ulrich Drepper <drepper@gmail.com>
18519 * nscd/servicescache.c (cache_addserv): Make sure written is always
18522 2011-08-14 Roland McGrath <roland@hack.frob.com>
18524 * sysdeps/i386/i486/bits/atomic.h
18525 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18526 statement expression, so as to suppress "set but not used" warning.
18527 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18529 * string/strncat.c (STRNCAT): Use prototype definition.
18531 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18532 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18534 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18535 (localedef-modules): Add localedef.
18536 (locale-modules): Add locale.
18538 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18539 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18540 to avoid a warning.
18542 2011-08-14 David S. Miller <davem@davemloft.net>
18544 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18545 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18547 2011-08-13 Ulrich Drepper <drepper@gmail.com>
18549 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
18550 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18551 * elf/rtld.c (dl_main): Set l_name of vDSO.
18552 Call _dl_show_scope when DL_DEBUG_SCOPES.
18553 (process_dl_debug): Recognize scopes flag and also set it for all.
18554 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18555 Declare _dl_show_scope.
18557 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18558 (do_dlopen): Pass caller_dlopen to dl_open.
18559 (__libc_dlopen_mode): Initialize caller_dlopen.
18561 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18562 of libc. Make tolower call locale-independent. Optimize a bit by
18563 using isdigit instead of isalnum.
18564 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18566 2011-08-12 Ulrich Drepper <drepper@gmail.com>
18568 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18569 was a dependency or dynamically loaded.
18571 2011-08-11 Ulrich Drepper <drepper@gmail.com>
18573 * intl/l10nflist.c: Allow architecture-specific pop function.
18574 * sysdeps/x86_64/l10nflist.c: New file.
18576 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18579 2011-08-10 Andreas Schwab <schwab@redhat.com>
18581 * include/dirent.h: Add libc_hidden_proto for scandirat and
18582 scandirat64. Don't declare __scandirat64.
18583 * dirent/scandirat.c: Add libc_hidden_def.
18584 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18585 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18587 2011-08-10 David S. Miller <davem@davemloft.net>
18589 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18591 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18592 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18593 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18595 2011-08-09 Ulrich Drepper <drepper@gmail.com>
18597 * Versions.def [libc]: Add GLIBC_2.15.
18598 * dirent/Makefile (routines): Add scandirat and scandirat64.
18599 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18601 * dirent/dirent.h: Declare scandirat and scandirat64.
18602 * dirent/scandirat.c: New file.
18603 * dirent/scandirat64.c: New file.
18604 * sysdeps/wordsize-64/scandirat.c: New file.
18605 * sysdeps/wordsize-64/scandirat64.c: New file.
18606 * dirent/opendir.c: Define opendirat.
18607 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18609 * dirent/scandir64.c: Adjust for scandir.c change.
18610 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18611 __scandirat64, and __scandir_cancel_handler.
18612 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18613 additional parameter and use openat instead of open (outside of ld.so).
18614 Add new __opendir as wrapper around __opendirat.
18615 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18616 here without requiring old scandirat implementation.
18618 2011-08-08 Ulrich Drepper <drepper@gmail.com>
18620 * dirent/scandir.c (cancel_handler): Renamed to
18621 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18622 defined. Adjust users.
18623 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18624 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18626 2011-08-04 Ulrich Drepper <drepper@gmail.com>
18628 * string/test-string.h (IMPL): Use __STRING to expand name and then
18631 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18634 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18636 * string/Makefile: Update.
18637 (strop-tests): Append strncat.
18638 * string/test-wcscmp.c: New file.
18639 New comprehensive test for wcscmp.
18640 * string/test-strcmp.c: Update.
18641 (WIDE): New define.
18643 2011-07-22 Andreas Schwab <schwab@redhat.com>
18645 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18648 2011-07-26 Andreas Schwab <schwab@redhat.com>
18650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18651 encoding to ACE if AI_IDN.
18653 2011-08-01 Jakub Jelinek <jakub@redhat.com>
18655 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18656 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18658 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18660 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18661 Fix overflow bug in strncat.
18662 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18664 * string/test-strncat.c: Update.
18665 Add new tests for checking overflow bugs.
18667 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18670 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18671 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18672 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18673 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18674 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18675 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18676 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18677 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18679 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18680 (USE_AS_STRCAT): Define.
18681 Add strcat and strncat support.
18682 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18684 2011-07-25 Andreas Schwab <schwab@redhat.com>
18686 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18687 __n bigger than INT_MAX+1.
18688 (__strncmp_g): Likewise.
18690 2011-07-23 Ulrich Drepper <drepper@gmail.com>
18692 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18693 * libio/stido.h: Likewise.
18695 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18697 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18700 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18701 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18702 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18703 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18704 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18707 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18710 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18712 (_dl_x86_64_save_sse): Likewise.
18714 2011-07-22 Ulrich Drepper <drepper@gmail.com>
18716 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18718 (_dl_x86_64_save_sse): Likewise.
18720 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18722 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18724 2011-07-21 Andreas Schwab <schwab@redhat.com>
18726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18728 (_dl_x86_64_save_sse): Use correct AVX check.
18730 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18732 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18733 bug in strncpy/strncat.
18734 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18736 2011-07-21 Ulrich Drepper <drepper@gmail.com>
18738 * string/tester.c (test_strcat): Add tests for different alignments
18739 of source and destination.
18740 (test_strncat): Likewise.
18742 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18745 * posix/glob.c (glob): Check passed in values before using them in
18746 expressions to avoid some overflows.
18747 (glob_in_dir): Likewise.
18750 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18751 check for AVX enablement so that we don't crash with old kernels and
18753 * elf/tst-audit4.c: Add same checks here.
18754 * elf/tst-audit6.c: Likewise.
18756 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18758 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18760 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18762 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18764 * po/cs.po: Update from translation team.
18765 * po/bg.po: Likewise.
18767 2011-07-12 Marek Polacek <mpolacek@redhat.com>
18769 * misc/sys/cdefs.h: Add support for const attribute.
18770 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18771 to gnu_dev_{major,minor,makedev} functions.
18773 2011-07-20 Marek Polacek <mpolacek@redhat.com>
18775 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18777 2011-07-20 Andreas Schwab <schwab@redhat.com>
18779 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18782 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18784 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18785 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18786 register in order to avoid conflicts with the soft frame pointer
18787 being held in r11 when necessary.
18788 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18789 (INTERNAL_VSYSCALL_NCS): Likewise.
18791 2011-07-14 Marek Polacek <mpolacek@redhat.com>
18793 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18794 * elf/dl-fini.c (_dl_fini): Adjust caller.
18795 * elf/dl-close.c (_dl_close_worker): Likewise.
18796 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18798 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18800 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18801 "aux_cache->nlibs < 0".
18803 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18804 in the reload-count case.
18806 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18809 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18810 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18811 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18812 * sysdeps/x86_64/multiarch/strcat.S: New file.
18813 * sysdeps/x86_64/multiarch/strncat.S: New file.
18814 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18815 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18816 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18817 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18818 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18819 (USE_AS_STRCAT): Define.
18820 Add strcat and strncat support.
18821 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18822 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18823 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18824 * string/strncat.c: Update.
18825 (USE_AS_STRNCAT): Define.
18826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18827 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18829 * sysdeps/x86_64/multiarch/init-arch.h
18830 (bit_Prefer_PMINUB_for_stringop): New.
18831 (index_Prefer_PMINUB_for_stringop): Likewise.
18832 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18833 bit_Prefer_PMINUB_for_stringop.
18835 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18837 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18839 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18840 of casting of buffer.
18841 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18842 buffer32 and buffer64.
18843 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18844 writes instead of casting of buffer.
18845 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18847 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18850 2011-07-19 Andreas Schwab <schwab@redhat.com>
18852 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18854 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18856 * nscd/nscd.c (termination_handler): Don't do anything for a database
18857 if it has not yet been initialized.
18859 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18861 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18863 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18865 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18867 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18869 * po/nl.po: Update from translation team.
18870 * po/sv.po: Likewise.
18872 2011-07-16 Roland McGrath <roland@hack.frob.com>
18874 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18875 now disallowed by GCC.
18877 * configure.in (use-default-link): Default to yes if a test -shared
18878 link meets our qualifications.
18879 * configure: Regenerated.
18881 * config.make.in (output-format): New variable.
18882 * configure.in: Check for ld --print-output-format support.
18883 * configure: Regenerated.
18884 * Makerules ($(common-objpfx)format.lds)
18885 [$(output-format) != unknown]: Just use $(output-format),
18886 instead of the linker-script munging.
18888 2011-07-14 Roland McGrath <roland@hack.frob.com>
18890 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18891 of $(common-objpfx)shlib.lds.
18892 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18894 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18895 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18897 * configure.in (-z relro check): Adjust test code to add a large
18898 writable data section after it.
18899 * configure: Regenerated.
18901 2011-07-11 Roland McGrath <roland@hack.frob.com>
18903 * configure.in (-z relro check): Fix test code to make the variable
18905 * configure: Regenerated.
18907 2011-07-11 Ulrich Drepper <drepper@gmail.com>
18909 * nscd/nscd.h (struct traced_file): Define.
18910 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18911 elements. Add traced_files.
18912 (inotify_fd): Declare.
18913 (register_traced_file): Declare.
18914 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18915 (inotify_fd): Export.
18916 (resolv_conf_descr): Remove.
18917 (nscd_init): Move inotify descriptor creation to main.
18918 Don't register files for notification here.
18919 (register_traced_file): New function.
18920 (invalidate_cache): Don't use reset_res to determine whether to call
18921 res_init, go through the list of registered files.
18922 (main_loop_poll): The inotify descriptors are now stored in the
18923 structures for the traced files.
18924 (main_loop_epoll): Likewise
18925 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18926 to __nss_disable_nscd.
18927 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18928 for a database anymore. Check the records for all the registered
18930 * nss/Makefile (libnss_files-routines): Add files-init.
18931 (libnss_db-routines): Add db-init.
18932 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18933 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18934 * nss/nss_db/db-init.c: New file.
18935 * nss/nss_files/files-init.c: New file.
18936 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18937 __nss_lookup_function.
18938 (__nss_lookup_function): Call nss_load_library.
18939 (nss_load_all_libraries): New function.
18940 (__nss_disable_nscd): Take parameter with callback function for files
18941 to register. Set is_nscd. Load all the DSOs for the NSS modules
18942 used for the cached services.
18943 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18944 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18945 options for features to all the files in nscd.
18947 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18949 2011-07-10 Roland McGrath <roland@hack.frob.com>
18951 * csu/elf-init.c (__libc_csu_init): Comment typo.
18953 2011-07-09 Ulrich Drepper <drepper@gmail.com>
18955 * po/pl.po: Update from translation team.
18956 * po/ja.po: Likewise.
18957 * po/ru.po: Likewise.
18958 * po/ko.po: Likewise.
18959 * po/fr.po: Likewise.
18961 2011-07-09 Roland McGrath <roland@hack.frob.com>
18963 * configure.in (.ctors/.dtors header and trailer check):
18964 Use an empirical test on a built program.
18965 * configure: Regenerated.
18967 * configure.in (-z relro check): Use an empirical test on a built DSO.
18968 Detect, but do not require, on ia64.
18969 * configure: Regenerated.
18971 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18972 Update tests that use readelf to use $READELF instead.
18973 * configure: Regenerated.
18975 2011-07-08 Ulrich Drepper <drepper@gmail.com>
18977 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18978 if the result is not used.
18980 2011-07-05 Andreas Jaeger <aj@suse.de>
18983 * stdlib/tst-strtod.c: Add testcase.
18985 2011-07-07 Ulrich Drepper <drepper@gmail.com>
18987 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
18988 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
18989 The latter has a higher limit. Take additional parameter to pass to
18991 (__pathconf): Pass file to __statfs_link_max.
18992 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18994 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18998 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18999 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19001 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19002 (__statfs_filesize_max): Likewise.
19003 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19005 2011-07-05 Andreas Jaeger <aj@suse.de>
19007 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19009 2011-07-06 Marek Polacek <mpolacek@redhat.com>
19011 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19013 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19016 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19018 * Makefile (strop-tests): Add strncat.
19019 * string/test-strncat.c: New file.
19021 2011-06-30 Marek Polacek <mpolacek@redhat.com>
19023 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19025 2011-06-21 Andreas Jaeger <aj@suse.de>
19027 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19028 Copy rule from iconvdata/Makefile.
19030 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19033 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19034 but no long options are defined, just return 'W'.
19036 2011-06-22 Marek Polacek <mpolacek@redhat.com>
19039 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19041 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19043 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19045 (innetgr): Likewise.
19047 2011-07-05 Roland McGrath <roland@hack.frob.com>
19049 * config.make.in (install_root): Default to $(DESTDIR).
19051 2011-07-05 Ulrich Drepper <drepper@gmail.com>
19053 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19055 2011-07-02 Roland McGrath <roland@hack.frob.com>
19057 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19059 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19060 containing directory rather than embedding absolute directory names.
19062 * scripts/check-local-headers.sh: Rewritten using awk.
19063 Match by word, not by line. Print error messages for matches.
19064 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19066 * Makerules [shlib-lds-flags empty]:
19067 ($(common-objpfx)libc_pic.opts): New target.
19068 ($(common-objpfx)libc_pic.os.clean): New target.
19069 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19071 * config.make.in (OBJCOPY): New variable.
19072 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19073 * configure: Regenerated.
19075 * config.make.in (use-default-link): New variable.
19076 * configure.in (use_default_link): Grok --with-default-link to set it.
19077 * configure: Regenerated.
19078 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19079 (shlib-lds, shlib-lds-flags): Define to empty.
19081 * Makerules (shlib-lds): New variable.
19082 (shlib-lds-flags): New variable.
19083 (build-shlib, build-moduile, build-module-asneeded): Use it.
19084 ($(common-objpfx)libc.so): Use $(shlib-lds).
19085 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19086 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19088 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19089 DT_FLAGS/DT_FLAGS_1 with zero flags.
19091 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19092 linker script munging.
19094 2011-07-02 Ulrich Drepper <drepper@gmail.com>
19096 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19098 * crypt/sha512.c (sha512_process_block): Perform total addition using
19099 128-bit if possible.
19100 (__sha512_finish_ctx): Likewise.
19101 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19103 * crypt/sha256.c (SWAP64): Define.
19104 (sha256_process_block): Perform total addition using 64-bit if
19106 (__sha256_finish_ctx): Likewise.
19108 2011-07-01 Ulrich Drepper <drepper@gmail.com>
19110 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19111 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19112 * nscd/hstcache.c (cache_addhst): Likewise.
19113 * nscd/grpcache.c (cache_addgr): Likewise.
19114 * nscd/aicache.c (addhstaiX): Likewise
19115 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19117 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
19119 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19120 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19121 * nscd/hstcache.c (cache_addhst): Likewise.
19122 * nscd/grpcache.c (cache_addgr): Likewise.
19123 * nscd/aicache.c (addhstaiX): Likewise
19125 2011-07-01 Andreas Schwab <schwab@redhat.com>
19127 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19128 domain only when needed.
19130 2011-06-30 Andreas Schwab <schwab@redhat.com>
19132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19133 is always restored.
19135 2011-06-29 Ulrich Drepper <drepper@gmail.com>
19137 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19138 are re-adding the entry.
19139 * nscd/servicescache.c (cache_addserv): Likewise.
19141 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19143 * sysdeps/generic/dl-irel.h: fix protection against multiple
19145 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19147 2011-06-28 Ulrich Drepper <drepper@gmail.com>
19150 * malloc/memusage.sh: Fix quoting in message.
19151 * debug/xtrace.sh: Likewise.
19153 * configure.in: Remove support for --experimental-malloc option, make
19155 * config.make.in: Likewise.
19156 * malloc/Makefile: Likewise.
19158 2011-06-27 Andreas Schwab <schwab@redhat.com>
19160 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19161 two-byte characters.
19163 2011-06-27 Roland McGrath <roland@hack.frob.com>
19165 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19166 AC_CACHE_CHECK invocation.
19167 * configure: Regenerated.
19169 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19171 2011-06-27 Ulrich Drepper <drepper@gmail.com>
19174 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19175 bit from old_res_options.
19177 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19179 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19180 value type for setfct.
19182 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19184 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19185 __gettimeofday instead of gettimeofday.
19187 2011-06-26 Ulrich Drepper <drepper@gmail.com>
19189 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19191 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19193 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19195 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19198 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19201 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19202 strcpy-sse2-unaligned strncpy-sse2-unaligned
19203 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19204 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19205 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19206 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19207 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19208 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19209 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19210 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19211 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19212 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19213 (STRCPY): Support SSE2 and SSSE3 versions.
19215 2011-06-24 Ulrich Drepper <drepper@gmail.com>
19218 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19219 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19220 kernels which artificially limit size of requests.
19222 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19225 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19226 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19227 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19228 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19229 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19230 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19231 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19232 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19234 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19235 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19236 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19237 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19238 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19240 Enable unaligned load optimization for Intel Core i3, i5 and i7
19242 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19244 (index_Fast_Unaligned_Load): Define.
19245 (HAS_FAST_UNALIGNED_LOAD): Define.
19247 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19249 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19251 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19254 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19255 until it is clear that the information is realy needed.
19256 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19258 2011-06-22 Andreas Schwab <schwab@redhat.com>
19260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19262 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19264 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19265 /sys/devices/system/cpu/online if it is usable.
19267 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19268 reading the information from the /proc filesystem to once a second.
19270 2011-06-21 Andreas Jaeger <aj@suse.de>
19272 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19273 NULL after inclusion of kernel headers.
19275 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19277 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19278 calls to internal_setent.
19281 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19282 addresses using gethostbyname4_r ignore IPv4 addresses.
19284 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19285 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19287 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19289 2011-06-20 David S. Miller <davem@davemloft.net>
19291 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19293 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19295 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19296 (elf_irel): Use it.
19297 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19298 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19299 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19300 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19301 * sysdeps/x86_64/dl-irel.h: Likewise.
19303 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19304 * elf/dl-sym.c: Likewise.
19306 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19308 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19309 need to dereference resplen2.
19311 2011-06-14 Andreas Schwab <schwab@redhat.com>
19313 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19315 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19317 * Makeconfig: Define vardbdir and inst_vardbdir.
19318 * nss/Makefile: Add rules to install db-Makefile.
19320 * nss/nss_db/db-XXX.c: Cleanup.
19322 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19323 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19325 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19326 * nss/makedb.c: Implement -g option to specify that value strings
19327 are generated and should not be added to table iterated over for
19329 * nss/nss_db/db-initgroups.c: New file.
19331 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19334 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19335 (internal_getgrouplist): Adjust to name change.
19336 Update use_initgroups_entry if this is not the first call.
19337 * nss/databases.def: Add initgroups entry.
19339 * nss/makedb.c (compute_tables): Check result of multiple hash table
19340 sizes to minimize maximum chain length.
19342 2011-06-14 Ulrich Drepper <drepper@gmail.com>
19344 * Versions.def: Add entry for libnss_db.
19345 * shlib-versions: Likewise.
19346 * nss/Makefile: Add rules to build libnss_db.
19347 * nss/Versions: Add libnss_db information. Organize libnss_files
19349 * nss/db-Makefile: Add gshadow support. Change rules for the new
19350 makedb progra. Some minor improvements to generate smaller files.
19351 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19353 * nss/makedb.c: ...here.
19354 Improve database format to be smaller and require less memory at
19356 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19358 * nss/nss_db/db-netgrp.c: Likewise.
19359 * nss/nss_db/db-open.c: Likewise.
19360 * nss/nss_files/flies-XXX.x: Adjust comments.
19361 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19362 * nss/nss_files/files-grp.c: Likewise.
19363 * nss/nss_files/files-hosts.c: Likewise.
19364 * nss/nss_files/files-network.c: Likewise.
19365 * nss/nss_files/files-proto.c: Likewise.
19366 * nss/nss_files/files-pwd.c: Likewise.
19367 * nss/nss_files/files-rpc.c: Likewise.
19368 * nss/nss_files/files-service.c: Likewise.
19369 * nss/nss_files/files-sgrp.c: Likewise.
19370 * nss/nss_files/files-spwd.c: Likewise.
19371 * nss/nss_db/db-alias.c: Removed.
19372 * nss/nss_db/dummy-db.h: Removed.
19374 2011-06-02 Ulrich Drepper <drepper@gmail.com>
19376 * nss/makedb.c: Rewritten to not use database library.
19377 * nss/Makefile: Update to build new makedb program.
19379 2011-06-14 Andreas Jaeger <aj@suse.de>
19381 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19382 memset declaration.
19384 2011-06-10 Andreas Schwab <schwab@redhat.com>
19386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19389 2011-06-10 Roland McGrath <roland@hack.frob.com>
19391 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19392 * elf/Makefile ($(objpfx)ld.so): Likewise.
19394 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19395 Don't list ld.so twice in dependencies.
19397 * posix/bug-regex31.c: Include <stdlib.h>.
19399 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19401 * nis/nss_compat/compat-spwd.c
19402 (getspent_next_nss_netgr): Remove unused variable.
19403 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19405 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19406 nonmembers" output to use the right array.
19408 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19410 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19412 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19413 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19414 * catgets/gencat.c (read_input_file): Likewise.
19415 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19417 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19418 variable definition inside #if's controlling its use.
19420 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19422 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19424 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19426 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19429 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19431 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19432 * configure: Regenerated.
19434 * Makerules: Revert last change.
19435 * elf/Makefile: Likewise.
19437 2011-06-09 Roland McGrath <roland@hack.frob.com>
19439 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19440 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19441 (reloc-link): Likewise.
19443 2011-06-09 Ulrich Drepper <drepper@gmail.com>
19445 * elf/Makefile: Add rules to build pldd.
19446 * elf/pldd.c: New file.
19447 * elf/pldd-xx.c: New file.
19449 2011-06-07 Ulrich Drepper <drepper@gmail.com>
19451 * version.h: Update for 2.15 development version.
19453 2011-06-07 David S. Miller <davem@davemloft.net>
19455 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19457 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19458 elf_machine_lazy_rel): Likewise.
19459 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19460 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19461 elf_machine_lazy_rel): Likewise.
19462 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19463 dl_hwcap via passed in argument.
19464 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19467 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19469 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19471 2011-06-06 Roland McGrath <roland@hack.frob.com>
19474 * manual/fdl-1.1.texi: New file, verbatim from:
19475 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19476 * manual/lgpl-2.1.texi: New file, verbatim from:
19477 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19478 * manual/Makefile (licenses): New variable, list those new file names.
19480 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19482 * manual/fdl.texi: File removed.
19483 * manual/lesser.texi: File removed.
19484 * manual/libc.texinfo (Copying, Documentation License):
19485 Use new @include file names, put @appendix directive before @include.
19487 2011-06-04 Jakub Jelinek <jakub@redhat.com>
19490 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19491 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19492 (mq_open): Add __NTH.
19494 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19497 Assume Intel Core i3/i5/i7 processor if AVX is available.
19499 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19501 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19504 2011-05-31 Andreas Schwab <schwab@redhat.com>
19506 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19507 memory. Use alloca_account. Fix memory leak when retrying.
19509 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19511 * version.h (RELEASE): Bump for 2.14 release.
19512 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19514 * config.make.in (RANLIB): Remove entry.
19516 2011-05-30 Ulrich Drepper <drepper@gmail.com>
19518 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19519 (libc.pot): Work around missing support for .ksh extension in xgettext.
19522 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19523 if both request failed.
19524 (send_dg): In case of server errors clear resplen or *resplen2.
19527 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19528 when there are multiple maps.
19529 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19530 (_dl_fini): Remove test here.
19532 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19534 2011-05-29 Ulrich Drepper <drepper@gmail.com>
19537 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19538 bit from old_res_options.
19539 (gaih_inet): Likewise.
19542 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
19545 * resolv/res_init.c (res_setoptions): Make the code more compact.
19548 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19552 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19554 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19557 * malloc/malloc.h: Declare malloc hook variables as volatile.
19559 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19563 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
19564 raise in the comment.
19565 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19566 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19567 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
19569 2011-05-28 Ulrich Drepper <drepper@gmail.com>
19572 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19573 grow the buffers more if it already has to be sufficient.
19574 (build_wcs_upper_buffer): Likewise.
19575 * posix/regexec.c (check_matching): Likewise.
19576 (clean_state_log_if_needed): Likewise.
19577 (extend_buffers): Don't enlarge buffers beyond size of the input
19579 Patches mostly by Emil Wojak <emil@wojak.eu>.
19580 * posix/bug-regex32.c: New file.
19581 * posix/Makefile (tests): Add bug-regex32.
19583 * locale/findlocale.c (_nl_find_locale): Return right away if
19584 _nl_explode_name failed.
19585 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19587 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19589 * debug/xtrace.sh: Unify messages.
19590 * malloc/memusage.sh: Likewise.
19593 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19594 time symbol from vDSO. Substitute with vsyscall if not available.
19595 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19598 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19599 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19600 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19601 Add sendmmsg and internal_sendmmsg.
19602 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19603 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19604 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19606 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19607 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19608 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19610 2011-05-27 Ulrich Drepper <drepper@gmail.com>
19613 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19614 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19616 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19620 * iconvdata/Makefile (tests): Add bug-iconv9.
19621 * iconvdata/bug-iconv9.c: New file.
19623 2011-05-27 Andreas Schwab <schwab@redhat.com>
19626 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19628 2011-05-25 Jakub Jelinek <jakub@redhat.com>
19630 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19631 (struct user_regs_struct): Change intcs field back to cs.
19633 2011-05-25 Ulrich Drepper <drepper@gmail.com>
19635 * po/ja.po: Update from translation team.
19637 2011-05-23 Ulrich Drepper <drepper@gmail.com>
19640 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19641 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19643 2011-05-20 Andreas Schwab <schwab@redhat.com>
19645 * stdlib/longlong.h: Update from GCC.
19647 2011-05-23 Andreas Schwab <schwab@redhat.com>
19649 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19651 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19652 Add parameter name.
19653 (__sysconf): Pass it down.
19655 2011-05-22 Ulrich Drepper <drepper@gmail.com>
19658 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19660 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19661 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19662 add in in __libc_use_alloca calls. Adjust callers.
19663 (glob): Use malloc in some situations.
19665 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19666 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19669 2011-05-21 Ulrich Drepper <drepper@gmail.com>
19671 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19672 and CLOCK_BOOTTIME_ALARM.
19675 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19678 * string/_strerror.c (__strerror_r): Print negative errors as signed
19682 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19683 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19684 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19686 * configure.in: Fix typo in redirection and correct removal of test
19687 files in two cases.
19690 * locale/setlocale.c (new_composite_name): Fix test to check for
19691 identical name of all categories.
19694 * libio/filedoalloc.c (local_isatty): New function.
19695 (_IO_file_doallocate): Use local_isatty.
19696 * stdio-common/perror.c (perror): In case a new stream is used
19697 forward the stream error.
19698 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19701 2011-05-20 Ulrich Drepper <drepper@gmail.com>
19704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19706 * include/alloca.h (extend_alloca_account): Define.
19709 * posix/regex.h: Fix comments with documentation of user-accessible
19710 fields after compilation and describe correct free'ing of pattern
19711 after re_compile_pattern.
19712 Patch by Reuben Thomas <rrt@sc3d.org>.
19714 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19716 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19717 and -mno-altivec to prevent the compiler from using Altivec and/or
19718 VSX instructions when the corresponding registers are not available.
19720 2011-05-19 Andreas Schwab <schwab@redhat.com>
19722 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19724 2011-05-19 Ulrich Drepper <drepper@gmail.com>
19726 * libio/freopen.c (freopen): Use __dup2, not dup2.
19727 * libio/freopen64.c (freopen64): Likewise.
19729 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19732 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19733 * math/Makefile (tests): Add test-powl.
19734 (CFLAGS-test-powl.c): Define.
19735 * math/test-powl.c: New file.
19737 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19739 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19741 2011-05-17 Ulrich Drepper <drepper@gmail.com>
19744 * iconvdata/gb18030.c: Update to GB18020-2005.
19746 2011-05-16 Ulrich Drepper <drepper@gmail.com>
19748 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19749 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19750 Patch by Aharon Robbins <arnold@skeeve.com>.
19753 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19757 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19758 through underflows.
19761 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19762 point to strings before performing equality test for error_one_per_line
19766 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19769 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19770 (struct user_fpregs_struct): Avoid __uint*_t types.
19773 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19774 symbol info. Use it instead of calling _dl_addr locally.
19775 (lock_and_info): New function.
19776 (tr_freehook): Call lock_and_info and pass symbol info as additional
19777 parameter to tr_where.
19778 (tr_mallochook): Likewise.
19779 (tr_reallochook): Likewise.
19780 (tr_memalignhook): Likewise.
19782 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19783 used and couldn't be at all thread-safe.
19785 2011-05-15 Ulrich Drepper <drepper@gmail.com>
19787 * libio/freopen.c (freopen): Don't close old file descriptor
19788 before the new one is opened. Instead dup the new file descriptor
19789 to the old one after the new stream is created.
19790 * libio/freopen64.c (freopen64): Likewise.
19791 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19792 * libio/fileops.c (_IO_new_file_close_it): Handle new
19793 _IO_FLAGS2_NOCLOSE flag.
19794 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19795 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19796 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19797 _IO_FLAGS2_NOCLOSE flag.
19798 * include/unistd.h: Add hidden_proto for dup3.
19799 Define __have_dup3.
19800 * io/dup3.c: Define hidden symbol.
19801 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19804 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19805 when an incomplete long option is used.
19806 * posix/tst-getopt_long1.c: New file.
19807 * posix/Makefile (tests): Add tst-getopt_long1.
19810 * scripts/config.guess: Update from autoconf-2.68.
19811 * scripts/config.sub: Likewise.
19814 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19816 (has_cpuclock): ...this. New function.
19817 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19818 macro here based on has_cpuclock code.
19821 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19822 First byte (not low byte) is now always NUL.
19823 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19825 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19826 Use non-cancelable interfaces.
19829 * locale/iso-639.def: Add entry for Sorani.
19832 * include/stdlib.h: Move include protection to the right place.
19833 Define abort_msg_s. Declare __abort_msg with it.
19834 * stdlib/abort.c (__abort_msg): Adjust type.
19835 * assert/assert.c (__assert_fail_base): New function. Majority
19836 of code from __assert_fail. Allocate memory for __abort_msg with
19838 (__assert_fail): Now call __assert_fail_base.
19839 * assert/assert-perr.c: Remove bulk of implementation. Use
19840 __assert_fail_base.
19841 * include/assert.hL Declare __assert_fail_base.
19842 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19844 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19846 2011-05-14 Ulrich Drepper <drepper@gmail.com>
19850 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19851 until all modules are registered in the DTV.
19852 * elf/Makefile: Add rules to build and run tst-tls19.
19853 * elf/tst-tls19.c: New file.
19854 * elf/tst-tls19mod1.c: New file.
19855 * elf/tst-tls19mod2.c: New file.
19856 * elf/tst-tls19mod3.c: New file.
19857 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19860 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19864 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19865 two-byte sequence errors.
19866 * iconvdata/Makefile (tests): Add bug-iconv8.
19867 * iconvdata/bug-iconv8.c: New file.
19870 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19873 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19876 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19877 (dummy_getcfa): New function.
19878 (init): Get _Unwind_GetCFA address, use dummy if not found.
19879 (backtrace_helper): In recursion check, also check whether CFA changes.
19880 (__backtrace): Completely initialize arg.
19882 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
19883 storing incomplete byte sequence in state object. Avoid testing for
19884 guaranteed too small input if we know there is enough data available.
19886 2011-05-11 Andreas Schwab <schwab@redhat.com>
19888 * Makeconfig (+link-pie): Indent.
19889 * Rules (binaries-pie): Define if $(have-fpie) and
19891 (binaries-shared): Also filter out $(binaries-pie).
19892 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19893 * nscd/Makefile (others-pie): Add nscd.
19894 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19895 ($(objpfx)nscd): Remove command override.
19896 * login/Makefile (others-pie): Add pt_chown.
19897 ($(objpfx)pt_chown): Remove command override.
19898 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19899 remove command overrides.
19901 2011-05-13 Ulrich Drepper <drepper@gmail.com>
19903 * libio/tst_putwc.c: Fix error messages.
19906 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19907 currently writing and seek to current position when not.
19908 * libio/Makefile (tests): Add bug-fclose1.
19909 * libio/bug-fclose1.c: New file.
19911 2011-05-12 Ulrich Drepper <drepper@gmail.com>
19914 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19915 don't set DF_1_NODELETE here.
19916 (do_lookup_x): When entering new entry test for copy relocation
19917 and if necessary set DF_1_NODELETE flag.
19918 * elf/tst-unique4.cc: New file.
19919 * elf/tst-unique4.h: New file.
19920 * elf/tst-unique4lib.cc: New file.
19921 * elf/Makefile: Add rules to build and run tst-unique4.
19922 Patch by Piotr Bury <pbury@goahead.com>.
19924 2011-05-11 Ulrich Drepper <drepper@gmail.com>
19927 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19930 * misc/mntent_r.c (addmntent): Flush the stream after the output
19933 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19934 (is_trusted_path_normalize): Skip initial colon. Append slash
19935 to empty buffer. Duplicate is_trusted_path code but allow
19936 constructed patch to be prefix.
19937 (is_dst): Allow $ORIGIN followed by /.
19938 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19939 Correct testing of result of is_trusted_path_normalize
19940 (decompose_rpath): Fix warning.
19942 2011-05-10 Ulrich Drepper <drepper@gmail.com>
19945 * grp/initgroups.c (internal_getgrouplist): When we found the service
19946 list through the initgroups entry in nsswitch.conf do not always
19947 continue on a successful lookup. Don't always use the
19948 __nss_group_database value if it is set.
19949 * nss/nsswitch.conf (initgroups): Change action for successful db
19950 lookup to continue for compatibility.
19952 2011-05-09 Ulrich Drepper <drepper@gmail.com>
19955 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19957 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19959 * iconvdata/tst-tables.sh: Likewise.
19960 * iconvdata/cp770.c: New file.
19961 * iconvdata/cp771.c: New file.
19962 * iconvdata/cp772.c: New file.
19963 * iconvdata/cp773.c: New file.
19964 * iconvdata/cp774.c: New file.
19965 * iconvdata/testdata/CP770: New file.
19966 * iconvdata/testdata/CP770..UTF8: New file.
19967 * iconvdata/testdata/CP771: New file.
19968 * iconvdata/testdata/CP771..UTF8: New file.
19969 * iconvdata/testdata/CP772: New file.
19970 * iconvdata/testdata/CP772..UTF8: New file.
19971 * iconvdata/testdata/CP773: New file.
19972 * iconvdata/testdata/CP773..UTF8: New file.
19973 * iconvdata/testdata/CP774: New file.
19974 * iconvdata/testdata/CP774..UTF8: New file.
19976 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19978 * iconvdata/gen-8bit-gap.sh: Likewise.
19979 * iconvdata/gen-8bit.sh: Likewise.
19981 * locale/iso-639.def: Add ary entry.
19984 * locale/C-translit.h.in: Add U20A1 transliteration.
19987 * locale/iso-639.def: Add wae entry.
19988 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19991 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19995 * locale/C-translit.h.in: Add entry for U20B9.
19996 Patch by pravin.d.s@gmail.com.
19998 2011-05-08 Ulrich Drepper <drepper@gmail.com>
20001 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20002 ENAMETOOLONG use generic getcwd.
20003 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20004 in rtld. Use *stat64.
20005 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20006 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20007 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20008 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20009 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20010 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20011 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20012 __fstatat64 macros.
20013 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20014 * dirent/rewinddir.c: Add libc_hidden_def.
20015 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20016 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20018 * include/dirent.h (__alloc_dir): Add flags parameter.
20019 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20020 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20022 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20023 from fdopendir if O_CLOEXEC is already set.
20025 2011-03-15 Alan Modra <amodra@gmail.com>
20027 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20028 l_tls_firstbyte_offset non-zero. Save padding offset in
20029 l_tls_firstbyte_offset for later use.
20030 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20031 freeing static tls block.
20033 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20035 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20036 where #ifdef was intended. The intent is to prevent ARG_MAX from
20037 being defined by the kernel headers.
20039 2011-05-07 Ulrich Drepper <drepper@gmail.com>
20042 * resolv/resolv.h: Define RES_NOTLDQUERY.
20043 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20044 no-tld-query and set RES_NOTLDQUERY.
20045 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20046 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20047 modern BIND to search name as TLD unless forbidden.
20049 2011-05-07 Petr Baudis <pasky@suse.cz>
20050 Ulrich Drepper <drepper@gmail.com>
20053 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20054 (is_trusted_path): ...to here.
20055 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20056 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20057 using is_trusted_path_normalize() in setuid scripts.
20059 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20061 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20062 __BEGIN/__END_DECLS.
20064 2011-05-06 Ulrich Drepper <drepper@gmail.com>
20066 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20067 NSS_STATUS_NOTFOUND if no record was found.
20069 2011-05-05 Andreas Schwab <schwab@redhat.com>
20071 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20072 (headers-not-in-tirpc): Remove rpc/netdb.h
20073 * resolv/netdb.h: Revert last change.
20075 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20077 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20078 circular dependency between libgcc.a and libc.a.
20080 2011-05-05 Andreas Schwab <schwab@redhat.com>
20082 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20083 * nis/Makefile: Don't install rpcsvc/*.
20084 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20085 instead of <rpc/types.h>.
20086 (MAXHOSTNAMELEN): Define.
20088 2011-05-03 Andreas Schwab <schwab@redhat.com>
20090 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20092 2011-04-28 Maciej Babinski <mbabinski@google.com>
20095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20096 gethostbyname4_r when IPv6 results are possible.
20098 2011-05-02 Ulrich Drepper <drepper@gmail.com>
20101 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20102 _PC_PIPE_BUF handling.
20104 2011-04-30 Bruno Haible <bruno@clisp.org>
20107 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20108 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20110 * inet/getnameinfo.c (getnameinfo): Likewise.
20112 2011-04-29 Ulrich Drepper <drepper@gmail.com>
20114 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20115 to groups setting in database lookup.
20116 * nss/nsswitch.conf: Add initgroups entry.
20118 2011-04-22 Ulrich Drepper <drepper@gmail.com>
20121 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20123 Patch by Eric Blake <eblake@redhat.com>.
20125 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20127 * sunrpc/Makefile (need-export-routines): Add svc_run.
20128 (routines): Remove svc_run.
20129 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20130 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20131 * sunrpc/svc_run.c (svc_run): Likewise.
20132 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20134 2011-04-21 Ulrich Drepper <drepper@gmail.com>
20136 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20137 problem in reallocation in last patch.
20139 2011-04-20 Ulrich Drepper <drepper@gmail.com>
20141 * sunrpc/Makefile: Move inclusion of Rules.
20143 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20145 * nss/nss_files/files-initgroups.c: New file.
20146 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20147 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20148 _nss_files_initgroups_dyn.
20150 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20152 * elf/elf.h (R_ARM_IRELATIVE): Define.
20154 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20156 * po/ru.po: Update from translation team.
20158 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20160 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20163 2011-02-06 Mike Frysinger <vapier@gentoo.org>
20166 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20167 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20168 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20169 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20170 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20172 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20174 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20176 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20177 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20178 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20180 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20183 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20185 * stdlib/bug-getcontext.c: New file.
20186 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20188 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20190 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20191 instructions into .machine "z9-109".
20192 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20193 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20195 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20197 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20198 between environment variables and auxiliary vector.
20200 2011-04-16 Ulrich Drepper <drepper@gmail.com>
20202 * Makefile: Add rules to build linkobj/libc.so.
20203 * include/libc-symbols.h: Define libc_hidden_nolink.
20204 * include/rpc/auth.h: Mark functions which are to be hidden.
20205 * include/rpc/auth_des.h: Likewise.
20206 * include/rpc/auth_unix.h: Likewise.
20207 * include/rpc/clnt.h: Likewise.
20208 * include/rpc/des_crypt.h: Likewise.
20209 * include/rpc/key_prot.h: Likewise.
20210 * include/rpc/pmap_clnt.h: Likewise.
20211 * include/rpc/pmap_prot.h: Likewise.
20212 * include/rpc/pmap_rmt.h: Likewise.
20213 * include/rpc/rpc_msg.h: Likewise.
20214 * include/rpc/svc.h: Likewise.
20215 * include/rpc/svc_auth.h: Likewise.
20216 * include/rpc/xdr.h: Likewise.
20217 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20218 * nss/Makefile: Likewise.
20219 * sunrpc/Makefile: Don't install headers. Build library with normal
20220 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20221 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20222 for the compat linking library. Remove use of INTDEF/INTUSE.
20223 * sunrpc/auth_none.c: Likewise.
20224 * sunrpc/auth_unix.c: Likewise.
20225 * sunrpc/authdes_prot.c: Likewise.
20226 * sunrpc/authuxprot.c: Likewise.
20227 * sunrpc/clnt_gen.c: Likewise.
20228 * sunrpc/clnt_perr.c: Likewise.
20229 * sunrpc/clnt_raw.c: Likewise.
20230 * sunrpc/clnt_simp.c: Likewise.
20231 * sunrpc/clnt_tcp.c: Likewise.
20232 * sunrpc/clnt_udp.c: Likewise.
20233 * sunrpc/clnt_unix.c: Likewise.
20234 * sunrpc/des_crypt.c: Likewise.
20235 * sunrpc/des_soft.c: Likewise.
20236 * sunrpc/get_myaddr.c: Likewise.
20237 * sunrpc/key_call.c: Likewise.
20238 * sunrpc/key_prot.c: Likewise.
20239 * sunrpc/netname.c: Likewise.
20240 * sunrpc/pm_getmaps.c: Likewise.
20241 * sunrpc/pm_getport.c: Likewise.
20242 * sunrpc/pmap_clnt.c: Likewise.
20243 * sunrpc/pmap_prot.c: Likewise.
20244 * sunrpc/pmap_prot2.c: Likewise.
20245 * sunrpc/pmap_rmt.c: Likewise.
20246 * sunrpc/publickey.c: Likewise.
20247 * sunrpc/rpc_cmsg.c: Likewise.
20248 * sunrpc/rpc_common.c: Likewise.
20249 * sunrpc/rpc_dtable.c: Likewise.
20250 * sunrpc/rpc_prot.c: Likewise.
20251 * sunrpc/rpc_thread.c: Likewise.
20252 * sunrpc/rtime.c: Likewise.
20253 * sunrpc/svc.c: Likewise.
20254 * sunrpc/svc_auth.c: Likewise.
20255 * sunrpc/svc_authux.c: Likewise.
20256 * sunrpc/svc_raw.c: Likewise.
20257 * sunrpc/svc_run.c: Likewise.
20258 * sunrpc/svc_simple.c: Likewise.
20259 * sunrpc/svc_tcp.c: Likewise.
20260 * sunrpc/svc_udp.c: Likewise.
20261 * sunrpc/svc_unix.c: Likewise.
20262 * sunrpc/svcauth_des.c: Likewise.
20263 * sunrpc/xcrypt.c: Likewise.
20264 * sunrpc/xdr.c: Likewise.
20265 * sunrpc/xdr_array.c: Likewise.
20266 * sunrpc/xdr_float.c: Likewise.
20267 * sunrpc/xdr_intXX_t.c: Likewise.
20268 * sunrpc/xdr_mem.c: Likewise.
20269 * sunrpc/xdr_rec.c: Likewise.
20270 * sunrpc/xdr_ref.c: Likewise.
20271 * sunrpc/xdr_sizeof.c: Likewise.
20272 * sunrpc/xdr_stdio.c: Likewise.
20274 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20277 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20278 * sysdeps/ia64/dl-tls.h: Likewise.
20279 * sysdeps/powerpc/dl-tls.h: Likewise.
20280 * sysdeps/s390/dl-tls.h: Likewise.
20281 * sysdeps/sh/dl-tls.h: Likewise.
20282 * sysdeps/sparc/dl-tls.h: Likewise.
20283 * sysdeps/x86_64/dl-tls.h: Likewise.
20284 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20286 2011-03-14 Andreas Schwab <schwab@redhat.com>
20288 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20289 rpath element also skip the following colon.
20290 (expand_dynamic_string_token): Add is_path parameter and pass
20291 down to DL_DST_REQUIRED and _dl_dst_substitute.
20292 (decompose_rpath): Call expand_dynamic_string_token with
20293 non-zero is_path. Ignore empty rpaths.
20294 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20297 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20302 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20305 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20306 Patch by Filipe David Manana <fdmanana@apache.org>.
20308 2011-04-07 Andreas Schwab <schwab@redhat.com>
20310 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20311 Maintain aligned stack.
20312 (CHECK_RSP): Remove unused macro.
20314 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20316 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20317 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20319 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20321 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20323 * include/features.h: Mention __USE_XOPEN2K8 in comment.
20325 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20328 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20329 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20330 * sysdeps/x86_64/memmove.c: New file.
20331 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20332 (memcpy): Renamed to ...
20333 (__new_memcpy): This.
20334 (memcpy): Provide GLIBC_2_14 memcpy.
20335 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20336 (memcpy): Provide GLIBC_2_2_5 memcpy.
20338 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20341 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20343 2011-03-30 Andreas Schwab <schwab@redhat.com>
20345 * misc/syncfs.c: New file.
20346 * misc/Makefile (routines): Add syncfs.
20347 * posix/unistd.h: Declare syncfs.
20348 * sysdeps/unix/syscalls.list: Add syncfs.
20350 2011-04-01 Andreas Schwab <schwab@redhat.com>
20352 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20354 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20355 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20356 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20357 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20359 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20360 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20362 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20364 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20365 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20366 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20367 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20368 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20370 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20372 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20373 sync_file_range.c with -fexceptions.
20374 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20375 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20376 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20377 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20378 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20379 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20381 sync_file_range as cancellation point
20382 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20383 now a wrapper around __call_sync_file_range with cancellation handling.
20384 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20385 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20386 function name to __call_sync_file_range.
20387 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20388 Add call_sync_file_range.
20390 2011-04-01 Andreas Schwab <schwab@redhat.com>
20392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20395 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20397 * iconv/iconv.h: Fix typo in comment.
20398 * io/fcntl.h: Likewise.
20399 * libio/stdio.h: Likewise.
20400 * posix/spawn.h: Likewise.
20401 * posix/unistd.h: Likewise.
20402 * stdlib/stdlib.h: Likewise.
20403 * time/time.h: Likewise.
20404 * wcsmbs/wchar.h: Likewise.
20406 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20407 open_by_handle): Add.
20408 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20409 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20410 Augment a few comments.
20411 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20412 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20413 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20414 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20415 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20416 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20419 * io/fcntl.h (AT_EMPTY_PATH): Define.
20421 2011-03-30 Ulrich Drepper <drepper@gmail.com>
20423 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20424 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20425 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20427 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
20428 * Versions.def: Add GLIBC_2.14.
20429 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20432 2011-03-22 Ulrich Drepper <drepper@gmail.com>
20434 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20436 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20438 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20441 * string/test-strncmp.c (do_page_test): New function.
20442 (check2): Likewise.
20443 (test_main): Call check2.
20444 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20446 2011-03-20 Ulrich Drepper <drepper@gmail.com>
20449 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20450 Handle cache information in CPU leaf 4.
20451 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20453 2011-03-18 Ulrich Drepper <drepper@gmail.com>
20456 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20457 character representation.
20458 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20460 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20462 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20463 END(__isnan) to END(__isnanf) to match function entry point/label
20464 EALIGN(__isnanf,...).
20466 2011-03-10 Jakub Jelinek <jakub@redhat.com>
20468 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20470 2011-03-10 Ulrich Drepper <drepper@gmail.com>
20473 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20474 copy from the symbol referenced in the relocation to initialize the
20476 Patch by Piotr Bury <pbury@goahead.com>.
20477 * elf/Makefile: Add rules to build and tst-unique3.
20478 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20479 * elf/tst-unique3.cc: New file.
20480 * elf/tst-unique3.h: New file.
20481 * elf/tst-unique3lib.cc: New file.
20482 * elf/tst-unique3lib2.cc: New file.
20484 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20486 2011-03-10 Mike Frysinger <vapier@gentoo.org>
20488 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20489 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20492 2011-03-06 Ulrich Drepper <drepper@gmail.com>
20494 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20495 to-be-loaded object along a path to loader is ld.so.
20497 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20498 Ulrich Drepper <drepper@gmail.com>
20500 * sysdeps/x86_64/memset.S: After aligning destination, code
20501 branches to different locations depending on the value of
20502 misalignment, when multiarch is enabled. Fix this.
20504 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20506 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20507 Set _x86_64_preferred_memory_instruction for AMD processsors.
20508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20509 Set bit_Prefer_SSE_for_memop for AMD processors.
20511 2011-03-04 Ulrich Drepper <drepper@gmail.com>
20513 * libio/fmemopen.c (fmemopen): Optimize a bit.
20515 2011-03-03 Andreas Schwab <schwab@redhat.com>
20517 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20519 2011-03-03 Roland McGrath <roland@redhat.com>
20521 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20523 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20525 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
20526 __bzero_ultra1 instead of __memset_ultra1.
20528 2011-02-23 Andreas Schwab <schwab@redhat.com>
20529 Ulrich Drepper <drepper@gmail.com>
20532 * include/link.h (struct link_map): Add l_orig_initfini.
20533 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20534 returning unsuccessfully.
20535 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20536 close of a file loaded at startup, restore the original l_initfini
20538 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20539 list, store the pointer.
20540 * elf/Makefile ($(objpfx)noload-mem): New rule.
20541 (noload-ENV): Define.
20542 (tests): Add $(objpfx)noload-mem.
20543 * elf/noload.c: Include <memcheck.h>.
20544 (main): Call mtrace. Close all opened handles.
20546 2011-02-17 Andreas Schwab <schwab@redhat.com>
20549 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20550 dependencies are missing.
20552 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20554 Fix __if_freereq crash: Unlike the generic version which uses free,
20556 * sysdeps/mach/hurd/ifreq.h: New file.
20558 2011-01-27 Petr Baudis <pasky@suse.cz>
20559 Ulrich Drepper <drepper@gmail.com>
20562 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20563 to extend_alloca().
20564 * stdio-common/bug23.c: New file.
20565 * stdio-common/Makefile (tests): Add bug23.
20567 2010-09-28 Andreas Schwab <schwab@redhat.com>
20568 Ulrich Drepper <drepper@gmail.com>
20571 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20572 before performing relro protection. At old place add assertion
20573 to make sure nothing changed.
20575 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20576 Glauber de Oliveira Costa <glommer@gmail.com>
20578 * elf/elf.h: Add new ARM TLS relocs.
20580 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20583 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20585 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20587 * sysdeps/wordsize-64/tst-writev.c: New file.
20589 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20591 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20592 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20593 insns in _dl_start to prevent a TOC reference before relocs are
20596 2011-02-15 Ulrich Drepper <drepper@gmail.com>
20599 * Makeconfig: Remove RANLIB definition.
20600 * Makerules: Don't use RANLIB.
20601 * aclocal.m4: Remove ranlib test.
20602 * configure.in: No need to check for ranlib.
20603 * elf/rtld-Rules: Don't use RANLIB.
20605 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20607 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20609 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20610 inclusion protection macro.
20612 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20613 SIGRTMIN and SIGRTMAX and print information in that case only when
20614 SIGRTMIN is defined.
20616 2011-02-11 Jakub Jelinek <jakub@redhat.com>
20618 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20619 arginfo fn returning -1.
20621 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20622 and thousands string is zero terminated.
20624 2011-02-03 Andreas Schwab <schwab@redhat.com>
20626 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20627 sysdeps/unix/sysv/linux/bits/socket.h.
20629 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20631 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20632 (__CPU_COUNT): Remove old macros.
20633 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20634 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20635 (__CPU_ALLOC, __CPU_FREE): Add macros.
20636 (__sched_cpualloc, __sched_cpufree): Add declarations.
20638 2011-02-05 Ulrich Drepper <drepper@gmail.com>
20640 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20641 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20642 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20643 (readdhstai): Return value of addhstaiX call.
20644 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20645 (addgrbyX): Return value returned by cache_addgr.
20646 (readdgrbyname): Return value returned by addgrbyX.
20647 (readdgrbygid): Likewise.
20648 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20649 (addpwbyX): Return value returned by cache_addpw.
20650 (readdpwbyname): Return value returned by addhstbyX.
20651 (readdpwbyuid): Likewise.
20652 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20653 (addservbyX): Return value returned by cache_addserv.
20654 (readdservbyname): Return value returned by addservbyX:
20655 (readdservbyport): Likewise.
20656 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20657 (addhstbyX): Return value returned by cache_addhst.
20658 (readdhstbyname): Return value returned by addhstbyX.
20659 (readdhstbyaddr): Likewise.
20660 (readdhstbynamev6): Likewise.
20661 (readdhstbyaddrv6): Likewise.
20662 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20663 (readdinitgroups): Return value returned by addinitgroupsX.
20664 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20665 (prune_cache): Keep track of timeout value of re-added entries.
20666 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20667 * nscd/nscd.h: Adjust prototypes of readd* functions.
20669 2011-02-04 Roland McGrath <roland@redhat.com>
20671 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20672 (nis_stats): Likewise.
20673 * nis/nis_modify.c (nis_modify): Likewise.
20674 * nis/nis_remove.c (nis_remove): Likewise.
20675 * nis/nis_add.c (nis_add): Likewise.
20677 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20679 * posix/fnmatch_loop.c: Add some consts.
20681 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20683 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20686 * config.make.in (config-cflags-novzeroupper): Define.
20687 * configure.in: Substitute libc_cv_cc_novzeroupper.
20688 * elf/Makefile (AVX-CFLAGS): Define.
20689 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20690 (CFLAGS-tst-auditmod4a.c): Likewise.
20691 (CFLAGS-tst-auditmod4b.c): Likewise.
20692 (CFLAGS-tst-auditmod6b.c): Likewise.
20693 (CFLAGS-tst-auditmod6c.c): Likewise.
20694 (CFLAGS-tst-auditmod7b.c): Likewise.
20695 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20697 2011-02-02 Ulrich Drepper <drepper@gmail.com>
20699 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20700 function to the callback.
20701 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20703 2011-02-02 Andreas Schwab <schwab@redhat.com>
20705 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20708 2011-01-19 Ulrich Drepper <drepper@gmail.com>
20711 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20713 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20715 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20718 * elf/Makefile: Add rules to build and run new test.
20719 * elf/tst-initorder.c: New file.
20720 * elf/tst-initorder.exp: New file.
20721 * elf/tst-initordera1.c: New file.
20722 * elf/tst-initordera2.c: New file.
20723 * elf/tst-initordera3.c: New file.
20724 * elf/tst-initordera4.c: New file.
20725 * elf/tst-initorderb1.c: New file.
20726 * elf/tst-initorderb2.c: New file.
20727 * elf/tst-order-a1.c: New file.
20728 * elf/tst-order-a2.c: New file.
20729 * elf/tst-order-a3.c: New file.
20730 * elf/tst-order-a4.c: New file.
20731 * elf/tst-order-b1.c: New file.
20732 * elf/tst-order-b2.c: New file.
20733 * elf/tst-order-main.c: New file.
20734 New test case by George Gensure <werkt0@gmail.com>.
20736 2010-10-01 Andreas Schwab <schwab@redhat.com>
20738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20739 decoding ACE if AI_CANONIDN.
20741 2011-01-18 Ulrich Drepper <drepper@gmail.com>
20743 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20745 2011-01-17 Ulrich Drepper <drepper@gmail.com>
20747 * version.h (RELEASE): Bump for 2.13 release.
20748 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20750 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20752 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20754 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20755 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20756 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20757 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20758 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20759 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20761 * posix/getconf.c: Update copyright year.
20762 * catgets/gencat.c: Likewise.
20763 * csu/version.c: Likewise.
20764 * debug/catchsegv.sh: Likewise.
20765 * debug/xtrace.sh: Likewise.
20766 * elf/ldconfig.c: Likewise.
20767 * elf/ldd.bash.in: Likewise.
20768 * elf/sprof.c (print_version): Likewise.
20769 * iconv/iconv_prog.c: Likewise.
20770 * iconv/iconvconfig.c: Likewise.
20771 * locale/programs/locale.c: Likewise.
20772 * locale/programs/localedef.c: Likewise.
20773 * malloc/memusage.sh: Likewise.
20774 * malloc/mtrace.pl: Likewise.
20775 * nscd/nscd.c (print_version): Likewise.
20776 * nss/getent.c: Likewise.
20778 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20779 PF_CAIF, and PF_ALG.
20780 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20782 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20784 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20785 (modules-names): Use them.
20786 (ifunc-test-modules, ifunc-pie-tests): Define.
20787 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20788 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20789 (test-extras): Likewise.
20790 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20791 $(compile-command.c).
20792 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20793 (all-built-dso): Define.
20794 (check-textrel.out, check-execstack.out): Depend on it.
20796 * configure.in: Don't override --enable-multi-arch.
20798 2011-01-15 Ulrich Drepper <drepper@gmail.com>
20801 * nscd/hstcache.c (tryagain): Define.
20802 (cache_addhst): Return tryagain not notfound for temporary errors.
20803 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20806 2011-01-14 Ulrich Drepper <drepper@gmail.com>
20809 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20810 to make the syscall.
20811 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20814 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20815 and fall back to matching as normal character if the string ends before
20816 the matching ']' is found. This is what POSIX requires.
20817 * posix/testfnm.c: Adjust test result.
20818 * posix/globtest.sh: Adjust test result. Add new test.
20819 * posix/tst-fnmatch.input: Likewise.
20820 * posix/tst-fnmatch2.c: Add new test.
20822 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20824 * elf/Makefile (check-execstack): Revert last change. Depend on
20826 (check-execstack.h): New target.
20827 (generated): Add check-execstack.h.
20828 * elf/check-execstack.c: Include "check-execstack.h".
20829 (main): Revert last change.
20830 (handle_file): Return zero if GNU_STACK is absent and
20831 DEFAULT_STACK_PERMS doesn't include PF_X.
20833 2011-01-13 Ulrich Drepper <drepper@gmail.com>
20835 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20836 in child fails because the descriptor is already closed.
20837 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20838 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20839 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
20842 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20846 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20847 temporary buffer used to handle multi lookups locally.
20848 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
20850 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20852 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20855 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20857 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20858 alignment for SSE2.
20860 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20863 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20864 characters. When rounding increased number of integer digits recompute
20866 * stdio-common/tst-grouping.c: New file.
20867 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20869 2011-01-09 Ulrich Drepper <drepper@gmail.com>
20871 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20872 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20874 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20876 * bits/select.h: Likewise.
20878 2011-01-08 Ulrich Drepper <drepper@gmail.com>
20880 * po/ja.po: Update from translation team.
20882 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
20885 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20886 implementation just like for lxstat, fxstatat, et al.
20888 2010-12-27 Jim Meyering <meyering@redhat.com>
20891 * posix/regexec.c (build_trtable): Return failure indication upon
20892 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20894 2010-12-25 Ulrich Drepper <drepper@gmail.com>
20897 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20898 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20899 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20900 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20903 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20906 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20907 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20909 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20911 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20912 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20913 script has SORT_BY_INIT_PRIORITY.
20914 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20915 NO_CTORS_DTORS_SECTIONS is defined.
20916 * elf/soinit.c: Likewise.
20917 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20918 NO_CTORS_DTORS_SECTIONS is defined.
20919 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20920 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20921 * sysdeps/sh/init-first.c: Likewise.
20922 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20924 2010-12-24 Ulrich Drepper <drepper@gmail.com>
20926 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20927 always use the slow path.
20929 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20931 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20932 similar rule which adds the sysdep directories to the header search in
20933 order to pick up the correct platform stackinfo.h.
20934 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20935 perform test if it is, otherwise return successfully without testing.
20936 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20937 DEFAULT_STACK_PERMS define in stackinfo.h.
20938 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20939 defined in stackinfo.h.
20940 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20941 DEFAULT_STACK_PERMS defined in stackinfo.h.
20942 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20943 * sysdeps/ia64/stackinfo.h: Likewise.
20944 * sysdeps/s390/stackinfo.h: Likewise.
20945 * sysdeps/sh/stackinfo.h: Likewise.
20946 * sysdeps/sparc/stackinfo.h: Likewise.
20947 * sysdeps/x86_64/stackinfo.h: Likewise.
20948 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20949 PF_X for powerpc64. Retain PF_X for powerpc32.
20951 2010-12-19 Ulrich Drepper <drepper@gmail.com>
20953 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20955 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20956 GETDENTS_64BIT_ALIGNED.
20958 2010-12-14 Ulrich Drepper <dreper@gmail.com>
20960 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
20962 2010-12-10 Andreas Schwab <schwab@redhat.com>
20964 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20967 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20968 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20970 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20971 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20973 2010-12-09 Ulrich Drepper <drepper@gmail.com>
20976 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20979 2010-12-09 Jakub Jelinek <jakub@redhat.com>
20981 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20983 2010-12-03 Ulrich Drepper <drepper@gmail.com>
20985 * po/it.po: Update from translation team.
20987 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20989 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20992 2010-11-30 Ulrich Drepper <drepper@gmail.com>
20994 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20996 2010-11-24 Andreas Schwab <schwab@redhat.com>
20998 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21000 (gaih_getanswer_slice): Likewise.
21002 2010-10-20 Jakub Jelinek <jakub@redhat.com>
21004 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21006 2010-05-31 Petr Baudis <pasky@suse.cz>
21009 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21010 silently even in the chroot mode.
21012 2010-11-22 Ulrich Drepper <drepper@gmail.com>
21014 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21015 last patch a bit. Pretty printing
21017 2010-05-31 Petr Baudis <pasky@suse.cz>
21020 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21021 initialization of skip_initgroups_dyn.
21023 2010-11-19 Ulrich Drepper <drepper@gmail.com>
21025 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21026 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21028 2010-11-16 Ulrich Drepper <drepper@gmail.com>
21030 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21032 2010-11-11 Andreas Schwab <schwab@redhat.com>
21034 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21035 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21036 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21037 ($(objpfx)tst-fnmatch-mem): New rule.
21038 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21039 * posix/tst-fnmatch.c (main): Call mtrace.
21041 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21044 Support Intel processor model 6 and model 0x2c.
21046 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
21048 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21051 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21054 * string/test-strncasecmp.c (check_result): New function.
21055 (do_one_test): Use it.
21056 (check1): New function.
21057 (test_main): Use it.
21058 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21059 Support strcasecmp and strncasecmp.
21061 2010-11-08 Ulrich Drepper <drepper@gmail.com>
21064 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21065 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21067 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21069 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21071 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21073 * sysdeps/x86_64/multiarch/bzero.S: New file.
21074 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21075 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21076 * sysdeps/x86_64/multiarch/memset.S: New file.
21077 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21079 Set bit_Prefer_SSE_for_memop for Intel processors.
21080 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21082 (index_Prefer_SSE_for_memop): Define.
21083 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21085 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
21087 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21088 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21090 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21093 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21094 (__x86_64_raw_data_cache_size_half): Likewise.
21095 (__x86_64_raw_shared_cache_size): Likewise.
21096 (__x86_64_raw_shared_cache_size_half): Likewise.
21098 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21099 (__x86_64_raw_data_cache_size_half): Likewise.
21100 (__x86_64_raw_shared_cache_size): Likewise.
21101 (__x86_64_raw_shared_cache_size_half): Likewise.
21102 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21103 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21104 and __x86_64_raw_shared_cache_size_half. Round
21105 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21106 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21107 to multiple of 256 bytes.
21109 2010-11-03 Ulrich Drepper <drepper@gmail.com>
21112 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21113 of inacessible symlinks. Verify result of symlink before returning it.
21114 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21115 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21117 2010-10-28 Erich Ritz <erichritz@gmail.com>
21119 * math/math.h (isinf): Fix typo in comment.
21121 2010-11-01 Ulrich Drepper <drepper@gmail.com>
21123 * po/da.po: Update from translation team.
21125 2010-10-26 Ulrich Drepper <drepper@gmail.com>
21127 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21128 is added to the list.
21130 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21131 Ulrich Drepper <drepper@gmail.com>
21133 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21134 the global list here. Move code to...
21135 (_dl_add_to_namespace_list): ...here. New function.
21136 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21137 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21138 * elf/dl-load.c (lose): Don't remove the element from the list.
21139 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21140 (_dl_map_object): Likewise.
21142 2010-10-25 Ulrich Drepper <drepper@gmail.com>
21145 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21146 into all bytes of SSE register.
21147 Patch by Richard Li <richardpku@gmail.com>.
21149 2010-10-24 Ulrich Drepper <drepper@gmail.com>
21152 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21155 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21157 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21158 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21159 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21160 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21165 2010-10-22 Andreas Schwab <schwab@redhat.com>
21167 * include/dlfcn.h (__RTLD_SECURE): Define.
21168 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21169 mode & __RTLD_SECURE instead.
21170 (open_path): Rename preloaded parameter to secure.
21171 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21172 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21173 * elf/dl-deps.c (openaux): Likewise.
21174 * elf/rtld.c (struct map_args): Remove is_preloaded.
21175 (map_doit): Don't use it.
21176 (dl_main): Likewise.
21177 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21178 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21180 2010-09-09 Andreas Schwab <schwab@redhat.com>
21182 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21183 (sysd-rules-targets): Remove duplicates.
21184 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21185 rtld-%.$o dependency.
21187 2010-10-18 Andreas Schwab <schwab@redhat.com>
21189 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21190 _dl_map_object do it.
21192 2010-10-19 Ulrich Drepper <drepper@gmail.com>
21194 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21195 fast fma builtins, define the macros in the C99 standard.
21196 (FP_FAST_FMAF): Likewise.
21197 (FP_FAST_FMAL): Likewise.
21198 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21200 * bits/mathdef.h: Update copyright year.
21201 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21203 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21205 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21206 builtins, define the macros in the C99 standard.
21207 (FP_FAST_FMAF): Likewise.
21208 (FP_FAST_FMAL): Likewise.
21209 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21211 (FP_FAST_FMAF): Likewise.
21213 2010-10-15 Jakub Jelinek <jakub@redhat.com>
21216 * math/libm-test.inc (fma_test): Some new testcases.
21217 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21218 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21219 y and infinite z. Do multiplication by C already in long double.
21220 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21222 y and infinite z. Do bitwise or of inexact bit into u.d.
21223 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21224 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21225 * sysdeps/i386/fpu/s_fma.S: Removed.
21226 * sysdeps/i386/fpu/s_fmal.S: Removed.
21228 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21231 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21233 computation is not scheduled after fetestexcept. Fix value
21234 of minimum denormal long double.
21236 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21239 * math/libm-test.inc (fma_test): Add some more tests.
21240 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21243 2010-10-15 Andreas Schwab <schwab@redhat.com>
21245 * scripts/data/localplt-s390-linux-gnu.data: New file.
21246 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21248 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21251 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21252 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21254 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21256 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21258 if one of x and y is very large and the other is subnormal.
21259 * sysdeps/s390/fpu/s_fmaf.c: New file.
21260 * sysdeps/s390/fpu/s_fma.c: New file.
21261 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21262 * sysdeps/powerpc/fpu/s_fma.S: New file.
21263 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21264 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21265 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21267 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21270 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21272 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21273 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21274 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21275 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21276 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21277 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21278 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21280 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21283 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21284 * posix/bug-regex31.input: Add test case.
21286 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21288 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21289 * posix/bug-regex31.input: New file.
21292 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21293 (parse_sub_exp): Fix last change, use postorder.
21295 * posix/bug-regex31.c: New file.
21296 * posix/Makefile: Add rules to build and run bug-regex31.
21298 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21301 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21304 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21305 to have entries in sys_siglist.
21308 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21311 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21314 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21315 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21316 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21317 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21318 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21319 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21320 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21321 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21322 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21323 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21324 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21325 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21326 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21327 * math/ftestexcept.c (fetestexcept): Likewise.
21328 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21329 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21330 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21331 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21332 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21333 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21334 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21336 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21339 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21342 2010-10-06 Ulrich Drepper <drepper@gmail.com>
21344 * string/bug-strstr1.c: New file.
21345 * string/Makefile: Add rules to build and run bug-strstr1.
21347 2010-10-05 Eric Blake <eblake@redhat.com>
21350 * string/str-two-way.h (two_way_long_needle): Always clear memory
21351 when skipping input due to the shift table.
21353 2010-10-03 Ulrich Drepper <drepper@gmail.com>
21356 * malloc/mcheck.c: Handle large requests.
21359 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21360 for strncmp and strncasecmp.
21361 * string/stratcliff.c: Add tests for strcmp and strncmp.
21362 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21364 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21366 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21369 2010-09-30 Andreas Jaeger <aj@suse.de>
21371 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21372 (CGROUP_SUPER_MAGIC): Define.
21373 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21374 Handle btrfs and cgroup file systems.
21375 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21378 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
21380 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21381 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21383 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21386 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21387 trying to locate the ELF header.
21389 2010-09-27 Andreas Schwab <schwab@redhat.com>
21392 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21393 Mask out sign-bit copies when constructing f_fsid.
21395 2010-09-24 Petr Baudis <pasky@suse.cz>
21397 * debug/stack_chk_fail_local.c: Add missing licence exception.
21398 * debug/warning-nop.c: Likewise.
21400 2010-09-15 Joseph Myers <joseph@codesourcery.com>
21402 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21403 implementing getdents64 using getdents syscall, set d_type if
21404 __ASSUME_GETDENTS32_D_TYPE.
21406 2010-09-16 Andreas Schwab <schwab@redhat.com>
21408 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21409 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21411 2010-09-21 Ulrich Drepper <drepper@redhat.com>
21414 * posix/unistd.h: Undo change of feature selection for ftruncate from
21417 2010-09-20 Ulrich Drepper <drepper@redhat.com>
21419 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21422 2010-09-20 Andreas Schwab <schwab@redhat.com>
21424 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21426 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21428 2010-09-14 Andreas Schwab <schwab@redhat.com>
21430 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21431 variables after CHECK_SP call.
21432 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21434 2010-09-13 Andreas Schwab <schwab@redhat.com>
21435 Ulrich Drepper <drepper@redhat.com>
21437 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21438 re-relocationg ld.so.
21439 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21440 _dl_init_paths call.
21441 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21444 2010-09-14 Ulrich Drepper <drepper@redhat.com>
21446 * resolv/res_init.c (__res_vinit): Count the default server we added.
21448 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21449 Ulrich Drepper <drepper@redhat.com>
21452 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21453 (____longjmp_chk): Use %ebx for saving value across system call.
21456 2010-09-06 Andreas Schwab <schwab@redhat.com>
21458 * manual/Makefile: Don't mix pattern rules with normal rules.
21460 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21462 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21464 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21465 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21466 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21467 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21468 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21471 2010-09-04 Ulrich Drepper <drepper@redhat.com>
21474 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21475 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21477 2010-09-02 Ulrich Drepper <drepper@redhat.com>
21479 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21480 * sysdeps/x86_64/addmul_1.S: Likewise.
21481 * sysdeps/x86_64/lshift.S: Likewise.
21482 * sysdeps/x86_64/mul_1.S: Likewise.
21483 * sysdeps/x86_64/rshift.S: Likewise.
21484 * sysdeps/x86_64/sub_n.S: Likewise.
21485 * sysdeps/x86_64/submul_1.S: Likewise.
21487 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21489 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21490 Define __sched_param instead of SCHED_* and sched_param when
21491 <bits/sched.h> is included with __need_schedparam defined.
21492 * bits/sched.h [__need_schedparam]
21493 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
21494 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21495 (__defined_schedparam): Define to 1.
21496 (__sched_param): New structure, identical to sched_param.
21497 (__need_schedparam): Undefine.
21499 2010-08-31 Mike Frysinger <vapier@gentoo.org>
21501 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21502 (epoll_create1): Declare.
21504 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21506 2010-08-31 Andreas Schwab <schwab@redhat.com>
21509 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21510 shifting retval into place.
21512 2010-09-01 Ulrich Drepper <drepper@redhat.com>
21514 * nis/rpcsvc/nis.h: Update copyright notice.
21515 * nis/rpcsvc/nis.x: Likewise.
21516 * nis/rpcsvc/nis_callback.h: Likewise.
21517 * nis/rpcsvc/nis_callback.x: Likewise.
21518 * nis/rpcsvc/nis_object.x: Likewise.
21519 * nis/rpcsvc/nis_tags.h: Likewise.
21520 * nis/rpcsvc/yp.h: Likewise.
21521 * nis/rpcsvc/yp.x: Likewise.
21522 * nis/rpcsvc/ypupd.h: Likewise.
21523 * nis/yp_xdr.c: Likewise.
21524 * nis/ypupdate_xdr.c: Likewise.
21526 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21527 mainly the body of pmap_getport. Add parameters to specify timeouts.
21528 (pmap_getport): Use __libc_rpc_getport.
21529 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21530 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21531 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21533 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21538 2010-08-27 Roland McGrath <roland@redhat.com>
21540 * sysdeps/i386/i686/multiarch/Makefile
21541 (CFLAGS-varshift.c): New variable.
21543 2010-08-27 Ulrich Drepper <drepper@redhat.com>
21545 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21546 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21548 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21550 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21552 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21554 * sysdeps/x86_64/strlen.S: Unroll the loop.
21555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21556 strlen-sse2 strlen-sse2-bsf.
21557 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21558 __strlen_no_bsf if bit_Slow_BSF is set.
21559 (__strlen_sse42): Removed.
21560 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21561 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21563 2010-08-25 Roland McGrath <roland@redhat.com>
21565 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21566 * sysdeps/x86_64/multiarch/varshift.c: New file.
21567 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21568 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21569 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21570 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21572 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21575 strlen-sse2 strlen-sse2-bsf.
21576 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21577 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21578 (__strlen_sse2): Removed.
21579 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21580 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21582 bit_Slow_BSF for Atom.
21583 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21584 (index_Slow_BSF): Define.
21585 (HAS_SLOW_BSF): Define.
21587 2010-08-25 Ulrich Drepper <drepper@redhat.com>
21590 * resolv/res_init.c (__res_vinit): When no server address at all
21591 is given default to loopback.
21593 2010-08-24 Roland McGrath <roland@redhat.com>
21595 * configure.in: Remove config-name.h generation.
21596 * configure: Regenerated.
21597 * config-name.in: File removed.
21598 * scripts/config-uname.sh: New file.
21599 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21600 ($(objdir)config-name.h): New target.
21602 * sunrpc/rpc_parse.h: Avoid nested comment.
21604 2010-08-24 Richard Henderson <rth@redhat.com>
21605 Ulrich Drepper <drepper@redhat.com>
21606 H.J. Lu <hongjiu.lu@intel.com>
21608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21610 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21611 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21612 _mm_alignr_epi8 with _mm_loadu_si128.
21613 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21614 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21615 (__m128i_shift_right): Removed.
21616 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21617 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21618 * sysdeps/x86_64/multiarch/varshift.h: New file.
21619 * sysdeps/x86_64/multiarch/varshift.S: New file.
21621 2010-08-21 Mike Frysinger <vapier@gentoo.org>
21623 * configure.in: Move assembler checks to before sysdep dir checking.
21625 2010-08-20 Petr Baudis <pasky@suse.cz>
21627 * LICENSES: Sync the sunrpc license.
21629 2010-08-19 Ulrich Drepper <drepper@redhat.com>
21631 * sunrpc/auth_des.c: Update copyright notice once again.
21632 * sunrpc/auth_none.c: Likewise.
21633 * sunrpc/auth_unix.c: Likewise.
21634 * sunrpc/authdes_prot.c: Likewise.
21635 * sunrpc/authuxprot.c: Likewise.
21636 * sunrpc/bindrsvprt.c: Likewise.
21637 * sunrpc/clnt_gen.c: Likewise.
21638 * sunrpc/clnt_perr.c: Likewise.
21639 * sunrpc/clnt_raw.c: Likewise.
21640 * sunrpc/clnt_simp.c: Likewise.
21641 * sunrpc/clnt_tcp.c: Likewise.
21642 * sunrpc/clnt_udp.c: Likewise.
21643 * sunrpc/clnt_unix.c: Likewise.
21644 * sunrpc/des_crypt.c: Likewise.
21645 * sunrpc/des_soft.c: Likewise.
21646 * sunrpc/get_myaddr.c: Likewise.
21647 * sunrpc/getrpcport.c: Likewise.
21648 * sunrpc/key_call.c: Likewise.
21649 * sunrpc/key_prot.c: Likewise.
21650 * sunrpc/openchild.c: Likewise.
21651 * sunrpc/pm_getmaps.c: Likewise.
21652 * sunrpc/pm_getport.c: Likewise.
21653 * sunrpc/pmap_clnt.c: Likewise.
21654 * sunrpc/pmap_prot.c: Likewise.
21655 * sunrpc/pmap_prot2.c: Likewise.
21656 * sunrpc/pmap_rmt.c: Likewise.
21657 * sunrpc/rpc/auth.h: Likewise.
21658 * sunrpc/rpc/auth_unix.h: Likewise.
21659 * sunrpc/rpc/clnt.h: Likewise.
21660 * sunrpc/rpc/des_crypt.h: Likewise.
21661 * sunrpc/rpc/key_prot.h: Likewise.
21662 * sunrpc/rpc/netdb.h: Likewise.
21663 * sunrpc/rpc/pmap_clnt.h: Likewise.
21664 * sunrpc/rpc/pmap_prot.h: Likewise.
21665 * sunrpc/rpc/pmap_rmt.h: Likewise.
21666 * sunrpc/rpc/rpc.h: Likewise.
21667 * sunrpc/rpc/rpc_des.h: Likewise.
21668 * sunrpc/rpc/rpc_msg.h: Likewise.
21669 * sunrpc/rpc/svc.h: Likewise.
21670 * sunrpc/rpc/svc_auth.h: Likewise.
21671 * sunrpc/rpc/types.h: Likewise.
21672 * sunrpc/rpc/xdr.h: Likewise.
21673 * sunrpc/rpc_clntout.c: Likewise.
21674 * sunrpc/rpc_cmsg.c: Likewise.
21675 * sunrpc/rpc_common.c: Likewise.
21676 * sunrpc/rpc_cout.c: Likewise.
21677 * sunrpc/rpc_dtable.c: Likewise.
21678 * sunrpc/rpc_hout.c: Likewise.
21679 * sunrpc/rpc_main.c: Likewise.
21680 * sunrpc/rpc_parse.c: Likewise.
21681 * sunrpc/rpc_parse.h: Likewise.
21682 * sunrpc/rpc_prot.c: Likewise.
21683 * sunrpc/rpc_sample.c: Likewise.
21684 * sunrpc/rpc_scan.c: Likewise.
21685 * sunrpc/rpc_scan.h: Likewise.
21686 * sunrpc/rpc_svcout.c: Likewise.
21687 * sunrpc/rpc_tblout.c: Likewise.
21688 * sunrpc/rpc_util.c: Likewise.
21689 * sunrpc/rpc_util.h: Likewise.
21690 * sunrpc/rpcinfo.c: Likewise.
21691 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21692 * sunrpc/rpcsvc/key_prot.x: Likewise.
21693 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21694 * sunrpc/rpcsvc/mount.x: Likewise.
21695 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21696 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21697 * sunrpc/rpcsvc/rex.x: Likewise.
21698 * sunrpc/rpcsvc/rstat.x: Likewise.
21699 * sunrpc/rpcsvc/rusers.x: Likewise.
21700 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21701 * sunrpc/rpcsvc/spray.x: Likewise.
21702 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21703 * sunrpc/rtime.c: Likewise.
21704 * sunrpc/svc.c: Likewise.
21705 * sunrpc/svc_auth.c: Likewise.
21706 * sunrpc/svc_authux.c: Likewise.
21707 * sunrpc/svc_raw.c: Likewise.
21708 * sunrpc/svc_run.c: Likewise.
21709 * sunrpc/svc_simple.c: Likewise.
21710 * sunrpc/svc_tcp.c: Likewise.
21711 * sunrpc/svc_udp.c: Likewise.
21712 * sunrpc/svc_unix.c: Likewise.
21713 * sunrpc/svcauth_des.c: Likewise.
21714 * sunrpc/xcrypt.c: Likewise.
21715 * sunrpc/xdr.c: Likewise.
21716 * sunrpc/xdr_array.c: Likewise.
21717 * sunrpc/xdr_float.c: Likewise.
21718 * sunrpc/xdr_mem.c: Likewise.
21719 * sunrpc/xdr_rec.c: Likewise.
21720 * sunrpc/xdr_ref.c: Likewise.
21721 * sunrpc/xdr_sizeof.c: Likewise.
21722 * sunrpc/xdr_stdio.c: Likewise.
21724 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21727 2010-08-19 Andreas Schwab <schwab@redhat.com>
21729 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21731 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
21733 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21734 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21735 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21736 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21737 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21738 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21739 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21740 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21741 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21742 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21743 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21744 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21745 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21746 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21748 2010-07-26 Anton Blanchard <anton@samba.org>
21750 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21751 * malloc/arena.c (heap_trim): Likewise.
21753 2010-08-16 Ulrich Drepper <drepper@redhat.com>
21755 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21757 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21758 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21760 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21762 * sysdeps/i386/elf/Makefile: New file.
21764 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21766 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21767 from fanotify_init.
21768 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21769 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21771 2010-08-15 Ulrich Drepper <drepper@redhat.com>
21773 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21775 * sysdeps/multiarch/strcmp.S: Likewise.
21777 2010-08-14 Ulrich Drepper <drepper@redhat.com>
21779 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21780 strncase_l-nonascii.
21781 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21782 Add strncase_l-ssse3.
21783 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21784 * sysdeps/x86_64/strcmp.S: Likewise.
21785 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21786 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21787 * sysdeps/x86_64/strncase.S: New file.
21788 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21789 * sysdeps/x86_64/strncase_l.S: New file.
21790 * string/Makefile (strop-tests): Add strncasecmp.
21791 * string/test-strncasecmp.c: New file.
21793 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21796 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21797 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21799 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21801 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21803 2010-08-12 Ulrich Drepper <drepper@redhat.com>
21805 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21806 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21807 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21809 2010-05-01 Alan Modra <amodra@gmail.com>
21811 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21812 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21813 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21814 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21815 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21816 tidying. Don't tail-call __sigjmp_save for static lib.
21817 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21819 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21820 (CALL_MCOUNT): Add eh info, and nop after bl.
21821 (TAIL_CALL_SYSCALL_ERROR): New macro.
21822 (PSEUDO_RET): Use it.
21823 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21824 Correct save location of integer regs and cr.
21825 (_dl_profile_resolve): Correct cr save location. Delete nops
21826 after bl when SHARED. Reduce cfi size a little by better
21827 placement of cfi directives.
21828 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21829 make a stack frame. Instead use parm save area as a temp.
21830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21831 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21833 Don't make a stack frame for parent, use parm save area.
21834 Increase child stack frame to 112 bytes. Don't save unused reg,
21835 and adjust reg usage. Set up cfi on error recovery and
21836 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21838 (__makecontext): Add dummy nop after jump to exit.
21839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21840 Use correct parm save area and cr save, reduce stack frame.
21841 Correct cfi for possible PSEUDO_RET frame setup.
21842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21843 Branch to local label emitted by PSEUDO_RET rather than
21846 2010-08-12 Andreas Schwab <schwab@redhat.com>
21849 * locale/programs/locale.c (print_assignment): New function.
21850 (show_locale_vars): Use it.
21852 2010-08-11 Ulrich Drepper <drepper@redhat.com>
21854 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21856 (struct statfs64): Likewise.
21857 (_STATFS_F_FLAGS): Define.
21858 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21859 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21860 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21861 (ST_VALID): Define locally.
21862 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21863 __statvfs_getflags, use the provided value.
21864 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21865 __ASSUME_STATFS_F_FLAGS.
21867 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21869 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21870 Add sys/fanotify.h.
21871 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21872 fanotify_mask for GLIBC_2.13.
21873 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21874 fanotify_init and fanotify_mark.
21875 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21876 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21878 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21880 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21881 prlimit64 for GLIBC_2.13.
21882 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21884 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21887 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21888 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21889 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21890 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21892 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21895 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21896 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21898 * nss/Makefile: Add rules to build and run tst-nss-test1.
21899 * shlib-versions: Add entry for libnss_test1.
21900 * nss/nss_test1.c: New file.
21901 * nss/tst-nss-test1.c: New file.
21903 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21904 (__nss_configure_lookup): Set appropriate entry in
21905 __nss_configure_lookup to true.
21906 * nss/nsswitch.h: Define enum with indeces of databases in
21907 databases and __nss_database_custom arrays. Declare
21908 __nss_database_custom.
21909 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21910 to avoid using nscd when custom rules are installed.
21911 * nss/getXXbyYY_r.c: Likewise.
21912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21914 * nss/nss_files/files-parse.c: Whitespace fixes.
21916 2010-08-09 Ulrich Drepper <drepper@redhat.com>
21919 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21920 * posix/fnmatch_loop.c: Likewise.
21922 2010-07-17 Andi Kleen <ak@linux.intel.com>
21924 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21925 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21926 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21927 * Versions.def [GLIBC_2.13]: Add.
21929 2010-08-06 Ulrich Drepper <drepper@redhat.com>
21931 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21932 Also fail if tpwd after pwuid call is NULL.
21934 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21936 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21937 when converting to ms.
21939 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21941 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21942 EOPNOTSUPP errors with ENOTTY.
21943 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21944 EOPNOTSUPP errors with ENOTTY.
21946 2010-07-31 Ulrich Drepper <drepper@redhat.com>
21948 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21949 Add strcasecmp_l-ssse3.
21950 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21952 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21953 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21954 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21956 2010-07-30 Ulrich Drepper <drepper@redhat.com>
21958 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21960 * string/Makefile (strop-tests): Add strcasecmp.
21961 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21962 strcasecmp_l-nonascii.
21963 (gen-as-const-headers): Add locale-defines.sym.
21964 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21965 * sysdeps/x86_64/strcasecmp.S: New file.
21966 * sysdeps/x86_64/strcasecmp_l.S: New file.
21967 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21968 * sysdeps/x86_64/locale-defines.sym: New file.
21969 * string/test-strcasecmp.c: New file.
21971 * string/test-strcasestr.c: Test both ends of the range of characters.
21972 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21974 2010-07-29 Roland McGrath <roland@redhat.com>
21977 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21979 2010-07-27 Ulrich Drepper <drepper@redhat.com>
21981 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21984 2010-07-27 Andreas Schwab <schwab@redhat.com>
21986 * manual/memory.texi (Malloc Tunable Parameters): Document
21989 2010-07-26 Roland McGrath <roland@redhat.com>
21992 * configure.in (-fgnu89-inline check): Set and substitute
21993 gnu89_inline, not libc_cv_gnu89_inline.
21994 * configure: Regenerated.
21995 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21997 2010-07-26 Ulrich Drepper <drepper@redhat.com>
21999 * string/test-strnlen.c: New file.
22000 * string/Makefile (strop-tests): Add strnlen.
22001 * string/tester.c (test_strnlen): Add a few more test cases.
22002 * string/tst-strlen.c: Better error reporting.
22004 * sysdeps/x86_64/strnlen.S: New file.
22006 2010-07-24 Ulrich Drepper <drepper@redhat.com>
22008 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22009 lower-latency instructions.
22011 2010-07-23 Ulrich Drepper <drepper@redhat.com>
22013 * string/test-strcasestr.c: New file.
22014 * string/test-strstr.c: New file.
22015 * string/Makefile (strop-tests): Add strstr and strcasestr.
22016 * string/str-two-way.h: Don't undefine MAX.
22017 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22019 2010-07-21 Andreas Schwab <schwab@redhat.com>
22021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22022 strcasestr-nonascii.
22023 (CFLAGS-strcasestr-nonascii.c): Define.
22024 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22025 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22026 Remove unused attribute.
22028 2010-07-20 Roland McGrath <roland@redhat.com>
22030 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22031 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22032 ld.so.cache was broken. With it, there is no way to disable dsocaps
22033 like LD_HWCAP_MASK can disable hwcaps.
22035 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22037 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22039 2010-07-16 Ulrich Drepper <drepper@redhat.com>
22041 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22042 call in strcasestr.
22043 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22044 __strcasestr_sse42_nonascii.
22045 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22046 strcasestr-nonascii.c.
22047 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22049 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
22051 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22052 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22053 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22054 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22056 2010-07-09 Ulrich Drepper <drepper@redhat.com>
22058 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22061 2010-07-06 Andreas Schwab <schwab@redhat.com>
22064 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22067 2010-07-06 Ulrich Drepper <drepper@redhat.com>
22069 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22070 _PC_PIPE_BUF using F_GETPIPE_SZ.
22072 2010-07-05 Roland McGrath <roland@redhat.com>
22074 * manual/arith.texi (Rounding Functions): Fix rint description
22075 implicit in round description.
22077 2010-07-02 Ulrich Drepper <drepper@redhat.com>
22079 * elf/Makefile: Fix linking for a few tests to make recent linker
22082 2010-06-30 Andreas Schwab <schwab@redhat.com>
22084 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22085 $(common-objpfx)libc_nonshared.a.
22087 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
22089 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22090 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22091 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22092 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22093 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22094 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22095 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22096 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22111 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22112 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22113 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22114 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22115 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22116 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22117 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22118 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22119 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22120 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22121 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22122 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22138 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22140 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22141 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22142 * string/memmove.c (memmove): Renamed to ...
22143 (MEMMOVE): ...this. Default to memmove.
22144 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22145 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22148 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22149 mempcpy-ssse3-back memmove-ssse3-back.
22150 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22151 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22152 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22153 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22154 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22155 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22156 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22157 * sysdeps/x86_64/multiarch/memmove.c: New file.
22158 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22159 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22160 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22161 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22162 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22163 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22165 (index_Fast_Copy_Backward): Define.
22166 (HAS_ARCH_FEATURE): Define.
22167 (HAS_FAST_REP_STRING): Define.
22168 (HAS_FAST_COPY_BACKWARD): Define.
22170 2010-06-21 Andreas Schwab <schwab@redhat.com>
22172 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22173 Restore proper fallback handling.
22175 2010-06-19 Ulrich Drepper <drepper@redhat.com>
22178 * posix/group_member.c (__group_member): Correct checking loop.
22180 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22181 OOM in getpwuid_r correctly. Return error number when the caller
22182 should return, otherwise -1.
22183 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22184 call returning > 0 value.
22185 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22187 2010-06-07 Andreas Schwab <schwab@redhat.com>
22189 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22190 libc_nonshared.a from targets in modules-names.
22192 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22194 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22197 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
22199 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22200 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22201 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22202 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22204 2010-06-02 Andreas Schwab <schwab@redhat.com>
22206 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22208 2010-06-14 Ulrich Drepper <drepper@redhat.com>
22210 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22212 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22213 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22214 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22217 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22219 2010-06-14 Roland McGrath <roland@redhat.com>
22221 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22223 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22225 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22226 __REDIRECT followed by __THROW.
22227 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22228 * posix/getopt.h (getopt): Likewise.
22230 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22232 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22233 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22234 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22236 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22237 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22239 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22241 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22243 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22247 Properly check family and model.
22249 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22251 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22253 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22255 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22257 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22259 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22262 2010-05-19 Andreas Schwab <schwab@redhat.com>
22264 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22267 2010-05-21 Andreas Schwab <schwab@redhat.com>
22269 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22270 and internal_recvmmsg.
22271 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22272 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22273 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22274 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22276 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22277 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22278 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22280 2010-05-20 Andreas Schwab <schwab@redhat.com>
22282 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22284 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22286 POWER7 optimizations.
22287 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22288 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22290 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22292 * version.h: Update for 2.13 development version.
22294 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22296 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22297 exceptions. Return 0.
22299 2010-05-07 Roland McGrath <roland@redhat.com>
22301 * elf/ldconfig.c (main): Add a const.
22303 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22305 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22306 (args_options): Add no-idn option.
22307 (ahosts_keys_int): Add idn_flags to ai_flags.
22308 (parse_option): Handle 'i' option to clear idn_flags.
22310 * malloc/malloc.c (_int_free): Possible race in the most recently
22311 added check. Only act on the data if no current modification
22314 See ChangeLog.17 for earlier changes.