1 2012-11-09 Joseph Myers <joseph@codesourcery.com>
3 * aclocal.m4 (ACX_PKGVERSION): New macro.
4 (ACX_BUGURL): Likewise.
5 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6 (PKGVERSION): New AC_DEFINE_UNQUOTED.
7 (REPORT_BUGS_TO): Likewise.
8 * configure: Regenerated.
9 * config.h.in (PKGVERSION): New macro.
10 (REPORT_BUGS_TO): Likewise.
11 * config.make.in (PKGVERSION): New variable.
12 (PKGVERSION_TEXI): Likewise.
13 (REPORT_BUGS_TO): Likewise.
14 (REPORT_BUGS_TEXI): Likewise.
15 * Makefile (format-me): Use -I$(common-objpfx)manual.
16 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17 ($(common-objpfx)manual/%): New target.
18 (manual/%): Remove target.
19 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20 (print_version): Use PKGVERSION.
21 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24 ($(objpfx)xtrace): Likewise.
25 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27 (print_version): Use PKGVERSION.
28 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29 (do_version): Use PKGVERSION.
30 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32 (common-ldd-rewrite): Likewise.
33 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35 (print_version): Use PKGVERSION.
36 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
37 * elf/pldd.c (argp_program_bug_address): Remove variable.
38 (more_help): New function.
39 (argp): Use more_help.
40 (print_version): Use PKGVERSION.
41 * elf/sln.c (main): Use PKGVERSION.
42 (usage): Use REPORT_BUGS_TO.
43 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44 (top level): Use PKGVERSION.
45 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
46 (print_version): Use PKGVERSION.
47 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
48 (print_version): Use PKGVERSION.
49 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
50 (print_version): Use PKGVERSION.
51 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
52 (print_version): Use PKGVERSION.
53 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
54 (print_version): Use PKGVERSION.
55 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
56 (print_version): Use PKGVERSION.
57 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
59 ($(objpfx)memusage): Likewise.
60 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
61 (do_version): Use PKGVERSION.
62 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63 (print_version): Use PKGVERSION.
64 * malloc/mtrace.pl ($PACKAGE): Remove variable.
65 ($PKGVERSION): New variable.
66 ($REPORT_BUGS_TO): Likewise.
67 (usage): Use $REPORT_BUGS_TO.
68 (top level): Use $PKGVERSION.
69 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
70 ($(objpfx)pkgvers.texi): New rule.
71 ($(objpfx)stamp-pkgvers): Likewise.
72 * manual/install.texi: Include pkgvers.texi.
73 (--with-pkgversion): Document new configure option.
74 (--with-bugurl): Likewise.
75 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
76 than necessarily for this particular distribution. Use
77 REPORT_BUGS_TO for where to report bugs.
78 * INSTALL: Regenerated.
79 * manual/libc.texinfo: Include pkgvers.texi.
80 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
81 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
82 (print_version): Use PKGVERSION.
83 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
84 (print_version): Use PKGVERSION.
85 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
86 (print_version): Use PKGVERSION.
87 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
88 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
90 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
91 (print_version): Use PKGVERSION.
92 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
93 (print_version): Use PKGVERSION.
94 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
97 * timezone/checktab.awk: Update from tzcode 2012i.
98 * timezone/ialloc.c: Likewise.
99 * timezone/private.h: Likewise.
100 * timezone/scheck.c: Likewise.
101 * timezone/tzfile.h: Likewise.
102 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
103 (TZVERSION): Hardcode tzcode version number.
104 * timezone/zdump.c: Update from tzcode 2012i.
105 * timezone/zic.c: Likewise.
106 * timezone/version.h: New file.
107 * timezone/README: Describe version.h. Update upstream location.
110 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
111 (mktemp): Enable declaration.
112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
114 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
121 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
123 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
129 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
130 offset in buffer as u_int32_t not u_long. Consistently use memcpy
131 for copies of such integer values.
132 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
133 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
135 2012-11-09 Andreas Jaeger <aj@suse.de>
137 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
138 definitions and declarations that are provided by
139 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
141 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
143 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
144 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
145 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
148 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
150 * elf/elf.h: Update comment before AArch64 relocations.
152 2012-11-07 David S. Miller <davem@davemloft.net>
154 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
155 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
156 (__start_context): Declare.
157 (__makecontext_ret): Delete.
158 (__makecontext): Hook up __start_context instead of
160 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
161 (sysdep_routines): Add __start_context when in stdlib.
163 2012-11-07 Joseph Myers <joseph@codesourcery.com>
165 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
166 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
167 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
169 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
170 (READELF): New variable. Use it instead of hardcoded "readelf".
172 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
174 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
175 * sysdeps/x86/Makefile: Here.
176 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
177 * sysdeps/x86/tst-xmmymm.sh: This.
179 2012-11-07 Joseph Myers <joseph@codesourcery.com>
181 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
183 [UNIX98] (pthread_barrier_t): Do not expect.
184 [UNIX98] (pthread_barrierattr_t): Likewise.
185 [UNIX98] (pthread_spinlock_t): Likewise.
186 [UNIX98] (pthread_barrier_destroy): Likewise.
187 [UNIX98] (pthread_barrier_init): Likewise.
188 [UNIX98] (pthread_barrier_wait): Likewise.
189 [UNIX98] (pthread_barrierattr_destroy): Likewise.
190 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
191 [UNIX98] (pthread_barrierattr_init): Likewise.
192 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
193 [UNIX98] (pthread_getcpuclockid): Likewise.
194 [UNIX98] (pthread_mutex_timedlock): Likewise.
195 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
196 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
197 [UNIX98] (pthread_sigmask): Likewise.
198 [UNIX98] (pthread_spin_destroy): Likewise.
199 [UNIX98] (pthread_spin_init): Likewise.
200 [UNIX98] (pthread_spin_lock): Likewise.
201 [UNIX98] (pthread_spin_trylock): Likewise.
202 [UNIX98] (pthread_spin_unlock): Likewise.
203 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
205 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
206 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
207 [XPG3 || XPG4] (pthread_cond_t): Likewise.
208 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
209 [XPG3 || XPG4] (pthread_key_t): Likewise.
210 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
211 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
212 [XPG3 || XPG4] (pthread_once_t): Likewise.
213 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
214 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
215 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
216 [XPG3 || XPG4] (pthread_t): Likewise.
218 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
220 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
222 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
223 Change function return type to int.
225 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
226 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
227 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
228 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
229 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
230 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
231 [!POSIX] (posix_madvise): Likewise.
232 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
234 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
235 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
237 (posix_mem_offset): Likewise.
238 (posix_typed_mem_get_info): Likewise.
239 (posix_typed_mem_open): Likewise.
241 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
242 Change condition to [XOPEN2K8].
244 * conform/conformtest.pl: Preprocess allow-header data with -x c
245 instead of from stdin.
246 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
247 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
248 [C99-based standards] (cerfc): Likewise.
249 [C99-based standards] (cexp2): Likewise.
250 [C99-based standards] (cexpm1): Likewise.
251 [C99-based standards] (clog10): Likewise.
252 [C99-based standards] (clog1p): Likewise.
253 [C99-based standards] (clog2): Likewise.
254 [C99-based standards] (clgamma): Likewise.
255 [C99-based standards] (ctgamma): Likewise.
256 [C99-based standards] (cerff): Likewise.
257 [C99-based standards] (cerfcf): Likewise.
258 [C99-based standards] (cexp2f): Likewise.
259 [C99-based standards] (cexpm1f): Likewise.
260 [C99-based standards] (clog10f): Likewise.
261 [C99-based standards] (clog1pf): Likewise.
262 [C99-based standards] (clog2f): Likewise.
263 [C99-based standards] (clgammaf): Likewise.
264 [C99-based standards] (ctgammaf): Likewise.
265 [C99-based standards] (cerfl): Likewise.
266 [C99-based standards] (cerfcl): Likewise.
267 [C99-based standards] (cexp2l): Likewise.
268 [C99-based standards] (cexpm1l): Likewise.
269 [C99-based standards] (clog10l): Likewise.
270 [C99-based standards] (clog1pl): Likewise.
271 [C99-based standards] (clog2l): Likewise.
272 [C99-based standards] (clgammal): Likewise.
273 [C99-based standards] (ctgammal): Likewise.
274 * conform/data/inttypes.h-data [C99-based standards]: Include
275 stdint.h-data. Remove all expectations for stdint.h contents.
276 [C99-based standards] (PRI*): Do not allow.
277 [C99-based standards] (SCN*): Likewise.
278 [C99-based standards] (*_t): Likewise.
279 [C99-based-standards] (PRId8): Expect macro.
280 [C99-based-standards] (PRIi8): Likewise.
281 [C99-based-standards] (PRIo8): Likewise.
282 [C99-based-standards] (PRIu8): Likewise.
283 [C99-based-standards] (PRIx8): Likewise.
284 [C99-based-standards] (PRIX8): Likewise.
285 [C99-based-standards] (SCNd8): Likewise.
286 [C99-based-standards] (SCNi8): Likewise.
287 [C99-based-standards] (SCNo8): Likewise.
288 [C99-based-standards] (SCNu8): Likewise.
289 [C99-based-standards] (SCNx8): Likewise.
290 [C99-based-standards] (PRIdLEAST8): Likewise.
291 [C99-based-standards] (PRIiLEAST8): Likewise.
292 [C99-based-standards] (PRIoLEAST8): Likewise.
293 [C99-based-standards] (PRIuLEAST8): Likewise.
294 [C99-based-standards] (PRIxLEAST8): Likewise.
295 [C99-based-standards] (PRIXLEAST8): Likewise.
296 [C99-based-standards] (SCNdLEAST8): Likewise.
297 [C99-based-standards] (SCNiLEAST8): Likewise.
298 [C99-based-standards] (SCNoLEAST8): Likewise.
299 [C99-based-standards] (SCNuLEAST8): Likewise.
300 [C99-based-standards] (SCNxLEAST8): Likewise.
301 [C99-based-standards] (PRIdFAST8): Likewise.
302 [C99-based-standards] (PRIiFAST8): Likewise.
303 [C99-based-standards] (PRIoFAST8): Likewise.
304 [C99-based-standards] (PRIuFAST8): Likewise.
305 [C99-based-standards] (PRIxFAST8): Likewise.
306 [C99-based-standards] (PRIXFAST8): Likewise.
307 [C99-based-standards] (SCNdFAST8): Likewise.
308 [C99-based-standards] (SCNiFAST8): Likewise.
309 [C99-based-standards] (SCNoFAST8): Likewise.
310 [C99-based-standards] (SCNuFAST8): Likewise.
311 [C99-based-standards] (SCNxFAST8): Likewise.
312 [C99-based-standards] (PRId16): Likewise.
313 [C99-based-standards] (PRIi16): Likewise.
314 [C99-based-standards] (PRIo16): Likewise.
315 [C99-based-standards] (PRIu16): Likewise.
316 [C99-based-standards] (PRIx16): Likewise.
317 [C99-based-standards] (PRIX16): Likewise.
318 [C99-based-standards] (SCNd16): Likewise.
319 [C99-based-standards] (SCNi16): Likewise.
320 [C99-based-standards] (SCNo16): Likewise.
321 [C99-based-standards] (SCNu16): Likewise.
322 [C99-based-standards] (SCNx16): Likewise.
323 [C99-based-standards] (PRIdLEAST16): Likewise.
324 [C99-based-standards] (PRIiLEAST16): Likewise.
325 [C99-based-standards] (PRIoLEAST16): Likewise.
326 [C99-based-standards] (PRIuLEAST16): Likewise.
327 [C99-based-standards] (PRIxLEAST16): Likewise.
328 [C99-based-standards] (PRIXLEAST16): Likewise.
329 [C99-based-standards] (SCNdLEAST16): Likewise.
330 [C99-based-standards] (SCNiLEAST16): Likewise.
331 [C99-based-standards] (SCNoLEAST16): Likewise.
332 [C99-based-standards] (SCNuLEAST16): Likewise.
333 [C99-based-standards] (SCNxLEAST16): Likewise.
334 [C99-based-standards] (PRIdFAST16): Likewise.
335 [C99-based-standards] (PRIiFAST16): Likewise.
336 [C99-based-standards] (PRIoFAST16): Likewise.
337 [C99-based-standards] (PRIuFAST16): Likewise.
338 [C99-based-standards] (PRIxFAST16): Likewise.
339 [C99-based-standards] (PRIXFAST16): Likewise.
340 [C99-based-standards] (SCNdFAST16): Likewise.
341 [C99-based-standards] (SCNiFAST16): Likewise.
342 [C99-based-standards] (SCNoFAST16): Likewise.
343 [C99-based-standards] (SCNuFAST16): Likewise.
344 [C99-based-standards] (SCNxFAST16): Likewise.
345 [C99-based-standards] (PRId32): Likewise.
346 [C99-based-standards] (PRIi32): Likewise.
347 [C99-based-standards] (PRIo32): Likewise.
348 [C99-based-standards] (PRIu32): Likewise.
349 [C99-based-standards] (PRIx32): Likewise.
350 [C99-based-standards] (PRIX32): Likewise.
351 [C99-based-standards] (SCNd32): Likewise.
352 [C99-based-standards] (SCNi32): Likewise.
353 [C99-based-standards] (SCNo32): Likewise.
354 [C99-based-standards] (SCNu32): Likewise.
355 [C99-based-standards] (SCNx32): Likewise.
356 [C99-based-standards] (PRIdLEAST32): Likewise.
357 [C99-based-standards] (PRIiLEAST32): Likewise.
358 [C99-based-standards] (PRIoLEAST32): Likewise.
359 [C99-based-standards] (PRIuLEAST32): Likewise.
360 [C99-based-standards] (PRIxLEAST32): Likewise.
361 [C99-based-standards] (PRIXLEAST32): Likewise.
362 [C99-based-standards] (SCNdLEAST32): Likewise.
363 [C99-based-standards] (SCNiLEAST32): Likewise.
364 [C99-based-standards] (SCNoLEAST32): Likewise.
365 [C99-based-standards] (SCNuLEAST32): Likewise.
366 [C99-based-standards] (SCNxLEAST32): Likewise.
367 [C99-based-standards] (PRIdFAST32): Likewise.
368 [C99-based-standards] (PRIiFAST32): Likewise.
369 [C99-based-standards] (PRIoFAST32): Likewise.
370 [C99-based-standards] (PRIuFAST32): Likewise.
371 [C99-based-standards] (PRIxFAST32): Likewise.
372 [C99-based-standards] (PRIXFAST32): Likewise.
373 [C99-based-standards] (SCNdFAST32): Likewise.
374 [C99-based-standards] (SCNiFAST32): Likewise.
375 [C99-based-standards] (SCNoFAST32): Likewise.
376 [C99-based-standards] (SCNuFAST32): Likewise.
377 [C99-based-standards] (SCNxFAST32): Likewise.
378 [C99-based-standards] (PRId64): Likewise.
379 [C99-based-standards] (PRIi64): Likewise.
380 [C99-based-standards] (PRIo64): Likewise.
381 [C99-based-standards] (PRIu64): Likewise.
382 [C99-based-standards] (PRIx64): Likewise.
383 [C99-based-standards] (PRIX64): Likewise.
384 [C99-based-standards] (SCNd64): Likewise.
385 [C99-based-standards] (SCNi64): Likewise.
386 [C99-based-standards] (SCNo64): Likewise.
387 [C99-based-standards] (SCNu64): Likewise.
388 [C99-based-standards] (SCNx64): Likewise.
389 [C99-based-standards] (PRIdLEAST64): Likewise.
390 [C99-based-standards] (PRIiLEAST64): Likewise.
391 [C99-based-standards] (PRIoLEAST64): Likewise.
392 [C99-based-standards] (PRIuLEAST64): Likewise.
393 [C99-based-standards] (PRIxLEAST64): Likewise.
394 [C99-based-standards] (PRIXLEAST64): Likewise.
395 [C99-based-standards] (SCNdLEAST64): Likewise.
396 [C99-based-standards] (SCNiLEAST64): Likewise.
397 [C99-based-standards] (SCNoLEAST64): Likewise.
398 [C99-based-standards] (SCNuLEAST64): Likewise.
399 [C99-based-standards] (SCNxLEAST64): Likewise.
400 [C99-based-standards] (PRIdFAST64): Likewise.
401 [C99-based-standards] (PRIiFAST64): Likewise.
402 [C99-based-standards] (PRIoFAST64): Likewise.
403 [C99-based-standards] (PRIuFAST64): Likewise.
404 [C99-based-standards] (PRIxFAST64): Likewise.
405 [C99-based-standards] (PRIXFAST64): Likewise.
406 [C99-based-standards] (SCNdFAST64): Likewise.
407 [C99-based-standards] (SCNiFAST64): Likewise.
408 [C99-based-standards] (SCNoFAST64): Likewise.
409 [C99-based-standards] (SCNuFAST64): Likewise.
410 [C99-based-standards] (SCNxFAST64): Likewise.
411 [C99-based-standards] (PRIdMAX): Likewise.
412 [C99-based-standards] (PRIiMAX): Likewise.
413 [C99-based-standards] (PRIoMAX): Likewise.
414 [C99-based-standards] (PRIuMAX): Likewise.
415 [C99-based-standards] (PRIxMAX): Likewise.
416 [C99-based-standards] (PRIXMAX): Likewise.
417 [C99-based-standards] (SCNdMAX): Likewise.
418 [C99-based-standards] (SCNiMAX): Likewise.
419 [C99-based-standards] (SCNoMAX): Likewise.
420 [C99-based-standards] (SCNuMAX): Likewise.
421 [C99-based-standards] (SCNxMAX): Likewise.
422 [C99-based-standards] (PRIdPTR): Likewise.
423 [C99-based-standards] (PRIiPTR): Likewise.
424 [C99-based-standards] (PRIoPTR): Likewise.
425 [C99-based-standards] (PRIuPTR): Likewise.
426 [C99-based-standards] (PRIxPTR): Likewise.
427 [C99-based-standards] (PRIXPTR): Likewise.
428 [C99-based-standards] (SCNdPTR): Likewise.
429 [C99-based-standards] (SCNiPTR): Likewise.
430 [C99-based-standards] (SCNoPTR): Likewise.
431 [C99-based-standards] (SCNuPTR): Likewise.
432 [C99-based-standards] (SCNxPTR): Likewise.
433 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
435 * conform/data/stdint.h-data: Update comments to clarify
437 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
439 [C99-based standards] (INT8_MAX): Likewise.
440 [C99-based standards] (INT16_MIN): Likewise.
441 [C99-based standards] (INT16_MAX): Likewise.
442 [C99-based standards] (INT32_MIN): Likewise.
443 [C99-based standards] (INT32_MAX): Likewise.
444 [C99-based standards] (INT64_MIN): Likewise.
445 [C99-based standards] (INT64_MAX): Likewise.
446 [C99-based standards] (UINT8_MAX): Likewise.
447 [C99-based standards] (UINT16_MAX): Likewise.
448 [C99-based standards] (UINT32_MAX): Likewise.
449 [C99-based standards] (UINT64_MAX): Likewise.
450 [C99-based standards] (INT_LEAST8_MIN): Likewise.
451 [C99-based standards] (INT_LEAST8_MAX): Likewise.
452 [C99-based standards] (INT_LEAST16_MIN): Likewise.
453 [C99-based standards] (INT_LEAST16_MAX): Likewise.
454 [C99-based standards] (INT_LEAST32_MIN): Likewise.
455 [C99-based standards] (INT_LEAST32_MAX): Likewise.
456 [C99-based standards] (INT_LEAST64_MIN): Likewise.
457 [C99-based standards] (INT_LEAST64_MAX): Likewise.
458 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
459 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
460 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
461 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
462 [C99-based standards] (INT_FAST8_MIN): Likewise.
463 [C99-based standards] (INT_FAST8_MAX): Likewise.
464 [C99-based standards] (INT_FAST16_MIN): Likewise.
465 [C99-based standards] (INT_FAST16_MAX): Likewise.
466 [C99-based standards] (INT_FAST32_MIN): Likewise.
467 [C99-based standards] (INT_FAST32_MAX): Likewise.
468 [C99-based standards] (INT_FAST64_MIN): Likewise.
469 [C99-based standards] (INT_FAST64_MAX): Likewise.
470 [C99-based standards] (UINT_FAST8_MAX): Likewise.
471 [C99-based standards] (UINT_FAST16_MAX): Likewise.
472 [C99-based standards] (UINT_FAST32_MAX): Likewise.
473 [C99-based standards] (UINT_FAST64_MAX): Likewise.
474 [C99-based standards] (INTPTR_MIN): Likewise.
475 [C99-based standards] (INTPTR_MAX): Likewise.
476 [C99-based standards] (UINTPTR_MAX): Likewise.
477 [C99-based standards] (INTMAX_MIN): Likewise.
478 [C99-based standards] (INTMAX_MAX): Likewise.
479 [C99-based standards] (UINTMAX_MAX): Likewise.
480 [C99-based standards] (PTRDIFF_MIN): Likewise.
481 [C99-based standards] (PTRDIFF_MAX): Likewise.
482 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
483 [C99-based standards] (SIZE_MAX): Likewise.
484 [C99-based standards] (WCHAR_MAX): Likewise.
485 [C99-based standards] (WINT_MAX): Likewise.
486 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
488 [C99-based standards] (WCHAR_MIN): Likewise.
489 [C99-based standards] (WINT_MIN): Likewise.
490 [C99-based standards] (*_t): Allow.
491 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
492 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
493 Include math.h-data and complex.h-data. Remove all expectations
494 of math.h and complex.h contents.
495 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
497 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
498 (struct tm): Expect tag.
499 [C99-based-standards] (wcstof): Expect function.
500 [C99-based-standards] (wcstold): Likewise.
501 [C99-based-standards] (wcstoll): Likewise.
502 [C99-based-standards] (wcstoull): Likewise.
503 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
504 macro-int-constant. Specify type.
505 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
507 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
509 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
511 [ISO C standards]: Do not allow headers.
512 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
513 wcs[abcdefghijklmnopqrstuvwxyz]*.
514 [ISO C standards] (*_t): Do not allow.
515 * conform/data/wctype.h-data [C99-based standards] (iswblank):
517 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
518 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
520 [ISO C standards]: Do not allow headers.
521 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
522 is[abcdefghijklmnopqrstuvwxyz]*.
523 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
524 to[abcdefghijklmnopqrstuvwxyz]*.
525 [ISO C standards] (*_t): Do not allow.
526 * conform/data/stdalign.h-data: New file.
527 * conform/data/stdbool.h-data: Likewise.
528 * conform/data/stdnoreturn.h-data: Likewise.
530 2012-11-07 Andreas Jaeger <aj@suse.de>
533 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
534 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
535 guards are changed. Only define if not yet defined, #undef back
536 after including linux/sysctl.h if defined here.
538 2012-11-07 Roland McGrath <roland@hack.frob.com>
541 * manual/filesys.texi (Directory Entries): Typo fix.
542 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
544 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
546 * elf/elf.h (EM_AARCH64): New macro.
547 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
548 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
549 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
550 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
551 (R_AARCH64_TLSDESC): Likewise.
552 (NT_ARM_TLS): Likewise.
553 (NT_ARM_HW_BREAK): Likewise.
554 (NT_ARM_HW_WATCH): Likewise.
556 2012-11-07 Joseph Myers <joseph@codesourcery.com>
559 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
560 (__ieee754_powl): Saturate nonzero exponents with absolute value
561 below 0x1p-79 to +/- 0x1p-79.
562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
563 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
564 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
565 nonzero exponents with absolute value below 0x1p-32 to +/-
567 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
568 (__ieee754_powl): Saturate nonzero exponents with absolute value
569 below 0x1p-79 to +/- 0x1p-79.
570 * math/libm-test.inc (pow_test): Add more tests.
572 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
574 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
575 _dl_s390_cap_flags with kernel. Increase string length.
576 (_dl_s390_platforms): Add z196 and zEC12.
578 2012-11-07 Joseph Myers <joseph@codesourcery.com>
580 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
581 Change XOPEN21K to XOPEN2K.
583 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
585 * string/memmove.c: Use memcpy when possible.
587 2012-11-06 Andreas Jaeger <aj@suse.de>
589 * po/eo.po: Update from translation team.
591 2012-11-06 Joseph Myers <joseph@codesourcery.com>
594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
595 exponent and small x and y exponents, scale x or y up. Increase
596 by 2 the exponent used in scaling up.
597 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
598 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
599 * math/libm-test.inc (fma_test): Add more tests.
600 (fma_test_towardzero): Likewise.
601 (fma_test_downward): Likewise.
602 (fma_test_upward): Likewise.
604 2012-11-05 Joseph Myers <joseph@codesourcery.com>
607 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
611 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
612 namespace for names of struct fields.
613 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
615 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
616 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
618 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
621 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
623 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
625 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
629 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
632 2012-11-04 Joseph Myers <joseph@codesourcery.com>
635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
636 definitely overflow as x * y not x * y + z.
637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
638 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
639 * math/libm-test.inc (fma_test): Add more tests.
640 (fma_test_towardzero): Likewise.
641 (fma_test_downward): Likewise.
642 (fma_test_upward): Likewise.
644 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
648 * include/stub-tag.h: Remove file.
649 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
651 * manual/maint.texi (Porting): Don't reference it.
652 * Makerules ($(objpfx)stubs): Likewise.
653 * dirent/closedir.c: Don't include <stub-tag.h>.
654 * dirent/dirfd.c: Likewise.
655 * dirent/fdopendir.c: Likewise.
656 * dirent/getdents.c: Likewise.
657 * dirent/getdents64.c: Likewise.
658 * dirent/opendir.c: Likewise.
659 * dirent/readdir.c: Likewise.
660 * dirent/readdir64.c: Likewise.
661 * dirent/readdir64_r.c: Likewise.
662 * dirent/readdir_r.c: Likewise.
663 * dirent/rewinddir.c: Likewise.
664 * dirent/seekdir.c: Likewise.
665 * dirent/telldir.c: Likewise.
666 * gmon/profil.c: Likewise.
667 * grp/setgroups.c: Likewise.
668 * inet/if_index.c: Likewise.
669 * io/access.c: Likewise.
670 * io/chdir.c: Likewise.
671 * io/chmod.c: Likewise.
672 * io/chown.c: Likewise.
673 * io/close.c: Likewise.
674 * io/dup.c: Likewise.
675 * io/dup2.c: Likewise.
676 * io/dup3.c: Likewise.
677 * io/euidaccess.c: Likewise.
678 * io/faccessat.c: Likewise.
679 * io/fchdir.c: Likewise.
680 * io/fchmod.c: Likewise.
681 * io/fchmodat.c: Likewise.
682 * io/fchown.c: Likewise.
683 * io/fchownat.c: Likewise.
684 * io/fcntl.c: Likewise.
685 * io/flock.c: Likewise.
686 * io/fstatfs.c: Likewise.
687 * io/fstatfs64.c: Likewise.
688 * io/fstatvfs.c: Likewise.
689 * io/fstatvfs64.c: Likewise.
690 * io/futimens.c: Likewise.
691 * io/fxstat.c: Likewise.
692 * io/fxstat64.c: Likewise.
693 * io/fxstatat.c: Likewise.
694 * io/fxstatat64.c: Likewise.
695 * io/getcwd.c: Likewise.
696 * io/isatty.c: Likewise.
697 * io/lchmod.c: Likewise.
698 * io/lchown.c: Likewise.
699 * io/link.c: Likewise.
700 * io/linkat.c: Likewise.
701 * io/lseek.c: Likewise.
702 * io/lseek64.c: Likewise.
703 * io/lxstat64.c: Likewise.
704 * io/mkdir.c: Likewise.
705 * io/mkdirat.c: Likewise.
706 * io/mkfifo.c: Likewise.
707 * io/mkfifoat.c: Likewise.
708 * io/open.c: Likewise.
709 * io/open64.c: Likewise.
710 * io/openat.c: Likewise.
711 * io/openat64.c: Likewise.
712 * io/pipe.c: Likewise.
713 * io/pipe2.c: Likewise.
714 * io/poll.c: Likewise.
715 * io/posix_fadvise.c: Likewise.
716 * io/posix_fadvise64.c: Likewise.
717 * io/posix_fallocate.c: Likewise.
718 * io/posix_fallocate64.c: Likewise.
719 * io/read.c: Likewise.
720 * io/readlink.c: Likewise.
721 * io/readlinkat.c: Likewise.
722 * io/rmdir.c: Likewise.
723 * io/sendfile.c: Likewise.
724 * io/sendfile64.c: Likewise.
725 * io/statfs.c: Likewise.
726 * io/statfs64.c: Likewise.
727 * io/statvfs.c: Likewise.
728 * io/statvfs64.c: Likewise.
729 * io/symlink.c: Likewise.
730 * io/symlinkat.c: Likewise.
731 * io/ttyname.c: Likewise.
732 * io/ttyname_r.c: Likewise.
733 * io/umask.c: Likewise.
734 * io/unlink.c: Likewise.
735 * io/unlinkat.c: Likewise.
736 * io/utime.c: Likewise.
737 * io/utimensat.c: Likewise.
738 * io/write.c: Likewise.
739 * io/xmknod.c: Likewise.
740 * io/xmknodat.c: Likewise.
741 * io/xstat.c: Likewise.
742 * io/xstat64.c: Likewise.
743 * login/getpt.c: Likewise.
744 * login/grantpt.c: Likewise.
745 * login/unlockpt.c: Likewise.
746 * math/e_acoshl.c: Likewise.
747 * math/e_acosl.c: Likewise.
748 * math/e_asinl.c: Likewise.
749 * math/e_atan2l.c: Likewise.
750 * math/e_atanhl.c: Likewise.
751 * math/e_coshl.c: Likewise.
752 * math/e_expl.c: Likewise.
753 * math/e_fmodl.c: Likewise.
754 * math/e_gammal_r.c: Likewise.
755 * math/e_hypotl.c: Likewise.
756 * math/e_j0l.c: Likewise.
757 * math/e_j1l.c: Likewise.
758 * math/e_jnl.c: Likewise.
759 * math/e_lgammal_r.c: Likewise.
760 * math/e_log10l.c: Likewise.
761 * math/e_log2l.c: Likewise.
762 * math/e_logl.c: Likewise.
763 * math/e_powl.c: Likewise.
764 * math/e_rem_pio2l.c: Likewise.
765 * math/e_sinhl.c: Likewise.
766 * math/e_sqrtl.c: Likewise.
767 * math/fclrexcpt.c: Likewise.
768 * math/fedisblxcpt.c: Likewise.
769 * math/feenablxcpt.c: Likewise.
770 * math/fegetenv.c: Likewise.
771 * math/fegetexcept.c: Likewise.
772 * math/fegetround.c: Likewise.
773 * math/feholdexcpt.c: Likewise.
774 * math/fesetenv.c: Likewise.
775 * math/fesetround.c: Likewise.
776 * math/feupdateenv.c: Likewise.
777 * math/fgetexcptflg.c: Likewise.
778 * math/fraiseexcpt.c: Likewise.
779 * math/fsetexcptflg.c: Likewise.
780 * math/ftestexcept.c: Likewise.
781 * math/k_cosl.c: Likewise.
782 * math/k_rem_pio2l.c: Likewise.
783 * math/k_sinl.c: Likewise.
784 * math/k_tanl.c: Likewise.
785 * math/s_asinhl.c: Likewise.
786 * math/s_atanl.c: Likewise.
787 * math/s_cbrtl.c: Likewise.
788 * math/s_erfl.c: Likewise.
789 * math/s_expm1l.c: Likewise.
790 * math/s_log1pl.c: Likewise.
791 * math/s_tanhl.c: Likewise.
792 * misc/acct.c: Likewise.
793 * misc/brk.c: Likewise.
794 * misc/chflags.c: Likewise.
795 * misc/chroot.c: Likewise.
796 * misc/fchflags.c: Likewise.
797 * misc/fgetxattr.c: Likewise.
798 * misc/flistxattr.c: Likewise.
799 * misc/fremovexattr.c: Likewise.
800 * misc/fsetxattr.c: Likewise.
801 * misc/fsync.c: Likewise.
802 * misc/ftruncate.c: Likewise.
803 * misc/futimes.c: Likewise.
804 * misc/futimesat.c: Likewise.
805 * misc/getdomain.c: Likewise.
806 * misc/getdtsz.c: Likewise.
807 * misc/gethostid.c: Likewise.
808 * misc/gethostname.c: Likewise.
809 * misc/getloadavg.c: Likewise.
810 * misc/getpagesize.c: Likewise.
811 * misc/getsysstats.c: Likewise.
812 * misc/getxattr.c: Likewise.
813 * misc/gtty.c: Likewise.
814 * misc/ioctl.c: Likewise.
815 * misc/lgetxattr.c: Likewise.
816 * misc/listxattr.c: Likewise.
817 * misc/llistxattr.c: Likewise.
818 * misc/lremovexattr.c: Likewise.
819 * misc/lsetxattr.c: Likewise.
820 * misc/lutimes.c: Likewise.
821 * misc/madvise.c: Likewise.
822 * misc/mincore.c: Likewise.
823 * misc/mlock.c: Likewise.
824 * misc/mlockall.c: Likewise.
825 * misc/mmap.c: Likewise.
826 * misc/mprotect.c: Likewise.
827 * misc/msync.c: Likewise.
828 * misc/munlock.c: Likewise.
829 * misc/munlockall.c: Likewise.
830 * misc/munmap.c: Likewise.
831 * misc/preadv.c: Likewise.
832 * misc/preadv64.c: Likewise.
833 * misc/ptrace.c: Likewise.
834 * misc/pwritev.c: Likewise.
835 * misc/pwritev64.c: Likewise.
836 * misc/readv.c: Likewise.
837 * misc/reboot.c: Likewise.
838 * misc/remap_file_pages.c: Likewise.
839 * misc/removexattr.c: Likewise.
840 * misc/revoke.c: Likewise.
841 * misc/select.c: Likewise.
842 * misc/setdomain.c: Likewise.
843 * misc/setegid.c: Likewise.
844 * misc/seteuid.c: Likewise.
845 * misc/sethostid.c: Likewise.
846 * misc/sethostname.c: Likewise.
847 * misc/setregid.c: Likewise.
848 * misc/setreuid.c: Likewise.
849 * misc/setxattr.c: Likewise.
850 * misc/sstk.c: Likewise.
851 * misc/stty.c: Likewise.
852 * misc/swapoff.c: Likewise.
853 * misc/swapon.c: Likewise.
854 * misc/sync.c: Likewise.
855 * misc/syncfs.c: Likewise.
856 * misc/syscall.c: Likewise.
857 * misc/truncate.c: Likewise.
858 * misc/ualarm.c: Likewise.
859 * misc/usleep.c: Likewise.
860 * misc/ustat.c: Likewise.
861 * misc/utimes.c: Likewise.
862 * misc/vhangup.c: Likewise.
863 * misc/writev.c: Likewise.
864 * posix/_exit.c: Likewise.
865 * posix/alarm.c: Likewise.
866 * posix/execve.c: Likewise.
867 * posix/fexecve.c: Likewise.
868 * posix/fork.c: Likewise.
869 * posix/fpathconf.c: Likewise.
870 * posix/getaddrinfo.c: Likewise.
871 * posix/getegid.c: Likewise.
872 * posix/geteuid.c: Likewise.
873 * posix/getgid.c: Likewise.
874 * posix/getgroups.c: Likewise.
875 * posix/getlogin.c: Likewise.
876 * posix/getlogin_r.c: Likewise.
877 * posix/getpgid.c: Likewise.
878 * posix/getpid.c: Likewise.
879 * posix/getppid.c: Likewise.
880 * posix/getresgid.c: Likewise.
881 * posix/getresuid.c: Likewise.
882 * posix/getsid.c: Likewise.
883 * posix/getuid.c: Likewise.
884 * posix/glob64.c: Likewise.
885 * posix/nanosleep.c: Likewise.
886 * posix/pathconf.c: Likewise.
887 * posix/pause.c: Likewise.
888 * posix/posix_madvise.c: Likewise.
889 * posix/pread.c: Likewise.
890 * posix/pread64.c: Likewise.
891 * posix/pwrite.c: Likewise.
892 * posix/pwrite64.c: Likewise.
893 * posix/sched_getaffinity.c: Likewise.
894 * posix/sched_getp.c: Likewise.
895 * posix/sched_gets.c: Likewise.
896 * posix/sched_primax.c: Likewise.
897 * posix/sched_primin.c: Likewise.
898 * posix/sched_rr_gi.c: Likewise.
899 * posix/sched_setaffinity.c: Likewise.
900 * posix/sched_setp.c: Likewise.
901 * posix/sched_sets.c: Likewise.
902 * posix/sched_yield.c: Likewise.
903 * posix/setgid.c: Likewise.
904 * posix/setlogin.c: Likewise.
905 * posix/setpgid.c: Likewise.
906 * posix/setresgid.c: Likewise.
907 * posix/setresuid.c: Likewise.
908 * posix/setsid.c: Likewise.
909 * posix/setuid.c: Likewise.
910 * posix/sleep.c: Likewise.
911 * posix/spawni.c: Likewise.
912 * posix/sysconf.c: Likewise.
913 * posix/times.c: Likewise.
914 * posix/wait.c: Likewise.
915 * posix/wait3.c: Likewise.
916 * posix/wait4.c: Likewise.
917 * posix/waitpid.c: Likewise.
918 * resolv/gai_sigqueue.c: Likewise.
919 * resource/getpriority.c: Likewise.
920 * resource/getrlimit.c: Likewise.
921 * resource/getrusage.c: Likewise.
922 * resource/nice.c: Likewise.
923 * resource/setpriority.c: Likewise.
924 * resource/setrlimit.c: Likewise.
925 * resource/ulimit.c: Likewise.
926 * rt/aio_cancel.c: Likewise.
927 * rt/aio_fsync.c: Likewise.
928 * rt/aio_read.c: Likewise.
929 * rt/aio_sigqueue.c: Likewise.
930 * rt/aio_suspend.c: Likewise.
931 * rt/aio_write.c: Likewise.
932 * rt/clock_getres.c: Likewise.
933 * rt/clock_gettime.c: Likewise.
934 * rt/clock_nanosleep.c: Likewise.
935 * rt/clock_settime.c: Likewise.
936 * rt/lio_listio.c: Likewise.
937 * rt/mq_close.c: Likewise.
938 * rt/mq_getattr.c: Likewise.
939 * rt/mq_notify.c: Likewise.
940 * rt/mq_open.c: Likewise.
941 * rt/mq_receive.c: Likewise.
942 * rt/mq_send.c: Likewise.
943 * rt/mq_setattr.c: Likewise.
944 * rt/mq_timedreceive.c: Likewise.
945 * rt/mq_timedsend.c: Likewise.
946 * rt/mq_unlink.c: Likewise.
947 * rt/shm_open.c: Likewise.
948 * rt/shm_unlink.c: Likewise.
949 * rt/timer_create.c: Likewise.
950 * rt/timer_delete.c: Likewise.
951 * rt/timer_getoverr.c: Likewise.
952 * rt/timer_gettime.c: Likewise.
953 * rt/timer_settime.c: Likewise.
954 * setjmp/__longjmp.c: Likewise.
955 * setjmp/setjmp.c: Likewise.
956 * signal/kill.c: Likewise.
957 * signal/killpg.c: Likewise.
958 * signal/raise.c: Likewise.
959 * signal/sigaction.c: Likewise.
960 * signal/sigaltstack.c: Likewise.
961 * signal/sigblock.c: Likewise.
962 * signal/sigignore.c: Likewise.
963 * signal/sigintr.c: Likewise.
964 * signal/signal.c: Likewise.
965 * signal/sigpause.c: Likewise.
966 * signal/sigpending.c: Likewise.
967 * signal/sigqueue.c: Likewise.
968 * signal/sigreturn.c: Likewise.
969 * signal/sigset.c: Likewise.
970 * signal/sigsetmask.c: Likewise.
971 * signal/sigstack.c: Likewise.
972 * signal/sigsuspend.c: Likewise.
973 * signal/sigtimedwait.c: Likewise.
974 * signal/sigvec.c: Likewise.
975 * signal/sigwait.c: Likewise.
976 * signal/sigwaitinfo.c: Likewise.
977 * signal/sysv_signal.c: Likewise.
978 * socket/accept.c: Likewise.
979 * socket/accept4.c: Likewise.
980 * socket/bind.c: Likewise.
981 * socket/connect.c: Likewise.
982 * socket/getpeername.c: Likewise.
983 * socket/getsockname.c: Likewise.
984 * socket/getsockopt.c: Likewise.
985 * socket/isfdtype.c: Likewise.
986 * socket/listen.c: Likewise.
987 * socket/recv.c: Likewise.
988 * socket/recvfrom.c: Likewise.
989 * socket/recvmsg.c: Likewise.
990 * socket/send.c: Likewise.
991 * socket/sendmsg.c: Likewise.
992 * socket/sendto.c: Likewise.
993 * socket/setsockopt.c: Likewise.
994 * socket/shutdown.c: Likewise.
995 * socket/sockatmark.c: Likewise.
996 * socket/socket.c: Likewise.
997 * socket/socketpair.c: Likewise.
998 * stdio-common/ctermid.c: Likewise.
999 * stdio-common/cuserid.c: Likewise.
1000 * stdio-common/remove.c: Likewise.
1001 * stdio-common/rename.c: Likewise.
1002 * stdio-common/renameat.c: Likewise.
1003 * stdio-common/tempname.c: Likewise.
1004 * stdlib/getcontext.c: Likewise.
1005 * stdlib/makecontext.c: Likewise.
1006 * stdlib/setcontext.c: Likewise.
1007 * stdlib/swapcontext.c: Likewise.
1008 * stdlib/system.c: Likewise.
1009 * streams/fattach.c: Likewise.
1010 * streams/fdetach.c: Likewise.
1011 * streams/getmsg.c: Likewise.
1012 * streams/getpmsg.c: Likewise.
1013 * streams/putmsg.c: Likewise.
1014 * streams/putpmsg.c: Likewise.
1015 * sysdeps/unix/bsd/getpt.c: Likewise.
1016 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1017 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1018 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1021 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1022 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1023 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1024 * sysvipc/msgctl.c: Likewise.
1025 * sysvipc/msgget.c: Likewise.
1026 * sysvipc/msgrcv.c: Likewise.
1027 * sysvipc/msgsnd.c: Likewise.
1028 * sysvipc/semctl.c: Likewise.
1029 * sysvipc/semget.c: Likewise.
1030 * sysvipc/semop.c: Likewise.
1031 * sysvipc/semtimedop.c: Likewise.
1032 * sysvipc/shmat.c: Likewise.
1033 * sysvipc/shmctl.c: Likewise.
1034 * sysvipc/shmdt.c: Likewise.
1035 * sysvipc/shmget.c: Likewise.
1036 * termios/tcdrain.c: Likewise.
1037 * termios/tcflow.c: Likewise.
1038 * termios/tcflush.c: Likewise.
1039 * termios/tcgetattr.c: Likewise.
1040 * termios/tcgetpgrp.c: Likewise.
1041 * termios/tcsendbrk.c: Likewise.
1042 * termios/tcsetattr.c: Likewise.
1043 * termios/tcsetpgrp.c: Likewise.
1044 * time/adjtime.c: Likewise.
1045 * time/clock.c: Likewise.
1046 * time/getitimer.c: Likewise.
1047 * time/gettimeofday.c: Likewise.
1048 * time/setitimer.c: Likewise.
1049 * time/settimeofday.c: Likewise.
1050 * time/stime.c: Likewise.
1051 * time/time.c: Likewise.
1053 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
1055 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1058 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1060 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1062 2012-11-03 Joseph Myers <joseph@codesourcery.com>
1065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1066 FE_TONEAREST before applying Dekker multiplication and Knuth
1067 addition. Clear inexact exceptions and check for exact zero
1069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1070 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1071 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1072 * math/libm-test.inc (fma_test): Add more tests.
1073 (fma_test_towardzero): Likewise.
1074 (fma_test_downward): Likewise.
1075 (fma_test_upward): Likewise.
1076 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1078 (libc_fesetround): New macro.
1079 (libc_fesetroundf): Likewise.
1080 (libc_fesetroundl): Likewise.
1081 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1083 (libc_fesetround_387): Likewise.
1084 (libc_fesetroundf): New macro.
1085 (libc_fesetround): Likewise.
1086 (libc_fesetroundl): Likewise.
1087 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1089 (libc_fesetroundf): New macro.
1090 (libc_fesetround): Likewise.
1091 (libc_fesetroundl): Likewise.
1092 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1093 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1094 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1096 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1097 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1099 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1100 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1102 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1106 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1107 integer constant usable in #if and use that to give value to enum
1109 (FE_DIVBYZERO): Likewise.
1110 (FE_UNDERFLOW): Likewise.
1111 (FE_OVERFLOW): Likewise.
1112 (FE_INVALID): Likewise.
1113 (FE_INVALID_SNAN): Likewise.
1114 (FE_INVALID_ISI): Likewise.
1115 (FE_INVALID_IDI): Likewise.
1116 (FE_INVALID_ZDZ): Likewise.
1117 (FE_INVALID_IMZ): Likewise.
1118 (FE_INVALID_COMPARE): Likewise.
1119 (FE_INVALID_SOFTWARE): Likewise.
1120 (FE_INVALID_SQRT): Likewise.
1121 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1122 (FE_TONEAREST): Likewise.
1123 (FE_TOWARDZERO): Likewise.
1124 (FE_UPWARD): Likewise.
1125 (FE_DOWNWARD): Likewise.
1126 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1127 (FE_DIVBYZERO): Likewise.
1128 (FE_OVERFLOW): Likewise.
1129 (FE_UNDERFLOW): Likewise.
1130 (FE_INEXACT): Likewise.
1131 (FE_TONEAREST): Likewise.
1132 (FE_DOWNWARD): Likewise.
1133 (FE_UPWARD): Likewise.
1134 (FE_TOWARDZERO): Likewise.
1135 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1136 (FE_UNDERFLOW): Likewise.
1137 (FE_OVERFLOW): Likewise.
1138 (FE_DIVBYZERO): Likewise.
1139 (FE_INVALID): Likewise.
1140 (FE_TONEAREST): Likewise.
1141 (FE_TOWARDZERO): Likewise.
1142 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1143 (FE_OVERFLOW): Likewise.
1144 (FE_UNDERFLOW): Likewise.
1145 (FE_DIVBYZERO): Likewise.
1146 (FE_INEXACT): Likewise.
1147 (FE_TONEAREST): Likewise.
1148 (FE_TOWARDZERO): Likewise.
1149 (FE_UPWARD): Likewise.
1150 (FE_DOWNWARD): Likewise.
1151 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1152 (FE_DIVBYZERO): Likewise.
1153 (FE_OVERFLOW): Likewise.
1154 (FE_UNDERFLOW): Likewise.
1155 (FE_INEXACT): Likewise.
1156 (FE_TONEAREST): Likewise.
1157 (FE_DOWNWARD): Likewise.
1158 (FE_UPWARD): Likewise.
1159 (FE_TOWARDZERO): Likewise.
1161 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1163 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1165 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1167 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1168 commands. Quote $PWD.
1169 (blacklist_exports): Don't use remove_newlines. Replace "declare
1171 (remove_newlines): Remove.
1173 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1175 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1176 * stdlib/stdlib.h (atof): Moved to ...
1177 * include/bits/stdlib-float.h: Here. New file.
1178 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1179 * stdlib/bits/stdlib-float.h: New file.
1180 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1182 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1185 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1187 * conform/conformtest.pl (@headers): Add fenv.h.
1188 * conform/data/fenv.h-data: New file.
1189 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1190 include of <math/fenv.h>.
1192 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1193 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1194 && !UNIX98]. Enables tests for XOPEN2K8.
1195 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1196 POSIX2008]: Likewise.
1198 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1199 (struct rusage): Do not expect type or its members.
1202 * math/math.h (FP_NAN): Define macro to integer constant usable in
1203 #if and use that to give value to enum constant.
1204 (FP_INFINITE): Likewise.
1205 (FP_ZERO): Likewise.
1206 (FP_SUBNORMAL): Likewise.
1207 (FP_NORMAL): Likewise.
1209 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1211 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1212 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1215 2012-11-02 Roland McGrath <roland@hack.frob.com>
1217 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1218 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1219 autoconf-time if not.
1220 * configure.in: Remove AC_PREREQ.
1222 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1224 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1225 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1226 of the internal implementation.
1228 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1230 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1231 except include of <misc/sys/syslog.h>.
1233 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1236 function returns with a NULL context exit with zero.
1238 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1240 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1242 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1244 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1245 (run_program_cmd): This.
1246 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1247 (tst_langinfo): New variable. Use it.
1249 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1251 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1252 floating point opcodes.
1254 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1256 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1259 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1261 * sysdeps/mach/hurd/powerpc: Remove directory.
1262 * sysdeps/mach/powerpc: Likewise.
1264 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1266 * scripts/check-local-headers.sh: Ignore c++ headers.
1268 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1270 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1271 __libc_cleanup_region_start argument.
1273 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1277 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1278 x * y using scaling, not as x * y + z.
1279 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1280 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1281 * math/libm-test.inc (fma_test): Add more tests.
1282 (fma_test_towardzero): Likewise.
1283 (fma_test_downward): Likewise.
1284 (fma_test_upward): Likewise.
1286 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1288 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1290 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1292 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1295 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1297 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1299 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1306 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1309 Fix the order of the list for glibc 2.17.
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1313 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1317 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1320 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1321 for low part of x being zero before using __atanl (y).
1322 * math/libm-test.inc (atan2_test): Add another test.
1324 * manual/install.texi (Configuring and compiling): Document
1325 general use of test-wrapper and test-wrapper-env.
1326 * INSTALL: Regenerated.
1328 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1329 (__fma): Do not extract and scale down low bits on after-rounding
1330 systems when result rounded to normal precision would have normal
1332 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1333 (__fmal): Do not extract and scale down low bits on after-rounding
1334 systems when result rounded to normal precision would have normal
1336 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1337 (__fmal): Do not extract and scale down low bits on after-rounding
1338 systems when result rounded to normal precision would have normal
1340 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1342 (fma_test): Add more tests.
1343 (fma_test_towardzero): Likewise.
1344 (fma_test_downward): Likewise.
1345 (fma_test_upward): Likewise.
1347 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1349 * sysdeps/i386/tininess.h: Renamed to ...
1350 * sysdeps/x86/tininess.h: This.
1351 * sysdeps/x86_64/tininess.h: Removed.
1353 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1355 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1356 input. Use $(build-program-cmd).
1357 ($(objpfx)tst-array1-static.out): Likewise.
1358 ($(objpfx)tst-array2.out): Likewise.
1359 ($(objpfx)tst-array3.out): Likewise.
1360 ($(objpfx)tst-array4.out): Likewise.
1361 ($(objpfx)tst-array5.out): Likewise.
1362 ($(objpfx)tst-array5-static.out): Likewise.
1364 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1366 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1369 * nss/nsswitch.h (nss_interface_function): Provide new
1370 macro for use with NSS functions.
1371 * grp/initgroups.c: Use new macro.
1372 * nss/getXXbyYY.c: Likewise.
1373 * nss/getXXbyYY_r.c: Likewise.
1374 * nss/getXXent.c: Likewise.
1375 * nss/getXXent_r.c: Likewise.
1376 * sysdeps/posix/getaddrinfo.c: Likewise.
1378 2012-10-30 Andreas Jaeger <aj@suse.de>
1380 * po/ru.po: Update Russion translation from translation project.
1382 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1387 result and shift together with sticky bit instead of replicating
1388 round-to-nearest rounding.
1389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1390 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1391 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1392 missing underflow exceptions.
1393 (fma_test_towardzero): Add more tests.
1394 (fma_test_downward): Likewise.
1395 (fma_test_upward): Likewise.
1398 * sysdeps/generic/tininess.h: New file.
1399 * sysdeps/i386/tininess.h: Likewise.
1400 * sysdeps/sh/tininess.h: Likewise.
1401 * sysdeps/x86_64/tininess.h: Likewise.
1402 * stdlib/tst-strtod-underflow.c: Likewise.
1403 * stdlib/tst-tininess.c: Likewise.
1404 * stdlib/strtod_l.c: Include <tininess.h>.
1405 (round_and_return): Do not set errno for exact underflow cases.
1406 Force an underflow exception when setting errno for underflow.
1407 Determine underflow based on rounding to normal precision if
1408 TININESS_AFTER_ROUNDING.
1409 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1410 ERANGE for exact underflow cases.
1411 * stdlib/Makefile (tests): Add tst-tininess and
1412 tst-strtod-underflow.
1413 ($(objpfx)tst-tininess): Use $(link-libm).
1414 ($(objpfx)tst-strtod-underflow): Likewise.
1416 2012-10-30 Andreas Jaeger <aj@suse.de>
1419 * elf/Makefile (tests): Remove conditional for have-initfini-array
1420 since this is now always required and the variable does not exist
1422 (tests-static): Likewise.
1423 (modules-names): Likewise.
1425 * po/eo.po: Add Esperanto translation from translation project.
1427 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1428 merged with constructor/destructor.
1429 (init_array): Likewise.
1430 * elf/tst-array2dep.c (fini_array): Likewise.
1431 (init_array): Likewise.
1433 2012-10-29 Mike Frysinger <vapier@gentoo.org>
1435 * manual/message.texi: Delete @cartouche tags.
1437 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1439 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1441 * sysdeps/mach/hurd/fsync.c: Likewise.
1443 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1444 [_POSIX_REALTIME_SIGNALS]: Change condition to
1445 [_POSIX_REALTIME_SIGNALS > 0].
1447 2012-10-27 Andreas Jaeger <aj@suse.de>
1449 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1450 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1451 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1452 [__WORDSIZE != 64]: Likewise.
1454 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1456 * iconvdata/tst-table.sh: Remove ${SHELL}.
1457 * iconvdata/tst-tables.sh: Likewise.
1459 2012-10-25 David S. Miller <davem@davemloft.net>
1461 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1462 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1467 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1468 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1469 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1472 2012-10-25 Roland McGrath <roland@hack.frob.com>
1474 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1475 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1478 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1479 Jim Blandy <jimb@codesourcery.com>
1481 * scripts/cross-test-ssh.sh: New file.
1482 * manual/install.texi (Configuring and compiling): Document use of
1484 * INSTALL: Regenerated.
1486 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1488 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1491 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1493 * Makeconfig (run-program-prefix): Fix comment.
1495 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1496 Jim Blandy <jimb@codesourcery.com>
1498 * Makeconfig (test-wrapper): New variable,
1499 (test-wrapper-env): Likewise.
1500 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1501 (run-built-tests): Define to yes.
1502 (run-program-prefix): Use $(test-wrapper).
1503 (built-program-cmd): Likewise.
1504 * Rules (make-test-out): Use $(test-wrapper-env) and
1505 $(host-built-program-cmd).
1506 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1507 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1509 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1510 $(test-wrapper-env) to tst-rtld-load-self.sh.
1511 ($(objpfx)order2.out): Use $(test-wrapper).
1512 ($(objpfx)tst-initorder.out): Likewise.
1513 ($(objpfx)tst-initorder2.out): Likewise.
1514 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1515 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1516 (test_wrapper_env): New variable. Use it to run ld.so.
1517 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1518 Use it to run ld.so.
1519 (test_wrapper_env): Likewise.
1520 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1521 $(test-wrapper) to run-iconv-test.sh.
1522 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1523 (ICONV): Use $test_wrapper.
1524 * posix/Makefile ($(objpfx)globtest.out): Pass
1525 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1526 globtest.sh, not $(run-program-prefix).
1527 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1528 (test_wrapper): Likewise.
1529 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1530 set together with run_via_rtld_prefix.
1531 (run_program_prefix): Define in terms of test_wrapper and
1532 run_via_rtld_prefix.
1534 2012-10-24 Roland McGrath <roland@hack.frob.com>
1536 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1537 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1541 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1542 Declare __clock_getres, __clock_gettime, __clock_settime,
1543 __clock_nanosleep, and __clock_getcpuclockid.
1544 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1545 Remove librt_hidden_def (clock_gettime).
1546 * sysdeps/unix/clock_gettime.c: Likewise.
1547 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1548 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1549 * rt/clock_getres.c: Define __clock_getres as an alias.
1550 * sysdeps/posix/clock_getres.c: Likewise.
1551 * rt/clock_settime.c: Define __clock_settime as an alias.
1552 * sysdeps/unix/clock_settime.c: Likewise.
1553 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1554 * sysdeps/unix/clock_nanosleep.c: Likewise.
1555 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1556 * rt/clock-compat.c: New file.
1557 * rt/Makefile (librt-routines): Add clock-compat and move
1558 $(clock-routines) to ...
1559 (routines): ... here, new variable.
1560 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1561 Don't add get_clockfreq here.
1562 * rt/Versions (libc: GLIBC_2.17): New version set.
1563 Add clock_* symbols here.
1564 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1565 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1566 (GLIBC_2.17): Add clock_* symbols.
1567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1569 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1578 * NEWS: Mention the move.
1580 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1581 Use __open, __read, __close rather than their public counterparts.
1582 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1583 (__get_clockfreq_via_cpuinfo): Likewise.
1584 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1585 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1587 * config.h.in (HAVE_IFUNC): New #undef.
1588 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1590 * configure: Regenerated.
1592 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1594 * configure.in: Move READELF check to start of file.
1595 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1596 libc_cv_asm_gnu_indirect_function in the process.
1597 * configure: Regenerated.
1599 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1601 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1602 send the output to /dev/null.
1603 (libc_cv_cc_with_libunwind): Likewise.
1604 (libc_cv_as_noexecstack): Likewise.
1605 * configure: Regenerate.
1607 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1609 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1611 * posix/globtest.sh (TMPDIR): Do not set.
1612 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1613 (testout): Likewise.
1615 2012-10-24 Andreas Jaeger <aj@suse.de>
1617 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1618 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1619 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1620 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1621 posix_fadvise64, posix_fallocate64.
1623 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1624 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1625 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1627 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1629 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1631 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1632 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1633 <bits/fcntl-linux.h>.
1634 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1636 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1637 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1638 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1639 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1640 [__WORDSIZE != 64]: Likewise.
1642 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1644 * Makeconfig (run-built-tests): New variable.
1645 * Rules [$(cross-compiling) = yes]: Change condition to
1646 [$(run-built-tests) = no].
1647 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1648 to [$(run-built-tests) = yes].
1649 * elf/Makefile [$(cross-compiling) = no]: Likewise
1650 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1651 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1652 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1653 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1654 * io/Makefile [$(cross-compiling) = no]: Likewise.
1655 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1656 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1657 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1658 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1659 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1660 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1661 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1662 * string/Makefile [$(cross-compiling) = no]: Likewise.
1664 * posix/Makefile ($(objpfx)globtest.out): Pass
1665 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1666 $(rtld-installed-name).
1667 * posix/globtest.sh (elf_objpfx): Remove variable.
1668 (rtld_installed_name): Likewise.
1669 (library_path): Likewise.
1670 (run_program_prefix): New variable. Use for running globtest
1673 2012-10-23 Jim Blandy <jimb@codesourcery.com>
1674 Joseph Myers <joseph@codesourcery.com>
1676 * Makeconfig (host-built-program-cmd): New variable.
1677 * elf/Makefile (tst-stackguard1-ARGS): Use
1678 $(host-built-program-cmd).
1679 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1680 (tst-spawn-ARGS): Likewise.
1681 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1683 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1684 Jim Blandy <jimb@codesourcery.com>
1686 * Makeconfig (run-via-rtld-prefix): New variable.
1687 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1688 (built-program-cmd): Likewise.
1690 2012-10-22 Andreas Jaeger <aj@suse.de>
1692 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1693 __O_RSYNC if it exists, otherwise to O_SYNC.
1695 2012-10-22 Jim Blandy <jimb@codesourcery.com>
1696 Joseph Myers <joseph@codesourcery.com>
1698 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1700 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1702 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1705 2012-10-22 Andreas Jaeger <aj@suse.de>
1707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1714 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1715 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1722 2012-10-21 Jim Blandy <jimb@codesourcery.com>
1723 Joseph Myers <joseph@codesourcery.com>
1725 * config.make.in (NM): New variable.
1727 2012-10-21 Andreas Jaeger <aj@suse.de>
1729 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1730 definitions and declarations that are provided by
1731 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1733 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1736 * elf/Makefile (tests-static): Add tst-leaks1-static.
1737 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1738 ($(objpfx)tst-leaks1-static): New rule.
1739 ($(objpfx)tst-leaks1-static-mem): Likewise.
1740 (tst-leaks1-static-ENV): New macro.
1741 * elf/dl-open.c (dl_open_worker): Check the main application
1742 only if SHARED is defined.
1743 * elf/tst-leaks1-static.c: New file.
1745 2012-10-20 Andreas Jaeger <aj@suse.de>
1747 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1748 generic values for Linux.
1749 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1750 and declarations that are provided by <bits/fcntl-linux.h> and
1751 include <bits/fcntl-linux.h>.
1752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1753 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1755 2012-10-20 Roland McGrath <roland@hack.frob.com>
1757 * io/fcntl.h: Move include of <bits/types.h> to the top and
1758 include it unconditionally.
1760 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1762 * wcsmbs/Makefile (tests-ifunc): New variable.
1763 (tests): Add $(tests-ifunc).
1764 * wcsmbs/test-wcschr-ifunc.c: New file.
1765 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1766 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1767 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1768 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1769 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1771 * string/Makefile (tests-ifunc): New variable.
1772 (tests): Add $(tests-ifunc).
1773 * string/test-memccpy.c (TEST_NAME): New macro.
1774 * string/test-memchr.c (TEST_NAME): Likewise.
1775 * string/test-memcmp.c (TEST_NAME): Likewise.
1776 * string/test-memcpy.c (TEST_NAME): Likewise.
1777 * string/test-memmem.c (TEST_NAME): Likewise.
1778 * string/test-memmove.c (TEST_NAME): Likewise.
1779 * string/test-memset.c (TEST_NAME): Likewise.
1780 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1781 * string/test-stpcpy.c (TEST_NAME): Likewise.
1782 * string/test-stpncpy.c (TEST_NAME): Likewise.
1783 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1784 * string/test-strcasestr.c (TEST_NAME): Likewise.
1785 * string/test-strcat.c (TEST_NAME): Likewise.
1786 * string/test-strchr.c (TEST_NAME): Likewise.
1787 * string/test-strcmp.c(TEST_NAME): Likewise.
1788 * string/test-strcpy.c (TEST_NAME): Likewise.
1789 * string/test-strcspn.c (TEST_NAME): Likewise.
1790 * string/test-strlen.c (TEST_NAME): Likewise.
1791 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1792 * string/test-strncmp.c (TEST_NAME): Likewise.
1793 * string/test-strncpy.c (TEST_NAME): Likewise.
1794 * string/test-strnlen.c (TEST_NAME): Likewise.
1795 * string/test-strpbrk.c (TEST_NAME): Likewise.
1796 * string/test-strrchr.c (TEST_NAME): Likewise.
1797 * string/test-strspn.c (TEST_NAME): Likewise.
1798 * string/test-strstr.c (TEST_NAME): Likewise.
1799 * string/test-bcopy-ifunc.c: New file.
1800 * string/test-bzero-ifunc.c: Likewise.
1801 * string/test-memccpy-ifunc.c: Likewise.
1802 * string/test-memchr-ifunc.c: Likewise.
1803 * string/test-memcmp-ifunc.c: Likewise.
1804 * string/test-memcpy-ifunc.c: Likewise.
1805 * string/test-memmem-ifunc.c: Likewise.
1806 * string/test-memmove-ifunc.c: Likewise.
1807 * string/test-mempcpy-ifunc.c: Likewise.
1808 * string/test-memset-ifunc.c: Likewise.
1809 * string/test-rawmemchr-ifunc.c: Likewise.
1810 * string/test-stpcpy-ifunc.c: Likewise.
1811 * string/test-stpncpy-ifunc.c: Likewise.
1812 * string/test-strcasecmp-ifunc.c: Likewise.
1813 * string/test-strcasestr-ifunc.c: Likewise.
1814 * string/test-strcat-ifunc.c: Likewise.
1815 * string/test-strchr-ifunc.c: Likewise.
1816 * string/test-strchrnul-ifunc.c: Likewise.
1817 * string/test-strcmp-ifunc.c: Likewise.
1818 * string/test-strcpy-ifunc.c: Likewise.
1819 * string/test-strcspn-ifunc.c: Likewise.
1820 * string/test-strlen-ifunc.c: Likewise.
1821 * string/test-strncasecmp-ifunc.c: Likewise.
1822 * string/test-strncat-ifunc.c: Likewise.
1823 * string/test-strncmp-ifunc.c: Likewise.
1824 * string/test-strncpy-ifunc.c: Likewise.
1825 * string/test-strnlen-ifunc.c: Likewise.
1826 * string/test-strpbrk-ifunc.c: Likewise.
1827 * string/test-strrchr-ifunc.c: Likewise.
1828 * string/test-strspn-ifunc.c: Likewise.
1829 * string/test-strstr-ifunc.c: Likewise.
1831 * debug/Makefile (tests-ifunc): New variable.
1832 (tests): Add $(tests-ifunc).
1833 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1834 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1835 * debug/test-stpcpy_chk-ifunc.c: New file.
1836 * debug/test-strcpy_chk-ifunc.c: Likewise.
1838 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1841 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1842 header is not read in.
1844 2012-10-19 Joseph Myers <joseph@codesourcery.com>
1846 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1847 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1848 directly. Pass built executable to script as
1849 $(built-program-cmd).
1850 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1851 $testprogram without using LD_LIBRARY_PATH and $ldso.
1853 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1854 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1855 $(rtld-installed-name).
1856 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1857 (rtld_installed_name): Likewise.
1858 (library_path): Likewise.
1859 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1860 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1861 $(run-program-prefix) to tst-tables.sh.
1862 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1863 it to run tst-table-from and tst-table-to.
1864 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1865 Pass it to tst-table.sh.
1866 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1867 $(run-program-prefix) to tst-gettext.sh.
1868 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1870 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1872 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1874 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1875 to run tst-gettext2.
1876 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1877 to run tst-translit.
1878 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1879 $(run-program-prefix) to tst-mtrace.sh.
1880 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1882 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1883 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1884 $(rtld-installed-name).
1885 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1886 (rtld_installed_name): Likewise.
1887 (run_program_prefix): New variable. Use it to run wordexp-test.
1889 * Makeconfig (ARCH): Remove all definitions.
1890 (machine): Likewise.
1891 [ARCH]: Remove conditional code.
1892 [!objdir]: Give error.
1893 [!objdir] (objpfx): Remove.
1894 [!objdir] (common-objpfx): Likewise.
1895 [!objdir] (common-objdir): Likewise.
1896 * configure.in (config_makefile): Remove. Hardcode Makefile in
1897 AC_CONFIG_FILES call.
1898 * configure: Regenerated.
1901 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1903 (testout): Likewise.
1905 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1906 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1907 $(rtld-installed-name).
1908 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1909 (rtld_installed_name): Likwise.
1910 (runit): Remove function.
1911 (run_getconf): New variable, Use it for running getconf binary.
1913 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1916 * string/test-memmem.c (check_result): New function.
1917 (do_one_test): Use it.
1918 (check1): New function.
1919 (test_main): Use it.
1921 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1923 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1925 2012-10-18 Joseph Myers <joseph@codesourcery.com>
1927 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1928 (_G_LSEEK64): Likewise.
1929 (_G_MMAP64): Likewise.
1930 (_G_FSTAT64): Likewise.
1931 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1932 (_G_LSEEK64): Likewise.
1933 (_G_MMAP64): Likewise.
1934 (_G_FSTAT64): Likewise.
1935 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1936 unconditional. Call __mmap64 directly.
1937 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1938 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1940 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1941 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1943 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1944 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1946 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1947 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1949 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1950 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
1952 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1953 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
1954 __fxstat64 directly.
1955 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1956 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
1958 (freopen64) [!_G_OPEN64]: Remove conditional code.
1959 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
1961 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
1962 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
1964 (ftello64) [!_G_LSEEK64]: Remove conditional code.
1965 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
1967 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1968 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
1970 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
1971 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
1973 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1974 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
1976 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1977 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
1979 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1981 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1984 * manual/memory.texi (Malloc Tunable Parameters): Add note
1985 about free list pointers overwriting some perturb bytes.
1986 Wording suggested by Roland McGrath.
1988 2012-10-17 Joseph Myers <joseph@codesourcery.com>
1990 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
1991 (lgamma_test): Likewise.
1992 (tgamma_test): Likewise.
1994 2012-10-16 Florian Weimer <fweimer@redhat.com>
1997 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
1998 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2000 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2002 * NEWS: Mention BZ #14716.
2003 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2004 when removing AVAILABLE1_USES_J macro.
2006 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2008 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2009 (__bswap_64): __uint64_t for unsigned 64-bit int.
2011 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2013 * include/string.h (memmem): Declare libc hidden alias.
2014 * string/memmem.c (memmem): Define libc hidden alias.
2015 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2016 __read, __close instead of open, read, close.
2018 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2021 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2023 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2024 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2025 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2027 (__rawmemchr_sse2): Likewise.
2028 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2029 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2030 (__strchr_sse2): Likewise.
2031 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2032 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2033 (__strcasecmp_sse2): Likewise.
2034 (__strncasecmp_sse2): Likewise.
2035 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2036 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2037 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2038 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2039 (__strrchr_sse2): Likewise.
2040 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2042 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2043 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2044 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2045 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2046 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2047 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2048 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2049 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2050 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2051 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2052 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2053 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2054 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2055 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2056 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2057 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2058 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2059 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2060 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2061 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2062 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2063 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2064 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2065 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2066 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2067 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2068 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2069 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2070 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2071 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2073 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2075 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2076 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2077 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2078 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2080 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2082 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2083 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2084 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2085 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2087 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2088 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2089 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2090 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2091 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2092 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2093 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2094 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2095 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2096 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2097 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2098 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2099 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2100 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2101 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2102 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2103 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2104 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2105 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2106 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2107 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2108 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2109 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2110 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2111 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2112 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2113 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2114 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2115 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2116 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2117 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2118 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2119 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2120 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2121 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2122 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2123 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2124 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2125 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2126 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2127 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2129 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2130 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2131 * include/ifunc-impl-list.h: New file.
2132 * misc/ifunc-impl-list.c: Likewise.
2133 * misc/Makefile (routines): Add ifunc-impl-list.
2134 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2135 * string/test-string.h: Include <ifunc-impl-list.h>.
2136 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2137 impl_array): New variables.
2138 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2140 (test_init): Call __libc_ifunc_impl_list to initialize
2141 func_list if TEST_IFUNC and TEST_NAME are defined.
2143 * string/Makefile (strop-tests): Add bcopy and bzero.
2144 * string/test-bcopy.c: New file.
2145 * string/test-bzero.c: Likewise.
2146 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2148 * string/test-memset.c: Support bzero test if TEST_BZERO is
2150 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2152 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2154 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2157 2012-10-10 Joseph Myers <joseph@codesourcery.com>
2159 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2160 * configure: Regenerated.
2162 * Makeconfig (+link-static-before-libc): Don't include
2163 $(link-static-libc).
2165 * libio/libio.h (_IO_pos_t): Remove.
2167 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2169 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2172 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2174 * crypt/crypt-entry.c: Include fips-private.h.
2175 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2176 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2177 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2178 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2180 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2182 * crypt/crypt-private.h: Include stdbool.h.
2183 (_ufc_setup_salt_r): Return bool.
2184 * crypt/crypt-entry.c: Include errno.h.
2185 (__crypt_r): Return NULL with EINVAL for bad salt.
2186 * crypt/crypt_util.c (bad_for_salt): New.
2187 (_ufc_setup_salt_r): Check that salt is long enough and within
2188 the specified alphabet.
2189 * crypt/badsalttest.c: New file.
2190 * crypt/Makefile (tests): Add it.
2191 ($(objpfx)badsalttest): New.
2193 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2195 * NEWS: Add entry for BZ #14602.
2197 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2199 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2201 * math/libm-test.inc: Update comment listing what functions and
2203 (isgreater_test): New function.
2204 (isgreaterequal_test): Likewise.
2205 (isless_test): Likewise.
2206 (islessequal_test): Likewise.
2207 (islessgreater_test): Likewise.
2208 (isunordered_test): Likewise.
2209 (main): Call the new functions.
2211 2012-10-09 Roland McGrath <roland@hack.frob.com>
2213 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2214 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2215 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2216 * sysdeps/i386/configure: Regenerated.
2217 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2218 * sysdeps/mach/configure: Regenerated.
2219 * sysdeps/mach/hurd/configure: Regenerated.
2220 * sysdeps/powerpc/configure: Regenerated.
2221 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2222 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2223 * sysdeps/s390/s390-32/configure: Regenerated.
2224 * sysdeps/s390/s390-64/configure: Regenerated.
2225 * sysdeps/sh/configure: Regenerated.
2226 * sysdeps/sparc/configure: Regenerated.
2227 * sysdeps/unix/sysv/linux/configure: Regenerated.
2228 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2229 * sysdeps/x86_64/configure: Regenerated.
2231 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2232 defined. Don't check if MAP is NULL.
2234 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2236 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2237 (_G_stat64): Likewise.
2238 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2239 (_G_stat64): Likewise.
2240 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2241 instead of struct _G_stat64.
2242 * libio/fileops.c (mmap_remap_check): Likewise.
2243 (decide_maybe_mmap): Likewise.
2244 (_IO_new_file_seekoff): Likewise.
2245 (_IO_file_stat): Likewise.
2246 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2248 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2249 instead of struct _G_stat64.
2250 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2252 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2255 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2257 (CHECK_EOL): New macro.
2258 (two_way_short_needle): Check beginning of haystack for EOL. Use
2260 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2261 Replace with CHECK_EOL.
2262 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2263 Replace with CHECK_EOL.
2265 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2267 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2269 * math/libm-test.inc: Update comment listing what functions and
2271 (finite_test): New function.
2272 (isinf_test): Likewise.
2273 (isnan_test): Likewise.
2274 (fpclassify_test): Test subnormal input.
2275 (isfinite_test): Likewise.
2276 (isnormal_test): Likewise.
2277 (main): Call the new functions.
2279 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2282 * Makerules (%.dynsym): Force C locale when running
2283 $(OBJDUMP) --dynamic-syms.
2285 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2287 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2290 2012-10-06 David S. Miller <davem@davemloft.net>
2292 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2293 upper 32-bits of the length value in %o2 since we use branch-on-register
2294 tests which consider the entire 64-bit register.
2296 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2298 * string/test-strstr.c (check2): Add a test for page boundary.
2300 2012-10-05 David S. Miller <davem@davemloft.net>
2302 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2303 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2305 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2307 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2308 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2309 and bzero when HWCAP_SPARC_CRYPTO is present.
2311 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2314 * string/test-strstr.c (check2): New function.
2315 (test_main): Call check2.
2317 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2319 * string/bug-strcasestr1.c (do_test): Moved to ...
2320 * string/test-strcasestr.c (check1): Here. New function.
2321 (do_one_test): Break out result checking code into ...
2322 (check_result): This. New function.
2323 (do_one_test): Call check_result.
2324 (test_main): Call check1.
2325 * string/bug-strchr1.c (do_test): Moved to ...
2326 * string/test-strchr.c (check1): Here. New function.
2327 (do_one_test): Break out result checking code into ...
2328 (check_result): This. New function.
2329 (do_one_test): Call check_result.
2330 (test_main): Call check1.
2331 * string/bug-strstr1.c (main): Moved to ...
2332 * string/test-strchr.c (check1): Here. New function.
2333 (do_one_test): Break out result checking code into ...
2334 (check_result): This. New function.
2335 (do_one_test): Call check_result.
2336 (test_main): Call check1.
2337 * string/bug-strcasestr1.c: Removed.
2338 * string/bug-strchr1.c: Likewise.
2339 * string/bug-strstr1.c: Likewise.
2341 * elf/Makefile (dl-routines): Add hwcaps.
2342 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2343 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2344 (_dl_important_hwcaps): Moved to ...
2345 * elf/dl-hwcaps.c: Here. New file.
2346 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2349 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2350 if IS_IN_rtld isn't defined.
2352 * elf/dl-support.c (_dl_sysinfo_map): New.
2353 Include "get-dynamic-info.h" and "setup-vdso.h".
2354 (_dl_non_dynamic_init): Call setup_vdso.
2355 * elf/dynamic-link.h: Don't include <assert.h>.
2356 (elf_get_dynamic_info): Moved to ...
2357 * elf/get-dynamic-info.h: Here. New file.
2358 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2359 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2360 * elf/setup-vdso.h: Here. New file.
2361 * elf/rtld.c: Include "setup-vdso.h".
2362 (dl_main): Call setup_vdso.
2364 2012-10-05 Joseph Myers <joseph@codesourcery.com>
2366 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2367 creal in comment listing functions tested. List finite, isinf,
2368 isnan, isless, islessequal, isgreater, isgreaterequal,
2369 islessgreater, isunordered, lgamma_r and pow10 as functions and
2370 macros not tested. Mention which functions not tested are aliases
2371 for other functions. Fix typo. Note that signs of NaNs are not
2374 * scripts/config.guess: Update from config.git.
2375 * scripts/config.sub: Likewise.
2377 2012-10-04 Roland McGrath <roland@hack.frob.com>
2379 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2380 * misc/madvise.c (madvise): Renamed to __madvise.
2381 Make madvise a weak alias.
2382 * include/sys/mman.h: Declare __madvise.
2383 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2384 * sysdeps/unix/syscalls.list
2385 (madvise): Make __madvise the strong name, and madvise a weak alias.
2386 * sysdeps/unix/sysv/linux/syscalls.list
2387 (madvise, mmap): Remove redundant entries.
2388 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2389 * malloc/malloc.c (mtrim): Likewise.
2390 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2392 2012-10-03 Roland McGrath <roland@hack.frob.com>
2394 * sysdeps/mach/hurd/dl-cache.c: File removed.
2395 * config.h.in (USE_LDCONFIG): New #undef.
2396 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2397 * configure: Regenerated.
2398 * elf/Makefile (dl-routines): Add dl-cache only under
2399 [$(use-ldconfig) = yes].
2400 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2401 cache on [USE_LDCONFIG].
2402 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2404 * elf/rtld.c (dl_main): Likewise.
2406 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2408 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2409 _SC_LEVEL4_CACHE_LINESIZE.
2411 2012-10-03 Roland McGrath <roland@hack.frob.com>
2413 * sysdeps/unix/bsd/confstr.h: File removed.
2415 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
2417 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2420 2012-10-02 Roland McGrath <roland@hack.frob.com>
2422 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2423 Make 'mapoff' field ElfW(Off) rather than off_t.
2425 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2427 * nscd/Makefile: Remove nscd-cflags and all its users.
2428 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2429 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2432 * malloc.c (malloc_printerr): Clarify error message.
2434 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2438 Set bit_FMA_Usable if FMA is supported.
2439 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2441 (bit_FMA4_Usable): Updated.
2442 (index_FMA_Usable): New macro.
2443 (CPUID_FMA): Likewise
2444 (HAS_FMA): Defined with bit_FMA_Usable.
2446 2012-10-01 Roland McGrath <roland@hack.frob.com>
2448 * bits/types.h (__swblk_t): Type removed.
2449 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2450 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2451 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2452 (__SWBLK_T_TYPE): Likewise.
2453 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2454 (__SWBLK_T_TYPE): Likewise.
2455 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2456 (__SWBLK_T_TYPE): Likewise.
2457 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2458 (__SWBLK_T_TYPE): Likewise.
2460 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
2461 Honza Horak <hhorak@redhat.com>
2463 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2464 (xdr_mapname): Use YPMAXMAP as maxsize.
2465 (xdr_peername): Use YPMAXPEER as maxsize.
2466 (xdr_keydat): Use YPAXRECORD as maxsize.
2467 (xdr_valdat): Use YPMAXRECORD as maxsize.
2469 2012-10-01 Roland McGrath <roland@hack.frob.com>
2471 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2473 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2474 * csu/init-first.c: ... here.
2475 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2476 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2477 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2478 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2479 * sysdeps/i386/init-first.c: File removed.
2480 * sysdeps/sh/init-first.c: File removed.
2482 2012-10-01 Joseph Myers <joseph@codesourcery.com>
2485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2486 if x * y might underflow to zero and z is zero.
2487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2489 * math/libm-test.inc (min_subnorm_value): New variable.
2490 (fma_test): Add more tests.
2491 (fma_test_towardzero): Likewise.
2492 (fma_test_downward): Likewise
2493 (fma_test_upward): Likewise.
2494 (initialize): Set min_subnorm_value.
2496 2012-09-29 Joseph Myers <joseph@codesourcery.com>
2499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2501 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2502 mode for addition resulting in exact zero.
2503 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2504 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2506 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2507 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2508 * math/libm-test.inc (fma_test): Add more tests.
2509 (fma_test_towardzero): New function.
2510 (fma_test_downward): Likewise.
2511 (fma_test_upward): Likewise.
2512 (main): Call the new functions.
2514 2012-09-28 David S. Miller <davem@davemloft.net>
2516 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2518 2012-09-28 Roland McGrath <roland@hack.frob.com>
2520 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2523 * sysdeps/gnu/_G_config.h: Moved to ...
2524 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2525 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2526 * sysdeps/generic/_G_config.h: ... here.
2528 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2530 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2532 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2533 Conditionalize target on [libnss_test1.so-version].
2535 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2537 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2538 (elfobjdir): Move out of conditionals.
2540 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2541 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2542 (__nss_lookup_function): Conditionalize label remove_from_tree on
2543 [!DO_STATIC_NSS || SHARED], matching its only use.
2545 2012-09-28 David S. Miller <davem@davemloft.net>
2547 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2548 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2550 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2552 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2553 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2554 when HWCAP_SPARC_CRYPTO is present.
2556 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2558 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2560 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2563 * stdio-common/vfprintf.c (process_string_arg): Revert
2566 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2568 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2570 * stdio-common/tst-sprintf.c: Include <locale.h>
2571 (main): Test sprintf's handling of incomplete multibyte
2574 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2576 * elf/dl-runtime.c (VERSYMIDX): Removed.
2577 * elf/dl-version.c (VERSYMIDX): Likewise.
2578 * elf/do-rel.h (VERSYMIDX): Likewise.
2580 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2581 * elf/rtld.c (VALIDX): Likewise.
2582 (ADDRIDX): Likewise.
2583 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2584 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2585 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2586 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2588 (ADDRIDX): Likewise.
2590 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2592 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2594 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2597 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2599 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2600 addresses are in the same scope as 192.0.2/24.
2601 * posix/gai.conf: Document new scope table defaults.
2603 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2606 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2607 for ftell. Compute offsets from write pointers instead.
2608 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2610 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2613 * libio/Makefile (tests): New test case tst-fseek.
2614 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2615 combination works in wide mode.
2616 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2617 state when the external buffer state changes.
2619 2012-09-27 David S. Miller <davem@davemloft.net>
2622 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2623 pass reloc->r_addend in as the 'high' argument to
2624 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2628 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2630 * rt/tst-aio2.c: Include <pthread.h>.
2631 * rt/tst-aio3.c: Likewise.
2633 2012-09-27 Steve Ellcey <sellcey@mips.com>
2635 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2637 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2639 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2640 contents on [SHARED].
2642 2012-09-26 Marek Polacek <polacek@redhat.com>
2646 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2647 for C++ and GCC <4.3 as well as for non GCC compilers.
2649 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2653 2012-09-25 Roland McGrath <roland@hack.frob.com>
2655 * Makefile.in (all, install): Declare with .PHONY.
2656 Reported by Michael Hope <michael.hope@linaro.org>.
2658 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2660 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2661 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2663 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2665 (sydep_routines): Add the new and the internal functions.
2666 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2667 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2669 (GLIBC_2.17): Add the new function.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2671 (GLIBC_2.17): Likewise.
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2673 (GLIBC_2.17): Likewise.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2675 (GLIBC_2.17): Likewise.
2676 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2678 2012-09-25 Alan Modra <amodra@gmail.com>
2680 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2681 Add release barrier before setting once_control to say
2682 initialisation is done. Add hints on lwarx. Use macro in
2684 (clear_once_control): Add release barrier.
2686 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2689 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2691 * math/s_clog10.c (__clog10): Likewise.
2692 * math/s_clog10f.c (__clog10f): Likewise.
2693 * math/s_clog10l.c (__clog10l): Likewise.
2694 * math/s_clogf.c (__clogf): Likewise.
2695 * math/s_clogl.c (__clogl): Likewise.
2696 * math/Makefile (libm-calls): Add x2y2m1.
2697 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2698 (__x2y2m1): Likewise.
2699 (__x2y2m1l): Likewise.
2700 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2701 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2702 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2703 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2704 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2705 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2706 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2707 * sysdeps/i386/fpu/libm-test-ulps: Update.
2708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2711 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2712 int as type of variable DEPTH.
2713 (glob): Use size_t instead of int as type of variables NEWCOUNT
2716 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2718 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2720 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2721 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2722 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2723 macros for using routine as __sincosf_ia32.
2724 Use macro for function declaration and weak_alias.
2725 * sysdeps/i386/fpu/libm-test-ulps: Update.
2727 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2730 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2732 * math/s_cexpf.c (__cexpf): Likewise.
2733 * math/s_csinf.c (__csinf): Likewise.
2734 * math/s_csinhf.c (__csinhf): Likewise.
2735 * math/s_ctanf.c (__ctanf): Likewise.
2736 * math/s_ctanhf.c (__ctanhf): Likewise.
2737 * math/s_ccosh.c (__ccoshf): Likewise.
2738 * math/s_cexp.c (__cexpl): Likewise.
2739 * math/s_csin.c (__csin): Likewise.
2740 * math/s_csinh.c (__csinh): Likewise.
2741 * math/s_ctan.c (__ctan): Likewise.
2742 * math/s_ctanh.c (ctanh): Likewise.
2743 * math/s_ccoshl.c (__ccoshl): Likewise.
2744 * math/s_cexpl.c (__cexpl): Likewise.
2745 * math/s_csinl.c (__csinl): Likewise.
2746 * math/s_csinhl.c (__csinhl): Likewise.
2747 * math/s_ctanl.c (__ctanl): Likewise.
2748 * math/s_ctanhl.c (__ctanhl): Likewise.
2750 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2752 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2753 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2754 (_IO_off_t): Define to __off_t, not _G_off_t.
2755 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2756 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2757 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2758 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2759 type of __dummy and __dummy2 fields.
2760 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2761 (_G_ssize_t): Likewise.
2762 (_G_off_t): Likewise.
2763 (_G_pid_t): Likewise.
2764 (_G_uid_t): Likewise.
2765 (_G_wchar_t): Likewise.
2766 (_G_wint_t): Likewise.
2767 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2768 (_G_ssize_t): Likewise.
2769 (_G_off_t): Likewise.
2770 (_G_pid_t): Likewise.
2771 (_G_uid_t): Likewise.
2772 (_G_wchar_t): Likewise.
2773 (_G_wint_t): Likewise.
2774 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2775 (_G_ssize_t): Likewise.
2776 (_G_off_t): Likewise.
2777 (_G_pid_t): Likewise.
2778 (_G_uid_t): Likewise.
2779 (_G_wchar_t): Likewise.
2780 (_G_wint_t): Likewise.
2782 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2784 * malloc/arena.c: Include malloc-sysdep.h.
2785 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2786 is sufficient to shrink the heap or an unmap is needed.
2787 * sysdeps/generic/malloc-sysdep.h: New file. Define
2788 new function check_may_shrink_heap.
2789 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2790 new function check_may_shrink_heap.
2792 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2794 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2797 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2799 * catgets/test-gencat.sh: Add "set -e".
2800 * elf/tst-pathopt.sh: Likewise.
2801 * grp/tst_fgetgrent.sh: Likewise.
2802 * iconvdata/run-iconv-test.sh: Likewise.
2803 * intl/tst-gettext.sh: Likewise.
2804 * intl/tst-gettext2.sh: Likewise.
2805 * intl/tst-gettext4.sh: Likewise.
2806 * intl/tst-gettext6.sh: Likewise.
2807 * intl/tst-translit.sh: Likewise.
2808 * io/ftwtest-sh: Likewise.
2809 * libio/test-freopen.sh: Likewise.
2810 * malloc/tst-mtrace.sh: Likewise.
2811 * posix/globtest.sh: Likewise.
2812 * posix/tst-getconf.sh: Likewise.
2813 * posix/wordexp-tst.sh: Likewise.
2814 * stdio-common/tst-printf.sh: Likewise.
2815 * stdio-common/tst-unbputc.sh: Likewise.
2816 * stdlib/tst-fmtmsg.sh: Likewise.
2817 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2818 * catgets/Makefile: Do not specify -e option when running
2819 testsuite shell scripts.
2820 * elf/Makefile: Likewise.
2821 * grp/Makefile: Likewise.
2822 * iconvdata/Makefile: Likewise.
2823 * intl/Makefile: Likewise.
2824 * io/Makefile: Likewise.
2825 * libio/Makefile: Likewise.
2826 * malloc/Makefile: Likewise.
2827 * posix/Makefile: Likewise.
2828 * stdio-common/Makefile: Likewise.
2829 * stdlib/Makefile: Likewise.
2830 * sysdeps/x86_64/Makefile: Likewise.
2832 * io/ftwtest-sh: Add copyright header.
2833 * posix/globtest.sh: Likewise.
2834 * posix/tst-getconf.sh: Likewise.
2835 * posix/wordexp-tst.sh: Likewise.
2836 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2838 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2841 * Makeconfig (+link): Defined as $(+link-static) if
2842 $(build-shared) isn't yes.
2843 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2845 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2847 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2850 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2851 new chunk size with MALLOC_ALIGN_MASK.
2853 2012-09-24 Joseph Myers <joseph@codesourcery.com>
2856 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2858 (__printf_fphex): Determine rounding using get_rounding_mode and
2860 * stdio-common/tst-printf-round.c (struct hex_test): New
2862 (hex_tests): New variable.
2863 (test_hex_in_one_mode): New function.
2864 (do_test): Also run tests for hex float output.
2866 2012-09-21 Joseph Myers <joseph@codesourcery.com>
2868 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2869 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2870 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2871 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2872 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2873 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2874 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2875 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2877 2012-09-20 Joseph Myers <joseph@codesourcery.com>
2879 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2880 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2881 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2882 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2884 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2887 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2889 * elf/tst-rtld-load-self.sh: New test.
2890 * elf/Makefile: Run it.
2892 2012-09-18 Joseph Myers <joseph@codesourcery.com>
2894 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2895 (tst-writev-ENV): Remove.
2896 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2898 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2900 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2902 2012-09-17 Joseph Myers <joseph@codesourcery.com>
2904 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2906 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2908 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2909 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2910 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2913 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2916 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2917 * config.make.in (have-cpp-asm-debuginfo): Removed.
2918 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2919 * configure: Regenerated.
2921 2012-09-14 Joseph Myers <joseph@codesourcery.com>
2924 * stdio-common/printf_fp.c: Include <stdbool.h> and
2926 (___printf_fp): Determine rounding using get_rounding_mode and
2928 * stdio-common/tst-printf-round.c: New file.
2929 * stdio-common/Makefile (tests): Add tst-printf-round.
2930 (link-libm): New variable.
2931 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2933 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2936 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2937 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2939 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2942 2012-09-13 Joseph Myers <joseph@codesourcery.com>
2944 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2945 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2946 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2947 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2949 2012-09-12 Joseph Myers <joseph@codesourcery.com>
2952 * include/rounding-mode.h: New file.
2953 * sysdeps/generic/get-rounding-mode.h: Likewise.
2954 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2955 * stdlib/strtod_l.c: Include <rounding-mode.h>.
2956 (MAX_VALUE): New macro.
2957 (MIN_VALUE): Likewise.
2958 (overflow_value): New function.
2959 (underflow_value): Likewise.
2960 (round_and_return): Use overflow_value and underflow_value to
2961 determine return values in overflow and underflow cases. Use
2962 round_away to determine rounding depending on rounding mode.
2963 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
2964 determine return values in overflow and underflow cases.
2965 * stdlib/tst-strtod-round.c: Include <fenv.h>.
2966 (struct test_results): New structure.
2967 (struct test): Use struct test_results to store expected results
2968 for all rounding modes.
2969 (TEST): Include expected results for all rounding modes.
2970 (test_in_one_mode): New function.
2971 (do_test): Use test_in_one_mode to compute and check results.
2972 Check results for all rounding modes.
2973 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
2976 2012-12-09 Allan McRae <allan@archlinux.org>
2978 * sysdeps/i386/fpu/libm-test-ulps: Update
2980 2012-09-11 Joseph Myers <joseph@codesourcery.com>
2982 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
2983 (_G_int32_t): Likewise.
2984 (_G_uint16_t): Likewise.
2985 (_G_uint32_t): Likewise.
2986 (_G_HAVE_BOOL): Likewise.
2987 (_G_HAVE_ATEXIT): Likewise.
2988 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2989 (_G_HAVE_IO_FILE_OPEN): Likewise.
2990 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
2991 (_G_int32_t): Likewise.
2992 (_G_uint16_t): Likewise.
2993 (_G_uint32_t): Likewise.
2994 (_G_HAVE_BOOL): Likewise.
2995 (_G_HAVE_ATEXIT): Likewise.
2996 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2997 (_G_HAVE_IO_FILE_OPEN): Likewise.
2998 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
2999 (_G_int32_t): Likewise.
3000 (_G_uint16_t): Likewise.
3001 (_G_uint32_t): Likewise.
3002 (_G_HAVE_BOOL): Likewise.
3003 (_G_HAVE_ATEXIT): Likewise.
3004 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3005 (_G_HAVE_IO_FILE_OPEN): Likewise.
3007 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3009 * csu/libc-tls.c: Update copyright years.
3011 2012-09-10 Joseph Myers <joseph@codesourcery.com>
3013 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3014 [!_G_USING_THUNKS]: Remove conditional code.
3015 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3016 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3018 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3019 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3020 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3021 (_G_VTABLE_LABEL_PREFIX): Likewise.
3022 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3023 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3024 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3025 (_G_VTABLE_LABEL_PREFIX): Likewise.
3026 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3027 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3028 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3029 (_G_VTABLE_LABEL_PREFIX): Likewise.
3030 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3032 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3034 * libio/Makefile: Include ../Makeconfig before tests.
3035 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3036 only if $(build-shared) is yes.
3038 * iconv/gconv_db.c: Update copyright years.
3040 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3042 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3043 unwind info if defined PIC. Fix special cases description.
3044 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3046 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3048 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3050 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3052 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3054 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3057 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3058 (LDLIBS-tst-chk4): This.
3059 (LDFLAGS-tst-chk5): Renamed to ...
3060 (LDLIBS-tst-chk5): This.
3061 (LDFLAGS-tst-chk6): Renamed to ...
3062 (LDLIBS-tst-chk6): This.
3063 (LDFLAGS-tst-lfschk4): Renamed to ...
3064 (LDLIBS-tst-lfschk4): This.
3065 (LDFLAGS-tst-lfschk5): Renamed to ...
3066 (LDLIBS-tst-lfschk5): This.
3067 (LDFLAGS-tst-lfschk6): Renamed to ...
3068 (LDLIBS-tst-lfschk6): This.
3070 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3071 on $(common-objpfx)soversions.mk.
3073 2012-09-07 Joseph Myers <joseph@codesourcery.com>
3076 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3079 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3081 * malloc/arena.c (arena_get_retry): New function that gets
3082 another arena for the caller to try its request on.
3083 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3084 current arena cannot fulfill the request.
3085 (__libc_memalign): Likewise.
3086 (__libc_memalign): Likewise.
3087 (__libc_pvalloc): Likewise.
3088 (__libc_calloc): Likewise.
3090 2012-09-05 John Tobey <john.tobey@gmail.com>
3093 * manual/arith.texi (Operations on Complex): Fix description
3096 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3099 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3103 * manual/memory.texi (Memory): Make order of menu items match
3106 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3108 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3109 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3110 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3112 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3114 * csu/libc-tls.c (static_dtv): Renamed to ...
3115 (_dl_static_dtv): This. Make it global.
3116 (_dl_initial_dtv): Removed.
3117 (__libc_setup_tls): Updated.
3118 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3119 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3122 2012-09-06 Petr Machata <pmachata@redhat.com>
3124 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3125 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3126 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3127 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3129 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3132 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3133 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3136 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3139 * Makeconfig (link-static-before-libc): Replace $(+prector)
3141 (link-static-after-libc): Replace $(+postctor) with
3143 (link-bounded): Replace $(+prector)/$(+postctor) with
3144 $(+prectorT)/$(+postctorT).
3145 (+prectorT): New macro.
3146 (+postctorT): Likewise.
3148 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3150 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3151 (round_str): Handle values above the maximum for IBM long double
3153 * stdlib/tst-strtod-round.c (tests): Regenerated.
3155 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3157 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3159 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3160 zarch_nohighgprs around the zarch optimized routines.
3161 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3162 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3163 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3166 2012-09-05 David S. Miller <davem@davemloft.net>
3168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3170 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3171 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3172 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3173 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3176 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3178 * malloc/arena.c: Fold copyright years.
3179 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3181 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3183 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3185 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3187 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3189 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3191 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3192 change internal state upon failure.
3194 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3196 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3197 * malloc/memusage.c (mmap): Likewise.
3198 (mmap64, mremap): Likewise. Adjust name in comment.
3200 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3202 * libio/fileops.c: Fix typos in comments.
3203 * libio/oldfileops.c: Likewise.
3204 * libio/wfileops.c: Likewise.
3206 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3209 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3210 (tst-malloc-usable-ENV): Set environment for test case.
3211 * malloc/hooks.c (malloc_check_get_size): New function to get
3213 * malloc/malloc.c (musable): Use malloc_check_get_size.
3214 * malloc/tst-malloc-usable.c: New test case.
3216 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3218 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3220 2012-09-05 Allan McRae <allan@archlinux.org>
3223 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3224 determine header location.
3225 * configure: Regenerated.
3227 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3229 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3231 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3232 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3236 2012-09-04 David S. Miller <davem@davemloft.net>
3238 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3239 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3240 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3242 2012-09-04 Florian Weimer <fweimer@redhat.com>
3244 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3247 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3249 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3252 * libio/iogetdelim.c: Include <limits.h>.
3253 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3254 + len + 1 would overflow.
3256 2012-09-03 Andreas Jaeger <aj@suse.de>
3258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3259 * sysdeps/i386/fpu/libm-test-ulps: Update.
3261 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3263 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3264 Add s_sinf-sse2, s_conf-sse2.
3266 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3267 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3268 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3269 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3271 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3272 for using routine as __sinf_ia32.
3273 Use macro for function declaration and weak_alias.
3274 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3275 for using routine as __cosf_ia32.
3276 Use macro for function declaration and weak_alias.
3278 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3279 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3281 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3282 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3285 * math/libm-test.inc (cos_test): Add more test cases.
3286 (sin_test): Likewise.
3287 (sincos_test): Likewise.
3289 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3291 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3292 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3294 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3296 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3299 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3300 first element of the GOT.
3301 (elf_machine_load_address): Return the difference between
3302 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3304 2012-09-01 Allan McRae <allan@archlinux.org>
3307 * configure.in (AWK): Require gawk version 3.0 or later.
3308 * configure: Regenerated.
3310 2012-09-01 Joseph Myers <joseph@codesourcery.com>
3312 * sysdeps/unix/sysv/linux/kernel-features.h
3313 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3314 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3315 [__NR_clock_getres]: Make code unconditional.
3316 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3317 (clock_getcpuclockid): Remove code left unreachable by removal of
3319 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3321 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3322 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3323 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3324 Make code unconditional.
3325 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3326 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3327 * sysdeps/unix/sysv/linux/clock_settime.c
3328 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3330 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3331 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3333 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3336 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3337 scripts/test-installation.pl.
3339 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3340 and $ld_so_version if it is set.
3342 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3345 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3346 failure if reading from procfs failed.
3347 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3349 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3351 * sysdeps/unix/sysv/linux/kernel-features.h
3352 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3353 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3354 Remove conditional code.
3355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3356 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3357 Remove conditional code.
3358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3359 * sysdeps/unix/sysv/linux/i386/fxstat.c
3360 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3362 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3363 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3365 * sysdeps/unix/sysv/linux/i386/lxstat.c
3366 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3368 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3369 Remove conditional code.
3370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3371 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3372 Remove conditional code.
3373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3374 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3375 <kernel-features.h>.
3376 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3378 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3379 Remove conditional code.
3380 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3381 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3384 2012-08-27 Mike Frysinger <vapier@gentoo.org>
3387 * NEWS: Add fixed bug number.
3389 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3392 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3393 underflowing exponent in case of negative sign.
3394 * stdlib/tst-strtod-round-data: Add more tests.
3395 * stdlib/tst-strtod-round.c (tests): Regenerated.
3398 * stdlib/strtod_l.c (NDIG): Remove.
3399 (HEXNDIG): Likewise.
3400 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3401 smallest representable value.
3402 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3403 lie within an exact representation of 1/2 ulp of the result.
3404 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3406 (TENS_P9_IDX): Define unconditionally.
3407 (TENS_P9_SIZE): Likewise.
3408 (TENS_P10_IDX): Likewise.
3409 (TENS_P10_SIZE): Likewise.
3410 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3411 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3412 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3413 entries for 10^2^13 and 10^2^14.
3414 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3415 (TENS_P13_IDX): Define.
3416 (TENS_P13_SIZE): Likewise.
3417 (TENS_P14_IDX): Likewise.
3418 (TENS_P14_SIZE): Likewise.
3419 (_fpioconst_pow10): Change array size to
3420 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3422 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3423 1024]: Add entries for 10^2^13 and 10^2^14.
3424 [LAST_POW10 > _LAST_POW10]: Remove #error.
3425 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3426 (_fpioconst_pow10): Change array size to
3427 FPIOCONST_POW10_ARRAY_SIZE.
3428 * stdlib/gen-fpioconst.c: New file.
3429 * stdlib/gen-tst-strtod-round.c: Likewise.
3430 * stdlib/tst-strtod-round-data: Likewise.
3431 * stdlib/tst-strtod-round.c: Likewise.
3432 * stdlib/Makefile (tests): Add tst-strtod-round.
3435 * stdlib/strtod_l.c: Include <stdint.h>.
3436 (NDEBUG): Do not define.
3437 (round_and_return): Change EXPONENT parameter to type intmax_t.
3438 Rearrange calculations to avoid internal overflow possibilities.
3439 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3440 Rearrange calculations to avoid internal overflow possibilities.
3441 Assert that number fits inside MPNSIZE limbs.
3442 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3443 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3444 calculations and add assertions to avoid internal overflow
3445 possibilities. Add casts to avoid signed/unsigned operations.
3446 * stdlib/tst-strtod-overflow.c: New file.
3447 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3449 2012-08-25 Marek Polacek <polacek@redhat.com>
3451 * time/time.h: Fix some typos in comments.
3453 2012-08-23 Roland McGrath <roland@hack.frob.com>
3455 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3456 * posix/tst-rfc3484-2.c: Likewise.
3457 * posix/tst-rfc3484-3.c: Likewise.
3459 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3461 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3462 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3464 2012-08-23 Joseph Myers <joseph@codesourcery.com>
3466 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3467 #include of fxstatat64.c.
3469 2012-08-22 Roland McGrath <roland@hack.frob.com>
3471 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3472 * shadow/getspent_r.c: Likewise.
3473 * shadow/getspnam.c: Likewise.
3474 * shadow/getspnam_r.c: Likewise.
3475 * gshadow/getsgent.c: Likewise.
3476 * gshadow/getsgent_r.c: Likewise.
3477 * gshadow/getsgnam.c: Likewise.
3478 * gshadow/getsgnam_r.c: Likewise.
3479 * inet/getnetbyad.c: Likewise.
3480 * inet/getnetbyad_r.c: Likewise.
3481 * inet/getnetbynm.c: Likewise.
3482 * inet/getnetbynm_r.c: Likewise.
3483 * inet/getnetent.c: Likewise.
3484 * inet/getnetent_r.c: Likewise.
3485 * inet/getproto.c: Likewise.
3486 * inet/getproto_r.c: Likewise.
3487 * inet/getprtent.c: Likewise.
3488 * inet/getprtent_r.c: Likewise.
3489 * inet/getprtname.c: Likewise.
3490 * inet/getprtname_r.c: Likewise.
3491 * inet/getrpcbyname.c: Likewise.
3492 * inet/getrpcbyname_r.c: Likewise.
3493 * inet/getrpcbynumber.c: Likewise.
3494 * inet/getrpcbynumber_r.c: Likewise.
3495 * inet/getrpcent.c: Likewise.
3496 * inet/getrpcent_r.c: Likewise.
3497 * inet/getaliasent.c: Likewise.
3498 * inet/getaliasent_r.c: Likewise.
3499 * inet/getaliasname.c: Likewise.
3500 * inet/getaliasname_r.c: Likewise.
3501 * nscd/getgrgid_r.c: Likewise.
3502 * nscd/getgrnam_r.c: Likewise.
3503 * nscd/gethstbyad_r.c: Likewise.
3504 * nscd/gethstbynm3_r.c: Likewise.
3505 * nscd/getpwnam_r.c: Likewise.
3506 * nscd/getpwuid_r.c: Likewise.
3507 * nscd/getsrvbynm_r.c: Likewise.
3508 * nscd/getsrvbypt_r.c: Likewise.
3509 * nscd/gai.c: Likewise.
3511 * configure.in (build_nscd): New substituted variable, set
3512 by --disable-build-nscd and defaults to $use_nscd.
3513 * configure: Regenerated.
3514 * config.make.in (build-nscd): New substituted variable.
3515 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3516 Change conditional to require [$(build-nscd) = yes] as well.
3517 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3520 * configure.in (use_nscd): New substituted variable, set by
3521 --disable-nscd. If enabled, define USE_NSCD.
3522 * configure: Regenerated.
3523 * config.h.in: Add USE_NSCD.
3524 * config.make.in (use-nscd): New substituted variable.
3525 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3526 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3527 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3528 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3529 (CFLAGS-getgrnam_r.c): Likewise.
3530 (CFLAGS-initgroups.c): Likewise.
3531 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3532 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3534 * inet/getnetgrent_r.c
3535 (nscd_setnetgrent): New function, broken out of ...
3536 (setnetgrent): ... here. Call it.
3537 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3538 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3539 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3540 * nscd/Makefile (routines, aux): Move definitions after include of
3541 Makeconfig. Conditionalize on [$(use-nscd) != no].
3542 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3543 Conditionalize on [USE_NSCD].
3544 (is_nscd, nscd_init_cb): Likewise.
3545 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3546 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3547 * nss/nss_db/db-init.c: Likewise.
3548 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3550 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3551 (make_request): Use it.
3552 (cache_valid_p): New function.
3553 (__check_pf): Use it.
3554 * NEWS: Add item for --disable-nscd.
3556 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3558 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3559 to support sed >= 4.2.1-20-ga9bf076.
3560 * configure: Regenerated.
3562 2012-08-22 Roland McGrath <roland@hack.frob.com>
3564 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3565 Conditionalize whole body on [IREL].
3567 2012-08-22 Jeff Law <law@redhat.com>
3570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3571 if the family is PF_UNSPEC.
3573 2012-08-22 Mike Frysinger <vapier@gentoo.org>
3575 * Makerules (lib-version): Rename from V.
3576 (install-lib-nosubdir): Change V to lib-version.
3578 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3581 * powerpc32/power6/wcschr.c: New file.
3582 * powerpc32/power6/wcscpy.c: New file.
3583 * powerpc32/power6/wcsrchr.c: New file.
3584 * powerpc64/power6/wcschr.c: New file.
3585 * powerpc64/power6/wcscpy.c: New file.
3586 * powerpc64/power6/wcsrchr.c: New file.
3588 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3590 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3591 (two_way_short_needle): Use it.
3592 * string/strstr.c (AVAILABLE1_USES_J): Define.
3593 * string/strcasestr.c: Likewise.
3595 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3597 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3600 * NEWS: Add an entry.
3601 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3602 define their defaults.
3603 (two_way_short_needle): Detect end-of-string on-the-fly.
3604 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3605 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3606 * string/bug-strcasestr1.c: New test.
3607 * string/Makefile: Run it.
3609 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3612 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3613 the first character.
3615 2012-08-21 Roland McGrath <roland@hack.frob.com>
3617 * csu/elf-init.c (__libc_csu_irel): Function removed.
3618 * csu/libc-start.c (apply_irel): New function.
3619 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3621 2012-08-21 Joseph Myers <joseph@codesourcery.com>
3623 * sysdeps/unix/sysv/linux/kernel-features.h
3624 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3625 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3626 <kernel-features.h>.
3627 [__NR_fadvise64_64]: Make code unconditional.
3628 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3629 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3630 !__NR_fadvise64_64)]: Likewise.
3631 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3632 !__NR_fadvise64_64))]: Likewise.
3633 [__NR_fadvise64]: Make code unconditional.
3634 [!__NR_fadvise64]: Remove conditional code.
3635 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3636 <kernel-features.h>.
3637 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3639 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3642 not include <kernel-features.h>.
3643 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3645 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3647 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3648 include <kernel-features.h>.
3649 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3651 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3654 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3656 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3657 slight instruction rearrangements per scrollpipe analysis.
3658 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3660 2012-08-20 Roland McGrath <roland@hack.frob.com>
3662 * manual/syslog.texi (syslog; vsyslog, closelog):
3663 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3664 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3666 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3667 DSOCAPS to match condition on defining it.
3669 2012-08-20 Joseph Myers <joseph@codesourcery.com>
3671 * sysdeps/unix/sysv/linux/kernel-features.h
3672 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3674 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3675 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3677 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3678 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3680 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3681 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3683 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3684 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3686 * sysdeps/unix/sysv/linux/kernel-features.h
3687 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3688 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3690 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3691 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3692 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3693 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3694 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3695 Make code unconditional.
3696 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3697 (__mmap64) [!__NR_mmap2]: Likewise.
3698 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3699 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3700 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3701 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3702 [__NR_mmap2]: Make code unconditional.
3703 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3704 (__mmap64) [!__NR_mmap2]: Likewise.
3706 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3708 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3710 2012-08-18 Andreas Jaeger <aj@suse.de>
3712 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3714 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3716 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3717 * include/unistd.h (__have_sock_cloexec): Likewise.
3718 (__have_pipe2): Likewise.
3719 (__have_dup3): Likewise.
3721 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3724 * include/unistd.h (__have_pipe2): Change define into an extern int.
3725 (__have_dup3): Likewise.
3726 * socket/have_sock_cloexec.c: Include fcntl.h.
3727 (__have_pipe2): New variable.
3728 (__have_dup3): Likewise.
3730 2012-08-17 Mike Frysinger <vapier@gentoo.org>
3732 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3734 2012-08-17 Marek Polacek <polacek@redhat.com>
3736 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3737 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3739 2012-08-17 Roland McGrath <roland@hack.frob.com>
3741 * configure.in: Add AC_SUBST for sysheaders.
3742 * configure: Regenerated.
3743 * config.make.in (sysheaders): New substituted variable.
3745 * sysdeps/unix/mkfifo.c: Moved ...
3746 * sysdeps/posix/mkfifo.c: ... here.
3747 * sysdeps/unix/mkfifoat.c: Moved ...
3748 * sysdeps/posix/mkfifoat.c: ... here.
3750 * sysdeps/unix/utime.c: Moved ...
3751 * sysdeps/posix/utime.c: ... here.
3753 * sysdeps/unix/time.c: Moved ...
3754 * sysdeps/posix/time.c: ... here.
3755 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3756 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3758 * sysdeps/unix/nice.c: Moved ...
3759 * sysdeps/posix/nice.c: ... here.
3761 * sysdeps/unix/alarm.c: Moved ...
3762 * sysdeps/posix/alarm.c: ... here.
3764 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3766 2012-08-17 Jeff Law <law@redhat.com>
3768 * intl/Makefile (codeset_mo): New variable.
3769 ($(codeset_mo)): New target.
3770 (tst-codeset.out): Depend on that. Remove explicit rule.
3771 (tst-gettext3.out, tst-gettext5.out): Likewise.
3772 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3773 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3774 * intl/tst-codeset.sh: Remove.
3775 * intl/tst-gettext3.sh: Likewise.
3776 * intl/tst-gettext5.sh: Likewise.
3778 2012-08-17 Roland McGrath <roland@hack.frob.com>
3780 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3781 * sysdeps/unix/syscalls.list: ... here.
3783 * sysdeps/posix/getaddrinfo.c
3784 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3785 (gaiconf_init, gaiconf_reload): Use them.
3787 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3788 Define using time_t rather than struct timespec.
3790 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3791 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3793 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3795 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3796 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3799 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3800 __libc_cleanup_push argument.
3802 * bits/param.h: New file.
3803 * misc/sys/param.h: New file.
3804 * include/sys/param.h: New file.
3805 * misc/Makefile (headers): Add bits/param.h.
3806 * sysdeps/generic/sys/param.h: File removed.
3807 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3808 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3809 * sysdeps/mach/hurd/bits/param.h: New file.
3810 * sysdeps/mach/hurd/sys/param.h: File removed.
3812 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3815 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3817 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3818 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3821 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3822 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3823 rather than -D_IO_MTSAFE_IO conditionally.
3824 * stdio-common/Makefile (CPPFLAGS): Likewise.
3825 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3826 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3827 Use $(libio-mtsafe).
3828 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3830 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3831 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3832 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3833 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3834 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3835 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3836 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3837 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3838 (CFLAGS-fread_u_chk.c): Likewise.
3839 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3840 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3841 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3842 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3843 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3844 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3845 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3846 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3847 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3849 * libio/Makefile: Test [$(libc-reentrant) = yes]
3850 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3853 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3854 * sysdeps/pthread/configure: File removed.
3855 * sysdeps/pthread/Makeconfig: New file.
3856 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3857 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3859 2012-08-16 Gary Benson <gbenson@redhat.com>
3861 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3862 unmapping the first object in a namespace.
3864 2012-08-16 Roland McGrath <roland@hack.frob.com>
3866 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3867 (__internal_setnetgrent): ... this. Add internal_function to
3868 definition. Add libc_hidden_def.
3869 (setnetgrent): Update caller.
3870 (internal_endnetgrent): Renamed to ...
3871 (__internal_endnetgrent): ... this. Add internal_function to
3872 definition. Add libc_hidden_def.
3873 (endnetgrent): Update caller.
3874 (internal_getnetgrent_r): Renamed to ...
3875 (__internal_getnetgrent_r): ... this. Add internal_function to
3876 definition. Add libc_hidden_def.
3877 (__getnetgrent_r): Update caller.
3878 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3880 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3882 * stdlib/longlong.h: Update from GCC.
3884 2012-08-16 Roland McGrath <roland@hack.frob.com>
3886 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3887 on _QL, which is set by umul_ppmm but never used.
3888 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3889 variables, which are set by GMP macros but never used.
3890 * stdio-common/_itowa.c (_itowa): Likewise.
3891 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3892 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3894 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3896 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3897 struct La_sh_regs is not constant.
3898 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3899 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3900 and struct La_sparc64_regs are not constant.
3902 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3904 * sysdeps/unix/sysv/linux/kernel-features.h
3905 (__ASSUME_POSIX_TIMERS): Remove.
3906 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3907 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3908 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3909 Make code unconditional.
3910 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3911 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3912 Make code unconditional.
3913 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3914 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3915 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3916 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3917 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3918 Make code unconditional.
3919 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3920 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3921 (__libc_missing_posix_timers): Remove.
3923 2012-08-15 Roland McGrath <roland@hack.frob.com>
3925 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3926 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3928 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3930 * elf/dl-sym.c: Include <stdlib.h>.
3932 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3933 constants, which avoids warnings in 32-bit builds.
3935 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3936 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3938 * misc/lseek.c: File moved to ...
3939 * io/lseek.c: ... here.
3941 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3943 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3944 shifting LEN more than 31 bits at once.
3946 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3949 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3950 segmentation fault for a case of two empty input strings.
3951 * string/test-strncasecmp.c (check1): Renamed to...
3953 (bz14195): Add new testcase for two empty input strings and N > 0.
3954 (test_main): Call new testcase, adapt for renamed function.
3956 2012-08-15 Andreas Jaeger <aj@suse.de>
3959 * crypt/md5test2.c: New test, based on test supplied by Serge
3960 Belyshev <belyshev@depni.sinp.msu.ru>.
3961 * crypt/Makefile (xtests): Add md5test-giant..
3962 * crypt/Makefile ($(objpfx)md5test-giant): Add.
3964 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
3967 * crypt/md5.c (md5_process_block): Don't assume the buffer
3968 length is less than 2**32.
3969 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
3970 length is less than 2**64.
3972 2012-08-15 Roland McGrath <roland@hack.frob.com>
3974 * string/str-two-way.h: Include <sys/param.h>.
3975 (MAX): Macro removed.
3977 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
3978 Move #define and #undef of memmove to just before and after
3979 including <string.h>.
3981 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
3982 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
3983 and after including <string.h>. Move declarations of
3984 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
3985 to before #include "string/memmove.c".
3987 * include/dirent.h: Declare __getdirentries.
3989 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
3990 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
3992 2012-08-14 Mike Frysinger <vapier@gentoo.org>
3994 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
3995 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
3996 * sysdeps/i386/configure: Regenerated.
3997 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
3998 STABS_CURRENT_FILE, and STABS_FUN.
3999 (END): Remove call to STABS_FUN_END.
4000 (STABS_CURRENT_FILE1): Delete.
4001 (STABS_CURRENT_FILE): Likewise.
4002 (STABS_FUN): Likewise.
4003 (STABS_FUN_END): Likewise.
4004 (STABS_FUN2): Likewise.
4005 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4006 * sysdeps/x86_64/configure: Regenerated.
4008 2012-08-14 Roland McGrath <roland@hack.frob.com>
4010 * elf/dl-open.c: Include <atomic.h>.
4011 * elf/dl-lookup.c: Likewise.
4013 2012-08-14 Joseph Myers <joseph@codesourcery.com>
4015 * sysdeps/unix/sysv/linux/kernel-features.h
4016 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4017 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4019 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4021 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4022 condition on __ASSUME_CLONE_THREAD_FLAGS.
4024 2012-08-14 Andreas Jaeger <aj@suse.de>
4026 * sysdeps/i386/fpu/libm-test-ulps: Update.
4028 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4030 * include/atomic.h (atomic_exchange_and_add): Split into ...
4031 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4034 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4038 2012-08-13 Jeff Law <law@redhat.com>
4040 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4041 null byte in the output string.
4043 2012-08-10 Joseph Myers <joseph@codesourcery.com>
4045 * sysdeps/unix/sysv/linux/kernel-features.h
4046 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4047 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4048 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4049 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4050 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4051 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4052 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4054 2012-08-09 Jeff Law <law@redhat.com>
4057 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4058 When avoid_arena is set, don't retry in the that arena. Pick the
4059 next one, whatever it might be.
4060 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4061 (arena_lock): Pass in new parameter to arena_get2.
4062 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4064 (__libc_malloc): Unify retrying after main arena failure with
4065 __libc_memalign version.
4066 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4068 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4071 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4072 to __redirect_strstr.
4073 (__strstr_sse42): Use typeof __redirect_strstr.
4074 (__strstr_ia32): Likewise.
4075 (__libc_strstr): New prototype.
4076 (strstr): Renamed to ...
4077 (__libc_strstr): This.
4078 (strstr): New strong alias of __libc_strstr.
4079 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4080 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4083 (__libc_time): New prototype.
4084 (time_ifunc): Replace time with __libc_time.
4085 (time): New strong alias and hidden definition of __libc_time.
4086 (__GI_time): Remove strong alias.
4087 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4089 (memmove): Redefined to __redirect_memmove.
4090 (__memmove_sse2): Use typeof __redirect_memmove.
4091 (__memmove_ssse3): Likewise.
4092 (__memmove_ssse3_back): Likewise.
4093 (__libc_memmove): New prototype.
4094 (memmove): Renamed to ...
4095 (__libc_memmove): This.
4096 (memmove): New strong alias of __libc_memmove.
4098 2012-08-08 Mark Salter <msalter@redhat.com>
4101 (R_MN10300_TLS_GD): Define.
4102 (R_MN10300_TLS_LD): Likewise.
4103 (R_MN10300_TLS_LDO): Likewise.
4104 (R_MN10300_TLS_GOTIE): Likewise.
4105 (R_MN10300_TLS_IE): Likewise.
4106 (R_MN10300_TLS_LE): Likewise.
4107 (R_MN10300_TLS_DTPMOD): Likewise.
4108 (R_MN10300_TLS_DTPOFF): Likewise.
4109 (R_MN10300_TLS_TPOFF): Likewise.
4110 (R_MN10300_SYM_DIFF): Likewise.
4111 (R_MN10300_ALIGN): Likewise.
4112 (R_MN10300_NUM): Update.
4114 2012-08-08 Joseph Myers <joseph@codesourcery.com>
4116 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4119 2012-08-08 Roland McGrath <roland@hack.frob.com>
4121 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4123 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4124 sysdeps/unix -> sysdeps/posix move.
4125 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4127 2012-08-07 Allan McRae <allan@archlinux.org>
4130 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4131 (SUNOS_CPP): Likewise.
4132 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4134 (open_input): Call CPP using execvp.
4136 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4138 * sysdeps/unix/sysv/linux/kernel-features.h
4139 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4140 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4141 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4142 (__ASSUME_WAITID_SYSCALL): Likewise.
4143 * sysdeps/unix/sysv/linux/dl-execstack.c
4144 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4146 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4148 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4149 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4150 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4152 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4154 [__ASSUME_WAITID_SYSCALL]: Likewise.
4155 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4157 2012-08-07 Roland McGrath <roland@hack.frob.com>
4159 * sysdeps/unix/closedir.c: Renamed to ...
4160 * sysdeps/posix/closedir.c: ... here.
4161 * sysdeps/unix/dirfd.c: Renamed to ...
4162 * sysdeps/posix/dirfd.c: ... here.
4163 * sysdeps/unix/dirstream.h: Renamed to ...
4164 * sysdeps/posix/dirstream.h: ... here.
4165 * sysdeps/unix/fdopendir.c: Renamed to ...
4166 * sysdeps/posix/fdopendir.c: ... here.
4167 * sysdeps/unix/opendir.c: Renamed to ...
4168 * sysdeps/posix/opendir.c: ... here.
4169 * sysdeps/unix/readdir.c: Renamed to ...
4170 * sysdeps/posix/readdir.c: ... here.
4171 * sysdeps/unix/readdir_r.c: Renamed to ...
4172 * sysdeps/posix/readdir_r.c: ... here.
4173 * sysdeps/unix/rewinddir.c: Renamed to ...
4174 * sysdeps/posix/rewinddir.c: ... here.
4175 * sysdeps/unix/seekdir.c: Renamed to ...
4176 * sysdeps/posix/seekdir.c: ... here.
4177 * sysdeps/unix/telldir.c: Renamed to ...
4178 * sysdeps/posix/telldir.c: ... here.
4179 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4180 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4181 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4182 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4184 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4185 * bits/fcntl.h: ... here.
4187 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4189 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4190 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4191 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4192 (struct flock): Move l_start, l_len to the beginning.
4193 Use __pid_t for l_pid.
4194 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4195 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4196 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4197 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4198 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4199 [__USE_LARGEFILE64] (struct flock64): New type.
4200 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4202 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4203 * bits/dirent.h: ... here.
4205 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4206 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4208 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4210 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4211 Change from 2.6.0 to 2.6.16.
4212 * sysdeps/unix/sysv/linux/configure: Regenerated.
4213 * sysdeps/unix/sysv/linux/kernel-features.h
4214 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4215 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4217 (__ASSUME_UTIMES): Likewise.
4218 (__ASSUME_CLONE_STOPPED): Remove.
4219 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4220 architectures, not kernel version.
4221 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4222 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4223 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4224 (__ASSUME_WAITID_SYSCALL): Likewise.
4225 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4226 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4227 * README: State 2.6.16 as minimum Linux kernel version. Do not
4228 refer to older versions.
4230 2012-08-06 Roland McGrath <roland@hack.frob.com>
4232 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4233 Define alphasort64 as an alias.
4234 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4235 Define versionsort64 as an alias.
4236 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4237 Define scandir64 as an alias.
4238 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4239 Define scandirat64 as an alias.
4240 * dirent/alphasort64.c (alphasort64):
4241 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4242 * dirent/versionsort64.c: Likewise.
4243 * dirent/scandir64.c: Likewise.
4244 * dirent/scandirat64.c: Likewise.
4245 * sysdeps/wordsize-64/alphasort.c: File removed.
4246 * sysdeps/wordsize-64/alphasort64.c: File removed.
4247 * sysdeps/wordsize-64/scandir.c: File removed.
4248 * sysdeps/wordsize-64/scandir64.c: File removed.
4249 * sysdeps/wordsize-64/scandirat.c: File removed.
4250 * sysdeps/wordsize-64/scandirat64.c: File removed.
4251 * sysdeps/wordsize-64/versionsort.c: File removed.
4252 * sysdeps/wordsize-64/versionsort64.c: File removed.
4253 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4254 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4255 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4256 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4257 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4258 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4259 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4260 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4262 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4263 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4264 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4265 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4266 [defined __arch64__ || defined __sparcv9]
4267 (__INO_T_MATCHES_INO64_T): New macro.
4268 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4269 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4270 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4271 * sysdeps/unix/sysv/linux/bits/dirent.h
4272 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4273 (_DIRENT_MATCHES_DIRENT64): New macro.
4275 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4276 Define lockf64 as an alias.
4277 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4278 Define fseeko64 as an alias.
4279 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4280 Define ftello64 as an alias.
4281 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4282 Define _IO_fgetpos64 and fgetpos64 as aliases.
4283 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4284 Define _IO_fsetpos64 and fsetpos64 as aliases.
4285 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4286 Conditionalize body on this.
4287 * libio/fseeko64.c: Likewise.
4288 * libio/ftello64.c: Likewise.
4289 * libio/iofgetpos64.c: Likewise.
4290 * libio/iofsetpos64.c: Likewise.
4291 * sysdeps/wordsize-64/lockf.c: File removed.
4292 * sysdeps/wordsize-64/lockf64.c: File removed.
4293 * sysdeps/wordsize-64/fseeko.c: File removed.
4294 * sysdeps/wordsize-64/fseeko64.c: File removed.
4295 * sysdeps/wordsize-64/ftello.c: File removed.
4296 * sysdeps/wordsize-64/ftello64.c: File removed.
4297 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4298 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4299 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4300 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4301 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4302 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4303 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4304 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4305 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4306 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4307 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4308 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4309 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4310 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4312 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4314 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4316 [defined __arch64__ || defined __sparcv9]
4317 (__OFF_T_MATCHES_OFF64_T): New macro.
4318 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4319 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4320 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4321 (__OFF_T_MATCHES_OFF64_T): New macro.
4323 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4325 * stdlib/secure-getenv.c (__secure_getenv): Replace
4326 GLIBC_2_16 with GLIBC_2_17.
4328 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4330 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4331 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4333 2012-08-03 David S. Miller <davem@davemloft.net>
4335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4337 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4339 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4341 (__ASSUME_CORRECT_SI_PID): Likewise.
4342 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4343 (__ASSUME_TMPFS_NAME): Likewise.
4344 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4345 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4346 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4347 (HAVE_AUX_SECURE): Make definition unconditional.
4348 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4349 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4351 2012-08-03 Roland McGrath <roland@hack.frob.com>
4353 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4354 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4355 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4356 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4357 __eloop_threshold instead of SYMLOOP_MAX.
4359 * sysdeps/generic/eloop-threshold.h: New file.
4360 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4362 * elf/chroot_canon.c (chroot_canon): Likewise.
4364 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4367 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4368 Change to 2.6.0 everywhere.
4369 * sysdeps/unix/sysv/linux/configure: Regenerated.
4370 * sysdeps/unix/sysv/linux/kernel-features.h
4371 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4372 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4374 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4375 (__ASSUME_FUTEX_REQUEUE): Remove.
4376 (__ASSUME_STATFS64): Define unconditionally.
4377 (__ASSUME_AT_SECURE): Likewise.
4378 (__ASSUME_CORRECT_SI_PID): Likewise.
4379 (__ASSUME_TGKILL): Define without depending on kernel version for
4381 (__ASSUME_UTIMES): Likewise.
4382 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4384 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4385 (__ASSUME_TMPFS_NAME): Likewise.
4386 * README: Update reference to Linux kernel versions.
4388 2012-08-02 Marek Polacek <polacek@redhat.com>
4391 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4392 libc_cv_asm_type_prefix with %.
4393 * configure: Regenerated.
4394 * include/libc-symbols.h: Remove comment about
4395 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4396 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4397 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4398 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4399 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4400 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4401 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4402 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4403 * elf/tst-unique2mod1.c: Likewise.
4404 * elf/tst-unique1mod2.c: Likewise.
4405 * elf/tst-unique1mod1.c: Likewise.
4406 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4407 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4408 Replace ASM_TYPE_DIRECTIVE with .type.
4409 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4410 * sysdeps/i386/sysdep.h: Likewise.
4411 * sysdeps/x86_64/sysdep.h: Likewise.
4412 * sysdeps/sh/sysdep.h: Likewise.
4413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4414 Do not define ASM_TYPE_DIRECTIVE.
4415 * sysdeps/powerpc/sysdep.h: Likewise.
4416 * sysdeps/powerpc/powerpc32/sysdep.h:
4417 Replace ASM_TYPE_DIRECTIVE with .type.
4418 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4419 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4420 * sysdeps/i386/fpu/e_powf.S: Likewise.
4421 * sysdeps/i386/fpu/e_expl.S: Likewise.
4422 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4423 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4424 * sysdeps/i386/fpu/e_pow.S: Likewise.
4425 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4426 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4427 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4428 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4429 * sysdeps/i386/fpu/e_log2.S: Likewise.
4430 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4431 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4432 * sysdeps/i386/fpu/e_powl.S: Likewise.
4433 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4434 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4435 * sysdeps/i386/fpu/e_logl.S: Likewise.
4436 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4437 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4438 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4439 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4440 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4441 * sysdeps/i386/fpu/e_log.S: Likewise.
4442 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4443 * sysdeps/i386/fpu/e_logf.S: Likewise.
4444 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4445 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4446 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4447 * sysdeps/i386/fpu/e_log10.S: Likewise.
4448 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4449 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4450 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4451 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4452 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4453 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4454 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4455 * sysdeps/i386/i686/strtok.S: Likewise.
4456 * sysdeps/i386/i386-mcount.S: Likewise.
4457 * sysdeps/i386/strtok.S: Likewise.
4458 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4459 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4460 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4461 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4462 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4463 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4464 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4465 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4466 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4467 * sysdeps/x86_64/_mcount.S: Likewise.
4468 * sysdeps/x86_64/strtok.S: Likewise.
4469 * sysdeps/sh/_mcount.S: Likewise.
4471 2012-08-01 Roland McGrath <roland@hack.frob.com>
4473 * libio/iofopen.c: Include <fcntl.h>.
4474 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4475 (_IO_fopen64, fopen64): Define as aliases.
4476 * libio/iofopen64.c: Include <fcntl.h>.
4477 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4478 Conditionalize body on this.
4479 * sysdeps/wordsize-64/iofopen.c: File removed.
4480 * sysdeps/wordsize-64/iofopen64.c: File removed.
4482 2012-08-01 Marek Polacek <polacek@redhat.com>
4484 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4485 Use dlfcn directly instead of a variable.
4486 (binfmt-subdir): Do not define.
4489 2012-08-01 Joseph Myers <joseph@codesourcery.com>
4491 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4492 Remove all definitions.
4493 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4494 <kernel-features.h>.
4495 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4496 (miss_F_GETOWN_EX): Remove all definitions.
4497 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4499 [!__ASSUME_FCNTL64]: Remove conditional code.
4500 [__ASSUME_FCNTL64]: Make code unconditional.
4501 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4502 <kernel-features.h>.
4503 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4504 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4505 (lockf64) [__NR_fcntl64]: Make code unconditional.
4506 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4508 * sysdeps/unix/sysv/linux/kernel-features.h
4509 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4510 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4511 Make code unconditional.
4512 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4513 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4515 [__NR_vfork]: Make code unconditional.
4516 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4517 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4519 [__NR_vfork]: Make code unconditional.
4520 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4521 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4523 2012-08-01 Roland McGrath <roland@hack.frob.com>
4525 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4526 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4528 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4529 Define mkstemp64 as an alias.
4530 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4531 Define mkstemps64 as an alias.
4532 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4533 Define mkostemp64 as an alias.
4534 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4535 Define mkostemps64 as an alias.
4536 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4537 Conditionalize body on this.
4538 * misc/mkostemp64.c: Likewise.
4539 * misc/mkostemps64.c: Likewise.
4540 * misc/mkstemps64.c: Likewise.
4541 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4542 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4543 * sysdeps/wordsize-64/mkostemp.c: File removed.
4544 * sysdeps/wordsize-64/mkstemp.c: File removed.
4545 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4546 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4547 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4548 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4551 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4552 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4553 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4554 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4556 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4557 compat_symbol macros from <shlib-compat.h> rather than the underlying
4558 default_symbol_version and symbol_version macros, so that DEFAULT
4559 lines in shlib-versions are respected.
4560 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4562 2012-08-01 Florian Weimer <fweimer@redhat.com>
4564 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4565 Declare with warn_unused_result.
4566 (setgid, setregid, setegid, setresgid): Likewise.
4567 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4569 * WUR-REPORT: Remove set*id functions.
4571 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4573 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4575 2012-07-31 Roland McGrath <roland@hack.frob.com>
4577 * include/sys/socket.h (__libc_accept, __libc_accept4):
4578 Add attribute_hidden.
4579 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4581 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4583 * inet/getnetgrent_r.c (setup): Likewise.
4585 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4587 2012-07-31 David S. Miller <davem@davemloft.net>
4589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4591 2012-07-31 Joseph Myers <joseph@codesourcery.com>
4594 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4595 value between 1.0 and 2.0 and smaller part has absolute value less
4597 * math/s_clog10.c (__clog10): Likewise.
4598 * math/s_clog10f.c (__clog10f): Likewise.
4599 * math/s_clog10l.c (__clog10l): Likewise.
4600 * math/s_clogf.c (__clogf): Likewise.
4601 * math/s_clogl.c (__clogl): Likewise.
4602 * math/libm-test.inc (clog_test): Add more tests.
4603 (clog10_test): Likewise.
4604 * sysdeps/i386/fpu/libm-test-ulps: Update.
4605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4607 2012-07-31 Florian Weimer <fweimer@redhat.com>
4609 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4610 Exit with zero in case no suitable GID is found, and write a
4611 message to standard error.
4613 2012-07-30 Roland McGrath <roland@hack.frob.com>
4615 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4617 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4618 (MAXPATHLEN): Removed.
4619 (NOGROUP, NODEV): New macros.
4620 (setbit, clrbit, isset, isclr): New macros.
4621 (howmany, roundup, powerof2): New macros.
4622 (DEV_BSIZE): New macro.
4624 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4625 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4627 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4628 definition on [!__NO_LONG_DOUBLE_MATH].
4630 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4631 PTR_MANGLE and PTR_DEMANGLE.
4633 * socket/accept4.c (accept4): Rename to __libc_accept4.
4634 Define accept4 as a weak alias.
4636 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4637 on [_DIRENT_HAVE_D_TYPE].
4638 * io/ftw.c (ftw_dir): Likewise.
4640 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4642 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4644 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4645 Use the BSD numbers rather than the arbitrary ones we had.
4646 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4647 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4648 (SIGXCPU, SIGXFSZ): New macros.
4651 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4652 initializer on [_LIBC_REENTRANT].
4654 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4655 definitions inside [_POSIX_MAPPED_FILES].
4657 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4659 * dirent/opendir.c: Include <fcntl.h>.
4661 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4662 (__libc_getspecific): Likewise.
4663 (__libc_key_create): Likewise.
4665 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4666 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4667 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4668 (tmpfile64): Define as alias.
4669 * sysdeps/wordsize-64/tmpfile.c: File removed.
4670 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4671 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4672 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4674 * stdio-common/vfscanf.c: Include <stdbool.h>.
4675 * nss/makedb.c: Likewise.
4676 * stdio-common/_i18n_number.h: Likewise.
4677 * argp/argp-help.c: Likewise.
4678 * posix/wordexp.c: Likewise.
4679 * sysdeps/posix/spawni.c: Likewise.
4680 * nss/nss_files/files-initgroups.c: Likewise.
4681 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4682 * nss/nss_files/files-initgroups.c: Likewise.
4683 * nss/nss_db/db-netgrp.c: Likewise.
4684 * nss/nss_db/db-initgroups.c: Likewise.
4685 * io/fchmodat.c: Include <sys/stat.h>.
4687 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4688 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4690 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4693 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4694 Add multiple inclusion protection.
4696 2012-07-27 David S. Miller <davem@davemloft.net>
4698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4700 2012-07-27 Gary Benson <gbenson@redhat.com>
4703 * elf/rtld.c: Include <stap-probe.h>.
4704 (dl_main): Added static probes "init_start" and "init_complete".
4705 * elf/dl-load.c: Include <stap-probe.h>.
4706 (lose): Take new parameter "nsid".
4707 Added static probe "map_failed".
4708 (_dl_map_object_from_fd): Pass namespace id to lose.
4709 Added static probe "map_start".
4710 (open_verify): Pass namespace id to lose.
4711 * elf/dl-open.c: Include <stap-probe.h>.
4712 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4713 and "reloc_complete".
4714 * elf/dl-close.c: Include <stap-probe.h>.
4715 (_dl_close_worker): Added static probes "unmap_start" and
4717 * elf/rtld-debugger-interface.txt: New file documenting the above.
4719 2012-07-26 Roland McGrath <roland@hack.frob.com>
4721 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4722 rather than a string variable.
4723 * sunrpc/rpc_main.c (h_output): Likewise.
4724 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4726 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4728 * inet/check_native.c: New file.
4730 2012-07-26 Joseph Myers <joseph@codesourcery.com>
4733 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4734 if larger part has absolute value 1.0.
4735 * math/s_clog10.c (__clog10): Likewise.
4736 * math/s_clog10f.c (__clog10f): Likewise.
4737 * math/s_clog10l.c (__clog10l): Likewise.
4738 * math/s_clogf.c (__clogf): Likewise.
4739 * math/s_clogl.c (__clogl): Likewise.
4740 * math/libm-test.inc (clog_test): Add more tests.
4741 (clog10_test): Likewise.
4742 * sysdeps/i386/fpu/libm-test-ulps: Update.
4743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4745 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4746 (pltexit): Likewise.
4747 (La_regs): Likewise.
4748 (La_retval): Likewise.
4749 (int_retval): Likewise.
4750 Update #error for removed macros to refer only to definitions in
4752 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4754 (pltexit): Likewise.
4755 (La_regs): Likewise.
4756 (La_retval): Likewise.
4757 (int_retval): Likewise.
4758 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4760 (pltexit): Likewise.
4761 (La_regs): Likewise.
4762 (La_retval): Likewise.
4763 (int_retval): Likewise.
4764 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4766 (pltexit): Likewise.
4767 (La_regs): Likewise.
4768 (La_retval): Likewise.
4769 (int_retval): Likewise.
4770 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4772 (pltexit): Likewise.
4773 (La_regs): Likewise.
4774 (La_retval): Likewise.
4775 (int_retval): Likewise.
4776 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4778 (pltexit): Likewise.
4779 (La_regs): Likewise.
4780 (La_retval): Likewise.
4781 (int_retval): Likewise.
4782 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4784 (pltexit): Likewise.
4785 (La_regs): Likewise.
4786 (La_retval): Likewise.
4787 (int_retval): Likewise.
4788 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4789 macro definitions in tst-audit.h.
4790 * sysdeps/i386/tst-audit.h: New file.
4791 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4792 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4793 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4794 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4795 * sysdeps/sh/tst-audit.h: Likewise.
4796 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4797 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4798 * sysdeps/x86_64/tst-audit.h: Likewise.
4800 2012-07-26 Andreas Jaeger <aj@suse.de>
4802 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4805 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4806 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4807 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4809 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4810 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4811 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4813 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4816 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4818 (si_call_addr, si_syscall, si_arch): Define new macro.
4819 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4821 (si_call_addr, si_syscall, si_arch): Define new marcro.
4822 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4824 (si_call_addr, si_syscall, si_arch): Define new macro.
4825 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4827 (si_call_addr, si_syscall, si_arch): Define new macro.
4829 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4832 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4833 Change to 2.4.21 where previously 2.4.1.
4834 * sysdeps/unix/sysv/linux/configure: Regenerated.
4835 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4836 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4837 Linux kernel version.
4838 (__ASSUME_STD_AUXV): Remove.
4839 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4841 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4842 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4843 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4844 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4845 (__ASSUME_NETLINK_SUPPORT): Likewise.
4846 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4847 (__no_netlink_support): Remove conditional definition.
4848 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4850 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4851 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4852 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4853 (if_nameindex_ioctl): Remove.
4854 (if_nameindex_netlink): Do not handle __no_netlink_support.
4855 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4857 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4858 Remove conditional code.
4859 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4861 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4863 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4864 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4865 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4867 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4868 [!__ASSUME_STD_AUXV]: Remove conditional code.
4869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4870 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4871 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4873 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4874 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4876 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4878 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4879 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4881 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4883 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4886 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4889 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4891 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4893 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4895 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4898 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4900 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4903 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4905 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4907 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4909 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4912 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4914 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4916 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4918 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4921 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4923 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4924 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4925 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4926 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4927 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4928 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4929 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4930 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4931 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4932 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4933 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4934 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4935 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4936 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4937 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4938 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4939 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4940 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4941 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4943 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4944 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4945 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4947 2012-07-25 Florian Weimer <fweimer@redhat.com>
4949 * Versions.def: Add GLIBC_2.17.
4950 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4951 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4952 Introduce __libc_secure_getenv.
4953 * stdlib/Versions (2.17): Add secure_getenv
4954 (GLIBC_PRIVATE): Add __libc_secure_getenv.
4955 * stdlib/secure-getenv.c: Rename __secure_getenv to
4956 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
4957 symbol __secure_getenv for GLIBC_2.0.
4958 * stdlib/tst-secure-getenv.c: New.
4959 * stdlib/Makefile (tests): Add testcase.
4960 * manual/startup.texi (Environment Access): Document
4962 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
4963 __libc_secure_getenv.
4964 * inet/ruserpass.c (ruserpass): Likewise.
4965 * malloc/mtrace.c (mtrace): Likewise.
4966 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
4967 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4968 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
4969 * sysdeps/posix/tempname.c: Likewise. Evaluate
4971 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
4972 __secure_getenv to __libc_secure_getenv.
4973 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
4974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4980 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4986 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4988 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
4989 (struct La_i86_retval): Likewise.
4990 (struct La_x86_64_regs): Likewise.
4991 (struct La_x86_64_retval): Likewise.
4992 (struct La_x32_regs): Likewise.
4993 (struct La_x32_retval): Likewise.
4994 (struct La_ppc32_regs): Likewise.
4995 (struct La_ppc32_retval): Likewise.
4996 (struct La_ppc64_regs): Likewise.
4997 (struct La_ppc64_retval): Likewise.
4998 (struct La_sh_regs): Likewise.
4999 (struct La_sh_retval): Likewise.
5000 (struct La_s390_32_regs): Likewise.
5001 (struct La_s390_32_retval): Likewise.
5002 (struct La_s390_64_regs): Likewise.
5003 (struct La_s390_64_retval): Likewise.
5004 (struct La_sparc32_regs): Likewise.
5005 (struct La_sparc32_retval): Likewise.
5006 (struct La_sparc64_regs): Likewise.
5007 (struct La_sparc64_retval): Likewise.
5008 (struct audit_ifaces): Remove architecture-specific pltenter and
5010 * sysdeps/i386/ldsodefs.h: New file.
5011 * sysdeps/powerpc/ldsodefs.h: Likewise.
5012 * sysdeps/s390/ldsodefs.h: Likewise.
5013 * sysdeps/sh/ldsodefs.h: Likewise.
5014 * sysdeps/sparc/ldsodefs.h: Likewise.
5015 * sysdeps/x86_64/ldsodefs.h: Likewise.
5017 2012-07-25 Marek Polacek <polacek@redhat.com>
5020 * math/libm-test.inc (yn_test): Add another test.
5021 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5022 to ERANGE when the result is +-Inf.
5023 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5024 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5025 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5026 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5028 2012-07-24 Joseph Myers <joseph@codesourcery.com>
5030 * conform/data/time.h-data (NULL): Use macro-constant. Require
5032 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5034 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5036 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5038 * configure.in <sysdeps resolving>: Correct printing
5040 * configure: Regenerate.
5042 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5044 * math/w_ilogb.c: Include <limits.h>.
5045 * math/w_ilogbl.c: Likewise.
5047 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5049 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5050 va_copy. Document allowing for unavailable va_copy only as
5051 pre-C99 compatibility.
5052 * manual/string.texi (Copying and Concatenation): Use va_copy
5053 instead of __va_copy in concat example.
5055 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5057 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5058 (__sendto): Use create_address_port. Initialize APORT and deallocate
5061 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5062 with O_NOLINK passed to __file_name_lookup.
5064 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5065 with O_NOLINK passed to __file_name_lookup.
5067 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5068 negative N or less than NGIDS.
5070 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5071 type to string_t. Set ERANGE as errno and return it if NAME is not big
5072 enough. Use memcpy instead of strncpy.
5074 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5076 * elf/Makefile (check-data): Remove.
5077 (localplt.data): New vpath directive.
5078 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5079 instead of $(check-data).
5080 * scripts/data/localplt-generic.data: Move to ...
5081 * sysdeps/generic/localplt.data: ... here.
5082 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5083 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5084 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5087 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5090 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5093 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5096 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5099 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5103 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5105 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5106 PPC32 and PPC64 files.
5107 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5108 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5110 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5112 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5113 __makecontext_ret to ...
5114 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5115 ... here and call exit if uc_link is NULL. New file.
5116 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5117 __makecontext_ret.S.
5118 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5119 __makecontext_ret to ...
5120 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5121 ... here and call exit if uc_link is NULL. New file.
5122 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5123 __makecontext_ret.S.
5125 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5127 * elf/elf.h (R_390_IRELATIVE): New definition.
5128 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5129 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5130 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5131 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5132 (elf_machine_lazy_rel): Likewise.
5133 * sysdeps/s390/dl-irel.h: New file.
5134 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5135 * sysdeps/s390/s390-64/memset.S: New asm code.
5136 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5137 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5138 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5139 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5140 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5141 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5143 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5144 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5145 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5146 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5147 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5148 * sysdeps/s390/s390-32/memset.S: New asm code.
5149 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5151 2012-07-17 Marek Polacek <polacek@redhat.com>
5154 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5155 * sysdeps/s390/s390-64/configure.in: Likewise.
5156 * sysdeps/sparc/configure.in: Likewise.
5157 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5158 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5159 * sysdeps/i386/configure.in: Likewise.
5160 * sysdeps/x86_64/configure.in: Likewise.
5161 * sysdeps/sh/configure.in: Likewise.
5162 * sysdeps/s390/s390-32/configure: Regenerated.
5163 * sysdeps/s390/s390-64/configure: Likewise.
5164 * sysdeps/x86_64/configure: Likewise.
5165 * sysdeps/sh/configure: Likewise.
5166 * sysdeps/powerpc/powerpc64/configure: Likewise.
5167 * sysdeps/powerpc/powerpc32/configure: Likewise.
5168 * sysdeps/sparc/configure: Likwise.
5169 * sysdeps/i386/configure: Likewise.
5171 * elf/dl-open.c: Comment fixes.
5173 2012-07-17 Joseph Myers <joseph@codesourcery.com>
5175 * Makefile [CXX] (check-data): Remove.
5176 [CXX] (c++-types.data): New vpath directive.
5177 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5178 vpath. Do not allow for C++ type data being missing.
5179 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5180 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5181 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5182 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5183 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5184 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5185 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5188 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5191 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5194 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5197 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5200 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5203 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5206 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5209 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5210 definitions to architecture-specific files.
5214 * sysdeps/i386/tls-macros.h: New file.
5215 * sysdeps/powerpc/tls-macros.h: Likewise.
5216 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5217 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5218 * sysdeps/sh/tls-macros.h: Likewise.
5219 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5220 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5221 * sysdeps/x86_64/tls-macros.h: Likewise.
5223 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5225 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5226 zero value for regular exit case.
5228 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5229 (__start_context): Preserve zero value for regular exit case.
5231 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5232 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5234 * manual/setjmp.texi (setcontext): Clarify normal process
5235 termination when uc_link is the null pointer.
5236 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5239 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5241 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5242 preprocessor. Test for each exception mask separately.
5244 2012-07-16 Andreas Jaeger <aj@suse.de>
5246 * po/ru.po: Update from translation team.
5248 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5250 * conform/data/string.h-data (NULL): Use macro-constant. Require
5252 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5253 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5254 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5255 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5256 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5258 2012-07-13 Andreas Jaeger <aj@suse.de>
5260 * po/fr.po: Update from translation team.
5262 2012-07-12 Marek Polacek <polacek@redhat.com>
5265 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5266 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5269 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5272 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5273 Change to 2.4.1 where previously 2.4.0.
5274 * sysdeps/unix/sysv/linux/configure: Regenerated.
5275 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5276 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5278 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5279 (__ASSUME_AT_CLKTCK): Remove.
5280 (__ASSUME_AT_PAGESIZE): Likewise.
5281 (__ASSUME_AT_XID): Likewise.
5282 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5283 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5284 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5286 (HAVE_AUX_PAGESIZE): Likewise.
5287 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5288 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5289 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5291 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5295 the temporary buffer used to invoke __gethostbyname2_r,
5296 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5297 host_data / struct gaih_addrtuple.
5298 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5299 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5300 header file nss/nsswitch.h.
5301 * nss/nsswitch.h (global scope): Add definition of implementation
5302 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5303 resolv/nss_dns/dns-host.c).
5305 2012-07-11 Andreas Jaeger <aj@suse.de>
5307 * po/fr.po: Update from translation team.
5309 * po/sv.po: Update from translation team
5310 * po/fr.po: Another update from translation team.
5312 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5314 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5315 for subnormals or multiply small sinh result by itself.
5316 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5319 2012-07-11 David S. Miller <davem@davemloft.net>
5321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5323 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5326 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5327 (INTERNAL_MARK): Shift it here.
5329 2012-07-10 Marek Polacek <polacek@redhat.com>
5332 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5333 libc_cv_asm_global_directive with .globl.
5334 * configure: Regenerated.
5335 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5337 * sysdeps/i386/configure: Regenerated.
5338 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5340 * sysdeps/x86_64/configure: Regenerated.
5341 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5342 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5343 * elf/tst-unique2mod2.c: Likewise.
5344 * elf/tst-unique2mod1.c: Likewise.
5345 * elf/tst-unique1mod2.c: Likewise.
5346 * elf/tst-unique1mod1.c: Likewise.
5347 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5348 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5349 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5350 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5351 * sysdeps/mach/sysdep.h: Likewise.
5352 * sysdeps/i386/sysdep.h: Likewise.
5353 * sysdeps/i386/i386-mcount.S: Likewise.
5354 * sysdeps/x86_64/_mcount.S: Likewise.
5355 * sysdeps/x86_64/sysdep.h: Likewise.
5356 * sysdeps/sh/_mcount.S: Likewise.
5357 * sysdeps/sh/sysdep.h: Likewise.
5358 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5359 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5360 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5361 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5362 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5363 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5364 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5365 * locale/localeinfo.h: Likewise.
5366 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5367 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5369 2012-07-09 Roland McGrath <roland@hack.frob.com>
5372 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5374 * manual/message.texi (The Uniforum approach): Likewise.
5375 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5376 (glibc iconv Implementation): Likewise.
5378 2012-07-09 Joseph Myers <joseph@codesourcery.com>
5381 * math/s_clog.c (__clog): Avoid scaling a value down where that
5382 could result in underflow.
5383 * math/s_clog10.c (__clog10): Likewise.
5384 * math/s_clog10f.c (__clog10f): Likewise.
5385 * math/s_clog10l.c (__clog10l): Likewise.
5386 * math/s_clogf.c (__clogf): Likewise.
5387 * math/s_clogl.c (__clogl): Likewise.
5388 * math/libm-test.inc (clog_test): Add more tests.
5389 (clog10_test): Likewise.
5390 * sysdeps/i386/fpu/libm-test-ulps: Update.
5391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5393 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5396 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5397 by 7 not 8 to examine high bit of fractional part.
5400 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5401 for call to __mcount_internal.
5402 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5403 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5404 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5406 2012-07-06 Joseph Myers <joseph@codesourcery.com>
5409 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5410 approximation for values within 0x1p-13f of an odd multiple of
5412 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5413 exception. Add more tests.
5414 * sysdeps/i386/fpu/libm-test-ulps: Update.
5417 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5418 inputs and return -1 for them. Do not check for +Inf in case not
5420 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5421 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5422 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5423 and return -1 for them. Do not check for +Inf in case not
5425 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5427 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5428 and return -1 for them. Do not check for +Inf in case not
5430 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5432 * sysdeps/i386/fpu/libm-test-ulps: Update.
5433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5435 2012-07-06 Mike Frysinger <vapier@gentoo.org>
5437 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5439 2012-07-05 Joseph Myers <joseph@codesourcery.com>
5443 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5444 could result in spurious underflow. Scale down values above
5445 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5446 * math/s_csqrtf.c (__csqrtf): Likewise.
5447 * math/s_csqrtl.c (__csqrtl): Likewise.
5448 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5450 * sysdeps/i386/fpu/libm-test-ulps: Update.
5451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5453 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5455 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5457 * catgets/xopen-msg.awk: New file.
5458 * catgets/xopen-msg.sed: Removed.
5460 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5462 * intl/po2test.awk: New file.
5463 * intl/po2test.sed: Removed.
5465 2012-07-04 Joseph Myers <joseph@codesourcery.com>
5468 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5469 or multiply small sinh result by itself.
5470 * math/s_ctanf.c (__ctanf): Likewise.
5471 * math/s_ctanh.c (__ctanh): Likewise.
5472 * math/s_ctanhf.c (__ctanhf): Likewise.
5473 * math/s_ctanhl.c (__ctanhl): Likewise.
5474 * math/s_ctanl.c (__ctanl): Likewise.
5475 * math/libm-test.inc (ctan_test_tonearest): New function.
5476 (ctan_test_towardzero): Likewise.
5477 (ctan_test_downward): Likewise.
5478 (ctan_test_upward): Likewise.
5479 (ctanh_test_tonearest): Likewise.
5480 (ctanh_test_towardzero): Likewise.
5481 (ctanh_test_downward): Likewise.
5482 (ctanh_test_upward): Likewise.
5483 (main): Call these new functions.
5484 * sysdeps/i386/fpu/libm-test-ulps: Update.
5485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5487 2012-07-03 Mike Frysinger <vapier@gentoo.org>
5489 * .gitignore: Delete /ports entry.
5491 2012-07-03 Andreas Jaeger <aj@suse.de>
5493 * po/bg.po: Update from translation team.
5494 * po/cs.po: Likewise.
5495 * po/de.po: Likewise.
5496 * po/hr.po: Likewise.
5497 * po/nl.pl: Likewise.
5498 * po/pl.po: Likewise.
5499 * po/vi.po: Likewise.
5501 2012-07-03 Joseph Myers <joseph@codesourcery.com>
5503 * Makeconfig [!+link] (+link-before-libc): New variable.
5504 [!+link] (+link-after-libc): Likewise.
5505 [!+link] (+link-tests): Likewise.
5506 [!+link] (+link): Define in terms of $(+link-before-libc) and
5507 $(+link-after-libc).
5508 [!+link-static] (+link-static-before-libc): New variable.
5509 [!+link-static] (+link-static-after-libc): Likewise.
5510 [!+link-static] (+link-static-tests): Likewise.
5511 [!+link-static] (+link-static): Define in terms of
5512 $(+link-static-before-libc) and $(+link-static-after-libc).
5513 [build-shared] (link-libc-before-gnulib): New variable.
5514 [build-shared] (link-libc-tests): Likewise.
5515 [build-shared] (link-libc): Define in terms of
5516 $(link-libc-before-gnulib).
5517 [!build-shared] (link-libc-tests): New variable.
5518 (link-libc-static-tests): New variable.
5519 [!gnulib] (gnulib-arch): New variable.
5520 [!gnulib] (gnulib-tests): Likewise.
5521 [!gnulib] (static-gnulib-arch): Likewise.
5522 [!gnulib] (static-gnulib-tests): Likewise.
5523 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5524 Define with "=" instead of ":=".
5525 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5526 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5527 * Rules (binaries-all-notests): New variable.
5528 (binaries-all-tests): Likewise.
5529 (binaries-static-notests): Likewise.
5530 (binaries-static-tests): Likewise.
5531 (binaries-all): Define using $(binaries-all-notests) and
5532 $(binaries-all-tests).
5533 (binaries-static): Define using $(binaries-static-notests) and
5534 $(binaries-static-tests).
5535 (binaries-shared-tests): New variable.
5536 (binaries-shared-notests): Likewise.
5537 (binaries-shared): Remove variable.
5538 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5539 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5540 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5541 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5542 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5543 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5544 * elf/Makefile (sln-modules): New variable.
5545 (extra-objs): Add $(sln-modules:=.o).
5546 (ldconfig-modules): Add static-stubs.
5547 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5548 * elf/static-stubs.c: New file.
5551 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5552 by 7 not 8 to examine high bit of fractional part. Use volatile
5553 variables when splitting into final array of floats if
5554 __FLT_EVAL_METHOD__ != 0.
5555 * math/libm-test.inc (cos_test): Add another test.
5556 (sin_test): Likewise.
5557 * sysdeps/i386/fpu/libm-test-ulps: Update.
5560 * math/libm-test.inc (cosh_test): Add more tests.
5562 * version.h (RELEASE): Set to "development".
5563 (VERSION): Set to "2.16.90".
5565 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5567 * NEWS: Update copyright. Remove last-updated date.
5568 Mention math library bug fixes and timezone data changes.
5569 * README: Mention GNU/Hurd, x32, and HPPA support status.
5571 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5573 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5575 2012-06-27 Andreas Jaeger <aj@suse.de>
5577 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5579 2012-06-25 Andreas Jaeger <aj@suse.de>
5581 * sysdeps/s390/fpu/libm-test-ulps: Update.
5583 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5584 Thomas Schwinge <thomas@codesourcery.com>
5586 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5587 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5588 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5591 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5593 * sysdeps/mach/start.c: Remove file.
5594 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5595 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5596 * sysdeps/sh/init-first.c: Likewise.
5598 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5599 registers for frame unwinding purposes, add CFI directives.
5600 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5601 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5602 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5605 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5606 __fortify_fail returning.
5607 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5609 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5610 sysdeps/sh/____longjmp_chk.S.
5611 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5612 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5613 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5614 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5616 * sysdeps/sh/abort-instr.h: New file.
5617 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5618 process in case exit returns.
5620 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5621 initialize the GOT register before use.
5623 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5624 calculation of ARGC > 4.
5626 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5627 meaningful names to some local labels.
5629 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5630 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5632 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5633 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5634 (__arch_compare_and_exchange_val_16_acq): Likewise.
5635 (__arch_compare_and_exchange_val_32_acq): Likewise.
5636 (atomic_exchange_and_add): Fix gUSA sequence.
5637 (atomic_add): Likewise.
5638 (atomic_add_negative): Likewise.
5639 (atomic_add_zero): Likewise.
5640 (atomic_bit_test_set): Likewise.
5642 2012-06-22 Andreas Schwab <schwab@redhat.com>
5645 * include/link.h (struct link_map): Add l_free_initfini.
5646 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5648 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5649 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5650 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5653 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5655 * configure.in: Use AC_LANG_SOURCE.
5656 * configure: Regenerate.
5658 2012-06-22 Roland McGrath <roland@hack.frob.com>
5660 * configure.in (libc_cv_localstatedir): New substituted variable.
5661 * configure: Regenerated.
5662 * config.make.in (localstatedir): New variable, substituted from
5663 libc_cv_localstatedir.
5664 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5665 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5666 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5667 * sysdeps/gnu/configure: Regenerated.
5669 2012-06-21 Jeff Law <law@redhat.com>
5672 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5673 free. Simplify list management for _LIBC case.
5675 2012-06-21 Joseph Myers <joseph@codesourcery.com>
5678 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5679 Clear sign bit of 64-bit integer value before comparing against
5682 * sysdeps/mach/configure: Regenerated.
5684 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5687 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5689 2012-06-21 Jeff Law <law@redhat.com>
5692 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5693 uint16_t for elements in the "seen" array to avoid char overflows.
5694 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5695 * elf/dl-open.c (dl_open_worker): Likewise.
5697 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5699 * scripts/list-sources.sh: Scan PORTS for translations.
5700 * po/libc.pot: Regenerated.
5702 2012-06-21 Andreas Jaeger <aj@suse.de>
5705 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5707 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5708 * bits/byteswap-16.h (__bswap_16): Likewise.
5709 * bits/byteswap.h (__bswap_constant_16): Likewise.
5711 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5714 * sysdeps/i386/fpu_control.h: Removed.
5715 * sysdeps/x86_64/fpu_control.h: Moved to ...
5716 * sysdeps/x86/fpu_control.h: Here.
5718 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5719 (_FPU_SETCW): Likewise.
5721 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5724 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5725 * sysdeps/x86/fpu/bits/mathinline.h: This.
5726 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5730 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5731 functions if __x86_64__ is defined.
5733 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5735 * string/endian.h: Add !__ASSEMBLER__ condition for including
5736 conversion interfaces.
5738 2012-06-15 Joseph Myers <joseph@codesourcery.com>
5741 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5742 of ABS(x) in calculating zero to negative powers other than odd
5744 * math/libm-test.inc (pow_test): Add more tests.
5746 2012-06-15 Andreas Jaeger <aj@suse.de>
5748 * manual/contrib.texi (Contributors): Update entry of Liubov
5749 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5752 2012-06-15 Cyril Hrubis <metan@ucw.cz>
5754 * string/string.h: Add __wur to GNU version of strerror_r.
5756 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5759 * string/Makefile (tests): Add tst-strtok_r.
5760 * string/tst-strtok_r.c: New file.
5761 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5762 RAX_LP/RDX_LP on SAVE_PTR.
5764 2012-06-14 Roland McGrath <roland@hack.frob.com>
5766 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5768 2012-06-14 Joseph Myers <joseph@codesourcery.com>
5770 * libm_test.inc (csqrt_test): Allow more spurious underflow
5772 (j0_test): Likewise.
5773 (j1_test): Likewise.
5774 (y0_test): Likewise.
5775 (y1_test): Likewise.
5777 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5779 * po/Makefile (libc.pot): Use UTF-8 charset.
5781 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5784 Suppress sign-conversion warning from FD_SET.
5785 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5786 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5787 not unsigned long int.
5788 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5790 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5794 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5795 __extern_always_inline instead of __extern_inline.
5796 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5797 (__signbit): Likewise.
5798 (__signbitl): Support C++ namespace.
5799 (lrintf): New inline function.
5801 (llrintf): Likewise.
5813 (nearbyint): Likewise.
5814 (nearbyintf): Likewise.
5816 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5818 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5819 non-default versions.
5821 2012-06-11 Roland McGrath <roland@hack.frob.com>
5824 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5826 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5828 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5829 (FE_UPWARD, FE_DOWNWARD): Don't define.
5830 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5831 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5833 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5835 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5836 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5838 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5840 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5841 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5842 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5843 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5845 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5848 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5849 * sysdeps/i386/fpu/Implies: New file.
5850 * sysdeps/x86_64/fpu/Implies: Likewise.
5851 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5852 * sysdeps/x86/fpu/bits/fenv.h: This.
5854 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5857 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5860 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5861 character 0xffff that matches the last element of the
5864 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5866 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5869 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5871 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5872 values higher than 25.6283.
5874 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5876 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5877 subnormal exponent extraction and add some __builtin_expect.
5878 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5879 Fix for subnormal mantissa calculation.
5881 2012-06-04 Mike Frysinger <vapier@gentoo.org>
5883 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5884 cpu2 is -1 and errno is not ENOSYS.
5886 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5889 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5890 * sysdeps/x86/bits/string.h: This.
5891 * sysdeps/x86_64/bits/string.h: Removed.
5893 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5894 if not compiling for x86-64, but compiling for >= i486.
5896 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5897 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5899 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5900 New macro from Linux kernel 3.4.0.
5901 (FP_XSTATE_MAGIC2): Likewise.
5902 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5903 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5904 (struct _fpx_sw_bytes): New struct.
5905 (struct _xsave_hdr): Likewise.
5906 (struct _ymmh_state): Likewise.
5907 (struct _xstate): Likewise.
5909 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5910 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5911 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5912 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5913 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5914 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5916 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5917 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5918 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5919 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5920 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5921 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5923 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5926 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5927 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5928 (sysdep_headers): Include sys/platform/ppc.h.
5929 * sysdeps/powerpc/test-gettimebase.c: Test for
5930 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5931 * manual/Makefile (appendices): Include platform.texi.
5932 * manual/contrib.texi (Contributors): Update @node pointers.
5933 * manual/maint.texi (Maintenance): Likewise.
5934 (Platform): New node.
5935 * manual/platform.texi: New file. Document the new features.
5937 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5938 Jakub Jelinek <jakub@redhat.com>
5941 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5942 where __builtin_expect is unavailable.
5944 2012-06-03 David S. Miller <davem@davemloft.net>
5946 * stdlib/longlong.h: Updated from GCC.
5948 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5951 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5952 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5955 (GLIBC_2.16): Likewise.
5957 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5959 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
5961 2012-06-01 Joseph Myers <joseph@codesourcery.com>
5963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5964 (default-abi): New variable.
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
5966 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
5968 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
5970 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
5972 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
5975 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
5976 definition. Document in comment.
5978 2012-06-01 David S. Miller <davem@davemloft.net>
5980 * stdlib/longlong.h: Updated from GCC.
5982 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5985 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
5986 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
5987 sys/debugreg.h sys/io.h here.
5988 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
5989 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
5991 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
5992 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
5993 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
5994 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
5995 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
5996 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
5998 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
5999 Define only if __x86_64__ is defined.
6001 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6004 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6005 Use int64_t for variable i.
6006 * math/libm-test.inc (fmod_test): Add more tests.
6008 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6009 z computation is not scheduled after fetestexcept.
6010 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6011 Use math_force_eval instead of asm to ensure calculation scheduled
6012 before exception test.
6013 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6014 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6016 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6019 computation is not scheduled after fetestexcept.
6021 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6024 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6025 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6027 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6029 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6030 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6032 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6035 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6037 (__WCHAR_MIN): Support __WORDSIZE == 64.
6038 (__WCHAR_MAX): Likewise.
6040 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6041 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6044 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6045 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6048 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6049 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6051 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6052 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6054 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6055 Defined to 1 if __x86_64__ isn't defined.
6056 (_STAT_VER_LINUX_OLD): New.
6057 (st_atime): Remove duplicate.
6058 (st_mtime): Likewise.
6059 (st_ctime): Likewise.
6061 2012-05-31 David S. Miller <davem@davemloft.net>
6063 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6066 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6068 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6072 * elf/dl-reloc.c: Include <_itoa.h>.
6073 (_dl_reloc_bad_type): Remove use of INTUSE.
6074 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6075 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6076 * stdio-common/psiginfo.c (psiginfo): Likewise.
6077 * stdio-common/psignal.c (psignal): Likewise.
6078 * string/strsignal.c (strsignal): Likewise.
6079 * include/signal.h (_sys_siglist): Declare hidden proto.
6080 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6081 INTVARDEF with libc_hidden_data_def.
6082 * stdio-common/itoa-udigits.c: Likewise.
6083 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6084 (_itoa_lower_digits_internal): Remove declaration.
6085 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6086 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6087 (_sys_sigabbrev_internal): Remove aliases.
6088 (_sys_siglist): Define hidden alias.
6090 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6095 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6098 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6099 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6101 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6102 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6103 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6104 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6105 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6106 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6108 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6109 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6110 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6112 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6120 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6121 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6122 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6124 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6125 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6126 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6127 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6128 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6129 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6131 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6132 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6134 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6135 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6137 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6138 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6139 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6141 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6142 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6144 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6146 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6147 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6148 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6150 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6152 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6154 2012-05-31 Joseph Myers <joseph@codesourcery.com>
6156 * math/math.h (M_El): Use two more decimal places.
6157 (M_LOG2El): Likewise.
6158 (M_LOG10El): Likewise.
6160 (M_LN10l): Likewise.
6162 (M_PI_2l): Likewise.
6163 (M_PI_4l): Likewise.
6164 (M_1_PIl): Likewise.
6165 (M_2_PIl): Likewise.
6166 (M_2_SQRTPIl): Likewise.
6167 (M_SQRT2l): Likewise.
6168 (M_SQRT1_2l): Likewise.
6170 2012-05-31 David S. Miller <davem@davemloft.net>
6172 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6173 values between float registers.
6174 * sysdeps/sparc/sparc64/memset.S: Likewise.
6175 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6177 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6179 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6180 -D_FORTIFY_SOURCE=1.
6181 (CPPFLAGS-tst-longjmp_chk.c): Define.
6182 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6183 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6184 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6185 CFLAGS-tst-wchar-h.c.
6187 2012-05-31 Marek Polacek <polacek@redhat.com>
6190 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6191 __endmntent_internal): Remove declaration.
6192 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6193 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6194 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6196 2012-05-30 David S. Miller <davem@davemloft.net>
6198 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6199 (___Q_simulate_exceptions): Use real FP ops rather than writing
6201 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6204 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6207 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6208 * sysdeps/x86/bits/xtitypes.h: This.
6210 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6211 * sysdeps/x86/bits/wordsize.h: This.
6213 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6214 * sysdeps/x86/bits/huge_vall.h: This.
6216 * sysdeps/i386/bits/select.h: Removed.
6217 * sysdeps/x86_64/bits/select.h: Renamed to ...
6218 * sysdeps/x86/bits/select.h: This.
6220 * sysdeps/i386/bits/setjmp.h: Removed.
6221 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6222 * sysdeps/x86/bits/setjmp.h: This.
6224 * sysdeps/i386/bits/mathdef.h: Removed.
6225 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6226 * sysdeps/x86/bits/mathdef.h: This.
6228 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6231 * include/sys/socket.h (__connect_internal)
6232 (__libc_sa_len_internal): Remove declaration.
6233 (__connect, __libc_sa_len): Declare hidden_proto.
6234 (SA_LEN): Remove use of INTUSE.
6235 * socket/connect.c: Add libc_hidden_def.
6236 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6237 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6238 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6240 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6241 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6242 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6243 of adding _internal alias.
6245 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6248 * sysdeps/i386/bits/link.h: Removed.
6249 * sysdeps/i386/bits/linkmap.h: Likewise.
6250 * sysdeps/x86_64/bits/link.h: Renamed to ...
6251 * sysdeps/x86/bits/link.h: This.
6252 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6253 * sysdeps/x86/bits/linkmap.h: This.
6255 * sysdeps/i386/bits/endian.h: Removed.
6256 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6257 * sysdeps/x86/bits/endian.h: This.
6259 * sysdeps/i386/bits/byteswap.h: Removed.
6260 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6261 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6262 * sysdeps/x86/bits/byteswap.h: This.
6263 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6264 * sysdeps/x86/bits/byteswap-16.h: This.
6265 * sysdeps/i386/Implies: Add x86.
6266 * sysdeps/x86_64/Implies: Likewise.
6268 2012-05-30 David S. Miller <davem@davemloft.net>
6270 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6271 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6272 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6273 (FP_TRAPPING_EXCEPTIONS): Define.
6274 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6275 (FP_TRAPPING_EXCEPTIONS): Define.
6276 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6277 subnormals only when inexact has been signalled or underflow
6278 exceptions are enabled.
6279 (_FP_PACK_CANONICAL): Likewise.
6281 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6284 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6285 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6287 2012-05-30 Richard Henderson <rth@twiddle.net>
6289 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6290 with #ifndef NOT_IN_libc.
6292 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6293 marked to avoid plt entry.
6295 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6298 * Makeconfig (default-abi): New macro.
6299 (abi-includes): Likewise.
6300 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6301 $(abi-$(default-abi)-lib-soname) for soname if defined.
6302 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6304 * Makefile (installed-stubs): Likewise.
6305 * include/stubs-biarch.h: Removed.
6306 * scripts/lib-names.awk: Only handle one library at a time.
6307 * scripts/soversions.awk: Remove WORDSIZE support.
6308 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6310 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6312 (syscall-list-default-condition): Likewise.
6313 (syscall-list-default-condition): Likewise.
6314 (syscall-list-includes): Likewise.
6315 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6316 syscall-list-* with abi-*. Handle undefined abi-variants.
6317 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6318 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6319 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6320 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6321 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6322 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6324 (syscall-list-32-options): Likewise.
6325 (syscall-list-32-condition): Likewise.
6326 (syscall-list-64-options): Likewise.
6327 (syscall-list-64-condition): Likewise.
6328 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6330 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6333 (abi-64-ld-soname): New macro.
6334 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6335 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6338 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6339 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6341 2012-05-30 Joseph Myers <joseph@codesourcery.com>
6343 * sysdeps/unix/sysv/linux/kernel-features.h
6344 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6345 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6346 include <kernel-features.h>.
6347 [!__NR_ftruncate64]: Remove conditional code.
6348 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6349 [__NR_ftruncate64]: Make code unconditional.
6350 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6351 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6352 include <kernel-features.h>.
6353 [!__NR_ftruncate64]: Remove conditional code.
6354 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6355 [__NR_ftruncate64]: Make code unconditional.
6356 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6358 include <kernel-features.h>.
6359 [!__NR_ftruncate64]: Remove conditional code.
6360 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6361 [__NR_ftruncate64]: Make code unconditional.
6362 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6364 include <kernel-features.h>.
6365 [!__NR_ftruncate64]: Remove conditional code.
6366 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6367 [__NR_ftruncate64]: Make code unconditional.
6368 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6370 * configure.in (libc_cv_fpie): Weaken to a compile test using
6372 * configure: Regenerated.
6374 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6389 2012-05-27 David S. Miller <davem@davemloft.net>
6391 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6393 (__Q_simulate_exceptions): Return void. Change to simulate
6394 exceptions by writing into the %fsr.
6395 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6396 (__Qp_handle_exceptions): Likewise.
6398 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6399 __Qp_handle_exceptions.
6400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6401 __Qp_handle_exceptions.
6402 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6403 as unused and give dummy FP_RND_NEAREST initializer.
6404 (FP_INHIBIT_RESULTS): Define.
6405 (___Q_simulate_exceptions): Update declaration.
6406 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6408 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6409 as unused and give dummy FP_RND_NEAREST initializer.
6410 (__Qp_handle_exceptions): Update declaration.
6411 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6414 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6416 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6417 the temporary FPU control word.
6418 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6419 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6420 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6421 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6422 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6423 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6424 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6425 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6426 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6427 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6428 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6430 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6432 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6435 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6437 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6438 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6439 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6440 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6442 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6443 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6446 2012-05-27 Ulrich Drepper <drepper@gmail.com>
6448 * po/h.po: Update from translation team.
6450 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6452 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6454 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6455 handling of denormals.
6456 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6457 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6458 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6459 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6460 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6462 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6465 2012-05-26 Marek Polacek <polacek@redhat.com>
6468 * math/libm-test.inc (fma_test): Don't always expect underflow
6471 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6474 * elf/tst-execstack.c: Include stackinfo.h.
6475 (do_test): Adjust test case to ensure that pthread_getattr_np
6476 behaviour remains the same after marking stack executable.
6478 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6480 * sysdeps/unix/sysv/linux/kernel-features.h
6481 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6482 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6484 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6485 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6486 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6488 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6489 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6491 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6493 * configure.in: Define the default includes to being none.
6494 * configure: Regenerated.
6496 2012-05-25 Roland McGrath <roland@hack.frob.com>
6498 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6499 * sysdeps/x86_64/setjmp.S: Likewise.
6500 * sysdeps/i386/bsd-setjmp.S: Likewise.
6501 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6502 * sysdeps/i386/setjmp.S: Likewise.
6503 * sysdeps/i386/__longjmp.S: Likewise.
6504 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6505 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6507 * include/stap-probe.h: New file.
6508 * configure.in: Handle --enable-systemtap.
6509 * configure: Regenerated.
6510 * config.h.in (USE_STAP_PROBE): New #undef.
6511 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6512 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6513 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6515 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6518 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6519 to 2.4.0 where earlier.
6520 * sysdeps/unix/sysv/linux/configure: Regenerated.
6521 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6522 <kernel-features.h>.
6523 [__ASSUME_32BITUIDS]: Make code unconditional.
6524 [!__ASSUME_32BITUIDS]: Remove conditional code.
6525 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6526 <kernel-features.h>.
6527 [__ASSUME_32BITUIDS]: Make code unconditional.
6528 [!__ASSUME_32BITUIDS]: Remove conditional code.
6529 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6530 [__ASSUME_32BITUIDS]: Make code unconditional.
6531 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6532 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6533 <kernel-features.h>.
6534 [__ASSUME_32BITUIDS]: Make code unconditional.
6535 [!__ASSUME_32BITUIDS]: Remove conditional code.
6536 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6537 <kernel-features.h>.
6538 [__ASSUME_32BITUIDS]: Make code unconditional.
6539 [!__ASSUME_32BITUIDS]: Remove conditional code.
6540 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6541 <kernel-features.h>.
6542 [__ASSUME_32BITUIDS]: Make code unconditional.
6543 [!__ASSUME_32BITUIDS]: Remove conditional code.
6544 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6545 <kernel-features.h>.
6546 [__ASSUME_32BITUIDS]: Make code unconditional.
6547 [!__ASSUME_32BITUIDS]: Remove conditional code.
6548 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6549 <kernel-features.h>.
6550 [__ASSUME_32BITUIDS]: Make code unconditional.
6551 [!__ASSUME_32BITUIDS]: Remove conditional code.
6552 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6553 <kernel-features.h>.
6554 [__ASSUME_32BITUIDS]: Make code unconditional.
6555 [!__ASSUME_32BITUIDS]: Remove conditional code.
6556 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6557 <kernel-features.h>.
6558 [__ASSUME_32BITUIDS]: Make code unconditional.
6559 [!__ASSUME_32BITUIDS]: Remove conditional code.
6560 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6561 <kernel-features.h>.
6562 [__ASSUME_32BITUIDS]: Make code unconditional.
6563 [!__ASSUME_32BITUIDS]: Remove conditional code.
6564 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6565 <kernel-features.h>.
6566 [__ASSUME_32BITUIDS]: Make code unconditional.
6567 [!__ASSUME_32BITUIDS]: Remove conditional code.
6568 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6569 <kernel-features.h>.
6570 [__ASSUME_32BITUIDS]: Make code unconditional.
6571 [!__ASSUME_32BITUIDS]: Remove conditional code.
6572 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6573 <kernel-features.h>.
6574 [__NR_setresgid] (__setresgid): Do not declare.
6575 [__ASSUME_32BITUIDS]: Make code unconditional.
6576 [!__ASSUME_32BITUIDS]: Remove conditional code.
6577 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6578 <kernel-features.h>.
6579 [__NR_setresuid] (__setresuid): Do not declare.
6580 [__ASSUME_32BITUIDS]: Make code unconditional.
6581 [!__ASSUME_32BITUIDS]: Remove conditional code.
6582 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.c: Do not include
6615 <kernel-features.h>.
6616 [__ASSUME_32BITUIDS]: Make code unconditional.
6617 [!__ASSUME_32BITUIDS]: Remove conditional code.
6618 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6619 <kernel-features.h>.
6620 [__ASSUME_32BITUIDS]: Make code unconditional.
6621 [!__ASSUME_32BITUIDS]: Remove conditional code.
6622 * sysdeps/unix/sysv/linux/kernel-features.h
6623 (__ASSUME_SETRESUID_SYSCALL): Remove.
6624 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6625 (__ASSUME_32BITUIDS): Likewise.
6626 (__ASSUME_LDT_WORKS): Likewise.
6627 (__ASSUME_O_DIRECTORY): Likewise.
6628 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6629 architecture but not kernel version.
6630 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6631 (__ASSUME_MMAP2_SYSCALL): Likewise.
6632 (__ASSUME_STAT64_SYSCALL): Likewise.
6633 (__ASSUME_IPC64): Likewise.
6634 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6635 <kernel-features.h>.
6636 [__ASSUME_32BITUIDS]: Make code unconditional.
6637 [!__ASSUME_32BITUIDS]: Remove conditional code.
6638 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6639 <kernel-features.h>.
6640 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6641 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6642 132096]: Remove conditional code.
6643 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6644 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
6653 <kernel-features.h>.
6654 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6656 (__setresgid): Do not declare.
6657 [__ASSUME_32BITUIDS]: Make code unconditional.
6658 [!__ASSUME_32BITUIDS]: Remove conditional code.
6659 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6660 <kernel-features.h>.
6661 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6663 (__setresuid): Do not declare.
6664 [__ASSUME_32BITUIDS]: Make code unconditional.
6665 [!__ASSUME_32BITUIDS]: Remove conditional code.
6666 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6667 <kernel-features.h>.
6668 [__ASSUME_32BITUIDS]: Make code unconditional.
6669 [!__ASSUME_32BITUIDS]: Remove conditional code.
6670 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6671 <kernel-features.h>.
6672 [__ASSUME_32BITUIDS]: Make code unconditional.
6673 [!__ASSUME_32BITUIDS]: Remove conditional code.
6675 2012-05-25 Richard Henderson <rth@twiddle.net>
6677 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6678 dl_hwcap to ifunc resolver.
6679 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6681 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6682 dl_hwcap to ifunc resolver.
6683 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6685 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6688 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6689 for |x| <= 2**-26, not 2**-57.
6690 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6693 2012-05-24 Jeff Law <law@redhat.com>
6695 * stdio-common/Makefile (tests): Add bug25.
6696 * stdio-common/bug25.c: New test.
6698 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6701 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6702 multiple of MALLOC_ALIGNMENT in size.
6703 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6705 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6707 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6709 (FILENAME_MAX): Use macro-int-constant.
6710 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6711 (_IOFBF): Use macro-int-constant.
6714 (SEEK_CUR): Likewise.
6715 (SEEK_END): Likewise.
6716 (SEEK_SET): Likewise.
6717 (TMP_MAX): Likewise.
6718 (EOF): Use macro-int-constant. Require < 0.
6719 (NULL): Use macro-constant. Require == 0.
6720 (stdin): Require type to be FILE *.
6723 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6725 (EXIT_SUCCESS): Likewise.
6726 (NULL): Use macro-constant. Require == 0.
6727 (RAND_MAX): Use macro-int-constant.
6728 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6729 [C99-based standards] (strtof): Require function.
6730 [C99-based standards] (strtold): Likewise.
6731 [C99-based standards] (strtoll): Likewise.
6732 [C99-based standards] (strtoull): Likewise.
6733 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6734 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6735 [ISO || ISO99 || ISO11] (math.h): Likewise.
6736 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6737 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6738 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6740 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6743 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6744 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6745 * intl/dgettext.c (DCGETTEXT): Likewise.
6746 * intl/gettext.c (DCGETTEXT): Likewise.
6747 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6748 * posix/regex_internal.h (gettext): Likewise.
6749 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6751 * include/argz.h (__argz_count_internal)
6752 (__argz_stringify_internal): Remove declaration.
6753 (__argz_count, __argz_stringify): Declare hidden proto.
6754 * intl/dcgettext.c: Remove use of INTDEF.
6755 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6756 * string/argz-stringify.c: Likewise.
6757 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6758 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6759 Declare hidden proto.
6760 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6761 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6762 Declare hidden proto.
6763 * include/stdio.h (__asprintf_internal): Don't declare.
6764 (__asprintf): Don't define as macro. Declare hidden proto.
6765 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6766 (__fsetlocking): Declare hidden proto.
6767 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6768 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6770 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6771 (_IO_setlinebuf): Remove use of INTUSE.
6772 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6773 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6774 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6776 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6777 (_IO_do_flush): Remove use of INTUSE.
6778 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6779 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6780 (_IO_adjust_column, _IO_least_wmarker)
6781 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6782 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6783 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6784 (_IO_default_doallocate, _IO_wdefault_doallocate)
6785 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6786 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6787 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6788 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6789 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6790 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6791 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6792 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6793 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6794 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6795 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6796 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6797 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6799 (_IO_flush_all_internal, _IO_adjust_column_internal)
6800 (_IO_default_uflow_internal, _IO_default_finish_internal)
6801 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6802 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6803 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6804 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6805 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6806 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6807 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6808 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6809 (_IO_file_close_internal, _IO_file_close_it_internal)
6810 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6811 (_IO_file_init_internal, _IO_file_attach_internal)
6812 (_IO_file_fopen_internal, _IO_file_read_internal)
6813 (_IO_file_sync_internal, _IO_file_seek_internal)
6814 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6815 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6816 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6817 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6818 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6819 (_IO_list_all_internal, _IO_link_in_internal)
6820 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6821 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6822 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6823 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6824 (_IO_do_write_internal, _IO_padn_internal)
6825 (_IO_getline_info_internal, _IO_getline_internal)
6826 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6827 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6828 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6829 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6830 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6831 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6832 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6833 with libc_hidden_ver, remove use of INTUSE.
6834 * libio/genops.c: Likewise.
6835 * libio/freopen.c: Likewise.
6836 * libio/freopen64.c: Likewise.
6837 * libio/iofclose.c: Likewise.
6838 * libio/iofdopen.c: Likewise.
6839 * libio/iofflush.c: Likewise.
6840 * libio/iofflush_u.c: Likewise.
6841 * libio/iofgets.c: Likewise.
6842 * libio/iofgets_u.c: Likewise.
6843 * libio/iofopen.c: Likewise.
6844 * libio/iofopncook.c: Likewise.
6845 * libio/iofread.c: Likewise.
6846 * libio/iofread_u.c: Likewise.
6847 * libio/ioftell.c: Likewise.
6848 * libio/iofwrite.c: Likewise.
6849 * libio/iogetline.c: Likewise.
6850 * libio/iogets.c: Likewise.
6851 * libio/iogetwline.c: Likewise.
6852 * libio/iopadn.c: Likewise.
6853 * libio/iopopen.c: Likewise.
6854 * libio/ioseekoff.c: Likewise.
6855 * libio/ioseekpos.c: Likewise.
6856 * libio/iosetbuffer.c: Likewise.
6857 * libio/iosetvbuf.c: Likewise.
6858 * libio/ioungetc.c: Likewise.
6859 * libio/ioungetwc.c: Likewise.
6860 * libio/iovdprintf.c: Likewise.
6861 * libio/iovsprintf.c: Likewise.
6862 * libio/iovsscanf.c: Likewise.
6863 * libio/memstream.c: Likewise.
6864 * libio/obprintf.c: Likewise.
6865 * libio/oldfileops.c: Likewise.
6866 * libio/oldiofclose.c: Likewise.
6867 * libio/oldiofdopen.c: Likewise.
6868 * libio/oldiofopen.c: Likewise.
6869 * libio/oldiopopen.c: Likewise.
6870 * libio/oldstdfiles.c: Likewise.
6871 * libio/putc.c: Likewise.
6872 * libio/setbuf.c: Likewise.
6873 * libio/setlinebuf.c: Likewise.
6874 * libio/stdfiles.c: Likewise.
6875 * libio/strops.c: Likewise.
6876 * libio/vasprintf.c: Likewise.
6877 * libio/vscanf.c: Likewise.
6878 * libio/vsnprintf.c: Likewise.
6879 * libio/vswprintf.c: Likewise.
6880 * libio/wfiledoalloc.c: Likewise.
6881 * libio/wfileops.c: Likewise.
6882 * libio/wgenops.c: Likewise.
6883 * libio/wmemstream.c: Likewise.
6884 * libio/wstrops.c: Likewise.
6885 * libio/__fpurge.c: Likewise.
6886 * libio/__fsetlocking.c: Likewise.
6887 * assert/assert.c: Likewise.
6888 * debug/fgets_chk.c: Likewise.
6889 * debug/fgets_u_chk.c: Likewise.
6890 * debug/fread_chk.c: Likewise.
6891 * debug/fread_u_chk.c: Likewise.
6892 * debug/gets_chk.c: Likewise.
6893 * debug/obprintf_chk.c: Likewise.
6894 * debug/vasprintf_chk.c: Likewise.
6895 * debug/vdprintf_chk.c: Likewise.
6896 * debug/vsnprintf_chk.c: Likewise.
6897 * debug/vsprintf_chk.c: Likewise.
6898 * malloc/mtrace.c: Likewise.
6899 * misc/error.c: Likewise.
6900 * misc/syslog.c: Likewise.
6901 * stdio-common/asprintf.c: Likewise.
6902 * stdio-common/fxprintf.c: Likewise.
6903 * stdio-common/getw.c: Likewise.
6904 * stdio-common/isoc99_fscanf.c: Likewise.
6905 * stdio-common/isoc99_scanf.c: Likewise.
6906 * stdio-common/isoc99_vfscanf.c: Likewise.
6907 * stdio-common/isoc99_vscanf.c: Likewise.
6908 * stdio-common/isoc99_vsscanf.c: Likewise.
6909 * stdio-common/printf-prs.c: Likewise.
6910 * stdio-common/printf_fp.c: Likewise.
6911 * stdio-common/printf_fphex.c: Likewise.
6912 * stdio-common/printf_size.c: Likewise.
6913 * stdio-common/putw.c: Likewise.
6914 * stdio-common/scanf.c: Likewise.
6915 * stdio-common/sprintf.c: Likewise.
6916 * stdio-common/tmpfile.c: Likewise.
6917 * stdio-common/vfprintf.c: Likewise.
6918 * stdio-common/vfscanf.c: Likewise.
6919 * stdlib/strfmon_l.c: Likewise.
6920 * sunrpc/openchild.c: Likewise.
6921 * sunrpc/xdr_stdio.c: Likewise.
6922 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6923 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6925 2012-05-24 Roland McGrath <roland@hack.frob.com>
6927 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6929 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6930 in the third column, to generate for the shared library an IFUNC
6931 that uses _dl_vdso_vsym.
6932 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6933 * Makeconfig (object-suffixes-noshared): New variable.
6935 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6936 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6937 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6938 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6941 * include/sys/time.h (__gettimeofday): Remove macro.
6942 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6943 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6945 (__gettimeofday): Add libc_hidden_def.
6946 (gettimeofday): Add libc_hidden_weak.
6947 * sysdeps/mach/gettimeofday.c: Likewise.
6948 * sysdeps/posix/gettimeofday.c: Likewise.
6949 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6950 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6951 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6952 (__gettimeofday_internal): Remove strong_alias.
6953 (__gettimeofday): Add libc_hidden_def.
6954 (gettimeofday): Add libc_hidden_weak.
6955 * sysdeps/unix/syscalls.list (gettimeofday):
6956 Remove __gettimeofday_internal alias.
6958 2012-05-24 Daniel Jacobowitz <drow@false.org>
6959 H.J. Lu <hongjiu.lu@intel.com>
6962 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
6963 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
6964 (largebin_index_32_big): New.
6965 (largebin_index): Use it for 16-byte alignment.
6966 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
6967 correction with front_misalign.
6969 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
6972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
6976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
6980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
6982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
6984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
6986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
6990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
6992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
6997 * scripts/data/c++-types-x32-linux-gnu.data: New file.
6998 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7000 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7004 * math/libm-test.inc (exp_test): Add test from bug 14036.
7005 (pow_test): Add test from bug 10846.
7007 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7009 (special_function): Do not include flags in test name.
7010 (parse_args): Likewise.
7011 * sysdeps/i386/fpu/libm-test-ulps: Update.
7012 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7013 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7014 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7017 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7019 * math/libm-test.inc ("Philosophy"): Update comment about
7021 (UNDERFLOW_EXCEPTION): New macro.
7022 (UNDERFLOW_EXCEPTION_OK): Likewise.
7023 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7024 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7025 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7026 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7027 (INVALID_EXCEPTION_OK): Update value.
7028 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7029 (OVERFLOW_EXCEPTION_OK): Likewise.
7030 (IGNORE_ZERO_INF_SIGN): Likewise.
7031 (test_exceptions): Handle underflow exceptions.
7032 (acos_test): Update for underflow exception expectations.
7033 (cexp_test): Likewise.
7034 (clog_test): Likewise.
7035 (clog10_test): Likewise.
7036 (csqrt_test): Likewise.
7037 (ctan_test): Likewise.
7038 (ctanh_test): Likewise.
7039 (exp_test): Likewise.
7040 (exp10_test): Likewise.
7041 (exp2_test): Likewise.
7042 (expm1_test): Likewise.
7043 (fma_test): Likewise.
7044 (j0_test): Likewise.
7045 (jn_test): Likewise.
7046 (nexttoward_test): Likewise.
7047 (pow_test): Likewise.
7048 (scalbn_test): Likewise.
7049 (scalbln_test): Likewise.
7050 (tan_test): Likewise.
7051 (y1_test): Likewise.
7052 * sysdeps/i386/fpu/libm-test-ulps: Update.
7053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7055 2012-05-23 David S. Miller <davem@davemloft.net>
7057 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7058 (__libc_sigaction): Remove unused local variables.
7060 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7062 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7064 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7066 mktime: avoid signed integer overflow
7067 * time/mktime.c (__mktime_internal): Do not mishandle the case
7068 where diff == INT_MIN.
7070 mktime: simplify computation of average
7071 * time/mktime.c (ranged_convert): Use new time_t_avg function
7072 instead of rolling our own (probably-slower) code.
7074 mktime: do not assume signed right shift propagates sign bit
7075 * time/mktime.c (isdst_differ): New static function.
7076 (__mktime_internal): No need to normalize tm_isdst now.
7077 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7080 mktime: merge another wrapv change from gnulib
7081 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7082 from some compilers.
7084 mktime: remove incorrect attempt at unusual arithmetics
7085 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7086 The code didn't really work on such machines anyway.
7087 (TYPE_MINIMUM): Assume two's complement.
7088 (twos_complement_arithmetic): Verify that long_int and time_t
7089 are two's complement (or unsigned, in the latter case).
7091 mktime: check signed shifts on long_int and time_t, too
7092 * time/mktime.c (SHR): Check that shifts work as desired
7093 on the types long_int and time_t too, as SHR is used on
7096 mktime: do not assume 'long' is wide enough
7097 * time/mktime.c (verify): Move decl up.
7098 (long_int): New type.
7099 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7100 to remove assumption in the code that 'long' is wide enough to
7101 store year values. This assumption is not true on x32 and on
7102 some non-glibc platforms.
7104 mktime: merge wrapv change from gnulib
7105 * time/mktime.c (WRAPV): New macro.
7106 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7107 (guess_time_tm, __mktime_internal): Do not assume that signed
7108 integer overflow wraps around; modern compilers generate code
7109 where this assumption is no longer valid.
7111 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7113 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7114 Replace "jmp L(pseudo_end)" with "ret".
7115 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7118 2012-05-23 Andreas Jaeger <aj@suse.de>
7120 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7121 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7123 2012-05-23 Andreas Jaeger <aj@suse.de>
7124 Maximilian Attems <max@stro.at>
7126 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7129 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7131 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7132 code so that pseudo_end is just ret and the stack pointer is
7133 correct also for static library in error case.
7135 2012-05-23 Joseph Myers <joseph@codesourcery.com>
7137 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7138 move to syscalls.list.
7139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7144 * manual/install.texi (Running make install): Do not mention Linux
7145 kernel version for which pt_chown is not needed.
7146 (Linux): Do not mention problems with nscd with 2.0 kernels.
7147 * INSTALL: Regenerated.
7149 2012-05-23 Andreas Jaeger <aj@suse.de>
7151 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7152 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7154 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7155 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7156 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7157 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7158 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7159 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7160 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7161 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7162 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7163 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7164 * sysdeps/unix/sysv/linux/bits/in.h
7165 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7167 2012-05-22 Roland McGrath <roland@hack.frob.com>
7169 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7170 (PREPARE_VERSION): Just use assert instead, it will be elided
7171 under [NDEBUG] anyway.
7173 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7175 * sysdeps/unix/sysv/linux/Makefile: Include
7176 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7177 (sysdep_routines): Remove sysctl.
7178 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7179 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7180 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7181 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7182 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7184 2012-05-22 Andreas Jaeger <aj@suse.de>
7186 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7187 that pseudo_end is just ret and the stack pointer is correct also
7188 for static library in error case.
7190 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7193 * nss/nsswitch.c (defconfig_entries): New variable.
7194 (__nss_database_lookup): Don't leak defconfig entries.
7195 (nss_parse_service_list): Don't leak on error paths.
7196 (free_database_entries): New function.
7197 (free_defconfig): New function.
7198 (free_mem): Move common code to free_database_entries.
7200 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7202 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7204 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7206 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7207 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7210 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7211 (INTERNAL_SYSCALL_TYPES): Likewise.
7212 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7213 (LOAD_REGS_TYPES_[1-6]): Likewise.
7214 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7215 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7217 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7219 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7220 copysignl for GLIBC_2_0.
7221 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7222 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7223 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7224 logbl for GLIBC_2_0.
7225 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7226 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7228 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7230 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7231 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7233 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7236 * time/mktime.c: Update copyright years.
7238 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7240 mktime: merge comment-quoting-style change from gnulib
7241 * time/mktime.c: Quote 'like this' in comments.
7242 The GNU coding standards suggest that we no longer quote `like this',
7243 as "`" and "'" are typically rendered asymmetrically nowadays.
7244 The typical gnulib style is to quote 'like this' when quoting
7245 code, and "like this" when quoting English.
7247 * time/mktime.c (compile-command): Add "-I.".
7249 mktime: merge mktime-internal.h change from gnulib
7250 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7252 mktime: merge time_r change from gnulib
7253 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7255 mktime: merge DEBUG change from gnulib
7256 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7257 case system <time.h> has a #define.
7259 mktime: merge <sys/types.h> change from gnulib
7260 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7261 since <time.t> is now guaranteed to define time_t.
7263 mktime: merge HAVE_CONFIG_H change from gnulib
7264 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7266 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7271 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7273 (struct rusage): Use anonymous union to pad each field to
7276 2012-05-21 David S. Miller <davem@davemloft.net>
7278 * Makefules (o-iterator): Remove .s cases.
7279 (compile-command.s): Delete.
7280 (COMPILE.s): Delete.
7281 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7283 2012-05-21 Joseph Myers <joseph@codesourcery.com>
7285 * configure.in (libc_cv_predef_stack_protector): Only consider
7286 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7287 * configure: Regenerated.
7289 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7292 New macro. Use R*LP on int and pointer.
7293 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7294 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7295 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7296 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7298 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7299 [__WORDSIZE_TIME64_COMPAT32] instead of
7300 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7301 (struct utmp): Likewise.
7302 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7303 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7305 (__WORDSIZE_TIME64_COMPAT32): This.
7306 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7307 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7308 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7309 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7310 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7311 (__WORDSIZE_TIME64_COMPAT32): New macro.
7313 2012-05-21 Andreas Jaeger <aj@suse.de>
7315 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7316 only if [SHARED]. Add prototype for __wcschr_ia32.
7318 2012-05-21 Roland McGrath <roland@hack.frob.com>
7320 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7321 of %rbp unmolested in the jmp_buf while mangling the low bits.
7322 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7323 unmolested high bits of %rbp while demangling the low bits.
7324 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7326 2012-05-21 Andreas Jaeger <aj@suse.de>
7328 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7329 * sunrpc/svc_simple.c: Use it for registerrpc.
7330 * sunrpc/xcrypt.c: Use it for passwd2des.
7332 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7334 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7336 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7337 Don't define if [__SYSCALL_WORDSIZE != 32].
7338 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7341 2012-05-21 Bruno Haible <bruno@clisp.org>
7342 Andreas Jaeger <aj@suse.de>
7344 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7345 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7346 inptr and inend for must_buffer_ch.
7347 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7348 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7349 * stdio-common/Makefile (tests): Remove bug15.
7350 (bug15-ENV): Remove macro.
7351 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7354 2012-05-19 Andreas Jaeger <aj@suse.de>
7355 Roland McGrath <roland@hack.frob.com>
7357 * manual/contrib.texi: Completely rewritten. It contains now an
7358 alphabetical list of contributors and their contributions.
7360 2012-05-21 Richard Henderson <rth@twiddle.net>
7362 * misc/getauxval.c (__getauxval): Use unsigned long int.
7363 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7364 (getauxval): Use unsigned long int.
7366 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7368 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7370 2012-05-21 Roland McGrath <roland@hack.frob.com>
7372 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7373 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7374 __alignof__ (long double).
7376 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7380 2012-05-20 Richard Henderson <rth@twiddle.net>
7382 * misc/getauxval.c: New file.
7383 * misc/sys/auxv.h: New file.
7384 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7385 (routines): Add getauxval.
7386 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7387 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7388 * elf/dl-sysdep.c (_dl_auxv): Remove.
7389 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7390 * elf/dl-support.c (_dl_auxv): New variable.
7391 (_dl_aux_init): Initialize it.
7392 * manual/startup.texi (Auxiliary Vector): New node.
7393 * sysdeps/generic/bits/hwcap.h: New file.
7394 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7395 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7396 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7397 * sysdeps/sparc/sysdep.h: ... here. Include it.
7398 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7399 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7405 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7411 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7415 2012-05-19 David S. Miller <davem@davemloft.net>
7417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7419 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7422 * math/s_ccosh.c: Include <float.h>
7423 (__ccosh): Avoid internal overflow calculating sinh and cosh
7424 values before multiplying by sin and cos values.
7425 * math/s_ccoshf.c: Likewise.
7426 * math/s_ccoshl.c: Likewise.
7427 * math/s_csin.c: Likewise.
7428 * math/s_csinf.c: Likewise.
7429 * math/s_csinl.c: Likewise.
7430 * math/s_csinh.c: Likewise.
7431 * math/s_csinhf.c: Likewise.
7432 * math/s_csinhl.c: Likewise.
7433 * math/libm-test.inc (ccos_test): Add more tests.
7434 (ccosh_test): Likewise.
7435 (csin_test): Likewise.
7436 (csinh_test): Likewise.
7437 * sysdeps/i386/fpu/libm-test-ulps: Update.
7438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7440 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7442 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7443 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7445 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7447 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7449 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7450 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7451 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7452 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7453 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7454 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7455 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7456 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7457 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7458 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7459 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7460 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7461 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7462 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7463 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7464 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7465 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7466 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7467 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7468 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7469 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7470 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7471 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7472 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7473 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7474 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7475 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7476 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7477 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7478 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7479 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7481 2012-05-18 Andreas Jaeger <aj@suse.de>
7483 * csu/.gitignore: Delete.
7485 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7487 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7488 (timex): Use __syscall_slong_t.
7490 2012-05-18 Andreas Jaeger <aj@suse.de>
7491 Carlos O'Donell <carlos_odonell@mentor.com>
7493 * manual/install.texi (Configuring and compiling): Update
7494 description about files modified in the source directory.
7495 * INSTALL: Regenerated.
7497 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7499 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7500 value. Use "or" to set return value to -1.
7501 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7502 negate return value.
7504 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7506 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7507 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7508 failure if the compiler has Graphite support disabled.
7509 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7511 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7512 CFLAGS-memmove.c): Likewise.
7513 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7516 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7518 * sysdeps/x86_64/x32/_itoa.h: New file.
7520 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7521 getdents system call only if kernel and user dirents have the
7522 same d_ino and d_off.
7524 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7525 LLONG_MAX != LONG_MAX.
7526 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7527 (_fitoa_word): Likewise.
7529 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7531 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7532 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7533 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7535 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7536 include <bits/wordsize.h>. Check __x86_64__ instead of
7538 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7539 if __x86_64__ is defined. Use anonymous union on fpstate.
7541 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7544 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7546 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7547 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7548 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7549 Refer to _rtld_local_ro instead of _rtld_global_ro.
7550 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7552 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7554 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7556 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7557 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7558 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7560 * sysdeps/powerpc/powerpc32/dl-machine.c
7561 (__elf_machine_runtime_setup) [PROF]: Don't reference
7564 2012-05-18 Andreas Jaeger <aj@suse.de>
7566 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7567 function only available for GCCs before 3.4 since GCC 3.4
7568 introduced a builtin.
7570 (llrintf): Likewise.
7578 (nearbyint): Likewise.
7579 (nearbyintf): Likewise.
7585 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7587 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7588 on both fields and cast pointer to __syscall_ulong_t.
7590 * bits/types.h (__fsword_t): New type.
7591 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7592 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7593 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7594 (__FSWORD_T_TYPE): Likewise.
7595 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7596 (__FSWORD_T_TYPE): Likewise.
7597 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7598 (__FSWORD_T_TYPE): Likewise.
7599 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7600 (__FSWORD_T_TYPE): Likewise.
7601 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7602 __SWORD_TYPE with __fsword_t.
7603 (statfs64): Likewise.
7605 2012-05-17 David S. Miller <davem@davemloft.net>
7607 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7609 2012-05-17 Andreas Jaeger <aj@suse.de>
7611 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7614 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7616 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7618 2012-05-17 Andreas Jaeger <aj@suse.de>
7620 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7623 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7625 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7627 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7629 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7630 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7632 2012-05-17 Andreas Jaeger <aj@suse.de>
7633 Carlos O'Donell <carlos_odonell@mentor.com>
7636 * sysdeps/x86_64/multiarch/init-arch.h
7637 (bit_YMM_Usable): Rename to...
7638 (bit_AVX_Usable): ... this.
7639 (bit_FMA4_Usable): New macro.
7640 (bit_XMM_state): New macro.
7641 (bit_YMM_state): New macro.
7642 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7643 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7644 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7645 (CPUID_OSXSAVE): New macro.
7646 (CPUID_AVX): New macro.
7647 (CPUID_FMA4): New macro.
7648 (index_YMM_Usable): Rename to...
7649 (index_AVX_Usable): ... this.
7650 (HAS_AVX): Use HAS_ARCH_FEATURE.
7651 (HAS_FMA4): Likewise.
7652 (HAS_YMM_USABLE): Remove.
7653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7654 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7656 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7657 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7658 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7659 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7660 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7662 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7664 * math/libm-test.c: Support platforms without multiple rounding modes.
7665 * math/bug-nextafter.c: Support platforms without FP exceptions.
7666 * math/bug-nexttoward.c: Likewise.
7667 * math/test-fenv.c: Likewise.
7668 * math/test-misc.c: Likewise.
7669 * stdlib/bug-getcontext.c: Likewise.
7671 2012-05-17 Andreas Jaeger <aj@suse.de>
7673 * manual/examples/search.c (critter_cmp): Change signature to
7675 * manual/string.texi (Collation Functions): Likewise.
7677 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7679 * bits/types.h: Fold copyright years.
7680 * bits/typesizes.h: Likewise.
7681 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7682 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7683 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7685 * time/time.h: Likewise.
7687 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7690 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7691 in instead of returning them. Return void.
7692 (__libc_mallinfo): Accumulate over all arenas.
7693 (__malloc_stats): Adjust for change in int_mallinfo interface.
7695 2012-05-16 Roland McGrath <roland@hack.frob.com>
7698 * configure.in (NM): Add AC_CHECK_TOOL for it.
7699 (libc_extra_cflags): New substituted variable.
7700 Check for -fstack-protector being used implicitly.
7701 * configure: Regenerated.
7702 * config.make.in (config-extra-cflags): New variable,
7703 gets @libc_extra_cflags@.
7704 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7707 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7708 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7709 * configure: Regenerated.
7710 * config.make.in (CPPUNDEFS): New substituted variable.
7711 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7712 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7713 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7715 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7717 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7718 (mq_attr): Use __syscall_slong_t.
7720 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7722 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7723 Check __x86_64__ instead of __WORDSIZE.
7724 (_STAT_VER_LINUX): Likewise.
7725 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7726 __syscall_ulong_t and __syscall_slong_t.
7729 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7731 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7733 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7735 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7737 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7739 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7742 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7743 include <bits/wordsize.h>. Check __x86_64__ instead of
7745 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7747 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7749 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7750 include <bits/wordsize.h>. Check __x86_64__ instead of
7752 (user_regs_struct): Use "__extension__ unsigned long long"
7753 instead of "unsigned long" if __x86_64__ is defined.
7754 (user): Likewise. Pad after pointer field if __ILP32__ is
7757 2012-05-16 Joseph Myers <joseph@codesourcery.com>
7759 * configure.in (makeinfo): Require version 4.5 or later. Allow
7761 * configure: Regenerated.
7762 * manual/install.texi (texinfo): Increase version requirement to
7764 * INSTALL: Regenerated.
7766 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7768 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7770 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7772 * sysdeps/x86_64/x32/ffs.c: New file.
7774 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7776 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7777 defined. Use __syscall_ulong_t.
7778 (shminfo): Use __syscall_ulong_t.
7779 (shm_info): Likewise.
7781 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7784 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7786 (msgqnum_t): Use __syscall_ulong_t.
7787 (msglen_t): Likewise.
7788 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7791 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7792 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7794 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7796 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7797 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7799 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7802 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7803 include <bits/wordsize.h>. Check __x86_64__ instead of
7806 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7807 "unsigned long long int" if __x86_64__ is defined.
7808 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7810 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7811 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7812 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7814 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7816 (GET_PC): Cast to uintptr_t first.
7817 (GET_FRAME): Likewise.
7818 (GET_STACK): Likewise.
7820 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7821 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7822 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7823 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7824 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7825 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7826 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7827 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7828 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7829 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7830 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7831 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7832 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7833 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7834 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7835 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7836 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7837 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7838 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7839 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7840 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7841 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7842 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7843 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7844 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7845 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7846 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7847 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7848 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7850 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7852 * Makerules (+depfiles): Also collect depfiles from .oS in
7854 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7855 .oS, $(libnldbl-routines)).
7857 * Makerules (native-compile-mkdep-flags): Define.
7858 * sunrpc/Makefile (extra-objs): Add $(addprefix
7859 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7860 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7861 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7862 calling $(make-target-directory).
7864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7866 * bits/types.h (__snseconds_t): Removed.
7867 * time/time.h (struct timespec): Replace __snseconds_t with
7869 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7870 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7872 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7873 (__SNSECONDS_T_TYPE): Likewise.
7874 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7875 (__SNSECONDS_T_TYPE): Likewise.
7876 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7877 (__SNSECONDS_T_TYPE): Likewise.
7879 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7881 * sysdeps/mach/hurd/bits/typesizes.h
7882 (__SYSCALL_SLONG_TYPE): New macro.
7883 (__SYSCALL_ULONG_TYPE): Likewise.
7885 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7887 * bits/types.h (__syscall_slong_t): New type.
7888 (__syscall_ulong_t): Likewise.
7890 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7891 (__SYSCALL_ULONG_TYPE): Likewise.
7892 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7893 (__SYSCALL_SLONG_TYPE): Likewise.
7894 (__SYSCALL_ULONG_TYPE): Likewise.
7895 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7896 (__SYSCALL_SLONG_TYPE): Likewise.
7897 (__SYSCALL_ULONG_TYPE): Likewise.
7898 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7899 (__SYSCALL_SLONG_TYPE): Likewise.
7900 (__SYSCALL_ULONG_TYPE): Likewise.
7902 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7904 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7905 Add sigaltstack-offsets.sym.
7906 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7907 <sigaltstack-offsets.h>.
7908 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7909 longjmp_msg pointer.
7910 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7911 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7913 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7915 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7917 * elf/stackguard-macros.h: Remove file.
7918 * sysdeps/generic/stackguard-macros.h: New file.
7919 * sysdeps/i386/stackguard-macros.h: Likewise.
7920 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7921 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7922 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7923 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7924 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7925 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7926 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7927 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7928 <elf/stackguard-macros.h>.
7931 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7932 __aligned__ in attribute.
7933 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7934 (gregset_t): Likewise.
7936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7938 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7939 * sysdeps/x86_64/64/Implies-after: Here. New file.
7940 * sysdeps/x86_64/x32/Implies-after: New file.
7942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7944 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7945 and access return value for _dl_profile_fixup. Use R10_LP to
7948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7950 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7954 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7955 * sysdeps/x86_64/x32/sysdep.h: New file.
7957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7959 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
7960 * sysdeps/x86_64/setjmp.S: Likewise.
7962 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7964 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
7965 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
7966 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
7967 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
7968 remove unused global constant.
7970 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
7972 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
7973 include of <not-cancel.h>.
7975 2012-05-15 Roland McGrath <roland@hack.frob.com>
7977 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
7979 2012-05-15 Jeff Law <law@redhat.com>
7980 Andreas Jaeger <aj@suse.de>
7983 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
7985 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
7986 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
7987 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
7988 code changing __hst_map_handle.map.
7990 2012-05-15 Roland McGrath <roland@hack.frob.com>
7992 * configure.in (sysnames): Look for Implies-before and Implies-after
7994 * configure: Regenerated.
7996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7998 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
7999 8-byte data alignment with LP_SIZE alignment.
8001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8003 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8008 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8012 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8013 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8014 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8016 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8018 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8020 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8021 (stackinfo_sub_sp): Likewise.
8023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8025 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8030 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8035 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8038 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8040 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8044 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8045 into R11_LP and load __x86_64_shared_cache_size_half into
8048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8050 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8053 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8055 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8057 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8059 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8061 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8062 powerpc32/power7/fpu/s_logb.c via #include.
8063 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8064 powerpc32/power7/fpu/s_logbf.c via #include.
8065 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8066 powerpc32/power7/fpu/s_logbl.c via #include.
8068 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8070 * README.libm: Remove file.
8072 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8074 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8075 count for x32. Use R*_LP and omit operand-size suffix.
8077 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8079 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8080 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8081 * sysdeps/x86_64/x32/shlib-versions: New file.
8083 2012-05-14 Roland McGrath <roland@hack.frob.com>
8085 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8086 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8087 Use _dl_fatal_printf instead.
8089 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8091 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8092 set if not set by the user. Do not allow for being unset.
8093 * sysdeps/unix/sysv/linux/configure: Regenerated.
8095 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8097 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8098 the `q' suffix from lea and replace .quad with ASM_ADDR.
8100 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8103 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8105 (PTR_DEMANGLE): Likewise.
8107 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8109 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8111 (ASM_ADDR): Likewise.
8129 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8131 * sysdeps/x86_64/x32/dl-machine.h: New file.
8133 2012-05-14 Andreas Jaeger <aj@suse.de>
8135 * manual/Makefile (subdir): Remove export of subdir.
8136 (all): Remove target.
8137 (.PHONY): Remove all from list.
8138 (mkinstalldirs): Remove.
8139 (.PHONY): Remove installdirs from list.
8140 ($(inst_infodir)/libc.info): Use make-target-directory.
8141 (installdirs): Remove.
8143 (glibc-targets): Remove.
8146 ($(objpfx)stubs ../po/manual.pot): Remove.
8147 ($(objpfx)stamp%): Remove.
8148 (make-target-directory): Remove.
8149 (subdir_install): Remove.
8157 * manual/.gitignore: Remove, it's not needed anymore.
8158 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8160 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8162 (texis): Renamed to $(objpfx)texis.
8163 (texis-path): New, contains path to generated files.
8164 (chapters.%): Use texis-path for complete path, add extra argument
8166 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8167 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8168 (summary,texi, stamp-summary): Use complete path of
8169 files. Generate files in build dir.
8170 (dir-add.texi): Build in build dir.
8171 (libm-err.texi,stamp-libm-err): Likewise.
8172 (version.texi, stamp-version): Likewise.
8173 (.%c.texi): Likewise.
8174 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8175 (mostlyclean): Remove target.
8176 (realclean): Remove target.
8177 (generated): Add new variable with contents from mostlyclean and
8178 realclean, remove entries duplicated in common-mostlyclean, add
8179 stamp-libm-err and stamp-version.
8180 (generated-dirs): Add libc directory.
8181 ($(inst_infodir)/libc.info): Install files from build dir.
8183 * manual/install.texi (Configuring and compiling): Adjust since
8184 the info files are not part of the tar ball anymore.
8186 2012-05-14 Andreas Jaeger <aj@suse.de>
8188 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8191 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8194 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8195 to 2.2.0 where earlier.
8196 * sysdeps/unix/sysv/linux/configure: Regenerated.
8197 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8198 Remove conditional code.
8199 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8200 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8201 Remove conditional code.
8202 [!__NR_lchown]: Likewise.
8203 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8204 [__NR_lchown]: Likewise.
8205 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8206 comment referencing __ASSUME_LCHOWN_SYSCALL.
8207 * sysdeps/unix/sysv/linux/i386/sigaction.c
8208 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8209 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8210 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8211 Remove conditional code.
8212 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8213 (__protocol_available): Remove #if 0 code.
8214 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8216 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8217 * sysdeps/unix/sysv/linux/kernel-features.h
8218 (__ASSUME_GETCWD_SYSCALL): Don't define.
8219 (__ASSUME_REALTIME_SIGNALS): Likewise.
8220 (__ASSUME_PREAD_SYSCALL): Likewise.
8221 (__ASSUME_PWRITE_SYSCALL): Likewise.
8222 (__ASSUME_POLL_SYSCALL): Likewise.
8223 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8224 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8226 (__ASSUME_SIOCGIFNAME): Don't define.
8227 (__ASSUME_MSG_NOSIGNAL): Likewise.
8228 (__ASSUME_SENDFILE): Define unconditionally.
8229 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8230 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8232 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8233 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8234 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8235 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8236 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8237 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8238 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8240 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8243 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8246 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8247 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8249 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8252 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8253 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8255 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8258 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8259 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8261 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8263 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8264 Remove conditional code.
8265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8266 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8267 Remove conditional code.
8268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8269 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8270 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8271 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8272 Remove conditional code.
8273 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8274 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8275 Remove conditional code.
8276 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8277 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8278 Remove conditional code.
8279 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8280 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8281 Remove conditional code.
8282 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8283 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8284 Remove conditional code.
8285 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8286 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8287 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8289 * sysdeps/unix/sysv/linux/sigaction.c
8290 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8291 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8292 * sysdeps/unix/sysv/linux/sigpending.c
8293 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8294 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8295 * sysdeps/unix/sysv/linux/sigprocmask.c
8296 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8297 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8298 * sysdeps/unix/sysv/linux/sigsuspend.c
8299 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8300 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8301 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8302 (__libc_missing_rt_sigs): Remove.
8303 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8304 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8305 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8306 Remove conditional code.
8307 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8308 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8310 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8311 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8312 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8313 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8315 2012-05-14 Andreas Jaeger <aj@suse.de>
8317 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8318 it's not used in glibc.
8319 (__coshm1): Likewise.
8320 (__acosh1p): Likewise.
8323 * manual/string.texi (Copying and Concatenation): Add missing
8324 variable in concat example.
8325 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8327 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8330 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8331 __builtin_clzl with __builtin_clzll.
8333 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8336 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8339 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8341 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8342 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8343 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8344 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8346 2012-05-14 Mike Frysinger <vapier@gentoo.org>
8348 * NEWS: Update ia64 info.
8350 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8352 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8355 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8357 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8358 * sysdeps/unix/syscalls.list (dup3): Likewise.
8359 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8360 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8362 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8364 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8365 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8367 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8369 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8371 (TLS_IE): Use mov/add instead of movq/addq to load thread
8373 (TLS_GD_PREFIX): New.
8376 2012-05-11 David S. Miller <davem@davemloft.net>
8378 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8379 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8380 (_FPU_SETCW): Likewise.
8382 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8384 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8387 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8390 * iconvdata/gb18030.c: Update tables.
8391 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8392 characters specially.
8393 (BODY for TO_LOOP): Add encoding of missing ranges.
8395 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8398 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8399 * sysdeps/mach/hurd/dup3.c: Likewise.
8400 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8401 * sysdeps/powerpc/memmove.c:: Likewise.
8403 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8405 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8406 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8408 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8410 * elf/elf.h (R_X86_64_RELATIVE64): New.
8411 (R_X86_64_NUM): Updated.
8412 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8413 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8414 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8415 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8416 tst-quad1pie tst-quad2pie
8417 (modules-names): Add tst-quadmod1 tst-quadmod2.
8418 ($(objpfx)tst-quad1): New dependency.
8419 ($(objpfx)tst-quad2): Likewise.
8420 ($(objpfx)tst-quad1pie): Likewise.
8421 ($(objpfx)tst-quad2pie): Likewise.
8422 * sysdeps/x86_64/tst-quad1.c: New file.
8423 * sysdeps/x86_64/tst-quad1pie.c: New file.
8424 * sysdeps/x86_64/tst-quad2.c: Likewise.
8425 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8426 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8427 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8428 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8429 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8431 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8433 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8434 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8435 * streams/stropts.h (t_scalar_t): Define type.
8437 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8438 (_PATH_PRESERVE): Set to "/var/lib".
8439 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8441 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8444 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8445 if __dir_mkfile succeeded.
8447 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8448 checking for _hurd_dtablesize. Unlock it right after having
8449 finished _hurd_dtable allocation.
8451 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8453 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8454 * sysdeps/mach/hurd/configure: Regenerated.
8455 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8456 special-casing to...
8457 * sysdeps/gnu/configure.in: ... this new file.
8458 * sysdeps/unix/sysv/linux/configure: Regenerated.
8459 * sysdeps/gnu/configure: New generated file.
8461 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8462 for Linux: use nsec instead of usec, as well as:
8463 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8464 members of type struct timespec.
8465 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8467 (struct stat64): Likewise.
8468 (_STATBUF_ST_NSEC): New macro.
8469 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8471 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8472 __strtoul_internal rather than strtoul.
8474 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8476 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8479 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8481 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8482 which preserves existing values.
8483 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8485 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8487 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8488 TIMEOUT values. Return EINVAL for NFDS values either negative or
8489 greater than FD_SETSIZE.
8491 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8493 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8494 allocated, call __vm_protect to finish enabling the existing space, and
8495 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8496 allocate the remainder.
8498 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8500 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8501 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8503 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8505 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8506 sysdeps/mach/hurd/readlink.c.
8508 * posix/tst-sysconf.c (posix_options): Only use
8509 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8510 _POSIX_SYNCHRONIZED_IO when they are defined
8511 * sysdeps/mach/hurd/bits/posix_opt.h:
8512 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8513 (_XOPEN_REALTIME): Undefine macro.
8514 (_XOPEN_REALTIME_THREADS): Undefine macro.
8515 (_XOPEN_SHM): Undefine macro.
8516 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8518 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8520 (_POSIX_ASYNC_IO): Undefine macro.
8521 (_POSIX_PRIORITIZED_IO): Undefine macro.
8522 (_POSIX_SPIN_LOCKS): Define macro to -1.
8524 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8525 SA_NODEFER, SA_RESETHAND.
8526 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8527 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8530 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8532 * elf/Makefile (pldd-modules): Define unconditionally.
8534 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8536 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8538 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8540 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8541 Return ENOENT when name is empty.
8542 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8544 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8546 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8548 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8550 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8552 Fix mlock in all cases except non-readable pages.
8553 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8554 instead of VM_PROT_ALL as parameter to __vm_wire function.
8556 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8557 (__mkdir): When path is `/', just fail with EEXIST.
8558 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8560 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8562 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8563 <sys/uio.h> (for writev).
8564 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8565 and <sys/param.h> (for MIN).
8567 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8569 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8570 REQUESTED_TIME. Properly set the remaining time and return EINTR
8573 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8575 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8576 Depend on against $(link-rpcuserlibs).
8578 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8580 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8581 (__libc_stack_end): Do not use attribute_relro.
8582 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8583 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8584 to libthread-provided value.
8585 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8588 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8591 * bits/libc-lock.h (__libc_once_get): New macro.
8592 * sysdeps/mach/bits/libc-lock.h: Likewise.
8593 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8594 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8595 instead of using implementation details.
8597 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8598 * libio/freopen.c: Likewise.
8599 * libio/freopen64.c: Likewise.
8600 * misc/syslog.c: Likewise.
8601 * nscd/connections.c: Likewise.
8602 * nscd/netgroupcache.c: Likewise.
8603 * sysdeps/posix/getcwd.c: Likewise.
8605 2012-05-10 Roland McGrath <roland@hack.frob.com>
8607 * math/w_ilogbf.c: Add #include <limits.h>.
8609 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8611 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8612 path instead of returning without unlocking.
8614 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8615 immediate-write ioctls.
8616 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8618 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8620 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8621 __builtin_frame_address instead of making assumptions about the
8622 location of the return address relative to DATA. Force early load of
8624 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8625 __builtin_frame_address.
8628 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8629 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8630 implement dup3 and do some further code clean-ups.
8631 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8632 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8634 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8636 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8638 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8639 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8640 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8641 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8642 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8645 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8646 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8647 when handler == SIG_ERR, not when handler != SIG_ERR.
8649 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8651 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8652 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8655 accept4 for GNU Hurd.
8656 * include/sys/socket.h (__libc_accept4): New prototype.
8657 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8658 to implement __libc_accept4.
8659 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8661 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8663 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8664 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8665 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8668 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8670 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8672 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8674 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8675 assertion on O_CLOEXEC flag.
8676 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8677 * hurd/intern-fd.c: Likewise.
8678 * hurd/port2fd.c: Likewise.
8680 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8683 * bits/in.h (IPV6_PKTINFO): Define new macro.
8684 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8686 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8691 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8692 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8693 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8694 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8695 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8696 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8697 * math/libm-test.inc (logb_test) : Additional logb tests.
8699 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8700 Andreas Jaeger <aj@suse.de>
8702 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8703 * configure: Regenerated.
8704 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8705 * config.make.in (link-obsolete-rpc): New substituted variable.
8706 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8707 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8708 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8709 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8710 so that libc.a contains the symbols.
8711 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8712 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8713 * sunrpc/auth_none.c: Likewise.
8714 * sunrpc/auth_unix.c: Likewise.
8715 * sunrpc/authdes_prot.c: Likewise.
8716 * sunrpc/authuxprot.c: Likewise.
8717 * sunrpc/clnt_gen.c: Likewise.
8718 * sunrpc/clnt_perr.c: Likewise.
8719 * sunrpc/clnt_raw.c: Likewise.
8720 * sunrpc/clnt_simp.c: Likewise.
8721 * sunrpc/clnt_tcp.c: Likewise.
8722 * sunrpc/clnt_udp.c: Likewise.
8723 * sunrpc/clnt_unix.c: Likewise.
8724 * sunrpc/des_crypt.c: Likewise.
8725 * sunrpc/des_soft.c: Likewise.
8726 * sunrpc/get_myaddr.c: Likewise.
8727 * sunrpc/key_call.c: Likewise.
8728 * sunrpc/key_prot.c: Likewise.
8729 * sunrpc/netname.c: Likewise.
8730 * sunrpc/pm_getmaps.c: Likewise.
8731 * sunrpc/pm_getport.c: Likewise.
8732 * sunrpc/pmap_clnt.c: Likewise.
8733 * sunrpc/pmap_prot.c: Likewise.
8734 * sunrpc/pmap_prot2.c: Likewise.
8735 * sunrpc/pmap_rmt.c: Likewise.
8736 * sunrpc/publickey.c: Likewise.
8737 * sunrpc/rpc_cmsg.c: Likewise.
8738 * sunrpc/rpc_common.c: Likewise.
8739 * sunrpc/rpc_dtable.c: Likewise.
8740 * sunrpc/rpc_prot.c: Likewise.
8741 * sunrpc/rpc_thread.c: Likewise.
8742 * sunrpc/rtime.c: Likewise.
8743 * sunrpc/svc.c: Likewise.
8744 * sunrpc/svc_auth.c: Likewise.
8745 * sunrpc/svc_raw.c: Likewise.
8746 * sunrpc/svc_run.c: Likewise.
8747 * sunrpc/svc_tcp.c: Likewise.
8748 * sunrpc/svc_udp.c: Likewise.
8749 * sunrpc/svc_unix.c: Likewise.
8750 * sunrpc/svcauth_des.c: Likewise.
8751 * sunrpc/xcrypt.c: Likewise.
8752 * sunrpc/xdr.c: Likewise.
8753 * sunrpc/xdr_array.c: Likewise.
8754 * sunrpc/xdr_float.c: Likewise.
8755 * sunrpc/xdr_intXX_t.c: Likewise.
8756 * sunrpc/xdr_mem.c: Likewise.
8757 * sunrpc/xdr_rec.c: Likewise.
8758 * sunrpc/xdr_ref.c: Likewise.
8759 * sunrpc/xdr_sizeof.c: Likewise.
8760 * sunrpc/xdr_stdio.c: Likewise.
8762 2012-05-10 Roland McGrath <roland@hack.frob.com>
8764 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8765 change. Update copyright years.
8767 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8769 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8771 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8772 Joseph Myers <joseph@codesourcery.com>
8773 Paul Pluzhnikov <ppluzhnikov@google.com>
8776 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8778 [cross-compiling] (extra-libs): Likewise.
8779 [cross-compiling] (extra-libs-others): Likewise.
8780 [cross-compiling] (librpcsvc-routines): Likewise.
8781 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8782 [cross-compiling] (omit-deps): Likewise.
8783 (sunrpc-CPPFLAGS): New variable.
8784 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8785 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8786 (cross-rpcgen-objs): New variable.
8787 (extra-objs): Append $(cross-rpcgen-objs).
8788 ($(cross-rpcgen-objs)): New rule.
8789 ($(objpfx)cross-rpcgen): Likewise.
8790 (rpcgen-cmd): Define to use $(built-program-file). Expand
8792 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8793 ($(objpfx)x%.stmp): Likewise.
8794 * sunrpc/proto.h [IS_IN_build] (_): Define.
8795 [IS_IN_build] (_libc_intl_domainname): Likewise.
8797 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8800 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8801 and R_X86_64_TPOFF64.
8803 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8805 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8806 sysdeps/unix/sysv/syscalls.list.
8809 * sysdeps/unix/sysv/syscalls.list: Remove file.
8811 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8814 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8815 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8816 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8817 (__LC_IDENTIFICATION): Make these macros useful in #if
8818 expressions, as required by C99.
8820 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8822 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8823 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8826 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8828 * stdlib/longlong.h: Updated from GCC.
8830 2012-05-09 Andreas Jaeger <aj@suse.de>
8832 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8833 default is first entry.
8834 (run_mode): Set type.
8835 (main): Remove informal message about syslog.
8836 (options): Fix typo.
8839 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
8842 (llrintf): Likewise.
8846 (nearbyint): Likewise.
8847 (nearbyintf): Likewise.
8849 2012-05-09 Andreas Jaeger <aj@suse.de>
8850 Pedro Alves <palves@redhat.com>
8852 * nscd/nscd.c (run_mode): Use enum.
8853 (main): Cleanup coding style issue.
8855 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
8856 Andreas Jaeger <aj@suse.de>
8858 * nscd/nscd.c (go_background): Replaced with...
8859 (run_mode): ... this.
8860 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
8861 (options): Add -F --foreground.
8862 (main): Implement it.
8863 (parse_opt): Parse it.
8865 2012-05-09 Andreas Jaeger <aj@suse.de>
8868 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8869 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8870 -Wconversion warning.
8871 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8874 2012-05-09 Joseph Myers <joseph@codesourcery.com>
8876 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8878 (LC_ALL): Use macro-int-constant.
8879 (LC_COLLATE): Likewise.
8880 (LC_CTYPE): Likewise.
8881 (LC_MESSAGES): Likewise.
8882 (LC_MONETARY): Likewise.
8883 (LC_NUMERIC): Likewise.
8884 (LC_TIME): Likewise.
8885 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8886 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8887 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8888 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8890 [C99-based standards] (float_t): Expect type.
8891 [C99-based standards] (double_t): Expect type.
8892 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8894 [C99-based standards] (HUGE_VALL): Likewise.
8895 [C99-based standards] (INFINITY): Likewise.
8896 [C99-based standards] (NAN): Likewise.
8897 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8898 [C99-based standards] (FP_NAN): Likewise.
8899 [C99-based standards] (FP_NORMAL): Likewise.
8900 [C99-based standards] (FP_SUBNORMAL): Likewise.
8901 [C99-based standards] (FP_ZERO): Likewise.
8902 [C99-based standards] (FP_FAST_FMA): Use
8903 optional-macro-int-constant. Specify type. Require == 1.
8904 [C99-based standards] (FP_FAST_FMAF): Likewise.
8905 [C99-based standards] (FP_FAST_FMAL): Likewise.
8906 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8907 [C99-based standards] (FP_ILOGBNAN): Likewise.
8908 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8910 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8911 [C99-based standards] (math_errhandling): Specify type.
8912 [ISO99 || ISO11] (signgam): Do not allow.
8913 [non-C99-based standards] (copysignf): Do not allow.
8914 [non-C99-based standards] (exp2f): Likewise.
8915 [non-C99-based standards] (log2f): Likewise.
8916 [non-C99-based standards] (modff): Allow.
8917 [non-C99-based standards] (erff): Do not allow.
8918 [non-C99-based standards] (erfcf): Likewise.
8919 [non-C99-based standards] (gammaf): Likewise.
8920 [non-C99-based standards] (hypotf): Likewise.
8921 [non-C99-based standards] (j0f): Likewise.
8922 [non-C99-based standards] (j1f): Likewise.
8923 [non-C99-based standards] (jnf): Likewise.
8924 [non-C99-based standards] (lgammaf): Likewise.
8925 [non-C99-based standards] (tgammaf): Likewise.
8926 [non-C99-based standards] (y0f): Likewise.
8927 [non-C99-based standards] (y1f): Likewise.
8928 [non-C99-based standards] (ynf): Likewise.
8929 [non-C99-based standards] (isnanf): Likewise.
8930 [non-C99-based standards] (acoshf): Likewise.
8931 [non-C99-based standards] (asinhf): Likewise.
8932 [non-C99-based standards] (atanhf): Likewise.
8933 [non-C99-based standards] (cbrtf): Likewise.
8934 [non-C99-based standards] (expm1f): Likewise.
8935 [non-C99-based standards] (ilogbf): Likewise.
8936 [non-C99-based standards] (log1pf): Likewise.
8937 [non-C99-based standards] (logbf): Likewise.
8938 [non-C99-based standards] (nextafterf): Likewise.
8939 [non-C99-based standards] (remainderf): Likewise.
8940 [non-C99-based standards] (rintf): Likewise.
8941 [non-C99-based standards] (scalbf): Likewise.
8942 [non-C99-based standards] (copysignl): Likewise.
8943 [non-C99-based standards] (exp2l): Likewise.
8944 [non-C99-based standards] (log2l): Likewise.
8945 [non-C99-based standards] (modfl): Allow.
8946 [non-C99-based standards] (erfl): Do not allow.
8947 [non-C99-based standards] (erfcl): Likewise.
8948 [non-C99-based standards] (gammal): Likewise.
8949 [non-C99-based standards] (hypotl): Likewise.
8950 [non-C99-based standards] (j0l): Likewise.
8951 [non-C99-based standards] (j1l): Likewise.
8952 [non-C99-based standards] (jnl): Likewise.
8953 [non-C99-based standards] (lgammal): Likewise.
8954 [non-C99-based standards] (tgammal): Likewise.
8955 [non-C99-based standards] (y0l): Likewise.
8956 [non-C99-based standards] (y1l): Likewise.
8957 [non-C99-based standards] (ynl): Likewise.
8958 [non-C99-based standards] (isnanl): Likewise.
8959 [non-C99-based standards] (acoshl): Likewise.
8960 [non-C99-based standards] (asinhl): Likewise.
8961 [non-C99-based standards] (atanhl): Likewise.
8962 [non-C99-based standards] (cbrtl): Likewise.
8963 [non-C99-based standards] (expm1l): Likewise.
8964 [non-C99-based standards] (ilogbl): Likewise.
8965 [non-C99-based standards] (log1pl): Likewise.
8966 [non-C99-based standards] (logbl): Likewise.
8967 [non-C99-based standards] (nextafterl): Likewise.
8968 [non-C99-based standards] (remainderl): Likewise.
8969 [non-C99-based standards] (rintl): Likewise.
8970 [non-C99-based standards] (scalbl): Likewise.
8971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8972 [non-C99-based standards] (FP_*): Do not allow.
8973 [C99-based standards] (FP_*): Change to
8974 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8975 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8977 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
8978 (SIG_ERR): Likewise.
8979 [X/Open-based standards] (SIG_HOLD): Likewise.
8980 (SIG_IGN): Likewise.
8981 (SIGABRT): Use macro-int-constant. Specify type. Require
8986 (SIGSEGV): Likewise.
8988 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
8989 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
8990 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
8991 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
8992 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
8993 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
8994 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
8995 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
8996 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
8997 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
8998 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
8999 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9000 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9001 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9002 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9003 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9004 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9005 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9006 [X/Open-based standards] (SIGTRAP): Likewise.
9007 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9008 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9009 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9010 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9011 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9014 2012-05-08 Ian Wienand <ianw@vmware.com>
9017 * time/tzset.c (__tzset_parse_tz): Update default rules for
9018 daylight time changes in the Energy Policy Act of 2005.
9020 2012-05-09 Andreas Jaeger <aj@suse.de>
9023 * elf/ldconfig.c (parse_conf): Change string to make clear that
9024 ldconfig only issued a warning if ld.so.conf does not exist.
9026 2012-05-08 David S. Miller <davem@davemloft.net>
9028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9029 movxtod instead of popping the value on the stack.
9031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9033 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9035 * config.h.in: Add HAVE_ARM_PCS_VFP.
9037 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
9040 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9041 checking but the checks are disabled for any reason.
9043 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9045 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9046 and ELF64_R_TYPE with ELFW(R_TYPE).
9048 2012-05-08 Joseph Myers <joseph@codesourcery.com>
9050 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9053 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9054 (settimeofday): Likewise.
9056 2012-05-08 Mike Frysinger <vapier@gentoo.org>
9058 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9059 a struct th_u2 inside the union, and move tu_block/tu_code into
9060 a new th_u3 union of tu_block/tu_code inside of that. Move
9061 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9062 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9063 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9064 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9065 (th_stuff): Change to th_u1.tu_stuff.
9067 (th_msg): Change to th_u1.th_u2.tu_data.
9069 2012-05-07 David S. Miller <davem@davemloft.net>
9071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9074 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9075 (SETUP_PIC_REG): Use it.
9076 (SETUP_PIC_REG_LEAF): Use it.
9078 2012-05-07 Joseph Myers <joseph@codesourcery.com>
9082 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9084 (EXPL_FINITE): Likewise.
9086 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9087 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9089 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9091 (EXPL_FINITE): Likewise.
9093 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9094 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9096 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9097 test of -max_value argument for long double.
9098 * sysdeps/i386/fpu/libm-test-ulps: Update.
9099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9101 2012-05-06 David S. Miller <davem@davemloft.net>
9103 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9104 quad soft-float symbols whose references which are compiler
9106 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9108 2012-05-06 Joseph Myers <joseph@codesourcery.com>
9112 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9114 (EXPL_FINITE): Likewise.
9118 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9119 Adjust comments for base varying.
9120 (__expl_finite): Change alias to EXPL_FINITE.
9121 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9123 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9124 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9126 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9127 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9129 (EXPL_FINITE): Likewise.
9133 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9134 Adjust comments for base varying.
9135 (__expl_finite): Change alias to EXPL_FINITE.
9136 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9141 * math/libm-test.inc (check_float_internal): Correct ulp
9142 calculation for subnormal expected results.
9144 2012-05-06 Andreas Jaeger <aj@suse.de>
9146 * Makeconfig (+math-flags): New, set to -frounding-math.
9147 (+cflags): Add +math-flags so that all of glibc gets compiled with
9150 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9152 2012-05-05 Joseph Myers <joseph@codesourcery.com>
9154 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9160 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9161 (__ieee754_expl): Allow for and saturate large arguments.
9162 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9163 (u_threshold): Likewise.
9164 (__exp): Call __ieee754_exp before checking for overflow and
9166 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9167 (u_threshold): Likewise.
9168 (__expf): Call __ieee754_expf before checking for overflow and
9170 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9171 (u_threshold): Likewise.
9172 (__expl): Call __ieee754_expl before checking for overflow and
9174 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9175 (__ieee754_expl): Allow for and saturate large arguments.
9176 * math/libm-test.inc (exp_test): Add another test. Do not allow
9177 missing overflow exception on overflow.
9178 (expm1_test): Do not allow missing overflow exception on overflow.
9180 * sysdeps/i386/fpu/e_expl.c: Move to ...
9181 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9182 rather than using inline asm.
9183 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9184 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9185 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9187 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9194 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9196 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9197 sysdeps/unix/common/syscalls.list.
9200 (ftruncate): Likewise.
9201 (getrusage): Likewise.
9202 (gettimeofday): Likewise.
9203 (setpgid): Likewise.
9204 (setregid): Likewise.
9205 (setreuid): Likewise.
9206 (sigaction): Likewise.
9207 (truncate): Likewise.
9208 (vhangup): Likewise.
9209 * sysdeps/unix/common/syscalls.list: Remove file.
9210 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9211 * sysdeps/unix/sysv/linux/Implies: Likewise.
9213 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9215 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9217 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9221 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9224 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9227 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9230 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9233 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9236 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9239 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9243 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9247 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9250 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9254 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9258 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9260 * sysdeps/unix/common/bits/dirent.h: Remove file.
9261 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9263 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9264 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9265 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9266 * sysdeps/unix/bsd/isatty.c: Likewise.
9267 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9268 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9269 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9271 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9274 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9275 long double comparison inaccuracies.
9276 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9279 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9281 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9282 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9284 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9287 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9288 nonzero digits before rounding a hex value.
9289 * stdlib/tst-strtod.c (tests): Add another test.
9291 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9293 * sysdeps/s390/fpu/libm-test-ulps: Update.
9295 2012-05-03 Andreas Jaeger <aj@suse.de>
9297 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9298 does not get optimized out.
9299 (malloc_opt_barrier): New.
9301 2012-05-03 Andreas Jaeger <aj@suse.de>
9302 Roland McGrath <roland@hack.frob.com>
9304 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9305 intermediate file deletion.
9306 (generated): Add .symlist files.
9308 2012-05-03 Joseph Myers <joseph@codesourcery.com>
9311 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9312 Redirect under this condition.
9313 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9314 [__USE_GNU] (__dprintf_chk): Not under this condition.
9315 [__USE_GNU] (__vdprintf_chk): Likewise.
9316 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9317 under this condition.
9318 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9319 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9320 [__USE_XOPEN2K8] (vdprintf): Likewise.
9321 [__USE_GNU] (__dprintf_chk): Not under this condition.
9322 [__USE_GNU] (__vdprintf_chk): Likewise.
9323 [__USE_GNU] (dprintf): Likewise.
9324 [__USE_GNU] (vdprintf): Likewise.
9326 2012-05-03 Roland McGrath <roland@hack.frob.com>
9328 * elf/Makefile (common-generated): Set this instead of generated for
9329 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9330 $(all-built-dso)-derived lists.
9332 2012-05-03 Andreas Jaeger <aj@suse.de>
9334 * sysdeps/i386/fpu/libm-test-ulps: Update.
9338 * scripts/gen-FAQ.pl: Likewise.
9339 * manual/install.texi (Installation): Point to online location of
9341 * Makefile (files-for-dist): Remove FAQ.
9344 2012-05-02 Allan McRae <allan@archlinux.org>
9346 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9347 (LDFLAGS-reldepmod5.so): Likewise.
9348 (LDFLAGS-reldep6mod1.so): Likewise.
9349 (LDFLAGS-reldep6mod4.so): Likewise.
9350 (LDFLAGS-reldep8mod3.so): Likewise.
9351 (LDFLAGS-unload4mod1.so): Likewise.
9352 (LDFLAGS-unload4mod2.so): Likewise.
9353 (LDFLAGS-tst-initorder): Likewise.
9354 (LDFLAGS-tst-initordera2.so): Likewise.
9355 (LDFLAGS-tst-initordera3.so): Likewise.
9356 (LDFLAGS-tst-initordera4.so): Likewise.
9357 (LDFLAGS-tst-initorderb2.so): Likewise.
9358 (LDFLAGS-noload): Likewise.
9359 (LDFLAGS-next): Likewise.
9360 (LDFLAGS-order2mod1.so): Likewise.
9361 (LDFLAGS-order2mod2.so): Likewise.
9362 (LDFLAGS-tst-initorder2): Likewise.
9363 (LDFLAGS-tst-initorder2a.so): Likewise.
9364 (LDFLAGS-tst-initorder2b.so): Likewise.
9365 (LDFLAGS-tst-initorder2c.so): Likewise.
9366 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9368 2012-05-02 David S. Miller <davem@davemloft.net>
9370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9372 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9375 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9377 2012-05-02 Andreas Jaeger <aj@suse.de>
9379 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9380 since we manipulate rounding mode.
9381 (CPPFLAGS-test-idouble.c): Likewise.
9382 (CPPFLAGS-test-ifloat.c): Likewise.
9383 (CFLAGS-test-ldouble.c): Likewise.
9384 (CFLAGS-test-double.c): Likewise.
9385 (CFLAGS-test-float.c): Likewise.
9386 (CFLAGS-test-misc.c): Likewise.
9387 (CFLAGS-test-test-fenv.c): Likewise.
9389 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9393 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9394 comparisons to determine direction to adjust input.
9396 2012-05-01 Roland McGrath <roland@hack.frob.com>
9398 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9399 output to the target.
9401 * scripts/localplt.awk: New file.
9402 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9403 (check-localplt-CFLAGS): Variable removed.
9404 ($(all-built-dso:=.jmprel)): New static pattern rule.
9405 (generated): Add those targets.
9406 (localplt-built-dso): New variable.
9407 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9409 * elf/check-localplt.c: File removed.
9411 * scripts/check-execstack.awk: New file.
9412 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9413 (check-execstack-CFLAGS): Variable removed.
9414 ($(objpfx)check-execstack.h): Target removed.
9415 ($(objpfx)execstack-default): New target.
9416 (generated): Add that instead of check-execstack.h.
9417 ($(all-built-dso:=.phdr)): New static pattern rule.
9418 (generated): Add those targets.
9419 * elf/check-execstack.c: File removed.
9421 * scripts/check-textrel.awk: New file.
9422 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9423 (check-textrel-CFLAGS): Variable removed.
9424 (all-built-dso): Use := to define.o
9425 ($(all-built-dso:=.dyn)): New static pattern rule.
9426 (generated): Add those targets.
9427 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9428 * config.make.in (READELF): New substituted variable.
9429 * elf/check-textrel.c: File removed.
9431 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9433 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9435 * conform/data/ctype.h-data [C99-based standards] (isblank):
9437 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9438 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9439 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9440 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9441 Specify type. Require positive value.
9444 [ISO || POSIX] (EILSEQ): Do not expect.
9445 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9446 Specify type. Require positive value.
9447 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9448 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9449 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9450 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9451 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9452 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9453 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9454 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9455 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9456 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9457 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9458 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9459 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9460 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9461 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9462 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9463 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9464 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9465 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9466 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9467 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9468 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9469 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9470 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9471 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9472 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9473 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9474 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9475 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9476 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9477 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9478 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9479 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9480 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9481 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9482 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9483 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9484 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9485 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9486 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9487 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9488 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9489 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9490 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9491 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9492 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9493 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9494 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9495 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9496 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9497 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9498 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9499 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9500 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9501 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9502 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9503 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9504 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9505 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9506 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9507 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9508 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9509 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9510 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9511 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9512 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9513 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9514 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9515 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9516 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9517 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9518 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9519 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9520 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9521 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9522 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9523 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9525 (FLT_ROUNDS): Expect as macro, not constant.
9526 (FLT_MANT_DIG): Use macro-int-constant.
9527 (DBL_MANT_DIG): Likewise.
9528 (LDBL_MANT_DIG): Likewise.
9529 (FLT_DIG): Likewise.
9530 (DBL_DIG): Likewise.
9531 (LDBL_DIG): Likewise.
9532 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9533 (DBL_MIN_EXP): Likewise.
9534 (LDBL_MIN_EXP): Likewise.
9535 (FLT_MAX_EXP): Use macro-int-constant.
9536 (DBL_MAX_EXP): Likewise.
9537 (LDBL_MAX_EXP): Likewise.
9538 (FLT_MAX_10_EXP): Likewise.
9539 (DBL_MAX_10_EXP): Likewise.
9540 (LDBL_MAX_10_EXP): Likewise.
9541 (FLT_MAX): Use macro-constant.
9542 (DBL_MAX): Likewise.
9543 (LDBL_MAX): Likewise.
9544 (FLT_EPSILON): Use macro-constant. Give upper bound.
9545 (DBL_EPSILON): Likewise.
9546 (LDBL_EPSILON): Likewise.
9547 (FLT_MIN): Likewise.
9548 (DBL_MIN): Likewise.
9549 (LDBL_MIN): Likewise.
9550 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9551 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9552 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9553 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9554 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9555 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9556 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9557 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9558 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9559 [ISO11] (FLT_TRUE_MIN): Likewise.
9560 [ISO11] (LDBL_TRUE_MIN): Likewise.
9561 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9562 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9563 (SCHAR_MIN): Use macro-int-constant. Specify type.
9564 (SCHAR_MAX): Likewise.
9565 (UCHAR_MAX): Likewise.
9566 (CHAR_MIN): Likewise.
9567 (CHAR_MAX): Likewise.
9568 (MB_LEN_MAX): Use macro-int-constant.
9569 (SHRT_MIN): Use macro-int-constant. Specify type.
9570 (SHRT_MAX): Likewise.
9571 (USHRT_MAX): Likewise.
9572 (INT_MAX): Likewise.
9573 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9575 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9577 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9579 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9580 bound negative. Suffix upper bound with "L".
9581 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9583 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9585 [C99-based standards] (LLONG_MAX): Likewise.
9586 [C99-based standards] (ULLONG_MAX): Likewise.
9587 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9589 [ISO11] (max_align_t): Require type.
9590 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9592 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9593 from $CFLAGS, without defining away __attribute__ calls.
9594 (checknamespace): Use $CFLAGS_namespace.
9596 * conform/conformtest.pl (@keywords): Only include C99 keywords
9597 for standards based on C99 or C11.
9599 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9601 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9604 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9605 usability of symbols in #if.
9607 * conform/conformtest.pl: If macro or constant types start
9608 "promoted:", expect the symbol to be of the following type
9609 promoted by the integer promotions.
9611 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9612 in one place. Also handle "macro-constant".
9614 * conform/conformtest.pl: Only accept expected macro values with
9615 "==". Parse all "macro" lines in one place.
9616 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9618 * conform/conformtest.pl: Handle braced types on "constant" lines
9619 instead of handling "typed-constant".
9620 * conform/data/signal.h-data: Use "constant" instead of
9623 * conform/conformtest.pl: Handle "optional-" at start of lines in
9624 one place rather than duplicating several cases. Handle each
9625 format of "macro" line with initial "optional-".
9627 * conform/conformtest.pl: Only accept expected constant or
9628 optional-constant values with "==". Parse all "constant" lines in
9629 one place. Parse all "optional-constant" lines in one place.
9630 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9631 * conform/data/fmtmsg.h-data: Likewise.
9632 * conform/data/netinet/in.h-data: Likewise.
9633 * conform/data/tar.h-data: Likewise.
9634 * conform/data/limits.h-data: Use "==" form on "constant" and
9635 "optional-constant" lines.
9637 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9638 Use -std=c99 for XOPEN2K.
9639 (@knownproblems): Remove.
9640 (newtoken): Don't check %isknown.
9642 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9643 Do not expect macro.
9644 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9645 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9646 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9647 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9648 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9649 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9650 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9651 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9652 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9653 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9654 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9655 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9656 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9657 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9658 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9659 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9660 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9661 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9662 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9663 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9664 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9665 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9666 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9667 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9668 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9669 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9670 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9671 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9672 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9673 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9674 [XPG3] (acosh): Likewise.
9675 [XPG3] (asinh): Likewise.
9676 [XPG3] (atanh): Likewise.
9677 [XPG3] (cbrt): Likewise.
9678 [XPG3] (expm1): Likewise.
9679 [XPG3] (ilogb): Likewise.
9680 [XPG3] (log1p): Likewise.
9681 [XPG3] (logb): Likewise.
9682 [XPG3] (nextafter): Likewise.
9683 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9684 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9685 [XPG3] (remainder): Likewise.
9686 [XPG3] (rint): Likewise.
9687 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9688 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9689 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9690 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9691 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9692 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9693 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9694 [UNIX98 || XOPEN2K] (scalb): Expect.
9695 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9696 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9697 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9698 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9699 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9700 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9701 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9702 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9703 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9704 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9705 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9706 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9707 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9708 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9709 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9710 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9711 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9712 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9713 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9714 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9715 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9716 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9717 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9718 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9719 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9720 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9721 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9722 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9723 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9724 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9725 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9726 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9727 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9728 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9729 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9730 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9731 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9732 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9733 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9734 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9735 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9736 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9737 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9738 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9739 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9740 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9741 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9742 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9743 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9744 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9745 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9746 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9747 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9748 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9749 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9750 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9751 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9752 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9753 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9754 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9755 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9756 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9757 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9758 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9759 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9760 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9761 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9762 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9763 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9764 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9765 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9766 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9767 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9768 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9769 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9770 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9771 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9772 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9773 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9774 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9775 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9776 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9777 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9778 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9779 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9780 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9781 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9782 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9783 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9784 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9785 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9786 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9787 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9788 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9789 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9790 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9791 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9792 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9793 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9794 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9795 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9796 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9797 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9798 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9799 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9800 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9801 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9802 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9803 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9804 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9805 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9806 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9807 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9808 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9809 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9810 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9811 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9812 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9813 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9814 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9815 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9816 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9817 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9818 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9819 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9820 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9821 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9822 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9823 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9824 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9825 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9826 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9827 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9828 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9829 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9830 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9831 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9833 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9834 _XOPEN_SOURCE_EXTENDED for XPG4.
9836 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9838 * Makeconfig (localtime): Remove variable.
9839 (inst_localtime-file): Likewise.
9841 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9862 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9866 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9867 comparisons to determine direction to adjust input.
9868 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9869 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9870 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9872 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9874 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9876 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9877 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9879 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9881 * math/libm-test.inc (nexttoward_test): Add more tests.
9883 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9886 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9887 in version GLIBC_2.1, not GLIBC_2.0.
9888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9891 2012-04-30 Joseph Myers <joseph@codesourcery.com>
9894 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9896 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9897 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9898 * math/libm-test.inc (acos_test): Add more tests.
9899 (asin_test): Likewise.
9900 * sysdeps/i386/fpu/libm-test-ulps: Update.
9901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9904 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9906 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9907 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9908 * math/libm-test.inc (acos_test_tonearest): New function.
9909 (acos_test_towardzero): Likewise.
9910 (acos_test_downward): Likewise.
9911 (acos_test_upward): Likewise.
9912 (asin_test_tonearest): Likewise.
9913 (asin_test_towardzero): Likewise.
9914 (asin_test_downward): Likewise.
9915 (asin_test_upward): Likewise.
9916 (main): Call the new functions.
9917 * sysdeps/i386/fpu/libm-test-ulps: Update.
9918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9922 * math/e_exp10.c: Include <float.h>.
9923 (__ieee754_exp10): Handle underflow here rather than multiplying
9924 large negative argument by M_LN10.
9925 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9927 * math/e_exp10l.c: Include <float.h>.
9928 (__ieee754_exp10l): Handle underflow here rather than multiplying
9929 large negative argument by M_LN10l.
9930 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9931 spurious overflow exception on underflow.
9933 2012-04-29 Marek Polacek <polacek@redhat.com>
9935 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9936 (__fortify_function): New macro.
9937 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9938 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9939 __extern_always_inline.
9940 * libio/bits/stdio2.h: Likewise.
9941 * libio/bits/stdio.h: Likewise.
9942 * string/string.h: Likewise.
9943 * string/bits/string3.h: Likewise.
9944 * include/stdio.h: Likewise.
9945 * stdlib/bits/stdlib.h: Likewise.
9946 * stdlib/stdlib.h: Likewise.
9947 * rt/bits/mqueue2.h: Likewise.
9948 * rt/mqueue.h: Likewise.
9949 * posix/bits/unistd.h: Likewise.
9950 * posix/unistd.h: Likewise.
9951 * io/bits/poll2.h: Likewise.
9952 * io/bits/fcntl2.h: Likewise.
9953 * io/fcntl.h: Likewise.
9954 * io/sys/poll.h: Likewise.
9955 * misc/bits/syslog.h: Likewise.
9956 * misc/bits/syslog-ldbl.h: Likewise.
9957 * misc/sys/syslog.h: Likewise.
9958 * socket/bits/socket2.h: Likewise.
9959 * socket/sys/socket.h: Likewise.
9960 * debug/tst-chk1.c: Likewise.
9961 * wcsmbs/bits/wchar2.h: Likewise.
9962 * wcsmbs/bits/wchar-ldbl.h: Likewise.
9963 * wcsmbs/wchar.h: Likewise.
9965 2012-04-29 Andreas Jaeger <aj@suse.de>
9967 * Makerules (tests): Remove enable-check-abi protection.
9968 (check-abi-warn): Remove.
9969 (check-abi-%): Remove check-abi-warn usage.
9971 * configure.in: Remove check-abi configure option.
9972 * configure: Regenerated.
9973 * config.make.in (enable-check-abi): Remove.
9975 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
9978 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
9979 double functions to double *_finite functions.
9982 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
9983 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
9985 * stdio-common/Makefile (tests): Add tst-sprintf3.
9986 * stdio-common/tst-sprintf3.c: New file.
9988 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
9989 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
9991 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9993 * conform/conformtest.pl: Remove duplicate typed-constant
9996 2012-04-28 David S. Miller <davem@davemloft.net>
9998 * Makerules (%.abilist): Add vpath on sysdep_dirs.
9999 (check-abi-%): Remove AWK script prerequisite and explicit
10001 (check-abi): Rewrite to just diff the symlist with the abilist.
10002 (config-tls, config-abi-config): Delete, no longer used.
10003 (update-abi-%): Remove AWK script and explicit abilist directory.
10004 (update-abi): Rewrite to simply compare and conditionally copy the
10005 symlist and the sysdep abilist file. Remove update-abi-config
10007 * abilist/ld.abilist: Remove.
10008 * abilist/libBrokenLocale.abilist: Remove.
10009 * abilist/libanl.abilist: Remove.
10010 * abilist/libcrypt.abilist: Remove.
10011 * abilist/libdl.abilist: Remove.
10012 * abilist/librt.abilist: Remove.
10013 * abilist/libthread_db.abilist: Remove.
10014 * abilist/libutil.abilist: Remove.
10015 * scripts/extract-abilist.awk: Remove.
10016 * scripts/merge-abilist.awk: Remove.
10017 * sysdeps/generic/libcidn.abilist: New file.
10018 * sysdeps/generic/libnss_compat.abilist: New file.
10019 * sysdeps/generic/libnss_db.abilist: New file.
10020 * sysdeps/generic/libnss_dns.abilist: New file.
10021 * sysdeps/generic/libnss_files.abilist: New file.
10022 * sysdeps/generic/libnss_hesiod.abilist: New file.
10023 * sysdeps/generic/libnss_nis.abilist: New file.
10024 * sysdeps/generic/libnss_nisplus.abilist: New file.
10025 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10026 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10027 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10029 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10030 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10031 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10032 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10033 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10034 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10035 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10036 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10037 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10039 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10040 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10041 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10042 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10044 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10045 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10046 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10047 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10048 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10049 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10051 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10052 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10053 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10055 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10158 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10159 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10160 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10162 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10163 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10164 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10165 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10166 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10167 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10168 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10169 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10170 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10171 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10223 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10225 * conform/conformtest.pl: Fix typo in handling typed-constant from
10228 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10230 * README: Cut down references to pre-2.6 Linux kernels and
10231 Linuxthreads. Update lists of configurations in libc and ports
10232 and sort alphabetically. Say "or newer" with Linux kernel version
10235 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10237 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10240 * math/libm-test.inc (logb_test_downward): New test to expose
10241 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10244 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10247 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10249 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10250 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10252 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10254 * sysdeps/unix/i386/brk.S: Remove file.
10255 * sysdeps/unix/i386/dl-brk.S: Likewise.
10256 * sysdeps/unix/i386/pipe.S: Likewise.
10257 * sysdeps/unix/i386/sigreturn.S: Likewise.
10258 * sysdeps/unix/i386/syscall.S: Likewise.
10259 * sysdeps/unix/i386/vfork.S: Likewise.
10260 * sysdeps/unix/i386/wait.S: Likewise.
10262 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10263 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10265 * configure.in (arm*-none*): Do not allow without
10266 --enable-hacker-mode.
10267 (netbsd*): Remove case setting base_os.
10268 (386bsd*): Likewise.
10269 (freebsd*): Likewise.
10272 (sunos*): Likewise.
10273 (ultrix*): Likewise.
10274 (newsos*): Likewise.
10275 (dynix*): Likewise.
10281 (minix*): Likewise.
10282 (irix4*): Likewise.
10283 (irix6*): Likewise.
10284 (solaris[2-9]*): Likewise.
10286 * configure: Regenerated.
10288 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10291 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10292 overflow or cancellation in calculating denominator.
10293 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10294 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10295 down expression to avoid unexpected rounding in newer GCCs.
10296 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10298 2012-04-26 David S. Miller <davem@davemloft.net>
10300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10301 long-double compat symbols.
10302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10316 2012-04-25 David S. Miller <davem@davemloft.net>
10318 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10319 HWCAP_* values only after the memory barriers have been defined.
10320 (atomic_full_barrier): Define.
10321 (atomic_read_barrier): Define.
10322 (atomic_write_barrier): Define.
10324 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10326 * shlib-versions: Add libgcc_s version information.
10327 * sysdeps/generic/libgcc_s.h: Remove.
10328 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10330 * sysdeps/gnu/unwind-resume.c: Likewise.
10331 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10333 2012-04-25 David S. Miller <davem@davemloft.net>
10335 * sysdeps/unix/sparc/brk.S: Delete.
10336 * sysdeps/unix/sparc/dl-brk.S: Delete.
10337 * sysdeps/unix/sparc/pipe.S: Delete.
10338 * sysdeps/unix/sparc/sysdep.S: Delete.
10339 * sysdeps/unix/sparc/sysdep.h: Delete.
10340 * sysdeps/unix/sparc/vfork.S: Delete.
10341 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10342 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10344 ret_ERRVAL, r0, r1, MOVE): Define.
10345 (JUMPTARGET): Remove.
10346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10347 sysdeps/unix/sparc/sysdep.h
10348 (ENTRY, END): Remove.
10349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10351 2012-04-25 Joseph Myers <joseph@codesourcery.com>
10353 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10354 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10357 * timezone/README: Update upstream location and email address for
10359 * timezone/zdump.c: Update from tzcode 2012b.
10360 * timezone/zic.c: Likewise.
10362 * configure.in (libc_cv_as_needed): Remove test.
10363 * configure: Regenerated.
10364 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10365 conditional definition.
10366 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10367 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10368 * config.make.in (have-as-needed): Remove variable.
10370 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10371 Paul Pluzhnikov <ppluzhnikov@google.com>
10373 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10376 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10378 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10379 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10380 * sysdeps/sh/strlen.S: Likewise.
10382 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10384 * sysdeps/unix/fork.S: Remove file.
10385 * sysdeps/unix/i386/fork.S: Likewise.
10386 * sysdeps/unix/sparc/fork.S: Likewise.
10388 * sysdeps/unix/system.c: Remove file.
10389 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10391 * sysdeps/unix/getegid.S: Remove file.
10392 * sysdeps/unix/geteuid.S: Likewise.
10394 2012-04-24 Roland McGrath <roland@hack.frob.com>
10396 * scripts/check-localplt.awk: New file.
10397 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10399 * scripts/data/localplt-generic.data: Add a comment.
10401 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10402 NODE when __dir_mkfile failed.
10403 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10404 Reported by Ludovic Courtès <ludo@gnu.org>.
10406 2012-04-24 Andreas Jaeger <aj@suse.de>
10408 * Makerules (common-clean): Also remove gen-as-const-headers
10411 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10413 * Makerules (native-compile): Do not change working directory for
10414 build. Use $(OUTPUT_OPTION) in command.
10415 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10417 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10420 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10421 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10422 * math/libm-test.inc (floor_test): Add more tests.
10423 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10425 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10427 * sysdeps/unix/getdents.c: Remove file.
10428 * sysdeps/unix/sysv/getdents.c: Likewise.
10429 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10431 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10432 sysdeps/unix/mman/syscalls.list.
10434 (mprotect): Likewise.
10436 (munmap): Likewise.
10437 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10438 * sysdeps/unix/mman/syscalls.list: Remove.
10439 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10441 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10442 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10443 * configure: Regenerated.
10444 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10445 $(libgcc_s_suffix).
10446 * config.make.in (libgcc_s_suffix): Remove variable.
10448 2012-04-23 Joseph Myers <joseph@codesourcery.com>
10450 * sysdeps/unix/sysv/gethostname.c: Move to ...
10451 * sysdeps/posix/gethostname.c: ... here.
10453 * sysdeps/unix/execve.S: Remove file.
10455 * sysdeps/unix/_exit.S: Remove file.
10457 2012-04-23 Andreas Jaeger <aj@suse.de>
10460 * manual/Makefile: Remove make dist support, there's no
10461 need for a stand-alone documentation tar ball.
10462 (TEXI2DVI): Define always, it's not in Makeconfig.
10465 (edition): Removed.
10466 (glibc-doc-$(edition).tar): Removed
10470 (ETAGS): Remove, it's in Makeconfig.
10471 (move-if-change): Remove, it's in Makeconfig.
10473 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10476 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10477 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10478 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10479 (strtod_l, strtof_l, strtold_l): Remove __wur.
10480 It is not necessarily an error to ignore strtol's return value.
10481 One can reliably look at the stored endptr to decide whether
10482 the number had valid syntax.
10484 2012-04-21 Andreas Jaeger <aj@suse.de>
10487 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10489 2012-04-21 Joseph Myers <joseph@codesourcery.com>
10491 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10492 * sysdeps/unix/sysv/Versions: Remove file.
10494 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10499 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
10502 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10503 version from __vm86.
10505 2012-04-20 Joseph Myers <joseph@codesourcery.com>
10507 * sysdeps/unix/common/lxstat.c: Remove file.
10508 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10510 * sysdeps/unix/sysv/Makefile: Remove file.
10512 * sysdeps/unix/sysv/direct.h: Remove file.
10514 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10515 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10516 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10517 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10518 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10519 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10520 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10522 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10524 * sysdeps/unix/xmknod.c: Remove file.
10525 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10527 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10529 * sysdeps/unix/sysv/i386/time.S: Remove file.
10531 * sysdeps/unix/fxstat.c: Remove file.
10532 * sysdeps/unix/xstat.c: Likewise.
10533 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10535 * sysdeps/unix/sysv/sigaction.c: Remove file.
10537 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10538 (sysdep_headers): Remove variable.
10539 [termio.h not in sysdep_headers] (generated): Likewise.
10540 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10541 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10542 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10543 * sysdeps/unix/sysv/tcflow.c: Likewise.
10544 * sysdeps/unix/sysv/tcflush.c: Likewise.
10545 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10546 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10547 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10548 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10549 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10551 * sysdeps/unix/siglist.c: Remove file.
10553 * sysdeps/unix/getppid.S: Remove file.
10555 * sysdeps/unix/mkdir.c: Remove file.
10556 * sysdeps/unix/rmdir.c: Likewise.
10558 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10560 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10562 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10563 errlist-compat value.
10565 2012-04-18 David S. Miller <davem@davemloft.net>
10567 * sysdeps/generic/memcopy.h (reg_char): Delete.
10568 * debug/strcat_chk.c: Use char, not reg_char.
10569 * debug/strcpy_chk.c: Likewise.
10570 * debug/strncat_chk.c: Likewise.
10571 * debug/strncpy_chk.c: Likewise.
10572 * string/memchr.c: Likewise.
10573 * string/memrchr.c: Likewise.
10574 * string/rawmemchr.c: Likewise.
10575 * string/strcat.c: Likewise.
10576 * string/strchr.c: Likewise.
10577 * string/strchrnul.c: Likewise.
10578 * string/strcmp.c: Likewise.
10579 * string/strcpy.c: Likewise.
10580 * string/strncat.c: Likewise.
10581 * string/strncmp.c: Likewise.
10582 * string/strncpy.c: Likewise.
10584 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10586 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10587 __builtin_memcopy is called when src and dest ranges are known to not
10590 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10592 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10593 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10594 fwd_align_merge macro call.
10595 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10596 bwd_align_merge macro call.
10597 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10599 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10601 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10602 bwd_align_merge macros.
10603 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10604 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10605 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10607 2012-04-18 David S. Miller <davem@davemloft.net>
10609 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10611 2012-04-18 Andreas Jaeger <aj@suse.de>
10614 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10615 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10616 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10618 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10619 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10620 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10622 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10623 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10624 Adjust for changed ldbl-128 files.
10626 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10627 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10628 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10630 2012-04-17 David S. Miller <davem@davemloft.net>
10632 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10634 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10636 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10637 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10638 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10639 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10640 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10641 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10643 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10646 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10647 * math/libm-test.inc: Add ilogb errno and exception tests.
10648 * math/w_ilogb.c: New file: ilogb wrapper.
10649 * math/w_ilogbf.c: New file: ilogbf wrapper.
10650 * math/w_ilogbl.c: New file: ilogbl wrapper.
10651 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10652 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10653 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10654 exception being thrown with 0.0 as argument.
10655 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10656 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10657 exception being thrown with 0.0 as argument.
10658 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10659 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10660 exception being thrown with 0.0 as argument.
10661 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10662 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10663 exception being thrown with 0.0 as argument.
10664 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10665 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10666 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10667 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10668 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10669 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10670 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10671 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10672 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10674 2012-04-17 Petr Baudis <pasky@ucw.cz>
10676 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10679 2012-04-16 Marek Polacek <polacek@redhat.com>
10681 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10683 2012-04-16 Marek Polacek <polacek@redhat.com>
10685 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10686 operands of fdivp instruction.
10688 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10690 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10691 * elf/tst-auditmod3b.c: Likewise.
10692 * elf/tst-auditmod4b.c: Likewise.
10693 * elf/tst-auditmod5b.c: Likewise.
10694 * elf/tst-auditmod6b.c: Likewise.
10695 * elf/tst-auditmod6c.c: Likewise.
10696 * elf/tst-auditmod7b.c: Likewise.
10697 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10698 * sysdeps/x86_64/preconfigure.in: Likewise.
10699 * sysdeps/x86_64/preconfigure: Regenerated.
10701 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10703 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10706 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
10708 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10709 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10711 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10714 * locale/iso-639.def: Fix gl language name. Spotted by
10717 2012-04-12 Roland McGrath <roland@hack.frob.com>
10720 * libio/libio.h (__io_write_fn): Update comment.
10722 2012-04-12 Petr Baudis <pasky@ucw.cz>
10725 * stdio.texi (Hook Functions): The user provided writer function
10726 is not allowed to return -1.
10728 2012-04-11 David S. Miller <davem@davemloft.net>
10730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10732 2012-04-11 Mike Frysinger <vapier@gentoo.org>
10734 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10735 Add a leading slash to rtkaio.
10737 2012-04-11 Jim Meyering <meyering@redhat.com>
10740 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10741 It is not necessarily an error to ignore fwrite's return
10742 value. One can reliably use ferror to test for errors after
10745 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10747 * bits/types.h (__snseconds_t): New type.
10748 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10750 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10751 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10752 (__SNSECONDS_T_TYPE): Likewise.
10753 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10754 (__SNSECONDS_T_TYPE): Likewise.
10755 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10756 (__SNSECONDS_T_TYPE): Likewise.
10758 2012-04-10 Andreas Jaeger <aj@suse.de>
10761 * manual/time.texi (Processor Time): Return type of times is
10762 elapsed real time since an arbitrary point in the past.
10763 (CPU Time): Move CLK_TCK from here...
10764 (Processor Time): ...to here. Correct description.
10765 * manual/conf.texi (Constants for Sysconf): Correct description of
10768 2012-04-10 David S. Miller <davem@davemloft.net>
10771 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10772 where the is a gap between DT_REL(A) and DT_JMPREL.
10774 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10776 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10777 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10778 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10780 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10782 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10783 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10784 (dl_main): Handle --inhibit-cache.
10785 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10787 * elf/dl-load.c (_dl_map_object): Use it.
10788 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10790 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10793 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10794 (__ieee754_powl): Saturate large exponents rather than testing for
10795 overflow of y*log2(x).
10796 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10797 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10801 * math/s_ctan.c: Include <float.h>.
10802 (__ctan): Avoid internal overflow or cancellation in calculating
10804 * math/s_ctanf.c: Likewise.
10805 * math/s_ctanl.c: Likewise.
10806 * math/s_ctanh.c: Likewise.
10807 * math/s_ctanhf.c: Likewise.
10808 * math/s_ctanhl.c: Likewise.
10809 * math/libm-test.inc (ctan_test): Add more tests.
10810 (ctanh_test): Likewise.
10811 * sysdeps/i386/fpu/libm-test-ulps: Update.
10812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10814 2012-04-09 Andreas Jaeger <aj@suse.de>
10817 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10818 is an optional BSD extension.
10821 * manual/stdio.texi (Opening Streams): Document additional fopen
10824 2012-04-09 Roland McGrath <roland@hack.frob.com>
10826 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10827 %eax without telling the compiler.
10829 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10832 * manual/install.texi: Use sourceware.org.
10834 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10837 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10838 (__ieee754_pow): Generate overflow and underflow using huge*huge
10839 and tiny*tiny rather than just returning constant infinity or zero
10840 for large exponents.
10841 * math/libm-test.inc (pow_test): Require overflow exceptions for
10842 applicable cases of large exponents.
10845 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10846 (__ieee754_pow): Use iterative multiplication algorithm only for
10847 integer exponents with absolute value below 1024. Check for odd
10848 integer exponents when using algorithm for real exponents.
10849 * math/libm-test.inc (pow_test): Add more tests.
10850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10852 2012-04-08 Joseph Myers <joseph@codesourcery.com>
10855 * math/libm-test.inc (exp_test): Do not allow overflow exception
10858 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10861 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10862 instead of __kernel_standard_f.
10864 2012-04-08 Mike Frysinger <vapier@gentoo.org>
10866 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10867 * sysdeps/x86_64/memset_chk.S: Likewise.
10869 2012-04-08 Andreas Jaeger <aj@suse.de>
10872 * manual/startup.texi (Environment Access): Describe return value
10873 for putenv and setenv.
10876 * manual/filesys.texi (Directory Entries): Add description for
10880 * manual/filesys.texi (Directory Entries): Clarify that it's file
10881 system not operating system in the description of DT_UNKNOWN.
10884 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10886 2012-04-08 Stephen Compall <s11@member.fsf.org>
10889 * manual/llio.texi (Opening and Closing Files): Add cross
10890 reference to explain mode argument.
10892 2012-04-07 Mike Frysinger <vapier@gentoo.org>
10894 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10895 * sysdeps/x86_64/memset_chk.S: Likewise.
10897 2012-04-07 David S. Miller <davem@davemloft.net>
10899 * elf/elf.h (R_SPARC_WDISP10): Define.
10900 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10902 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10903 R_SPARC_SIZE64 and R_SPARC_H34.
10905 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10907 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10908 conditions and remove no longer applicable assertion.
10910 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10912 * bits/byteswap.h: Include <features.h>.
10913 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10914 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10916 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10918 * bits/byteswap.h (__bswap_16): Removed.
10919 Include <bits/byteswap-16.h> to get __bswap_16.
10920 * sysdeps/i386/bits/byteswap.h: Likewise.
10921 * sysdeps/s390/bits/byteswap.h: Likewise.
10922 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10923 * bits/byteswap-16.h: New file.
10924 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10925 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10926 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10927 * string/Makefile (headers): Add bits/byteswap-16.h.
10929 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10932 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10934 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10935 * nss/tst-nss-static.c: New.
10937 2012-04-06 Robert Millan <rmh@gnu.org>
10940 * manual/llio.texi (File Position Primitive): lseek
10941 refers to WHENCE when it really means OFFSET.
10943 2012-04-06 Andreas Jaeger <aj@suse.de>
10945 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10946 strncmp declarations.
10948 * abilist/libc.abilist: Add __poll and __ppoll.
10950 2012-04-05 David S. Miller <davem@davemloft.net>
10952 * scripts/check-local-headers.sh: Accept a host triplet in the
10953 path matched by the exclude regexp.
10955 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10957 * sysdeps/powerpc/powerpc32/dl-machine.h
10958 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
10959 * sysdeps/s390/s390-32/dl-machine.h
10960 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10961 * sysdeps/sparc/sparc32/dl-machine.h
10962 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10963 * sysdeps/sparc/sparc64/dl-machine.h
10964 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10966 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
10968 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
10969 undefined symbol errors.
10971 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
10974 2012-04-05 Michael Matz <matz@suse.de>
10977 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
10979 2012-04-05 Andreas Jaeger <aj@suse.de>
10982 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
10985 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10987 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
10988 which ROUND is no valid rounding mode.
10990 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10992 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
10994 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
10996 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10998 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
10999 an exception using FPU order intentionally.
11001 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11003 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11004 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11005 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11006 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11008 2012-04-05 Simon Josefsson <simon@josefsson.org>
11011 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11012 EINVAL when BUFLEN is too smal.
11014 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11017 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11018 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11020 2012-04-03 Andreas Jaeger <aj@suse.de>
11023 * manual/setjmp.texi (System V contexts): Fix sentence.
11026 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11027 New macro for this case.
11028 [!__GNUC__] (__bswap_64): New inline function for this case.
11029 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11030 * bits/byteswap.h: Likewise.
11031 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11032 ull, guard with __GLIBC_HAVE_LONG_LONG.
11034 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11035 __GLIBC_HAVE_LONG_LONG.
11037 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11038 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11040 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11043 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11044 inptr and inend, rather than using last_ch.
11046 2012-04-02 David S. Miller <davem@davemloft.net>
11048 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11049 * stdio-common/printf-parse.h (read_int): Change return type to
11050 'int', return -1 on INT_MAX overflow.
11051 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11052 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11053 overflows INT_MAX. Check for overflow of in-format-string precision
11054 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11055 SIZE_MAX not INT_MAX for integer overflow test.
11056 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11057 skip the construct in the format string but do not record anything.
11058 * stdio-common/bug22.c: Adjust to test both width/prevision
11059 INT_MAX overflow as well as total length INT_MAX overflow. Check
11060 explicitly for proper errno values.
11062 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11064 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11066 * string/test-strcmp.c [! WIDE]: Likewise.
11067 * time/tst-mktime2.c: Likewise for INT_MAX.
11068 * string/test-string.h: #include <sys/param.h> for MIN.
11070 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11071 * sysdeps/i386/init-first.c (init): Likewise.
11072 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11073 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11074 * sysdeps/sh/init-first.c (init): Likewise.
11076 2012-04-01 Ulrich Drepper <drepper@gmail.com>
11078 * po/ru.po: Update from translation team.
11079 * po/vi.po: Likewise.
11081 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11083 * resolv/nss_dns/dns-host.c: Merge copyright years.
11085 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11087 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11088 Optimize memcpy with prefetch if
11089 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11090 src, dst pointers have unequal 16 byte alignments.
11092 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11095 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11096 from a CNAME entry and return the minimum ttl for the query.
11097 (gaih_getanswer_slice): Likewise.
11099 2012-03-30 Jeff Law <law@redhat.com>
11101 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11103 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11104 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11106 * resolv/nss_dns/dns-host.c: Update copyright year.
11108 2012-03-30 Ulrich Drepper <drepper@gmail.com>
11110 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11111 requests to save a system call. Fix check that all bytes are sent.
11113 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11114 comments for sendmmsg.
11116 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11119 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11120 with only 1 character between 0x0041 and 0x01b0.
11121 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11122 * wcsmbs/tst-mbsnrtowcs.c: New file.
11124 2012-03-29 David S. Miller <davem@davemloft.net>
11126 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11127 small copies by hand.
11129 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11132 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11133 _nss_compat_initgroups_dyn): Fall back to malloc/free
11134 for large group memberships.
11136 2012-03-28 David S. Miller <davem@davemloft.net>
11138 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11139 that branches into memcpy.
11140 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11141 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11142 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11143 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11146 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11147 implementation too.
11148 * sysdeps/sparc/mempcpy.S: New file.
11150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11151 the IFUNC routine in the libc case.
11152 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11154 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11155 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11156 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11157 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11158 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11159 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11160 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11161 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11163 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11164 loop to 256 bytes instead of 64 bytes and fix test signedness.
11166 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11167 * sysdeps/sparc/sparc32/Makefile: rather than here...
11168 * sysdeps/sparc/sparc64/Makefile: and here.
11170 2012-03-28 Ulrich Drepper <drepper@gmail.com>
11172 * malloc/mallocbug.c: Avoid warnings about unused variables.
11174 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11177 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11178 in the right place. Discard and retry query if response is
11179 larger than input buffer size.
11181 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11186 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11187 x for large integer exponent.
11188 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11189 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11190 sign of result as needed afterwards.
11191 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11192 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11193 result for underflowing pow the same as for overflow.
11194 (__kernel_standard_l): Handle powl overflow and underflow here
11195 rather than calling __kernel_standard.
11196 * math/libm-test.inc (pow_test): Add more tests.
11211 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11212 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11213 (__kernel_standard_l): New function.
11214 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11216 * math/w_acosl.c (__acosl): Likewise.
11217 * math/w_asinl.c (__asinl): Likewise.
11218 * math/w_atan2l.c (__atan2l): Likewise.
11219 * math/w_atanhl.c (__atanhl): Likewise.
11220 * math/w_coshl.c (__coshl): Likewise.
11221 * math/w_exp10l.c (__exp10l): Likewise.
11222 * math/w_exp2l.c (__exp2l): Likewise.
11223 * math/w_fmodl.c (__fmodl): Likewise.
11224 * math/w_hypotl.c (__hypotl): Likewise.
11225 * math/w_j0l.c (__j0l, __y0l): Likewise.
11226 * math/w_j1l.c (__j1l, __y1l): Likewise.
11227 * math/w_jnl.c (__jnl, __ynl): Likewise.
11228 * math/w_lgammal.c (__lgammal): Likewise.
11229 * math/w_log10l.c (__log10l): Likewise.
11230 * math/w_log2l.c (__log2l): Likewise.
11231 * math/w_logl.c (__logl): Likewise.
11232 * math/w_powl.c (__powl): Likewise.
11233 * math/w_remainderl.c (__remainderl): Likewise.
11234 * math/w_scalbl.c (sysv_scalbl): Likewise.
11235 * math/w_sinhl.c (__sinhl): Likewise.
11236 * math/w_sqrtl.c (__sqrtl): Likewise.
11237 * math/w_tgammal.c (__tgammal): Likewise.
11238 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11239 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11240 * math/libm-test.inc (acos_test): Add more tests.
11241 (acosh_test): Likewise.
11242 (asin_test): Likewise.
11243 (atanh_test): Likewise.
11244 (exp_test): Likewise.
11245 (exp10_test): Likewise.
11246 (exp2_test): Likewise.
11247 (expm1_test): Likewise.
11248 (lgamma_test): Likewise.
11249 (log_test): Likewise.
11250 (log10_test): Likewise.
11251 (log1p_test): Likewise.
11252 (log2_test): Likewise.
11253 (pow_test): Do not allow some spurious overflow exceptions.
11254 (sqrt_test): Add more tests.
11255 (tgamma_test): Likewise.
11256 (y0_test): Likewise.
11257 (y1_test): Likewise.
11258 (yn_test): Likewise.
11260 2012-03-27 Anton Blanchard <anton@samba.org>
11262 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11264 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11265 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11266 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11268 2012-03-27 David S. Miller <davem@davemloft.net>
11270 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11272 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11273 have-as-vis3 check.
11275 2012-03-27 Andreas Jaeger <aj@suse.de>
11277 * sysdeps/x86_64/elf/configure.in: Moved to ...
11278 * sysdeps/x86_64/configure.in: ... here.
11279 * sysdeps/x86_64/elf/start.S: Moved to ...
11280 * sysdeps/x86_64/start.S: ... here.
11281 * sysdeps/x86_64/elf/configure: Delete.
11283 * sysdeps/x86_64/configure.in: Merge contents from
11284 sysdeps/i386/configure.in (without i686 check).
11286 * sysdeps/i386/elf/Versions: Merge into ...
11287 * sysdeps/i386/Versions: ... this.
11288 * sysdeps/i386/elf/Versions: Delete file.
11289 * sysdeps/i386/elf/start.S: Moved to ...
11290 * sysdeps/i386/start.S: ...here.
11291 * sysdeps/i386/elf/configure.in: Merge into...
11292 * sysdeps/i386/configure.in: ...here.
11293 * sysdeps/i386/elf/configure.in: Delete file.
11294 * sysdeps/i386/elf/configure: Delete file.
11296 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11297 * debug/backtracesyms.c: ... here.
11298 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11299 * debug/backtracesymsfd.c: ... here.
11300 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11301 * sysdeps/generic/ifunc-sel.h: ... here.
11303 * sysdeps/unix/i386/start.c: Delete file.
11304 * sysdeps/unix/sparc/start.c: Delete file.
11305 * sysdeps/unix/start.c: Delete file.
11307 * sysdeps/sh/elf/configure.in: Moved to ...
11308 * sysdeps/sh/configure.in: ... here.
11309 * sysdeps/sh/elf/start.S: Moved to ...
11310 * sysdeps/sh/start.S: ... here.
11311 * sysdeps/sh/elf/configure: Delete file.
11313 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11314 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11315 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11316 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11317 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11318 * sysdeps/powerpc/powerpc64/start.S: here.
11319 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11320 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11321 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11322 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11323 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11325 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11326 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11327 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11328 * sysdeps/powerpc/powerpc32/start.S: ... here.
11329 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11330 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11331 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11333 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11334 * sysdeps/powerpc/ifunc-sel.h: ... here.
11335 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11336 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11338 * sysdeps/sparc/elf/configure.in: Moved to ...
11339 * sysdeps/sparc/configure.in: ... here.
11340 * sysdeps/sparc/elf/configure: Delete file.
11341 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11342 * sysdeps/sparc/sparc32/start.S: ... here.
11343 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11344 * sysdeps/sparc/sparc64/start.S: ... here.
11345 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11346 * sysdeps/sparc/sparc32/Makefile: ... this.
11347 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11348 * sysdeps/sparc/sparc64/Makefile: ... this.
11350 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11351 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11352 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11353 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11354 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11355 * sysdeps/s390/s390-32/setjmp.S: ... here.
11356 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11357 * sysdeps/s390/s390-32/configure.in: ... here.
11358 * sysdeps/s390/s390-32/elf/configure: Delete file.
11359 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11360 * sysdeps/s390/s390-32/start.S: ... here.
11362 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11363 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11364 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11365 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11366 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11367 * sysdeps/s390/s390-64/setjmp.S: ... here.
11368 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11369 * sysdeps/s390/s390-64/configure.in: ... here
11370 * sysdeps/s390/s390-64/elf/configure: Delete file.
11371 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11372 * sysdeps/s390/s390-64/start.S: ... here.
11373 * sysdeps/s390/s390-64/elf/configure: Delete.
11375 * configure.in: Remove support for elf directories in sysdeps.
11377 * configure: Regenerated.
11378 * sysdeps/i386/configure: Regenerated.
11379 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11380 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11381 * sysdeps/s390/s390-32/configure: Regenerated.
11382 * sysdeps/s390/s390-64/configure: Regenerated.
11383 * sysdeps/sh/configure: Regenerated.
11384 * sysdeps/sparc/configure: Regenerated.
11385 * sysdeps/x86_64/configure: Regenerated.
11387 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11391 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11392 denormal result into account.
11394 2012-03-25 Roland McGrath <roland@hack.frob.com>
11396 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11397 Reported by Allan McRae <allan@archlinux.org>.
11399 2012-03-23 Jeff Law <law@redhat.com>
11401 * nss/getnssent.c (__nss_getent): Fix typo.
11403 2012-03-23 David S. Miller <davem@davemloft.net>
11405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11407 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11409 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11410 to pad to uint64_t for each field.
11411 (dl_tls_index): Replace unsigned long with uint64_t.
11413 2012-03-23 Daniel Jacobowitz <dmj@google.com>
11414 Paul Pluzhnikov <ppluzhnikov@google.com>
11417 * grp/Makefile (otherlibs): Don't set it.
11418 * inet/Makefile (otherlibs): Likewise.
11419 * login/Makefile (otherlibs): Likewise.
11420 * nscd/Makefile (otherlibs): Likewise.
11421 * posix/Makefile (otherlibs): Likewise.
11422 * pwd/Makefile (otherlibs): Likewise.
11423 * rt/Makefile (otherlibs): Likewise.
11424 * sunrpc/Makefile (otherlibs): Likewise.
11425 * nss/Makefile (otherlibs): Likewise.
11426 Add libnss_files to routines and static-only-routines.
11427 ($(objpfx)getent): Remove rule.
11428 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11429 static-only-routines.
11431 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11434 * math/s_cexp.c: Include <float.h>.
11435 (__cexp): Handle exp result overflowing not necessarily
11436 overflowing both real and imaginary parts of result.
11437 * math/s_cexpf.c: Likewise.
11438 * math/s_cexpl.c: Likewise.
11439 * math/libm-test.inc (cexp_test): Add more tests.
11440 * sysdeps/i386/fpu/libm-test-ulps: Update.
11441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11443 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11445 * include/link.h (ELFW): New macro.
11446 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11447 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11449 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11451 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11454 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11456 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11458 (struct La_x32_retval): Likewise.
11460 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11462 * sysdeps/x86_64/preconfigure.in: New file.
11463 * sysdeps/x86_64/preconfigure: New generated file.
11465 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11468 * math/e_exp2l.c: Include <float.h>.
11469 (__ieee754_exp2l): Handle overflow and underflow cases
11470 separately. Only pass fractional part of argument to
11472 * math/libm-test.inc (exp2_test): Add more tests.
11474 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11475 negating x to take absolute value.
11476 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11478 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11479 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11481 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11482 computing low part if x was negated.
11483 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11485 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11487 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11488 la_x32_gnu_pltexit.
11489 (pltexit): Cast int_retval to ptrdiff_t.
11490 * elf/tst-auditmod3b.c: Likewise.
11491 * elf/tst-auditmod4b.c: Likewise.
11492 * elf/tst-auditmod5b.c: Likewise.
11493 * elf/tst-auditmod6b.c: Likewise.
11494 * elf/tst-auditmod6c.c: Likewise.
11495 * elf/tst-auditmod7b.c: Likewise.
11497 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11498 and x32_gnu_pltexit.
11500 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11501 __ELF_NATIVE_CLASS.
11502 (La_x32_regs): New macro.
11503 (La_x32_retval): Likewise.
11504 (la_x32_gnu_pltenter): New function prototype.
11505 (la_x32_gnu_pltexit): Likewise.
11507 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11509 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11514 * configure.in (libc_cv_cc_nofma): Check for option to disable
11515 generation of FMA instructions.
11516 * configure: Regenerate.
11517 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11518 * sysdeps/ieee754/dbl-64/Makefile: New file.
11519 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11520 Remove brandred-fma4.
11521 (CFLAGS-brandred-fma4.c): Remove.
11522 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11523 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11525 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11528 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11530 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11531 LLONG_MAX != LONG_MAX.
11532 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11533 (_fitoa_word): Likewise.
11534 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11535 LLONG_MAX != LONG_MAX.
11536 * stdio-common/_itowa.h: Include <_itoa.h>.
11537 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11538 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11539 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11540 only if not defined.
11541 (_ITOA_WORD_TYPE): Likewise.
11542 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11543 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11545 2012-03-21 David S. Miller <davem@davemloft.net>
11547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11549 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11551 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11552 of x86_64 when setting libc_cv_slibdir, libdir and
11554 * sysdeps/unix/sysv/linux/configure: Regenerated.
11556 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11558 * manual/lang.texi (Old Varargs): Remove section.
11559 (How Variadic): Update menu.
11560 (va_start): Do not mention varargs.h.
11562 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11563 Joseph Myers <joseph@codesourcery.com>
11565 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11567 * configure: Regenerated.
11569 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11571 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11572 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11575 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11578 * Makefile (files-for-dist): Remove NOTES.
11579 (NOTES): Remove rule.
11580 * README: Don't refer to NOTES.
11581 * manual/creature.texi: Don't include macros.texi.
11582 * manual/intro.texi (creature.texi): Remove comment referring to
11585 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11586 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11587 * configure: Regenerated.
11588 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11589 LIBC_TRY_CC_OPTION.
11590 (libc_cv_as_i686): Likewise.
11591 (libc_cv_cc_avx): Likewise.
11592 (libc_cv_cc_sse2avx): Likewise.
11593 (libc_cv_cc_fma4): Likewise.
11594 (libc_cv_cc_novzeroupper): Likewise.
11595 * sysdeps/i386/configure: Regenerated.
11598 * sysdeps/i386/fpu/s_cexp.S: Remove.
11599 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11600 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11601 * math/libm-test.inc (cexp_test): Add more tests.
11602 * sysdeps/i386/fpu/libm-test-ulps: Update.
11603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11605 2012-03-21 Allan McRae <allan@archlinux.org>
11607 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11609 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11612 * math/w_exp2.c: Do not include <float.h>.
11613 (o_threshold, u_threshold): Remove.
11614 (__exp2): Calculate result before checking finiteness and calling
11616 * math/w_exp2f.c: Likewise.
11617 * math/w_exp2l.c: Likewise.
11618 * math/libm-test.inc (exp2_test): Require overflow exception for
11622 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11623 range of signed 64-bit integers before using fistpll. Remove
11624 checks for whether integers fit in mantissa bits.
11625 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11626 the range of signed 32-bit integers before using fistpl. Remove
11627 checks for whether integers fit in mantissa bits.
11628 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11629 (__ieee754_powl): Test for y outside the range of signed 64-bit
11630 integers before using fistpll. Reduce 64-bit values to 63-bit
11632 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11633 divide-by-zero is raised for zero to large negative powers.
11634 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11635 (__ieee754_powl): Test for y outside the range of signed 64-bit
11636 integers before using fistpll. Reduce 64-bit values to 63-bit
11638 * math/libm-test.inc (pow_test): Add more tests.
11640 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11642 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11643 <stdio-common/_itoa.h>.
11644 * debug/segfault.c: Likewise.
11645 * elf/dl-cache.c: Likewise.
11646 * elf/dl-minimal.c: Likewise.
11647 * elf/dl-misc.c: Likewise.
11648 * elf/dl-sysdep.c: Likewise.
11649 * elf/dl-version.c: Likewise.
11650 * elf/rtld.c: Likewise.
11651 * hurd/hurdsock.c: Likewise.
11652 * hurd/lookup-retry.c: Likewise.
11653 * malloc/malloc.c: Likewise.
11654 * malloc/mtrace.c: Likewise.
11655 * nscd/nscd_getgr_r.c: Likewise.
11656 * nscd/nscd_getpw_r.c: Likewise.
11657 * nscd/nscd_getserv_r.c: Likewise.
11658 * posix/getopt_init.c: Likewise.
11659 * posix/wordexp.c: Likewise.
11660 * stdio-common/_itoa.c: Likewise.
11661 * stdio-common/printf_fphex.c: Likewise.
11662 * stdio-common/vfprintf.c: Likewise.
11663 * string/_strerror.c: Likewise.
11664 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11665 * sysdeps/i386/i686/hp-timing.h: Likewise.
11666 * sysdeps/mach/_strerror.c: Likewise.
11667 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11668 * sysdeps/mach/hurd/sethostid.c: Likewise.
11669 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11670 * sysdeps/mach/xpg-strerror.c: Likewise.
11671 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11672 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11673 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11674 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11675 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11676 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11677 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11678 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11679 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11680 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11681 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11682 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11683 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11684 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11685 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11686 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11687 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11688 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11689 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11690 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11691 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11693 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11695 * stdio-common/_itoa.h: Moved to ...
11696 * sysdeps/generic/_itoa.h: Here.
11698 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11700 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11701 instead of "_itoa.h" and "_itowa.h".
11702 * stdio-common/vfprintf.: Likewise.
11704 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11706 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11708 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11709 (__signbit): Likwise.
11710 (llrintf): Likwise.
11713 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11715 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11718 2012-03-20 Joseph Myers <joseph@codesourcery.com>
11720 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11721 OVERFLOW_EXCEPTION_OK.
11722 * math/libm-test.inc ("Philosophy"): Update comment about
11724 (OVERFLOW_EXCEPTION): Define.
11725 (OVERFLOW_EXCEPTION_OK): Likewise.
11726 (INVALID_EXCEPTION_OK): Renumber.
11727 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11728 (IGNORE_ZERO_INF_SIGN): Likewise.
11729 (test_exceptions): Handle FE_OVERFLOW.
11730 (exp10_test): Expect overflow exceptions.
11731 (exp2_test): Likewise.
11732 (expm1_test): Likewise.
11733 (nextafter_test): Likewise.
11734 (pow_test): Likewise.
11735 (scalbn_test): Likewise.
11736 (scalbln_test): Likewise.
11738 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11740 * sysdeps/x86_64/bits/atomic.h
11741 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11743 (atomic_exchange_acq): Likewise.
11744 (__arch_exchange_and_add_body): Likewise.
11745 (__arch_add_body): Likewise.
11746 (atomic_add_negative): Likewise.
11747 (atomic_add_zero): Likewise.
11749 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11751 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11752 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11754 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11756 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11757 Check __x86_64__ instead of __WORDSIZE.
11759 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11761 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11763 2012-03-19 David S. Miller <davem@davemloft.net>
11765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11767 * sysdeps/sparc/fpu/fenv_private.h: New file.
11768 * sysdeps/sparc/fpu/math_private.h: Use it.
11769 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11771 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11772 (libc_feholdexcept_setroundl): Remove.
11773 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11775 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11776 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11778 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11780 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11781 int64_t instead of long int.
11782 (INSERT_WORDS64): Likwise.
11784 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11786 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11787 _Unwind_GetCFA return to _Unwind_Ptr first.
11789 2012-03-19 Joseph Myers <joseph@codesourcery.com>
11792 * math/s_clog.c: Include <float.h>.
11793 (__clog): Scale large or subnormal inputs.
11794 * math/s_clogf.c: Likewise.
11795 * math/s_clogl.c: Likewise.
11796 * math/s_clog10.c: Include <float.h>.
11797 (M_LOG10_2): Define.
11798 (__clog10): Scale large or subnormal inputs.
11799 * math/s_clog10f.c: Likewise.
11800 * math/s_clog10l.c: Likewise.
11801 * math/libm-test.inc (clog_test): Add more tests.
11802 (clog10_test): Likewise.
11803 * sysdeps/i386/fpu/libm-test-ulps: Update.
11804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11807 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11809 * math/libm-test.inc (atan2_test): Add another test.
11811 * Makerules (common-objdir-compile): Remove.
11812 * sysdeps/unix/Makefile (config-generated): Do not add
11813 $(unix-generated) to variable.
11814 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11815 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11817 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11819 [generic bits/local_lim.h] (before-compile): Do not append to
11821 [generic bits/local_lim.h] (common-generated): Likewise.
11822 [generic sys/param.h] (before-compile): Do not append to variable.
11823 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11824 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11825 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11826 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11828 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11829 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11830 [generic sys/param.h] ($(addprefix
11831 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11832 [generic sys/param.h] (common-generated): Do not append to
11834 [generic sys/param.h] (sysdep_headers): Likewise.
11835 [generic bits/errno.h] (before-compile): Do not append to
11837 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11839 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11840 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11841 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11842 [generic bits/errno.h] (common-generated): Do not append to
11844 [generic bits/ioctls.h] (before-compile): Do not append to
11846 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11848 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11849 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11850 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11852 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11853 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11854 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11855 [generic bits/ioctls.h] (common-generated): Do not append to
11857 [generic sys/syscall.h] (syscall.h): Remove variable.
11858 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11860 [generic sys/syscall.h] (before-compile): Do not append to
11862 [generic sys/syscall.h] (common-generated): Likewise.
11863 * sysdeps/unix/errnos-tmpl.c: Remove file.
11864 * sysdeps/unix/errnos.awk: Likewise.
11865 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11866 * sysdeps/unix/ioctls.awk: Likewise.
11867 * sysdeps/unix/mk-local_lim.c: Likewise.
11868 * sysdeps/unix/snarf-ioctls: Likewise.
11870 2012-03-19 Richard Henderson <rth@twiddle.net>
11872 * sysdeps/i386/fpu/fenv_private.h: New file.
11873 * sysdeps/i386/fpu/math_private.h: Use it.
11874 (math_opt_barrier, math_force_eval): Remove.
11875 (libc_feholdexcept_setround_53bit): Remove.
11876 (libc_feupdateenv_53bit): Remove.
11877 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11878 (math_opt_barrier, math_force_eval): Remove.
11879 (libc_feholdexcept): Remove.
11880 (libc_feholdexcept_setround): Remove.
11881 (libc_fetestexcept, libc_fesetenv): Remove.
11882 (libc_feupdateenv_test): Remove.
11883 (libc_feupdateenv, libc_feholdsetround): Remove.
11884 (libc_feresetround): Remove.
11886 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11887 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11889 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11890 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11891 (libc_feupdateenv_testl): New.
11892 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11893 (libc_feupdateenv_testf): New.
11894 (libc_feupdateenv): Use libc_feupdateenv_test.
11895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11896 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11898 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11899 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11900 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11901 (libc_feresetround_noex): New.
11902 (libc_feresetround_noexf): New.
11903 (libc_feresetround_noexl): New.
11904 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11905 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11906 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11907 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11910 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11912 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11913 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11914 SET_RESTORE_ROUND_NOEX.
11915 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11916 SET_RESTORE_ROUND_NOEXF.
11917 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11918 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11919 (libc_feholdsetroundf): New.
11920 (libc_feresetround, libc_feresetroundf): New.
11922 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11923 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11924 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11926 * sysdeps/generic/math_private.h: Include <fenv.h>.
11927 (default_libc_feholdexcept): New.
11928 (default_libc_feholdexcept_setround): New.
11929 (default_libc_fesetenv, default_libc_feupdateenv): New.
11930 (libc_feholdexcept): Only define if undefined.
11931 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11932 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11933 (libc_feholdexcept_setroundl): Likewise.
11934 (libc_feholdexcept_setround_53bit): Likewise.
11935 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11936 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11937 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11938 (libc_feupdateenv_53bit): Likewise.
11939 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11940 (libc_feholdexcept): Convert from macro to inline function.
11941 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11942 (libc_fesetenv, libc_feupdateenv): Likewise.
11944 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11945 not previously defined.
11946 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11947 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11948 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11949 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11950 * sysdeps/ieee754/flt-32/math_private.h: New file.
11951 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11952 math_private.h below SET_FLOAT_WORD.
11953 (__isnan, __isinf_ns, __finite): Remove.
11954 (__isnanf, __isinf_nsf, __finitef): Remove.
11956 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
11958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11960 2012-03-17 David S. Miller <davem@davemloft.net>
11963 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
11966 2012-03-16 David S. Miller <davem@davemloft.net>
11968 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
11972 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
11974 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
11975 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
11976 sysdep_routines when subdir is sysvipc.
11977 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
11978 __getshmlba helper.
11980 * sysdeps/sparc/fpu/libm-test/ulps: Update.
11982 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11984 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
11987 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11989 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
11990 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
11991 (__lround): Renamed to ...
11992 (__llround): This. Replace long int with long long int.
11993 Define lround functions as aliases of llround functions.
11994 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
11996 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11998 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
11999 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12000 adresses to uintptr_t. Replace "long int" and "unsigned long
12001 int" with "greg_t" on va_arg.
12003 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12005 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12006 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12008 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12009 Move e_machine check before EI_CLASS check. Handle x32
12010 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12011 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12012 SKIP_EM_IA_64 and include
12013 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12015 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12016 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12017 (add_system_dir): New macro.
12019 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12020 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12022 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12033 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12035 * math/w_j0f.c (j0f): Likewise.
12037 * math/w_j0l.c (__j0l): Likewise.
12039 * math/w_j1.c (j1): Likewise.
12041 * math/w_j1f.c (j1f): Likewise.
12043 * math/w_j1l.c (__j1l): Likewise.
12045 * math/w_jn.c (jn): Likewise.
12047 * math/w_jnf.c (jnf): Likewise.
12049 * math/w_jnl.c (__jnl): Likewise.
12051 * math/libm-test.inc (j0_test): Add more tests.
12052 (j1_test): Likewise.
12053 (jn_test): Likewise. Add trailing semicolon to existing test.
12054 (y0_test): Likewise.
12055 (y1_test): Likewise.
12056 * sysdeps/i386/fpu/libm-test-ulps: Update.
12057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12061 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12062 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12063 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12064 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12065 (__tanl): Set errno for infinite argument.
12066 * sysdeps/i386/fpu/mptan.c: Remove.
12067 * sysdeps/i386/fpu/s_tan.S: Likewise.
12068 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12069 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12070 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12071 * math/libm-test.inc (tan_test): Add more tests and enable more
12072 tests for double and long double.
12073 * sysdeps/i386/fpu/libm-test-ulps: Update.
12074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12076 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12078 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12079 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12081 2012-03-16 Roland McGrath <roland@hack.frob.com>
12083 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12084 * configure.in: Use it for both main tree and add-ons.
12085 * configure: Regenerated.
12087 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12089 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12091 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12093 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12097 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12098 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12099 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12100 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12101 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12103 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12104 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12105 != 0 for prec == 2.
12106 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12107 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12108 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12109 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12110 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12111 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12112 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12113 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12114 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12115 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12116 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12117 * math/libm-test.inc (cos_test): Add more tests and enable more
12118 tests for long double.
12119 (sin_test): Likewise.
12120 (sincos_test): Likewise.
12121 * sysdeps/i386/fpu/libm-test-ulps: Update.
12122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12124 2012-03-16 David S. Miller <davem@davemloft.net>
12126 * sysdeps/sparc/fpu/math_private.h: New file.
12128 2012-03-15 David S. Miller <davem@davemloft.net>
12130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12140 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12144 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12145 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12147 * sysdeps/sparc/sparc-ifunc.h: New file.
12148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12172 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12174 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12175 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12190 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12193 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12195 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12199 2012-03-15 Andreas Jaeger <aj@suse.de>
12202 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12203 ieee754/flt-32 implementation for sin, cos and sincos.
12204 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12205 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12206 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12207 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12208 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12209 ieee754/flt-32 implementation for tan.
12211 * math/libm-test.inc (cos_test): Enable some large input tests for
12213 (sin_test): Likewise.
12214 (sincos_test): Likewise.
12215 (tan_test): Add tests for large input.
12217 * sysdeps/i386/fpu/libm-test-ulps: Update.
12219 2012-03-15 Andreas Jaeger <aj@suse.de>
12222 * math/libm-test.inc (cos_test): Add more test cases.
12223 (sin_test): Likewise.
12224 (sincos_test): Likewise.
12226 2012-03-15 Andreas Jaeger <aj@suse.de>
12229 * math/libm-test.inc (cos_test): Add a test case for large input
12231 (sin_test): Likewise.
12232 (sincos_test): Likewise.
12234 2012-03-15 Andreas Jaeger <aj@suse.de>,
12235 Joseph Myers <joseph@codesourcery.com>
12238 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12239 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12240 * sysdeps/i386/fpu/branred.c: Likewise.
12241 * sysdeps/i386/fpu/dosincos.c: Likewise.
12242 * sysdeps/i386/fpu/mpa.c: Likewise.
12243 * sysdeps/i386/fpu/s_cos.S: Likewise.
12244 * sysdeps/i386/fpu/s_sin.S: Likewise.
12245 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12246 * sysdeps/i386/fpu/sincos32.c: Likewise.
12248 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12250 (libc_feupdateenv_53bit): Define.
12251 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12253 (libc_feupdateenv_53bit): Define.
12255 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12256 53 bit (without extend i386 double precision).
12258 * math/libm-test.inc (sincos_test): Add tests for large input.
12262 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12264 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12268 2012-03-15 David S. Miller <davem@davemloft.net>
12270 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12271 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12272 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12273 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12297 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12298 fmin/fmax sysdep routines.
12299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12301 2012-03-14 David S. Miller <davem@davemloft.net>
12303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12307 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12308 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12309 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12310 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12330 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12331 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12375 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12380 * sysdeps/sparc/configure.in: New file.
12381 * sysdeps/sparc/configure: Generate.
12382 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12383 * configure: Regenerate.
12384 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12385 * config.make.in (have-as-vis3): New.
12386 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12387 available use -Av9d instead of -Av9a.
12388 * sysdeps/sparc/sparc64/Makefile: Likewise.
12389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12399 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12402 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12404 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12405 fzeros/fnegs to load 0x80000000 into a float register instead of
12407 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12409 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12413 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12414 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12415 ($(inst_includedir)/bits/syscall.h): Remove rule.
12416 ($(objpfx)bits/syscall.d): Include instead of
12417 $(objpfx)syscall-list.d.
12418 (generated): Change syscall-list.h and syscall-list.d to
12419 bits/syscall.h and bits/syscall.d.
12421 2012-03-14 Roland McGrath <roland@hack.frob.com>
12424 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12426 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12429 * math/s_csqrt.c: Include <float.h>.
12430 (__csqrt): Scale large or subnormal inputs.
12431 * math/s_csqrtf.c: Likewise.
12432 * math/s_csqrtl.c: Likewise.
12433 * math/libm-test.inc (csqrt_test): Add more tests.
12434 * sysdeps/i386/fpu/libm-test-ulps: Update.
12435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12438 * math/libm-test.inc (hypot_test): Add more tests.
12440 2012-03-13 David S. Miller <davem@davemloft.net>
12443 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12444 double-precision for the calculation instead of scaling.
12446 2012-03-13 Joseph Myers <joseph@codesourcery.com>
12448 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12449 manipulate bits before adding and subtracting TWO52[sx].
12450 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12451 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12453 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12455 2012-03-13 David S. Miller <davem@davemloft.net>
12457 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12458 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12460 rtld-global-offsets.h
12461 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12463 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12466 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12468 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12469 'err' in the ifdef scope in which it is actually used.
12471 * nss/nss_db/db-init.c: Include string.h
12473 2012-03-12 David S. Miller <davem@davemloft.net>
12475 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12476 masking out of the most significant byte of random value used.
12477 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12478 Fix coding style in previous change.
12480 * sysdeps/unix/sysv/linux/kernel-features.h
12481 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12482 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12484 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12487 2012-03-11 David S. Miller <davem@davemloft.net>
12489 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12490 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12491 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12492 for 'resultvar' otherwise things get truncated on 64-bit.
12494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12495 Fix masking out of the most significant byte of random value used.
12497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12499 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12503 2012-03-09 David S. Miller <davem@davemloft.net>
12505 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12506 variables with appropriate CPP guards.
12507 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12508 frame pointer, not the stack pointer. Correct layout comments. Fix test
12509 on resulting framesize and the management of the outregs buffer for pltexit.
12510 Preserve floating point return values across _dl_call_pltexit call.
12511 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12512 framesize and the management of the outregs buffer for pltexit.
12513 Preserve floating point return values across _dl_call_pltexit
12515 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12516 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12517 (print_exit): Fix format string for return register value.
12519 2012-03-10 Joseph Myers <joseph@codesourcery.com>
12521 * sunrpc/Makefile (others): Add rpcgen.
12522 ($(objpfx)rpcgen): Remove special build rule and dependency on
12524 * sunrpc/rpcgen.c: New file.
12526 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12529 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12530 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12531 * sysdeps/i386/crti.S: Likewise.
12532 * sysdeps/i386/crtn.S: Likewise.
12533 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12534 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12535 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12536 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12537 * sysdeps/sh/crti.S: Likewise.
12538 * sysdeps/sh/crtn.S: Likewise.
12539 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12542 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12544 * locale/programs/locfile-kw.gperf: Likewise.
12545 * locale/programs/charmap-kw.h: Regenerated.
12546 * locale/programs/locfile-kw.h: Likewise.
12549 * intl/plural.y: Replace FSF snail mail address with URL.
12550 * intl/plural.c: Regenerated.
12552 2012-03-09 Richard Henderson <rth@twiddle.net>
12554 * include/math_private.h: Remove file.
12555 * math/math_private.h: Move file ...
12556 * sysdeps/generic/math_private.h: ... here.
12558 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12559 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12560 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12562 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12563 and <math_private.h>.
12564 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12565 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12566 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12567 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12568 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12569 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12570 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12571 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12572 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12573 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12574 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12575 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12576 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12577 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12578 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12579 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12580 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12581 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12582 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12583 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12585 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12586 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12587 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12588 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12589 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12590 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12591 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12592 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12593 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12594 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12595 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12596 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12597 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12598 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12599 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12600 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12601 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12602 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12603 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12604 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12605 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12606 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12607 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12608 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12610 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12611 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12612 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12613 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12614 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12615 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12616 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12628 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12630 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12631 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12632 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12633 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12638 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12642 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12643 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12646 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12647 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12648 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12649 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12652 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12653 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12654 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12655 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12656 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12657 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12658 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12659 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12660 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12661 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12662 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12663 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12664 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12665 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12666 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12667 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12668 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12669 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12670 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12671 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12672 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12673 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12674 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12675 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12676 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12677 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12678 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12679 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12680 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12681 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12682 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12683 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12684 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12685 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12686 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12687 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12688 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12689 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12690 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12691 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12692 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12693 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12694 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12695 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12696 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12697 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12698 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12699 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12700 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12701 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12702 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12703 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12704 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12705 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12706 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12707 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12708 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12709 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12710 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12711 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12712 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12713 * sysdeps/ieee754/k_standard.c: Likewise.
12714 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12715 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12716 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12717 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12718 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12719 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12720 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12721 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12722 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12723 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12724 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12725 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12726 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12727 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12728 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12729 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12731 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12732 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12733 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12734 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12735 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12736 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12737 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12738 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12739 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12740 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12741 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12742 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12747 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12748 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12752 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12753 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12754 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12755 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12756 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12758 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12759 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12760 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12761 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12762 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12763 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12764 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12765 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12766 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12767 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12768 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12769 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12770 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12771 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12772 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12773 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12774 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12775 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12776 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12777 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12778 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12779 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12780 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12781 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12782 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12783 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12784 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12785 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12786 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12787 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12788 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12789 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12790 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12791 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12792 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12796 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12797 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12798 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12799 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12800 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12801 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12802 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12803 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12804 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12805 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12806 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12807 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12808 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12809 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12810 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12811 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12829 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12830 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12833 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12834 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12836 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12840 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12841 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12845 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12846 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12851 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12852 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12853 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12854 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12857 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12858 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12861 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12862 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12863 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12864 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12865 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12866 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12867 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12868 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12869 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12870 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12871 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12872 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12873 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12874 * sysdeps/ieee754/s_lib_version.c: Likewise.
12875 * sysdeps/ieee754/s_matherr.c: Likewise.
12876 * sysdeps/ieee754/s_signgam.c: Likewise.
12877 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12878 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12879 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12880 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12881 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12882 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12883 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12884 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12885 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12886 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12887 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12888 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12889 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12890 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12891 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12892 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12893 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12894 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12895 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12896 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12899 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12901 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12902 * sunrpc/rpc_main.c: Likewise.
12903 * sunrpc/rpc_svcout.c: Likewise.
12905 2012-03-09 David S. Miller <davem@davemloft.net>
12907 * include/math_private.h: New file.
12909 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12911 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12912 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12913 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12914 from <bits/socket_type.h>.
12915 (enum __socket_type): Don't define here.
12916 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12918 bits/socket_type.h.
12921 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12922 checking __USE_GNU.
12924 * Makerules ($(inst_includedir)/%.h): New rule.
12925 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12926 (install-others): Remove variable setting.
12927 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12929 2012-03-08 Richard Henderson <rth@twiddle.net>
12931 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12932 from macro to inline function; merge with the
12933 !__LIBC_INTERNAL_MATH_INLINES version.
12934 (__ieee754_sqrtf): Likewise.
12936 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12937 to inline function.
12938 (__rintf, __floor, __floorf): Likewise.
12940 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12941 macro to inline function.
12942 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12944 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12945 not <math/math_private.h>.
12947 2012-03-08 David S. Miller <davem@davemloft.net>
12949 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12951 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12953 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
12955 * resolv/gai_misc.c (handle_requests): Fix struct timespec
12957 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
12958 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12960 2012-03-08 Ulrich Drepper <drepper@gmail.com>
12962 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
12963 be defined individually, they must be defined as a block. Define
12964 S for printing a string instead of hidint the different by using a
12965 macro for adding the 'l'.
12966 * stdio-common/tst-fphex-wide.c: Adjust.
12968 2012-03-07 Marek Polacek <polacek@redhat.com>
12970 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
12972 2012-03-08 Marek Polacek <polacek@redhat.com>
12975 * stdio-common/Makefile (tests): Add tst-fphex-wide.
12976 * stdio-common/tst-fphex.c: Define a few macros to make the
12977 test reusable. Use them.
12978 * stdio-common/tst-fphex-wide.c: New file.
12980 2012-03-08 Joseph Myers <joseph@codesourcery.com>
12983 * manual/macros.texi (gnusystems): New macro.
12984 (nongnusystems): Likewise.
12985 (gnulinuxhurdsystems): Likewise.
12986 (gnuhurdsystems): Likewise..
12987 (gnulinuxsystems): Likewise.
12988 * manual/charset.texi: Use new macros or @theglibc{} to refer to
12989 variants of the GNU system, not "GNU system".
12990 * manual/conf.texi: Likewise.
12991 * manual/errno.texi: Likewise. Update example of errno macro
12993 * manual/filesys.texi: Likewise.
12994 (getumask): Document as specific to GNU/Hurd.
12995 * manual/install.texi: Likewise. Reword some references to
12997 * manual/intro.texi: Likewise.
12998 * manual/io.texi: Likewise.
12999 (File Name Portability): Detail which constraints are inapplicable
13000 to all GNU systems and which are only inapplicable to GNU/Hurd.
13001 * manual/job.texi: Likewise.
13002 * manual/llio.texi: Likewise.
13003 (O_NOCTTY): Document as present on GNU/Linux.
13004 * manual/maint.texi: Likewise.
13005 * manual/memory.texi: Likewise.
13006 * manual/pattern.texi: Likewise.
13007 * manual/pipe.texi: Likewise.
13008 * manual/process.texi: Likewise.
13009 * manual/resource.texi: Likewise.
13010 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13012 * manual/setjmp.texi: Likewise.
13013 * manual/signal.texi: Likewise.
13014 * manual/startup.texi: Likewise.
13015 * manual/stdio.texi: Likewise.
13016 * manual/terminal.texi: Likewise.
13017 (ONLCR): Document as POSIX.
13018 (OXTABS): Document availability on GNU/Linux as XTABS.
13019 (ONOEOT): Document availability separately from other bits.
13020 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13021 * manual/time.texi: Likewise.
13022 * manual/users.texi: Likewise.
13023 * INSTALL: Regenerated.
13024 * sysdeps/gnu/errlist.c: Regenerated.
13026 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13027 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13028 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13030 * configure: Regenerated.
13032 2012-03-07 Joseph Myers <joseph@codesourcery.com>
13034 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13035 default includes instead of AC_HEADER_CHECK.
13036 * sysdeps/i386/configure: Regenerated.
13039 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13040 * math/s_cacoshf.c (__cacoshf): Likewise.
13041 * math/s_cacoshl.c (__cacoshl): Likewise.
13042 * math/s_casinh.c (__casinh): Set signs of result from argument.
13043 * math/s_casinhf.c (__casinhf): Likewise.
13044 * math/s_casinhl.c (__casinhl): Likewise.
13045 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13046 (casinh_test): Add more tests.
13047 * sysdeps/i386/fpu/libm-test-ulps: Update.
13048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13050 2012-03-07 Ulrich Drepper <drepper@gmail.com>
13052 * po/zh_TW.po: Update from translation team.
13054 * login/Makefile (distribute): Remove variable.
13055 * catgets/Makefile: Likewise.
13056 * mach/Makefile: Likewise.
13057 * malloc/Makefile: Likewise.
13058 * misc/Makefile: Likewise.
13059 * iconv/Makefile: Likewise.
13060 * nscd/Makefile: Likewise.
13061 * hurd/Makefile: Likewise.
13062 * manual/Makefile: Likewise.
13063 * locale/Makefile: Likewise.
13064 * intl/Makefile: Likewise.
13065 * conform/Makefile: Likewise.
13066 * nss/Makefile: Likewise.
13067 * time/Makefile: Likewise.
13068 * soft-fp/Makefile: Likewise.
13069 * dirent/Makefile: Likewise.
13070 * gmon/Makefile: Likewise.
13071 * po/Makefile: Likewise.
13072 * rt/Makefile: Likewise.
13073 * socket/Makefile: Likewise.
13074 * math/Makefile: Likewise.
13075 * signal/Makefile: Likewise.
13076 * debug/Makefile: Likewise.
13077 * elf/Makefile: Likewise.
13078 * timezone/Makefile: Likewise.
13079 * stdlib/Makefile: Likewise.
13080 * iconvdata/Makefile: Likewise.
13081 * sunrpc/Makefile: Likewise.
13082 * io/Makefile: Likewise.
13083 * argp/Makefile: Likewise.
13084 * inet/Makefile: Likewise.
13085 * hesiod/Makefile: Likewise.
13086 * grp/Makefile: Likewise.
13087 * csu/Makefile: Likewise.
13088 * wctype/Makefile: Likewise.
13089 * crypt/Makefile: Likewise.
13090 * libio/Makefile: Likewise.
13091 * string/Makefile: Likewise.
13092 * nis/Makefile: Likewise.
13093 * resolv/Makefile: Likewise.
13094 * stdio-common/Makefile: Likewise.
13095 * wcsmbs/Makefile: Likewise.
13096 * dlfcn/Makefile: Likewise.
13097 * posix/Makefile: Likewise.
13100 * timezone/Makefile: Don't install timezone files, just the programs
13103 2012-03-06 Ulrich Drepper <drepper@gmail.com>
13105 * nss/databases.def: Add missing gshadow entry.
13107 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13109 2012-03-06 Marek Polacek <polacek@redhat.com>
13112 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13113 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13114 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13115 * stdio-common/tst-long-dbl-fphex.c: New file.
13117 2012-03-06 David S. Miller <davem@davemloft.net>
13119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13120 (set_obp_int): New function.
13121 (get_obp_int): New function.
13122 (__get_clockfreq_via_dev_openprom): Likewise.
13123 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13124 Avoid unused variable warnings on 'val' and use builtin_expect.
13125 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13127 (INLINE_CLONE_SYSCALL): Likewise.
13129 2012-03-05 David S. Miller <davem@davemloft.net>
13131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13133 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13137 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13138 only for |x| >= 40.
13139 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13141 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
13143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13144 Replace gettimeofday with __vdso_gettimeofday.
13146 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13147 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13148 __vdso_clock_gettime and __vdso_getcpu.
13150 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13151 time with __vdso_time.
13153 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13155 * manual/lang.texi (size_t): Note types to which size_t may be
13156 equivalent with the GNU C Library, but do not describe when
13157 differences between them are significant.
13159 2012-03-05 Andreas Jaeger <aj@suse.de>
13161 * sysdeps/i386/fpu/libm-test-ulps: Update.
13163 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13166 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13167 (__ieee754_pow): Save and restore rounding mode and use
13168 round-to-nearest for main computations.
13169 * math/libm-test.inc (pow_test_tonearest): New function.
13170 (pow_test_towardzero): Likewise.
13171 (pow_test_downward): Likewise.
13172 (pow_test_upward): Likewise.
13173 (main): Call the new functions.
13174 * sysdeps/i386/fpu/libm-test-ulps: Update.
13175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13178 * math/libm-test.inc (cosh_test_tonearest): New function.
13179 (cosh_test_towardzero): Likewise.
13180 (cosh_test_downward): Likewise.
13181 (cosh_test_upward): Likewise.
13182 (sinh_test_tonearest): Likewise.
13183 (sinh_test_towardzero): Likewise.
13184 (sinh_test_downward): Likewise.
13185 (sinh_test_upward): Likewise.
13186 (main): Call the new functions.
13187 * sysdeps/i386/fpu/libm-test-ulps: Update.
13188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13190 2012-03-05 Tom de Vries <tom@codesourcery.com>
13192 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13193 default stack guard is set in last bytes.
13194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13196 2012-03-05 Kees Cook <keescook@chromium.org>
13198 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13201 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13202 possibly allocate from heap instead of stack.
13203 * stdio-common/bug-vfprintf-nargs.c: New file.
13204 * stdio-common/Makefile (tests): Add nargs overflow test.
13206 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13210 2012-03-03 Marek Polacek <polacek@redhat.com>
13212 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13213 * math/math_private.h: Likewise.
13214 * stdlib/tst-strtod.c: Likewise.
13215 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13216 * sysdeps/x86_64/bits/atomic.h: Likewise.
13218 2012-03-02 David S. Miller <davem@davemloft.net>
13220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13224 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13225 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13226 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13227 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13229 2012-03-02 Roland McGrath <roland@hack.frob.com>
13232 * manual/examples/README: New file, says the example source files
13233 can be used under GPL>=2.
13234 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13235 line containing just "*/".
13236 * manual/examples/add.c: Add copyright header (GPL>=2).
13237 * manual/examples/argp-ex1.c: Likewise.
13238 * manual/examples/argp-ex2.c: Likewise.
13239 * manual/examples/argp-ex3.c: Likewise.
13240 * manual/examples/argp-ex4.c: Likewise.
13241 * manual/examples/atexit.c: Likewise.
13242 * manual/examples/db.c: Likewise.
13243 * manual/examples/dir.c: Likewise.
13244 * manual/examples/dir2.c: Likewise.
13245 * manual/examples/execinfo.c: Likewise.
13246 * manual/examples/filecli.c: Likewise.
13247 * manual/examples/filesrv.c: Likewise.
13248 * manual/examples/fmtmsgexpl.c: Likewise.
13249 * manual/examples/genpass.c: Likewise.
13250 * manual/examples/inetcli.c: Likewise.
13251 * manual/examples/inetsrv.c: Likewise.
13252 * manual/examples/isockad.c: Likewise.
13253 * manual/examples/longopt.c: Likewise.
13254 * manual/examples/memopen.c: Likewise.
13255 * manual/examples/memstrm.c: Likewise.
13256 * manual/examples/mkfsock.c: Likewise.
13257 * manual/examples/mkisock.c: Likewise.
13258 * manual/examples/mygetpass.c: Likewise.
13259 * manual/examples/pipe.c: Likewise.
13260 * manual/examples/popen.c: Likewise.
13261 * manual/examples/rprintf.c: Likewise.
13262 * manual/examples/search.c: Likewise.
13263 * manual/examples/select.c: Likewise.
13264 * manual/examples/setjmp.c: Likewise.
13265 * manual/examples/sigh1.c: Likewise.
13266 * manual/examples/sigusr.c: Likewise.
13267 * manual/examples/stpcpy.c: Likewise.
13268 * manual/examples/strdupa.c: Likewise.
13269 * manual/examples/strftim.c: Likewise.
13270 * manual/examples/strncat.c: Likewise.
13271 * manual/examples/subopt.c: Likewise.
13272 * manual/examples/swapcontext.c: Likewise.
13273 * manual/examples/termios.c: Likewise.
13274 * manual/examples/testopt.c: Likewise.
13275 * manual/examples/testpass.c: Likewise.
13276 * manual/examples/timeval_subtract.c: Likewise.
13279 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13281 * manual/timeval_subtract.c.texi: ... here, new file.
13283 2012-03-02 David S. Miller <davem@davemloft.net>
13285 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13287 2012-03-02 Joseph Myers <joseph@codesourcery.com>
13290 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13291 (__sin): Save and restore rounding mode and use round-to-nearest
13292 for all computations.
13293 (__cos): Save and restore rounding mode and use round-to-nearest
13294 for all computations.
13295 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13297 (tan): Save and restore rounding mode and use round-to-nearest for
13299 * math/libm-test.inc (cos_test_tonearest): New function.
13300 (cos_test_towardzero): Likewise.
13301 (cos_test_downward): Likewise.
13302 (cos_test_upward): Likewise.
13303 (sin_test_tonearest): Likewise.
13304 (sin_test_towardzero): Likewise.
13305 (sin_test_downward): Likewise.
13306 (sin_test_upward): Likewise.
13307 (tan_test_tonearest): Likewise.
13308 (tan_test_towardzero): Likewise.
13309 (tan_test_downward): Likewise.
13310 (tan_test_upward): Likewise.
13311 (main): Call the new functions.
13312 * sysdeps/i386/fpu/libm-test-ulps: Update.
13313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13316 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13317 small n, then large n, before computing and testing k+n.
13318 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13319 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13321 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13323 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13324 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13325 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13326 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13327 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13328 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13329 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13330 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13331 * math/libm-test.inc (scalbn_test): Add more tests.
13332 (scalbln_test): Likewise.
13334 * manual/filesys.texi (mode_t): Describe constraints on size and
13335 signedness, not exact equivalence to a particular type.
13337 (ino64_t): Likewise.
13339 (nlink_t): Likewise.
13340 (blkcnt_t): Likewise.
13341 (blkcnt64_t): Likewise.
13342 * manual/llio.texi (off_t): Likewise.
13345 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13346 (__ieee754_exp): Save and restore rounding mode and use
13347 round-to-nearest for all computations.
13348 * math/libm-test.inc (exp_test_tonearest): New function.
13349 (exp_test_towardzero): Likewise.
13350 (exp_test_downward): Likewise.
13351 (exp_test_upward): Likewise.
13352 (main): Call the new functions.
13353 * sysdeps/i386/fpu/libm-test-ulps: Update.
13354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13356 2012-03-01 Chris Demetriou <cgd@google.com>
13358 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13359 have predictable order.
13361 2012-03-01 David S. Miller <davem@davemloft.net>
13363 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13365 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13366 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13367 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13368 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13370 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13371 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13372 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13374 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13375 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13376 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13377 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13378 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13382 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13383 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13384 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13386 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13387 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13388 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13389 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13390 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13391 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13392 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13393 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13394 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13395 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13396 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13397 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13398 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13399 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13400 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13401 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13402 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13403 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13404 * sysdeps/sparc/elf/configure: Regenerated.
13406 2012-03-01 Joseph Myers <joseph@codesourcery.com>
13408 * configure.in (AS, LD): Require binutils 2.20 or later.
13409 * configure: Regenerated.
13410 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13411 as required minimum version.
13412 * INSTALL: Regenerated.
13416 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13417 before squaring exponent.
13418 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13419 bottom long double and 27 bits of top long double before squaring
13421 * math/libm-test.inc (erfc_test): Add more tests.
13422 * sysdeps/i386/fpu/libm-test-ulps: Update.
13423 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13426 2012-03-01 Kai Tietz <ktietz@redhat.com>
13428 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13429 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13430 containing bit-fields.
13431 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13432 * soft-fp/single.h (_FP_UNION_S): Likewise.
13433 * soft-fp/double.h (_FP_UNION_D): Likewise.
13435 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13438 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13439 not include ../strcmp.S.
13440 [USE_AS_STRNCASECMP_L]: Likewise.
13441 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13442 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13443 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13444 (__strncasecmp_l_ia32): Define as alias to
13445 __strncasecmp_l_nonascii.
13448 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13449 * sysdeps/i386/fpu/libm-test-ulps: Update.
13450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13452 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13455 2012-02-29 Jeff Law <law@redhat.com>
13457 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13458 out of bounds read.
13460 2012-02-29 Marek Polacek <polacek@redhat.com>
13463 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13464 * elf/Makefile: Add rules to run tst-unused-dep.out.
13466 2012-02-28 David S. Miller <davem@davemloft.net>
13468 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13469 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13470 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13472 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13473 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13475 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13477 * math/libm-test.inc (llround_test): Move one test from
13478 lround_test. Use TEST_f_L in moved test.
13479 (lround_test): Move misplaced test to llround_test. Add testcase
13482 2012-02-28 Ulrich Drepper <drepper@gmail.com>
13484 * sysdeps/x86_64/fpu/e_expf.S: New file.
13485 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13487 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13490 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13491 of remain_len that may cause incomplete multi-byte character and
13493 * posix/bug-regex33.c: New file.
13494 * posix/Makefile (tests): Add bug-regex33.
13496 2012-02-28 Joseph Myers <joseph@codesourcery.com>
13498 * manual/macros.texi: New file.
13499 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13500 * manual/libc.texinfo: Include macros.texi.
13501 * manual/creatute.texi: Likewise.
13502 * manual/install.texi: Likewise.
13503 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13504 @glibcadj{} in references to the GNU C Library.
13505 * manual/charset.texi: Likewise.
13506 * manual/conf.texi: Likewise.
13507 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13508 when not using those macros.
13509 * manual/creature.texi: Likewise.
13510 * manual/crypt.texi: Likewise.
13511 * manual/errno.texi: Likewise.
13512 * manual/filesys.texi: Likewise.
13513 * manual/header.texi: Likewise.
13514 * manual/install.texi: Likewise.
13515 * manual/intro.texi: Likewise.
13516 * manual/io.texi: Likewise.
13517 * manual/job.texi: Likewise.
13518 * manual/lang.texi: Likewise.
13519 * manual/libc.texiinfo: Likewise.
13520 * manual/llio.texi: Likewise.
13521 * manual/locale.texi: Likewise.
13522 * manual/maint.texi: Likewise.
13523 * manual/math.texi: Likewise.
13524 * manual/memory.texi: Likewise.
13525 * manual/message.texi: Likewise.
13526 * manual/nss.texi: Likewise.
13527 * manual/pattern.texi: Likewise.
13528 * manual/process.texi: Likewise.
13529 * manual/resource.texi: Likewise.
13530 * manual/search.texi: Likewise.
13531 * manual/setjmp.texi: Likewise.
13532 * manual/signal.texi: Likewise.
13533 * manual/socket.texi: Likewise.
13534 * manual/startup.texi: Likewise.
13535 * manual/stdio.texi: Likewise.
13536 * manual/string.texi: Likewise.
13537 * manual/sysinfo.texi: Likewise.
13538 * manual/syslog.texi: Likewise.
13539 * manual/terminal.texi: Likewise.
13540 * manual/time.texi: Likewise.
13541 * manual/users.texi: Likewise.
13542 * INSTALL: Regenerated.
13543 * NOTES: Regenerated.
13544 * sysdeps/gnu/errlist.c: Regenerated.
13546 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13548 * include/dirent.h: Include <dirstream.h> before
13551 2012-02-28 David S. Miller <davem@davemloft.net>
13553 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13554 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13555 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13556 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13558 2012-02-27 David S. Miller <davem@davemloft.net>
13560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13562 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13563 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13566 frame pointer instead of stack pointer relative arg slot.
13567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13568 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13569 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13571 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13574 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13576 2012-02-27 David S. Miller <davem@davemloft.net>
13578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13582 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13583 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13584 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13585 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13587 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13589 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13590 later. Allow versions 5-9.
13591 * configure: Regenerated.
13592 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13593 required minimum version and 4.6 as recommended version. Do not
13594 mention bugs in GCC 2.7 and 2.8.
13595 * INSTALL: Regenerated.
13597 2012-02-27 David S. Miller <davem@davemloft.net>
13599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13603 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13604 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13605 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13606 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13608 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13609 manipulate bits before adding and subtracting TWO112[sx].
13610 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13612 2012-02-27 Roland McGrath <roland@hack.frob.com>
13615 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13616 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13617 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13618 being in POSIX, because they are in 1003.1-2008.
13620 * rt/tst-aio.c: Include <fcntl.h>.
13621 * rt/tst-aio7.c: Likewise.
13622 * rt/tst-aio64.c: Likewise.
13624 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13626 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13628 * manual/install.texi (--with-headers): Describe headers as
13629 interface headers, not private headers.
13630 (Specific advice for GNU/Linux systems): Describe use of headers
13631 from "make headers_install", not private headers from older
13633 * INSTALL: Regenerated.
13634 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13636 * sysdeps/unix/sysv/linux/configure: Regenerated.
13638 * manual/llio.texi (fclean): Remove documentation.
13640 * manual/Makefile (libc-texi-generated): New variable. Include
13642 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13643 $(libc-texi-generated), not duplicated list of files.
13644 (version.texi, stamp-version): New rules.
13645 (realclean): Remove $(libc-texi-generated), not individual files
13646 from that list. Do not remove dir-add.texinfo.
13647 * manual/libc.texinfo: Comment out uses of edition numbers and
13648 references to printed manual. Remove last-updated dates.
13649 (EDITION): Comment out.
13651 (VERSION, UPDATED): Remove.
13652 (version.texi): Include.
13654 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13656 * sysdeps/posix/spawni.c: Include <signal.h>.
13657 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13658 * sysdeps/pthread/aio_fsync.c: Likewise.
13660 2012-02-26 Ulrich Drepper <drepper@gmail.com>
13662 * conform/Makefile (tests): Run only when not cross-compiling and
13663 when fast-check is not defined.
13665 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13666 * conform/data/limits.h-data: Fixes for POSIX2008.
13667 * conform/run-conformtest.sh: Run all tests.
13668 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13670 * include/bits/dlfcn.h: Likewise.
13671 * include/langinfo.h: Likewise.
13672 * include/monetary.h: Likewise.
13673 * include/sys/poll.h: Likewise.
13675 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13677 * posix/spawn.h: Define __need_sigset_t.
13678 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13679 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13680 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13681 to get sigevent_t only.
13682 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13683 only for __USE_GNU.
13684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13685 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13686 process_vm_writev only for __USE_GNU.
13687 * termios/termios.h: Declare tcgetsid also for POSIX2008.
13689 * conform/Makefile: For now ignore errors from run-conformtest.
13690 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13691 POSIX to avoid namespace pollution. Don't prepend headers.
13692 * conform/data/aio.h-data: Fixes for POSIX testing.
13693 * conform/data/fcntl.h-data: Likewise.
13694 * conform/data/glob.h-data: Likewise.
13695 * conform/data/grp.h-data: Likewise.
13696 * conform/data/pthread.h-data: Likewise.
13697 * conform/data/pwd.h-data: Likewise.
13698 * conform/data/signal.h-data: Likewise.
13699 * conform/data/spawn.h-data: Likewise.
13700 * conform/data/stdio.h-data: Likewise.
13701 * conform/data/stdlib.h-data: Likewise.
13702 * conform/data/stropts.h-data: Likewise.
13703 * conform/data/sys/mman.h-data: Likewise.
13704 * conform/data/sys/stat.h-data: Likewise.
13705 * conform/data/sys/types.h-data: Likewise.
13706 * conform/data/sys/wait.h-data: Likewise.
13707 * conform/data/time.h-data: Likewise.
13708 * conform/data/unistd.h-data: Likewise.
13709 * conform/data/utime.h-data: Likewise.
13711 * io/sys/stat.h: fchmod was always in POSIX.
13712 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13713 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13714 * rt/aio.h: Define __need_timespec before including <time.h>.
13715 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13716 struct. Add forward declaration of pthread_attr_t and use it in
13718 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13719 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13720 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13721 always remove CLK_TCK definition.
13723 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13725 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13727 2012-02-25 Ulrich Drepper <drepper@gmail.com>
13729 * conform/run-conformtest.sh: New file.
13730 * conform/Makefile: Run run-conformtest for tests.
13731 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13734 * conform/data/uchar.h-data: New file.
13735 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13736 * conform/data/arpa/inet.h-data: Likewise.
13737 * conform/data/assert.h-data: Likewise.
13738 * conform/data/complex.h-data: Likewise.
13739 * conform/data/cpio.h-data: Likewise.
13740 * conform/data/ctype.h-data: Likewise.
13741 * conform/data/dirent.h-data: Likewise.
13742 * conform/data/dlfcn.h-data: Likewise.
13743 * conform/data/errno.h-data: Likewise.
13744 * conform/data/fcntl.h-data: Likewise.
13745 * conform/data/float.h-data: Likewise.
13746 * conform/data/fmtmsg.h-data: Likewise.
13747 * conform/data/fnmatch.h-data: Likewise.
13748 * conform/data/ftw.h-data: Likewise.
13749 * conform/data/glob.h-data: Likewise.
13750 * conform/data/grp.h-data: Likewise.
13751 * conform/data/iconv.h-data: Likewise.
13752 * conform/data/inttypes.h-data: Likewise.
13753 * conform/data/langinfo.h-data: Likewise.
13754 * conform/data/libgen.h-data: Likewise.
13755 * conform/data/limits.h-data: Likewise.
13756 * conform/data/locale.h-data: Likewise.
13757 * conform/data/math.h-data: Likewise.
13758 * conform/data/monetary.h-data: Likewise.
13759 * conform/data/mqueue.h-data: Likewise.
13760 * conform/data/ndbm.h-data: Likewise.
13761 * conform/data/net/if.h-data: Likewise.
13762 * conform/data/netdb.h-data: Likewise.
13763 * conform/data/netinet/in.h-data: Likewise.
13764 * conform/data/nl_types.h-data: Likewise.
13765 * conform/data/poll.h-data: Likewise.
13766 * conform/data/pthread.h-data: Likewise.
13767 * conform/data/pwd.h-data: Likewise.
13768 * conform/data/regex.h-data: Likewise.
13769 * conform/data/sched.h-data: Likewise.
13770 * conform/data/search.h-data: Likewise.
13771 * conform/data/semaphore.h-data: Likewise.
13772 * conform/data/setjmp.h-data: Likewise.
13773 * conform/data/signal.h-data: Likewise.
13774 * conform/data/spawn.h-data: Likewise.
13775 * conform/data/stdarg.h-data: Likewise.
13776 * conform/data/stdio.h-data: Likewise.
13777 * conform/data/stdlib.h-data: Likewise.
13778 * conform/data/string.h-data: Likewise.
13779 * conform/data/strings.h-data: Likewise.
13780 * conform/data/stropts.h-data: Likewise.
13781 * conform/data/sys/ipc.h-data: Likewise.
13782 * conform/data/sys/mman.h-data: Likewise.
13783 * conform/data/sys/msg.h-data: Likewise.
13784 * conform/data/sys/resource.h-data: Likewise.
13785 * conform/data/sys/select.h-data: Likewise.
13786 * conform/data/sys/sem.h-data: Likewise.
13787 * conform/data/sys/shm.h-data: Likewise.
13788 * conform/data/sys/socket.h-data: Likewise.
13789 * conform/data/sys/stat.h-data: Likewise.
13790 * conform/data/sys/statvfs.h-data: Likewise.
13791 * conform/data/sys/time.h-data: Likewise.
13792 * conform/data/sys/timeb.h-data: Likewise.
13793 * conform/data/sys/times.h-data: Likewise.
13794 * conform/data/sys/types.h-data: Likewise.
13795 * conform/data/sys/uio.h-data: Likewise.
13796 * conform/data/sys/un.h-data: Likewise.
13797 * conform/data/sys/utsname.h-data: Likewise.
13798 * conform/data/sys/wait.h-data: Likewise.
13799 * conform/data/syslog.h-data: Likewise.
13800 * conform/data/tar.h-data: Likewise.
13801 * conform/data/termios.h-data: Likewise.
13802 * conform/data/utime.h-data: Likewise.
13803 * conform/data/utmpx.h-data: Likewise.
13804 * conform/data/varargs.h-data: Likewise.
13805 * conform/data/wchar.h-data: Likewise.
13806 * conform/data/wctype.h-data: Likewise.
13807 * conform/data/wordexp.h-data: Likewise.
13809 * include/stropts.h: New file.
13810 * include/uchar.h: New file.
13811 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13812 * include/assert.h: Likewise.
13813 * include/ctype.h: Likewise.
13814 * include/dirent.h: Likewise.
13815 * include/dlfcn.h: Likewise.
13816 * include/fcntl.h: Likewise.
13817 * include/fnmatch.h: Likewise.
13818 * include/glob.h: Likewise.
13819 * include/grp.h: Likewise.
13820 * include/libio.h: Likewise.
13821 * include/locale.h: Likewise.
13822 * include/math.h: Likewise.
13823 * include/net/if.h: Likewise.
13824 * include/netdb.h: Likewise.
13825 * include/netinet/in.h: Likewise.
13826 * include/pthread.h: Likewise.
13827 * include/pwd.h: Likewise.
13828 * include/regex.h: Likewise.
13829 * include/sched.h: Likewise.
13830 * include/search.h: Likewise.
13831 * include/setjmp.h: Likewise.
13832 * include/signal.h: Likewise.
13833 * include/stdio.h: Likewise.
13834 * include/stdlib.h: Likewise.
13835 * include/string.h: Likewise.
13836 * include/sys/cdefs.h: Likewise.
13837 * include/sys/mman.h: Likewise.
13838 * include/sys/msg.h: Likewise.
13839 * include/sys/resource.h: Likewise.
13840 * include/sys/select.h: Likewise.
13841 * include/sys/socket.h: Likewise.
13842 * include/sys/stat.h: Likewise.
13843 * include/sys/statvfs.h: Likewise.
13844 * include/sys/time.h: Likewise.
13845 * include/sys/times.h: Likewise.
13846 * include/sys/uio.h: Likewise.
13847 * include/sys/utsname.h: Likewise.
13848 * include/sys/wait.h: Likewise.
13849 * include/termios.h: Likewise.
13850 * include/time.h: Likewise.
13851 * include/ulimit.h: Likewise.
13852 * include/unistd.h: Likewise.
13853 * include/utime.h: Likewise.
13854 * include/wchar.h: Likewise.
13855 * include/wctype.h: Likewise.
13856 * include/wordexp.h: Likewise.
13858 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13860 * time/time.h: TIME_UTC must be a macro.
13861 Make timespec_get available for ISO C11 only as well.
13863 2012-02-24 Ulrich Drepper <drepper@gmail.com>
13865 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13866 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13868 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13870 * configure.in: Use -o not -a in test for unsupported multi-arch.
13872 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13874 * manual/texinfo.tex: Update to version 2012-01-19.16.
13876 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13878 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13880 2012-02-24 Roland McGrath <roland@hack.frob.com>
13883 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13884 * manual/fdl-1.3.texi: New file.
13885 * manual/fdl-1.1.texi: File removed.
13888 * manual/libc.texinfo (FDL_VERSION): New @set.
13889 Use it for mention of FDL in cover text.
13890 (Documentation License): Use it in @include file name.
13892 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13893 Roland McGrath <roland@hack.frob.com>
13896 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13897 not LONG_LONG_MAX and LONG_LONG_MIN.
13898 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13899 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13901 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13903 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13907 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13908 manipulate bits before adding and subtracting TWO23[sx].
13909 * math/libm-test.inc (nearbyint_test): Add more tests.
13911 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13914 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13915 bits before adding and subtracting TWO23[sx].
13916 * math/libm-test.inc (rint_test): Add more tests.
13917 (rint_test_tonearest): Likewise.
13918 (rint_test_towardzero): Likewise.
13919 (rint_test_downward): Likewise.
13920 (rint_test_upward: Likewise.
13922 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13925 * include/stdc-predef.h: New file. Extracted from features.h.
13926 * include/features.h: Include stdc-predef.h.
13927 * Makefile (headers): Add stdc-predef.h.
13928 * CONFORMANCE (Compiler limitations): Update.
13930 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13932 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13934 2012-02-21 David S. Miller <davem@davemloft.net>
13936 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13937 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13939 2012-02-20 David S. Miller <davem@davemloft.net>
13941 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13942 using a normal save/restore sequence, rather than allocating a
13943 dummy stack frame just to store a frame pointer and restore.
13944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13946 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13948 * manual/install.texi: Fix stray word in line-wrapped comment.
13950 2012-02-20 David S. Miller <davem@davemloft.net>
13952 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13953 both binutils and gcc support GOTDATA.
13955 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13956 "rd %pc" in the PIC register setup sequences.
13958 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
13959 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13960 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13961 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13962 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13963 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13964 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13965 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
13967 (SYSCALL_ERROR_HANDLER): Likewise.
13968 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13969 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13970 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
13971 (SYSCALL_ERROR_HANDLER): Likewise.
13973 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
13974 (HAVE_GCC_GOTDATA): New.
13975 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
13976 relocation support in both binutils and gcc.
13977 * sysdeps/sparc/elf/configure: Regenerate.
13979 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
13980 * sysdeps/sparc/sparc32/elf/configure: Delete.
13981 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
13982 * sysdeps/sparc/sparc64/elf/configure: Delete.
13983 * sysdeps/sparc/elf/configure.in: New file.
13984 * sysdeps/sparc/elf/configure: Generate.
13986 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
13987 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
13988 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13989 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
13990 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
13992 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13994 * manual/install.texi: Do not mention specific glibc version
13996 * manual/libc.texinfo (VERSION, UPDATED): Update.
13997 (@copying): Use @copyright{} and range of years.
13999 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14002 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14003 [crti.S not in sysdirs] (generated): Do not append.
14004 [crti.S not in sysdirs] (omit-deps): Likewise.
14005 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14006 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14007 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14008 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14009 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14011 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14012 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14013 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14014 * csu/defs.awk: Remove file.
14015 * sysdeps/generic/initfini.c: Likewise.
14016 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14018 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14021 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14023 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14024 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14025 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14026 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14027 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14028 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14030 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14031 (__EPOLL_PACKED): Define to empty if not defined by
14033 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14037 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14039 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14040 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14041 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14042 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14044 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14048 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14050 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14052 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14053 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14054 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14057 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14059 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14060 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14062 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14064 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14065 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14067 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14069 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14072 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14074 * math/w_acos.c: Use non-signaling floating-point comparisons.
14075 * math/w_acosf.c: Likewise.
14076 * math/w_acosh.c: Likewise.
14077 * math/w_acoshf.c: Likewise.
14078 * math/w_acoshl.c: Likewise.
14079 * math/w_acosl.c: Likewise.
14080 * math/w_asin.c: Likewise.
14081 * math/w_asinf.c: Likewise.
14082 * math/w_asinl.c: Likewise.
14083 * math/w_atanh.c: Likewise.
14084 * math/w_atanhf.c: Likewise.
14085 * math/w_atanhl.c: Likewise.
14086 * math/w_exp2.c: Likewise.
14087 * math/w_exp2f.c: Likewise.
14088 * math/w_exp2l.c: Likewise.
14089 * math/w_j0.c: Likewise.
14090 * math/w_j0f.c: Likewise.
14091 * math/w_j0l.c: Likewise.
14092 * math/w_j1.c: Likewise.
14093 * math/w_j1f.c: Likewise.
14094 * math/w_j1l.c: Likewise.
14095 * math/w_jn.c: Likewise.
14096 * math/w_jnf.c: Likewise.
14097 * math/w_log.c: Likewise.
14098 * math/w_log10.c: Likewise.
14099 * math/w_log10f.c: Likewise.
14100 * math/w_log10l.c: Likewise.
14101 * math/w_log2.c: Likewise.
14102 * math/w_log2f.c: Likewise.
14103 * math/w_log2l.c: Likewise.
14104 * math/w_logf.c: Likewise.
14105 * math/w_logl.c: Likewise.
14106 * math/w_sqrt.c: Likewise.
14107 * math/w_sqrtf.c: Likewise.
14108 * math/w_sqrtl.c: Likewise.
14109 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14110 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14111 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14112 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14113 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14115 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14118 * manual/string.texi (strnlen): Use correct parameter name in
14119 equivalent expression.
14121 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14124 * manual/users.texi (seteuid): Consistently use neweuid for
14127 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14130 * manual/nss.texi (Services in the NSS configuration): Correct
14131 list of services in example configuration file.
14133 2012-02-19 Nick Bowler <nbowler@draconx.ca>
14136 * manual/arith.texi: Remove statements about negative zero
14137 behaving identically to zero.
14139 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14142 * manual/install.texi: Do not document upgrading from libc5.
14144 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14147 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14149 2012-02-18 David S. Miller <davem@davemloft.net>
14151 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14152 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14153 %o7 across the call.
14154 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14156 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14157 SETUP_PIC_REG_LEAF.
14158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14159 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14160 * sysdeps/sparc/crtn.S: Likewise.
14162 2012-02-17 Ulrich Drepper <drepper@gmail.com>
14164 * aout/Makefile: Remove.
14166 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14169 * manual/examples/argp-ex1.c (main): Format definition in GNU
14171 * manual/examples/argp-ex2.c (main): Likewise.
14172 * manual/examples/argp-ex3.c (main): Likewise.
14173 * manual/examples/argp-ex4.c (main): Likewise.
14174 * manual/examples/longopt.c (main): Use new-style prototype
14176 * manual/examples/strncat.c (main): Specify return type and use
14177 (void) for arguments.
14178 * manual/examples/subopt.c (main): Use char **argv argument.
14180 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14183 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14186 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14189 * manual/string.texi (strchr): Change when strchrnul is
14192 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14195 * manual/locale.texi (setlocale): Document LOCPATH.
14197 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14200 * manual/process.texi (execle): Move @dots{} before last argument.
14202 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14205 * manual/charset.texi (Generic Charset Conversion): Fix typo
14206 (LC_TYPE -> LC_CTYPE).
14208 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14211 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14212 (scalbnf): Likewise.
14213 (scalbnl): Likewise.
14214 (scalbln): Likewise.
14215 (scalblnf): Likewise.
14216 (scalblnl): Likewise.
14217 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14218 (vwarnx): Likewise.
14221 * manual/filesys.texi (telldir): Use braces around return type.
14222 * manual/llio.texi (mmap): Add space after comma.
14223 (mmap64): Likewise.
14224 * manual/math.texi (jn): Use @var{} on parameter names.
14230 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14232 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14234 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14235 (sched_get_priority_max): Likewise.
14236 * manual/signal.texi (sigvec): Add space after comma.
14237 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14239 (if_indextoname): Likewise.
14240 (if_freenameindex): Likewise.
14241 (sendto): Use ',' instead of '.' in prototype.
14242 * manual/startup.texi (syscall): Use @dots{} instead of literal
14244 * manual/stdio.texi (__fpending): Separate initial words of
14245 paragraph from @deftypefun line.
14246 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14248 (vsyslog): Use @var{} on parameter names.
14249 * manual/terminal.texi (stty): Use @var{} on parameter names.
14250 * manual/users.texi (getutmp): Use @var{} on parameter names.
14251 (getutmpx): Likewise.
14253 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14256 * manual/stdio.texi (fopen): Fix typos in description of
14259 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14262 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14263 get clock_id definition.
14265 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14268 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14269 (madvise): Cast every argument to void on its own.
14271 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14274 * manual/startup.texi (Exit Status): Fix typo.
14276 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14279 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14280 * manual/examples/argp-ex2.c: Likewise.
14281 * manual/examples/argp-ex3.c: Likewise.
14283 2012-02-16 Richard Henderson <rth@redhat.com>
14285 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14286 * sysdeps/s390/s390-32/initfini.c: Remove.
14287 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14288 * sysdeps/s390/s390-64/initfini.c: Remove.
14290 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14292 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14293 compiler output for sysdeps/generic/initfini.c.
14294 * sysdeps/sh/elf/initfini.c: Remove file.
14296 2012-02-16 David S. Miller <davem@davemloft.net>
14299 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14301 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14302 * sysdeps/sparc/crti.S: New file.
14303 * sysdeps/sparc/crtn.S: New file.
14304 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14305 * sysdeps/sparc/sparc64/Makefile: Likewise.
14307 2012-02-15 Mike Frysinger <vapier@gentoo.org>
14310 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14312 2012-02-15 Roland McGrath <roland@hack.frob.com>
14315 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14317 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14318 (write, read, close): Likewise.
14319 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14321 2012-02-15 Joseph Myers <joseph@codesourcery.com>
14323 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14324 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14325 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14326 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14328 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14332 2012-02-14 Marek Polacek <polacek@redhat.com>
14334 * sysdeps/x86_64/crti.S: New file.
14335 * sysdeps/x86_64/crtn.S: New file.
14336 * sysdeps/x86_64/elf/initfini.c: Remove file.
14338 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14340 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14341 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14342 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14343 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14345 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14349 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14351 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14352 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14353 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14354 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14356 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14360 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14362 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14363 __feraiseexcept instead of feraiseexcept.
14365 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14366 nanosleep invocations.
14367 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14368 strings, and add error checking for a nanosleep invocations.
14370 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14372 Replace FSF snail mail address with URLs, as per GNU coding standards.
14373 Most of the snail mail addresses were wrong anyway, and omitting
14374 them makes the source code easier to maintain. Almost all of the
14375 changes are to license notices and to locale LC_IDENTIFICATION
14376 addresses, except for this one:
14377 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14378 not its snail mail address.
14380 2012-02-09 Richard Henderson <rth@twiddle.net>
14382 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14383 of kernel-features.h.
14385 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14387 2012-02-08 Marek Polacek <polacek@redhat.com>
14389 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14390 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14391 * sysdeps/gnu/_G_config.h: Likewise.
14392 * sysdeps/generic/_G_config.h: Likewise.
14394 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14396 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14400 * sysdeps/powerpc/powerpc32/crti.S: New file.
14401 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14402 * sysdeps/powerpc/powerpc64/crti.S: New file.
14403 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14405 * Makeconfig (have-initfini): Don't set.
14406 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14407 * configure.in (nopic_initfini): Don't substitute.
14408 * config.h.in (HAVE_INITFINI): Don't #undef.
14409 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14410 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14412 2012-02-08 Joseph Myers <joseph@codesourcery.com>
14414 Support crti.S and crtn.S provided directly by architectures.
14415 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14416 [crti.S in sysdirs] (omit-deps): Likewise.
14417 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14418 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14419 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14420 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14421 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14422 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14423 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14424 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14425 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14426 compiler output for sysdeps/generic/initfini.c.
14427 * sysdeps/i386/elf/Makefile: Remove file.
14428 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14430 2012-02-07 Marek Polacek <polacek@redhat.com>
14432 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14433 * sysdeps/gnu/_G_config.h: Likewise.
14434 * sysdeps/mach/hurd/_G_config.h: Likewise.
14436 2012-02-07 Marek Polacek <polacek@redhat.com>
14438 * math/Makefile (tests): Add tst-CMPLX2.
14439 * math/tst-CMPLX2.c: New file.
14441 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14443 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14445 * math/libm-test.inc (jn_test): Add missing L suffix.
14447 2012-02-06 Marek Polacek <polacek@redhat.com>
14449 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14450 * sysdeps/i386/fpu/e_powf.S: Likewise.
14451 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14452 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14453 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14454 * sysdeps/i386/fpu/e_pow.S: Likewise.
14455 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14456 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14457 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14458 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14459 * sysdeps/i386/fpu/e_log2.S: Likewise.
14460 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14461 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14462 * sysdeps/i386/fpu/e_powl.S: Likewise.
14463 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14464 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14465 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14466 * sysdeps/i386/fpu/e_logl.S: Likewise.
14467 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14468 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14469 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14470 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14471 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14472 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14473 * sysdeps/i386/fpu/e_log.S: Likewise.
14474 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14475 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14476 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14477 * sysdeps/i386/fpu/e_logf.S: Likewise.
14478 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14479 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14480 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14481 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14482 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14483 * sysdeps/i386/fpu/e_log10.S: Likewise.
14484 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14485 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14486 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14487 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14488 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14489 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14490 * sysdeps/i386/asm-syntax.h: Likewise.
14491 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14492 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14493 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14494 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14495 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14496 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14497 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14498 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14499 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14500 * sysdeps/powerpc/sysdep.h: Likewise.
14501 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14502 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14504 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14507 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14509 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14511 * sysdeps/i386/sysdep.h: Include <features.h>.
14512 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14515 2012-02-05 Joseph Myers <joseph@codesourcery.com>
14517 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14519 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14522 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14524 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14525 (SETUP_PIC_REG): Use GET_PC_THUNK.
14526 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14529 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14531 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14532 for non-PIC compilation.
14533 (SETUP_PIC_REG): Add .p2align directive.
14534 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14535 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14536 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14537 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14538 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14539 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14540 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14541 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14542 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14543 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14544 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14545 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14546 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14547 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14548 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14549 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14550 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14551 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14552 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14553 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14554 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14555 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14556 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14557 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14558 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14559 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14560 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14561 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14562 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14563 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14564 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14565 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14566 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14567 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14568 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14569 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14570 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14571 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14572 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14573 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14574 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14576 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14578 * math/tst-CMPLX.c: Include <stdio.h>.
14580 2012-01-31 Joseph Myers <joseph@codesourcery.com>
14582 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14584 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14585 * sysdeps/sparc/bits/mathdef.h: Likewise.
14587 2012-01-31 Marek Polacek <polacek@redhat.com>
14589 * libio/libio.h: Don't define _PARAMS.
14590 * locale/programs/config.h: Don't define PARAMS.
14591 * stdlib/strtol_l.c: Likewise.
14592 (__strtol_l): Remove PARAMS from the prototype.
14594 2012-01-31 Ulrich Drepper <drepper@gmail.com>
14596 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14597 names. Just use the correct names. Remove unnecessary wrapper
14599 * malloc/arena.c: Likewise.
14600 * malloc/hooks.c: Likewise.
14602 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14603 ARENA_TEST says not to. Simplify test for creation of a new arena.
14604 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14606 2012-01-30 Ulrich Drepper <drepper@gmail.com>
14608 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14610 (update_get_addr): New function.
14611 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14612 GET_ADDR_MODULE parameter.
14614 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14616 * crypt/cert.c: Remove __STDC__ conditionals.
14617 * crypt/crypt-entry.c: Likewise.
14618 * crypt/crypt_util.c: Likewise.
14619 * libio/filedoalloc.c: Likewise.
14620 * libio/fileops.c: Likewise.
14621 * libio/genops.c: Likewise.
14622 * libio/iofclose.c: Likewise.
14623 * libio/iofdopen.c: Likewise.
14624 * libio/iofopen.c: Likewise.
14625 * libio/iofopen64.c: Likewise.
14626 * libio/iogetdelim.c: Likewise.
14627 * libio/iopopen.c: Likewise.
14628 * libio/obprintf.c: Likewise.
14629 * libio/oldfileops.c: Likewise.
14630 * libio/oldiofclose.c: Likewise.
14631 * libio/oldiofdopen.c: Likewise.
14632 * libio/oldiofopen.c: Likewise.
14633 * libio/oldiopopen.c: Likewise.
14634 * libio/wfiledoalloc.c: Likewise.
14635 * libio/wgenops.c: Likewise.
14636 * locale/programs/xmalloc.c: Likewise.
14637 * misc/syslog.c: Likewise.
14638 * stdio-common/xbug.c: Likewise.
14639 * string/memchr.c: Likewise.
14640 * string/memcmp.c: Likewise.
14641 * string/memrchr.c: Likewise.
14642 * string/rawmemchr.c: Likewise.
14643 * sysdeps/posix/getcwd.c: Likewise.
14644 * time/strftime_l.c: Likewise.
14646 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14648 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14649 * config.make.in (config-cflags-sse2avx): Define.
14650 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14653 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14655 * scripts/config.guess: Update from upstream config git repository.
14656 * scripts/config.sub: Likewise.
14658 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14660 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14662 (R_TILEPRO_*, R_TILEGX_*): New macros.
14664 * scripts/firstversions.awk: Fix bug in version range handling.
14666 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14668 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14670 * include/sys/epoll.h: New file.
14671 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14674 2012-01-28 Ulrich Drepper <drepper@gmail.com>
14676 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14677 Avoid unnecessary __WORDSIZE == 64 test.
14678 (fmaxf): Use VEX format if possible.
14683 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14684 * math/math_private.h: Remove libc_fegetround* and
14686 * sysdeps/i386/configure.in: Check for -msse2avx.
14687 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14688 also if SSE2AVX is defined.
14689 Remove libc_fegetround* and libc_fesetround*.
14690 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14691 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14692 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14694 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14695 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14696 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14697 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14698 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14700 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14702 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14704 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14706 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14708 2012-01-27 Ulrich Drepper <drepper@gmail.com>
14711 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14713 * Makeconfig (libm): Define.
14714 * elf/Makefile: Add rules to build and run tst-relsort1.
14715 * elf/tst-relsort1.c: New file.
14716 * elf/tst-relsort1mod1.c: New file.
14717 * elf/tst-relsort1mod2.c: New file.
14719 2012-01-27 Joseph Myers <joseph@codesourcery.com>
14721 * math/s_ldexp.c: Remove __STDC__ conditionals.
14722 * math/s_ldexpf.c: Likewise.
14723 * math/s_ldexpl.c: Likewise.
14724 * math/s_nextafter.c: Likewise.
14725 * math/s_nexttowardf.c: Likewise.
14726 * math/s_significand.c: Likewise.
14727 * math/s_significandf.c: Likewise.
14728 * math/s_significandl.c: Likewise.
14729 * math/w_jnl.c: Likewise.
14730 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14731 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14732 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14733 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14734 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14735 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14736 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14737 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14738 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14739 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14740 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14741 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14742 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14743 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14744 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14745 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14746 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14747 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14748 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14749 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14750 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14751 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14752 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14753 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14754 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14755 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14756 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14757 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14758 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14759 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14760 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14761 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14762 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14763 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14764 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14765 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14766 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14767 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14768 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14769 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14770 * sysdeps/ieee754/k_standard.c: Likewise.
14771 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14772 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14773 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14774 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14775 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14776 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14777 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14778 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14779 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14780 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14781 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14782 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14783 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14784 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14785 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14786 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14787 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14788 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14789 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14790 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14791 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14792 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14793 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14794 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14795 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14796 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14797 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14798 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14800 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14801 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14802 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14803 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14804 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14805 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14806 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14807 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14808 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14809 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14810 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14811 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14813 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14814 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14815 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14816 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14817 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14818 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14819 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14820 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14821 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14822 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14823 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14824 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14825 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14826 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14827 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14828 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14829 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14830 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14831 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14832 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14833 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14834 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14835 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14836 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14837 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14838 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14839 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14840 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14841 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14842 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14843 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14844 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14845 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14846 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14847 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14848 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14849 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14850 * sysdeps/ieee754/s_matherr.c: Likewise.
14851 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14852 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14853 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14856 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14858 * crypt/md5.h: Remove __STDC__ conditionals.
14859 * libio/libioP.h: Likewise.
14860 * locale/programs/config.h: Likewise.
14861 * sysdeps/generic/sysdep.h: Likewise.
14862 * sysdeps/i386/asm-syntax.h: Likewise.
14863 * sysdeps/s390/asm-syntax.h: Likewise.
14864 * sysdeps/unix/sysdep.h: Likewise.
14865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14868 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14870 * libio/libio.h: Remove __STDC__ conditionals.
14871 * malloc/obstack.h: Likewise.
14872 * math/complex.h: Likewise.
14873 * math/math.h: Likewise.
14874 * sysdeps/generic/_G_config.h: Likewise.
14875 * sysdeps/gnu/_G_config.h: Likewise.
14876 * sysdeps/mach/hurd/_G_config.h: Likewise.
14877 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14878 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14879 * sysdeps/sparc/bits/mathdef.h: Likewise.
14881 2012-01-26 Ulrich Drepper <drepper@gmail.com>
14884 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
14885 Clean up HAS_* macros.
14886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
14887 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14889 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14891 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14892 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14893 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14894 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14895 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14897 2012-01-25 Joseph Myers <joseph@codesourcery.com>
14899 * elf/tst-unique3.cc (gets): Remove declaration.
14900 * elf/tst-unique3lib.cc (gets): Likewise.
14901 * elf/tst-unique3lib2.cc (gets): Likewise.
14902 * elf/tst-unique4.cc (gets): Likewise.
14904 2012-01-24 Ulrich Drepper <drepper@gmail.com>
14906 * include/stdio.h: Add C++ protection. Add gets declarations and
14908 * debug/tst-chk1.c: Don't declare gets here.
14909 * stdio-common/tst-gets.c: Likewise.
14911 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14913 * posix/glob: Remove directory.
14915 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14917 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14919 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14921 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14922 of the non-standard EPFNOSUPPORT.
14924 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14926 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14927 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14928 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14930 2012-01-21 Ulrich Drepper <drepper@gmail.com>
14932 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14934 2012-01-20 Ulrich Drepper <drepper@gmail.com>
14936 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14938 * nscd/grpcache.c (cache_addgr): Likewise.
14939 * nscd/hstcache.c (cache_addhst): Likewise.
14940 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14941 * nscd/pwdcache.c (cache_addpw): Likewise.
14942 * nscd/servicescache.c (cache_addserv): Likewise.
14944 2012-01-16 Ulrich Drepper <drepper@gmail.com>
14946 * malloc/malloc.c: Various cleanups.
14947 * malloc/hooks.c: Likewise.
14949 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14950 * stdlib/bug-fmtmsg1.c: New file.
14952 * stdlib/fmtmsg.c (init): Add missing unlock.
14953 Patch by Peng Haitao <penght@cn.fujitsu.com>.
14955 2012-01-12 Marek Polacek <polacek@redhat.com>
14957 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
14960 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14962 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
14963 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
14964 macro to ensure uniqueness of label name.
14965 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14966 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14968 2012-01-11 Ulrich Drepper <drepper@gmail.com>
14970 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
14972 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
14973 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14974 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14975 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
14977 2012-01-10 Ulrich Drepper <drepper@gmail.com>
14979 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
14981 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
14982 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14983 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14985 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
14987 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
14988 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14989 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14990 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
14992 * math/bits/math-finite.h: Add ldexp support.
14994 2012-01-10 Marek Polacek <polacek@redhat.com>
14996 * locale/programs/localedef.h (show_archive_content): Add noreturn
14999 2012-01-09 Ulrich Drepper <drepper@gmail.com>
15001 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15003 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15005 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15007 * io/Makefile (headers): Add bits/poll2.h.
15009 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15012 typo #include statement.
15014 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15016 * include/sys/cdefs.h: Define __attribute_alloc_size.
15017 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15018 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15019 * elf/pldd.c: Likewise.
15020 * iconv/iconv_charmap.c: Likewise.
15021 * iconv/iconvconfig.c: Likewise.
15022 * iconv/strtab.c: Likewise.
15023 * locale/programs/locale.c: Likewise.
15024 * locale/programs/localedef.h: Likewise.
15025 * locale/programs/simple-hash.c: Likewise.
15026 * nscd/nscd.h: Likewise.
15027 * nss/makedb.c: Likewise.
15028 * sysdeps/generic/ldconfig.h: Likewise.
15029 * locale/programs/localedef.c: Remove xmalloc prototype.
15030 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15032 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15034 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15037 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15039 * math/Makefile (tests): Add tst-CMPLX.
15040 * math/tst-CMPLX.c: New file.
15042 * math/complex.h (CMPLXL): Fix typo.
15044 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15045 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15047 * debug/tst-chk1.c: Add poll and ppoll tests.
15048 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15049 * include/sys/poll.h: Add hidden proto for ppoll.
15050 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15051 * sysdeps/mach/hurd/ppoll.c: Likewise.
15052 * io/ppoll.c: Likewise.
15053 * debug/poll_chk.c: New file.
15054 * debug/ppoll_chk.c: New file.
15055 * include/bits/poll2.h: New file.
15056 * io/bits/poll2.h: New file.
15059 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15061 * configure.in: static is always set to yes. Remove.
15062 * config.make.in: Don't set build-static.
15063 * Makeconfig: Remove use of build-static.
15064 * dlfcn/Makefile: Likewise.
15065 * elf/Makefile: Likewise.
15066 * math/Makefile: Likewise.
15067 * misc/Makefile: Likewise.
15068 * nptl/Makefile: Likewise.
15069 * sysdeps/mach/hurd/Makefile: Likewise.
15071 * configure.in: PWD_P is not used anymore.
15072 * config.make.in: Remove PWD_P entry.
15074 * configure.in: Remove last remnants of RANLIB.
15075 No need to check for signed size_t anymore.
15076 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15078 Remove __builtin_expect test because we require at least gcc 3.4.
15079 * aclocal.m4: Likewise.
15081 * wcsmbs/mbrtoc16.c: Implement using towc function.
15082 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15083 * wcsmbs/wcsmbsload.c: Likewise.
15084 * iconv/gconv_simple.c: Likewise.
15085 * iconv/gconv_int.h: Likewise.
15086 * iconv/gconv_builtin.h: Likewise.
15087 * iconv/iconv_prog.c: Remove CHAR16 handling.
15089 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15091 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15093 * configure.in: Remove --with-elf and --enable-bounded options.
15094 Dont set base_machine for ia64. More non-ELF conditions removed.
15095 Remove testing and setting of leading underscore information.
15096 * config.make.in (build-bounded): Set to no.
15097 * config.h.in: Remove NO_UNDERSCORES entry.
15098 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15100 * csu/start.c: Remove !NO_UNDERSCORE code.
15101 * locale/localeinfo.h: Likewise.
15102 * sysdeps/generic/machine-gmon.h: Likewise.
15103 * sysdeps/generic/sysdep.h: Likewise.
15104 * sysdeps/i386/sysdep.h: Likewise.
15105 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15106 * sysdeps/mach/sysdep.h: Likewise.
15107 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15108 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15109 * sysdeps/sh/sysdep.h: Likewise.
15110 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15111 * sysdeps/unix/i386/sysdep.S: Likewise.
15112 * sysdeps/unix/sparc/start.c: Likewise.
15113 * sysdeps/unix/sparc/sysdep.S: Likewise.
15114 * sysdeps/unix/sparc/sysdep.h: Likewise.
15115 * sysdeps/unix/start.c: Likewise.
15116 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15117 * sysdeps/x86_64/sysdep.h: Likewise.
15119 2012-01-07 Ulrich Drepper <drepper@gmail.com>
15122 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15124 * argp/argp-fmtstream.h: Use const instead __const.
15125 * argp/argp.h: Likewise.
15126 * assert/assert.h: Likewise.
15127 * bits/fenv.h: Likewise.
15128 * bits/sched.h: Likewise.
15129 * bits/sigset.h: Likewise.
15130 * bits/sigthread.h: Likewise.
15131 * catgets/nl_types.h: Likewise.
15132 * conform/data/pthread.h-data: Likewise.
15133 * crypt/crypt-private.h: Likewise.
15134 * crypt/crypt.h: Likewise.
15135 * crypt/crypt_util.c: Likewise.
15136 * ctype/ctype.h: Likewise.
15137 * debug/execinfo.h: Likewise.
15138 * debug/mbsnrtowcs_chk.c: Likewise.
15139 * debug/mbsrtowcs_chk.c: Likewise.
15140 * debug/wcsnrtombs_chk.c: Likewise.
15141 * debug/wcsrtombs_chk.c: Likewise.
15142 * debug/wcstombs_chk.c: Likewise.
15143 * dirent/dirent.h: Likewise.
15144 * dlfcn/dlfcn.h: Likewise.
15145 * elf/neededtest4.c: Likewise.
15146 * grp/grp.h: Likewise.
15147 * gshadow/gshadow.h: Likewise.
15148 * iconv/gconv.h: Likewise.
15149 * iconv/gconv_int.h: Likewise.
15150 * iconv/gconv_simple.c: Likewise.
15151 * iconv/iconv.h: Likewise.
15152 * iconv/loop.c: Likewise.
15153 * iconv/skeleton.c: Likewise.
15154 * include/aio.h: Likewise.
15155 * include/aliases.h: Likewise.
15156 * include/argz.h: Likewise.
15157 * include/arpa/inet.h: Likewise.
15158 * include/assert.h: Likewise.
15159 * include/dirent.h: Likewise.
15160 * include/dlfcn.h: Likewise.
15161 * include/execinfo.h: Likewise.
15162 * include/fcntl.h: Likewise.
15163 * include/fenv.h: Likewise.
15164 * include/glob.h: Likewise.
15165 * include/grp.h: Likewise.
15166 * include/libintl.h: Likewise.
15167 * include/mntent.h: Likewise.
15168 * include/netdb.h: Likewise.
15169 * include/pwd.h: Likewise.
15170 * include/rpc/netdb.h: Likewise.
15171 * include/sched.h: Likewise.
15172 * include/search.h: Likewise.
15173 * include/shadow.h: Likewise.
15174 * include/signal.h: Likewise.
15175 * include/stdio.h: Likewise.
15176 * include/stdlib.h: Likewise.
15177 * include/string.h: Likewise.
15178 * include/sys/socket.h: Likewise.
15179 * include/sys/stat.h: Likewise.
15180 * include/sys/statfs.h: Likewise.
15181 * include/sys/statvfs.h: Likewise.
15182 * include/sys/syslog.h: Likewise.
15183 * include/sys/time.h: Likewise.
15184 * include/sys/uio.h: Likewise.
15185 * include/time.h: Likewise.
15186 * include/unistd.h: Likewise.
15187 * include/utmp.h: Likewise.
15188 * include/wchar.h: Likewise.
15189 * include/wctype.h: Likewise.
15190 * inet/aliases.h: Likewise.
15191 * inet/arpa/inet.h: Likewise.
15192 * inet/netinet/ether.h: Likewise.
15193 * inet/netinet/in.h: Likewise.
15194 * intl/libintl.h: Likewise.
15195 * io/bits/fcntl2.h: Likewise.
15196 * io/fcntl.h: Likewise.
15197 * io/ftw.h: Likewise.
15198 * io/sys/poll.h: Likewise.
15199 * io/sys/stat.h: Likewise.
15200 * io/sys/statfs.h: Likewise.
15201 * io/sys/statvfs.h: Likewise.
15202 * io/utime.h: Likewise.
15203 * libio/bits/stdio.h: Likewise.
15204 * libio/bits/stdio2.h: Likewise.
15205 * libio/libio.h: Likewise.
15206 * libio/libioP.h: Likewise.
15207 * libio/stdio.h: Likewise.
15208 * locale/lc-ctype.c: Likewise.
15209 * locale/locale.h: Likewise.
15210 * login/utmp.h: Likewise.
15211 * malloc/arena.c: Likewise.
15212 * malloc/malloc.c: Likewise.
15213 * malloc/malloc.h: Likewise.
15214 * malloc/mcheck.c: Likewise.
15215 * malloc/mtrace.c: Likewise.
15216 * math/bits/mathcalls.h: Likewise.
15217 * math/fenv.h: Likewise.
15218 * math/math_private.h: Likewise.
15219 * misc/bits/error.h: Likewise.
15220 * misc/bits/syslog.h: Likewise.
15221 * misc/err.h: Likewise.
15222 * misc/error.h: Likewise.
15223 * misc/fstab.h: Likewise.
15224 * misc/mntent.h: Likewise.
15225 * misc/regexp.h: Likewise.
15226 * misc/search.h: Likewise.
15227 * misc/sgtty.h: Likewise.
15228 * misc/sys/mman.h: Likewise.
15229 * misc/sys/syslog.h: Likewise.
15230 * misc/sys/uio.h: Likewise.
15231 * misc/sys/xattr.h: Likewise.
15232 * misc/ttyent.h: Likewise.
15233 * nis/rpcsvc/ypclnt.h: Likewise.
15234 * nss/nss.h: Likewise.
15235 * posix/bits/unistd.h: Likewise.
15236 * posix/fnmatch.h: Likewise.
15237 * posix/glob.h: Likewise.
15238 * posix/sched.h: Likewise.
15239 * posix/spawn.h: Likewise.
15240 * posix/sys/wait.h: Likewise.
15241 * posix/unistd.h: Likewise.
15242 * posix/wordexp.h: Likewise.
15243 * pwd/pwd.h: Likewise.
15244 * resolv/netdb.h: Likewise.
15245 * resource/sys/resource.h: Likewise.
15246 * rt/aio.h: Likewise.
15247 * rt/bits/mqueue2.h: Likewise.
15248 * rt/mqueue.h: Likewise.
15249 * shadow/shadow.h: Likewise.
15250 * signal/signal.h: Likewise.
15251 * socket/send.c: Likewise.
15252 * socket/sendto.c: Likewise.
15253 * socket/sys/socket.h: Likewise.
15254 * stdio-common/printf.h: Likewise.
15255 * stdlib/bits/stdlib.h: Likewise.
15256 * stdlib/fmtmsg.h: Likewise.
15257 * stdlib/monetary.h: Likewise.
15258 * stdlib/stdlib.h: Likewise.
15259 * stdlib/ucontext.h: Likewise.
15260 * streams/stropts.h: Likewise.
15261 * string/argz.h: Likewise.
15262 * string/bits/string2.h: Likewise.
15263 * string/string.h: Likewise.
15264 * string/strings.h: Likewise.
15265 * sunrpc/rpc/auth.h: Likewise.
15266 * sunrpc/rpc/auth_des.h: Likewise.
15267 * sunrpc/rpc/clnt.h: Likewise.
15268 * sunrpc/rpc/netdb.h: Likewise.
15269 * sunrpc/rpc/pmap_clnt.h: Likewise.
15270 * sunrpc/rpc/xdr.h: Likewise.
15271 * sysdeps/generic/inttypes.h: Likewise.
15272 * sysdeps/generic/net/if.h: Likewise.
15273 * sysdeps/generic/sys/swap.h: Likewise.
15274 * sysdeps/gnu/net/if.h: Likewise.
15275 * sysdeps/gnu/utmpx.h: Likewise.
15276 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15277 * sysdeps/i386/i486/bits/string.h: Likewise.
15278 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15279 * sysdeps/s390/bits/string.h: Likewise.
15280 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15281 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15282 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15283 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15284 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15285 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15286 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15287 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15288 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15289 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15290 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15291 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15292 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15293 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15294 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15295 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15296 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15298 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15299 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15300 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15301 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15302 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15303 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15304 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15305 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15306 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15307 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15308 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15309 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15310 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15311 * sysvipc/sys/ipc.h: Likewise.
15312 * sysvipc/sys/msg.h: Likewise.
15313 * sysvipc/sys/sem.h: Likewise.
15314 * sysvipc/sys/shm.h: Likewise.
15315 * termios/termios.h: Likewise.
15316 * time/sys/time.h: Likewise.
15317 * time/time.h: Likewise.
15318 * wcsmbs/bits/wchar2.h: Likewise.
15319 * wcsmbs/uchar.h: Likewise.
15320 * wcsmbs/wchar.h: Likewise.
15321 * wctype/wctype.h: Likewise.
15324 * Makeconfig: Remove all but ELF support including AIX support.
15325 * Makerules: Likewise.
15326 * config.h.in: Likewise.
15327 * config.make.in: Likewise.
15328 * configure: Likewise.
15329 * configure.in: Likewise.
15330 * csu/Makefile: Likewise.
15331 * csu/version.c: Likewise.
15332 * debug/Makefile: Likewise.
15333 * dlfcn/Makefile: Likewise.
15334 * elf/Makefile: Likewise.
15335 * extra-lib.mk: Likewise.
15336 * iconv/Makefile: Likewise.
15337 * include/libc-symbols.h: Likewise.
15338 * include/shlib-compat.h: Likewise.
15339 * resolv/Makefile: Likewise.
15340 * resolv/res_libc.c: Likewise.
15341 * rt/Makefile: Likewise.
15342 * sysdeps/i386/asm-syntax.h: Likewise.
15343 * sysdeps/i386/sysdep.h: Likewise.
15344 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15345 * sysdeps/mach/sysdep.h: Likewise.
15346 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15347 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15348 * sysdeps/s390/asm-syntax.h: Likewise.
15349 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15350 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15351 * sysdeps/sh/sysdep.h: Likewise.
15352 * sysdeps/unix/sparc/sysdep.h: Likewise.
15353 * sysdeps/wordsize-32/divdi3.c: Likewise.
15354 * sysdeps/x86_64/sysdep.h: Likewise.
15356 * argp/Versions: Remove _argp_unlock_xxx.
15359 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15360 * abilist/libBrokenLocale.abilist: Likewise.
15361 * abilist/libanl.abilist: Likewise.
15362 * abilist/libc.abilist: Likewise.
15363 * abilist/libcrypt.abilist: Likewise.
15364 * abilist/libdl.abilist: Likewise.
15365 * abilist/libm.abilist: Likewise.
15366 * abilist/libnsl.abilist: Likewise.
15367 * abilist/libpthread.abilist: Likewise.
15368 * abilist/libresolv.abilist: Likewise.
15369 * abilist/librt.abilist: Likewise.
15370 * abilist/libthread_db.abilist: Likewise.
15371 * abilist/libutil.abilist: Likewise.
15372 * abilist/libnss_db.abilist: New file.
15374 * scripts/abilist.awk: Add support for indirect functions.
15376 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15378 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15380 * shlib-versions: Remove entries for ports architectures.
15382 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15384 * elf/stackguard-macros.h: Remove support for IA-64.
15385 * elf/tst-auditmod1.c: Likewise.
15386 * sysdeps/generic/ldsodefs.h: Likewise.
15388 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15389 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15393 * configure.in: Remove --enable-omitfp support.
15395 * config.make.in: Likewise.
15396 * Makeconfig: Likewise.
15397 * manual/install.texi: Likewise.
15399 In case anyone cares, the IA-64 architecture could move to ports.
15400 * sysdeps/ia64/*: Removed.
15401 * sysdeps/unix/sysv/linux/ia64/*: Removed.
15402 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15405 * configure.in: Remove entries for unsupported architectures.
15408 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15409 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15411 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15412 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15413 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15414 fall back to using wcrtomb.
15415 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15416 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15418 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15419 * wcsmbs/tst-c16c32-1.c: New file.
15421 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15424 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15426 * elf/tst-unique3.cc: Add explicit declaration of gets.
15427 * elf/tst-unique3lib.cc: Likewise.
15428 * elf/tst-unique3lib2.cc: Likewise.
15429 * elf/tst-unique4.cc: Likewise.
15431 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15433 2012-01-06 Joseph Myers <joseph@codesourcery.com>
15436 * assert/assert.h (static_assert): Don't define for C++.
15437 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15438 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15440 2012-01-03 Ulrich Drepper <drepper@gmail.com>
15442 * iconv/loop.c (single loop): Fix assertion in storing of
15445 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15447 2012-01-01 Ulrich Drepper <drepper@gmail.com>
15449 * posix/getconf.c: Update copyright year.
15450 * nss/getent.c: Likewise.
15451 * nss/makedb.c: Likewise.
15452 * iconv/iconvconfig.c: Likewise.
15453 * iconv/iconv_prog.c: Likewise.
15454 * elf/ldconfig.c: Likewise.
15455 * elf/pldd.c: Likewise.
15456 * elf/sotruss.ksh: Likewise.
15457 * catgets/gencat.c: Likewise.
15458 * csu/version.c: Likewise.
15459 * elf/ldd.bash.in: Likewise.
15460 * elf/sprof.c (print_version): Likewise.
15461 * locale/programs/locale.c: Likewise.
15462 * locale/programs/localedef.c: Likewise.
15463 * login/programs/pt_chown.c: Likewise.
15464 * nscd/nscd.c (print_version): Likewise.
15465 * debug/xtrace.sh: Likewise.
15466 * malloc/memusage.sh: Likewise.
15467 * malloc/mtrace.pl: Likewise.
15468 * debug/catchsegv.sh: Likewise.
15470 2011-12-30 Jakub Jelinek <jakub@redhat.com>
15472 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15475 2011-12-24 Ulrich Drepper <drepper@gmail.com>
15478 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15479 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15481 * iconv/gconv_int.h: Likewise.
15482 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15483 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15484 from libc for GLIBC_2.16.
15485 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15486 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15487 * wcsmbs/uchar.h: Really define mbstate_t.
15488 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15489 * wcsmbs/c16rtomb.c: New file.
15490 * wcsmbs/mbrtoc16.c: New file.
15491 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15492 for C/POSIX locale.
15493 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15494 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15496 * wcsmbs/wchar.h: Add missing __restrict.
15498 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15501 * time/Makefile (routines): Add timespec_get.
15502 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15503 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15504 timespec for ISO C11.
15505 * time/timespec_get.c: New file.
15506 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15507 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15510 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15511 * stdlib/stdlib.h: Declare aligned_alloc.
15512 * Versions.def: Add GLIBC_2.16 for libc.
15513 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15516 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15519 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
15523 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15526 * assert/assert.h (static_assert): Define.
15528 * version.h: Update for 2.16 development version.
15531 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15534 * version.h (RELEASE): Bump for 2.15 release.
15535 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15537 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15538 Patch by Marek Polacek <mpolacek@redhat.com>.
15540 * bits/byteswap.h: Protect long long constants with __extension__.
15541 * sysdeps/i386/bits/byteswap.h: Likewise.
15542 * sysdeps/ia64/bits/byteswap.h: Likewise.
15543 * sysdeps/s390/bits/byteswap.h: Likewise.
15544 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15546 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15549 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15550 destination buffer.
15551 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15553 2011-12-23 Marek Polacek <polacek@redhat.com>
15555 * elf/dl-addr.c (determine_info): Add inline keyword.
15556 * elf/tst-auditmod4b.c (check_avx): Likewise.
15557 * elf/tst-auditmod6b.c (check_avx): Likewise.
15558 * elf/tst-auditmod6c.c (check_avx): Likewise.
15559 * elf/tst-auditmod7b.c (check_avx): Likewise.
15561 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15563 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15566 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15569 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15570 processing for last bytes.
15572 2011-08-06 Bruno Haible <bruno@clisp.org>
15575 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15576 U+0385, not to U+1FEE.
15579 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15580 entry for U+00A5 U+0301.
15582 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15585 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15586 buffer for the output is too small.
15588 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15592 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15593 SSE flags if possible.
15595 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15598 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15599 processing for last bytes.
15601 2011-12-22 Joseph Myers <joseph@codesourcery.com>
15603 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15604 (syscall-list-default-options, syscall-list-default-condition)
15605 (syscall-list-includes): Define.
15606 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15607 list of ABIs and options and #if conditions for each ABI. Do not
15608 handle common syscalls between ABIs specially.
15609 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15611 (syscall-list-variants, syscall-list-32bit-options)
15612 (syscall-list-32bit-condition, syscall-list-64bit-options)
15613 (syscall-list-64bit-condition): Define.
15614 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15615 (syscall-list-variants, syscall-list-32bit-options)
15616 (syscall-list-32bit-condition, syscall-list-64bit-options)
15617 (syscall-list-64bit-condition): Define.
15618 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15620 (syscall-list-variants, syscall-list-32bit-options)
15621 (syscall-list-32bit-condition, syscall-list-64bit-options)
15622 (syscall-list-64bit-condition): Define.
15623 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15625 (syscall-list-variants, syscall-list-32bit-options)
15626 (syscall-list-32bit-condition, syscall-list-64bit-options)
15627 (syscall-list-64bit-condition): Define.
15629 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15631 * locale/iso-639.def: Add brx entry.
15634 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15635 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15637 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15638 __feraiseexcept_renamed.
15640 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15643 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15644 EPOLLET with unsigned values.
15645 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15646 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15648 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15649 to large cancellation.
15650 * math/s_cacoshf.c: Likewise.
15651 * math/s_cacoshl.c: Likewise.
15653 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15657 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15658 * math/s_cacoshf.c: Likewise.
15659 * math/s_cacoshl.c: Likewise.
15661 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15664 * iconv/gconv.h: Define __GCONV_SWAP.
15665 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15666 * iconvdata/utf-16.c: Likewise.
15667 * iconvdata/utf-32.c: Likewise.
15669 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15672 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15673 numerator after shifting it by one limb.
15675 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15677 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15678 under [__USE_EXTERN_INLINES].
15680 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15683 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15685 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15687 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15688 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15690 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15691 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15692 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15693 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15694 for strncasecmp/strncasecmp_l compilation.
15695 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15696 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15698 2011-12-08 Marek Polacek <mpolacek@redhat.com>
15701 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15704 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15707 * time/tzfile.c (__tzfile_read): Check values from file header.
15709 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15711 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15712 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15713 * powerpc/powerpc32/dl-start.S: Likewise.
15714 * powerpc/powerpc32/elf/start.S: Likewise.
15715 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15716 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15717 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15718 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15719 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15720 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15721 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15722 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15723 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15724 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15725 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15726 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15727 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15728 * powerpc/powerpc32/memset.S: Likewise.
15729 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15730 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15731 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15732 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15733 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15734 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15735 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15736 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15737 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15738 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15739 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15740 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15741 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15743 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15745 * math/libm-test.inc: Added more nearbyint tests.
15746 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15748 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15751 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15753 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15756 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15758 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15759 Add wcscpy-ssse3 wcscpy-c.
15760 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15761 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15762 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15763 * sysdeps/x86_64/wcschr.S: New file.
15764 * sysdeps/x86_64/wcsrchr.S: New file.
15765 * string/test-strcmp.c: Remove checking of wcscmp function for
15767 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15768 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15769 wcsrchr-sse2 wcsrchr-c.
15770 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15771 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15772 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15773 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15774 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15775 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15776 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15777 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15778 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15779 * wcsmbc/wcschr.c (WCSCHR): New macro.
15781 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15783 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15784 * wcsmbs/test-wcsrchr.c: New file.
15785 * string/test-strrchr.c: Add wcsrchr support.
15787 * wcsmbs/test-wcscpy.c: New file.
15788 * string/test-strcpy.c: Add wcscpy support.
15791 2011-12-10 Ulrich Drepper <drepper@gmail.com>
15793 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15796 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15799 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15801 2011-12-04 Ulrich Drepper <drepper@gmail.com>
15803 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
15804 Minor optimizations.
15806 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15807 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15808 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15810 2011-12-03 Ulrich Drepper <drepper@gmail.com>
15812 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15813 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15814 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15815 for gcc to avoid warnings.
15816 * inet/Makefile (tests): Add tst-checks.
15817 * inet/tst-checks.c: New file.
15819 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15822 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15825 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15826 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15828 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15830 2011-12-02 Ulrich Drepper <drepper@gmail.com>
15832 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15835 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15837 2011-11-29 Joseph Myers <joseph@codesourcery.com>
15839 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15840 conditional on GCC version.
15841 (__arch_compare_and_exchange_val_8_acq)
15842 (__arch_compare_and_exchange_val_16_acq)
15843 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15844 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15845 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15847 2011-12-02 Joseph Myers <joseph@codesourcery.com>
15849 * sysdeps/sh/backtrace.c: New file.
15851 2011-12-02 Andreas Schwab <schwab@redhat.com>
15853 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15856 2011-12-01 Andreas Schwab <schwab@redhat.com>
15858 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15859 falling back to utime.
15861 2011-11-30 Andreas Schwab <schwab@redhat.com>
15863 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15864 expectations for float.
15866 2011-11-29 Andreas Schwab <schwab@redhat.com>
15868 * locale/weight.h (findidx): Add parameter len.
15869 * locale/weightwc.h (findidx): Likewise.
15870 * posix/fnmatch_loop.c (FCT): Adjust caller.
15871 * posix/regcomp.c (build_equiv_class): Likewise.
15872 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15873 * posix/regexec.c (check_node_accept_bytes): Likewise.
15874 * string/strcoll_l.c (STRCOLL): Likewise.
15875 * string/strxfrm_l.c (STRXFRM): Likewise.
15877 2011-11-17 Ulrich Drepper <drepper@gmail.com>
15879 * Makefile.in: Remove CVSOPT handling.
15880 * configure.in: Remove use of AC_REVISION.
15881 * iconvdata/Makefile (distribute): No need to filter out CVS.
15882 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15885 2011-11-16 Andreas Schwab <schwab@redhat.com>
15887 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15888 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15889 [USE_AS_STRNCASECMP_L]: Likewise.
15890 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15891 NO_TLS_DIRECT_SEG_REFS.
15892 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15893 Fix argument offsets for non-PIC.
15894 [USE_AS_STRNCASECMP_L]: Likewise.
15895 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15896 NO_TLS_DIRECT_SEG_REFS.
15898 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15900 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
15902 * locale/loadlocale.c (_nl_load_locale): Likewise.
15904 2011-11-15 Andreas Schwab <schwab@redhat.com>
15906 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15907 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15908 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15909 (SYSCALL_GETTIME): Set errno on error.
15911 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15912 count references to noai6ai_cached.
15914 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15916 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15918 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15919 FD_CLOEXEC for /proc/self/maps.
15921 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15922 FD_CLOEXEC for /proc/meminfo.
15924 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15927 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15928 FD_CLOEXEC for given file.
15930 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15932 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15933 FD_CLOEXEC for /etc/hosts.
15934 (_gethtent): Likewise.
15936 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15938 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15939 cancellation and set FD_CLOEXEC for /etc/netgroup.
15941 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15942 reading /etc/publickey.
15944 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15945 allow cancellation when reading /etc/group.
15947 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15949 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15951 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15952 when using data file.
15954 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15956 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15957 (write_nis_obj): Use "c" and "e" in fopen.
15959 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
15961 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
15963 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
15965 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
15967 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
15970 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
15972 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
15974 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
15976 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
15977 file parsing and set FD_CLOEXEC.
15979 2011-11-14 Ulrich Drepper <drepper@gmail.com>
15981 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
15983 2011-11-14 Andreas Schwab <schwab@redhat.com>
15985 * malloc/arena.c (arena_get2): Don't call reused_arena when
15986 _int_new_arena failed.
15988 2011-11-14 Ulrich Drepper <drepper@gmail.com>
15990 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
15991 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
15992 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
15993 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15994 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15995 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
15996 to compile strcasecmp and strncasecmp.
15997 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
15998 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16002 2011-11-13 Ulrich Drepper <drepper@gmail.com>
16004 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16005 locale-defines.sym to gen-as-const-headers.
16006 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16007 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16009 to compile strcasecmp and strncasecmp.
16010 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16011 strcasecmp_l and strncasecmp_l.
16012 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16013 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16014 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16015 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16016 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16017 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16018 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16019 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16020 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16021 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16022 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16024 2011-11-12 Ulrich Drepper <drepper@gmail.com>
16026 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16027 result of SYSDEP_GETTIME_CPU to retval.
16028 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16029 parameter list to macro. Remove trailing semicolon. Adjust users.
16031 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16034 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16036 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16038 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16039 from unused variable.
16041 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16043 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16046 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16049 * sunrpc/rpc_prot.c (rejected): Fix case value.
16051 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16052 unsigned long long int to avoid warnings in shift.
16054 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16056 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16059 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16060 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16061 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16063 * nis/nis_table.c (nis_list): Use variable of correct type for
16064 result of __follow_path call.
16066 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16068 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16069 of math functions ceil, trunc, floor, round, and sqrt, when
16070 avaliable on the platform.
16071 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16073 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16074 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16075 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16077 2011-10-30 Marek Polacek <mpolacek@redhat.com>
16079 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16080 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16082 2011-11-11 Roland McGrath <roland@hack.frob.com>
16084 * include/unistd.h: Fix __readlink return type.
16085 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16087 2011-11-11 Ulrich Drepper <drepper@gmail.com>
16089 * stdlib/ucontext.h: Undo last change for makecontext.
16091 2011-11-11 Andreas Schwab <schwab@redhat.com>
16093 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16095 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16096 * setjmp/setjmp.h: Mark functions as non-leaf.
16097 * setjmp/bits/setjmp2.h: Likewise.
16098 * stdlib/ucontext.h: Likewise.
16100 2011-11-10 Andreas Schwab <schwab@redhat.com>
16102 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16103 (reused_arena): Don't check arena limit.
16104 (arena_get2): Atomically check arena limit.
16106 2011-11-08 Ulrich Drepper <drepper@gmail.com>
16108 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16109 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16111 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16114 2011-11-07 Andreas Schwab <schwab@redhat.com>
16116 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16117 handler when locking.
16119 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16120 Fix size of allocated buffer.
16122 2011-11-04 Andreas Schwab <schwab@redhat.com>
16125 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16126 declarations for long double functions.
16127 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16129 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16131 2011-11-03 Andreas Schwab <schwab@redhat.com>
16133 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16136 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16139 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16141 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16143 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16145 * include/alloca.h (stackinfo_alloca_round): Define.
16146 (extend_alloca): Use it.
16147 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16148 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16151 * scripts/check-local-headers.sh: Ignore libaudit.h.
16153 * nscd/Makefile (extra-objs): Make recursively expanded.
16155 2011-11-01 Ulrich Drepper <drepper@gmail.com>
16157 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16158 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16160 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16161 * posix/tst-rfc3484-2.c: Likewise.
16162 * posix/tst-rfc3484-3.c: Likewise.
16164 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16166 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16168 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16169 process_vm_writev from libc using GLIBC_2.15 version.
16171 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16173 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16175 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16178 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16181 * nss/getent.c (initgroups_keys): Show error message in case no group
16184 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16185 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16186 __bump_nl_timestamp.
16187 * nscd/connections (nscd_init): When host database is served open
16188 netlink socket and request notification about configuration changes.
16189 (main_loop_poll): Track netlink file descriptor and bump timestamp
16190 in case data becomes available.
16191 (main_loop_epoll): Likewise.
16192 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16193 (database_pers_head): Add extra_data fileds.
16194 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16195 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16196 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16198 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16199 in6ai data, call __free_in6ai.
16200 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16201 Add -DHAVE_NETLINK.
16202 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16203 interface information. Reuse previous data if netlink timestamp
16205 (__bump_nl_timestamp): New function.
16206 (__free_in6ai): New function.
16208 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16210 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16211 close_not_cancel_no_status here.
16212 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16214 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16217 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16220 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16221 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16222 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16224 2011-07-03 Andreas Jaeger <aj@suse.de>
16227 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16228 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16229 * math/libm-test.inc (sin_test): Add test case.
16231 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16234 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16235 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16237 * elf/chroot_canon.c (chroot_canon): Cleanups.
16239 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16242 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16243 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16245 * string/test-strchr.c: Make usable for strchrnul testing.
16246 * string/test-strchrnul.c: New file.
16247 * string/Makefile (strop-tests): Add strchrnul.
16249 * po/it.po: Update from translation team.
16250 * po/es.po: Likewise.
16252 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16254 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16255 the three constants needed as parameters. Drop the others.
16256 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16257 __m128i_strloadu_tolower.
16258 Create and initialize variable zero and use it in all the places
16259 where _mm_setzero_si128 was used.
16261 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16262 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16263 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16264 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16266 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16267 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16268 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16269 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16270 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16271 __mpranred, __mptan.
16272 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16273 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16274 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16275 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16276 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16277 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16278 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16279 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16280 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16282 2011-10-28 Andreas Schwab <schwab@redhat.com>
16284 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16285 redefine if SHARED.
16286 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16288 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16289 wide char related routines to wcsmbs subdir.
16291 2011-10-27 Andreas Schwab <schwab@redhat.com>
16294 * misc/sys/cdefs.h (__THROWNL): Define.
16295 * posix/unistd.h: Use __THREADNL instead of __THREAD
16296 for memory synchronization functions.
16298 2011-10-26 Roland McGrath <roland@hack.frob.com>
16301 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16303 * manual/stdio.texi (Obstack Streams): Node removed.
16305 2011-10-26 Andreas Schwab <schwab@redhat.com>
16307 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16308 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16309 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16311 * math/math_private.h (math_force_eval): Allow non-addressable
16313 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16315 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16317 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16318 file is not needed.
16320 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16321 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16322 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16323 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16324 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16325 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16326 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16327 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16329 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16330 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16331 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16332 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16333 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16334 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16335 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16336 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16337 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16338 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16339 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16340 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16341 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16342 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16343 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16344 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16345 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16346 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16347 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16349 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16350 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16352 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16353 place. Use VEX encoding when compiling for AVX.
16355 2011-10-25 Andreas Schwab <schwab@redhat.com>
16357 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16358 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16360 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16362 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16364 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16365 useless if() expression.
16366 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16367 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16368 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16369 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16370 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16371 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16372 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16373 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16374 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16375 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16376 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16377 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16378 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16379 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16380 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16381 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16382 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16383 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16384 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16386 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16388 2011-10-25 Andreas Schwab <schwab@redhat.com>
16390 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16392 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16394 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16396 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16397 .text section. Avoid duplicate constants.
16398 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16400 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16402 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16404 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16406 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16407 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16408 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16409 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16410 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16411 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16412 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16413 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16414 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16415 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16416 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16417 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16418 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16419 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16420 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16421 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16422 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16423 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16424 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16425 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16426 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16427 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16428 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16429 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16430 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16431 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16432 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16433 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16434 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16435 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16436 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16437 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16438 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16439 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16440 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16441 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16442 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16444 2011-10-24 Ulrich Drepper <drepper@gmail.com>
16446 * sysdeps/x86_64/dla.h: Move to ...
16447 * sysdeps/x86_64/fpu/dla.h: ...here.
16448 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16449 situations. Use __builtin_fma only for gcc 4.6 and up.
16451 * config.make.in: Add have-mfma4 entry.
16452 * configure.in: Substitute libc_cv_cc_fma4.
16453 * math/Makefile (dbl-only-routines): Add sincostab.
16454 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16455 Use __sincostab not sincos.
16456 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16458 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16463 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16464 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16465 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16466 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16468 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16469 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16471 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16472 define aliases when function name is a macro.
16473 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16474 sysdeps/ieee754/dbl-64/sincos.tbl.
16475 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16476 fma4-enabled routines.
16477 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16478 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16479 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16480 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16481 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16482 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16483 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16484 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16485 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16486 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16487 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16488 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16489 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16490 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16491 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16492 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16493 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16494 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16495 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16496 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16497 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16498 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16499 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16500 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16501 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16502 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16503 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16504 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16505 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16506 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16508 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16510 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16512 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16513 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16514 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16515 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16516 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16517 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16519 2011-10-24 Andreas Schwab <schwab@redhat.com>
16521 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16523 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16525 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16527 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16529 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16531 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16532 Remove unused variable magic_bits.
16533 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16535 * string/strnlen.c: Define and use STRNLEN macro.
16536 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16537 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16538 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16539 * wcsmbs/wcslen.c: Define and use WCSLEN.
16540 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16541 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16542 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16543 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16544 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16545 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16546 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16548 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16551 strnlen-sse2-no-bsf.
16552 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16553 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16554 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16555 Add strnlen support.
16556 (USE_AS_STRNLEN): New macro.
16557 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16558 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16559 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16560 * sysdeps/x86_64/wcslen.S: New file.
16562 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16564 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16565 XMM-moves are used for copying on small sizes.
16567 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16569 * wcsmbs/Makefile (strop-tests): Add wcschr.
16570 * wcsmbs/test-wcschr.c: New file.
16571 * string/test-strchr.c: Update.
16572 Add wcschr support.
16575 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16577 * wcsmbs/Makefile (strop-tests): Add wcslen.
16578 * wcsmbs/test-wcslen.c: New file.
16579 * string/test-strlen.c: Update.
16580 Add wcslen support.
16583 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16585 * po/it.po: Update from translation team.
16587 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16589 * sysdeps/x86_64/wcscmp.S: Update.
16590 Fix wrong comparison semantics.
16591 wcscmp shall use signed comparison not unsigned.
16592 Don't use substraction to avoid overflow bug.
16593 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16594 * wcsmbc/wcscmp.c: Likewise.
16595 * string/test-strcmp.c: Likewise.
16596 Add new tests to check cases with negative values.
16598 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16600 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16601 * sysdeps/x86_64/dla.h: ...here. New file.
16602 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16603 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16612 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16614 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16615 __ynl_finite aliases.
16617 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16621 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16623 [DLA_FMA] (EMULV): Use DLA_FMA.
16624 [DLA_FMA] (MUL12): Use EMULV.
16625 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16626 that are not needed.
16627 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16635 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16637 * math/s_nan.c: Undef __nan.
16638 * math/s_nanf.c: Undef __nanf.
16639 * math/s_nanl.c: Undef __nanl.
16640 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16643 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16645 * math/s_catan.c: Add branch predictions.
16646 * math/s_catanf.c: Likewise.
16647 * math/s_catanh.c: Likewise.
16648 * math/s_catanhf.c: Likewise.
16649 * math/s_catanhl.c: Likewise.
16650 * math/s_catanl.c: Likewise.
16651 * math/s_cexp.c: Likewise.
16652 * math/s_cexpf.c: Likewise.
16653 * math/s_cexpl.c: Likewise.
16654 * math/s_clog.c: Likewise.
16655 * math/s_clog10.c: Likewise.
16656 * math/s_clog10f.c: Likewise.
16657 * math/s_clog10l.c: Likewise.
16658 * math/s_clogf.c: Likewise.
16659 * math/s_clogl.c: Likewise.
16660 * math/s_csqrt.c: Likewise.
16661 * math/s_csqrtf.c: Likewise.
16662 * math/s_csqrtl.c: Likewise.
16663 * math/s_ctanf.c: Likewise.
16664 * math/s_ctanh.c: Likewise.
16665 * math/s_ctanhf.c: Likewise.
16666 * math/s_ctanhl.c: Likewise.
16667 * math/s_ctanl.c: Likewise.
16669 * math/math_private.h: Define __nan, __nanf, __nanl.
16670 * math/s_cacosh.c: Include <math_private.h>.
16671 * math/s_cacoshl.c: Likewise.
16672 * math/s_casinh.c: Likewise.
16673 * math/s_casinhf.c: Likewise.
16674 * math/s_casinhl.c: Likewise.
16675 * math/s_ccos.c: Rely entire on ccosh.
16676 * math/s_ccosf.c: Rely entire on ccoshf.
16677 * math/s_ccosl.c: Rely entirely on ccoshl.
16678 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16679 Remove tests for FE_INVALID.
16680 * math/s_ccoshf.c: Likewise.
16681 * math/s_ccoshl.c: Likewise.
16682 * math/s_csin.c: Likewise.
16683 * math/s_csinf.c: Likewise.
16684 * math/s_csinh.c Likewise.
16685 * math/s_csinhf.c: Likewise.
16686 * math/s_csinhl.c: Likewise.
16687 * math/s_csinl.c: Likewise.
16688 * math/s_ctan.c: Likewise.
16689 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16690 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16691 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16693 2011-10-21 Ulrich Drepper <drepper@gmail.com>
16695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16696 compilation problems.
16698 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16701 2011-10-20 Ulrich Drepper <drepper@gmail.com>
16703 * sysdeps/i386/configure.in: Test for -mfma4 option.
16704 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16705 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16706 COMMON_CPUID_INDEX_80000001.
16707 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16708 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16709 use it if FMA3 is not supported.
16710 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16712 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16713 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16715 2011-10-20 Andreas Schwab <schwab@redhat.com>
16718 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16719 it would create a cycle with a link time dependency.
16721 2011-10-19 Ulrich Drepper <drepper@gmail.com>
16723 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16725 * string/Makefile (strop-tests): Add rawmemchr.
16726 * string/test-rawmemchr.c: New file.
16728 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16729 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16730 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16731 when compiling str{,n}casecmp and when AVX is available. Hook up
16732 new optimized code in initializers.
16734 2011-10-19 Andreas Schwab <schwab@redhat.com>
16736 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16737 __feraiseexcept instead of feraiseexcept.
16739 2011-10-18 Ulrich Drepper <drepper@gmail.com>
16741 * math/math_private.h: Define defaults for libc_fetestexcept and
16743 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16744 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16745 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16746 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16747 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16748 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16749 libc_fetestexcept and libc_feupdateenv.
16751 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16752 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16753 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16754 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16755 libc_feholdexcept_setround.
16757 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16758 Add s_nearbyint-c and s_nearbyintf-c.
16759 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16760 nearbyintf inlines.
16761 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16762 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16763 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16764 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16766 * math/math_private.h: Define defaults for libc_fegetround,
16767 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16768 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16769 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16770 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16771 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16772 standard functions.
16773 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16774 Remove comments and hacks for old compiler versions.
16775 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16776 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16777 libc_feholdexceptl.
16779 2011-10-18 Andreas Schwab <schwab@redhat.com>
16781 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16782 (__feraiseexcept_renamed): Add __NTH.
16783 (feraiseexcept): Add __NTH. Rename local variables to fix
16784 namespace violations.
16786 2011-10-17 Ulrich Drepper <drepper@gmail.com>
16788 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16790 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16792 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16793 recently added interfaces.
16794 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16796 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16797 about macro parameter expansion.
16799 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16800 __NO_MATH_INLINES is defined. Cleanups.
16802 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16803 and __floorf is target has SSE4.1.
16804 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16805 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16806 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16807 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16809 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16811 (floorf): Likewise.
16813 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16815 2011-10-17 Andreas Schwab <schwab@redhat.com>
16817 * misc/sys/cdefs.h: Fix last change.
16819 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16822 2011-10-16 Ulrich Drepper <drepper@gmail.com>
16824 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16826 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16827 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16828 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16829 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16830 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16831 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16832 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16833 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16834 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16835 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16836 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16837 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16838 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16839 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16840 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16841 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16842 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16843 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16844 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16845 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16846 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16847 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16849 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16850 ceil, ceilf, floor, floorf.
16852 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16853 Perform IRELATIVE relocations last.
16855 * elf/do-rel.h: Add another parameter nrelative, replacing the
16856 local variable with the same name. Change name of the function
16857 to end in Rel or Rela (uppercase).
16858 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16859 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16860 elf_dynamic_do_##reloc function.
16862 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16864 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16865 is sufficient, at least on modern CPUs.
16867 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16869 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16870 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16872 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16874 * math/bits/math-finite.h: Add entries for exp.
16875 * math/e_expl.c: Add __*_finite alias.
16876 * sysdeps/i386/fpu/e_exp.S: Likewise.
16877 * sysdeps/i386/fpu/e_expf.S: Likewise.
16878 * sysdeps/i386/fpu/e_expl.c: Likewise.
16879 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16880 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16881 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16882 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16883 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16884 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16885 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16887 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16888 is sufficient, at least on modern CPUs.
16890 * ctype/ctype-info.c (__ctype_init): Define.
16891 * include/ctype.h (__ctype_init): Declare.
16892 (__ctype_b_loc): The variable is always initialized.
16893 (__ctype_toupper_loc): Likewise.
16894 (__ctype_tolower_loc): Likewise.
16895 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16896 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16898 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16900 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16902 * configure.in: Also look in $cxxmachine/include for C++ system
16905 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16907 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16908 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16909 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16910 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16911 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16912 (USE_AS_WMEMCMP): New macro.
16914 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16915 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16916 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16917 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16919 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16920 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16921 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16922 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16923 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16924 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16925 (USE_AS_WMEMCMP): New macro.
16926 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16927 * sysdeps/string/test-memcmp.c: Update.
16928 Fix simple_wmemcmp.
16930 * wcsmbs/wmemcmp.c: Update.
16931 (WMEMCMP): New macro.
16934 2011-10-12 Andreas Jaeger <aj@suse.de>
16937 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16939 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16941 * libio/iofwide.c (do_length): Avoid warning.
16943 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16945 2011-10-14 Ulrich Drepper <drepper@gmail.com>
16947 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16949 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16950 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16951 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16952 * sysdeps/i386/i686/fpu/e_log.S: New file.
16953 * sysdeps/i386/i686/fpu/e_logf.S: New file.
16954 * sysdeps/i386/i686/fpu/e_logl.S: New file.
16956 * ctype/ctype.h: Add support for inlined isXXX functions when
16957 compiling C++ code.
16959 2011-10-14 Andreas Schwab <schwab@redhat.com>
16961 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16963 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
16965 2011-10-13 Roland McGrath <roland@hack.frob.com>
16968 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
16970 2011-10-13 Andreas Schwab <schwab@redhat.com>
16972 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
16973 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
16976 * sysdeps/x86_64/memrchr.S: Check for zero size.
16978 * string/stratcliff.c: Add memrchr tests.
16980 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16982 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16983 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
16984 rawmemchr-sse2 rawmemchr-sse2-bsf.
16985 * sysdeps/i386/i686/multiarch/memchr.S: New file.
16986 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
16987 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
16988 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
16989 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
16990 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
16991 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
16992 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
16993 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
16994 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
16995 * string/memrchr.c (MEMRCHR): New macro.
16997 2011-10-12 Ulrich Drepper <drepper@gmail.com>
16999 Add integration with gcc's -ffinite-math-only and optimize wrapper
17001 * Versions.def: Define GLIBC_2.15 version for libm.
17002 * math/Makefile (headers): Add bits/math-finite.h.
17003 * math/bits/math-finite.h: New file.
17004 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17005 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17006 * math/e_acoshl.c: Add __*_finite alias.
17007 * math/e_acosl.c: Likewise.
17008 * math/e_asinl.c: Likewise.
17009 * math/e_atan2l.c: Likewise.
17010 * math/e_atanhl.c: Likewise.
17011 * math/e_coshl.c: Likewise.
17012 * math/e_exp10.c: Likewise.
17013 * math/e_exp10f.c: Likewise.
17014 * math/e_exp10l.c: Likewise.
17015 * math/e_exp2l.c: Likewise.
17016 * math/e_fmodl.c: Likewise.
17017 * math/e_gammal_r.c: Likewise.
17018 * math/e_hypotl.c: Likewise.
17019 * math/e_j0l.c: Likewise.
17020 * math/e_j1l.c: Likewise.
17021 * math/e_jnl.c: Likewise.
17022 * math/e_lgammal_r.c: Likewise.
17023 * math/e_log10l.c: Likewise.
17024 * math/e_log2l.c: Likewise.
17025 * math/e_logl.c: Likewise.
17026 * math/e_powl.c: Likewise.
17027 * math/e_sinhl.c: Likewise.
17028 * math/e_sqrtl.c: Likewise.
17029 * math/e_scalb.c: Completely rewritten and optimized.
17030 * math/e_scalbf.c: Likewise.
17031 * math/e_scalbl.c: Likewise.
17032 * math/w_acos.c: Likewise.
17033 * math/w_acosf.c: Likewise.
17034 * math/w_acosl.c: Likewise.
17035 * math/w_acosh.c: Likewise.
17036 * math/w_acoshf.c: Likewise.
17037 * math/w_acoshl.c: Likewise.
17038 * math/w_asin.c: Likewise.
17039 * math/w_asinf.c: Likewise.
17040 * math/w_asinl.c: Likewise.
17041 * math/w_atan2.c: Likewise.
17042 * math/w_atan2f.c: Likewise.
17043 * math/w_atan2l.c: Likewise.
17044 * math/w_atanh.c: Likewise.
17045 * math/w_atanhf.c: Likewise.
17046 * math/w_atanhl.c: Likewise.
17047 * math/w_exp10.c: Likewise.
17048 * math/w_exp10f.c: Likewise.
17049 * math/w_exp10l.c: Likewise.
17050 * math/w_fmod.c: Likewise.
17051 * math/w_fmodf.c: Likewise.
17052 * math/w_fmodl.c: Likewise.
17053 * math/w_j0.c: Likewise.
17054 * math/w_j0f.c: Likewise.
17055 * math/w_j0l.c: Likewise.
17056 * math/w_j1.c: Likewise.
17057 * math/w_j1f.c: Likewise.
17058 * math/w_j1l.c: Likewise.
17059 * math/w_jn.c: Likewise.
17060 * math/w_jnf.c: Likewise.
17061 * math/w_log.c: Likewise.
17062 * math/w_logf.c: Likewise.
17063 * math/w_logl.c: Likewise.
17064 * math/w_log10.c: Likewise.
17065 * math/w_log10f.c: Likewise.
17066 * math/w_log10l.c: Likewise.
17067 * math/w_log2.c: Likewise.
17068 * math/w_log2f.c: Likewise.
17069 * math/w_log2l.c: Likewise.
17070 * math/w_pow.c: Likewise.
17071 * math/w_powf.c: Likewise.
17072 * math/w_powl.c: Likewise.
17073 * math/w_remainder.c: Likewise.
17074 * math/w_remainderf.c: Likewise.
17075 * math/w_remainderl.c: Likewise.
17076 * math/w_scalb.c: Likewise.
17077 * math/w_scalbf.c: Likewise.
17078 * math/w_scalbl.c: Likewise.
17079 * math/w_sqrt.c: Likewise.
17080 * math/w_sqrtf.c: Likewise.
17081 * math/w_sqrtl.c: Likewise.
17082 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17083 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17085 * math/math_private.h: Declare __kernel_standard_f.
17086 * math/w_cosh.c: Remove cruft and optimize a bit.
17087 * math/w_coshf.c: Likewise.
17088 * math/w_coshl.c: Likewise.
17089 * math/w_exp2.c: Likewise.
17090 * math/w_exp2f.c: Likewise.
17091 * math/w_exp2l.c: Likewise.
17092 * math/w_hypot.c: Likewise.
17093 * math/w_hypotf.c: Likewise.
17094 * math/w_hypotl.c: Likewise.
17095 * math/w_lgamma.c: Likewise.
17096 * math/w_lgamma_r.c: Likewise.
17097 * math/w_lgammaf.c: Likewise.
17098 * math/w_lgammaf_r.c: Likewise.
17099 * math/w_lgammal.c: Likewise.
17100 * math/w_lgammal_r.c: Likewise.
17101 * math/w_sinh.c: Likewise.
17102 * math/w_sinhf.c: Likewise.
17103 * math/w_sinhl.c: Likewise.
17104 * math/w_tgamma.c: Likewise.
17105 * math/w_tgammaf.c: Likewise.
17106 * math/w_tgammal.c: Likewise.
17107 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17108 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17109 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17110 Minor optimizations. Pretty printing. Remove cruft.
17111 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17112 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17113 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17114 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17115 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17116 * sysdeps/i386/fpu/e_asin.S: Likewise.
17117 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17118 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17119 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17120 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17121 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17122 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17123 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17124 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17125 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17126 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17127 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17128 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17129 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17130 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17131 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17132 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17133 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17134 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17135 * sysdeps/i386/fpu/e_log.S: Likewise.
17136 * sysdeps/i386/fpu/e_log10.S: Likewise.
17137 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17138 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17139 * sysdeps/i386/fpu/e_log2.S: Likewise.
17140 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17141 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17142 * sysdeps/i386/fpu/e_logf.S: Likewise.
17143 * sysdeps/i386/fpu/e_logl.S: Likewise.
17144 * sysdeps/i386/fpu/e_pow.S: Likewise.
17145 * sysdeps/i386/fpu/e_powf.S: Likewise.
17146 * sysdeps/i386/fpu/e_powl.S: Likewise.
17147 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17148 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17149 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17150 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17151 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17152 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17153 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17154 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17155 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17156 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17157 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17159 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17160 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17161 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17162 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17163 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17164 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17165 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17166 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17167 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17168 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17169 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17170 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17171 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17172 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17173 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17174 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17175 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17176 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17177 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17178 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17179 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17180 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17181 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17182 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17183 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17184 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17185 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17186 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17187 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17188 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17189 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17190 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17191 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17192 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17193 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17194 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17195 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17196 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17197 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17198 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17199 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17200 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17201 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17202 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17203 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17204 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17205 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17206 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17207 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17208 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17210 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17211 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17212 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17213 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17214 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17215 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17216 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17217 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17218 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17219 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17220 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17221 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17222 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17223 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17224 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17228 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17230 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17231 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17232 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17233 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17234 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17235 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17236 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17237 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17238 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17239 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17240 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17241 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17242 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17243 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17244 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17245 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17246 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17247 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17248 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17249 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17250 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17251 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17252 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17253 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17254 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17255 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17256 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17257 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17258 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17259 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17260 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17261 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17262 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17263 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17264 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17265 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17266 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17267 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17268 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17269 (__isnanf): Likewise.
17270 (__isinf_ns): Likewise.
17271 (__isinf_nsf): Likewise.
17272 (__finite): Likewise.
17273 (__finitef): Likewise.
17274 (__ieee754_sqrt): Define as macro.
17275 (__ieee754_sqrtf): Define as macro.
17276 (__ieee754_sqrtl): Define as macro.
17277 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17279 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17280 __FINITE_MATH_ONLY__ consistent.
17281 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17283 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17285 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17288 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17290 2011-10-09 Ulrich Drepper <drepper@gmail.com>
17292 * po/ja.po: Update from translation team.
17294 2011-10-08 Roland McGrath <roland@hack.frob.com>
17296 * locale/programs/locarchive.c (prepare_address_space): New function.
17297 (create_archive, enlarge_archive, open_archive): Use it.
17299 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17300 inside [SHARED], where it is used.
17302 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17304 * nss/getent.c (netgroup_keys): Remove unused variable.
17305 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17307 2011-10-08 Ulrich Drepper <drepper@gmail.com>
17309 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17310 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17311 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17312 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17313 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17314 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17315 * math/Makefile (libm-calls): Add s_isinf_ns.
17316 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17317 * math/multc3.c: Likewise.
17318 * math/s_casin.c: Likewise.
17319 * math/s_casinf.c: Likewise.
17320 * math/s_casinl.c: Likewise.
17321 * math/s_ccos.c: Likewise.
17322 * math/s_ccosf.c: Likewise.
17323 * math/s_ccosl.c: Likewise.
17324 * math/s_ctan.c: Likewise.
17325 * math/s_ctanf.c: Likewise.
17326 * math/s_ctanh.c: Likewise.
17327 * math/s_ctanhf.c: Likewise.
17328 * math/s_ctanhl.c: Likewise.
17329 * math/s_ctanl.c: Likewise.
17330 * math/w_fmod.c: Likewise.
17331 * math/w_fmodf.c: Likewise.
17332 * math/w_fmodl.c: Likewise.
17333 * math/w_remainder.c: Likewise.
17334 * math/w_remainderf.c: Likewise.
17335 * math/w_remainderl.c: Likewise.
17336 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17337 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17338 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17339 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17340 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17341 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17342 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17343 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17345 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17347 * stdio-common/printf_fphex.c: Likewise.
17348 * stdio-common/printf_size.c: Likewise.
17350 * math/e_exp10.c: Include math_private.h using <...> not "...".
17351 * math/e_exp10f.c: Likewise.
17352 * math/e_exp10l.c: Likewise.
17353 * math/e_exp2l.c: Likewise.
17354 * math/e_j0l.c: Likewise.
17355 * math/e_j1l.c: Likewise.
17356 * math/e_jnl.c: Likewise.
17357 * math/e_lgammal_r.c: Likewise.
17358 * math/e_rem_pio2l.c: Likewise.
17359 * math/e_scalb.c: Likewise.
17360 * math/e_scalbf.c: Likewise.
17361 * math/e_scalbl.c: Likewise.
17362 * math/k_cosl.c: Likewise.
17363 * math/k_sinl.c: Likewise.
17364 * math/k_tanl.c: Likewise.
17365 * math/s_cacoshf.c: Likewise.
17366 * math/s_catan.c: Likewise.
17367 * math/s_catanf.c: Likewise.
17368 * math/s_catanh.c: Likewise.
17369 * math/s_catanhf.c: Likewise.
17370 * math/s_catanhl.c: Likewise.
17371 * math/s_catanl.c: Likewise.
17372 * math/s_ccosh.c: Likewise.
17373 * math/s_ccoshf.c: Likewise.
17374 * math/s_ccoshl.c: Likewise.
17375 * math/s_cexp.c: Likewise.
17376 * math/s_cexpf.c: Likewise.
17377 * math/s_cexpl.c: Likewise.
17378 * math/s_clog.c: Likewise.
17379 * math/s_clog10.c: Likewise.
17380 * math/s_clog10f.c: Likewise.
17381 * math/s_clog10l.c: Likewise.
17382 * math/s_clogf.c: Likewise.
17383 * math/s_clogl.c: Likewise.
17384 * math/s_csin.c: Likewise.
17385 * math/s_csinf.c: Likewise.
17386 * math/s_csinh.c: Likewise.
17387 * math/s_csinhf.c: Likewise.
17388 * math/s_csinhl.c: Likewise.
17389 * math/s_csinl.c: Likewise.
17390 * math/s_csqrt.c: Likewise.
17391 * math/s_csqrtf.c: Likewise.
17392 * math/s_csqrtl.c: Likewise.
17393 * math/s_ctan.c: Likewise.
17394 * math/s_ctanf.c: Likewise.
17395 * math/s_ctanh.c: Likewise.
17396 * math/s_ctanhf.c: Likewise.
17397 * math/s_ctanhl.c: Likewise.
17398 * math/s_ctanl.c: Likewise.
17399 * math/s_ldexp.c: Likewise.
17400 * math/s_ldexpf.c: Likewise.
17401 * math/s_ldexpl.c: Likewise.
17402 * math/s_significand.c: Likewise.
17403 * math/s_significandf.c: Likewise.
17404 * math/s_significandl.c: Likewise.
17405 * math/w_acos.c: Likewise.
17406 * math/w_acosf.c: Likewise.
17407 * math/w_acosh.c: Likewise.
17408 * math/w_acoshf.c: Likewise.
17409 * math/w_acoshl.c: Likewise.
17410 * math/w_acosl.c: Likewise.
17411 * math/w_asin.c: Likewise.
17412 * math/w_asinf.c: Likewise.
17413 * math/w_asinl.c: Likewise.
17414 * math/w_atan2.c: Likewise.
17415 * math/w_atan2f.c: Likewise.
17416 * math/w_atan2l.c: Likewise.
17417 * math/w_atanh.c: Likewise.
17418 * math/w_atanhf.c: Likewise.
17419 * math/w_atanhl.c: Likewise.
17420 * math/w_cosh.c: Likewise.
17421 * math/w_coshf.c: Likewise.
17422 * math/w_coshl.c: Likewise.
17423 * math/w_dremf.c: Likewise.
17424 * math/w_exp10.c: Likewise.
17425 * math/w_exp10f.c: Likewise.
17426 * math/w_exp10l.c: Likewise.
17427 * math/w_exp2.c: Likewise.
17428 * math/w_exp2f.c: Likewise.
17429 * math/w_fmod.c: Likewise.
17430 * math/w_fmodf.c: Likewise.
17431 * math/w_fmodl.c: Likewise.
17432 * math/w_hypot.c: Likewise.
17433 * math/w_hypotf.c: Likewise.
17434 * math/w_hypotl.c: Likewise.
17435 * math/w_j0.c: Likewise.
17436 * math/w_j0f.c: Likewise.
17437 * math/w_j0l.c: Likewise.
17438 * math/w_j1.c: Likewise.
17439 * math/w_j1f.c: Likewise.
17440 * math/w_j1l.c: Likewise.
17441 * math/w_jn.c: Likewise.
17442 * math/w_jnf.c: Likewise.
17443 * math/w_jnl.c: Likewise.
17444 * math/w_lgamma.c: Likewise.
17445 * math/w_lgamma_r.c: Likewise.
17446 * math/w_lgammaf.c: Likewise.
17447 * math/w_lgammaf_r.c: Likewise.
17448 * math/w_lgammal.c: Likewise.
17449 * math/w_lgammal_r.c: Likewise.
17450 * math/w_log.c: Likewise.
17451 * math/w_log10.c: Likewise.
17452 * math/w_log10f.c: Likewise.
17453 * math/w_log10l.c: Likewise.
17454 * math/w_log2.c: Likewise.
17455 * math/w_log2f.c: Likewise.
17456 * math/w_log2l.c: Likewise.
17457 * math/w_logf.c: Likewise.
17458 * math/w_logl.c: Likewise.
17459 * math/w_pow.c: Likewise.
17460 * math/w_powf.c: Likewise.
17461 * math/w_powl.c: Likewise.
17462 * math/w_remainder.c: Likewise.
17463 * math/w_remainderf.c: Likewise.
17464 * math/w_remainderl.c: Likewise.
17465 * math/w_scalb.c: Likewise.
17466 * math/w_scalbf.c: Likewise.
17467 * math/w_scalbl.c: Likewise.
17468 * math/w_sinh.c: Likewise.
17469 * math/w_sinhf.c: Likewise.
17470 * math/w_sinhl.c: Likewise.
17471 * math/w_sqrt.c: Likewise.
17472 * math/w_sqrtf.c: Likewise.
17473 * math/w_sqrtl.c: Likewise.
17474 * math/w_tgamma.c: Likewise.
17475 * math/w_tgammaf.c: Likewise.
17476 * math/w_tgammal.c: Likewise.
17478 * po/ja.po: Update from translation team.
17480 2011-09-29 Andreas Jaeger <aj@suse.de>
17483 * sunrpc/netname.c (netname2host): Fix logic.
17487 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17489 * math/w_remainder.c (__remainder): Likewise.
17490 * math/w_remainderf.c (__remainderf): Likewise.
17491 * math/libm-test.inc (remainder_test): Add test cases.
17493 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17495 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17498 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17500 * string/test-memcmp.c: Avoid unncessary #defines.
17501 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17503 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17505 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17506 Use new sse2 version for core i3 - i7 as it's faster
17507 than sse42 version.
17508 (bit_Prefer_PMINUB_for_stringop): New.
17509 * sysdeps/x86_64/rawmemchr.S: Update.
17510 Replace with faster SSE2 version.
17511 * sysdeps/x86_64/memrchr.S: New file.
17512 * sysdeps/x86_64/memchr.S: Update.
17513 Replace with faster SSE2 version.
17515 2011-09-12 Marek Polacek <mpolacek@redhat.com>
17517 * elf/dl-load.c (lose): Add cast to avoid warning.
17519 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17521 * po/ca.po: Update from translation team.
17523 * inet/getnetgrent_r.c: Hook up nscd.
17524 * nscd/Makefile (routines): Add nscd_netgroup.
17525 (nscd-modules): Add netgroupcache.
17526 (CFLAGS-netgroupcache.c): Define.
17527 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17528 (cache_search): Add const to second parameter.
17529 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17531 (dbs): Add netgrdb entry.
17532 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17533 (verify_persistent_db): Handle netgrdb.
17534 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17535 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17537 (netgroup_response_header): Define.
17538 (innetgroup_response_header): Define.
17539 (datahead): Add netgroup_response_header and innetgroup_response_header
17541 * nscd/nscd.conf: Add entries for netgroup cache.
17542 * nscd/nscd.h (dbtype): Add netgrdb.
17543 (_PATH_NSCD_NETGROUP_DB): Define.
17544 (netgroup_iov_disabled): Declare.
17545 (xmalloc, xcalloc, xrealloc): Move declarations here.
17546 (cache_search): Adjust prototype.
17547 Add netgroup-related prototypes.
17548 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17549 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17550 (__nscd_innetgr): Declare.
17551 * nscd/selinux.c (perms): Use access_vector_t as element type and
17552 add netgroup-related initializers.
17553 * nscd/netgroupcache.c: New file.
17554 * nscd/nscd_netgroup.c: New file.
17555 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17556 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17557 For four parameters use innetgr.
17558 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17559 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17560 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17561 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17563 * nscd/connections.c (register_traced_file): Don't register file
17564 for disabled databases.
17566 2011-10-06 Ulrich Drepper <drepper@gmail.com>
17568 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17570 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17571 from tree and freeing node.
17573 2011-09-25 Jiri Olsa <jolsa@redhat.com>
17575 * nss/nsswitch.c (__nss_database_lookup): Handle
17576 nss_parse_service_list out of memory case.
17578 2011-09-15 Jiri Olsa <jolsa@redhat.com>
17580 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17581 out of memory case.
17583 2011-10-04 Andreas Schwab <schwab@redhat.com>
17585 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17586 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17588 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17589 elf_machine_rela, elf_machine_lazy_rel.
17590 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17591 (ELF_DYNAMIC_DO_REL): Likewise.
17592 (ELF_DYNAMIC_DO_RELA): Likewise.
17593 (ELF_DYNAMIC_RELOCATE): Likewise.
17594 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17595 to ELF_DYNAMIC_DO_REL.
17596 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17597 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17598 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17600 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17601 skip_ifunc, don't call ifunc function if non-zero.
17602 (elf_machine_rela): Likewise.
17603 (elf_machine_lazy_rel): Likewise.
17604 (elf_machine_lazy_rela): Likewise.
17605 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17606 (elf_machine_lazy_rel): Likewise.
17607 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17609 (elf_machine_lazy_rel): Likewise.
17610 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17612 (elf_machine_lazy_rel): Likewise.
17613 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17614 (elf_machine_lazy_rel): Likewise.
17615 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17616 (elf_machine_lazy_rel): Likewise.
17617 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17618 (elf_machine_lazy_rel): Likewise.
17619 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17620 (elf_machine_lazy_rel): Likewise.
17621 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17622 (elf_machine_lazy_rel): Likewise.
17623 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17624 (elf_machine_lazy_rel): Likewise.
17626 2011-09-28 Ulrich Drepper <drepper@gmail.com>
17628 * nss/nss_files/files-init.c (_nss_files_init): Use static
17629 initialization for all the *_traced_file variables.
17631 2011-09-28 Andreas Schwab <schwab@redhat.com>
17633 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17635 2011-09-27 Roland McGrath <roland@hack.frob.com>
17638 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17640 2011-09-27 Andreas Schwab <schwab@redhat.com>
17642 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17643 Reread the line before reparsing it.
17645 2011-09-26 Andreas Schwab <schwab@redhat.com>
17647 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17649 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17650 Maxim Kuvyrkov <maxim@codesourcery.com>
17651 Joseph Myers <joseph@codesourcery.com>
17653 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17654 if needed for __stack_chk_guard.
17656 2011-09-19 Roland McGrath <roland@hack.frob.com>
17658 * sysdeps/posix/spawni.c (script_execute): Always define it.
17659 It will be optimized away if unused.
17660 (maybe_script_execute): New function.
17661 (__spawni): Call it.
17663 * Makerules: Don't include tls.make.
17664 (config-tls): Always set to thread.
17665 * tls.make.c: File removed.
17667 2011-09-19 Mike Frysinger <vapier@gentoo.org>
17669 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17670 * config.make.in (CPPFLAGS-config): New substituted variable.
17672 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17674 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17677 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17678 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17680 2011-09-15 Roland McGrath <roland@hack.frob.com>
17682 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17683 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17684 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17685 (CALL_FAIL): Likewise.
17686 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17687 (CALL_FAIL): Macro removed.
17688 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17690 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17692 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17693 for __FINITE_MATH_ONLY__ == 1.
17695 2011-09-15 Andreas Schwab <schwab@redhat.com>
17697 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17698 __ieee754_sqrt instead of sqrt.
17699 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17700 __ieee754_sqrtf instead of sqrtf.
17701 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17702 __floorf instead of floorf.
17703 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17704 __floorf, __truncf instead of floorf, truncf.
17706 2011-09-14 Ulrich Drepper <drepper@gmail.com>
17708 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17710 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17711 __extern_always_inline.
17712 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17715 2011-09-14 Andreas Schwab <schwab@redhat.com>
17717 * elf/rtld.c (dl_main): Also relocate in dependency order when
17718 doing symbol dependency testing.
17720 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17722 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17723 Always define `refsym'.
17725 2011-09-13 Andreas Schwab <schwab@redhat.com>
17727 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17728 (__FD_ELT): Renamed from __FDELT.
17729 * misc/bits/select2.h (__FD_ELT): Likewise.
17730 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17731 __FD_MASK instead of __FDELT, __FDMASK.
17732 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17734 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17737 * elf/Makefile (gen-ldd): Fix pattern.
17739 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17740 (init_tls): Likewise.
17742 2011-09-12 Ulrich Drepper <drepper@gmail.com>
17744 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17746 2011-09-12 Andreas Schwab <schwab@redhat.com>
17748 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17749 `struct cmsghdr *' instead of `void *'.
17750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17753 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17755 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17757 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17758 ldd_rewrite_script.
17760 2011-09-11 Ulrich Drepper <drepper@gmail.com>
17762 * configure.in: Remove --with-tls option.
17763 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17764 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17765 out in case it is missing.
17766 * sysdeps/ia64/elf/configure.in: Likewise.
17767 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17768 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17769 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17770 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17771 * sysdeps/sh/elf/configure.in: Likewise.
17772 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17773 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17774 * sysdeps/x86_64/elf/configure.in: Likewise.
17775 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17776 * sysdeps/mach/hurd/tls.h: Likewise.
17779 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17782 * configure.in: Fix use of AC_INIT.
17784 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17786 2011-09-10 Ulrich Drepper <drepper@gmail.com>
17788 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17790 * malloc/hooks.c: Likewise.
17793 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17794 variables statically.
17795 (narenas): Initialize.
17796 (list_lock): Initialize.
17797 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17798 initializtion of main_arena and list_lock. Small cleanups.
17799 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17800 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17801 Add initializers to main_arena and mp_.
17802 (malloc_state): Remove pagesize member. Change all users to use
17805 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17806 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17807 is always initialized.
17809 * malloc/malloc.c: Removed unused configurations and dead code.
17810 * malloc/arena.c: Likewise.
17811 * malloc/hooks.c: Likewise.
17812 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
17814 * include/tls.h: Removed. USE___THREAD must always be defined.
17815 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17816 * elf/dl-libc.c: Likewise.
17817 * elf/dl-tsd.c: Likewise.
17818 * include/errno.h: Likewise.
17819 * include/netdb.h: Likewise.
17820 * include/resolv.h: Likewise.
17821 * inet/herrno-loc.c: Likewise.
17822 * inet/herrno.c: Likewise.
17823 * malloc/arena.c: Likewise.
17824 * malloc/hooks.c: Likewise.
17825 * malloc/malloc.c: Likewise.
17826 * resolv/res-state.c: Likewise.
17827 * resolv/res_libc.c: Likewise.
17828 * sysdeps/i386/dl-machine.h: Likewise.
17829 * sysdeps/ia64/dl-machine.h: Likewise.
17830 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17831 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17832 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17833 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17834 * sysdeps/sh/dl-machine.h: Likewise.
17835 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17836 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17837 * sysdeps/unix/i386/sysdep.S: Likewise.
17838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17839 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17840 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17842 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17844 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17847 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17848 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17849 * sysdeps/x86_64/dl-machine.h: Likewise.
17850 * tls.make.c: Likewise.
17852 * configure.in: Remove --with-__thread option. Make tests for
17853 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17854 tls_model attribute fail if no support is available. Remove
17856 * Makeconfig: Adjust for dropped configure option. All features are
17858 * Makerules: Likewise.
17859 * Versions.def: Likewise.
17860 * argp/argp-fmtstream.c: Likewise.
17861 * argp/argp-fmtstream.h: Likewise.
17862 * argp/argp-help.c: Likewise.
17863 * assert/assert.c: Likewise.
17864 * config.h.in: Likewise.
17865 * config.make.in: Likewise.
17866 * configure: Likewise.
17867 * configure.in: Likewise.
17868 * csu/Versions: Likewise.
17869 * csu/init.c: Likewise.
17870 * elf/tst-audit2.c: Likewise.
17871 * elf/tst-tls10.c: Likewise.
17872 * elf/tst-tls10.h: Likewise.
17873 * elf/tst-tls11.c: Likewise.
17874 * elf/tst-tls12.c: Likewise.
17875 * elf/tst-tls14.c: Likewise.
17876 * elf/tst-tlsmod11.c: Likewise.
17877 * elf/tst-tlsmod12.c: Likewise.
17878 * elf/tst-tlsmod13.c: Likewise.
17879 * elf/tst-tlsmod13a.c: Likewise.
17880 * elf/tst-tlsmod14a.c: Likewise.
17881 * elf/tst-tlsmod15b.c: Likewise.
17882 * elf/tst-tlsmod16a.c: Likewise.
17883 * elf/tst-tlsmod16b.c: Likewise.
17884 * elf/tst-tlsmod7.c: Likewise.
17885 * elf/tst-tlsmod8.c: Likewise.
17886 * elf/tst-tlsmod9.c: Likewise.
17887 * gmon/gmon.c: Likewise.
17888 * grp/fgetgrent_r.c: Likewise.
17889 * grp/putgrent.c: Likewise.
17890 * hurd/fopenport.c: Likewise.
17891 * include/libc-symbols.h: Likewise.
17892 * include/tls.h: Likewise.
17893 * intl/gettextP.h: Likewise.
17894 * intl/loadinfo.h: Likewise.
17895 * locale/global-locale.c: Likewise.
17896 * locale/localeinfo.h: Likewise.
17897 * mach/devstream.c: Likewise.
17898 * malloc/arena.c: Likewise.
17899 * malloc/set-freeres.c: Likewise.
17900 * misc/err.c: Likewise.
17901 * misc/getttyent.c: Likewise.
17902 * misc/mntent_r.c: Likewise.
17903 * posix/getopt.c: Likewise.
17904 * posix/wordexp.c: Likewise.
17905 * pwd/fgetpwent_r.c: Likewise.
17906 * resolv/Versions: Likewise.
17907 * resolv/res_hconf.c: Likewise.
17908 * shadow/fgetspent_r.c: Likewise.
17909 * shadow/putspent.c: Likewise.
17910 * stdio-common/printf_fphex.c: Likewise.
17911 * stdio-common/tmpfile.c: Likewise.
17912 * stdlib/abort.c: Likewise.
17913 * stdlib/fmtmsg.c: Likewise.
17914 * sunrpc/auth_unix.c: Likewise.
17915 * sunrpc/clnt_perr.c: Likewise.
17916 * sunrpc/clnt_tcp.c: Likewise.
17917 * sunrpc/clnt_udp.c: Likewise.
17918 * sunrpc/clnt_unix.c: Likewise.
17919 * sunrpc/openchild.c: Likewise.
17920 * sunrpc/svc_simple.c: Likewise.
17921 * sunrpc/svc_tcp.c: Likewise.
17922 * sunrpc/svc_udp.c: Likewise.
17923 * sunrpc/svc_unix.c: Likewise.
17924 * sunrpc/xdr.c: Likewise.
17925 * sunrpc/xdr_array.c: Likewise.
17926 * sunrpc/xdr_rec.c: Likewise.
17927 * sunrpc/xdr_ref.c: Likewise.
17928 * sunrpc/xdr_stdio.c: Likewise.
17930 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17932 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17934 2011-07-03 Andreas Jaeger <aj@suse.de>
17936 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17937 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17938 regenerate with gen-libm-tests.pl.
17940 2010-05-12 Petr Baudis <pasky@suse.cz>
17943 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17944 around j0() zero points by switching to j1().
17945 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17946 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17947 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17948 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17950 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17952 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17954 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17956 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17957 Patch in part by Pavel Roskin <proski@gnu.org>.
17960 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
17962 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
17963 Free memory block if necessary.
17966 * libio/genops.c (INTDEF): For string streams the _lock pointer can
17967 be NULL. Don't lock in this case.
17969 2011-09-09 Roland McGrath <roland@hack.frob.com>
17971 * elf/elf.h (ELFOSABI_GNU): New macro.
17972 (ELFOSABI_LINUX): Define to that.
17974 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
17976 * string/strncat.c (strncat): Undef the symbol in case it has been
17977 defined in bits/string.h.
17979 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17981 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
17983 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
17986 2011-08-17 Andreas Jaeger <aj@suse.de>
17988 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
17990 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17991 Ian Lance Taylor <iant@google.com>
17993 * math/libm-test.inc (lround_test): New testcase.
17994 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
17996 2011-09-08 Ulrich Drepper <drepper@gmail.com>
17998 * Makefile: Remove support for automatic cvs check-ins.
17999 * Makerules: Likewise.
18000 * config.make.in: Likewise.
18001 * configure.in: Likewise.
18002 * intl/Makefile: Likewise.
18003 * locale/Makefile: Likewise.
18004 * po/Makefile: Likewise.
18005 * posix/Makefile: Likewise.
18006 * sysdeps/gnu/Makefile: Likewise.
18007 * sysdeps/mach/hurd/Makefile: Likewise.
18008 * sysdeps/sparc/sparc32/Makefile: Likewise.
18011 * posix/Makefile (bug-regex32-ENV): Define.
18012 Patch by John Stanley <jpsinthemix@verizon.net>.
18014 * misc/Makefile (headers): Add bits/select2.h.
18015 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18016 * misc/bits/select2.h: New file.
18017 * include/bits/select2.h: New file.
18018 * debug/Makefile (routines): Add fdelt_chk.
18019 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18020 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18022 * debug/fdelt_chk.c: New file.
18024 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18025 * wcsmbs/test-wmemcmp.c: Likewise.
18026 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18027 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18029 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18031 * string/Makefile (strop-tests): Add memcmp.
18032 * string/test-wmemcmp.c: New file.
18033 * string/test-memcmp.c: Add wmemcmp support.
18035 2011-09-08 Roland McGrath <roland@hack.frob.com>
18038 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18041 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18042 garbage value in a __mach_port_mod_refs call in the cases of the
18043 task-self and thread-self ports.
18045 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18047 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18049 2011-09-08 Andreas Schwab <schwab@redhat.com>
18051 * elf/dl-load.c (lose): Check for non-null L.
18053 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18055 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18057 * elf/dl-libc.c (dlerror_run): Pass back error code from
18061 * elf/dl-load.c (lose): Free l_origin if it is valid.
18063 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18065 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18066 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18067 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18068 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18069 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18070 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18072 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18074 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18075 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18076 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18077 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18078 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18079 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18080 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18081 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18082 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18083 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18085 2011-08-15 Alan Modra <amodra@gmail.com>
18088 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18089 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18090 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18091 ppc_mcount to static-only-routines.
18092 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18094 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18095 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18097 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18099 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18100 for finite and infinity parameters.
18102 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18104 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18105 and add nop instructions for throughput optimization.
18106 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18108 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18110 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18111 aligned copy for power7 with vector-scalar instructions.
18112 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18114 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18119 2011-09-07 Andreas Schwab <schwab@redhat.com>
18122 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18125 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18127 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18128 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18129 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18130 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18133 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18135 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18136 Forgot to demangle the pointer.
18138 * sysdeps/i386/sysdep.h: Define atom_text_section.
18139 * sysdeps/x86_64/sysdep.h: Likewise.
18140 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18141 section with atom_text_section.
18142 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18143 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18144 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18145 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18146 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18148 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18149 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18150 already be defined. Change to take two parameters and don't assign
18151 result to variable. Adjust all users.
18152 Define INTERNAL_GETTIME if not already defined.
18153 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18156 HAVE_CLOCK_GETTIME_VSYSCALL.
18157 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18159 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18160 gettimeofday vsyscall, just use time.
18162 2011-09-06 Andreas Schwab <schwab@redhat.com>
18164 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18167 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18169 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18171 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18173 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18174 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18175 syscall if possible.
18177 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18179 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18180 e_ident. Don't pass to find_mapsXX.
18181 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18183 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18186 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18187 * sysdeps/x86_64/multiarch/strchr.S: Update.
18188 Check bit_slow_BSF bit.
18189 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18190 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18191 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18193 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18196 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18198 (tryshell): Define.
18199 (__spawni): Change last parameter to be flag. Test
18200 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18201 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18202 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18203 * posix/spawni.c: Likewise.
18204 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18205 * posix/spawnp.c: Likewise. Change normal version to use
18206 SPAWN_XFLAGS_USE_PATH.
18207 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18208 SPAWN_XFLAGS_TRY_SHELL.
18211 * posix/glob.h: Remove gcc 1.x support.
18214 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18216 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18219 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18221 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18222 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18223 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18224 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18225 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18226 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18228 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18230 * sysdeps/x86_64/wcscmp.S: New file.
18232 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18233 wcscmp-c wcscmp-sse2
18234 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18235 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18236 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18237 * wcsmbs/wcscmp.c: Allow renaming.
18239 2011-09-05 David S. Miller <davem@davemloft.net>
18241 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18242 stack slot, rather than the struct return pointer slot.
18243 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18244 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18246 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18248 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18250 * po/ja.po: Update from translation team.
18253 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18254 kernel in 64-bit binaries.
18256 2011-09-01 David S. Miller <davem@davemloft.net>
18258 * elf/elf.h (HWCAP_SPARC_*): Move to..
18259 * sysdeps/sparc/sysdep.h: this new file and add new values.
18260 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18261 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18262 _DL_HWCAP_COUNT to 24.
18263 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18265 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18266 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18267 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18268 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18269 instead of magic constants.
18270 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18272 2011-08-31 David S. Miller <davem@davemloft.net>
18274 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18275 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18276 Reimplement to do errno handling inline.
18277 (SYSCALL_ERROR_HANDLER): New macro.
18278 (__SYSCALL_STRING): Do not do errno handling in asm.
18279 (__CLONE_SYSCALL_STRING): Delete.
18280 (__INTERNAL_SYSCALL_STRING): Delete.
18281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18282 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18283 (PSEUDO): Reimplement to do errno handling inline.
18284 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18285 (SYSCALL_ERROR_HANDLER): New macro.
18286 (__SYSCALL_STRING): Do not do errno handling in asm.
18287 (__CLONE_SYSCALL_STRING): Delete.
18288 (__INTERNAL_SYSCALL_STRING): Delete.
18289 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18290 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18292 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18293 (inline_syscall*): Add 'err' argument.
18294 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18295 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18296 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18297 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18299 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18300 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18302 2011-08-30 Andreas Schwab <schwab@redhat.com>
18304 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18306 2011-08-29 Jiri Olsa <jolsa@redhat.com>
18308 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18311 2011-08-24 David S. Miller <davem@davemloft.net>
18313 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18315 2011-08-24 Andreas Schwab <schwab@redhat.com>
18317 * elf/Makefile: Add rules to build and run unload8 test.
18318 * elf/unload8.c: New file.
18319 * elf/unload8mod1.c: New file.
18320 * elf/unload8mod1x.c: New file.
18321 * elf/unload8mod2.c: New file.
18322 * elf/unload8mod3.c: New file.
18324 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18327 2011-08-23 David S. Miller <davem@davemloft.net>
18329 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18330 subtract stack bias.
18331 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18332 %sp not %fp in calculations.
18333 (_JMPBUF_UNWINDS_ADJ): Likewise.
18335 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18336 (aio_suspend): Call it to force an exception region around the
18337 AIO_MISC_WAIT() invocation.
18339 2011-08-23 Andreas Schwab <schwab@redhat.com>
18341 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18344 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18346 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18348 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18349 and <dl-machine.h>.
18350 (Elf64_FuncDesc): Remove.
18352 2011-08-22 David S. Miller <davem@davemloft.net>
18354 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18355 sigaltstack check, add missing cfi directives.
18356 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18357 missing cfi directives, and sigaltstack handling.
18359 2011-08-16 Andreas Schwab <schwab@redhat.com>
18362 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18363 object is seen twice.
18364 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18366 * elf/Makefile (distribute): Add tst-initorder2.c.
18367 (tests): Add tst-initorder2.
18368 (modules-names): Add tst-initorder2a tst-initorder2b
18369 tst-initorder2c tst-initorder2d. Add rules to build them.
18370 ($(objpfx)tst-initorder2.out): New rule.
18371 * elf/tst-initorder2.c: New file.
18372 * elf/tst-initorder2.exp: New file.
18374 2011-08-22 Andreas Schwab <schwab@redhat.com>
18376 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18378 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18379 dependencies back to end of function.
18381 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18382 $(elfobjdir)/ld.so.
18384 2011-08-21 Ulrich Drepper <drepper@gmail.com>
18386 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18387 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18389 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18390 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18391 of __vdso_gettimeofday.
18392 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18393 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18395 (_libc_vdso_platform_setup): Remove initialization of
18396 __vdso_gettimeofday and __vdso_time.
18398 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18400 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18401 and fgetc_unlocked.
18402 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18405 * elf/dl-open.c (add_to_global): Report additions to the global scope
18406 for LD_DEBUG=scopes.
18407 (dl_open_worker): Also print scope of newly loaded dependencies.
18408 (_dl_show_scope): Indicate if there is no scope.
18411 * stdio-common/Makefile (tests): Add bug24.
18412 * stdio-common/bug24.c: New file.
18414 2011-08-19 Andreas Jaeger <aj@suse.de>
18417 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18418 non-existant file when using close-on-exec mode.
18420 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18423 the very first instruction.
18425 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18426 the CFI state in the end.
18427 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18428 inclusion of dl-trampoline.h.
18429 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18431 2011-08-19 Andreas Schwab <schwab@redhat.com>
18433 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18434 expectations for long double.
18436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18437 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18439 2011-08-14 David S. Miller <davem@davemloft.net>
18441 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18442 artificual limit depends upon the system page size.
18444 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18446 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18447 * resolv/Makefile: Define CFLAGS-libresolv.
18449 2011-08-17 Andreas Schwab <schwab@redhat.com>
18451 * nss/makedb.c (compute_tables): Make variables used in nested
18454 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18456 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18457 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18458 if buffer was too small.
18460 * elf/pldd.c (main): Attach to all threads in the process.
18461 Rewrite /proc handling to use *at functions.
18463 2011-08-16 Ulrich Drepper <drepper@gmail.com>
18465 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18466 specifies first scope to show.
18467 (dl_open_worker): Update callers. Move printing scope of new
18468 object to before the relocation.
18469 * elf/rtld.c (dl_main): Update _dl_show_scope call.
18470 * sysdeps/generic/ldsodefs.h: Update declaration.
18472 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18473 string for the scope number.
18475 2011-08-14 Ulrich Drepper <drepper@gmail.com>
18477 * nscd/servicescache.c (cache_addserv): Make sure written is always
18480 2011-08-14 Roland McGrath <roland@hack.frob.com>
18482 * sysdeps/i386/i486/bits/atomic.h
18483 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18484 statement expression, so as to suppress "set but not used" warning.
18485 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18487 * string/strncat.c (STRNCAT): Use prototype definition.
18489 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18490 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18492 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18493 (localedef-modules): Add localedef.
18494 (locale-modules): Add locale.
18496 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18497 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18498 to avoid a warning.
18500 2011-08-14 David S. Miller <davem@davemloft.net>
18502 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18503 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18505 2011-08-13 Ulrich Drepper <drepper@gmail.com>
18507 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
18508 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18509 * elf/rtld.c (dl_main): Set l_name of vDSO.
18510 Call _dl_show_scope when DL_DEBUG_SCOPES.
18511 (process_dl_debug): Recognize scopes flag and also set it for all.
18512 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18513 Declare _dl_show_scope.
18515 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18516 (do_dlopen): Pass caller_dlopen to dl_open.
18517 (__libc_dlopen_mode): Initialize caller_dlopen.
18519 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18520 of libc. Make tolower call locale-independent. Optimize a bit by
18521 using isdigit instead of isalnum.
18522 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18524 2011-08-12 Ulrich Drepper <drepper@gmail.com>
18526 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18527 was a dependency or dynamically loaded.
18529 2011-08-11 Ulrich Drepper <drepper@gmail.com>
18531 * intl/l10nflist.c: Allow architecture-specific pop function.
18532 * sysdeps/x86_64/l10nflist.c: New file.
18534 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18537 2011-08-10 Andreas Schwab <schwab@redhat.com>
18539 * include/dirent.h: Add libc_hidden_proto for scandirat and
18540 scandirat64. Don't declare __scandirat64.
18541 * dirent/scandirat.c: Add libc_hidden_def.
18542 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18543 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18545 2011-08-10 David S. Miller <davem@davemloft.net>
18547 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18549 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18550 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18551 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18553 2011-08-09 Ulrich Drepper <drepper@gmail.com>
18555 * Versions.def [libc]: Add GLIBC_2.15.
18556 * dirent/Makefile (routines): Add scandirat and scandirat64.
18557 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18559 * dirent/dirent.h: Declare scandirat and scandirat64.
18560 * dirent/scandirat.c: New file.
18561 * dirent/scandirat64.c: New file.
18562 * sysdeps/wordsize-64/scandirat.c: New file.
18563 * sysdeps/wordsize-64/scandirat64.c: New file.
18564 * dirent/opendir.c: Define opendirat.
18565 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18567 * dirent/scandir64.c: Adjust for scandir.c change.
18568 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18569 __scandirat64, and __scandir_cancel_handler.
18570 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18571 additional parameter and use openat instead of open (outside of ld.so).
18572 Add new __opendir as wrapper around __opendirat.
18573 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18574 here without requiring old scandirat implementation.
18576 2011-08-08 Ulrich Drepper <drepper@gmail.com>
18578 * dirent/scandir.c (cancel_handler): Renamed to
18579 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18580 defined. Adjust users.
18581 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18582 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18584 2011-08-04 Ulrich Drepper <drepper@gmail.com>
18586 * string/test-string.h (IMPL): Use __STRING to expand name and then
18589 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18592 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18594 * string/Makefile: Update.
18595 (strop-tests): Append strncat.
18596 * string/test-wcscmp.c: New file.
18597 New comprehensive test for wcscmp.
18598 * string/test-strcmp.c: Update.
18599 (WIDE): New define.
18601 2011-07-22 Andreas Schwab <schwab@redhat.com>
18603 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18606 2011-07-26 Andreas Schwab <schwab@redhat.com>
18608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18609 encoding to ACE if AI_IDN.
18611 2011-08-01 Jakub Jelinek <jakub@redhat.com>
18613 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18614 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18616 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18618 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18619 Fix overflow bug in strncat.
18620 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18622 * string/test-strncat.c: Update.
18623 Add new tests for checking overflow bugs.
18625 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18628 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18629 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18630 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18631 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18632 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18633 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18634 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18635 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18637 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18638 (USE_AS_STRCAT): Define.
18639 Add strcat and strncat support.
18640 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18642 2011-07-25 Andreas Schwab <schwab@redhat.com>
18644 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18645 __n bigger than INT_MAX+1.
18646 (__strncmp_g): Likewise.
18648 2011-07-23 Ulrich Drepper <drepper@gmail.com>
18650 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18651 * libio/stido.h: Likewise.
18653 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18658 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18659 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18660 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18661 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18662 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18665 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18668 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18670 (_dl_x86_64_save_sse): Likewise.
18672 2011-07-22 Ulrich Drepper <drepper@gmail.com>
18674 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18676 (_dl_x86_64_save_sse): Likewise.
18678 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18680 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18682 2011-07-21 Andreas Schwab <schwab@redhat.com>
18684 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18686 (_dl_x86_64_save_sse): Use correct AVX check.
18688 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18690 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18691 bug in strncpy/strncat.
18692 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18694 2011-07-21 Ulrich Drepper <drepper@gmail.com>
18696 * string/tester.c (test_strcat): Add tests for different alignments
18697 of source and destination.
18698 (test_strncat): Likewise.
18700 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18703 * posix/glob.c (glob): Check passed in values before using them in
18704 expressions to avoid some overflows.
18705 (glob_in_dir): Likewise.
18708 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18709 check for AVX enablement so that we don't crash with old kernels and
18711 * elf/tst-audit4.c: Add same checks here.
18712 * elf/tst-audit6.c: Likewise.
18714 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18716 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18718 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18720 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18722 * po/cs.po: Update from translation team.
18723 * po/bg.po: Likewise.
18725 2011-07-12 Marek Polacek <mpolacek@redhat.com>
18727 * misc/sys/cdefs.h: Add support for const attribute.
18728 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18729 to gnu_dev_{major,minor,makedev} functions.
18731 2011-07-20 Marek Polacek <mpolacek@redhat.com>
18733 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18735 2011-07-20 Andreas Schwab <schwab@redhat.com>
18737 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18740 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18743 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18744 register in order to avoid conflicts with the soft frame pointer
18745 being held in r11 when necessary.
18746 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18747 (INTERNAL_VSYSCALL_NCS): Likewise.
18749 2011-07-14 Marek Polacek <mpolacek@redhat.com>
18751 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18752 * elf/dl-fini.c (_dl_fini): Adjust caller.
18753 * elf/dl-close.c (_dl_close_worker): Likewise.
18754 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18756 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18758 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18759 "aux_cache->nlibs < 0".
18761 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18762 in the reload-count case.
18764 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18766 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18767 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18768 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18769 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18770 * sysdeps/x86_64/multiarch/strcat.S: New file.
18771 * sysdeps/x86_64/multiarch/strncat.S: New file.
18772 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18773 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18774 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18775 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18776 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18777 (USE_AS_STRCAT): Define.
18778 Add strcat and strncat support.
18779 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18780 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18781 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18782 * string/strncat.c: Update.
18783 (USE_AS_STRNCAT): Define.
18784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18785 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18787 * sysdeps/x86_64/multiarch/init-arch.h
18788 (bit_Prefer_PMINUB_for_stringop): New.
18789 (index_Prefer_PMINUB_for_stringop): Likewise.
18790 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18791 bit_Prefer_PMINUB_for_stringop.
18793 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18795 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18797 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18798 of casting of buffer.
18799 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18800 buffer32 and buffer64.
18801 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18802 writes instead of casting of buffer.
18803 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18805 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18808 2011-07-19 Andreas Schwab <schwab@redhat.com>
18810 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18812 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18814 * nscd/nscd.c (termination_handler): Don't do anything for a database
18815 if it has not yet been initialized.
18817 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18819 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18821 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18823 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18825 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18827 * po/nl.po: Update from translation team.
18828 * po/sv.po: Likewise.
18830 2011-07-16 Roland McGrath <roland@hack.frob.com>
18832 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18833 now disallowed by GCC.
18835 * configure.in (use-default-link): Default to yes if a test -shared
18836 link meets our qualifications.
18837 * configure: Regenerated.
18839 * config.make.in (output-format): New variable.
18840 * configure.in: Check for ld --print-output-format support.
18841 * configure: Regenerated.
18842 * Makerules ($(common-objpfx)format.lds)
18843 [$(output-format) != unknown]: Just use $(output-format),
18844 instead of the linker-script munging.
18846 2011-07-14 Roland McGrath <roland@hack.frob.com>
18848 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18849 of $(common-objpfx)shlib.lds.
18850 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18852 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18853 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18855 * configure.in (-z relro check): Adjust test code to add a large
18856 writable data section after it.
18857 * configure: Regenerated.
18859 2011-07-11 Roland McGrath <roland@hack.frob.com>
18861 * configure.in (-z relro check): Fix test code to make the variable
18863 * configure: Regenerated.
18865 2011-07-11 Ulrich Drepper <drepper@gmail.com>
18867 * nscd/nscd.h (struct traced_file): Define.
18868 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18869 elements. Add traced_files.
18870 (inotify_fd): Declare.
18871 (register_traced_file): Declare.
18872 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18873 (inotify_fd): Export.
18874 (resolv_conf_descr): Remove.
18875 (nscd_init): Move inotify descriptor creation to main.
18876 Don't register files for notification here.
18877 (register_traced_file): New function.
18878 (invalidate_cache): Don't use reset_res to determine whether to call
18879 res_init, go through the list of registered files.
18880 (main_loop_poll): The inotify descriptors are now stored in the
18881 structures for the traced files.
18882 (main_loop_epoll): Likewise
18883 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18884 to __nss_disable_nscd.
18885 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18886 for a database anymore. Check the records for all the registered
18888 * nss/Makefile (libnss_files-routines): Add files-init.
18889 (libnss_db-routines): Add db-init.
18890 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18891 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18892 * nss/nss_db/db-init.c: New file.
18893 * nss/nss_files/files-init.c: New file.
18894 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18895 __nss_lookup_function.
18896 (__nss_lookup_function): Call nss_load_library.
18897 (nss_load_all_libraries): New function.
18898 (__nss_disable_nscd): Take parameter with callback function for files
18899 to register. Set is_nscd. Load all the DSOs for the NSS modules
18900 used for the cached services.
18901 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18902 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18903 options for features to all the files in nscd.
18905 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18907 2011-07-10 Roland McGrath <roland@hack.frob.com>
18909 * csu/elf-init.c (__libc_csu_init): Comment typo.
18911 2011-07-09 Ulrich Drepper <drepper@gmail.com>
18913 * po/pl.po: Update from translation team.
18914 * po/ja.po: Likewise.
18915 * po/ru.po: Likewise.
18916 * po/ko.po: Likewise.
18917 * po/fr.po: Likewise.
18919 2011-07-09 Roland McGrath <roland@hack.frob.com>
18921 * configure.in (.ctors/.dtors header and trailer check):
18922 Use an empirical test on a built program.
18923 * configure: Regenerated.
18925 * configure.in (-z relro check): Use an empirical test on a built DSO.
18926 Detect, but do not require, on ia64.
18927 * configure: Regenerated.
18929 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18930 Update tests that use readelf to use $READELF instead.
18931 * configure: Regenerated.
18933 2011-07-08 Ulrich Drepper <drepper@gmail.com>
18935 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18936 if the result is not used.
18938 2011-07-05 Andreas Jaeger <aj@suse.de>
18941 * stdlib/tst-strtod.c: Add testcase.
18943 2011-07-07 Ulrich Drepper <drepper@gmail.com>
18945 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
18946 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
18947 The latter has a higher limit. Take additional parameter to pass to
18949 (__pathconf): Pass file to __statfs_link_max.
18950 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18952 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18956 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18957 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18959 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
18960 (__statfs_filesize_max): Likewise.
18961 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
18963 2011-07-05 Andreas Jaeger <aj@suse.de>
18965 * resolv/res_comp.c (dn_skipname): Remove unused variable.
18967 2011-07-06 Marek Polacek <mpolacek@redhat.com>
18969 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
18971 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
18974 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
18976 * Makefile (strop-tests): Add strncat.
18977 * string/test-strncat.c: New file.
18979 2011-06-30 Marek Polacek <mpolacek@redhat.com>
18981 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
18983 2011-06-21 Andreas Jaeger <aj@suse.de>
18985 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
18986 Copy rule from iconvdata/Makefile.
18988 2011-07-06 Ulrich Drepper <drepper@gmail.com>
18991 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
18992 but no long options are defined, just return 'W'.
18994 2011-06-22 Marek Polacek <mpolacek@redhat.com>
18997 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
18999 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19001 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19003 (innetgr): Likewise.
19005 2011-07-05 Roland McGrath <roland@hack.frob.com>
19007 * config.make.in (install_root): Default to $(DESTDIR).
19009 2011-07-05 Ulrich Drepper <drepper@gmail.com>
19011 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19013 2011-07-02 Roland McGrath <roland@hack.frob.com>
19015 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19017 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19018 containing directory rather than embedding absolute directory names.
19020 * scripts/check-local-headers.sh: Rewritten using awk.
19021 Match by word, not by line. Print error messages for matches.
19022 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19024 * Makerules [shlib-lds-flags empty]:
19025 ($(common-objpfx)libc_pic.opts): New target.
19026 ($(common-objpfx)libc_pic.os.clean): New target.
19027 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19029 * config.make.in (OBJCOPY): New variable.
19030 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19031 * configure: Regenerated.
19033 * config.make.in (use-default-link): New variable.
19034 * configure.in (use_default_link): Grok --with-default-link to set it.
19035 * configure: Regenerated.
19036 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19037 (shlib-lds, shlib-lds-flags): Define to empty.
19039 * Makerules (shlib-lds): New variable.
19040 (shlib-lds-flags): New variable.
19041 (build-shlib, build-moduile, build-module-asneeded): Use it.
19042 ($(common-objpfx)libc.so): Use $(shlib-lds).
19043 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19044 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19046 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19047 DT_FLAGS/DT_FLAGS_1 with zero flags.
19049 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19050 linker script munging.
19052 2011-07-02 Ulrich Drepper <drepper@gmail.com>
19054 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19056 * crypt/sha512.c (sha512_process_block): Perform total addition using
19057 128-bit if possible.
19058 (__sha512_finish_ctx): Likewise.
19059 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19061 * crypt/sha256.c (SWAP64): Define.
19062 (sha256_process_block): Perform total addition using 64-bit if
19064 (__sha256_finish_ctx): Likewise.
19066 2011-07-01 Ulrich Drepper <drepper@gmail.com>
19068 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19069 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19070 * nscd/hstcache.c (cache_addhst): Likewise.
19071 * nscd/grpcache.c (cache_addgr): Likewise.
19072 * nscd/aicache.c (addhstaiX): Likewise
19073 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19075 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
19077 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19078 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19079 * nscd/hstcache.c (cache_addhst): Likewise.
19080 * nscd/grpcache.c (cache_addgr): Likewise.
19081 * nscd/aicache.c (addhstaiX): Likewise
19083 2011-07-01 Andreas Schwab <schwab@redhat.com>
19085 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19086 domain only when needed.
19088 2011-06-30 Andreas Schwab <schwab@redhat.com>
19090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19091 is always restored.
19093 2011-06-29 Ulrich Drepper <drepper@gmail.com>
19095 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19096 are re-adding the entry.
19097 * nscd/servicescache.c (cache_addserv): Likewise.
19099 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19101 * sysdeps/generic/dl-irel.h: fix protection against multiple
19103 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19105 2011-06-28 Ulrich Drepper <drepper@gmail.com>
19108 * malloc/memusage.sh: Fix quoting in message.
19109 * debug/xtrace.sh: Likewise.
19111 * configure.in: Remove support for --experimental-malloc option, make
19113 * config.make.in: Likewise.
19114 * malloc/Makefile: Likewise.
19116 2011-06-27 Andreas Schwab <schwab@redhat.com>
19118 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19119 two-byte characters.
19121 2011-06-27 Roland McGrath <roland@hack.frob.com>
19123 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19124 AC_CACHE_CHECK invocation.
19125 * configure: Regenerated.
19127 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19129 2011-06-27 Ulrich Drepper <drepper@gmail.com>
19132 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19133 bit from old_res_options.
19135 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19137 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19138 value type for setfct.
19140 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19142 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19143 __gettimeofday instead of gettimeofday.
19145 2011-06-26 Ulrich Drepper <drepper@gmail.com>
19147 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19149 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19151 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19153 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19156 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19159 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19160 strcpy-sse2-unaligned strncpy-sse2-unaligned
19161 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19162 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19163 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19164 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19165 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19166 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19167 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19168 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19169 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19170 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19171 (STRCPY): Support SSE2 and SSSE3 versions.
19173 2011-06-24 Ulrich Drepper <drepper@gmail.com>
19176 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19177 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19178 kernels which artificially limit size of requests.
19180 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19182 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19183 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19184 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19185 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19186 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19187 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19188 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19189 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19190 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19191 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19192 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19193 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19194 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19195 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19196 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19198 Enable unaligned load optimization for Intel Core i3, i5 and i7
19200 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19202 (index_Fast_Unaligned_Load): Define.
19203 (HAS_FAST_UNALIGNED_LOAD): Define.
19205 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19207 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19209 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19212 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19213 until it is clear that the information is realy needed.
19214 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19216 2011-06-22 Andreas Schwab <schwab@redhat.com>
19218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19220 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19223 /sys/devices/system/cpu/online if it is usable.
19225 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19226 reading the information from the /proc filesystem to once a second.
19228 2011-06-21 Andreas Jaeger <aj@suse.de>
19230 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19231 NULL after inclusion of kernel headers.
19233 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19235 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19236 calls to internal_setent.
19239 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19240 addresses using gethostbyname4_r ignore IPv4 addresses.
19242 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19243 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19245 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19247 2011-06-20 David S. Miller <davem@davemloft.net>
19249 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19251 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19253 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19254 (elf_irel): Use it.
19255 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19256 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19257 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19258 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19259 * sysdeps/x86_64/dl-irel.h: Likewise.
19261 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19262 * elf/dl-sym.c: Likewise.
19264 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19266 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19267 need to dereference resplen2.
19269 2011-06-14 Andreas Schwab <schwab@redhat.com>
19271 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19273 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19275 * Makeconfig: Define vardbdir and inst_vardbdir.
19276 * nss/Makefile: Add rules to install db-Makefile.
19278 * nss/nss_db/db-XXX.c: Cleanup.
19280 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19281 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19283 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19284 * nss/makedb.c: Implement -g option to specify that value strings
19285 are generated and should not be added to table iterated over for
19287 * nss/nss_db/db-initgroups.c: New file.
19289 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19292 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19293 (internal_getgrouplist): Adjust to name change.
19294 Update use_initgroups_entry if this is not the first call.
19295 * nss/databases.def: Add initgroups entry.
19297 * nss/makedb.c (compute_tables): Check result of multiple hash table
19298 sizes to minimize maximum chain length.
19300 2011-06-14 Ulrich Drepper <drepper@gmail.com>
19302 * Versions.def: Add entry for libnss_db.
19303 * shlib-versions: Likewise.
19304 * nss/Makefile: Add rules to build libnss_db.
19305 * nss/Versions: Add libnss_db information. Organize libnss_files
19307 * nss/db-Makefile: Add gshadow support. Change rules for the new
19308 makedb progra. Some minor improvements to generate smaller files.
19309 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19311 * nss/makedb.c: ...here.
19312 Improve database format to be smaller and require less memory at
19314 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19316 * nss/nss_db/db-netgrp.c: Likewise.
19317 * nss/nss_db/db-open.c: Likewise.
19318 * nss/nss_files/flies-XXX.x: Adjust comments.
19319 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19320 * nss/nss_files/files-grp.c: Likewise.
19321 * nss/nss_files/files-hosts.c: Likewise.
19322 * nss/nss_files/files-network.c: Likewise.
19323 * nss/nss_files/files-proto.c: Likewise.
19324 * nss/nss_files/files-pwd.c: Likewise.
19325 * nss/nss_files/files-rpc.c: Likewise.
19326 * nss/nss_files/files-service.c: Likewise.
19327 * nss/nss_files/files-sgrp.c: Likewise.
19328 * nss/nss_files/files-spwd.c: Likewise.
19329 * nss/nss_db/db-alias.c: Removed.
19330 * nss/nss_db/dummy-db.h: Removed.
19332 2011-06-02 Ulrich Drepper <drepper@gmail.com>
19334 * nss/makedb.c: Rewritten to not use database library.
19335 * nss/Makefile: Update to build new makedb program.
19337 2011-06-14 Andreas Jaeger <aj@suse.de>
19339 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19340 memset declaration.
19342 2011-06-10 Andreas Schwab <schwab@redhat.com>
19344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19347 2011-06-10 Roland McGrath <roland@hack.frob.com>
19349 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19350 * elf/Makefile ($(objpfx)ld.so): Likewise.
19352 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19353 Don't list ld.so twice in dependencies.
19355 * posix/bug-regex31.c: Include <stdlib.h>.
19357 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19359 * nis/nss_compat/compat-spwd.c
19360 (getspent_next_nss_netgr): Remove unused variable.
19361 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19363 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19364 nonmembers" output to use the right array.
19366 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19368 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19370 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19371 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19372 * catgets/gencat.c (read_input_file): Likewise.
19373 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19375 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19376 variable definition inside #if's controlling its use.
19378 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19380 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19382 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19384 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19387 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19389 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19390 * configure: Regenerated.
19392 * Makerules: Revert last change.
19393 * elf/Makefile: Likewise.
19395 2011-06-09 Roland McGrath <roland@hack.frob.com>
19397 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19398 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19399 (reloc-link): Likewise.
19401 2011-06-09 Ulrich Drepper <drepper@gmail.com>
19403 * elf/Makefile: Add rules to build pldd.
19404 * elf/pldd.c: New file.
19405 * elf/pldd-xx.c: New file.
19407 2011-06-07 Ulrich Drepper <drepper@gmail.com>
19409 * version.h: Update for 2.15 development version.
19411 2011-06-07 David S. Miller <davem@davemloft.net>
19413 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19415 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19416 elf_machine_lazy_rel): Likewise.
19417 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19418 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19419 elf_machine_lazy_rel): Likewise.
19420 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19421 dl_hwcap via passed in argument.
19422 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19425 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19427 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19429 2011-06-06 Roland McGrath <roland@hack.frob.com>
19432 * manual/fdl-1.1.texi: New file, verbatim from:
19433 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19434 * manual/lgpl-2.1.texi: New file, verbatim from:
19435 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19436 * manual/Makefile (licenses): New variable, list those new file names.
19438 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19440 * manual/fdl.texi: File removed.
19441 * manual/lesser.texi: File removed.
19442 * manual/libc.texinfo (Copying, Documentation License):
19443 Use new @include file names, put @appendix directive before @include.
19445 2011-06-04 Jakub Jelinek <jakub@redhat.com>
19448 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19449 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19450 (mq_open): Add __NTH.
19452 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19455 Assume Intel Core i3/i5/i7 processor if AVX is available.
19457 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19459 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19462 2011-05-31 Andreas Schwab <schwab@redhat.com>
19464 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19465 memory. Use alloca_account. Fix memory leak when retrying.
19467 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19469 * version.h (RELEASE): Bump for 2.14 release.
19470 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19472 * config.make.in (RANLIB): Remove entry.
19474 2011-05-30 Ulrich Drepper <drepper@gmail.com>
19476 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19477 (libc.pot): Work around missing support for .ksh extension in xgettext.
19480 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19481 if both request failed.
19482 (send_dg): In case of server errors clear resplen or *resplen2.
19485 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19486 when there are multiple maps.
19487 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19488 (_dl_fini): Remove test here.
19490 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19492 2011-05-29 Ulrich Drepper <drepper@gmail.com>
19495 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19496 bit from old_res_options.
19497 (gaih_inet): Likewise.
19500 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
19503 * resolv/res_init.c (res_setoptions): Make the code more compact.
19506 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19510 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19512 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19515 * malloc/malloc.h: Declare malloc hook variables as volatile.
19517 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19521 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
19522 raise in the comment.
19523 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19524 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19525 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
19527 2011-05-28 Ulrich Drepper <drepper@gmail.com>
19530 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19531 grow the buffers more if it already has to be sufficient.
19532 (build_wcs_upper_buffer): Likewise.
19533 * posix/regexec.c (check_matching): Likewise.
19534 (clean_state_log_if_needed): Likewise.
19535 (extend_buffers): Don't enlarge buffers beyond size of the input
19537 Patches mostly by Emil Wojak <emil@wojak.eu>.
19538 * posix/bug-regex32.c: New file.
19539 * posix/Makefile (tests): Add bug-regex32.
19541 * locale/findlocale.c (_nl_find_locale): Return right away if
19542 _nl_explode_name failed.
19543 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19545 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19547 * debug/xtrace.sh: Unify messages.
19548 * malloc/memusage.sh: Likewise.
19551 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19552 time symbol from vDSO. Substitute with vsyscall if not available.
19553 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19556 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19557 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19558 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19559 Add sendmmsg and internal_sendmmsg.
19560 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19561 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19562 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19564 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19565 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19566 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19568 2011-05-27 Ulrich Drepper <drepper@gmail.com>
19571 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19572 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19574 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19578 * iconvdata/Makefile (tests): Add bug-iconv9.
19579 * iconvdata/bug-iconv9.c: New file.
19581 2011-05-27 Andreas Schwab <schwab@redhat.com>
19584 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19586 2011-05-25 Jakub Jelinek <jakub@redhat.com>
19588 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19589 (struct user_regs_struct): Change intcs field back to cs.
19591 2011-05-25 Ulrich Drepper <drepper@gmail.com>
19593 * po/ja.po: Update from translation team.
19595 2011-05-23 Ulrich Drepper <drepper@gmail.com>
19598 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19599 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19601 2011-05-20 Andreas Schwab <schwab@redhat.com>
19603 * stdlib/longlong.h: Update from GCC.
19605 2011-05-23 Andreas Schwab <schwab@redhat.com>
19607 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19609 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19610 Add parameter name.
19611 (__sysconf): Pass it down.
19613 2011-05-22 Ulrich Drepper <drepper@gmail.com>
19616 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19618 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19619 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19620 add in in __libc_use_alloca calls. Adjust callers.
19621 (glob): Use malloc in some situations.
19623 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19624 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19627 2011-05-21 Ulrich Drepper <drepper@gmail.com>
19629 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19630 and CLOCK_BOOTTIME_ALARM.
19633 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19636 * string/_strerror.c (__strerror_r): Print negative errors as signed
19640 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19641 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19642 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19644 * configure.in: Fix typo in redirection and correct removal of test
19645 files in two cases.
19648 * locale/setlocale.c (new_composite_name): Fix test to check for
19649 identical name of all categories.
19652 * libio/filedoalloc.c (local_isatty): New function.
19653 (_IO_file_doallocate): Use local_isatty.
19654 * stdio-common/perror.c (perror): In case a new stream is used
19655 forward the stream error.
19656 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19659 2011-05-20 Ulrich Drepper <drepper@gmail.com>
19662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19664 * include/alloca.h (extend_alloca_account): Define.
19667 * posix/regex.h: Fix comments with documentation of user-accessible
19668 fields after compilation and describe correct free'ing of pattern
19669 after re_compile_pattern.
19670 Patch by Reuben Thomas <rrt@sc3d.org>.
19672 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19674 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19675 and -mno-altivec to prevent the compiler from using Altivec and/or
19676 VSX instructions when the corresponding registers are not available.
19678 2011-05-19 Andreas Schwab <schwab@redhat.com>
19680 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19682 2011-05-19 Ulrich Drepper <drepper@gmail.com>
19684 * libio/freopen.c (freopen): Use __dup2, not dup2.
19685 * libio/freopen64.c (freopen64): Likewise.
19687 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19690 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19691 * math/Makefile (tests): Add test-powl.
19692 (CFLAGS-test-powl.c): Define.
19693 * math/test-powl.c: New file.
19695 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19697 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19699 2011-05-17 Ulrich Drepper <drepper@gmail.com>
19702 * iconvdata/gb18030.c: Update to GB18020-2005.
19704 2011-05-16 Ulrich Drepper <drepper@gmail.com>
19706 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19707 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19708 Patch by Aharon Robbins <arnold@skeeve.com>.
19711 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19715 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19716 through underflows.
19719 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19720 point to strings before performing equality test for error_one_per_line
19724 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19727 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19728 (struct user_fpregs_struct): Avoid __uint*_t types.
19731 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19732 symbol info. Use it instead of calling _dl_addr locally.
19733 (lock_and_info): New function.
19734 (tr_freehook): Call lock_and_info and pass symbol info as additional
19735 parameter to tr_where.
19736 (tr_mallochook): Likewise.
19737 (tr_reallochook): Likewise.
19738 (tr_memalignhook): Likewise.
19740 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19741 used and couldn't be at all thread-safe.
19743 2011-05-15 Ulrich Drepper <drepper@gmail.com>
19745 * libio/freopen.c (freopen): Don't close old file descriptor
19746 before the new one is opened. Instead dup the new file descriptor
19747 to the old one after the new stream is created.
19748 * libio/freopen64.c (freopen64): Likewise.
19749 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19750 * libio/fileops.c (_IO_new_file_close_it): Handle new
19751 _IO_FLAGS2_NOCLOSE flag.
19752 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19753 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19754 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19755 _IO_FLAGS2_NOCLOSE flag.
19756 * include/unistd.h: Add hidden_proto for dup3.
19757 Define __have_dup3.
19758 * io/dup3.c: Define hidden symbol.
19759 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19762 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19763 when an incomplete long option is used.
19764 * posix/tst-getopt_long1.c: New file.
19765 * posix/Makefile (tests): Add tst-getopt_long1.
19768 * scripts/config.guess: Update from autoconf-2.68.
19769 * scripts/config.sub: Likewise.
19772 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19774 (has_cpuclock): ...this. New function.
19775 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19776 macro here based on has_cpuclock code.
19779 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19780 First byte (not low byte) is now always NUL.
19781 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19783 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19784 Use non-cancelable interfaces.
19787 * locale/iso-639.def: Add entry for Sorani.
19790 * include/stdlib.h: Move include protection to the right place.
19791 Define abort_msg_s. Declare __abort_msg with it.
19792 * stdlib/abort.c (__abort_msg): Adjust type.
19793 * assert/assert.c (__assert_fail_base): New function. Majority
19794 of code from __assert_fail. Allocate memory for __abort_msg with
19796 (__assert_fail): Now call __assert_fail_base.
19797 * assert/assert-perr.c: Remove bulk of implementation. Use
19798 __assert_fail_base.
19799 * include/assert.hL Declare __assert_fail_base.
19800 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19802 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19804 2011-05-14 Ulrich Drepper <drepper@gmail.com>
19808 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19809 until all modules are registered in the DTV.
19810 * elf/Makefile: Add rules to build and run tst-tls19.
19811 * elf/tst-tls19.c: New file.
19812 * elf/tst-tls19mod1.c: New file.
19813 * elf/tst-tls19mod2.c: New file.
19814 * elf/tst-tls19mod3.c: New file.
19815 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19818 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19822 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19823 two-byte sequence errors.
19824 * iconvdata/Makefile (tests): Add bug-iconv8.
19825 * iconvdata/bug-iconv8.c: New file.
19828 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19831 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19834 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19835 (dummy_getcfa): New function.
19836 (init): Get _Unwind_GetCFA address, use dummy if not found.
19837 (backtrace_helper): In recursion check, also check whether CFA changes.
19838 (__backtrace): Completely initialize arg.
19840 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
19841 storing incomplete byte sequence in state object. Avoid testing for
19842 guaranteed too small input if we know there is enough data available.
19844 2011-05-11 Andreas Schwab <schwab@redhat.com>
19846 * Makeconfig (+link-pie): Indent.
19847 * Rules (binaries-pie): Define if $(have-fpie) and
19849 (binaries-shared): Also filter out $(binaries-pie).
19850 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19851 * nscd/Makefile (others-pie): Add nscd.
19852 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19853 ($(objpfx)nscd): Remove command override.
19854 * login/Makefile (others-pie): Add pt_chown.
19855 ($(objpfx)pt_chown): Remove command override.
19856 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19857 remove command overrides.
19859 2011-05-13 Ulrich Drepper <drepper@gmail.com>
19861 * libio/tst_putwc.c: Fix error messages.
19864 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19865 currently writing and seek to current position when not.
19866 * libio/Makefile (tests): Add bug-fclose1.
19867 * libio/bug-fclose1.c: New file.
19869 2011-05-12 Ulrich Drepper <drepper@gmail.com>
19872 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19873 don't set DF_1_NODELETE here.
19874 (do_lookup_x): When entering new entry test for copy relocation
19875 and if necessary set DF_1_NODELETE flag.
19876 * elf/tst-unique4.cc: New file.
19877 * elf/tst-unique4.h: New file.
19878 * elf/tst-unique4lib.cc: New file.
19879 * elf/Makefile: Add rules to build and run tst-unique4.
19880 Patch by Piotr Bury <pbury@goahead.com>.
19882 2011-05-11 Ulrich Drepper <drepper@gmail.com>
19885 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19888 * misc/mntent_r.c (addmntent): Flush the stream after the output
19891 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19892 (is_trusted_path_normalize): Skip initial colon. Append slash
19893 to empty buffer. Duplicate is_trusted_path code but allow
19894 constructed patch to be prefix.
19895 (is_dst): Allow $ORIGIN followed by /.
19896 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19897 Correct testing of result of is_trusted_path_normalize
19898 (decompose_rpath): Fix warning.
19900 2011-05-10 Ulrich Drepper <drepper@gmail.com>
19903 * grp/initgroups.c (internal_getgrouplist): When we found the service
19904 list through the initgroups entry in nsswitch.conf do not always
19905 continue on a successful lookup. Don't always use the
19906 __nss_group_database value if it is set.
19907 * nss/nsswitch.conf (initgroups): Change action for successful db
19908 lookup to continue for compatibility.
19910 2011-05-09 Ulrich Drepper <drepper@gmail.com>
19913 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19915 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19917 * iconvdata/tst-tables.sh: Likewise.
19918 * iconvdata/cp770.c: New file.
19919 * iconvdata/cp771.c: New file.
19920 * iconvdata/cp772.c: New file.
19921 * iconvdata/cp773.c: New file.
19922 * iconvdata/cp774.c: New file.
19923 * iconvdata/testdata/CP770: New file.
19924 * iconvdata/testdata/CP770..UTF8: New file.
19925 * iconvdata/testdata/CP771: New file.
19926 * iconvdata/testdata/CP771..UTF8: New file.
19927 * iconvdata/testdata/CP772: New file.
19928 * iconvdata/testdata/CP772..UTF8: New file.
19929 * iconvdata/testdata/CP773: New file.
19930 * iconvdata/testdata/CP773..UTF8: New file.
19931 * iconvdata/testdata/CP774: New file.
19932 * iconvdata/testdata/CP774..UTF8: New file.
19934 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19936 * iconvdata/gen-8bit-gap.sh: Likewise.
19937 * iconvdata/gen-8bit.sh: Likewise.
19939 * locale/iso-639.def: Add ary entry.
19942 * locale/C-translit.h.in: Add U20A1 transliteration.
19945 * locale/iso-639.def: Add wae entry.
19946 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19949 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19953 * locale/C-translit.h.in: Add entry for U20B9.
19954 Patch by pravin.d.s@gmail.com.
19956 2011-05-08 Ulrich Drepper <drepper@gmail.com>
19959 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
19960 ENAMETOOLONG use generic getcwd.
19961 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
19962 in rtld. Use *stat64.
19963 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
19964 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
19965 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
19966 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
19967 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
19968 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
19969 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
19970 __fstatat64 macros.
19971 * include/dirent.h: Add libc_hidden_proto for rewinddir.
19972 * dirent/rewinddir.c: Add libc_hidden_def.
19973 * sysdeps/mach/hurd/rewinddir.c: Likewise.
19974 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
19976 * include/dirent.h (__alloc_dir): Add flags parameter.
19977 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
19978 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
19980 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
19981 from fdopendir if O_CLOEXEC is already set.
19983 2011-03-15 Alan Modra <amodra@gmail.com>
19985 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
19986 l_tls_firstbyte_offset non-zero. Save padding offset in
19987 l_tls_firstbyte_offset for later use.
19988 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
19989 freeing static tls block.
19991 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
19993 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
19994 where #ifdef was intended. The intent is to prevent ARG_MAX from
19995 being defined by the kernel headers.
19997 2011-05-07 Ulrich Drepper <drepper@gmail.com>
20000 * resolv/resolv.h: Define RES_NOTLDQUERY.
20001 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20002 no-tld-query and set RES_NOTLDQUERY.
20003 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20004 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20005 modern BIND to search name as TLD unless forbidden.
20007 2011-05-07 Petr Baudis <pasky@suse.cz>
20008 Ulrich Drepper <drepper@gmail.com>
20011 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20012 (is_trusted_path): ...to here.
20013 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20014 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20015 using is_trusted_path_normalize() in setuid scripts.
20017 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20019 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20020 __BEGIN/__END_DECLS.
20022 2011-05-06 Ulrich Drepper <drepper@gmail.com>
20024 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20025 NSS_STATUS_NOTFOUND if no record was found.
20027 2011-05-05 Andreas Schwab <schwab@redhat.com>
20029 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20030 (headers-not-in-tirpc): Remove rpc/netdb.h
20031 * resolv/netdb.h: Revert last change.
20033 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20035 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20036 circular dependency between libgcc.a and libc.a.
20038 2011-05-05 Andreas Schwab <schwab@redhat.com>
20040 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20041 * nis/Makefile: Don't install rpcsvc/*.
20042 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20043 instead of <rpc/types.h>.
20044 (MAXHOSTNAMELEN): Define.
20046 2011-05-03 Andreas Schwab <schwab@redhat.com>
20048 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20050 2011-04-28 Maciej Babinski <mbabinski@google.com>
20053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20054 gethostbyname4_r when IPv6 results are possible.
20056 2011-05-02 Ulrich Drepper <drepper@gmail.com>
20059 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20060 _PC_PIPE_BUF handling.
20062 2011-04-30 Bruno Haible <bruno@clisp.org>
20065 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20066 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20068 * inet/getnameinfo.c (getnameinfo): Likewise.
20070 2011-04-29 Ulrich Drepper <drepper@gmail.com>
20072 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20073 to groups setting in database lookup.
20074 * nss/nsswitch.conf: Add initgroups entry.
20076 2011-04-22 Ulrich Drepper <drepper@gmail.com>
20079 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20081 Patch by Eric Blake <eblake@redhat.com>.
20083 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20085 * sunrpc/Makefile (need-export-routines): Add svc_run.
20086 (routines): Remove svc_run.
20087 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20088 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20089 * sunrpc/svc_run.c (svc_run): Likewise.
20090 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20092 2011-04-21 Ulrich Drepper <drepper@gmail.com>
20094 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20095 problem in reallocation in last patch.
20097 2011-04-20 Ulrich Drepper <drepper@gmail.com>
20099 * sunrpc/Makefile: Move inclusion of Rules.
20101 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20103 * nss/nss_files/files-initgroups.c: New file.
20104 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20105 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20106 _nss_files_initgroups_dyn.
20108 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20110 * elf/elf.h (R_ARM_IRELATIVE): Define.
20112 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20114 * po/ru.po: Update from translation team.
20116 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20118 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20121 2011-02-06 Mike Frysinger <vapier@gentoo.org>
20124 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20125 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20126 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20127 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20128 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20130 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20132 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20134 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20135 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20136 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20138 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20141 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20143 * stdlib/bug-getcontext.c: New file.
20144 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20146 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20148 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20149 instructions into .machine "z9-109".
20150 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20151 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20153 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20155 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20156 between environment variables and auxiliary vector.
20158 2011-04-16 Ulrich Drepper <drepper@gmail.com>
20160 * Makefile: Add rules to build linkobj/libc.so.
20161 * include/libc-symbols.h: Define libc_hidden_nolink.
20162 * include/rpc/auth.h: Mark functions which are to be hidden.
20163 * include/rpc/auth_des.h: Likewise.
20164 * include/rpc/auth_unix.h: Likewise.
20165 * include/rpc/clnt.h: Likewise.
20166 * include/rpc/des_crypt.h: Likewise.
20167 * include/rpc/key_prot.h: Likewise.
20168 * include/rpc/pmap_clnt.h: Likewise.
20169 * include/rpc/pmap_prot.h: Likewise.
20170 * include/rpc/pmap_rmt.h: Likewise.
20171 * include/rpc/rpc_msg.h: Likewise.
20172 * include/rpc/svc.h: Likewise.
20173 * include/rpc/svc_auth.h: Likewise.
20174 * include/rpc/xdr.h: Likewise.
20175 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20176 * nss/Makefile: Likewise.
20177 * sunrpc/Makefile: Don't install headers. Build library with normal
20178 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20179 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20180 for the compat linking library. Remove use of INTDEF/INTUSE.
20181 * sunrpc/auth_none.c: Likewise.
20182 * sunrpc/auth_unix.c: Likewise.
20183 * sunrpc/authdes_prot.c: Likewise.
20184 * sunrpc/authuxprot.c: Likewise.
20185 * sunrpc/clnt_gen.c: Likewise.
20186 * sunrpc/clnt_perr.c: Likewise.
20187 * sunrpc/clnt_raw.c: Likewise.
20188 * sunrpc/clnt_simp.c: Likewise.
20189 * sunrpc/clnt_tcp.c: Likewise.
20190 * sunrpc/clnt_udp.c: Likewise.
20191 * sunrpc/clnt_unix.c: Likewise.
20192 * sunrpc/des_crypt.c: Likewise.
20193 * sunrpc/des_soft.c: Likewise.
20194 * sunrpc/get_myaddr.c: Likewise.
20195 * sunrpc/key_call.c: Likewise.
20196 * sunrpc/key_prot.c: Likewise.
20197 * sunrpc/netname.c: Likewise.
20198 * sunrpc/pm_getmaps.c: Likewise.
20199 * sunrpc/pm_getport.c: Likewise.
20200 * sunrpc/pmap_clnt.c: Likewise.
20201 * sunrpc/pmap_prot.c: Likewise.
20202 * sunrpc/pmap_prot2.c: Likewise.
20203 * sunrpc/pmap_rmt.c: Likewise.
20204 * sunrpc/publickey.c: Likewise.
20205 * sunrpc/rpc_cmsg.c: Likewise.
20206 * sunrpc/rpc_common.c: Likewise.
20207 * sunrpc/rpc_dtable.c: Likewise.
20208 * sunrpc/rpc_prot.c: Likewise.
20209 * sunrpc/rpc_thread.c: Likewise.
20210 * sunrpc/rtime.c: Likewise.
20211 * sunrpc/svc.c: Likewise.
20212 * sunrpc/svc_auth.c: Likewise.
20213 * sunrpc/svc_authux.c: Likewise.
20214 * sunrpc/svc_raw.c: Likewise.
20215 * sunrpc/svc_run.c: Likewise.
20216 * sunrpc/svc_simple.c: Likewise.
20217 * sunrpc/svc_tcp.c: Likewise.
20218 * sunrpc/svc_udp.c: Likewise.
20219 * sunrpc/svc_unix.c: Likewise.
20220 * sunrpc/svcauth_des.c: Likewise.
20221 * sunrpc/xcrypt.c: Likewise.
20222 * sunrpc/xdr.c: Likewise.
20223 * sunrpc/xdr_array.c: Likewise.
20224 * sunrpc/xdr_float.c: Likewise.
20225 * sunrpc/xdr_intXX_t.c: Likewise.
20226 * sunrpc/xdr_mem.c: Likewise.
20227 * sunrpc/xdr_rec.c: Likewise.
20228 * sunrpc/xdr_ref.c: Likewise.
20229 * sunrpc/xdr_sizeof.c: Likewise.
20230 * sunrpc/xdr_stdio.c: Likewise.
20232 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20235 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20236 * sysdeps/ia64/dl-tls.h: Likewise.
20237 * sysdeps/powerpc/dl-tls.h: Likewise.
20238 * sysdeps/s390/dl-tls.h: Likewise.
20239 * sysdeps/sh/dl-tls.h: Likewise.
20240 * sysdeps/sparc/dl-tls.h: Likewise.
20241 * sysdeps/x86_64/dl-tls.h: Likewise.
20242 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20244 2011-03-14 Andreas Schwab <schwab@redhat.com>
20246 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20247 rpath element also skip the following colon.
20248 (expand_dynamic_string_token): Add is_path parameter and pass
20249 down to DL_DST_REQUIRED and _dl_dst_substitute.
20250 (decompose_rpath): Call expand_dynamic_string_token with
20251 non-zero is_path. Ignore empty rpaths.
20252 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20255 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20260 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20263 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20264 Patch by Filipe David Manana <fdmanana@apache.org>.
20266 2011-04-07 Andreas Schwab <schwab@redhat.com>
20268 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20269 Maintain aligned stack.
20270 (CHECK_RSP): Remove unused macro.
20272 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20274 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20275 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20277 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20279 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20281 * include/features.h: Mention __USE_XOPEN2K8 in comment.
20283 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20286 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20287 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20288 * sysdeps/x86_64/memmove.c: New file.
20289 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20290 (memcpy): Renamed to ...
20291 (__new_memcpy): This.
20292 (memcpy): Provide GLIBC_2_14 memcpy.
20293 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20294 (memcpy): Provide GLIBC_2_2_5 memcpy.
20296 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20299 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20301 2011-03-30 Andreas Schwab <schwab@redhat.com>
20303 * misc/syncfs.c: New file.
20304 * misc/Makefile (routines): Add syncfs.
20305 * posix/unistd.h: Declare syncfs.
20306 * sysdeps/unix/syscalls.list: Add syncfs.
20308 2011-04-01 Andreas Schwab <schwab@redhat.com>
20310 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20312 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20313 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20315 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20317 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20318 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20320 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20322 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20323 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20324 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20325 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20326 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20328 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20330 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20331 sync_file_range.c with -fexceptions.
20332 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20333 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20334 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20335 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20336 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20337 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20338 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20339 sync_file_range as cancellation point
20340 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20341 now a wrapper around __call_sync_file_range with cancellation handling.
20342 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20343 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20344 function name to __call_sync_file_range.
20345 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20346 Add call_sync_file_range.
20348 2011-04-01 Andreas Schwab <schwab@redhat.com>
20350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20353 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20355 * iconv/iconv.h: Fix typo in comment.
20356 * io/fcntl.h: Likewise.
20357 * libio/stdio.h: Likewise.
20358 * posix/spawn.h: Likewise.
20359 * posix/unistd.h: Likewise.
20360 * stdlib/stdlib.h: Likewise.
20361 * time/time.h: Likewise.
20362 * wcsmbs/wchar.h: Likewise.
20364 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20365 open_by_handle): Add.
20366 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20367 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20368 Augment a few comments.
20369 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20370 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20371 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20372 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20374 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20377 * io/fcntl.h (AT_EMPTY_PATH): Define.
20379 2011-03-30 Ulrich Drepper <drepper@gmail.com>
20381 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20382 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20383 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20385 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
20386 * Versions.def: Add GLIBC_2.14.
20387 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20390 2011-03-22 Ulrich Drepper <drepper@gmail.com>
20392 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20394 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20396 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20399 * string/test-strncmp.c (do_page_test): New function.
20400 (check2): Likewise.
20401 (test_main): Call check2.
20402 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20404 2011-03-20 Ulrich Drepper <drepper@gmail.com>
20407 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20408 Handle cache information in CPU leaf 4.
20409 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20411 2011-03-18 Ulrich Drepper <drepper@gmail.com>
20414 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20415 character representation.
20416 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20418 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20420 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20421 END(__isnan) to END(__isnanf) to match function entry point/label
20422 EALIGN(__isnanf,...).
20424 2011-03-10 Jakub Jelinek <jakub@redhat.com>
20426 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20428 2011-03-10 Ulrich Drepper <drepper@gmail.com>
20431 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20432 copy from the symbol referenced in the relocation to initialize the
20434 Patch by Piotr Bury <pbury@goahead.com>.
20435 * elf/Makefile: Add rules to build and tst-unique3.
20436 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20437 * elf/tst-unique3.cc: New file.
20438 * elf/tst-unique3.h: New file.
20439 * elf/tst-unique3lib.cc: New file.
20440 * elf/tst-unique3lib2.cc: New file.
20442 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20444 2011-03-10 Mike Frysinger <vapier@gentoo.org>
20446 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20447 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20450 2011-03-06 Ulrich Drepper <drepper@gmail.com>
20452 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20453 to-be-loaded object along a path to loader is ld.so.
20455 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20456 Ulrich Drepper <drepper@gmail.com>
20458 * sysdeps/x86_64/memset.S: After aligning destination, code
20459 branches to different locations depending on the value of
20460 misalignment, when multiarch is enabled. Fix this.
20462 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20464 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20465 Set _x86_64_preferred_memory_instruction for AMD processsors.
20466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20467 Set bit_Prefer_SSE_for_memop for AMD processors.
20469 2011-03-04 Ulrich Drepper <drepper@gmail.com>
20471 * libio/fmemopen.c (fmemopen): Optimize a bit.
20473 2011-03-03 Andreas Schwab <schwab@redhat.com>
20475 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20477 2011-03-03 Roland McGrath <roland@redhat.com>
20479 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20481 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20483 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
20484 __bzero_ultra1 instead of __memset_ultra1.
20486 2011-02-23 Andreas Schwab <schwab@redhat.com>
20487 Ulrich Drepper <drepper@gmail.com>
20490 * include/link.h (struct link_map): Add l_orig_initfini.
20491 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20492 returning unsuccessfully.
20493 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20494 close of a file loaded at startup, restore the original l_initfini
20496 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20497 list, store the pointer.
20498 * elf/Makefile ($(objpfx)noload-mem): New rule.
20499 (noload-ENV): Define.
20500 (tests): Add $(objpfx)noload-mem.
20501 * elf/noload.c: Include <memcheck.h>.
20502 (main): Call mtrace. Close all opened handles.
20504 2011-02-17 Andreas Schwab <schwab@redhat.com>
20507 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20508 dependencies are missing.
20510 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20512 Fix __if_freereq crash: Unlike the generic version which uses free,
20514 * sysdeps/mach/hurd/ifreq.h: New file.
20516 2011-01-27 Petr Baudis <pasky@suse.cz>
20517 Ulrich Drepper <drepper@gmail.com>
20520 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20521 to extend_alloca().
20522 * stdio-common/bug23.c: New file.
20523 * stdio-common/Makefile (tests): Add bug23.
20525 2010-09-28 Andreas Schwab <schwab@redhat.com>
20526 Ulrich Drepper <drepper@gmail.com>
20529 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20530 before performing relro protection. At old place add assertion
20531 to make sure nothing changed.
20533 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20534 Glauber de Oliveira Costa <glommer@gmail.com>
20536 * elf/elf.h: Add new ARM TLS relocs.
20538 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20541 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20543 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20545 * sysdeps/wordsize-64/tst-writev.c: New file.
20547 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20549 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20550 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20551 insns in _dl_start to prevent a TOC reference before relocs are
20554 2011-02-15 Ulrich Drepper <drepper@gmail.com>
20557 * Makeconfig: Remove RANLIB definition.
20558 * Makerules: Don't use RANLIB.
20559 * aclocal.m4: Remove ranlib test.
20560 * configure.in: No need to check for ranlib.
20561 * elf/rtld-Rules: Don't use RANLIB.
20563 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20565 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20567 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20568 inclusion protection macro.
20570 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20571 SIGRTMIN and SIGRTMAX and print information in that case only when
20572 SIGRTMIN is defined.
20574 2011-02-11 Jakub Jelinek <jakub@redhat.com>
20576 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20577 arginfo fn returning -1.
20579 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20580 and thousands string is zero terminated.
20582 2011-02-03 Andreas Schwab <schwab@redhat.com>
20584 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20585 sysdeps/unix/sysv/linux/bits/socket.h.
20587 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20589 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20590 (__CPU_COUNT): Remove old macros.
20591 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20592 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20593 (__CPU_ALLOC, __CPU_FREE): Add macros.
20594 (__sched_cpualloc, __sched_cpufree): Add declarations.
20596 2011-02-05 Ulrich Drepper <drepper@gmail.com>
20598 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20599 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20600 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20601 (readdhstai): Return value of addhstaiX call.
20602 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20603 (addgrbyX): Return value returned by cache_addgr.
20604 (readdgrbyname): Return value returned by addgrbyX.
20605 (readdgrbygid): Likewise.
20606 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20607 (addpwbyX): Return value returned by cache_addpw.
20608 (readdpwbyname): Return value returned by addhstbyX.
20609 (readdpwbyuid): Likewise.
20610 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20611 (addservbyX): Return value returned by cache_addserv.
20612 (readdservbyname): Return value returned by addservbyX:
20613 (readdservbyport): Likewise.
20614 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20615 (addhstbyX): Return value returned by cache_addhst.
20616 (readdhstbyname): Return value returned by addhstbyX.
20617 (readdhstbyaddr): Likewise.
20618 (readdhstbynamev6): Likewise.
20619 (readdhstbyaddrv6): Likewise.
20620 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20621 (readdinitgroups): Return value returned by addinitgroupsX.
20622 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20623 (prune_cache): Keep track of timeout value of re-added entries.
20624 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20625 * nscd/nscd.h: Adjust prototypes of readd* functions.
20627 2011-02-04 Roland McGrath <roland@redhat.com>
20629 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20630 (nis_stats): Likewise.
20631 * nis/nis_modify.c (nis_modify): Likewise.
20632 * nis/nis_remove.c (nis_remove): Likewise.
20633 * nis/nis_add.c (nis_add): Likewise.
20635 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20637 * posix/fnmatch_loop.c: Add some consts.
20639 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20641 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20644 * config.make.in (config-cflags-novzeroupper): Define.
20645 * configure.in: Substitute libc_cv_cc_novzeroupper.
20646 * elf/Makefile (AVX-CFLAGS): Define.
20647 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20648 (CFLAGS-tst-auditmod4a.c): Likewise.
20649 (CFLAGS-tst-auditmod4b.c): Likewise.
20650 (CFLAGS-tst-auditmod6b.c): Likewise.
20651 (CFLAGS-tst-auditmod6c.c): Likewise.
20652 (CFLAGS-tst-auditmod7b.c): Likewise.
20653 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20655 2011-02-02 Ulrich Drepper <drepper@gmail.com>
20657 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20658 function to the callback.
20659 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20661 2011-02-02 Andreas Schwab <schwab@redhat.com>
20663 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20666 2011-01-19 Ulrich Drepper <drepper@gmail.com>
20669 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20671 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20673 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20676 * elf/Makefile: Add rules to build and run new test.
20677 * elf/tst-initorder.c: New file.
20678 * elf/tst-initorder.exp: New file.
20679 * elf/tst-initordera1.c: New file.
20680 * elf/tst-initordera2.c: New file.
20681 * elf/tst-initordera3.c: New file.
20682 * elf/tst-initordera4.c: New file.
20683 * elf/tst-initorderb1.c: New file.
20684 * elf/tst-initorderb2.c: New file.
20685 * elf/tst-order-a1.c: New file.
20686 * elf/tst-order-a2.c: New file.
20687 * elf/tst-order-a3.c: New file.
20688 * elf/tst-order-a4.c: New file.
20689 * elf/tst-order-b1.c: New file.
20690 * elf/tst-order-b2.c: New file.
20691 * elf/tst-order-main.c: New file.
20692 New test case by George Gensure <werkt0@gmail.com>.
20694 2010-10-01 Andreas Schwab <schwab@redhat.com>
20696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20697 decoding ACE if AI_CANONIDN.
20699 2011-01-18 Ulrich Drepper <drepper@gmail.com>
20701 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20703 2011-01-17 Ulrich Drepper <drepper@gmail.com>
20705 * version.h (RELEASE): Bump for 2.13 release.
20706 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20708 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20710 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20712 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20713 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20714 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20715 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20716 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20717 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20719 * posix/getconf.c: Update copyright year.
20720 * catgets/gencat.c: Likewise.
20721 * csu/version.c: Likewise.
20722 * debug/catchsegv.sh: Likewise.
20723 * debug/xtrace.sh: Likewise.
20724 * elf/ldconfig.c: Likewise.
20725 * elf/ldd.bash.in: Likewise.
20726 * elf/sprof.c (print_version): Likewise.
20727 * iconv/iconv_prog.c: Likewise.
20728 * iconv/iconvconfig.c: Likewise.
20729 * locale/programs/locale.c: Likewise.
20730 * locale/programs/localedef.c: Likewise.
20731 * malloc/memusage.sh: Likewise.
20732 * malloc/mtrace.pl: Likewise.
20733 * nscd/nscd.c (print_version): Likewise.
20734 * nss/getent.c: Likewise.
20736 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20737 PF_CAIF, and PF_ALG.
20738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20740 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20742 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20743 (modules-names): Use them.
20744 (ifunc-test-modules, ifunc-pie-tests): Define.
20745 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20746 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20747 (test-extras): Likewise.
20748 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20749 $(compile-command.c).
20750 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20751 (all-built-dso): Define.
20752 (check-textrel.out, check-execstack.out): Depend on it.
20754 * configure.in: Don't override --enable-multi-arch.
20756 2011-01-15 Ulrich Drepper <drepper@gmail.com>
20759 * nscd/hstcache.c (tryagain): Define.
20760 (cache_addhst): Return tryagain not notfound for temporary errors.
20761 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20764 2011-01-14 Ulrich Drepper <drepper@gmail.com>
20767 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20768 to make the syscall.
20769 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20772 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20773 and fall back to matching as normal character if the string ends before
20774 the matching ']' is found. This is what POSIX requires.
20775 * posix/testfnm.c: Adjust test result.
20776 * posix/globtest.sh: Adjust test result. Add new test.
20777 * posix/tst-fnmatch.input: Likewise.
20778 * posix/tst-fnmatch2.c: Add new test.
20780 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20782 * elf/Makefile (check-execstack): Revert last change. Depend on
20784 (check-execstack.h): New target.
20785 (generated): Add check-execstack.h.
20786 * elf/check-execstack.c: Include "check-execstack.h".
20787 (main): Revert last change.
20788 (handle_file): Return zero if GNU_STACK is absent and
20789 DEFAULT_STACK_PERMS doesn't include PF_X.
20791 2011-01-13 Ulrich Drepper <drepper@gmail.com>
20793 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20794 in child fails because the descriptor is already closed.
20795 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20796 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20797 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
20800 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20804 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20805 temporary buffer used to handle multi lookups locally.
20806 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
20808 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20810 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20813 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20815 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20816 alignment for SSE2.
20818 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20821 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20822 characters. When rounding increased number of integer digits recompute
20824 * stdio-common/tst-grouping.c: New file.
20825 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20827 2011-01-09 Ulrich Drepper <drepper@gmail.com>
20829 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20830 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20832 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20834 * bits/select.h: Likewise.
20836 2011-01-08 Ulrich Drepper <drepper@gmail.com>
20838 * po/ja.po: Update from translation team.
20840 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
20843 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20844 implementation just like for lxstat, fxstatat, et al.
20846 2010-12-27 Jim Meyering <meyering@redhat.com>
20849 * posix/regexec.c (build_trtable): Return failure indication upon
20850 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20852 2010-12-25 Ulrich Drepper <drepper@gmail.com>
20855 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20856 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20857 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20858 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20861 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20864 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20865 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20867 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20869 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20870 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20871 script has SORT_BY_INIT_PRIORITY.
20872 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20873 NO_CTORS_DTORS_SECTIONS is defined.
20874 * elf/soinit.c: Likewise.
20875 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20876 NO_CTORS_DTORS_SECTIONS is defined.
20877 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20878 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20879 * sysdeps/sh/init-first.c: Likewise.
20880 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20882 2010-12-24 Ulrich Drepper <drepper@gmail.com>
20884 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20885 always use the slow path.
20887 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20889 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20890 similar rule which adds the sysdep directories to the header search in
20891 order to pick up the correct platform stackinfo.h.
20892 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20893 perform test if it is, otherwise return successfully without testing.
20894 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20895 DEFAULT_STACK_PERMS define in stackinfo.h.
20896 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20897 defined in stackinfo.h.
20898 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20899 DEFAULT_STACK_PERMS defined in stackinfo.h.
20900 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20901 * sysdeps/ia64/stackinfo.h: Likewise.
20902 * sysdeps/s390/stackinfo.h: Likewise.
20903 * sysdeps/sh/stackinfo.h: Likewise.
20904 * sysdeps/sparc/stackinfo.h: Likewise.
20905 * sysdeps/x86_64/stackinfo.h: Likewise.
20906 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20907 PF_X for powerpc64. Retain PF_X for powerpc32.
20909 2010-12-19 Ulrich Drepper <drepper@gmail.com>
20911 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20913 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20914 GETDENTS_64BIT_ALIGNED.
20916 2010-12-14 Ulrich Drepper <dreper@gmail.com>
20918 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
20920 2010-12-10 Andreas Schwab <schwab@redhat.com>
20922 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20925 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20926 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20928 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20929 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20931 2010-12-09 Ulrich Drepper <drepper@gmail.com>
20934 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20937 2010-12-09 Jakub Jelinek <jakub@redhat.com>
20939 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20941 2010-12-03 Ulrich Drepper <drepper@gmail.com>
20943 * po/it.po: Update from translation team.
20945 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20950 2010-11-30 Ulrich Drepper <drepper@gmail.com>
20952 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20954 2010-11-24 Andreas Schwab <schwab@redhat.com>
20956 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
20958 (gaih_getanswer_slice): Likewise.
20960 2010-10-20 Jakub Jelinek <jakub@redhat.com>
20962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
20964 2010-05-31 Petr Baudis <pasky@suse.cz>
20967 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
20968 silently even in the chroot mode.
20970 2010-11-22 Ulrich Drepper <drepper@gmail.com>
20972 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
20973 last patch a bit. Pretty printing
20975 2010-05-31 Petr Baudis <pasky@suse.cz>
20978 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
20979 initialization of skip_initgroups_dyn.
20981 2010-11-19 Ulrich Drepper <drepper@gmail.com>
20983 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
20984 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20986 2010-11-16 Ulrich Drepper <drepper@gmail.com>
20988 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
20990 2010-11-11 Andreas Schwab <schwab@redhat.com>
20992 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
20993 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
20994 (tst-fnmatch-ENV): Set MALLOC_TRACE.
20995 ($(objpfx)tst-fnmatch-mem): New rule.
20996 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
20997 * posix/tst-fnmatch.c (main): Call mtrace.
20999 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21002 Support Intel processor model 6 and model 0x2c.
21004 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
21006 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21009 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21012 * string/test-strncasecmp.c (check_result): New function.
21013 (do_one_test): Use it.
21014 (check1): New function.
21015 (test_main): Use it.
21016 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21017 Support strcasecmp and strncasecmp.
21019 2010-11-08 Ulrich Drepper <drepper@gmail.com>
21022 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21023 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21025 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21027 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21031 * sysdeps/x86_64/multiarch/bzero.S: New file.
21032 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21033 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21034 * sysdeps/x86_64/multiarch/memset.S: New file.
21035 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21037 Set bit_Prefer_SSE_for_memop for Intel processors.
21038 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21040 (index_Prefer_SSE_for_memop): Define.
21041 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21043 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
21045 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21046 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21048 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21051 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21052 (__x86_64_raw_data_cache_size_half): Likewise.
21053 (__x86_64_raw_shared_cache_size): Likewise.
21054 (__x86_64_raw_shared_cache_size_half): Likewise.
21056 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21057 (__x86_64_raw_data_cache_size_half): Likewise.
21058 (__x86_64_raw_shared_cache_size): Likewise.
21059 (__x86_64_raw_shared_cache_size_half): Likewise.
21060 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21061 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21062 and __x86_64_raw_shared_cache_size_half. Round
21063 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21064 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21065 to multiple of 256 bytes.
21067 2010-11-03 Ulrich Drepper <drepper@gmail.com>
21070 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21071 of inacessible symlinks. Verify result of symlink before returning it.
21072 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21073 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21075 2010-10-28 Erich Ritz <erichritz@gmail.com>
21077 * math/math.h (isinf): Fix typo in comment.
21079 2010-11-01 Ulrich Drepper <drepper@gmail.com>
21081 * po/da.po: Update from translation team.
21083 2010-10-26 Ulrich Drepper <drepper@gmail.com>
21085 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21086 is added to the list.
21088 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21089 Ulrich Drepper <drepper@gmail.com>
21091 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21092 the global list here. Move code to...
21093 (_dl_add_to_namespace_list): ...here. New function.
21094 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21095 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21096 * elf/dl-load.c (lose): Don't remove the element from the list.
21097 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21098 (_dl_map_object): Likewise.
21100 2010-10-25 Ulrich Drepper <drepper@gmail.com>
21103 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21104 into all bytes of SSE register.
21105 Patch by Richard Li <richardpku@gmail.com>.
21107 2010-10-24 Ulrich Drepper <drepper@gmail.com>
21110 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21113 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21115 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21116 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21117 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21118 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21123 2010-10-22 Andreas Schwab <schwab@redhat.com>
21125 * include/dlfcn.h (__RTLD_SECURE): Define.
21126 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21127 mode & __RTLD_SECURE instead.
21128 (open_path): Rename preloaded parameter to secure.
21129 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21130 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21131 * elf/dl-deps.c (openaux): Likewise.
21132 * elf/rtld.c (struct map_args): Remove is_preloaded.
21133 (map_doit): Don't use it.
21134 (dl_main): Likewise.
21135 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21136 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21138 2010-09-09 Andreas Schwab <schwab@redhat.com>
21140 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21141 (sysd-rules-targets): Remove duplicates.
21142 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21143 rtld-%.$o dependency.
21145 2010-10-18 Andreas Schwab <schwab@redhat.com>
21147 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21148 _dl_map_object do it.
21150 2010-10-19 Ulrich Drepper <drepper@gmail.com>
21152 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21153 fast fma builtins, define the macros in the C99 standard.
21154 (FP_FAST_FMAF): Likewise.
21155 (FP_FAST_FMAL): Likewise.
21156 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21158 * bits/mathdef.h: Update copyright year.
21159 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21161 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21163 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21164 builtins, define the macros in the C99 standard.
21165 (FP_FAST_FMAF): Likewise.
21166 (FP_FAST_FMAL): Likewise.
21167 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21169 (FP_FAST_FMAF): Likewise.
21171 2010-10-15 Jakub Jelinek <jakub@redhat.com>
21174 * math/libm-test.inc (fma_test): Some new testcases.
21175 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21176 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21177 y and infinite z. Do multiplication by C already in long double.
21178 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21180 y and infinite z. Do bitwise or of inexact bit into u.d.
21181 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21182 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21183 * sysdeps/i386/fpu/s_fma.S: Removed.
21184 * sysdeps/i386/fpu/s_fmal.S: Removed.
21186 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21189 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21190 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21191 computation is not scheduled after fetestexcept. Fix value
21192 of minimum denormal long double.
21194 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21197 * math/libm-test.inc (fma_test): Add some more tests.
21198 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21201 2010-10-15 Andreas Schwab <schwab@redhat.com>
21203 * scripts/data/localplt-s390-linux-gnu.data: New file.
21204 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21206 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21209 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21210 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21212 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21214 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21216 if one of x and y is very large and the other is subnormal.
21217 * sysdeps/s390/fpu/s_fmaf.c: New file.
21218 * sysdeps/s390/fpu/s_fma.c: New file.
21219 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21220 * sysdeps/powerpc/fpu/s_fma.S: New file.
21221 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21222 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21223 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21225 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21228 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21230 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21231 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21232 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21233 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21234 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21235 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21236 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21238 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21241 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21242 * posix/bug-regex31.input: Add test case.
21244 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21246 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21247 * posix/bug-regex31.input: New file.
21250 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21251 (parse_sub_exp): Fix last change, use postorder.
21253 * posix/bug-regex31.c: New file.
21254 * posix/Makefile: Add rules to build and run bug-regex31.
21256 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21259 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21262 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21263 to have entries in sys_siglist.
21266 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21269 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21272 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21273 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21274 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21275 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21276 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21277 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21278 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21279 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21280 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21281 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21282 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21283 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21284 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21285 * math/ftestexcept.c (fetestexcept): Likewise.
21286 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21287 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21288 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21289 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21290 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21291 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21292 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21294 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21297 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21300 2010-10-06 Ulrich Drepper <drepper@gmail.com>
21302 * string/bug-strstr1.c: New file.
21303 * string/Makefile: Add rules to build and run bug-strstr1.
21305 2010-10-05 Eric Blake <eblake@redhat.com>
21308 * string/str-two-way.h (two_way_long_needle): Always clear memory
21309 when skipping input due to the shift table.
21311 2010-10-03 Ulrich Drepper <drepper@gmail.com>
21314 * malloc/mcheck.c: Handle large requests.
21317 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21318 for strncmp and strncasecmp.
21319 * string/stratcliff.c: Add tests for strcmp and strncmp.
21320 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21322 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21324 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21327 2010-09-30 Andreas Jaeger <aj@suse.de>
21329 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21330 (CGROUP_SUPER_MAGIC): Define.
21331 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21332 Handle btrfs and cgroup file systems.
21333 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21336 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
21338 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21339 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21341 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21344 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21345 trying to locate the ELF header.
21347 2010-09-27 Andreas Schwab <schwab@redhat.com>
21350 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21351 Mask out sign-bit copies when constructing f_fsid.
21353 2010-09-24 Petr Baudis <pasky@suse.cz>
21355 * debug/stack_chk_fail_local.c: Add missing licence exception.
21356 * debug/warning-nop.c: Likewise.
21358 2010-09-15 Joseph Myers <joseph@codesourcery.com>
21360 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21361 implementing getdents64 using getdents syscall, set d_type if
21362 __ASSUME_GETDENTS32_D_TYPE.
21364 2010-09-16 Andreas Schwab <schwab@redhat.com>
21366 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21367 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21369 2010-09-21 Ulrich Drepper <drepper@redhat.com>
21372 * posix/unistd.h: Undo change of feature selection for ftruncate from
21375 2010-09-20 Ulrich Drepper <drepper@redhat.com>
21377 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21380 2010-09-20 Andreas Schwab <schwab@redhat.com>
21382 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21384 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21386 2010-09-14 Andreas Schwab <schwab@redhat.com>
21388 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21389 variables after CHECK_SP call.
21390 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21392 2010-09-13 Andreas Schwab <schwab@redhat.com>
21393 Ulrich Drepper <drepper@redhat.com>
21395 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21396 re-relocationg ld.so.
21397 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21398 _dl_init_paths call.
21399 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21402 2010-09-14 Ulrich Drepper <drepper@redhat.com>
21404 * resolv/res_init.c (__res_vinit): Count the default server we added.
21406 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21407 Ulrich Drepper <drepper@redhat.com>
21410 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21411 (____longjmp_chk): Use %ebx for saving value across system call.
21414 2010-09-06 Andreas Schwab <schwab@redhat.com>
21416 * manual/Makefile: Don't mix pattern rules with normal rules.
21418 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21420 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21422 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21423 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21424 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21425 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21426 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21429 2010-09-04 Ulrich Drepper <drepper@redhat.com>
21432 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21433 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21435 2010-09-02 Ulrich Drepper <drepper@redhat.com>
21437 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21438 * sysdeps/x86_64/addmul_1.S: Likewise.
21439 * sysdeps/x86_64/lshift.S: Likewise.
21440 * sysdeps/x86_64/mul_1.S: Likewise.
21441 * sysdeps/x86_64/rshift.S: Likewise.
21442 * sysdeps/x86_64/sub_n.S: Likewise.
21443 * sysdeps/x86_64/submul_1.S: Likewise.
21445 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21447 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21448 Define __sched_param instead of SCHED_* and sched_param when
21449 <bits/sched.h> is included with __need_schedparam defined.
21450 * bits/sched.h [__need_schedparam]
21451 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
21452 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21453 (__defined_schedparam): Define to 1.
21454 (__sched_param): New structure, identical to sched_param.
21455 (__need_schedparam): Undefine.
21457 2010-08-31 Mike Frysinger <vapier@gentoo.org>
21459 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21460 (epoll_create1): Declare.
21462 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21464 2010-08-31 Andreas Schwab <schwab@redhat.com>
21467 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21468 shifting retval into place.
21470 2010-09-01 Ulrich Drepper <drepper@redhat.com>
21472 * nis/rpcsvc/nis.h: Update copyright notice.
21473 * nis/rpcsvc/nis.x: Likewise.
21474 * nis/rpcsvc/nis_callback.h: Likewise.
21475 * nis/rpcsvc/nis_callback.x: Likewise.
21476 * nis/rpcsvc/nis_object.x: Likewise.
21477 * nis/rpcsvc/nis_tags.h: Likewise.
21478 * nis/rpcsvc/yp.h: Likewise.
21479 * nis/rpcsvc/yp.x: Likewise.
21480 * nis/rpcsvc/ypupd.h: Likewise.
21481 * nis/yp_xdr.c: Likewise.
21482 * nis/ypupdate_xdr.c: Likewise.
21484 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21485 mainly the body of pmap_getport. Add parameters to specify timeouts.
21486 (pmap_getport): Use __libc_rpc_getport.
21487 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21488 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21489 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21491 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21496 2010-08-27 Roland McGrath <roland@redhat.com>
21498 * sysdeps/i386/i686/multiarch/Makefile
21499 (CFLAGS-varshift.c): New variable.
21501 2010-08-27 Ulrich Drepper <drepper@redhat.com>
21503 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21504 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21506 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21508 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21510 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21512 * sysdeps/x86_64/strlen.S: Unroll the loop.
21513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21514 strlen-sse2 strlen-sse2-bsf.
21515 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21516 __strlen_no_bsf if bit_Slow_BSF is set.
21517 (__strlen_sse42): Removed.
21518 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21519 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21521 2010-08-25 Roland McGrath <roland@redhat.com>
21523 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21524 * sysdeps/x86_64/multiarch/varshift.c: New file.
21525 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21526 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21527 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21528 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21530 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21532 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21533 strlen-sse2 strlen-sse2-bsf.
21534 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21535 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21536 (__strlen_sse2): Removed.
21537 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21538 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21540 bit_Slow_BSF for Atom.
21541 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21542 (index_Slow_BSF): Define.
21543 (HAS_SLOW_BSF): Define.
21545 2010-08-25 Ulrich Drepper <drepper@redhat.com>
21548 * resolv/res_init.c (__res_vinit): When no server address at all
21549 is given default to loopback.
21551 2010-08-24 Roland McGrath <roland@redhat.com>
21553 * configure.in: Remove config-name.h generation.
21554 * configure: Regenerated.
21555 * config-name.in: File removed.
21556 * scripts/config-uname.sh: New file.
21557 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21558 ($(objdir)config-name.h): New target.
21560 * sunrpc/rpc_parse.h: Avoid nested comment.
21562 2010-08-24 Richard Henderson <rth@redhat.com>
21563 Ulrich Drepper <drepper@redhat.com>
21564 H.J. Lu <hongjiu.lu@intel.com>
21566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21568 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21569 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21570 _mm_alignr_epi8 with _mm_loadu_si128.
21571 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21572 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21573 (__m128i_shift_right): Removed.
21574 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21575 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21576 * sysdeps/x86_64/multiarch/varshift.h: New file.
21577 * sysdeps/x86_64/multiarch/varshift.S: New file.
21579 2010-08-21 Mike Frysinger <vapier@gentoo.org>
21581 * configure.in: Move assembler checks to before sysdep dir checking.
21583 2010-08-20 Petr Baudis <pasky@suse.cz>
21585 * LICENSES: Sync the sunrpc license.
21587 2010-08-19 Ulrich Drepper <drepper@redhat.com>
21589 * sunrpc/auth_des.c: Update copyright notice once again.
21590 * sunrpc/auth_none.c: Likewise.
21591 * sunrpc/auth_unix.c: Likewise.
21592 * sunrpc/authdes_prot.c: Likewise.
21593 * sunrpc/authuxprot.c: Likewise.
21594 * sunrpc/bindrsvprt.c: Likewise.
21595 * sunrpc/clnt_gen.c: Likewise.
21596 * sunrpc/clnt_perr.c: Likewise.
21597 * sunrpc/clnt_raw.c: Likewise.
21598 * sunrpc/clnt_simp.c: Likewise.
21599 * sunrpc/clnt_tcp.c: Likewise.
21600 * sunrpc/clnt_udp.c: Likewise.
21601 * sunrpc/clnt_unix.c: Likewise.
21602 * sunrpc/des_crypt.c: Likewise.
21603 * sunrpc/des_soft.c: Likewise.
21604 * sunrpc/get_myaddr.c: Likewise.
21605 * sunrpc/getrpcport.c: Likewise.
21606 * sunrpc/key_call.c: Likewise.
21607 * sunrpc/key_prot.c: Likewise.
21608 * sunrpc/openchild.c: Likewise.
21609 * sunrpc/pm_getmaps.c: Likewise.
21610 * sunrpc/pm_getport.c: Likewise.
21611 * sunrpc/pmap_clnt.c: Likewise.
21612 * sunrpc/pmap_prot.c: Likewise.
21613 * sunrpc/pmap_prot2.c: Likewise.
21614 * sunrpc/pmap_rmt.c: Likewise.
21615 * sunrpc/rpc/auth.h: Likewise.
21616 * sunrpc/rpc/auth_unix.h: Likewise.
21617 * sunrpc/rpc/clnt.h: Likewise.
21618 * sunrpc/rpc/des_crypt.h: Likewise.
21619 * sunrpc/rpc/key_prot.h: Likewise.
21620 * sunrpc/rpc/netdb.h: Likewise.
21621 * sunrpc/rpc/pmap_clnt.h: Likewise.
21622 * sunrpc/rpc/pmap_prot.h: Likewise.
21623 * sunrpc/rpc/pmap_rmt.h: Likewise.
21624 * sunrpc/rpc/rpc.h: Likewise.
21625 * sunrpc/rpc/rpc_des.h: Likewise.
21626 * sunrpc/rpc/rpc_msg.h: Likewise.
21627 * sunrpc/rpc/svc.h: Likewise.
21628 * sunrpc/rpc/svc_auth.h: Likewise.
21629 * sunrpc/rpc/types.h: Likewise.
21630 * sunrpc/rpc/xdr.h: Likewise.
21631 * sunrpc/rpc_clntout.c: Likewise.
21632 * sunrpc/rpc_cmsg.c: Likewise.
21633 * sunrpc/rpc_common.c: Likewise.
21634 * sunrpc/rpc_cout.c: Likewise.
21635 * sunrpc/rpc_dtable.c: Likewise.
21636 * sunrpc/rpc_hout.c: Likewise.
21637 * sunrpc/rpc_main.c: Likewise.
21638 * sunrpc/rpc_parse.c: Likewise.
21639 * sunrpc/rpc_parse.h: Likewise.
21640 * sunrpc/rpc_prot.c: Likewise.
21641 * sunrpc/rpc_sample.c: Likewise.
21642 * sunrpc/rpc_scan.c: Likewise.
21643 * sunrpc/rpc_scan.h: Likewise.
21644 * sunrpc/rpc_svcout.c: Likewise.
21645 * sunrpc/rpc_tblout.c: Likewise.
21646 * sunrpc/rpc_util.c: Likewise.
21647 * sunrpc/rpc_util.h: Likewise.
21648 * sunrpc/rpcinfo.c: Likewise.
21649 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21650 * sunrpc/rpcsvc/key_prot.x: Likewise.
21651 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21652 * sunrpc/rpcsvc/mount.x: Likewise.
21653 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21654 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21655 * sunrpc/rpcsvc/rex.x: Likewise.
21656 * sunrpc/rpcsvc/rstat.x: Likewise.
21657 * sunrpc/rpcsvc/rusers.x: Likewise.
21658 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21659 * sunrpc/rpcsvc/spray.x: Likewise.
21660 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21661 * sunrpc/rtime.c: Likewise.
21662 * sunrpc/svc.c: Likewise.
21663 * sunrpc/svc_auth.c: Likewise.
21664 * sunrpc/svc_authux.c: Likewise.
21665 * sunrpc/svc_raw.c: Likewise.
21666 * sunrpc/svc_run.c: Likewise.
21667 * sunrpc/svc_simple.c: Likewise.
21668 * sunrpc/svc_tcp.c: Likewise.
21669 * sunrpc/svc_udp.c: Likewise.
21670 * sunrpc/svc_unix.c: Likewise.
21671 * sunrpc/svcauth_des.c: Likewise.
21672 * sunrpc/xcrypt.c: Likewise.
21673 * sunrpc/xdr.c: Likewise.
21674 * sunrpc/xdr_array.c: Likewise.
21675 * sunrpc/xdr_float.c: Likewise.
21676 * sunrpc/xdr_mem.c: Likewise.
21677 * sunrpc/xdr_rec.c: Likewise.
21678 * sunrpc/xdr_ref.c: Likewise.
21679 * sunrpc/xdr_sizeof.c: Likewise.
21680 * sunrpc/xdr_stdio.c: Likewise.
21682 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21685 2010-08-19 Andreas Schwab <schwab@redhat.com>
21687 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21689 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
21691 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21692 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21693 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21694 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21695 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21696 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21697 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21698 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21699 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21700 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21701 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21702 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21703 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21704 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21706 2010-07-26 Anton Blanchard <anton@samba.org>
21708 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21709 * malloc/arena.c (heap_trim): Likewise.
21711 2010-08-16 Ulrich Drepper <drepper@redhat.com>
21713 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21715 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21716 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21718 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21720 * sysdeps/i386/elf/Makefile: New file.
21722 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21724 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21725 from fanotify_init.
21726 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21727 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21729 2010-08-15 Ulrich Drepper <drepper@redhat.com>
21731 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21733 * sysdeps/multiarch/strcmp.S: Likewise.
21735 2010-08-14 Ulrich Drepper <drepper@redhat.com>
21737 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21738 strncase_l-nonascii.
21739 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21740 Add strncase_l-ssse3.
21741 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21742 * sysdeps/x86_64/strcmp.S: Likewise.
21743 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21744 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21745 * sysdeps/x86_64/strncase.S: New file.
21746 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21747 * sysdeps/x86_64/strncase_l.S: New file.
21748 * string/Makefile (strop-tests): Add strncasecmp.
21749 * string/test-strncasecmp.c: New file.
21751 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21754 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21755 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21757 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21759 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21761 2010-08-12 Ulrich Drepper <drepper@redhat.com>
21763 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21764 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21765 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21767 2010-05-01 Alan Modra <amodra@gmail.com>
21769 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21770 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21771 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21772 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21773 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21774 tidying. Don't tail-call __sigjmp_save for static lib.
21775 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21777 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21778 (CALL_MCOUNT): Add eh info, and nop after bl.
21779 (TAIL_CALL_SYSCALL_ERROR): New macro.
21780 (PSEUDO_RET): Use it.
21781 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21782 Correct save location of integer regs and cr.
21783 (_dl_profile_resolve): Correct cr save location. Delete nops
21784 after bl when SHARED. Reduce cfi size a little by better
21785 placement of cfi directives.
21786 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21787 make a stack frame. Instead use parm save area as a temp.
21788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21789 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21791 Don't make a stack frame for parent, use parm save area.
21792 Increase child stack frame to 112 bytes. Don't save unused reg,
21793 and adjust reg usage. Set up cfi on error recovery and
21794 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21796 (__makecontext): Add dummy nop after jump to exit.
21797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21798 Use correct parm save area and cr save, reduce stack frame.
21799 Correct cfi for possible PSEUDO_RET frame setup.
21800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21801 Branch to local label emitted by PSEUDO_RET rather than
21804 2010-08-12 Andreas Schwab <schwab@redhat.com>
21807 * locale/programs/locale.c (print_assignment): New function.
21808 (show_locale_vars): Use it.
21810 2010-08-11 Ulrich Drepper <drepper@redhat.com>
21812 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21814 (struct statfs64): Likewise.
21815 (_STATFS_F_FLAGS): Define.
21816 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21817 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21818 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21819 (ST_VALID): Define locally.
21820 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21821 __statvfs_getflags, use the provided value.
21822 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21823 __ASSUME_STATFS_F_FLAGS.
21825 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21827 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21828 Add sys/fanotify.h.
21829 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21830 fanotify_mask for GLIBC_2.13.
21831 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21832 fanotify_init and fanotify_mark.
21833 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21834 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21836 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21838 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21839 prlimit64 for GLIBC_2.13.
21840 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21842 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21845 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21846 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21847 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21850 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21853 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21854 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21856 * nss/Makefile: Add rules to build and run tst-nss-test1.
21857 * shlib-versions: Add entry for libnss_test1.
21858 * nss/nss_test1.c: New file.
21859 * nss/tst-nss-test1.c: New file.
21861 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21862 (__nss_configure_lookup): Set appropriate entry in
21863 __nss_configure_lookup to true.
21864 * nss/nsswitch.h: Define enum with indeces of databases in
21865 databases and __nss_database_custom arrays. Declare
21866 __nss_database_custom.
21867 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21868 to avoid using nscd when custom rules are installed.
21869 * nss/getXXbyYY_r.c: Likewise.
21870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21872 * nss/nss_files/files-parse.c: Whitespace fixes.
21874 2010-08-09 Ulrich Drepper <drepper@redhat.com>
21877 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21878 * posix/fnmatch_loop.c: Likewise.
21880 2010-07-17 Andi Kleen <ak@linux.intel.com>
21882 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21883 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21884 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21885 * Versions.def [GLIBC_2.13]: Add.
21887 2010-08-06 Ulrich Drepper <drepper@redhat.com>
21889 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21890 Also fail if tpwd after pwuid call is NULL.
21892 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21894 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21895 when converting to ms.
21897 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21899 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21900 EOPNOTSUPP errors with ENOTTY.
21901 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21902 EOPNOTSUPP errors with ENOTTY.
21904 2010-07-31 Ulrich Drepper <drepper@redhat.com>
21906 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21907 Add strcasecmp_l-ssse3.
21908 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21910 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21911 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21912 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21914 2010-07-30 Ulrich Drepper <drepper@redhat.com>
21916 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21918 * string/Makefile (strop-tests): Add strcasecmp.
21919 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21920 strcasecmp_l-nonascii.
21921 (gen-as-const-headers): Add locale-defines.sym.
21922 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21923 * sysdeps/x86_64/strcasecmp.S: New file.
21924 * sysdeps/x86_64/strcasecmp_l.S: New file.
21925 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21926 * sysdeps/x86_64/locale-defines.sym: New file.
21927 * string/test-strcasecmp.c: New file.
21929 * string/test-strcasestr.c: Test both ends of the range of characters.
21930 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21932 2010-07-29 Roland McGrath <roland@redhat.com>
21935 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21937 2010-07-27 Ulrich Drepper <drepper@redhat.com>
21939 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21942 2010-07-27 Andreas Schwab <schwab@redhat.com>
21944 * manual/memory.texi (Malloc Tunable Parameters): Document
21947 2010-07-26 Roland McGrath <roland@redhat.com>
21950 * configure.in (-fgnu89-inline check): Set and substitute
21951 gnu89_inline, not libc_cv_gnu89_inline.
21952 * configure: Regenerated.
21953 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21955 2010-07-26 Ulrich Drepper <drepper@redhat.com>
21957 * string/test-strnlen.c: New file.
21958 * string/Makefile (strop-tests): Add strnlen.
21959 * string/tester.c (test_strnlen): Add a few more test cases.
21960 * string/tst-strlen.c: Better error reporting.
21962 * sysdeps/x86_64/strnlen.S: New file.
21964 2010-07-24 Ulrich Drepper <drepper@redhat.com>
21966 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
21967 lower-latency instructions.
21969 2010-07-23 Ulrich Drepper <drepper@redhat.com>
21971 * string/test-strcasestr.c: New file.
21972 * string/test-strstr.c: New file.
21973 * string/Makefile (strop-tests): Add strstr and strcasestr.
21974 * string/str-two-way.h: Don't undefine MAX.
21975 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
21977 2010-07-21 Andreas Schwab <schwab@redhat.com>
21979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21980 strcasestr-nonascii.
21981 (CFLAGS-strcasestr-nonascii.c): Define.
21982 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
21983 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
21984 Remove unused attribute.
21986 2010-07-20 Roland McGrath <roland@redhat.com>
21988 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
21989 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
21990 ld.so.cache was broken. With it, there is no way to disable dsocaps
21991 like LD_HWCAP_MASK can disable hwcaps.
21993 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21995 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
21997 2010-07-16 Ulrich Drepper <drepper@redhat.com>
21999 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22000 call in strcasestr.
22001 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22002 __strcasestr_sse42_nonascii.
22003 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22004 strcasestr-nonascii.c.
22005 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22007 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
22009 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22010 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22011 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22012 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22014 2010-07-09 Ulrich Drepper <drepper@redhat.com>
22016 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22019 2010-07-06 Andreas Schwab <schwab@redhat.com>
22022 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22025 2010-07-06 Ulrich Drepper <drepper@redhat.com>
22027 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22028 _PC_PIPE_BUF using F_GETPIPE_SZ.
22030 2010-07-05 Roland McGrath <roland@redhat.com>
22032 * manual/arith.texi (Rounding Functions): Fix rint description
22033 implicit in round description.
22035 2010-07-02 Ulrich Drepper <drepper@redhat.com>
22037 * elf/Makefile: Fix linking for a few tests to make recent linker
22040 2010-06-30 Andreas Schwab <schwab@redhat.com>
22042 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22043 $(common-objpfx)libc_nonshared.a.
22045 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
22047 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22048 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22049 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22050 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22051 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22052 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22053 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22054 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22069 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22070 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22071 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22072 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22073 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22074 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22075 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22076 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22077 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22078 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22079 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22080 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22096 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22098 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22099 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22100 * string/memmove.c (memmove): Renamed to ...
22101 (MEMMOVE): ...this. Default to memmove.
22102 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22103 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22106 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22107 mempcpy-ssse3-back memmove-ssse3-back.
22108 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22109 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22110 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22111 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22112 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22113 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22114 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22115 * sysdeps/x86_64/multiarch/memmove.c: New file.
22116 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22117 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22118 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22119 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22120 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22121 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22123 (index_Fast_Copy_Backward): Define.
22124 (HAS_ARCH_FEATURE): Define.
22125 (HAS_FAST_REP_STRING): Define.
22126 (HAS_FAST_COPY_BACKWARD): Define.
22128 2010-06-21 Andreas Schwab <schwab@redhat.com>
22130 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22131 Restore proper fallback handling.
22133 2010-06-19 Ulrich Drepper <drepper@redhat.com>
22136 * posix/group_member.c (__group_member): Correct checking loop.
22138 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22139 OOM in getpwuid_r correctly. Return error number when the caller
22140 should return, otherwise -1.
22141 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22142 call returning > 0 value.
22143 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22145 2010-06-07 Andreas Schwab <schwab@redhat.com>
22147 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22148 libc_nonshared.a from targets in modules-names.
22150 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22152 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22155 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
22157 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22158 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22159 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22160 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22162 2010-06-02 Andreas Schwab <schwab@redhat.com>
22164 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22166 2010-06-14 Ulrich Drepper <drepper@redhat.com>
22168 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22170 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22171 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22172 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22174 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22175 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22177 2010-06-14 Roland McGrath <roland@redhat.com>
22179 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22181 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22183 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22184 __REDIRECT followed by __THROW.
22185 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22186 * posix/getopt.h (getopt): Likewise.
22188 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22190 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22191 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22192 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22194 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22195 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22197 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22199 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22201 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22205 Properly check family and model.
22207 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22209 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22211 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22213 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22215 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22217 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22220 2010-05-19 Andreas Schwab <schwab@redhat.com>
22222 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22225 2010-05-21 Andreas Schwab <schwab@redhat.com>
22227 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22228 and internal_recvmmsg.
22229 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22230 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22231 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22232 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22234 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22235 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22236 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22238 2010-05-20 Andreas Schwab <schwab@redhat.com>
22240 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22242 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22244 POWER7 optimizations.
22245 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22246 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22248 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22250 * version.h: Update for 2.13 development version.
22252 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22254 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22255 exceptions. Return 0.
22257 2010-05-07 Roland McGrath <roland@redhat.com>
22259 * elf/ldconfig.c (main): Add a const.
22261 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22263 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22264 (args_options): Add no-idn option.
22265 (ahosts_keys_int): Add idn_flags to ai_flags.
22266 (parse_option): Handle 'i' option to clear idn_flags.
22268 * malloc/malloc.c (_int_free): Possible race in the most recently
22269 added check. Only act on the data if no current modification
22272 See ChangeLog.17 for earlier changes.